commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
a757a42217d41fdd9b6fd4cd837a0c07e2cd4c5a
Add new ApiUrlBase to BasketService in Xamarin App
productinfo/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,andrelmp/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContain...
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Basket/BasketService.cs
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Basket/BasketService.cs
using System; using System.Threading.Tasks; using eShopOnContainers.Core.Services.RequestProvider; using eShopOnContainers.Core.Models.Basket; using eShopOnContainers.Core.Helpers; namespace eShopOnContainers.Core.Services.Basket { public class BasketService : IBasketService { private readonly IReques...
using System; using System.Threading.Tasks; using eShopOnContainers.Core.Services.RequestProvider; using eShopOnContainers.Core.Models.Basket; using eShopOnContainers.Core.Helpers; namespace eShopOnContainers.Core.Services.Basket { public class BasketService : IBasketService { private readonly IReques...
mit
C#
135acbf24e095eada23219ccd545cc3a9f158d1d
fix uri escape and encoding
Poket-Jony/GMusicProxyGui
GMusicProxyGui/WebController.cs
GMusicProxyGui/WebController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.IO; using System.Threading; namespace GMusicProxyGui { public class WebController { private string url; public WebController(string url) {...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net; using System.IO; using System.Threading; namespace GMusicProxyGui { public class WebController { private string url; public WebController(string url) {...
mit
C#
a3d4398c0a7a5f54a6ce2117eef6ad3dc8950d74
Improve error if github can't be reached.
hschroedl/win-gists
GistClient/Client/GistClient.cs
GistClient/Client/GistClient.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Security.Cryptography; using GistClient.FileSystem; using RestSharp; using RestSharp.Deserializers; namespace GistClient.Client { public static class GistClient { private static rea...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Security.Cryptography; using GistClient.FileSystem; using RestSharp; using RestSharp.Deserializers; namespace GistClient.Client { public static class GistClient { private static rea...
mit
C#
6675f5ee2be0ab94d9c1cd77c02ef5563e242bd1
Support high DPI (96DPI, 120DPI tested)
imknown/KeyFingerprintLooker
KeyFingerprintLooker/Program.cs
KeyFingerprintLooker/Program.cs
/* * 由SharpDevelop创建。 * 用户: imknown * 日期: 2015/12/3 周四 * 时间: 上午 11:22 * * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件 */ using System; using System.Windows.Forms; namespace KeyFingerprintLooker { /// <summary> /// Class with program entry point. /// </summary> internal sealed class Program { /// <summary> /// Prog...
/* * 由SharpDevelop创建。 * 用户: imknown * 日期: 2015/12/3 周四 * 时间: 上午 11:22 * * 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件 */ using System; using System.Windows.Forms; namespace KeyFingerprintLooker { /// <summary> /// Class with program entry point. /// </summary> internal sealed class Program { /// <summary> /// Prog...
apache-2.0
C#
7173b7ea528ec4fe8821bff06cbec403bebb202c
use proper graphic
Syntronian/cbabb,Syntronian/cbabb
source/CBA/Views/Home/Results.cshtml
source/CBA/Views/Home/Results.cshtml
@model CBA.Models.BuyBuddie.Search @{ ViewBag.Title = "CBA Travel Companion"; } <header class="bar bar-nav"> @{ Html.BeginForm("Index", "Home", FormMethod.Get); } <button class="btn btn-link btn-nav pull-left"> <span class="icon icon-left-nav"></span> &nbsp; </button> @{ Html.EndForm(); } ...
@model CBA.Models.BuyBuddie.Search @{ ViewBag.Title = "CBA Travel Companion"; } <header class="bar bar-nav"> @{ Html.BeginForm("Index", "Home", FormMethod.Get); } <button class="btn btn-link btn-nav pull-left"> <span class="icon icon-left-nav"></span> &nbsp; </button> @{ Html.EndForm(); } ...
mit
C#
a9b7b7eb693ff3c8f8a6ff0b29d01dcfd304c7e3
Test coverage for configured, mapper-wide decimal and double ToString formatting
agileobjects/AgileMapper
AgileMapper.UnitTests/Configuration/WhenConfiguringStringFormatting.cs
AgileMapper.UnitTests/Configuration/WhenConfiguringStringFormatting.cs
namespace AgileObjects.AgileMapper.UnitTests.Configuration { using System; using TestClasses; using Xunit; public class WhenConfiguringStringFormatting { // See https://github.com/agileobjects/AgileMapper/issues/23 [Fact] public void ShouldFormatDateTimesMapperWide() ...
namespace AgileObjects.AgileMapper.UnitTests.Configuration { using System; using TestClasses; using Xunit; public class WhenConfiguringStringFormatting { // See https://github.com/agileobjects/AgileMapper/issues/23 [Fact] public void ShouldFormatDateTimesGlobally() ...
mit
C#
d3fcc0d112b3d5e0629462aecbf4d6a224877bfa
Update EquipmentItemModel.cs
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.Contract/Models/EquipmentItemModel.cs
NinjaHive.Contract/Models/EquipmentItemModel.cs
using NinjaHive.Components.Enums; namespace NinjaHive.Contract.Models { public class EquipmentItemModel: GameItemModel { public EquipmentItemModel() { this.Durability = 0; this.BodySlot = BodySlot.Head; this.NumberOfSlots = 1; } public int D...
using NinjaHive.Components.Enums; namespace NinjaHive.Contract.Models { public class EquipmentItemModel: GameItemModel { public EquipmentitemModel() { this.Durability = 0; this.Slot = BodySlot.Head; } public int Durability { get; set; } public B...
apache-2.0
C#
10c5331987d5031aa57c171bfb28bd235fd17472
fix build
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Diagnostics; using AvalonStudio.Commands; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using System; using System.Composition; using System.IO; using System.Linq; using System.Reactive....
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Diagnostics; using AvalonStudio.Commands; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using System; using System.Composition; using System.IO; using System.Linq; using System.Reactive....
mit
C#
60f0af2a0aa6626e6d179123a81e5eb0727e45ba
Refactor Add
mtsuker/GitTest1
ConsoleApp1/ConsoleApp1/Feature1.cs
ConsoleApp1/ConsoleApp1/Feature1.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Feature1 { public int Add(int x1, int x2) { return x1 + x2; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Feature1 { public int Add() { int x1 = 1; int x2 = 2; int sum = x1 + x2; return sum; } }...
mit
C#
9785a8e6478b59f25de7cea74117b79fc23d5f86
Add RadiatingLight to Server IgnoredComponents (#1636)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14
Content.Server/IgnoredComponents.cs
Content.Server/IgnoredComponents.cs
namespace Content.Server { public static class IgnoredComponents { public static string[] List => new [] { "ConstructionGhost", "IconSmooth", "SubFloorHide", "LowWall", "ReinforcedWall", "Window", "CharacterInfo", ...
namespace Content.Server { public static class IgnoredComponents { public static string[] List => new [] { "ConstructionGhost", "IconSmooth", "SubFloorHide", "LowWall", "ReinforcedWall", "Window", "CharacterInfo", ...
mit
C#
470e16ba2f8f25933ac5be9ba2800edf237b7cb3
Update Test.cs
MicBrain/seatest,MicBrain/seatest,MicBrain/seatest,MicBrain/seatest
runners/windows/SeaTest/SeaTest/Test.cs
runners/windows/SeaTest/SeaTest/Test.cs
using System; using System.Collections.ObjectModel; namespace SeaTest { public class Test : Observable { public string Name { get; set; } public ObservableCollection<TestResult> Results { get; set; } private bool _hasRun; public bool HasRun { ge...
using System; using System.Collections.ObjectModel; namespace SeaTest { public class Test : Observable { public string Name { get; set; } public ObservableCollection<TestResult> Results { get; set; } private bool _hasRun; public bool HasRun { ge...
mit
C#
855109b04d00959c82288695e89b6f9151726bb7
Adjust line endings.
RagingRudolf/CodeFirst.UCommerce
source/Core/Attributes/DataType/DataTypeAttribute.cs
source/Core/Attributes/DataType/DataTypeAttribute.cs
using System; using RagingRudolf.UCommerce.CodeFirst.Core.Attributes.Shared; namespace RagingRudolf.UCommerce.CodeFirst.Core.Attributes.DataType { [AttributeUsage(AttributeTargets.Class)] public class DataTypeAttribute : DefinitionAttribute { public DataTypeAttribute(string name, string de...
using System; using RagingRudolf.UCommerce.CodeFirst.Core.Attributes.Shared; namespace RagingRudolf.UCommerce.CodeFirst.Core.Attributes.DataType { [AttributeUsage(AttributeTargets.Class)] public class DataTypeAttribute : DefinitionAttribute { public DataTypeAttribute(string name, string definitio...
mit
C#
39008261458d57d2949bb791c286de151cba216d
allow only authorized access to values resources
aoancea/practice-web-api-security,aoancea/practice-web-api-security,aoancea/practice-web-api-security
src/Api/Controllers/ValuesController.cs
src/Api/Controllers/ValuesController.cs
using System.Threading.Tasks; using System.Web.Http; namespace Phobos.Api.Controllers { [Authorize] public class ValuesController : ApiController { [ActionName("Get")] public async Task<string[]> GetAsync() { return await Task.FromResult(new string[5] { "string1", "string2", "string3", "string4", "string5...
using System.Threading.Tasks; using System.Web.Http; namespace Phobos.Api.Controllers { public class ValuesController : ApiController { [ActionName("Get")] public async Task<string[]> GetAsync() { return await Task.FromResult(new string[5] { "string1", "string2", "string3",...
mit
C#
f7d6405d7dbd4b69e9d59e18220b9f3b366b1eac
Update User.cs
VeloMafia/VeloEventsManager
src/VeloEventsManager.Models/User.cs
src/VeloEventsManager.Models/User.cs
namespace VeloEventsManager.Models { using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; // You can add User data for the user by adding more properties to your User class, please visit h...
namespace VeloEventsManager.Models { using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; // You can add User data for the user by adding more properties to your User class, please visit h...
mit
C#
d227e91c02038899cf54526d6b69667ac689be7f
Fix stylecop issues in debugging project
AArnott/pinvoke,vbfox/pinvoke
src/CodeGeneration.Debugging/Program.cs
src/CodeGeneration.Debugging/Program.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace CodeGeneration.Debugging { using System; using System.Collections.Generic; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeGeneration.Debugging { class Program { static void Main(string[] args) { // This app is a dummy. But when it is debugged within VS, it builds the Tests ...
mit
C#
498f0107812026214c525778cef3b13bad1ebd18
Update VerificationLogSection
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Logging/Sections/VerificationLogSection.cs
src/Atata/Logging/Sections/VerificationLogSection.cs
using System.Text; namespace Atata { public class VerificationLogSection : UIComponentLogSection { public VerificationLogSection(UIComponent component, string verificationConstraint) : this(component, null, verificationConstraint) { } public Verification...
using System.Text; namespace Atata { public class VerificationLogSection : UIComponentLogSection { public VerificationLogSection(UIComponent component, string verificationConstraint) : this(component, null, verificationConstraint) { } public Verification...
apache-2.0
C#
e728bdb884b8ee0b491e86237c6588e51d440ac5
Add HTML5 download attribute.
x335/scriptsharp,x335/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp,nikhilk/scriptsharp
src/Libraries/Web/Html/AnchorElement.cs
src/Libraries/Web/Html/AnchorElement.cs
// AnchorElement.cs // Script#/Libraries/Web // Copyright (c) Nikhil Kothari. // Copyright (c) Microsoft Corporation. // This source code is subject to terms and conditions of the Microsoft // Public License. A copy of the license can be found in License.txt. // using System; using System.Runtime.CompilerServices; n...
// AnchorElement.cs // Script#/Libraries/Web // Copyright (c) Nikhil Kothari. // Copyright (c) Microsoft Corporation. // This source code is subject to terms and conditions of the Microsoft // Public License. A copy of the license can be found in License.txt. // using System; using System.Runtime.CompilerServices; n...
apache-2.0
C#
0b82e619618ce7adcd32365e0e6553b25d3490ff
add GetCustomReplacement for non-connection string replacements
avifatal/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,AlejandroCano/framework,signumsoftware/framework
Signum.Engine/Connection/UserConnections.cs
Signum.Engine/Connection/UserConnections.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Signum.Engine; using System.Data.SqlClient; using System.Diagnostics; using Signum.Engine.Maps; using Signum.Utilities; using System.Text.RegularExpressions; namespace Signum.Engine { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Signum.Engine; using System.Data.SqlClient; using System.Diagnostics; using Signum.Engine.Maps; using Signum.Utilities; using System.Text.RegularExpressions; namespace Signum.Engine { public ...
mit
C#
4cd3379607be9c81680b39fccbf3b0746cca9493
Delete unused methods.
FacilityApi/Facility
tests/Facility.Definition.UnitTests/TestUtility.cs
tests/Facility.Definition.UnitTests/TestUtility.cs
using System; using System.Collections.Generic; using Facility.Definition.Fsd; using NUnit.Framework; namespace Facility.Definition.UnitTests { internal static class TestUtility { public static ServiceInfo ParseTestApi(string text) { return new FsdParser().ParseDefinition(new ServiceDefinitionText("TestApi.fs...
using System; using System.Collections.Generic; using Facility.Definition.Fsd; using NUnit.Framework; namespace Facility.Definition.UnitTests { internal static class TestUtility { public static void ThrowsServiceDefinitionException(Action action, ServiceDefinitionPosition position) { try { action(); ...
mit
C#
6b39bf519885825083443e985a216d1abed8824e
fix iis
linezero/NETCoreBBS,linezero/NETCoreBBS
src/NetCoreBBS/Program.cs
src/NetCoreBBS/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace NetCoreBBS { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace NetCoreBBS { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
mit
C#
9fcc0c88b218b22e789bac5a3fe1b3694fd0589c
increment patch version
jwChung/TfsBuilder
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2013, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Com...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2013, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Com...
mit
C#
f3e936788b8dfb4e2a01470366cb037f42bd749c
update sample to show multiple AddClaim calls
rvdkooy/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,tomascassidy/BrockAllen.MembershipReboot
samples/SingleTenantWebApp/Global.asax.cs
samples/SingleTenantWebApp/Global.asax.cs
using BrockAllen.MembershipReboot.Ef; using BrockAllen.MembershipReboot.Mvc.App_Start; using System.Data.Entity; using System.Security.Claims; using System.Web.Helpers; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; namespace BrockAllen.MembershipReboot.Mvc { // Note: For instructions on e...
using BrockAllen.MembershipReboot.Ef; using BrockAllen.MembershipReboot.Mvc.App_Start; using System.Data.Entity; using System.Security.Claims; using System.Web.Helpers; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; namespace BrockAllen.MembershipReboot.Mvc { // Note: For instructions on e...
bsd-3-clause
C#
6b21a605c20620a52a90d517a658812f4033e971
Bump version number to v1.1.0.26
TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net,XeroAPI/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDesc...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDesc...
mit
C#
22aae01e3e006a93443c23dbe87226d07f9e525c
enable jumping
nerai/CMenu
src/ExampleMenu/Procedures/ProcManager.cs
src/ExampleMenu/Procedures/ProcManager.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu.Procedures { public class ProcManager { private class Proc { public readonly List<string> Commands = new List<string> (); public readonly Dictionary<string, int> ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu.Procedures { public class ProcManager { private class Proc { public readonly List<string> Commands = new List<string> (); public Proc (IEnumerable<string> conten...
mit
C#
45680b86ab43dc59073fb758c8ef2bdd521ead34
Improve the documentation: - RetryContextExtensions.GetRetryAttempt - made it clear that it returns the number of the current attempt - RetryContextExtensions.GetRetryCount - corrected the incorrect description of when it returns zero
phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit
src/MassTransit/RetryContextExtensions.cs
src/MassTransit/RetryContextExtensions.cs
namespace MassTransit { using Context; public static class RetryContextExtensions { /// <summary> /// If within a retry attempt, the return value is greater than zero and indicates the number of the retry attempt /// in progress. /// </summary> /// <para...
namespace MassTransit { using Context; public static class RetryContextExtensions { /// <summary> /// If within a retry attempt, the return value is greater than zero and indicates the number of retry attempts /// that have occurred. /// </summary> /// <...
apache-2.0
C#
f6d7e5a41c9ac1a3ec0875772fc71d86ef8cfc38
Change opening message
jquintus/TeamCitySpike
AmazingApp/AmazingApp/Program.cs
AmazingApp/AmazingApp/Program.cs
using System; namespace AmazingApp { public class Program { public static string Msg { get { return "Hello TeamCity!"; } } public static void Main(string[] args) { Console.WriteLine(Msg); } } }
using System; namespace AmazingApp { public class Program { public static string Msg { get { return "Hello World"; } } public static void Main(string[] args) { Console.WriteLine(Msg); } } }
mit
C#
05c301ec409886e701641cdfd01658042bee6c37
Debug assertion test fix.
colgreen/sharpneat
src/SharpNeatLib/Core/CoordinateVector.cs
src/SharpNeatLib/Core/CoordinateVector.cs
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2016 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software; you can redistribute it and/or modify * it under the terms of The MIT License (...
/* *************************************************************************** * This file is part of SharpNEAT - Evolution of Neural Networks. * * Copyright 2004-2016 Colin Green (sharpneat@gmail.com) * * SharpNEAT is free software; you can redistribute it and/or modify * it under the terms of The MIT License (...
mit
C#
6726ad0813321bbe1408768945ab1186c747c473
Fix EditableObject.Rollback.
jakubfijalkowski/studentscalendar
StudentsCalendar.UI/EditableObject.cs
StudentsCalendar.UI/EditableObject.cs
using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Bson; using NodaTime; using NodaTime.Serialization.JsonNet; namespace StudentsCalendar.UI { /// <summary> /// Udostępnia mechanizm do przywrócenia danych obiektu z momentu utworzenia. /// </summary> /// <remarks> /// Używa do tego serializacji do form...
using System.IO; using Newtonsoft.Json; using Newtonsoft.Json.Bson; using NodaTime; using NodaTime.Serialization.JsonNet; namespace StudentsCalendar.UI { /// <summary> /// Udostępnia mechanizm do przywrócenia danych obiektu z momentu utworzenia. /// </summary> /// <remarks> /// Używa do tego serializacji do form...
mit
C#
e1d9994b212b138caa27a5e54c956284037f53f6
Revert unintentional changes to XamMac AssemblyInfo
TheBrainTech/xwt
Xwt.XamMac/Properties/AssemblyInfo.cs
Xwt.XamMac/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Xwt.XamMac")] [assembly: AssemblyDescription("Xamarin Mac Toolkit for the Xwt UI Framework")] [as...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Xwt.XamMac")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembl...
mit
C#
da5614d39579214fd621bede0e62eff9cfbfed9b
Fix AFK controller
mikelovesrobots/daft-pong,mikelovesrobots/daft-pong
app/Assets/Scripts/PaddleAiAfkController.cs
app/Assets/Scripts/PaddleAiAfkController.cs
using UnityEngine; using System.Collections; public class PaddleAiAfkController : PaddleAi { public override void Tick() { } }
using UnityEngine; using System.Collections; public class PaddleAiAfkController : PaddleAi { private const float MIN_DRIFT = 0.0001f; private const float MAX_DRIFT = 0.0003f; private float drift = 0f; void Start() { drift = Random.Range(MIN_DRIFT, MAX_DRIFT); } public override void ...
mit
C#
72fbf355b32d30bdee6d30e6deb0245f818712c5
Remove service alerts workaround (#33)
RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
mit
C#
02cfeeef1d308c54a3881ca659b5e82d9f7dbf56
Add rotation to recoil
jkereako/PillBlasta
Assets/Scripts/Weapon/Weapon.cs
Assets/Scripts/Weapon/Weapon.cs
using UnityEngine; public enum FireMode { Automatic, Burst, Single} ; [RequireComponent(typeof(MuzzleFlash))] public class Weapon: MonoBehaviour { public FireMode fireMode; public Transform muzzle; public Transform ejector; public Projectile projectile; public Transform shell; public int burstCou...
using UnityEngine; public enum FireMode { Automatic, Burst, Single} ; [RequireComponent(typeof(MuzzleFlash))] public class Weapon: MonoBehaviour { public FireMode fireMode; public Transform muzzle; public Transform ejector; public Projectile projectile; public Transform shell; public int burstCou...
mit
C#
1decc312a30a80fb934f675a85be1f041e670346
Test even and odd tab settings.
MrSim17/LaserCutterTools
BoxBuilder/BoxBuilderFactory.cs
BoxBuilder/BoxBuilderFactory.cs
using ColorProvider; using Common; namespace BoxBuilder { public sealed class BoxBuilderFactory { internal static IBoxPointGenerator GetBoxPointGenerator(ILogger Logger) { IPiecePointGenerator piecePointGen = new PiecePointGenerator(); IBoxPointGenerator pointGen = new ...
using ColorProvider; using Common; namespace BoxBuilder { public sealed class BoxBuilderFactory { internal static IBoxPointGenerator GetBoxPointGenerator(ILogger Logger) { IPiecePointGenerator piecePointGen = new PiecePointGenerator(); IBoxPointGenerator pointGen = new ...
mit
C#
60a3f2c484a2bd06cb25c2ddda624385ab2026aa
Update NewAzureIPTag.cs
naveedaz/azure-powershell,AzureAutomationTeam/azure-powershell,atpham256/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,devigned/azure-powershell,ClogenyTechnolo...
src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureIPTag.cs
src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/Network/NewAzureIPTag.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
28955d0f02e5e369dbac824f167cd87c8fd1dfb3
Fix up for 16.11
dotnet/roslyn,AmadeusW/roslyn,physhi/roslyn,sharwell/roslyn,bartdesmet/roslyn,mavasani/roslyn,KevinRansom/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,bartdesmet/roslyn,eriawan/roslyn,bartdesmet/roslyn,jasonm...
src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs
src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.ExternalAc...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.ExternalAc...
mit
C#
914fcf8db8dae8d338638635f90fc8c8dca84629
Add DuplicationNameException
kei10in/KipSharp
Kip/Exceptions.cs
Kip/Exceptions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kip { /// <summary> /// Thrown when an attempt is made to add a Print Schema element with the /// name that already exists to the parent element. /// </summary> public clas...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kip { public class InvalidChildElementException : Exception { public InvalidChildElementException() { } public InvalidChildElementException(string mess...
mit
C#
fd349eb530e99f6b35be81b16f893846fef1650a
Set appsettings.json to optional
alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university
ContosoUniversity.Api/Program.cs
ContosoUniversity.Api/Program.cs
using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore; using Microsoft.Extensions.Configuration; namespace ContosoUniversity.Api { public class Program { public static void Main(string[] args) { var host = new WebHostBui...
using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore; using Microsoft.Extensions.Configuration; namespace ContosoUniversity.Api { public class Program { public static void Main(string[] args) { var host = new WebHostBui...
mit
C#
bd661bf0efc65914b55f03e1e2c98491d5290a5b
Add methods that need our own implementation
charlenni/Mapsui,charlenni/Mapsui
Mapsui/MPoint2.cs
Mapsui/MPoint2.cs
using Mapsui.Utilities; namespace Mapsui; public class MPoint2 { public double X { get; set; } public double Y { get; set; } MRect MRect { get; } MPoint Copy(); double Distance(MPoint point); bool Equals(MPoint? p); int GetHashCode(); MPoint Offset(double offsetX, double offsetY); ...
using Mapsui.Utilities; namespace Mapsui; public class MPoint2 { public double X { get; set; } public double Y { get; set; } /// <summary> /// Calculates a new point by rotating this point clockwise about the specified center point /// </summary> /// <param name="degrees">Angle to rotate...
mit
C#
791abc52094589059b535cb4184487133f89cace
Add "now im in the cloud"
travistme/PersonalSite
TElkins.Web/Views/Home/Index.cshtml
TElkins.Web/Views/Home/Index.cshtml
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body> <div> Hello people!<br /> Now I'm in the CLOUDDDD </div> </body> </html>
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body> <div> Hello people! </div> </body> </html>
mit
C#
ff80f94c7e1bcdd29d18a4c2504a8a1628c4a310
add cmd line environment config and folder config
pauldotknopf/react-aspnet-boilerplate,theonlylawislove/react-dot-net,pauldotknopf/react-dot-net,pauldotknopf/react-aspnet-boilerplate,theonlylawislove/react-dot-net,pauldotknopf/react-dot-net
src/ReactBoilerplate/Program.cs
src/ReactBoilerplate/Program.cs
using System.Collections.Generic; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace ReactBoilerplate { public class Program { private static readonly Dictionary<string, string> defaults = new Dictionary<string, string> { ...
using System.IO; using Microsoft.AspNetCore.Hosting; namespace ReactBoilerplate { public class Program { public static void Main(string[] args) { var host = WebHostBuilderExtensions.UseStartup<Startup>(new WebHostBuilder() .UseKestrel() .UseCo...
mit
C#
c7f5d91feb817731f35bf7e2afc70d40020da488
Update SmsController.cs
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets
quickstart/csharp/sms/receive-sms/SmsController.cs
quickstart/csharp/sms/receive-sms/SmsController.cs
// Code sample for ASP.NET MVC on .NET Framework 4.6.1+ // In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using Twilio.AspNet.Common; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace WebApplication1.Controllers { public class SmsController : TwilioController ...
// Code sample for ASP.NET MVC on .NET Framework 4.6.1+ // In Package Manager, run: // Install-Package Twilio.AspNet.Mvc -DependencyVersion HighestMinor using System.Web.Mvc; using Twilio.AspNet.Common; using Twilio.AspNet.Mvc; using Twilio.TwiML; namespace YourNewWebProject.Controllers { public class SmsControll...
mit
C#
87d7f9aaf8c3a4f1426107a42e9e5f730133c023
Bump v1.0.8
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
apache-2.0
C#
b98428c830885171fe311fabc082ca55c7cd1a37
Use default command timeout
martincostello/website,martincostello/website,martincostello/website,martincostello/website
tests/Website.Tests/WebDriverFactory.cs
tests/Website.Tests/WebDriverFactory.cs
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using System; using System.IO; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; /// ...
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using System; using System.IO; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; /// ...
apache-2.0
C#
54b5eb7a1bfeed0337309b691bdf0ff7620d1e5b
Simplify the HomeController a bit.
rakutensf-malex/slinqy,rakutensf-malex/slinqy
Source/ExampleApp.Web/Controllers/HomeController.cs
Source/ExampleApp.Web/Controllers/HomeController.cs
namespace ExampleApp.Web.Controllers { using System.Configuration; using System.Web.Mvc; using Microsoft.ServiceBus; using Models; /// <summary> /// Defines supported actions for the Homepage. /// </summary> public class HomeController : Controller { /// <summary> /...
namespace ExampleApp.Web.Controllers { using System.Configuration; using System.Web.Mvc; using Microsoft.ServiceBus; using Models; /// <summary> /// Defines supported actions for the Homepage. /// </summary> public class HomeController : Controller { /// <summary> /...
mit
C#
d6f8554f3560a49b060541d12f339f4c9fadbed4
Use bit check to avoid garbage with IsInLayer. (#6027)
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Tilemaps/Utils/Types.cs
UnityProject/Assets/Scripts/Tilemaps/Utils/Types.cs
using System; using System.Linq; using UnityEngine.Serialization; public enum TileType { None, Wall, Window, Floor, Table, Object, Grill, Base, WindowDamaged, Effects, UnderFloor, ElectricalCable } //If you change numbers, scene layers will mess up public enum LayerType { //None is the same as empty spac...
using System; using System.Linq; using UnityEngine.Serialization; public enum TileType { None, Wall, Window, Floor, Table, Object, Grill, Base, WindowDamaged, Effects, UnderFloor, ElectricalCable } //If you change numbers, scene layers will mess up public enum LayerType { //None is the same as empty spac...
agpl-3.0
C#
5b8faa9239aca5b4231412bf412723d744f43e4e
Remove duplicate code.
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Shared/_ShowdownScriptsPartial.cshtml
Anlab.Mvc/Views/Shared/_ShowdownScriptsPartial.cshtml
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.7.2/showdown.min.js"></script> <script type="text/javascript"> $(function () { $('body').tooltip({ selector: '.analysisTooltip' }); }); </script> <script type="text/javascript...
<environment names="Development"> <script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.7.2/showdown.min.js"></script> <script type="text/javascript"> $(function () { $('body').tooltip({ selector: '.analysisTooltip' }); }); </script> ...
mit
C#
f5a2211de49c37fe102344390b5e0b23f93c8c42
Bump version to 3.0.0
Brightspace/D2L.Security.OAuth2
D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs
D2L.Security.OAuth2.WebApi/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Nuget: Title [assembly: AssemblyTitle( "D2L Security For Web API" )] // Nuget: Description [assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )] // Nuget: Author [assembly: Assem...
using System.Reflection; using System.Runtime.CompilerServices; // Nuget: Title [assembly: AssemblyTitle( "D2L Security For Web API" )] // Nuget: Description [assembly: AssemblyDescription( "A library that implements Web API components for authenticating D2L services." )] // Nuget: Author [assembly: Assem...
apache-2.0
C#
451af0a3a734169d6499247426225865e1be0762
Fix ImageViewBackend sizing issue
TheBrainTech/xwt,lytico/xwt,hamekoz/xwt,hwthomas/xwt,mono/xwt,mminns/xwt,directhex/xwt,steffenWi/xwt,akrisiun/xwt,residuum/xwt,mminns/xwt,sevoku/xwt,cra0zy/xwt,iainx/xwt,antmicro/xwt
Xwt.Mac/Xwt.Mac/ImageViewBackend.cs
Xwt.Mac/Xwt.Mac/ImageViewBackend.cs
// // ImageViewBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without rest...
// // ImageViewBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without rest...
mit
C#
252b8868a13ee8ac65a6aee1d1d0cb54f8ddf61e
Remove useless case clause
xavierfoucrier/gmail-notifier,xavierfoucrier/gmail-notifier
code/Program.cs
code/Program.cs
using System; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { #region #attributes /// <summary> /// Mutex associated to the application instance /// </su...
using System; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { #region #attributes /// <summary> /// Mutex associated to the application instance /// </su...
mit
C#
4012a3080dee599434f25a4c13d54941adbdb88f
fix bug in script command
sethreno/schemazen,ruediger-stevens/schemazen,keith-hall/schemazen,Zocdoc/schemazen,sethreno/schemazen
console/Script.cs
console/Script.cs
using System; using System.IO; using model; namespace console { public class Script : ICommand { private DataArg data; private bool delete; private Operand destination; private Operand source; public bool Parse(string[] args) { if (args.Length < 3) { return false; } source = Op...
using System; using System.IO; using model; namespace console { public class Script : ICommand { private DataArg data; private bool delete; private Operand destination; private Operand source; public bool Parse(string[] args) { if (args.Length < 3) { return false; } source = Op...
mit
C#
2300607bae189811aff4533208aef1218611fbec
Bump version 1.4.1.0
rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate
src/formulate.meta/Constants.cs
src/formulate.meta/Constants.cs
namespace formulate.meta { /// <summary> /// Constants relating to Formulate itself (i.e., does not /// include constants used by Formulate). /// </summary> public class Constants { /// <summary> /// This is the version of Formulate. It is used on /// assemblies and du...
namespace formulate.meta { /// <summary> /// Constants relating to Formulate itself (i.e., does not /// include constants used by Formulate). /// </summary> public class Constants { /// <summary> /// This is the version of Formulate. It is used on /// assemblies and du...
mit
C#
13aa391f4c505bf16dcb6331c4f0f5faf8cee83a
make random once
Cologler/jasily.cologler
Jasily.Core/RandomExtensions.cs
Jasily.Core/RandomExtensions.cs
using System.Collections.Generic; using System.Linq; namespace System { public static class RandomExtensions { private static Random randomNumberGenerator; public static Random RandomNumberGenerator => randomNumberGenerator ?? (randomNumberGenerator = new Random()); ...
using System.Collections.Generic; using System.Linq; namespace System { public static class RandomExtensions { public static T Random<T>(this T[] t) { if (t.Length == 0) return default(T); if (t.Length == 1) return t[0]; return t[new Random().Next...
mit
C#
9e477140c1ca3e8c012ea2ca4d805886fcbc0948
Build against netcoreapp2.1 instead of net471
naoey/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,naoey/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,johnneijzen/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,...
build.cake
build.cake
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" var NVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); var CodeFileSanityToolPath = DownloadFile("https://github.com/peppy/CodeFileSanity/releases/download/v0.2.5/CodeFileSanity.exe"); ///////////...
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" var NVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); var CodeFileSanityToolPath = DownloadFile("https://github.com/peppy/CodeFileSanity/releases/download/v0.2.5/CodeFileSanity.exe"); ///////////...
mit
C#
24c8b0059d7b9e2852dc0e900b3f6d7a86309907
update version
IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
apache-2.0
C#
e07b1085591e318cc2efc9a83e401afdc94ff35b
Add Splat.Drawing to the cake build
paulcbetts/splat
build.cake
build.cake
#load nuget:https://pkgs.dev.azure.com/dotnet/ReactiveUI/_packaging/ReactiveUI/nuget/v3/index.json?package=ReactiveUI.Cake.Recipe&prerelease Environment.SetVariableNames(); // Whitelisted Packages var packageWhitelist = new[] { MakeAbsolute(File("./src/Splat/Splat.csproj")), MakeAbsolute(File("./src/Splat.A...
#load nuget:https://pkgs.dev.azure.com/dotnet/ReactiveUI/_packaging/ReactiveUI/nuget/v3/index.json?package=ReactiveUI.Cake.Recipe&prerelease Environment.SetVariableNames(); // Whitelisted Packages var packageWhitelist = new[] { MakeAbsolute(File("./src/Splat/Splat.csproj")), MakeAbsolute(File("./src/Splat.A...
mit
C#
cadfaa4593147e89c2b9f44c3a14655c2cea0d8b
Add Subarray extension methods
IvionSauce/MeidoBot
MeidoCommon/ExtensionMethods.cs
MeidoCommon/ExtensionMethods.cs
using System; using System.Linq; using System.Collections.Generic; namespace MeidoCommon.ExtensionMethods { public static class ExtensionMethods { public static IEnumerable<T> NoNull<T>(this IEnumerable<T> seq) where T : class { if (seq != null) return seq.Where(el...
using System.Linq; using System.Collections.Generic; namespace MeidoCommon.ExtensionMethods { public static class ExtensionMethods { public static IEnumerable<T> NoNull<T>(this IEnumerable<T> seq) where T : class { if (seq != null) return seq.Where(el => el != null...
bsd-2-clause
C#
0d5d3ccdb0152b74434e26260f42b2736efcbe45
Use List
ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate
Source/Boilerplate.Templates/Content/ApiTemplate/ViewModels/PageResult.cs
Source/Boilerplate.Templates/Content/ApiTemplate/ViewModels/PageResult.cs
namespace ApiTemplate.ViewModels { using System.Collections.Generic; #if (Swagger) using ApiTemplate.ViewModelSchemaFilters; using Swashbuckle.AspNetCore.SwaggerGen; [SwaggerSchemaFilter(typeof(PageResultCarSchemaFilter))] #endif public class PageResult<T> where T : class { publ...
namespace ApiTemplate.ViewModels { using System.Collections.Generic; #if (Swagger) using ApiTemplate.ViewModelSchemaFilters; using Swashbuckle.AspNetCore.SwaggerGen; [SwaggerSchemaFilter(typeof(PageResultCarSchemaFilter))] #endif public class PageResult<T> where T : class { publ...
mit
C#
0a0b5d2177f37e12efecd6d27bda1efcd5187c3d
Add links to photo details and question details views.
dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch
TeacherPouch.Web/Views/Questions/QuestionIndex.cshtml
TeacherPouch.Web/Views/Questions/QuestionIndex.cshtml
@model QuestionIndexViewModel @{ ViewBag.Title = "Question Index"; } <h2>Question Index</h2> @if (Model.Questions.SafeAny()) { <table class="index"> <thead> <tr> <th>ID</th> <th>Photo ID</th> <th>Question</th> <th>Sentence S...
@model QuestionIndexViewModel @{ ViewBag.Title = "Question Index"; } <h2>Question Index</h2> @if (Model.Questions.SafeAny()) { <table class="index"> <thead> <tr> <th>ID</th> <th>Photo ID</th> <th>Question</th> <th>Sentence S...
mit
C#
c375dafd76b9a628b85c08d1d578b91dc1ba661c
change type of PrefsParam.all Dictionary to List
fuqunaga/PrefsGUI
Runtime/PrefsParam/PrefsParam.cs
Runtime/PrefsParam/PrefsParam.cs
using PrefsGUI.KVS; using System; using System.Collections.Generic; using UnityEngine; namespace PrefsGUI { /// <summary> /// Origin of Prefs* /// </summary> public abstract class PrefsParam : ISerializationCallbackReceiver { public static Color syncedColor = new Color32(255, 143, 63, 255)...
using PrefsGUI.KVS; using System; using System.Collections.Generic; using UnityEngine; namespace PrefsGUI { /// <summary> /// Origin of Prefs* /// </summary> public abstract class PrefsParam : ISerializationCallbackReceiver { public string key; public static Color syncedColor = new...
mit
C#
956a5afc666252a26487f99ccdbc27ed01a47f81
Update the EthernetDevice to have the latest set of functions
shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg,shutej/tapcfg
trunk/src/bindings/EthernetDevice.cs
trunk/src/bindings/EthernetDevice.cs
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; private bool disposed = false; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); ...
using System; using System.Runtime.InteropServices; namespace TAPCfg { public class EthernetDevice : IDisposable { private const int MTU = 1522; private IntPtr handle; private bool disposed = false; public EthernetDevice() { handle = tapcfg_init(); } public void Start() { tapcfg_start(handle); ...
lgpl-2.1
C#
7bde74c6cce002cb2b3cb61baff64488196d52c0
bump version
Fody/PropertyChanged
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("2.2.3")...
using System.Reflection; [assembly: AssemblyTitle("PropertyChanged")] [assembly: AssemblyProduct("PropertyChanged")] [assembly: AssemblyCompany("Simon Cropp and Contributors")] [assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")] [assembly: AssemblyVersion("2.2.2")...
mit
C#
026a0cfc692467bb39fa3a0366a255c8e1fcfcc7
Comment is no longer reqired
nkreipke/nhibernate-core,alobakov/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-c...
src/NHibernate/Engine/Transaction/IIsolatedWork.cs
src/NHibernate/Engine/Transaction/IIsolatedWork.cs
using System.Data; namespace NHibernate.Engine.Transaction { /// <summary> /// Represents work that needs to be performed in a manner /// which isolates it from any current application unit of /// work transaction. /// </summary> public interface IIsolatedWork { /// <summary> /// Perform the act...
using System.Data; namespace NHibernate.Engine.Transaction { /// <summary> /// Represents work that needs to be performed in a manner /// which isolates it from any current application unit of /// work transaction. /// </summary> public interface IIsolatedWork { /// <summary> /// Perform the act...
lgpl-2.1
C#
38735577c52d2d0573f245152c8a5d590d2e3155
Fix autofac lifetime creation
huysentruitw/projecto
src/Projecto.Autofac/ProjectorBuilderExtensions.cs
src/Projecto.Autofac/ProjectorBuilderExtensions.cs
/* * Copyright 2017 Wouter Huysentruit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2017 Wouter Huysentruit * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
C#
05c432d995f1988f7410a224df9aa5b2b4c1f507
Include self references
stofte/ream-query
src/ReamQuery.Server/Services/ReferenceProvider.cs
src/ReamQuery.Server/Services/ReferenceProvider.cs
namespace ReamQuery.Server.Services { using System; using System.Linq; using System.Collections.Generic; using Microsoft.CodeAnalysis; using ReamQuery.Core; public class ReferenceProvider { Lazy<IEnumerable<MetadataReference>> _references = new Lazy<IEnumerable<MetadataReference>>((...
namespace ReamQuery.Server.Services { using System; using System.Linq; using System.Collections.Generic; using Microsoft.CodeAnalysis; public class ReferenceProvider { Lazy<IEnumerable<MetadataReference>> _references = new Lazy<IEnumerable<MetadataReference>>(() => { var lis...
mit
C#
406610507c7a5355de5d8664e854d55e159b80d4
Update Worker template to not throw unexpectedly (#29543)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Worker.cs
src/ProjectTemplates/Web.ProjectTemplates/content/Worker-CSharp/Worker.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Company.Application1 { public class Worker : BackgroundService { private readonly ILogger<Worker> _l...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Company.Application1 { public class Worker : BackgroundService { private readonly ILogger<Worker> _l...
apache-2.0
C#
44373aa12beb05bc6f7d297a2321c33e01f9740e
update copyright date
wcm-io-devops/aem-manager
AEMManager/Properties/AssemblyInfo.cs
AEMManager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AEM...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AEM...
apache-2.0
C#
14ff565769a6b4ec3d6175679da5dec5e017c4f8
Add toggle to send reports
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/JobHandler.cs
Battery-Commander.Web/Jobs/JobHandler.cs
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static Boolean Send_Reports => true; public static void UseJobSchedul...
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; using System; namespace BatteryCommander.Web.Jobs { internal static class JobHandler { public static void UseJobScheduler(this IApplicationBuilder app, ILoggerFactory logge...
mit
C#
56eb66065fc8409ab1e1bd61733fbfe9fc922a07
Disable "Save" while sending invitations
JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,tpkelly/voting-applicati...
VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml
VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml
<div ng-app="GVA.Creation" ng-controller="ManageInviteesController"> <div class="centered"> <h2>Poll Invitees</h2> <h4>Invited</h4> <p ng-if="invitedUsers.length === 0">You haven't invited anybody yet</p> <div class="pill-box"> <div class="invitee-pill" ng-repeat="invit...
<div ng-app="GVA.Creation" ng-controller="ManageInviteesController"> <div class="centered"> <h2>Poll Invitees</h2> <h4>Invited</h4> <p ng-if="invitedUsers.length === 0">You haven't invited anybody yet</p> <div class="pill-box"> <div class="invitee-pill" ng-repeat="invit...
apache-2.0
C#
e677f5b6a96d33405363809e4badac9b54683a96
Make PerformExit no-op
DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,sm...
osu.Framework.iOS/iOSGameHost.cs
osu.Framework.iOS/iOSGameHost.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Audio; using osu.Framework.Input; using osu.Framework.Input.Handlers; using osu.Framework....
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using osu.Framework.Audio; using osu.Framework.Input; using osu.Framework.Input.Handlers; using osu.Framework....
mit
C#
c3b0e1e7084abbe0b38adf26f63bdcb94a606426
Update AssemblyInfo.cs
JamesStuddart/debonair
Debonair.Data/Properties/AssemblyInfo.cs
Debonair.Data/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("De...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("De...
mit
C#
9f8370892b1126db135bbcb2bde50557008c5b31
Update SDK version to 4.0.3
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
/******* Copyright 2017-2018 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
/******* Copyright 2017-2018 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
apache-2.0
C#
e1af8aacb67a62dcf3150429c89181d8ef77883a
Add some tests for Hid.dll
jmelosegui/pinvoke,fearthecowboy/pinvoke,vbfox/pinvoke,AArnott/pinvoke
src/Hid.Tests/Hid.cs
src/Hid.Tests/Hid.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using System.ComponentModel; using Microsoft.Win32.SafeHandles; using PInvoke; u...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using PInvoke; using Xunit; using static PInvoke.Hid; public class Hid { [F...
mit
C#
bb4b61c55ffc40dfaad067b4322c1e2b04cba03f
Remove CLS compliance warnings
Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
mit
C#
b8342b0b25d5fa9799923546e6ef479952e402ef
Make sure Visual Studio can find the newly-included assemblies
laurentkempe/GitDiffMargin
GitDiffMargin/Properties/AssemblyInfo.cs
GitDiffMargin/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using Tvl.VisualStudio.Shell; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Assem...
using System; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Git Diff Margin")] [...
mit
C#
6e2ca4e76f7914a31c3e9e83c8649a4f46639d34
Update page title
alsafonov/gitresources,ethomson/gitresources,ethomson/gitresources,alsafonov/gitresources
GitResources/Views/Shared/_Layout.cshtml
GitResources/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> @{ var pageTitle = (ViewBag.Title != null && ViewBag.Title.Length > 0) ? "Git Resources: " + ViewBag.Title : "Git Resources"; } <title>@pageTitle</title> <link href="~/favicon.ico" rel="shortcut icon" t...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>@ViewBag.Title - My ASP.NET Application</title> <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> @Styles.Render("~/Content/css") @S...
mit
C#
159f3f3cd754088ea99c00b4db2b4c57695f2bfe
Add current state to header and more mutability
chkn/Tempest
Desktop/Tempest/MessageHeader.cs
Desktop/Tempest/MessageHeader.cs
// // MessageHeader.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2011 Eric Maupin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including...
// // MessageHeader.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2011 Eric Maupin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including...
mit
C#
095529b1c3d13690e005ff56596b5046ecc88494
Fix mail sending
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
Pathfinder/Game/MailServer/Extensions.cs
Pathfinder/Game/MailServer/Extensions.cs
using Hacknet; namespace Pathfinder.Game.MailServer { public static class Extensions { public static void AddEmailToServer(this Hacknet.MailServer server, string sender = null, string recip = null, ...
using Hacknet; namespace Pathfinder.Game.MailServer { public static class Extensions { public static void AddEmailToServer(this Hacknet.MailServer server, string sender = null, string recip = null, ...
mit
C#
6d512291864506bf312b6b292310570f63ac43dd
add try-catch for parsing osu files.
Deliay/osuSync,Deliay/Sync
OtherPlugins/NowPlaying/OsuFileParser.cs
OtherPlugins/NowPlaying/OsuFileParser.cs
using osu_database_reader; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NowPlaying { public static class OsuFileParser { public static BeatmapEntry ParseText(string content) {...
using osu_database_reader; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NowPlaying { public static class OsuFileParser { public static BeatmapEntry ParseText(string content) {...
mit
C#
e8061f6735c837bca777f3c639951a692c411f25
bump version to 2.4.1
piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker
Piwik.Tracker/Properties/AssemblyInfo.cs
Piwik.Tracker/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("PiwikTracker")] [assembly: Assembl...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("PiwikTracker")] [assembly: Assembl...
bsd-3-clause
C#
c6648112e59f8a5c3429af35f72b99d8ceceb2c2
Simplify binding flow in `InterpretationSection`
NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu
osu.Game/Screens/Edit/Verify/InterpretationSection.cs
osu.Game/Screens/Edit/Verify/InterpretationSection.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Overlays.Settings; namespace osu.Game.Screens.Edit.Verify { int...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Overlays.Settings; namespace osu.Gam...
mit
C#
eb8e02a5be6dd4970ef94be82a2986772a69a249
Remove reference from add note screen
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml
src/SFA.DAS.EAS.Web/Views/EmployerCommitments/SubmitCommitmentEntry.cshtml
@using SFA.DAS.EAS.Web.Models @model SubmitCommitmentViewModel <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Add a note</h1> <div class="form-group"> <p>You're about to send a request to your training provider, asking them to add one or more apprent...
@using SFA.DAS.EAS.Web.Models @model SubmitCommitmentViewModel <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Add a note</h1> <div class="form-group"> <p>You're about to send a request to your training provider, asking them to add one or more apprent...
mit
C#
c578e5e2f035d1a73b4d23753d97d29b6abcfc2e
adjust version
wanlitao/HangfireExtension
Hangfire.SQLite/Properties/AssemblyInfo.cs
Hangfire.SQLite/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("Hangfire plugin for SQLite Storage")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("Hangfire plugin for SQLite Storage")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
apache-2.0
C#
584f19f80ebfe73a0ab797d848f12680e06c07f1
fix in db
SoftMetalicana/ImpactMan
ImpactMan/ImpactMan/Core/AccountManager.cs
ImpactMan/ImpactMan/Core/AccountManager.cs
using System; using System.Data.Entity.Infrastructure; using System.Linq; using ImpactMan.Context.Db; namespace ImpactMan.Core { using System.Collections.Generic; using Context.Models; /// <summary> /// This class takes care of the login and signup processes and the related checks and interaction wit...
using System; using System.Data.Entity.Infrastructure; using System.Linq; using ImpactMan.Context.Db; namespace ImpactMan.Core { using System.Collections.Generic; using Context.Models; /// <summary> /// This class takes care of the login and signup processes and the related checks and interaction wit...
mit
C#
f5e2e8ef68921e7bfb2304f2af3409537613c883
Check for null ItemUri when getting uri for item
Adamsimsy/Sitecore.LinkedData
LinkedData/Repository/LinkedDataManager.cs
LinkedData/Repository/LinkedDataManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.UI; using Sitecore.ContentSearch; using Sitecore.ContentSearch.Converters; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Links; using VDS.RDF; using VDS.RDF.Parsing; usi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.UI; using Sitecore.ContentSearch; using Sitecore.ContentSearch.Converters; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Links; using VDS.RDF; using VDS.RDF.Parsing; usi...
mit
C#
708fe49221dbca0942cbd86e1b8ec6d705055924
Add MealVoucher payment method (#178)
Viincenttt/MollieApi,Viincenttt/MollieApi
Mollie.Api/Models/Payment/PaymentMethod.cs
Mollie.Api/Models/Payment/PaymentMethod.cs
using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Mollie.Api.Models.Payment { [JsonConverter(typeof(StringEnumConverter))] public enum PaymentMethod { [EnumMember(Value = "bancontact")] Bancontact, [EnumMember(Value = "banktransfer")] BankTr...
using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Mollie.Api.Models.Payment { [JsonConverter(typeof(StringEnumConverter))] public enum PaymentMethod { [EnumMember(Value = "bancontact")] Bancontact, [EnumMember(Value = "banktransfer")] BankTr...
mit
C#
4217cd5a2810df2d9d88f02fbbd240220887e546
Add post-build event to update docs;
KonH/UDBase
Scripts/Editor/Tools/CSprojUpdater.cs
Scripts/Editor/Tools/CSprojUpdater.cs
using System.Xml; namespace UDBase.EditorTools { public static class CSProjUpdater { public static void UpdateCsprojFile(string fileName) { var doc = new XmlDocument(); doc.Load(fileName); // <PropertyGroup> // <DocumentationFile>$(OutputPath)Assembly-CSharp.xml</DocumentationFile> // </Prope...
using System.Xml; namespace UDBase.EditorTools { public static class CSProjUpdater { public static void UpdateCsprojFile(string fileName) { var doc = new XmlDocument(); doc.Load(fileName); // <PropertyGroup> // <DocumentationFile>$(OutputPath)Assembly-CSharp.xml</DocumentationFile> // </Prope...
mit
C#
6b12428de984f39b51724ca6fa77d510a417e161
Document interface
SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake
Snowflake.API/Game/IGameMediaCache.cs
Snowflake.API/Game/IGameMediaCache.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing.Imaging; using System.Drawing; namespace Snowflake.Game { /// <summary> /// The IGameMediaCache allows Snowflake to store metadata-media about a game /// Each IGameInfo o...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing.Imaging; using System.Drawing; namespace Snowflake.Game { public interface IGameMediaCache { string RootPath { get; } string CacheKey { get; } void Se...
mpl-2.0
C#
ee4ebdd791a8a08754dd0c069af29e004f36c0b9
Add CFNetwork to list of Xamarin iOS dependencies, should fix Xamarin/iOS linking issues
CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk,CartoDB/mobile-sdk
ios/csharp/Properties/AssemblyInfo.cs
ios/csharp/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using ObjCRuntime; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("CartoMobileSDK.iOS")] [assembly: AssemblyDescription ("Carto Mobile SDK for i...
using System.Reflection; using System.Runtime.CompilerServices; using ObjCRuntime; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("CartoMobileSDK.iOS")] [assembly: AssemblyDescription ("Carto Mobile SDK for i...
bsd-3-clause
C#
9d213d309f9553d6b341b8e65bb722c7919ddda5
fix callbackUri escaping in authentication process;
ceee/PocketSharp
PocketSharp/Components/Authentification.cs
PocketSharp/Components/Authentification.cs
using PocketSharp.Models; using System; namespace PocketSharp { /// <summary> /// PocketClient /// </summary> public partial class PocketClient { /// <summary> /// Retrieves the requestCode from Pocket. /// </summary> /// <returns></returns> public string GetRequestCode() { // ...
using PocketSharp.Models; using System; namespace PocketSharp { /// <summary> /// PocketClient /// </summary> public partial class PocketClient { /// <summary> /// Retrieves the requestCode from Pocket. /// </summary> /// <returns></returns> public string GetRequestCode() { // ...
mit
C#
71c5a70670382f44b44089ab9307056972926ce1
Bump Version (SPAD.neXt 0.9.4.33 +)
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/Properties/AssemblyInfo.cs
SPAD.Interfaces/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly....
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly....
mit
C#
c55921aadea68f82edeb399635aab84bbe432933
Fix Binding error when running as x64
tainicom/TreeViewEx
TreeViewEx/Properties/AssemblyInfo.cs
TreeViewEx/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("3.0.0.0")] // General Information about an assembly is controlled through the following // set o...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("3.0.0.0")] // General Information about an assembly is controlled through the following // set o...
mit
C#
e7dec390d8d6c5d1fdf6dcd84cd5141721031c85
Add Trim() call
tigrouind/AITD-roomviewer
Assets/Scripts/VarParser.cs
Assets/Scripts/VarParser.cs
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; public class VarParser { readonly Dictionary<string, Dictionary<int, string>> sections = new Dictionary<string, Dictionary<int, string>>(); public string GetText(string sectionName, int value) { Dictionary<i...
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; public class VarParser { readonly Dictionary<string, Dictionary<int, string>> sections = new Dictionary<string, Dictionary<int, string>>(); public string GetText(string sectionName, int value) { Dictionary<i...
mit
C#
828703c01d0f9659781d28e5b09e36cf99ead840
Update SimpleExpressionQuery.cs
PowerMogli/Rabbit.Db
src/RabbitDB/Query/Generic/SimpleExpressionQuery.cs
src/RabbitDB/Query/Generic/SimpleExpressionQuery.cs
using System; using System.Data; using System.Linq.Expressions; using RabbitDB.Expressions; using RabbitDB.Storage; namespace RabbitDB.Query.Generic { internal class ExpressionQuery<T> : IQuery, IArgumentQuery { protected Expression<Func<T, bool>> _expression; public QueryParameterCollection ...
using System; using System.Data; using System.Linq.Expressions; using RabbitDB.Expressions; using RabbitDB.Storage; namespace RabbitDB.Query.Generic { class SimpleExpressionQuery<T> : IQuery { private Expression<Func<T, bool>> _condition; private ExpressionSqlBuilder<T> _expressionBuilder; ...
apache-2.0
C#
7d63987df0d0523c46b22410f16f6d45b83807dd
Add checksum calc
MadnessFreak/IntegrityChecker
Code/Data/ResourceSystem.cs
Code/Data/ResourceSystem.cs
using System; using System.IO; using System.Runtime.InteropServices; namespace IntegrityChecker.Data { public static class ResourceSystem { /// <summary> /// Marshals a structure to an <see cref="System.Byte"/>-Array. /// </summary> /// <typeparam name="T">The <see cref="System...
using System; using System.IO; using System.Runtime.InteropServices; namespace IntegrityChecker.Data { public static class ResourceSystem { /// <summary> /// Marshals a structure to an <see cref="System.Byte"/>-Array. /// </summary> /// <typeparam name="T">The <see cref="System...
mit
C#
e38cd6e5f774c23703baf0c664529904bf6ac614
Create arango exception which consists only of message.
yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoException.cs
src/Arango/Arango.Client/API/ArangoException.cs
using System; using System.Net; namespace Arango.Client { public class ArangoException : Exception { /// <summary> /// HTTP status code which caused the exception. /// </summary> public HttpStatusCode HttpStatusCode { get; set; } /// <summary> /// E...
using System; using System.Net; namespace Arango.Client { public class ArangoException : Exception { /// <summary> /// HTTP status code which caused the exception. /// </summary> public HttpStatusCode HttpStatusCode { get; set; } /// <summary> /// E...
mit
C#
2e3ddf536c2737dddaa2a8ab10a7946026179c0e
Refactor code.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Helpers/ClaimsHelper.cs
src/CompetitionPlatform/Helpers/ClaimsHelper.cs
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Security.Principal; using CompetitionPlatform.Models; namespace CompetitionPlatform.Helpers { public static class ClaimsHelper { public static CompetitionPlatformUser GetUser(IIdentity identity) { ...
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Security.Principal; using CompetitionPlatform.Models; namespace CompetitionPlatform.Helpers { public static class ClaimsHelper { public static CompetitionPlatformUser GetUser(IIdentity identity) { ...
mit
C#
6c05362ad9eca2a0be27dae5b37f41c7cf0d2090
Use expression body
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs
WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs
using System; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel { private NavigationStateViewModel _navigationState; private NavigationTarget _navigationTarget; protected RoutableViewModel...
using System; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel { private NavigationStateViewModel _navigationState; private NavigationTarget _navigationTarget; protected RoutableViewModel...
mit
C#
d841985fa8a673e2e8d45126a02e08e6119c2973
add new api method
LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore,LykkeCity/EthereumApiDotNetCore
src/EthereumApi/Controllers/ClientController.cs
src/EthereumApi/Controllers/ClientController.cs
using System.Threading.Tasks; using Core.Exceptions; using EthereumApi.Models; using EthereumApiSelfHosted.Models; using Microsoft.AspNetCore.Mvc; using Services; namespace EthereumApi.Controllers { [Route("api/client")] [Produces("application/json")] public class ClientController : Controller { ...
using System.Threading.Tasks; using Core.Exceptions; using EthereumApi.Models; using EthereumApiSelfHosted.Models; using Microsoft.AspNetCore.Mvc; using Services; namespace EthereumApi.Controllers { [Route("api/client")] [Produces("application/json")] public class ClientController : Controller { ...
mit
C#
6a5cf11dd0d470cf23c0130573220b97f58b18c3
Fix net461 bug
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Polyfills/StreamExtensions.cs
src/SharpCompress/Polyfills/StreamExtensions.cs
#if !NETSTANDARD2_1 using System.Buffers; namespace System.IO { public static class StreamExtensions { public static void Write(this Stream stream, ReadOnlySpan<byte> buffer) { byte[] temp = ArrayPool<byte>.Shared.Rent(buffer.Length); buffer.CopyTo(temp); ...
#if !NETSTANDARD2_1 using System.Buffers; namespace System.IO { public static class StreamExtensions { public static void Write(this Stream stream, ReadOnlySpan<byte> buffer) { var temp = ArrayPool<byte>.Shared.Rent(buffer.Length); try { st...
mit
C#
ed467132e6f64c65faad29ad3a7f4a5dc2de3157
Update LogPerformanceAttribute.cs
Squidex/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex
src/Squidex/Pipeline/LogPerformanceAttribute.cs
src/Squidex/Pipeline/LogPerformanceAttribute.cs
// ========================================================================== // LogPerformanceAttribute.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===============================================...
// ========================================================================== // LogPerformanceAttribute.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===============================================...
mit
C#