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
ca61b2c0846588df3d16358300be77f4d636e599
Fix license header for test (GitHub_1323) (#9931)
yeaicc/coreclr,poizan42/coreclr,hseok-oh/coreclr,parjong/coreclr,sagood/coreclr,krk/coreclr,AlexGhiondea/coreclr,kyulee1/coreclr,botaberg/coreclr,ragmani/coreclr,tijoytom/coreclr,qiudesong/coreclr,gkhanna79/coreclr,JonHanna/coreclr,JosephTremoulet/coreclr,jamesqo/coreclr,gkhanna79/coreclr,qiudesong/coreclr,wtgodbe/core...
tests/src/JIT/Regression/JitBlue/GitHub_1323/GitHub_1323.cs
tests/src/JIT/Regression/JitBlue/GitHub_1323/GitHub_1323.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; class Program { static ushort SkillLevel; static int Main(string[] args) { Skill...
// 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. // Copyright (c) Andrey Akinshin. All rights reserved. // Licensed under the MIT license. See LICENSE file in the pro...
mit
C#
c07863be517e9e6a72769e0d0651dd4014348296
Sort order on results
obsoleted/PyriteServer,PyriteServer/PyriteServer,obsoleted/PyriteServer,PyriteServer/PyriteServer
CubeServer/Controllers/SetController.cs
CubeServer/Controllers/SetController.cs
// // //------------------------------------------------------------------------------------------------- // // // <copyright file="SetController.cs" company="Microsoft Corporation"> // // // Copyright (c) Microsoft Corporation. All rights reserved. // // // </copyright> // // //--------------------------------------...
// // //------------------------------------------------------------------------------------------------- // // // <copyright file="SetController.cs" company="Microsoft Corporation"> // // // Copyright (c) Microsoft Corporation. All rights reserved. // // // </copyright> // // //--------------------------------------...
mit
C#
fb33cacd841801594fcc017c763e5f781b8a2a9a
add basic configuration for DbUp
jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets
DbUp/DBMigration/DBMigration/Program.cs
DbUp/DBMigration/DBMigration/Program.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using DbUp; namespace DBMigration { class Program { static int Main(string[] args) { var connectionString = Confi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DBMigration { class Program { static void Main(string[] args) { } } }
apache-2.0
C#
53993a5d37d0a23d0c364b3ed5759ba3fecb178b
fix sender lookup on SayText2
EHVAG/demoinfo,econoraptor/demoinfo,EHVAG/demoinfo,akiver/demoinfo,EHVAG/demoinfo,akiver/demoinfo,akiver/demoinfo,econoraptor/demoinfo,econoraptor/demoinfo
DemoInfo/DP/FastNetmessages/SayText2.cs
DemoInfo/DP/FastNetmessages/SayText2.cs
using System.Collections.Generic; using System.IO; namespace DemoInfo.DP.FastNetmessages { /// <summary> /// FastNetMessage adaptation of CCSUsrMsg_SayText2 protobuf message /// </summary> public class SayText2 { public int EntIdx; private int _chat; public bool Chat => _chat != 0; private int _textAllCh...
using System.Collections.Generic; using System.IO; namespace DemoInfo.DP.FastNetmessages { /// <summary> /// FastNetMessage adaptation of CCSUsrMsg_SayText2 protobuf message /// </summary> public class SayText2 { public int EntIdx; private int _chat; public bool Chat => _chat != 0; private int _textAllCh...
mit
C#
a7ec745f4c713413e11cbe92952125c14b27fca2
Implement console app
sakapon/Tools-2016
IntelliRps/IntelliRpsConsole/Program.cs
IntelliRps/IntelliRpsConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; using IntelliRps; namespace IntelliRpsConsole { class Program { static void Main(string[] args) { var game = new Game(); Console.WriteLine("Press [1][2][3] keys to play."); Con...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IntelliRpsConsole { class Program { static void Main(string[] args) { } } }
mit
C#
a52b6f34b6f656f52bcc5db9027c84e34ea461dd
Add reflection code to register saga method
Lavinski/Enexure.MicroBus
src/Enexure.MicroBus.Sagas/BusBuilderExtensions.cs
src/Enexure.MicroBus.Sagas/BusBuilderExtensions.cs
using System; using System.Linq; using System.Reflection; using System.Threading.Tasks; namespace Enexure.MicroBus.Sagas { public static class BusBuilderExtensions { public static IBusBuilder RegisterSaga<TSaga, TSagaData>(this IBusBuilder busBuilder, TSaga saga) where TSaga : ISaga<TSagaData> where TSagaDa...
using System; using System.Threading.Tasks; namespace Enexure.MicroBus.Sagas { public static class BusBuilderExtensions { public static IBusBuilder RegisterSaga<TSaga, TSagaData>(this IBusBuilder busBuilder, TSaga saga) where TSaga : ISaga<TSagaData> where TSagaData : class { // Register a special eve...
mit
C#
5605759c826b1475e68b14115ccbba9cfd87bfd8
Fix a niggle from the wiki: display donation amounts to two decimal places. Also format them as a currency, and respect the current culture.
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.Web/Views/Donation/DonationList.cshtml
src/GiveCRM.Web/Views/Donation/DonationList.cshtml
@using System.Globalization @model IEnumerable<GiveCRM.Models.Donation> @{ Layout = null; } <table> <tr> <th>Date</th><th>Amount</th> </tr> @foreach (var donation in Model) { <tr> <td>@donation.Date.ToLongDateString()</td> <td>@donation.Amount.ToString("C2", NumberFormatInfo.CurrentInfo)...
@model IEnumerable<GiveCRM.Models.Donation> @{ Layout = null; } <table> <tr> <th>Date</th><th>Amount</th> </tr> @foreach (var donation in Model) { <tr> <td>@donation.Date.ToLongDateString()</td> <td>@donation.Amount</td> </tr> } </table>
mit
C#
609c907422ef9a06c06b89606c630e84ff404ba6
Simplify and document ExportArucoUnityPackage
enormand/aruco-unity,enormand/aruco-unity
Assets/Editor/ExportArucoUnityPackage.cs
Assets/Editor/ExportArucoUnityPackage.cs
using UnityEditor; /// <summary> /// Exports ArucoUnity as a Unity package. /// </summary> public static class ExportArucoUnityPackage { /// <summary> /// Returns the assets list of ArucoUnity. /// </summary> private static string[] assets = new string[] { "Assets/ArucoUnity", "Ass...
using UnityEditor; public static class ExportArucoUnityPackage { [MenuItem("Aruco Unity/Export package")] public static void ExportPackage() { AssetDatabase.ExportPackage(ProjectContent(), "ArucoUnity.unitypackage", ExportPackageOptions.Interactive | ExportPackageOptions.Recurse); } publi...
bsd-3-clause
C#
d56b72ca78999241f249a2de765e8cde96232e2d
Update version to 1.0.4.0
Sunlighter/AsyncQueues
AsyncQueueLib/Properties/AssemblyInfo.cs
AsyncQueueLib/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: AssemblyTi...
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: AssemblyTi...
apache-2.0
C#
d0d077642d7bce60ba7b6ebe8de542411e2f783d
Make sure we returns only one token in GetTokens
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Models/GetTokensResponse.cs
BTCPayServer/Models/GetTokensResponse.cs
using Microsoft.AspNetCore.Mvc; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using BTCPayServer.Authentication; using NBitcoin.DataEncoders; using Microsoft.AspNetCore.Http; using System.IO; names...
using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using BTCPayServer.Authentication; using NBitcoin.DataEncoders; using Microsoft.AspNetCore.Http; using System.IO; namespace BTCPayServer.M...
mit
C#
99fda8e7ad2d8b54cbc97a96d26c855dcf481e01
Fix NRE in case menu action is removed
k-t/SharpHaven
MonoHaven.Client/UI/Widgets/MenuNode.cs
MonoHaven.Client/UI/Widgets/MenuNode.cs
using System.Collections.ObjectModel; using System.Collections.Specialized; using MonoHaven.Graphics; using System; using System.Linq; namespace MonoHaven.UI.Widgets { public class MenuNode : IComparable<MenuNode> { private MenuNode parent; private readonly ObservableCollection<MenuNode> children; public Men...
using System.Collections.ObjectModel; using System.Collections.Specialized; using MonoHaven.Graphics; using System; using System.Linq; namespace MonoHaven.UI.Widgets { public class MenuNode : IComparable<MenuNode> { private MenuNode parent; private readonly ObservableCollection<MenuNode> children; public Men...
mit
C#
b3090be3c4ab92d04a751d9482c4fab0696df869
Fix compile error
RelistenNet/RelistenApi,alecgorge/RelistenApi,RelistenNet/RelistenApi,alecgorge/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi
RelistenApi/Vendor/ExceptionExtensions.cs
RelistenApi/Vendor/ExceptionExtensions.cs
using System; using Hangfire.Server; using Hangfire.Console; using System.Diagnostics; using System.Text; using System.Collections; using Newtonsoft.Json; namespace Relisten.Import { public static class ExceptionExtensions { public static void LogException(this PerformContext ctx, Exception e) ...
using System; using Hangfire.Server; using Hangfire.Console; using System.Diagnostics; using System.Text; using System.Collections; using Newtonsoft.Json; namespace Relisten.Import { public static class ExceptionExtensions { public static void LogException(this PerformContext ctx, Exception e) ...
mit
C#
444f7ec51a5dd69eba5d0314d2f0a1088c71f5db
Remove unneeded null check before setting null.
Amarcolina/LeapMotionCoreAssets,ryanwang/LeapMotionCoreAssets
Assets/LeapMotion/Widgets/Scripts/Button/ButtonToggleBase.cs
Assets/LeapMotion/Widgets/Scripts/Button/ButtonToggleBase.cs
using UnityEngine; using System.Collections; namespace LMWidgets { public abstract class ButtonToggleBase : ButtonBase, BinaryInteractionHandler<bool>, IDataBoundWidget<ButtonToggleBase, bool> { [SerializeField] protected DataBinderToggle m_dataBinder; protected bool m_toggleState = true; public a...
using UnityEngine; using System.Collections; namespace LMWidgets { public abstract class ButtonToggleBase : ButtonBase, BinaryInteractionHandler<bool>, IDataBoundWidget<ButtonToggleBase, bool> { [SerializeField] protected DataBinderToggle m_dataBinder; protected bool m_toggleState = true; public a...
apache-2.0
C#
637bc0f7afdfc29d4878f3a93a17ea5e1420e01e
Remove CoreCLR pull 6423, run msbuild System.ObjectModel.Tests.csproj /t:BuildAndTest, succeeded.
wtgodbe/corefx,nchikanov/corefx,the-dwyer/corefx,Petermarcu/corefx,tijoytom/corefx,wtgodbe/corefx,tijoytom/corefx,rjxby/corefx,weltkante/corefx,rubo/corefx,nbarbettini/corefx,JosephTremoulet/corefx,rahku/corefx,billwert/corefx,Ermiar/corefx,axelheer/corefx,fgreinacher/corefx,DnlHarvey/corefx,krk/corefx,rahku/corefx,ste...
src/System.ObjectModel/tests/KeyedCollection/Serialization.netstandard.cs
src/System.ObjectModel/tests/KeyedCollection/Serialization.netstandard.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.Collections.Generic; using System.Runtime.Serialization.Formatters.Tests; using Xunit; namespace Syste...
// 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.Collections.Generic; using System.Runtime.Serialization.Formatters.Tests; using Xunit; namespace Syste...
mit
C#
7bf8c33a7a1ba00394c047a8d555f49a89bc3108
Update Program.cs
Rewtek/GameLibrary
Code/Rewtek.TestGame/Program.cs
Code/Rewtek.TestGame/Program.cs
namespace Rewtek.TestGame { using System; using System.Linq; using System.Collections.Generic; using Rewtek.GameLibrary; using Rewtek.GameLibrary.Components; using Rewtek.GameLibrary.Environment; using Rewtek.GameLibrary.Environment.Entities; using Rewtek.GameLibrary.Environment.Items;...
namespace Rewtek.TestGame { using System; using System.Linq; using System.Collections.Generic; using Rewtek.GameLibrary; using Rewtek.GameLibrary.Components; using Rewtek.GameLibrary.Environment; using Rewtek.GameLibrary.Environment.Entities; using Rewtek.GameLibrary.Environment.Items;...
mit
C#
21449168bbdf58193208a0e7074c88f01e035853
fix some obsolescence warnings
fozzzgate/xamarin-bluetooth-le,xabre/xamarin-bluetooth-le
Source/BLE.Client/BLE.Client.iOS/Setup.cs
Source/BLE.Client/BLE.Client.iOS/Setup.cs
using Acr.UserDialogs; using MvvmCross; using MvvmCross.Forms.Platforms.Ios.Core; using MvvmCross.IoC; using MvvmCross.ViewModels; using Plugin.Permissions; using Plugin.Settings; namespace BLE.Client.iOS { public class Setup : MvxFormsIosSetup { protected override IMvxApplication CreateApp() {...
using Acr.UserDialogs; using MvvmCross; using MvvmCross.Forms.Platforms.Ios.Core; using MvvmCross.IoC; using MvvmCross.ViewModels; using Plugin.Permissions; using Plugin.Settings; namespace BLE.Client.iOS { public class Setup : MvxFormsIosSetup { protected override IMvxApplication CreateApp() {...
apache-2.0
C#
bc6259ac80345dabe118dac4c44816adfd082c71
Fix renameArgs default value as commented by @augiem
JPVenson/ConfuserEx,manojdjoshi/ConfuserEx,yeaicc/ConfuserEx,fretelweb/ConfuserEx,AgileJoshua/ConfuserEx,yuligang1234/ConfuserEx,Desolath/ConfuserEx3,yuligang1234/ConfuserEx,HalidCisse/ConfuserEx,mirbegtlax/ConfuserEx,Desolath/Confuserex,farmaair/ConfuserEx,apexrichard/ConfuserEx,mirbegtlax/ConfuserEx,KKKas/ConfuserEx,...
Confuser.Renamer/RenamePhase.cs
Confuser.Renamer/RenamePhase.cs
using System; using System.Collections.Generic; using System.Linq; using Confuser.Core; using dnlib.DotNet; namespace Confuser.Renamer { internal class RenamePhase : ProtectionPhase { public RenamePhase(NameProtection parent) : base(parent) { } public override ProtectionTargets Targets { get { return Pro...
using System; using System.Collections.Generic; using System.Linq; using Confuser.Core; using dnlib.DotNet; namespace Confuser.Renamer { internal class RenamePhase : ProtectionPhase { public RenamePhase(NameProtection parent) : base(parent) { } public override ProtectionTargets Targets { get { return Pro...
mit
C#
8cdf95c349b851c8709e50464b4a4c3f63c3b198
Remove JsonProperty Mapping for "file"
contentful/contentful.net
Contentful.Core/Models/Asset.cs
Contentful.Core/Models/Asset.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace Contentful.Core.Models { /// <summary> /// Represents a single asset of a <see cref="Space"/>. /// </summary> public class Asset : IContentfulResource { /// <su...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Newtonsoft.Json; namespace Contentful.Core.Models { /// <summary> /// Represents a single asset of a <see cref="Space"/>. /// </summary> public class Asset : IContentfulResource { /// <su...
mit
C#
d62ba5a379ed972cdb0ed52e5a06fbabc46b02f0
Add test for get descriptions extension method
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Tests/Tests.Utilities/EnumExtensionTest.cs
Oogstplanner.Tests/Tests.Utilities/EnumExtensionTest.cs
using System; using System.Linq; using NUnit.Framework; using Oogstplanner.Common; namespace Oogstplanner.Tests.Utilities { [TestFixture] public class EnumExtensionTest { const string Description1 = "First description"; const string Description2 = "Second description"; // ARRANG...
using System; using NUnit.Framework; using Oogstplanner.Common; namespace Oogstplanner.Tests.Utilities { [TestFixture] public class EnumExtensionTest { const string Description1 = "First description"; const string Description2 = "Second description"; // ARRANGE enum Test...
mit
C#
2498ad282c2c679ad432f5ea0f748028910546a0
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
c368a9f7eab520dfa9082b7c6560f7fdd656f837
Disable embedded studio for azure
Vavro/DragonContracts,Vavro/DragonContracts
DragonContracts/DragonContracts/Base/RavenDbController.cs
DragonContracts/DragonContracts/Base/RavenDbController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using DragonContracts.Indexes; using DragonContracts.Models; using Raven.Client; using Raven.Client...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http; using System.Web.Http.Controllers; using DragonContracts.Indexes; using DragonContracts.Models; using Raven.Client; using Raven.Client...
mit
C#
1ceb1425f7367285477fc04787e7389a420dc72d
Change assembly version
mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket
SocketServiceCore/GlobalAssemblyInfo.cs
SocketServiceCore/GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("0.1.5.0")] ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("0.0.1.0")] ...
apache-2.0
C#
fa84322a45dc2dfafc94446fa1d37eeef5685ef4
simplify selection logic
Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor
src/CodeEditor.Text.UI/Selection.cs
src/CodeEditor.Text.UI/Selection.cs
using System; namespace CodeEditor.Text.UI { public class Selection { public Position Anchor {get; set;} readonly ICaret _caret; public Selection (ICaret caret) { _caret = caret; Clear (); } public Position BeginDrawPos { get { if (Caret.Column + Caret.Row*1000 > Anchor.Column + Anc...
using System; namespace CodeEditor.Text.UI { public class Selection { public Position Anchor {get; set;} readonly ICaret _caret; public Selection (ICaret caret) { _caret = caret; Clear (); } public Position BeginDrawPos { get { int column; if (Anchor.Row == Caret.Row) colum...
mit
C#
18bba57a3fdbcbbf2e68f45c68e4c1a7217c7e2f
set claim name identifier to the provided id.
mrich316/VagrantAtlas,mrich316/VagrantAtlas
VagrantAtlas.WebApi/BasicAuthenticator.cs
VagrantAtlas.WebApi/BasicAuthenticator.cs
using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; namespace VagrantAtlas.WebApi { public class BasicAuthenticator { private readonly string _id; private readonly string _secret; private readonly Task<IEnumerable<Claim>> _noClaims = Task.FromR...
using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; namespace VagrantAtlas.WebApi { public class BasicAuthenticator { private readonly string _id; private readonly string _secret; private readonly Task<IEnumerable<Claim>> _noClaims = Task.FromR...
mit
C#
377cb809a405fe1c9679991b6f37ffae7e375802
Tweak GroupBox preferred sizing (again)
l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto
Source/Eto.Platform.Mac/Forms/Controls/GroupBoxHandler.cs
Source/Eto.Platform.Mac/Forms/Controls/GroupBoxHandler.cs
using System; using Eto.Forms; using MonoMac.AppKit; using SD = System.Drawing; using Eto.Drawing; using Eto.Platform.Mac.Drawing; namespace Eto.Platform.Mac.Forms.Controls { public class GroupBoxHandler : MacContainer<NSBox, GroupBox>, IGroupBox { Font font; public class EtoBox : NSBox, IMacControl { publ...
using System; using Eto.Forms; using MonoMac.AppKit; using SD = System.Drawing; using Eto.Drawing; using Eto.Platform.Mac.Drawing; namespace Eto.Platform.Mac.Forms.Controls { public class GroupBoxHandler : MacContainer<NSBox, GroupBox>, IGroupBox { Font font; public class EtoBox : NSBox, IMacControl { publ...
bsd-3-clause
C#
b2ca40eb90c8193ce5c5e5400c1b044b51e141b1
Update Program.cs
ketanjawahire/FacebookClient
SampleConsoleApplication/SampleConsoleApplication/Program.cs
SampleConsoleApplication/SampleConsoleApplication/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SampleConsoleApplication { class Program { static void Main(string[] args) { //TODO : Add some code sample here } } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using FacebookApi.ApiEngine; using FacebookApi.Entities; using FacebookApi.Entities.Api; using FacebookApi.Enumerations.ApiEngine; using FacebookApi.Interfaces; using Newtonsoft.Json; us...
mit
C#
041a327baed9f914e22700a62392a702f1d239a3
Update ICurrencyConversionCompositionStrategy.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ICurrencyConversionCompositionStrategy.cs
TIKSN.Core/Finance/ICurrencyConversionCompositionStrategy.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance { public interface ICurrencyConversionCompositionStrategy { Task<Money> ConvertCurrencyAsync(Money baseMoney, IEnumerable<ICurrencyConverter> converters, CurrencyIn...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance { public interface ICurrencyConversionCompositionStrategy { Task<Money> ConvertCurrencyAsync(Money baseMoney, IEnumerable<ICurrencyConverter> converters, CurrencyInfo counterCu...
mit
C#
989f9ec3e1bebe8dd2fb7eb1ed3305dbba527a88
Initialize Tags in ctor
ziyasal/InfluxDB.Net,poxet/InfluxDB.Net,jamesholcomb/InfluxDB.Net,ziyasal/InfluxDB.Net,poxet/InfluxDB.Net,jamesholcomb/InfluxDB.Net
InfluxDB.Net/Models/Serie.cs
InfluxDB.Net/Models/Serie.cs
using System; using System.Collections.Generic; using System.Linq; namespace InfluxDB.Net.Models { public class Serie { public Serie() { Tags = new Dictionary<string, object>(); } private Serie(string name) { Name = name; } public string Name { get; set; } public Dictionary<string, object> Ta...
using System; using System.Collections.Generic; using System.Linq; namespace InfluxDB.Net.Models { public class Serie { public Serie() { } private Serie(string name) { Name = name; } public string Name { get; set; } public Dictionary<string, object> Tags { get; set; } public string[] Columns {...
unlicense
C#
0555c8c555ecfbae2f035db7d93af30d9379e24f
Add SequencePoint to WeavingException
GeertvanHorrik/Fody,Fody/Fody
FodyHelpers/WeavingException.cs
FodyHelpers/WeavingException.cs
using System; using Mono.Cecil.Cil; namespace Fody { public class WeavingException : Exception { public WeavingException(string message) : base(message) { } public SequencePoint SequencePoint { get; set; } } }
using System; namespace Fody { public class WeavingException : Exception { public WeavingException(string message) : base(message) { } } }
mit
C#
c2b790b05fcea96fb2585d443258221e99b26261
Update MainActivity.cs
iperezmx87/Xamarin30Labs
Lab2/AndroidApp/MainActivity.cs
Lab2/AndroidApp/MainActivity.cs
using Android.App; using Android.Widget; using Android.OS; using SALLab02; namespace AndroidApp { [Activity(Label = "Xam Lab 2", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate...
using Android.App; using Android.Widget; using Android.OS; using SALLab02; namespace AndroidApp { [Activity(Label = "Xam Lab 2", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate...
mit
C#
8e92780645fc7f7b71c35d7a29d7d97c065297dd
update teardown for testing
haruair/csharp-command
test/Haruair.Command.Tests/Test.cs
test/Haruair.Command.Tests/Test.cs
using NUnit.Framework; using System; using System.IO; namespace Haruair.Command.Tests { [TestFixture ()] public class Test { Commander commander; TextWriter originalSw; StringWriter sw; [SetUp()] public void Init () { this.commander = new Commander (); this.commander.Add (typeof(HelloCommand)); ...
using NUnit.Framework; using System; using System.IO; namespace Haruair.Command.Tests { [TestFixture ()] public class Test { Commander commander; StringWriter sw; [SetUp()] public void Init () { this.commander = new Commander (); this.commander.Add (typeof(HelloCommand)); this.commander.Add (ty...
mit
C#
d2ef174479587a47c4f0be44d6ccaf678a3bb4dc
Update HttpContextBaseExtensions.cs
ehe888/Orchard,Praggie/Orchard,bedegaming-aleksej/Orchard,IDeliverable/Orchard,jchenga/Orchard,AdvantageCS/Orchard,ehe888/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,hbulzy/Orchard,hbulzy/Orchard,Fogolan/OrchardForWork,rtpHarry/Orchard,Lombiq/Orchard,LaserSrl/Orchard,grapto/Orchard.CloudBust,IDeliverable/Orchard,y...
src/Orchard/Mvc/Extensions/HttpContextBaseExtensions.cs
src/Orchard/Mvc/Extensions/HttpContextBaseExtensions.cs
using System.Web; namespace Orchard.Mvc.Extensions { public static class HttpContextBaseExtensions { public static bool IsBackgroundContext(this HttpContextBase httpContextBase) { return httpContextBase == null || httpContextBase is MvcModule.HttpContextPlaceholder; } } }
using System.Web; namespace Orchard.Mvc.Extensions { public static class HttpContextBaseExtensions { public static bool IsBackgroundContext(this HttpContextBase httpContextBase) { return httpContextBase == null || httpContextBase is MvcModule.HttpContextPlaceholder; } } }
bsd-3-clause
C#
9b828c783691fbb5c5dbe831341e7110ba1bf199
fix warning
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/ManagedDialogs/ManagedFileDialog.xaml.cs
WalletWasabi.Gui/ManagedDialogs/ManagedFileDialog.xaml.cs
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using AvalonStudio.Shell.Controls; namespace WalletWasabi.Gui.ManagedDialogs { class ManagedFileDialog : MetroWindow { public ManagedFileDialog() { AvaloniaXamlLoader.Load(this); #if DEBUG this.AttachDevTools(); #endif } ...
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using AvalonStudio.Shell.Controls; namespace WalletWasabi.Gui.ManagedDialogs { class ManagedFileDialog : MetroWindow { private ManagedFileChooserViewModel _model; public ManagedFileDialog() { AvaloniaXamlLoader.Load(this); #i...
mit
C#
196ef317554c5560ba2c39591507b76cdd6209f6
change default thumbnail caching strategy to NeverCache
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Device/Services/PreferencesService.cs
abremir.AllMyBricks.Device/Services/PreferencesService.cs
using abremir.AllMyBricks.Device.Configuration; using abremir.AllMyBricks.Device.Enumerations; using abremir.AllMyBricks.Device.Interfaces; using Xamarin.Essentials.Interfaces; namespace abremir.AllMyBricks.Device.Services { public class PreferencesService : IPreferencesService { private readonly IPre...
using abremir.AllMyBricks.Device.Configuration; using abremir.AllMyBricks.Device.Enumerations; using abremir.AllMyBricks.Device.Interfaces; using Xamarin.Essentials.Interfaces; namespace abremir.AllMyBricks.Device.Services { public class PreferencesService : IPreferencesService { private readonly IPre...
mit
C#
480cdb2a5643c2892b9c294958be08bea30a615a
Add throw error on Neo exception in ExecuteCore
mikehancock/CypherNetCore
src/CypherTwo.Core/NeoClient.cs
src/CypherTwo.Core/NeoClient.cs
namespace CypherTwo.Core { using System; using System.Linq; using System.Threading.Tasks; public class NeoClient : INeoClient { private readonly ISendRestCommandsToNeo neoApi; public NeoClient(string baseUrl) : this(new ApiClientFactory(baseUrl, new JsonHttpClientWrapper())) ...
namespace CypherTwo.Core { using System; using System.Linq; using System.Threading.Tasks; public class NeoClient : INeoClient { private readonly ISendRestCommandsToNeo neoApi; public NeoClient(string baseUrl) : this(new ApiClientFactory(baseUrl, new JsonHttpClientWrapper())) ...
mit
C#
c6abd56da102bc270d10f45e2aa7355f3e616e77
Increment version to 0.1.3
SeatwaveOpenSource/psakify,SeatwaveOpenSource/psakify,SeatwaveOpenSource/psakify
psakify/Properties/AssemblyInfo.cs
psakify/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: AssemblyTi...
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: AssemblyTi...
mit
C#
772c6f066ac565ae98941a1c67371ab7a9fbb57f
Comment out the code in Hangman that uses Table
12joan/hangman
hangman.cs
hangman.cs
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { // Table table = new Table(2, 3); // string output = table.Draw(); // Console.WriteLine(output); } } }
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { Table table = new Table(2, 3); string output = table.Draw(); Console.WriteLine(output); } } }
unlicense
C#
a7069648ede706755c83419c427d21b2727c048e
Remove errant debugger launch
serilog/serilog-sinks-mssqlserver
test/Serilog.Sinks.MSSqlServer.Tests/DatabaseFixture.cs
test/Serilog.Sinks.MSSqlServer.Tests/DatabaseFixture.cs
using System; using System.Data.SqlClient; using System.Linq; using Dapper; using Xunit; namespace Serilog.Sinks.MSSqlServer.Tests { public class DatabaseFixture : IDisposable { public static string Database => "LogTest"; public static string LogTableName => "LogEvents"; private const...
using System; using System.Data.SqlClient; using System.Linq; using Dapper; using Xunit; namespace Serilog.Sinks.MSSqlServer.Tests { public class DatabaseFixture : IDisposable { public static string Database => "LogTest"; public static string LogTableName => "LogEvents"; private const...
apache-2.0
C#
e8efe4f02d2dd647e1479131538470b2ee1e2fb3
add HasCredentisals to NuGetSource
stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
nuget-extensions/nuget-commands/src/Data/NuGetSource.cs
nuget-extensions/nuget-commands/src/Data/NuGetSource.cs
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; using JetBrains.Annotations; namespace JetBrains.TeamCity.NuGet.ExtendedCommands.Data { [Serializable] [XmlRoot("source")] public class NuGetSource { [NotNull] [XmlAttribute("source")] public Stri...
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; using JetBrains.Annotations; namespace JetBrains.TeamCity.NuGet.ExtendedCommands.Data { [Serializable] [XmlRoot("source")] public class NuGetSource { [NotNull] [XmlAttribute("source")] public Stri...
apache-2.0
C#
dbe048cdc6b6d893e92109d50fd3fa5732fa294c
Add client method for notifying about host changes
NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu
osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.cs
osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.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 System.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining a spectator client instance. /// </summ...
// 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 System.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining a spectator client instance. /// </summ...
mit
C#
ff5f8e31029f597fc1a22c81911507716ac52402
add header
leastprivilege/AspNetCoreSecuritySamples,leastprivilege/AspNetCoreSecuritySamples,leastprivilege/AspNetCoreSecuritySamples
OidcAndApi/src/AspNetCoreSecurity/Apis/TestController.cs
OidcAndApi/src/AspNetCoreSecurity/Apis/TestController.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore.Mvc; using System.Linq; namespace AspNetCoreSecurity.Apis { [Route("api/test")] public class TestControlle...
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AspNetCoreSecurity.Apis { [Route("api/test")] public class TestController : ControllerBase { public IActionResult Get() { return new JsonRe...
apache-2.0
C#
54bce9283bf2241e4b1a2ec41e5a948bab0cd2fe
Fix standard node title
DMagic1/KSP_Contract_Window
Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs
Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using ProgressParser; namespace ContractsWindow.PanelInterfaces { public class StandardNodeUI : IStandardNode { private progressStandard node; public StandardNodeUI(progressStandard n) { if (n == null) return; ...
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using ProgressParser; namespace ContractsWindow.PanelInterfaces { public class StandardNodeUI : IStandardNode { private progressStandard node; public StandardNodeUI(progressStandard n) { if (n == null) return; ...
mit
C#
ef7fd6fcdd89358d29c78af9e2276084e28f501b
remove whitespace
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneStepButton.cs
osu.Framework.Tests/Visual/Testing/TestSceneStepButton.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 System; using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Testing.Drawables.Steps; using...
// 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 System; using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Testing.Drawables.Steps; using...
mit
C#
6d06ddd318a8585504865d8b0bd0d99337c17025
Update Student-Data.cs
DeanCabral/Code-Snippets
Console/Student-Data.cs
Console/Student-Data.cs
class StudentData { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { int studentNumber; string studentName; string scoredMarks; Console.Write("Input Student Number: "); ...
class StudentData { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { int studentNumber; string studentName; string scoredMarks; Console.Write("Input Student Number: "); ...
mit
C#
0dc657d9fcfb943c2db5f5bd9cc2ddf16806568b
Fix msgs data
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer
Common/Message/Client/AdminCliMsg.cs
Common/Message/Client/AdminCliMsg.cs
using Lidgren.Network; using LunaCommon.Enums; using LunaCommon.Message.Client.Base; using LunaCommon.Message.Data.Admin; using LunaCommon.Message.Types; using System; using System.Collections.Generic; namespace LunaCommon.Message.Client { public class AdminCliMsg : CliMsgBase<AdminBaseMsgData> { /// ...
using Lidgren.Network; using LunaCommon.Enums; using LunaCommon.Message.Client.Base; using LunaCommon.Message.Data.Admin; using LunaCommon.Message.Data.Chat; using LunaCommon.Message.Types; using System; using System.Collections.Generic; namespace LunaCommon.Message.Client { public class AdminCliMsg : CliMsgBase<...
mit
C#
0942a43a751f44e1ba252ca2ecc7098a31f93881
test build
ralbu/randomuser
RandomUserTest/Class1.cs
RandomUserTest/Class1.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace RandomUserTest { public class Class1 { [Fact] public void Abc() { Assert.True(true); // User user = new User(); // user.Random(); // ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace RandomUserTest { public class Class1 { [Fact] public void Abc() { // Assert.True(true); // User user = new User(); // user.Random(); // ...
mit
C#
95ae504c9b669cd5934f12e6e3704b383061eb55
Change "reversed" property to boolean
base33/Umbraco-CMS,leekelleher/Umbraco-CMS,Phosworks/Umbraco-CMS,neilgaietto/Umbraco-CMS,kasperhhk/Umbraco-CMS,kgiszewski/Umbraco-CMS,kasperhhk/Umbraco-CMS,mittonp/Umbraco-CMS,tcmorris/Umbraco-CMS,gkonings/Umbraco-CMS,arknu/Umbraco-CMS,mittonp/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,umbraco/Umbraco-CMS,PeteDuncanson/Umb...
src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/SliderPropertyEditor.cs
using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.SliderAlias, "Slider", "slider")] public class SliderPropertyEditor : PropertyEditor { protected override PreValueEditor CreatePreValueEditor() ...
using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.SliderAlias, "Slider", "slider")] public class SliderPropertyEditor : PropertyEditor { protected override PreValueEditor CreatePreValueEditor() ...
mit
C#
d8ebca90230225e1fd57db9a07a88228893109a7
Add further invalid version strings to test.
PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql
test/EFCore.MySql.Tests/Migrations/ServerVersionTest.cs
test/EFCore.MySql.Tests/Migrations/ServerVersionTest.cs
using System; using Microsoft.EntityFrameworkCore; using Pomelo.EntityFrameworkCore.MySql.Infrastructure; using Pomelo.EntityFrameworkCore.MySql.Storage; using Xunit; namespace Pomelo.EntityFrameworkCore.MySql.Migrations { public class ServerVersionTest { [Theory] [InlineData("5.7.18", ServerTy...
using System; using Microsoft.EntityFrameworkCore; using Pomelo.EntityFrameworkCore.MySql.Infrastructure; using Pomelo.EntityFrameworkCore.MySql.Storage; using Xunit; namespace Pomelo.EntityFrameworkCore.MySql.Migrations { public class ServerVersionTest { [Theory] [InlineData("5.7.18", ServerTy...
mit
C#
6675f9dffbf32d9df2a2100973d7c3324a605a5e
Add parameter-less defaults for Start, Toggle, Reset.
jcheng31/AgentIntervals
HeartBeat.cs
HeartBeat.cs
using System; using System.Threading; using Microsoft.SPOT; namespace AgentIntervals { public delegate void HeartBeatEventHandler(object sender, EventArgs e); public class HeartBeat { private Timer _timer; private int _period; public event HeartBeatEventHandler On...
using System; using System.Threading; using Microsoft.SPOT; namespace AgentIntervals { public delegate void HeartBeatEventHandler(object sender, EventArgs e); public class HeartBeat { private Timer _timer; private int _period; public event HeartBeatEventHandler On...
mit
C#
48ef25fb157a997fe12720595832789273e45166
remove unused variables
MetaG8/Metrics.NET,huoxudong125/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.N...
Src/Metrics/PerfCounters/PerformanceCounterGauge.cs
Src/Metrics/PerfCounters/PerformanceCounterGauge.cs
using System; using System.Diagnostics; namespace Metrics.PerfCounters { public class PerformanceCounterGauge : Gauge { private static readonly Func<float, string> DefaultFormat = f => f.ToString("F"); private readonly Func<float, string> format; private readonly PerformanceCounter pe...
using System; using System.Diagnostics; namespace Metrics.PerfCounters { public class PerformanceCounterGauge : Gauge { private static readonly Func<float, string> DefaultFormat = f => f.ToString("F"); private readonly string category; private readonly string counter; private ...
apache-2.0
C#
9b336db241f2bd1300a780a85aceebe6bbe724a0
Add AssemblyInformationalVersion to AssemblyInfo.cs
bretcope/Mayflower.NET
Mayflower/Properties/AssemblyInfo.cs
Mayflower/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("Ma...
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("Ma...
mit
C#
f7b91ea9576e5d202b554e64dcc1817d13e06e8d
add method stubs for nsqlookupd api
judwhite/NsqSharp,yonglehou/NsqSharp
NsqSharp/Api/NsqLookupdHttpClient.cs
NsqSharp/Api/NsqLookupdHttpClient.cs
using System; namespace NsqSharp.Api { /// <summary>An nsqlookupd HTTP client.</summary> public class NsqLookupdHttpClient : NsqHttpApi { /// <summary>Initializes a new instance of <see cref="NsqLookupdHttpClient" /> class.</summary> /// <param name="nsqlookupdHttpAddress">The nsqlookupd H...
using System; namespace NsqSharp.Api { /// <summary>An nsqlookupd HTTP client.</summary> public class NsqLookupdHttpClient : NsqHttpApi { /// <summary>Initializes a new instance of <see cref="NsqLookupdHttpClient" /> class.</summary> /// <param name="nsqlookupdHttpAddress">The nsqlookupd H...
mit
C#
321c9ba575227d0a0ace0b9609a43ba55f32fb9b
Add the undocumented (but used) check suite conclusion "skipped" (#2077)
adamralph/octokit.net,octokit/octokit.net,shiftkey/octokit.net,shiftkey/octokit.net,octokit/octokit.net
Octokit/Models/Common/CheckStatus.cs
Octokit/Models/Common/CheckStatus.cs
using System; using Octokit.Internal; namespace Octokit { public enum CheckStatus { [Parameter(Value = "queued")] Queued, [Parameter(Value = "in_progress")] InProgress, [Parameter(Value = "completed")] Completed, } public enum CheckConclusion { ...
using System; using Octokit.Internal; namespace Octokit { public enum CheckStatus { [Parameter(Value = "queued")] Queued, [Parameter(Value = "in_progress")] InProgress, [Parameter(Value = "completed")] Completed, } public enum CheckConclusion { ...
mit
C#
49fa3f5165fdf0627abc88d5e9c2aa57f8b87751
Update copyright
hazzik/DelegateDecompiler,jaenyph/DelegateDecompiler,morgen2009/DelegateDecompiler
src/DelegateDecompiler.EntityFramework.Tests/Properties/AssemblyInfo.cs
src/DelegateDecompiler.EntityFramework.Tests/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#
4d78a2c848d7399ddaa13257a7d13526205f5b31
Remove old & unecessary comment
abryukhov/Umbraco-CMS,hfloyd/Umbraco-CMS,hfloyd/Umbraco-CMS,leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,robertjf/Umbraco-CMS,leekelleher/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,tc...
src/Umbraco.Core/PropertyEditors/DataValueReferenceFactoryCollection.cs
src/Umbraco.Core/PropertyEditors/DataValueReferenceFactoryCollection.cs
using System.Collections.Generic; using Umbraco.Core.Composing; using Umbraco.Core.Models; using Umbraco.Core.Models.Editors; namespace Umbraco.Core.PropertyEditors { public class DataValueReferenceFactoryCollection : BuilderCollectionBase<IDataValueReferenceFactory> { public DataValueReferenceFactory...
using System.Collections.Generic; using Umbraco.Core.Composing; using Umbraco.Core.Models; using Umbraco.Core.Models.Editors; namespace Umbraco.Core.PropertyEditors { public class DataValueReferenceFactoryCollection : BuilderCollectionBase<IDataValueReferenceFactory> { public DataValueReferenceFactory...
mit
C#
22910c8c66e100427b52a5e2143bae33fc8b64da
Update MemoryCacheDecoratorBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/Cache/Memory/MemoryCacheDecoratorBase.cs
TIKSN.Core/Data/Cache/Memory/MemoryCacheDecoratorBase.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; namespace TIKSN.Data.Cache.Memory { public abstract class MemoryCacheDecoratorBase<T> : CacheDecoratorBase<T> { protected readonly IOptions<MemoryCacheDecoratorOptions> _genericOp...
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; namespace TIKSN.Data.Cache.Memory { public abstract class MemoryCacheDecoratorBase<T> : CacheDecoratorBase<T> { protected readonly IMemoryCache _memoryCache; protected rea...
mit
C#
14f952055b9686944e40b07924618bf6e0403c24
Update SchecduleUrlArea.cs
TechDevils/Url-Task-Scheduler,TechDevils/Url-Task-Scheduler,TechDevils/Url-Task-Scheduler
TechDevils.UrlTaskScheduler/Sections/SchecduleUrlArea.cs
TechDevils.UrlTaskScheduler/Sections/SchecduleUrlArea.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using umbraco.businesslogic; using umbraco.interfaces; namespace TechDevils.UrlTaskScheduler.Sections { [Application("scheduleUrlsArea", "Url Scheduler", "icon-time", 10)] public class ScheduleUrlArea : IApplication {} }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using umbraco.businesslogic; using umbraco.interfaces; namespace TechDevils.UrlTaskScheduler.Sections { [Application("scheduleUrlsArea", "Url Scheduler", "icon-time", 10)] public class SchecduleUrlArea : IApplication {} }
mit
C#
5328a3483d2fdbaf0932c91da874ce9eb98f565c
update assembly version to 1.6.1
tonyqus/toxy
ToxyFramework/Properties/AssemblyInfo.cs
ToxyFramework/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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. [asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; // 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. [asse...
apache-2.0
C#
b1c49a2a44e206b1b7103154b2663c34b231b096
add comments to IGherkinLine
SabotageAndi/gherkin,hayd/gherkin3,Zearin/gherkin3,SabotageAndi/gherkin,concertman/gherkin3,chebizarro/gherkin3,thetutlage/gherkin3,vincent-psarga/gherkin3,thr0w/gherkin3,moreirap/gherkin3,pjlsergeant/gherkin,dg-ratiodata/gherkin3,cucumber/gherkin3,pjlsergeant/gherkin,vincent-psarga/gherkin3,hayd/gherkin3,pjlsergeant/g...
Gherkin/IGherkinLine.cs
Gherkin/IGherkinLine.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gherkin { /// <summary> /// Represents a line of a Gherkin file /// </summary> public interface IGherkinLine { /// <summary> /// One-based lin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gherkin { public interface IGherkinLine { int LineNumber { get; } void Detach(); int Indent { get; } bool IsEmpty(); bool Star...
mit
C#
7dc2a4b462a86fc8c686e6f403651fe9c6ea187f
Comment expectations around regex
bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity
src/BugsnagUnity/Payload/Device.cs
src/BugsnagUnity/Payload/Device.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; namespace BugsnagUnity.Payload { /// <summary> /// Represents the "device" key in the error report payload. /// </summary> public class Device : Dictionary<string, object>, IFilterable { int...
using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; namespace BugsnagUnity.Payload { /// <summary> /// Represents the "device" key in the error report payload. /// </summary> public class Device : Dictionary<string, object>, IFilterable { int...
mit
C#
8088427c93b5f567b8a75833c8e4897a554c0647
Fix "missing instance" case in multi-instance commands
Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager
src/SIM.Core/Common/AbstractMultiInstanceActionCommand.cs
src/SIM.Core/Common/AbstractMultiInstanceActionCommand.cs
namespace SIM.Core.Common { using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Sitecore.Diagnostics.Base; using SIM.Instances; public abstract class AbstractMultiInstanceActionCommand<T> : AbstractCommand<T> { [CanBeNull] public virtual string ...
namespace SIM.Core.Common { using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using Sitecore.Diagnostics.Base; using SIM.Instances; public abstract class AbstractMultiInstanceActionCommand<T> : AbstractCommand<T> { [CanBeNull] public virtual string ...
mit
C#
93b06dcbb3d0355ed355754fab316fdf3612b15f
Use the defined max value
treymack/fibonacci
FibCSharp/Program.cs
FibCSharp/Program.cs
using System; using System.Linq; namespace FibCSharp { class Program { static void Main(string[] args) { var max = 50; Enumerable.Range(0, int.MaxValue) .Select(Fib) .TakeWhile(x => x <= max) .ToList() .For...
using System; using System.Linq; namespace FibCSharp { class Program { static void Main(string[] args) { var max = 50; Enumerable.Range(0, int.MaxValue) .Select(Fib) .TakeWhile(x => x <= 50) .ToList() .ForE...
unlicense
C#
2d14f74b393ed1d6d8075a5b48d21c01c3247191
Rename req to input to fix c# template
soninaren/azure-webjobs-sdk-templates,Azure/azure-webjobs-sdk-templates,mattchenderson/azure-webjobs-sdk-templates,tohling/azure-webjobs-sdk-templates,Azure/azure-webjobs-sdk-templates,tohling/azure-webjobs-sdk-templates,tohling/azure-webjobs-sdk-templates,davidlai-msft/azure-webjobs-sdk-templates,Azure/azure-webjobs-s...
Templates/HttpTrigger-CSharp/run.csx
Templates/HttpTrigger-CSharp/run.csx
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Diagnostics; using Microsoft.Azure.WebJobs.Host; public static Task<HttpResponseMessage> Run(HttpRequestMessage input, TraceWriter log) { var queryParamms = input.GetQueryNameValuePairs() .T...
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Diagnostics; using Microsoft.Azure.WebJobs.Host; public static Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { var queryParamms = req.GetQueryNameValuePairs() .ToDic...
mit
C#
d9f89d395034ed94f729b4137534407e875ffa9b
debug view
AutoMapper/AutoMapper,AutoMapper/AutoMapper,gentledepp/AutoMapper,BlaiseD/AutoMapper,lbargaoanu/AutoMapper,mjalil/AutoMapper
src/AutoMapper/PathMap.cs
src/AutoMapper/PathMap.cs
using System.Diagnostics; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { using Internal; [DebuggerDisplay("{DestinationExpression}")] public class PathMap { public PathMap(TypeMap typeMap) { TypeMap = typeMap; } public Type...
using System.Diagnostics; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { using Internal; [DebuggerDisplay("{DestinationProperty.Name}")] public class PathMap { public PathMap(TypeMap typeMap) { TypeMap = typeMap; } public T...
mit
C#
b274611fb27d86cc86cbcec1ac723c424344ffd8
Update Customization.cs
apemost/Newq,apemost/Newq
src/Newq/Customization.cs
src/Newq/Customization.cs
/* Copyright 2015-2016 Andrew Lyu & Uriel Van * * 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...
/* Copyright 2015-2016 Andrew Lyu & Uriel Van * * 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...
mit
C#
a6b27a7aa45bbc0ae76ce166c425ab21ff936dac
Add a link number field to ColliderArgs
EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opens...
OpenSim/Framework/ColliderData.cs
OpenSim/Framework/ColliderData.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
09f84e3f87f13232301751264cdffdebf8794911
rename database file name extension
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Data/Configuration/Constants.cs
abremir.AllMyBricks.Data/Configuration/Constants.cs
namespace abremir.AllMyBricks.Data.Configuration { public static class Constants { public const string AllMyBricksDbFile = "allmybricks.realm"; public const ushort MinimumSetYear = 1949; public const ushort MinimumSearchQuerySize = 3; } }
namespace abremir.AllMyBricks.Data.Configuration { public static class Constants { public const string AllMyBricksDbFile = "allmybricks.litedb"; public const ushort MinimumSetYear = 1949; public const ushort MinimumSearchQuerySize = 3; } }
mit
C#
748366b59bc2b6e66eee204ebc1ed8f7c69de568
Add comments
hungmai-msft/azure-powershell,shuagarw/azure-powershell,krkhan/azure-powershell,yoavrubin/azure-powershell,devigned/azure-powershell,pankajsn/azure-powershell,ClogenyTechnologies/azure-powershell,pankajsn/azure-powershell,naveedaz/azure-powershell,CamSoper/azure-powershell,naveedaz/azure-powershell,yantang-msft/azure-p...
src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Models/AdlDataSource.cs
src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Models/AdlDataSource.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#
9842351c288a5601ac8bfee010ed1564dc5321b6
Add command in the comment.
tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin,tlaothong/lab-swp-ws-kiatnakin
Lab4Orchestration/WinSerHost/Service1.cs
Lab4Orchestration/WinSerHost/Service1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceModel; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace WinSerHost { // For this service to work correctly, //...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Linq; using System.ServiceModel; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace WinSerHost { public partial class Service1 : ServiceBase ...
mit
C#
0e31070768a52db605606c8303c559f9045197c5
Revert "overgestapt naar IList"
barld/MathBarld
Other/BarldList.cs
Other/BarldList.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Other { /// <summary> /// own wrapper on array /// </summary> class BarldList<T> : IEnumerable<T> { private T[] _collection; publ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Other { /// <summary> /// own wrapper on array /// </summary> public class BarldList<T> : IList<T> { private T[] _collection; #re...
mit
C#
332d38d2a0bae76f31a1d44d9a63349c16a36519
implement SendMaterialToIslandHandler
NCTU-Isolated-Island/Isolated-Island-Game
IsolatedIslandGame/IsolatedIslandGame.Library/CommunicationInfrastructure/Operations/Handlers/PlayerOperationHandlers/SendMaterialToIslandHandler.cs
IsolatedIslandGame/IsolatedIslandGame.Library/CommunicationInfrastructure/Operations/Handlers/PlayerOperationHandlers/SendMaterialToIslandHandler.cs
using IsolatedIslandGame.Library.Items; using IsolatedIslandGame.Protocol.Communication.OperationCodes; using IsolatedIslandGame.Protocol.Communication.OperationParameters.Player; using System.Collections.Generic; namespace IsolatedIslandGame.Library.CommunicationInfrastructure.Operations.Handlers.PlayerOperationHand...
using IsolatedIslandGame.Protocol; using IsolatedIslandGame.Protocol.Communication.OperationCodes; using IsolatedIslandGame.Protocol.Communication.OperationParameters.Player; using System.Collections.Generic; using System; namespace IsolatedIslandGame.Library.CommunicationInfrastructure.Operations.Handlers.PlayerOper...
apache-2.0
C#
0a9ba06df4c2eae2e06b592b06a0e4fe25774bc0
Fix - La ricerca utenti adesso ricerca per nome e/o anche cognome
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneUtente/GetUtentiByCodiciSede.cs
src/backend/SO115App.Persistence.MongoDB/GestioneUtenti/GestioneUtente/GetUtentiByCodiciSede.cs
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using System; using System.Collections.Generic; using System.Linq; namespace SO115App.Persistence.MongoDB.GestioneUtenti.GestioneUtente { /// <su...
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.GetUtenti; using System; using System.Collections.Generic; namespace SO115App.Persistence.MongoDB.GestioneUtenti.GestioneUtente { /// <summary> /// cl...
agpl-3.0
C#
22a9653c3cefda8cbfc49965384107da6d89f387
Make metrics more thread safe
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Instrumentation/Metrics.cs
src/GraphQL/Instrumentation/Metrics.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace GraphQL.Instrumentation { public class Metrics : IDisposable { private readonly Stopwatch _stopwatch = new Stopwatch(); private readonly ConcurrentBag<Per...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace GraphQL.Instrumentation { public class Metrics : IDisposable { private readonly Stopwatch _stopwatch = new Stopwatch(); private readonly IList<PerfRecord> _records = new List<PerfRecord>(); ...
mit
C#
da814e28896887162dabcd828c2756aeeb4a1a1d
Use SkipLocalsInit on .NET 5
Abc-Arbitrage/ZeroLog
src/ZeroLog/Properties/AssemblyInfo.cs
src/ZeroLog/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("ZeroLog.Tests")] [assembly: InternalsVisibleTo("ZeroLog.Benchmarks")] #if NETCOREAPP && !NETCOREAPP2_1 [module: SkipLocalsInit] #endif
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("ZeroLog.Tests")] [assembly: InternalsVisibleTo("ZeroLog.Benchmarks")]
mit
C#
5e9dfedfc938fb207edac0e9fb4a52db92ae392d
Make the food TTL setter private.
darkriszty/SnakeApp
src/SnakeApp/Models/Food.cs
src/SnakeApp/Models/Food.cs
using SnakeApp.Graphics; using System; namespace SnakeApp.Models { public class Food { public Food() { DateCreated = DateTime.Now; } public Food(byte score, Point position, byte secondsToLive) : this() { Score = score; Position = position; SecondsToLive = secondsToLive; } public Point Pos...
using SnakeApp.Graphics; using System; namespace SnakeApp.Models { public class Food { public Food() { DateCreated = DateTime.Now; } public Food(byte score, Point position, byte secondsToLive) : this() { Score = score; Position = position; SecondsToLive = secondsToLive; } public Point Pos...
mit
C#
0cd1b9a8a6c1eee25d026c703772cad6f41e4e02
Add say message of chasing from the miner
Guityyo/minerparty,Guityyo/minerparty
Assets/_Scripts/FSMtxt/Miner/ChaseThief.cs
Assets/_Scripts/FSMtxt/Miner/ChaseThief.cs
using UnityEngine; using System; public sealed class ChaseThief : FSMState<Miner> { static readonly ChaseThief instance = new ChaseThief(); public static ChaseThief Instance { get { return instance; } } static ChaseThief() { } private ChaseThief() { } private Thief thiefScript; public override void Enter ...
using UnityEngine; using System; public sealed class ChaseThief : FSMState<Miner> { static readonly ChaseThief instance = new ChaseThief(); public static ChaseThief Instance { get { return instance; } } static ChaseThief() { } private ChaseThief() { } private Thief thiefScript; public override void Enter ...
apache-2.0
C#
7fe4e46a3d74a613175c0d5043ed5b7515083ad3
Fix test broken by Moq upgrade.
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenDeletingApprenticeship.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Commitments/WhenDeletingApprenticeship.cs
using System.Threading; using System.Threading.Tasks; using FluentAssertions; using MediatR; using Moq; using NUnit.Framework; using SFA.DAS.Commitments.Api.Types.Apprenticeship; using SFA.DAS.ProviderApprenticeshipsService.Application.Commands.DeleteApprenticeship; using SFA.DAS.ProviderApprenticeshipsService.Applic...
using System.Threading; using System.Threading.Tasks; using FluentAssertions; using MediatR; using Moq; using NUnit.Framework; using SFA.DAS.Commitments.Api.Types.Apprenticeship; using SFA.DAS.ProviderApprenticeshipsService.Application.Commands.DeleteApprenticeship; using SFA.DAS.ProviderApprenticeshipsService.Applic...
mit
C#
32b2014ee362e473bc6d204c1a752b5469a48584
Add timeout waiting for MainWindow.
JohanLarsson/Gu.Wpf.Geometry
Gu.Wpf.Geometry.UiTests/MainWindowTests.cs
Gu.Wpf.Geometry.UiTests/MainWindowTests.cs
namespace Gu.Wpf.Geometry.UiTests { using System; using Gu.Wpf.UiAutomation; using NUnit.Framework; public class MainWindowTests { [Test] public void ClickAllTabs() { // Just a smoke test so that we do not explode. using (var app = Application.Launch(...
namespace Gu.Wpf.Geometry.UiTests { using Gu.Wpf.UiAutomation; using NUnit.Framework; public class MainWindowTests { [Test] public void ClickAllTabs() { // Just a smoke test so that we do not explode. using (var app = Application.Launch("Gu.Wpf.Geometry.D...
mit
C#
05b29ef45539525341767f3974970e23bff34c15
Make MathF public for corefx facade production
gregkalapos/corert,yizhang82/corert,tijoytom/corert,yizhang82/corert,yizhang82/corert,gregkalapos/corert,botaberg/corert,krytarowski/corert,krytarowski/corert,botaberg/corert,krytarowski/corert,tijoytom/corert,tijoytom/corert,shrah/corert,gregkalapos/corert,yizhang82/corert,botaberg/corert,shrah/corert,shrah/corert,gre...
src/System.Private.CoreLib/src/System/MathF.cs
src/System.Private.CoreLib/src/System/MathF.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.Runtime.CompilerServices; namespace System { public static class MathF { public const...
// 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.Runtime.CompilerServices; namespace System { internal static class MathF { public con...
mit
C#
4e0f4c3dfe054be87c3ea9d68737cdb490ac1a9b
Fix inventory status type
spiresystems/spire-api-example-csharp
api-example-csharp/Inventory.cs
api-example-csharp/Inventory.cs
using System.Collections.Generic; namespace ApiTest.InventoryApi { public class UnitOfMeasure { public int id { get; set; } public string code { get; set; } } public sealed class InventoryStatus { public static int Active = 0; public static int OnH...
using System.Collections.Generic; namespace ApiTest.InventoryApi { public class UnitOfMeasure { public int id { get; set; } public string code { get; set; } } public sealed class InventoryStatus { public static string Active = 0; public static stri...
mit
C#
c3ac81554dfc7fa2c43f6af861a25370e85c540d
Implement ConstantExpressionGenerator
manisero/DSLExecutor
dev/Manisero.DSLExecutor.Parser.SampleDSL/ExpressionGeneration/ConstantExpressionGeneration/ConstantExpressionGenerator.cs
dev/Manisero.DSLExecutor.Parser.SampleDSL/ExpressionGeneration/ConstantExpressionGeneration/ConstantExpressionGenerator.cs
using System; using System.Reflection; using Manisero.DSLExecutor.Domain.ExpressionsDomain; using Manisero.DSLExecutor.Parser.SampleDSL.Parsing.Tokens; namespace Manisero.DSLExecutor.Parser.SampleDSL.ExpressionGeneration.ConstantExpressionGeneration { public interface IConstantExpressionGenerator { ...
using System; using Manisero.DSLExecutor.Domain.ExpressionsDomain; using Manisero.DSLExecutor.Parser.SampleDSL.Parsing.Tokens; namespace Manisero.DSLExecutor.Parser.SampleDSL.ExpressionGeneration.ConstantExpressionGeneration { public interface IConstantExpressionGenerator { IConstantExpression...
mit
C#
bae28ab0db7068ecdbf7ff0f85516e494f470a8a
fix shaderstateflags being a uint
overtools/OWLib
TankLib/Enums.cs
TankLib/Enums.cs
using System; using System.Diagnostics.CodeAnalysis; namespace TankLib { public static class Enums { [SuppressMessage("ReSharper", "InconsistentNaming")] public enum SDAM : long { NONE, MUTABLE, IMMUTABLE } [Flags] [SuppressMessage("ReSh...
using System; using System.Diagnostics.CodeAnalysis; namespace TankLib { public static class Enums { [SuppressMessage("ReSharper", "InconsistentNaming")] public enum SDAM : long { NONE, MUTABLE, IMMUTABLE } [Flags] [SuppressMessage("ReSh...
mit
C#
773aa9c94631b62941a087fa62042d56896ff22a
Update SdkVersion to 4.0.0
plivo/plivo-dotnet,plivo/plivo-dotnet
src/Plivo/Version.cs
src/Plivo/Version.cs
using System; namespace Plivo { /// <summary> /// Version. /// </summary> public class Version { /// <summary> /// DotNet SDK version /// </summary> public const string SdkVersion = "4.0.0"; /// <summary> /// Plivo API version /// </summary> ...
using System; namespace Plivo { /// <summary> /// Version. /// </summary> public class Version { /// <summary> /// DotNet SDK version /// </summary> public const string SdkVersion = "2.0.0"; /// <summary> /// Plivo API version /// </summary> ...
mit
C#
2f2d65c84fb5168a276a59e27afbb4ccd02782bb
Add - Aggiunta proprietà lista sedi alla result degli utenti nella gestione utenti
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaOperatori/ListaOperatoriResult.cs
src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaOperatori/ListaOperatoriResult.cs
//----------------------------------------------------------------------- // <copyright file="ListaOperatoriResult.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public...
//----------------------------------------------------------------------- // <copyright file="ListaOperatoriResult.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public...
agpl-3.0
C#
164be1bde5346c8a5de0be32582a5c9271312014
change all Type parameters to State<T>, make config lazy running
Pondidum/Finite,Pondidum/Finite
Finite/State.cs
Finite/State.cs
using System; using System.Collections.Generic; using System.Linq; namespace Finite { public abstract class State<T> : IStateConfiguration<T> { private readonly List<Link<T>> _links; private IStateProvider<T> _stateProvider; private Action<IStateConfiguration<T>> _configuration; protected State() { _l...
using System; using System.Collections.Generic; using System.Linq; namespace Finite { public abstract class State<T> { private readonly List<Link<T>> _links; protected State() { _links = new List<Link<T>>(); } protected ILinkConfigurationExpression<T> LinkTo<TTarget>() where TTarget : State<T> { ...
lgpl-2.1
C#
6511c723b76cbed87e0c3afa0929a3a6e15db095
Bump version
rileywhite/Cilador
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
/***************************************************************************/ // Copyright 2013-2014 Riley White // // 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.ap...
/***************************************************************************/ // Copyright 2013-2014 Riley White // // 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.ap...
apache-2.0
C#
ae3d2a12a61cee712492c7956deb43735fbf5993
Add support for YOTPO's typo in BottomLine
Soulfire86/Yotpo.Net
src/Models/Review.cs
src/Models/Review.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; // ReSharper disable InconsistentNaming namespace YotpoNet.Models { public class ProductReviews { public Pagination pagination { get; set; } public ReviewsBottomLine bottomline { get; set; } public object[] prod...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; // ReSharper disable InconsistentNaming namespace YotpoNet.Models { public class ProductReviews { public Pagination pagination { get; set; } public BottomLine bottomline { get; set; } public object[] products { ...
mit
C#
7d7d03323a16efb47a7e8e226847f78a2a7e782b
Remove usage of nameof as msbuild is not setup properly to use latest compiler
SiliconStudio/SharpYaml
SharpYaml/Serialization/DynamicMemberDescriptorBase.cs
SharpYaml/Serialization/DynamicMemberDescriptorBase.cs
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modify, ...
// Copyright (c) 2015 SharpYaml - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modify, ...
mit
C#
3a41fa40958e50403a0e1a4b959010ca7815ad19
Fix manual smoke test for Google.Cloud.Firestore.Admin.V1
jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet
apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1.SmokeTests/FirestoreAdminSmokeTest.cs
apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1.SmokeTests/FirestoreAdminSmokeTest.cs
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
8c241b8ea4d169a5a16e511d531da04c10c4cd74
Update ActionCollection.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactivity/ActionCollection.cs
src/Avalonia.Xaml.Interactivity/ActionCollection.cs
using System; using System.Collections.Specialized; using Avalonia.Collections; namespace Avalonia.Xaml.Interactivity; /// <summary> /// Represents a collection of <see cref="IAction"/>'s. /// </summary> public class ActionCollection : AvaloniaList<IAvaloniaObject> { /// <summary> /// Initializes a new insta...
using System; using System.Collections.Specialized; using Avalonia.Collections; namespace Avalonia.Xaml.Interactivity; /// <summary> /// Represents a collection of <see cref="IAction"/>'s. /// </summary> public class ActionCollection : AvaloniaList<IAvaloniaObject> { /// <summary> /// Initializes a new insta...
mit
C#
424216b7936ec79ec084dd6df71ef504d4b479d6
Disable FEC decoding
RogueException/Discord.Net,LassieME/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net
src/Discord.Net.WebSocket/Audio/Opus/OpusDecoder.cs
src/Discord.Net.WebSocket/Audio/Opus/OpusDecoder.cs
using System; using System.Runtime.InteropServices; namespace Discord.Audio { internal unsafe class OpusDecoder : OpusConverter { [DllImport("opus", EntryPoint = "opus_decoder_create", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr CreateDecoder(int Fs, int channels...
using System; using System.Runtime.InteropServices; namespace Discord.Audio { internal unsafe class OpusDecoder : OpusConverter { [DllImport("opus", EntryPoint = "opus_decoder_create", CallingConvention = CallingConvention.Cdecl)] private static extern IntPtr CreateDecoder(int Fs, int channels...
mit
C#
aa023ab382a5f4d89833db6d18a8855d1e648607
Update Identity context metadata
vflorusso/nether,navalev/nether,ankodu/nether,vflorusso/nether,ankodu/nether,ankodu/nether,ankodu/nether,navalev/nether,vflorusso/nether,vflorusso/nether,navalev/nether,MicrosoftDX/nether,vflorusso/nether,krist00fer/nether,oliviak/nether,navalev/nether
src/Nether.Data.Sql/Identity/IdentityContextBase.cs
src/Nether.Data.Sql/Identity/IdentityContextBase.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; using System; using Nether.Data.PlayerManagement; using System.Threading.Tasks; using System.Collections.Generic; using System.Lin...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; using System; using Nether.Data.PlayerManagement; using System.Threading.Tasks; using System.Collections.Generic; using System.Lin...
mit
C#
4c34914a2caa7cdda57d8b97ca8dc2be56e96f16
Switch to interface IReadBuffer instead of class
HCanber/kafkaclient-net
src/KafkaClient/Api/FetchResponse.cs
src/KafkaClient/Api/FetchResponse.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using KafkaClient.IO; using KafkaClient.Message; namespace KafkaClient.Api { public class FetchResponse : ResponseBase, IEnumerable<KeyValuePair<TopicAndPartition, FetchResponsePartitionData>> { private readonly...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using KafkaClient.IO; using KafkaClient.Message; namespace KafkaClient.Api { public class FetchResponse : ResponseBase, IEnumerable<KeyValuePair<TopicAndPartition, FetchResponsePartitionData>> { private readonly...
mit
C#
94eb619fe2f2a3544778ba1722ac56619411483f
Update variable names of handler factories.
ddonahue/MagicBus,ddonahue/MagicBus
MagicBus/Bus.cs
MagicBus/Bus.cs
using System; using System.Collections.Generic; using System.Linq; using MagicBus.Exceptions; using MagicBus.Extensions; namespace MagicBus { public delegate object SingleInstanceFactory(Type serviceType); public delegate IEnumerable<object> MultiInstanceFactory(Type serviceType); public class Bus : IB...
using System; using System.Collections.Generic; using System.Linq; using MagicBus.Exceptions; using MagicBus.Extensions; namespace MagicBus { public delegate object SingleInstanceFactory(Type serviceType); public delegate IEnumerable<object> MultiInstanceFactory(Type serviceType); public class Bus : IB...
mit
C#
b750262758300941fab8d8fd0922f168817aa5fd
Improve in-game menu: - Add possibilty to embed bind-variables that will be resolved on the client to the appropriate key/mouse binding.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
game/client/ui/shell/mission.cs
game/client/ui/shell/mission.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ addMessageCallback('MsgMenuText', handleMsgMenuText); //------------------------...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ addMessageCallback('MsgMenuText', handleMsgMenuText); //------------------------...
lgpl-2.1
C#
305d6cb3f0b27f23f13b803885a2b98a293c8143
Fix macos data directory.
NPBruce/valkyrie,NPBruce/valkyrie,NPBruce/valkyrie
Assets/Scripts/Content/AssetImport/MoMFinder.cs
Assets/Scripts/Content/AssetImport/MoMFinder.cs
using UnityEngine; using System.Collections; // Details for FFG MoM app public class MoMFinder : AppFinder { // If the installed app isn't this or higher don't import override public string RequiredFFGVersion() { return "1.3.0"; } // If an import wasn't performed with this Valkyrie version...
using UnityEngine; using System.Collections; // Details for FFG MoM app public class MoMFinder : AppFinder { // If the installed app isn't this or higher don't import override public string RequiredFFGVersion() { return "1.3.0"; } // If an import wasn't performed with this Valkyrie version...
apache-2.0
C#
1d42c31d61e8e99dbe08a3d335253261085f72c4
Add non-complete boss controller script
DavidnCothron/4232-capstone-project
Assets/Scripts/Enemies/MouthOfEvilController.cs
Assets/Scripts/Enemies/MouthOfEvilController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouthOfEvilController : MonoBehaviour { public List<EvilEyeScript> evilEyes; public int mouthOfEvilHealth = 12; private int hitsLeftInPhase; public int maxHitsPerPhase = 4; public bool isInPhase = false; public int tota...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouthOfEvilController : MonoBehaviour { public List<EvilEyeScript> evilEyes; public int mouthOfEvilHealth = 12; private int hitsLeftInPhase; public int maxHitsPerPhase = 4; public bool isInPhase = false; void Awake () ...
apache-2.0
C#
ad6124d87491ab65df91ce09224cb772b83025ed
Combine redundant building for test
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Tests/AirTableServiceTests.cs
Battery-Commander.Tests/AirTableServiceTests.cs
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; using Xunit; namespace BatteryCommander.Tests { public class AirTableServiceTests { private const String AppKey = ""; private const String Ba...
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; using Xunit; namespace BatteryCommander.Tests { public class AirTableServiceTests { private const String AppKey = ""; private const String Ba...
mit
C#
b646fb23bd975bf46a9d40d45cfb8e537a57d719
Bump version to 0.1.3.
ejball/Facility,FacilityApi/Facility
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.1.3.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.1.2.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
b9efce5e23b7b2ab8687adf29eac838e1609a9a7
bump ver
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.2.0.27")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019, 2020 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.2.0.26")]
mit
C#