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
1f0afee2089f447b96badde6f7f56cde962b8868
Check if productContent is null
TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco
Source/TeaCommerce.Umbraco.Configuration/Marketing/Models/ProductUtils.cs
Source/TeaCommerce.Umbraco.Configuration/Marketing/Models/ProductUtils.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using TeaCommerce.Api; using TeaCommerce.Api.Models; using TeaCommerce.Api.Services; using TeaCommerce.Umbraco.Configuration.Variants.Models; using Umbraco.Core.Models; using Umbraco.Web; namespace TeaCommerce.Umbraco.Confi...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using TeaCommerce.Api; using TeaCommerce.Api.Models; using TeaCommerce.Api.Services; using TeaCommerce.Umbraco.Configuration.Variants.Models; using Umbraco.Core.Models; using Umbraco.Web; namespace TeaCommerce.Umbraco.Confi...
mit
C#
7ed381a40b5d868a64531a81cf6011d0daeafb95
Remove superfluous AlgebraKind.AggregateExpression
terrajobst/nquery-vnext
src/NQuery/Algebra/AlgebraKind.cs
src/NQuery/Algebra/AlgebraKind.cs
using System; namespace NQuery.Algebra { internal enum AlgebraKind { // Nodes Constant, Table, Join, Filter, Compute, Top, Sort, BinaryQuery, GroupByAndAggregation, Project, // Expressions UnaryExpression...
using System; namespace NQuery.Algebra { internal enum AlgebraKind { // Nodes Constant, Table, Join, Filter, Compute, Top, Sort, BinaryQuery, GroupByAndAggregation, Project, // Expressions UnaryExpression...
mit
C#
3d016e3cd99ac0db1bfbf75214baf89a0b44683b
Update version
robertcoltheart/Deploy
src/Deploy/Properties/AssemblyInfo.cs
src/Deploy/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#
eb2fb56c1cb463c7bee2238ba9115d7c96651963
fix unit test
AlonAmsalem/NLoad
src/NLoad.Tests/LoadGeneratorTests.cs
src/NLoad.Tests/LoadGeneratorTests.cs
using Moq; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NLoad.Tests { [TestClass] public class LoadGeneratorTests { [TestMethod] public void ShouldSetResultWhenCompleted() { var loadTest = new Mock<ILoadTest>(); var ...
using Moq; using System.Threading; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NLoad.Tests { [TestClass] public class LoadGeneratorTests { [TestMethod] public void ShouldSetResultWhenCompleted() { var loadTest = new Mock<ILoadTest>(); var ...
apache-2.0
C#
076fcec3dff504fbab201aa82094b7f994a50e03
Revert "Remove ignore attribute from now fixed test scene"
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.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.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics.Containers; using osu.Framework.Screens; usin...
// 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.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics.Containers; using osu.Framework.Screens; usin...
mit
C#
9c951f912b942e5d984d0a2a3ecbeb6bc1537864
add try catch to products controller
marieeriksson/Ecommerce,marieeriksson/Ecommerce,marieeriksson/Ecommerce
Ecommerce/Controllers/ProductsController.cs
Ecommerce/Controllers/ProductsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Ecommerce.Models; using Dapper; using System.Configuration; using System.Data.SqlClient; namespace Ecommerce.Controllers { public class ProductsController : Controller { private readonly st...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Ecommerce.Models; using Dapper; using System.Configuration; using System.Data.SqlClient; namespace Ecommerce.Controllers { public class ProductsController : Controller { private readonly st...
mit
C#
c1f77e5e7e0b6fa3adc7d2b2432c070cbe12dfb1
Update AllocateArray.cs
melnelen/CSharpPart2
H01Arrays/P01AllocateArray/AllocateArray.cs
H01Arrays/P01AllocateArray/AllocateArray.cs
//Problem 1. Allocate array //Write a program that allocates array of 20 integers and initializes each element by its index multiplied by 5. //Print the obtained array on the console. using System; class AllocateArray { static void Main(string[] args) { int[] arr = new int[20]; for (int i =...
//Problem 1. Allocate array //Write a program that allocates array of 20 integers and initializes each element by its index multiplied by 5. //Print the obtained array on the console. using System; class AllocateArray { static void Main(string[] args) { int[] arr = new int[20]; for (int i =...
mit
C#
2c74735b71c97c3c4c491ba6c52b52b9fdc059ca
test first commit
ejwoerlee/WPF
AcmeApp/Tests/Acme.CommonTests/EmailServiceTests.cs
AcmeApp/Tests/Acme.CommonTests/EmailServiceTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Acme.Common.Tests { [TestClass()] public class EmailServiceTests { [TestMethod()] public void SendMessage_Success() { // Arrange var email = new EmailService(); var expected = "Message...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Acme.Common.Tests { [TestClass()] public class EmailServiceTests { [TestMethod()] public void SendMessage_Success() { // Arrange var email = new EmailService(); var expected = "Message...
mit
C#
d3fc799e4dedaf37a2f70bd0e466373323a08a51
Update AssemblyInfo.cs
mattyway/Hangfire.Autofac,HangfireIO/Hangfire.Autofac
HangFire.Autofac/Properties/AssemblyInfo.cs
HangFire.Autofac/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("HangFire.Autofac")] [assembly: AssemblyDe...
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("HangFire.Autofac")] [assembly: AssemblyDe...
mit
C#
c737eb7355c4506da274e2b3083c97e70ee4834c
Enable nullable for NoopDefaultConsumer.cs
EasyNetQ/EasyNetQ
Source/EasyNetQ/Consumer/NoopDefaultConsumer.cs
Source/EasyNetQ/Consumer/NoopDefaultConsumer.cs
using System; using System.Threading.Tasks; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace EasyNetQ.Consumer; internal sealed class NoopDefaultConsumer : IBasicConsumer, IAsyncBasicConsumer { internal static readonly NoopDefaultConsumer Instance = new(); private NoopDefaultConsumer() { } ...
#nullable disable using System; using System.Threading.Tasks; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace EasyNetQ.Consumer; internal sealed class NoopDefaultConsumer : IBasicConsumer, IAsyncBasicConsumer { internal static readonly NoopDefaultConsumer Instance = new(); private NoopDefault...
mit
C#
444ce4e259321c2d7737601819c4f2c027c4faac
load account instead of querying index
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Dashboard/Controllers/RavenController.cs
WebAPI.Dashboard/Controllers/RavenController.cs
using System.Linq; using System.Web.Mvc; using Raven.Client.Documents; using Raven.Client.Documents.Session; using WebAPI.Common.Indexes; using WebAPI.Common.Models.Raven.Admin; using WebAPI.Common.Models.Raven.Users; namespace WebAPI.Dashboard.Controllers { public abstract class RavenController : BaseController ...
using System.Linq; using System.Web.Mvc; using Raven.Client.Documents; using Raven.Client.Documents.Session; using WebAPI.Common.Indexes; using WebAPI.Common.Models.Raven.Admin; using WebAPI.Common.Models.Raven.Users; namespace WebAPI.Dashboard.Controllers { public abstract class RavenController : BaseController ...
mit
C#
2f7301f654871b6fd0efc33ef9ed021fa7aba27b
Remove useless thread sleep
rosolko/WebDriverManager.Net
WebDriverManager/Services/Impl/BinaryService.cs
WebDriverManager/Services/Impl/BinaryService.cs
using System; using System.IO; using System.IO.Compression; using System.Net; using WebDriverManager.Helpers; namespace WebDriverManager.Services.Impl { public class BinaryService : IBinaryService { public string SetupBinary(string url, string zipDestination, string binDestination, string binaryName) ...
using System; using System.IO; using System.IO.Compression; using System.Net; using System.Threading; using WebDriverManager.Helpers; namespace WebDriverManager.Services.Impl { public class BinaryService : IBinaryService { public string SetupBinary(string url, string zipDestination, string binDestinat...
mit
C#
0567e160855be007132536bf15dd44ec137ec8be
Allow Dashboard.ExcludePatternRegex to be null
agrath/Opserver,agrath/Opserver
Opserver/Controllers/DashboardController.cs
Opserver/Controllers/DashboardController.cs
using System.ComponentModel; using System.Linq; using System.Web.Mvc; using StackExchange.Opserver.Data.Dashboard; using StackExchange.Opserver.Helpers; using StackExchange.Opserver.Models; using StackExchange.Opserver.Views.Dashboard; namespace StackExchange.Opserver.Controllers { public partial class DashboardC...
using System.ComponentModel; using System.Linq; using System.Web.Mvc; using StackExchange.Opserver.Data.Dashboard; using StackExchange.Opserver.Helpers; using StackExchange.Opserver.Models; using StackExchange.Opserver.Views.Dashboard; namespace StackExchange.Opserver.Controllers { public partial class DashboardC...
mit
C#
c2be8df58c5a5cf960ba534c108728406bd8f18d
Fix NRE if null array.
sharpjs/PSql,sharpjs/PSql
PSql.Core/_Commands/DisconnectSqlCommand.cs
PSql.Core/_Commands/DisconnectSqlCommand.cs
using System.Data.SqlClient; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsCommunications.Disconnect, "Sql")] public class DisconnectSqlCommand : Cmdlet { // -Connection [Alias("c", "cn")] [Parameter(Position = 0, ValueFromPipeline = true, ValueFromRemainingArgu...
using System.Data.SqlClient; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsCommunications.Disconnect, "Sql")] public class DisconnectSqlCommand : Cmdlet { // -Connection [Alias("c", "cn")] [Parameter(Position = 0, ValueFromPipeline = true, ValueFromRemainingArgu...
isc
C#
288da79d760dfa9052f4dda6bdc24e4fe658c38a
Remove HTTP logging.
StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes,StephenClearyApps/NetStandardTypes
src/NuGetCatalog/Globals.cs
src/NuGetCatalog/Globals.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Polly; namespace NuGetCatalog { internal static class Globals { internal static readonly HttpClient Cli...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Polly; namespace NuGetCatalog { internal static class Globals { internal static readonly HttpClient Cli...
mit
C#
a28daab329b7bc37253cbf45d2d61598a04e071d
Update ObservableHelper.cs
keith-hall/reactive-animation
src/ObservableHelper.cs
src/ObservableHelper.cs
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
apache-2.0
C#
0bad2c7db13d5364431baf1202df99ab90080dfc
Update ObservableHelper.cs
keith-hall/reactive-animation
src/ObservableHelper.cs
src/ObservableHelper.cs
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
apache-2.0
C#
783159f7a06de9438552f0de2b9654662b78b6ac
Remove redundant logic
smoogipoo/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu
osu.Game/Skinning/DefaultSkinConfiguration.cs
osu.Game/Skinning/DefaultSkinConfiguration.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. namespace osu.Game.Skinning { /// <summary> /// A skin configuration pre-populated with sane defaults. /// </summary> public class DefaultSkinConfiguratio...
// 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. namespace osu.Game.Skinning { /// <summary> /// A skin configuration pre-populated with sane defaults. /// </summary> public class DefaultSkinConfiguratio...
mit
C#
f53f2dbd58a831ca1f17f10c8f49f58c6f1ba51c
Add extension method for using version header middleware.
2020IP/TwentyTwenty.Mvc
src/TwentyTwenty.Mvc/Extensions/ApplicationBuilderExtensions.cs
src/TwentyTwenty.Mvc/Extensions/ApplicationBuilderExtensions.cs
using System; using Microsoft.AspNetCore.Hosting; using TwentyTwenty.Mvc; using TwentyTwenty.Mvc.ErrorHandling; using TwentyTwenty.Mvc.HealthCheck; using TwentyTwenty.Mvc.ReadOnlyMode; using TwentyTwenty.Mvc.Version; namespace Microsoft.AspNetCore.Builder { public static class ErrorHandling { public st...
using System; using Microsoft.AspNetCore.Hosting; using TwentyTwenty.Mvc; using TwentyTwenty.Mvc.ErrorHandling; using TwentyTwenty.Mvc.HealthCheck; using TwentyTwenty.Mvc.ReadOnlyMode; namespace Microsoft.AspNetCore.Builder { public static class ErrorHandling { public static void UseErrorHandling(this ...
apache-2.0
C#
74dabb73a9d0b413d457f97d7c18a80685b1c3e4
Add RestSharp test helpers
tempodb/tempodb-net
TempoDB.Tests/src/TestCommon.cs
TempoDB.Tests/src/TestCommon.cs
using Moq; using NUnit.Framework; using RestSharp; using System.Collections.Generic; using System.Linq; namespace TempoDB.Tests { public static class TestCommon { public static TempoDB GetClient(RestClient restClient) { return new TempoDB("api-key", "api-secret", client: restClient...
using NUnit.Framework; namespace TempoDB.Tests { [TestFixture] public class TestCommon { [Test] public void TestExample() { Assert.AreEqual(true, true); } } }
mit
C#
6ff0b44481b3e78d820abe44f07efd36daeda2aa
Change SMA assembly info for DNX xUnit runner
daxian-dbw/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,bingbing8/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,kmosher/PowerShell,daxian-dbw/PowerShell,kmosher/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShell,bingbing8/PowerShell,PaulHigi...
src/assembly-info/System.Management.Automation.assembly-info.cs
src/assembly-info/System.Management.Automation.assembly-info.cs
using System.Runtime.CompilerServices; using System.Reflection; [assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")] [assembly:InternalsVisibleTo("Microsoft.PowerSh...
using System.Runtime.CompilerServices; using System.Reflection; [assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Management")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.Commands.Utility")] [assembly:InternalsVisibleTo("Microsoft.PowerShell.Security")] [assembly:InternalsVisibleTo("Microsoft.PowerSh...
mit
C#
e6fd2056574f05f5f28d07aef049970fb1464975
Update Usage.cs
SimonCropp/NServiceBus.ProtoBuf
src/Tests/Snippets/Usage.cs
src/Tests/Snippets/Usage.cs
using NServiceBus; using NServiceBus.ProtoBuf; using ProtoBuf.Meta; class Usage { Usage(EndpointConfiguration configuration) { #region ProtoBufSerialization configuration.UseSerialization<ProtoBufSerializer>(); #endregion } void CustomSettings(EndpointConfiguration configura...
using NServiceBus; using NServiceBus.ProtoBuf; using ProtoBuf.Meta; class Usage { Usage(EndpointConfiguration endpointConfiguration) { #region ProtoBufSerialization endpointConfiguration.UseSerialization<ProtoBufSerializer>(); #endregion } void CustomSettings(EndpointConfigu...
mit
C#
f8e5c6cdcd11cc9656376f82a65cf5be3d3b6de8
remove ProxyType setMethod for ProxyDescriptor
AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/Lite
src/AspectCore.Lite.Abstractions/Descriptors/ProxyDescriptor.cs
src/AspectCore.Lite.Abstractions/Descriptors/ProxyDescriptor.cs
using System; using System.Reflection; namespace AspectCore.Lite.Abstractions { public sealed class ProxyDescriptor { public object ProxyInstance { get; } public MethodInfo ProxyMethod { get; } public Type ProxyType { get; } public ProxyDescriptor(object proxyInstance, MethodI...
using System; using System.Reflection; namespace AspectCore.Lite.Abstractions { public sealed class ProxyDescriptor { public object ProxyInstance { get; } public MethodInfo ProxyMethod { get; } public Type ProxyType { get; set; } public ProxyDescriptor(object proxyInstance, Me...
mit
C#
55ff66dfb45446d84dc063b17de577b02242b4a8
Fix time zone name on non windows platforms
stranne/Vasttrafik.NET,stranne/Vasttrafik.NET
src/Stranne.VasttrafikNET/Extensions/DateTimeOffsetExtension.cs
src/Stranne.VasttrafikNET/Extensions/DateTimeOffsetExtension.cs
using System; using System.Runtime.InteropServices; namespace Stranne.VasttrafikNET.Extensions { internal static class DateTimeOffsetExtension { public static TimeSpan GetVasttrafikTimeOffset(this DateTimeOffset dateTimeOffset) { return TimeZoneInfo.FindSystemTimeZoneById(...
using System; namespace Stranne.VasttrafikNET.Extensions { internal static class DateTimeOffsetExtension { private const string TimeZoneName = "W. Europe Standard Time"; public static TimeSpan GetVasttrafikTimeOffset(this DateTimeOffset dateTimeOffset) { return T...
mit
C#
15447941b68d7704becb21034a110efbf34fb842
Add comment in source regarding periods in embedded resource filenames.
zhenlan/corefx,dotnet-bot/corefx,mmitche/corefx,Priya91/corefx-1,khdang/corefx,Ermiar/corefx,ellismg/corefx,manu-silicon/corefx,shmao/corefx,BrennanConroy/corefx,ericstj/corefx,shimingsg/corefx,cydhaselton/corefx,krytarowski/corefx,ravimeda/corefx,Priya91/corefx-1,jcme/corefx,jlin177/corefx,dhoehna/corefx,shahid-pk/cor...
src/System.Reflection.Metadata/tests/Resources/TestResources.cs
src/System.Reflection.Metadata/tests/Resources/TestResources.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.IO; namespace System.Reflection.Metadata.Tests { // NOTE: We cannot currently use periods in embed...
// 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.IO; namespace System.Reflection.Metadata.Tests { internal static class Interop { publi...
mit
C#
05c93176e5687b2f11497604542554d3ec44f18c
Fix compiler warning.
zh-huan/mongodb,mongodb-csharp/mongodb-csharp,samus/mongodb-csharp
source/MongoDB/Attributes/MongoDefaultAttribute.cs
source/MongoDB/Attributes/MongoDefaultAttribute.cs
using System; namespace MongoDB.Attributes { /// <summary> /// /// </summary> [AttributeUsage(AttributeTargets.Property)] public sealed class MongoDefaultAttribute : Attribute { /// <summary> /// Initializes a new instance of the <see cref="MongoDefaultAttribute"/...
using System; namespace MongoDB.Attributes { /// <summary> /// /// </summary> [AttributeUsage(AttributeTargets.Property)] public sealed class MongoDefaultAttribute : Attribute { /// <summary> /// Initializes a new instance of the <see cref="MongoDefaultAttribute"/...
apache-2.0
C#
355bafffdc7d80d3d45d3c024564e63ccc444190
bump version
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Properties/AssemblyInfo.cs
source/Raml.Parser/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("RAML.Parser")] [assembly: AssemblyDescri...
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("RAML.Parser")] [assembly: AssemblyDescri...
apache-2.0
C#
69e41f04018b9387176ebb792494e35376a845fa
Fix build
Fody/Costura,Fody/Costura
src/MethodTimeLogger.cs
src/MethodTimeLogger.cs
using System.Reflection; //using Catel.Logging; using System; /// <summary> /// Note: do not rename this class or put it inside a namespace. /// </summary> internal static class MethodTimeLogger { #region Methods public static void Log(MethodBase methodBase, long milliseconds, string message) { Log...
using System.Reflection; using Catel.Logging; using System; /// <summary> /// Note: do not rename this class or put it inside a namespace. /// </summary> internal static class MethodTimeLogger { #region Methods public static void Log(MethodBase methodBase, long milliseconds, string message) { Log(m...
mit
C#
5e499400d25f48fe8482811256a103ca36019b4f
Add WriteLog method to ILogger.
eternnoir/NLogging
src/NLogging/ILogger.cs
src/NLogging/ILogger.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NLogging { public interface ILogger { string Name { get; } void AddHandler(IHandler handler); void WriteLog(LogLevel level, string message); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NLogging { public interface ILogger { string Name { get; } void AddHandler(IHandler handler); } }
mit
C#
6f5d8fa5f46b79066fbba26d332939d6bab037db
Fix miner not running from mine to saloon
Guityyo/minerparty,Guityyo/minerparty
Assets/_Scripts/FSMtxt/Miner/EnterMineDigForGold.cs
Assets/_Scripts/FSMtxt/Miner/EnterMineDigForGold.cs
using UnityEngine; using System; public sealed class EnterMineDigForGold : FSMState<Miner> { static readonly EnterMineDigForGold instance = new EnterMineDigForGold(); public static EnterMineDigForGold Instance { get { return instance; } } static EnterMineDigForGold() { } private EnterMineDigForGold() { } priva...
using UnityEngine; using System; public sealed class EnterMineDigForGold : FSMState<Miner> { static readonly EnterMineDigForGold instance = new EnterMineDigForGold(); public static EnterMineDigForGold Instance { get { return instance; } } static EnterMineDigForGold() { } private EnterMineDigForGold() { } priva...
apache-2.0
C#
0e3772beef05242ea2ea5c063c05cc33f690e958
adjust test parameters
CodeConnect/gistify
CodeConnect.Gistify.Tests/VariableCollectorTests.cs
CodeConnect.Gistify.Tests/VariableCollectorTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp; using CodeConnect.Gistify.Extension.CodeAnalysis; namespace CodeConnect.Gistify.Tests { [TestClass] public class VariableCollectorTests { [TestMethod] public void FindDeclarationsFromMeth...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.CodeAnalysis.CSharp; using CodeConnect.Gistify.Extension.CodeAnalysis; namespace CodeConnect.Gistify.Tests { [TestClass] public class VariableCollectorTests { [TestMethod] public void FindDeclarationsFromMeth...
mit
C#
fee88bf8b8dd71ea002e8b99eae4fae01fdfe137
Update AlphaStreamsSlippageModel.cs
JKarathiya/Lean,QuantConnect/Lean,jameschch/Lean,StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,QuantConnect/Lean,jameschch/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,jameschch/Lean,AlexCatarino/Lean,QuantConnect/Lean,StefanoRaggi/Lean,AlexCatarino/Le...
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
Common/Orders/Slippage/AlphaStreamsSlippageModel.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
apache-2.0
C#
1f58b8d4850b4bd1002c9ab4077c30c6b2a1e212
Update 0037_ChakraScript.cs
Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria
Memoria.Scripts/Sources/Battle/0037_ChakraScript.cs
Memoria.Scripts/Sources/Battle/0037_ChakraScript.cs
using System; using Memoria.Data; namespace Memoria.Scripts.Battle { /// <summary> /// Chakra /// </summary> [BattleScript(Id)] public sealed class ChakraScript : IBattleScript { public const Int32 Id = 0037; private readonly BattleCalculator _v; public ChakraScript(Ba...
using System; using Memoria.Data; namespace Memoria.Scripts.Battle { /// <summary> /// Chakra /// </summary> [BattleScript(Id)] public sealed class ChakraScript : IBattleScript { public const Int32 Id = 0037; private readonly BattleCalculator _v; public ChakraScript(Ba...
mit
C#
2d3cc5fd17adf2ebd36cabec2f8f08d20b3eac6a
Check if a phone call is possible on Andriod
cjlotz/Xamarin.Plugins,cjlotz/Xamarin.Plugins,BSVN/Xamarin.Plugins,BSVN/Xamarin.Plugins
Messaging/Plugin.Messaging.Android/PhoneCallTask.cs
Messaging/Plugin.Messaging.Android/PhoneCallTask.cs
using System; using Android.Content; using Android.Telephony; using Uri = Android.Net.Uri; namespace Plugin.Messaging { internal class PhoneCallTask : IPhoneCallTask { public PhoneCallTask() { } #region IPhoneCallTask Members public bool CanMakePhoneCall { ...
using System; using Android.Content; using Android.Telephony; using Uri = Android.Net.Uri; namespace Plugin.Messaging { internal class PhoneCallTask : IPhoneCallTask { public PhoneCallTask() { } #region IPhoneCallTask Members public bool CanMakePhoneCall { ...
mit
C#
7aeb2a5a68edd1d976515714ab2c4bef470c9d95
Add doc button for third camera render
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Editor/WindowsMixedRealityCameraSettingsProfileInspector.cs
Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Editor/WindowsMixedRealityCameraSettingsProfileInspector.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Editor; using Microsoft.MixedReality.Toolkit.Utilities.Editor; using System.Linq; using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality.Editor { [CustomEdit...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Editor; using Microsoft.MixedReality.Toolkit.Utilities.Editor; using System.Linq; using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality.Editor { [CustomEdit...
mit
C#
9ddfcbb32f545a736eebbbba32f64b38be5813ec
simplify comments
chrismlusk/accuraty-templates,chrismlusk/accuraty-templates
DesktopModules/RazorModules/RazorHost/Scripts/_ChildPageList.cshtml
DesktopModules/RazorModules/RazorHost/Scripts/_ChildPageList.cshtml
@{ // // Child Page List // =============== // // Get the children of the current tab and display them in a list. // Including code to mark each item as odd or even, if needed. // -------------------------------------------------------------------------- } @using DotNetNuke.Entities.Tabs @using DotNetNu...
@{ // // Child Page List // =============== // // Version: {BE KIND TO OTHERS. UPDATE THIS.} // Author: {BE KIND TO OTHERS. UPDATE THIS.} // Updated: {BE KIND TO OTHERS. UPDATE THIS.} // // Get the children of the current tab and display them in a list. // Including code to mark each item as odd or ...
mit
C#
c96494ca51241ae5f8d2e29f425fac76d0b158bb
Add search event tracking
opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API
CkanDotNet.Web/Views/Shared/Search/_Search.cshtml
CkanDotNet.Web/Views/Shared/Search/_Search.cshtml
@using CkanDotNet.Api.Model @using CkanDotNet.Web.Models @model PackageSearchResultsModel @{ string query = String.Empty; if (Model != null) { query = Model.SearchParameters.Query; } } <form id="search" action="/search" method="get"> <div class="search"> <input name="q" type="text" tabindex="1" cl...
@using CkanDotNet.Api.Model @using CkanDotNet.Web.Models @model PackageSearchResultsModel @{ string query = String.Empty; if (Model != null) { query = Model.SearchParameters.Query; } } <form id="search" action="/search" method="get"> <div class="search"> <input name="q" type="text" tabindex="1" cl...
apache-2.0
C#
7767358b63101d1436534d8fa67db9dbf7ebfe9d
Fix bad key in Context.Items.
Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth,Invenietis/CK-AspNet-Auth
CK.AspNet.Auth/CKAspNetAuthHttpContextExtensions.cs
CK.AspNet.Auth/CKAspNetAuthHttpContextExtensions.cs
using CK.AspNet.Auth; using CK.Auth; using System; using System.Collections.Generic; using System.Text; namespace Microsoft.AspNetCore.Http { /// <summary> /// Exposes <see cref="WebFrontAuthenticate"/> extension method on <see cref="HttpContext"/>. /// </summary> static public class CKAspNetAuthHttpCo...
using CK.AspNet.Auth; using CK.Auth; using System; using System.Collections.Generic; using System.Text; namespace Microsoft.AspNetCore.Http { /// <summary> /// Exposes <see cref="WebFrontAuthenticate"/> extension method on <see cref="HttpContext"/>. /// </summary> static public class CKAspNetAuthHttpCo...
mit
C#
7bd6b5332ea6c10d317e1a85cddeae54605d782c
Correct spelling sent
CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction,CollActionteam/CollAction
CollAction/Views/Projects/SendProjectEmail.cshtml
CollAction/Views/Projects/SendProjectEmail.cshtml
@using CollAction.Models.ProjectViewModels @model SendProjectEmail @{ ViewData["Title"] = $"Send project e-mail for '{Model.Project.Name}'"; } <div id="project-email-form"> <div class="container"> <h2>@ViewData["Title"]</h2> <p> You have already sent @Model.Project.NumberProjectEma...
@using CollAction.Models.ProjectViewModels @model SendProjectEmail @{ ViewData["Title"] = $"Send project e-mail for '{Model.Project.Name}'"; } <div id="project-email-form"> <div class="container"> <h2>@ViewData["Title"]</h2> <p> You have already send @Model.Project.NumberProjectEma...
agpl-3.0
C#
563124b68c76701c582449b56d8a52c58944c6d7
Fix ResourceHandlerNotification buffer being unnecessarily large
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Browser/Handling/ResourceHandlerNotification.cs
Browser/Handling/ResourceHandlerNotification.cs
using System; using System.Collections.Specialized; using System.IO; using System.Text; using CefSharp; namespace TweetDuck.Browser.Handling{ sealed class ResourceHandlerNotification : IResourceHandler{ private readonly NameValueCollection headers = new NameValueCollection(0); private MemoryStream...
using System; using System.Collections.Specialized; using System.IO; using System.Text; using CefSharp; namespace TweetDuck.Browser.Handling{ sealed class ResourceHandlerNotification : IResourceHandler{ private readonly NameValueCollection headers = new NameValueCollection(0); private MemoryStream...
mit
C#
5f2960068864333ca97fa919f873a453eeb1e59e
Fix tests
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
InfinniPlatform.Authentication.Tests/Services/FakeHttpService.cs
InfinniPlatform.Authentication.Tests/Services/FakeHttpService.cs
using System.Threading.Tasks; using InfinniPlatform.Sdk.Security; using InfinniPlatform.Sdk.Services; namespace InfinniPlatform.Authentication.Tests.Services { internal sealed class FakeHttpService : IHttpService { public FakeHttpService(IApplicationUserManager userManager) { _use...
using System.Threading.Tasks; using InfinniPlatform.Sdk.Security; using InfinniPlatform.Sdk.Services; namespace InfinniPlatform.Authentication.Tests.Services { internal sealed class FakeHttpService : IHttpService { public FakeHttpService(IApplicationUserManager userManager) { _use...
agpl-3.0
C#
188ed3b674a9463c7e6aac8f43d3e7009a71ee85
Change palette size and bits per pixel to parameters.
Prof9/PixelPet
PixelPet/Commands/SerializeTilesetIndexedCmd.cs
PixelPet/Commands/SerializeTilesetIndexedCmd.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class SerializeTilesetIndexed : CliCommand { public SerializeTilesetInde...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Globalization; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class SerializeTilesetIndexed : CliCommand { public SerializeTilesetInde...
mit
C#
1e20b29160611e84043c515164001b8da401d009
Bump to version 16.0.8.39282
HearthSim/HearthDb
HearthDb/Properties/AssemblyInfo.cs
HearthDb/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("Hea...
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("Hea...
mit
C#
82b11cead3a50c4ae97d6e1df59e25aa00721ca6
Update to Problem 3. Min, Max, Sum and Average of N Numbers
SimoPrG/CSharpPart1Homework
Loops-Homework/MinMaxSumAverage/MinMaxSumAverage.cs
Loops-Homework/MinMaxSumAverage/MinMaxSumAverage.cs
/*Problem 3. Min, Max, Sum and Average of N Numbers Write a program that reads from the console a sequence of n integer numbers and returns the minimal, the maximal number, the sum and the average of all numbers (displayed with 2 digits after the decimal point). The input starts by the number n (alone in ...
/*Problem 3. Min, Max, Sum and Average of N Numbers Write a program that reads from the console a sequence of n integer numbers and returns the minimal, the maximal number, the sum and the average of all numbers (displayed with 2 digits after the decimal point). The input starts by the number n (alone in ...
mit
C#
a97a5919612ef7ba3c8dac3863d6c8f5ba0389c1
Fix for entity not loading from db.
grae22/BoozeHoundCloud,grae22/BoozeHoundCloud,grae22/BoozeHoundCloud
BoozeHoundCloud/Models/Core/Account.cs
BoozeHoundCloud/Models/Core/Account.cs
using System.ComponentModel.DataAnnotations; namespace BoozeHoundCloud.Models.Core { public class Account { //------------------------------------------------------------------------- public const int NameMaxLength = 64; //------------------------------------------------------------------------- ...
using System.ComponentModel.DataAnnotations; namespace BoozeHoundCloud.Models.Core { public class Account { //------------------------------------------------------------------------- public const int NameMaxLength = 64; //------------------------------------------------------------------------- ...
mit
C#
f19df32cfbbbcb379b8e1cf28283ac8ce7dfb35c
Add config change
davidebbo-test/funclite,davidebbo-test/funclite,davidebbo-test/funclite,davidebbo-test/funclite
FuncLite/MyConfig.cs
FuncLite/MyConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FuncLite { public class MyConfig { public string Subscription { get; set; } public string ResourceGroup { get; set; } public string Region { get; set; } public string Tena...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FuncLite { public class MyConfig { public string Subscription { get; set; } public string ResourceGroup { get; set; } public string Region { get; set; } public string Tena...
mit
C#
6dfa910ce07a3c3ab6066f41f83e681bd6c387d3
Update InputListener.cs
ghandhikus/Xna-Basic-Input-Detection
Code/InputControlling/InputListener.cs
Code/InputControlling/InputListener.cs
#region Using Statements using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; #endregion namespace Game { class InputListener { virtual public void Down() { } virtual public void Up() { } virtual public void Click() { } ...
#region Using Statements using System; using System.Collections.Generic; using System.Linq; using System.Text; #endregion namespace Game { class InputListener { virtual public void Down() { } virtual public void Up() { } virtual public void Click() { } virtual public void Hold()...
apache-2.0
C#
e1d76da6569d59255e3b9bbeb67dd7a7e014bb3f
fix error message for GitVersionTask
dazinator/GitVersion,DanielRose/GitVersion,gep13/GitVersion,ermshiperete/GitVersion,DanielRose/GitVersion,onovotny/GitVersion,JakeGinnivan/GitVersion,pascalberger/GitVersion,Kantis/GitVersion,distantcam/GitVersion,openkas/GitVersion,dpurge/GitVersion,Philo/GitVersion,pascalberger/GitVersion,GeertvanHorrik/GitVersion,To...
GitVersionTask/VersionAndBranchFinder.cs
GitVersionTask/VersionAndBranchFinder.cs
namespace GitVersionTask { using GitVersion; public static class VersionAndBranchFinder { public static bool TryGetVersion(string directory, out SemanticVersion versionAndBranch) { var gitDirectory = GitDirFinder.TreeWalkForGitDir(directory); if (string.IsNullOrEm...
namespace GitVersionTask { using GitVersion; public static class VersionAndBranchFinder { public static bool TryGetVersion(string directory, out SemanticVersion versionAndBranch) { var gitDirectory = GitDirFinder.TreeWalkForGitDir(directory); if (string.IsNullOrEm...
mit
C#
ae9856d53fe6d23ec8a1c8cfc5ce5c33fbc45490
Update EdibleStack.cs
fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromu...
UnityProject/Assets/Scripts/Food/EdibleStack.cs
UnityProject/Assets/Scripts/Food/EdibleStack.cs
/// <summary> /// Edible stack function for foods that stack. Multiplies satiation and heal amount by number in stack before eating. /// </summary> public class EdibleStack : Edible { //Stacking component for the object. private Stackable stckCmp; private void Awake() { stckCmp = gameObject.GetComponent<Stac...
/// <summary> /// Edible stack function for foods that stack. Reduces number on eat instead of eating the whole item. /// </summary> public class EdibleStack : Edible { //Stacking component for the object. private Stackable stckCmp; private void Awake() { stckCmp = gameObject.GetComponent<Stackable>(); } ...
agpl-3.0
C#
b5a48a4538d176a2c7bfc1f49afb1f0899f90b95
Create a new claims principal everytime if jabbr authenticated.
mzdv/JabbR,meebey/JabbR,e10/JabbR,timgranstrom/JabbR,M-Zuber/JabbR,LookLikeAPro/JabbR,lukehoban/JabbR,CrankyTRex/JabbRMirror,ajayanandgit/JabbR,CrankyTRex/JabbRMirror,M-Zuber/JabbR,borisyankov/JabbR,lukehoban/JabbR,timgranstrom/JabbR,meebey/JabbR,fuzeman/vox,mzdv/JabbR,SonOfSam/JabbR,e10/JabbR,JabbR/JabbR,LookLikeAPro/...
JabbR/Middleware/AuthorizationHandler.cs
JabbR/Middleware/AuthorizationHandler.cs
using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using JabbR.Infrastructure; using JabbR.Services; namespace JabbR.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class AuthorizationHandler { private readonly ...
using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using JabbR.Infrastructure; using JabbR.Services; namespace JabbR.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class AuthorizationHandler { private readonly ...
mit
C#
f3008c4b9289df7237b57b55d52d4c905ecc7e82
Add methods
sakapon/KLibrary.Linq
KLibrary3/Linq/Linq/Lab/EnumerablePipelines.cs
KLibrary3/Linq/Linq/Lab/EnumerablePipelines.cs
using System; using System.Collections.Generic; using System.Linq; namespace KLibrary.Linq.Lab { public static class EnumerablePipelines { public static IEnumerable<TSource> CopyTo<TSource>(this IEnumerable<TSource> source, TSource[] array) { if (source == null) throw new...
using System; using System.Collections.Generic; using System.Linq; namespace KLibrary.Linq.Lab { public static class EnumerablePipelines { public static IEnumerable<TSource> CopyTo<TSource>(this IEnumerable<TSource> source, TSource[] array) { if (source == null) throw new...
mit
C#
e405f2fa53122110f0ad4aa2a992ffda5f9dd30e
Remove forcefield from fist movement
Abyssiren/Abyssiren
Assets/FishOFury/FistForceApply.cs
Assets/FishOFury/FistForceApply.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FistForceApply : MonoBehaviour { public static float forceAmount = 10000000f; void OnCollisionEnter(Collision col) { if (col.gameObject.tag == "Fish") { Debug.Log ("COLLIDED - "+col.gameObject.name); col.rigidbody....
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FistForceApply : MonoBehaviour { public static float forceAmount = 10000000f; public forceField forceField; public GameObject movingParentObj; public Vector3 oldPosition; void Start(){ oldPosition = (movingParentObj.tr...
mit
C#
cd2183890ee7d79689a0c3fbc4af09e249e6e532
Update Program.cs
MShechtman/Test2
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //master branch 18.1 } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //test 18.1 } } }
mit
C#
3c513373bebaa32fb64018e95f168975bdd84e75
Adjust default entity rendering layer.
pjk21/roguelikedev-does-the-complete-roguelike-tutorial
Roguelike/Roguelike/Render/Renderer.cs
Roguelike/Roguelike/Render/Renderer.cs
using BearLib; using Roguelike.Entities; using Roguelike.World; using System.Collections.Generic; namespace Roguelike.Render { public abstract class Renderer : IRenderer { public const int MapLayer = 0; public const int EntityLayer = 10; public abstract void RenderEntities(IEnumerable...
using BearLib; using Roguelike.Entities; using Roguelike.World; using System.Collections.Generic; namespace Roguelike.Render { public abstract class Renderer : IRenderer { public const int MapLayer = 0; public const int EntityLayer = 5; public abstract void RenderEntities(IEnumerable<...
mit
C#
00262d4a0ec4ddd1b05dc08afa36bce6acce3eb4
Add ObjectGroup documentation (closes #25)
felipebz/ndapi
Ndapi/ObjectGroup.cs
Ndapi/ObjectGroup.cs
using Ndapi.Core.Handles; using Ndapi.Enums; using System.Collections.Generic; namespace Ndapi { /// <summary> /// Represents a group of objects. /// </summary> public class ObjectGroup : NdapiObject { /// <summary> /// Creates a object group. /// </summary> /// <pa...
using Ndapi.Core.Handles; using Ndapi.Enums; using System.Collections.Generic; namespace Ndapi { public class ObjectGroup : NdapiObject { public ObjectGroup(FormModule module, string name) { Create(name, ObjectType.ObjectGroup, module); } internal ObjectGroup(Objec...
mit
C#
8ee266aa20120de7804b8fd5879538abe3c5e100
Add missing include for provider on search sorting
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/Search/Services/OrderedApprenticeshipSearchService.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/Search/Services/OrderedApprenticeshipSearchService.cs
using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships.Search.Services.Parameters; using SFA.DAS.CommitmentsV2.Data; using SFA.DAS.CommitmentsV2.Extensions; namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenti...
using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships.Search.Services.Parameters; using SFA.DAS.CommitmentsV2.Data; using SFA.DAS.CommitmentsV2.Extensions; namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenti...
mit
C#
da2c5fa77a24032eb6df3a01353a5c3d8855fe97
Update SheetUserSettings.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/SheetUserSettings.cs
main/Smartsheet/Api/Models/SheetUserSettings.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
4745d21fb0ff49be8aecccb60ef7a74884f41501
Change "Running in tray" message
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/TrayIconHelper.cs
SteamAccountSwitcher/TrayIconHelper.cs
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { internal static class TrayIconHelper { ...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { internal static class TrayIconHelper { ...
mit
C#
b02a5ed3fbef69897e92efc24e95c5d5fe024f28
fix some missing "public" tags on methods in Node
oderby/VVD,oderby/VVD
VVD-GH-To-CG/CSharpCommonGraph/Node.cs
VVD-GH-To-CG/CSharpCommonGraph/Node.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpCommonGraph { public class Node { public String Type; public Guid InstanceGuid; public List<Port> Ports; public Metadata Metadata; } pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpCommonGraph { public class Node { public String Type; public Guid InstanceGuid; List<Port> Ports; Metadata Metadata; } public class Meta...
mit
C#
e1ed14210f0dffbdaaa4fcabcfa8ab6219d6fced
Add WICStream constructors
sharpdx/Toolkit,sharpdx/Toolkit,tomba/Toolkit
Samples/WIC/EncodeDecode/Program.cs
Samples/WIC/EncodeDecode/Program.cs
// Copyright (c) 2010-2011 SharpDX - 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, modi...
// Copyright (c) 2010-2011 SharpDX - 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, modi...
mit
C#
9782ba1b28a67667f9f8ccac07d12a6fb63b690a
Bump version.
mios-fi/mios.swiftype,mios-fi/mios.swiftype
Library/Properties/AssemblyInfo.cs
Library/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...
bsd-2-clause
C#
fc1980708d9f43a60e483e9773162fa784986378
Fix tests
RehanSaeed/Schema.NET
Tests/Schema.NET.Test/PersonTest.cs
Tests/Schema.NET.Test/PersonTest.cs
namespace Schema.NET.Test { using System; using System.Collections.Generic; using Xunit; public class PersonTest { // https://developers.google.com/search/docs/data-types/social-profile-links [Fact] public void ToString_SiteNameGoogleStructuredData_ReturnsExpectedJsonLd() ...
namespace Schema.NET.Test { using System; using System.Collections.Generic; using Xunit; public class PersonTest { // https://developers.google.com/search/docs/data-types/social-profile-links [Fact] public void ToString_SiteNameGoogleStructuredData_ReturnsExpectedJsonLd() ...
mit
C#
043be575af680d79d56db180e66aa1ddd0dfb125
Update version number to 0.5.1.
beppler/trayleds
TrayLeds/Properties/AssemblyInfo.cs
TrayLeds/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("TrayLeds")] [assembly: AssemblyDescription...
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("TrayLeds")] [assembly: AssemblyDescription...
mit
C#
db4c087a7c2e8626fd9144762c6b720b92f21743
use BrushExtensionMethods
TakeAsh/cs-WpfUtility
WpfUtility/ColorExtensionMethods.cs
WpfUtility/ColorExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.Windows.Media.Media3D; namespace WpfUtility { public static class ColorExtensionMethods { /// <summary> /// Blends the specified colors together. //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.Windows.Media.Media3D; namespace WpfUtility { public static class ColorExtensionMethods { /// <summary> /// Blends the specified colors together. //...
mit
C#
7faa2d5b1529883bb6b640af541292929aa1f786
fix build on .net 4.5
realworld666/lastfm,Brijen/lastfm
src/IF.Lastfm.Core/Api/Commands/Library/RemoveScrobbleCommand.cs
src/IF.Lastfm.Core/Api/Commands/Library/RemoveScrobbleCommand.cs
using System; using System.Net.Http; using System.Threading.Tasks; using IF.Lastfm.Core.Api.Helpers; using IF.Lastfm.Core.Api.Enums; using IF.Lastfm.Core.Objects; using Newtonsoft.Json.Linq; using Newtonsoft.Json; namespace IF.Lastfm.Core.Api.Commands.Library { internal class RemoveScrobbleCommand : PostAsyncComma...
using System; using System.Net.Http; using System.Threading.Tasks; using IF.Lastfm.Core.Api.Helpers; namespace IF.Lastfm.Core.Api.Commands.Library { internal class RemoveScrobbleCommand : PostAsyncCommandBase<LastResponse> { public string Artist { get; set; } public string Track { get; set; } ...
mit
C#
184ddea53e949dc028b74416e3bb8ef04f37674b
Add SizeChanged event
manupstairs/Notepad
Notepad/Notepad/MainWindow.xaml.cs
Notepad/Notepad/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
mit
C#
d344dc769eaefb0200e48b30478aafc02471c24f
Update GuidConverter.cs
elv1s42/NUnitGo
NunitGoCore/Utils/GuidConverter.cs
NunitGoCore/Utils/GuidConverter.cs
using System; using System.Security.Cryptography; using System.Text; namespace NUnitGoCore.Utils { public static class GuidConverter { public static Guid ToMd5HashGuid(string value) { if (value == null) { value = string.Empty; } ...
using System; using System.Security.Cryptography; using System.Text; namespace NUnitGoCore.Utils { public static class GuidConverter { public static Guid ToMd5HashGuid(string value) { if (value == null) value = string.Empty; var bytes = Enco...
mit
C#
1624626f5671e5ae847d485e545f8c755d26fb05
Rename TransformSHA1() to ToSHA1Hash()
DukeCheng/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore,DukeCheng/EnyimMemcachedCore
Enyim.Caching/Memcached/KeyTransformers/KeyTransformerUtility.cs
Enyim.Caching/Memcached/KeyTransformers/KeyTransformerUtility.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Enyim.Caching.Memcached.KeyTransformers { public static class KeyTransformerUtility { public static string ToSHA1Hash(string key) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace Enyim.Caching.Memcached.KeyTransformers { public static class KeyTransformerUtility { public static string TransformSHA1(string key) ...
apache-2.0
C#
c59a6c9cdfc76cc34a9f27cd35de94c93e05464d
Remove code task
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Models/TimeToLearnDisplayMode.cs
R7.University/Models/TimeToLearnDisplayMode.cs
// // TimeToLearnDisplayMode.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Softwar...
// // TimeToLearnDisplayMode.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Softwar...
agpl-3.0
C#
a800258adebcd16fb53eb49192cb6e5b402d12cc
Add comments
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
ThScoreFileConverter.Core/Models/Th105/StageInfo.cs
ThScoreFileConverter.Core/Models/Th105/StageInfo.cs
//----------------------------------------------------------------------- // <copyright file="StageInfo.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //--------------------------...
//----------------------------------------------------------------------- // <copyright file="StageInfo.cs" company="None"> // Copyright (c) IIHOSHI Yoshinori. // Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information. // </copyright> //--------------------------...
bsd-2-clause
C#
b1fd5f2c733690f385b0c67b252da56df0ab64d6
rename member SortOrderDirection to Direction
SnapMD/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/SortOrderField.cs
SnapMD.VirtualCare.ApiModels/SortOrderField.cs
namespace SnapMD.VirtualCare.ApiModels { /// <summary> /// SortOrderDirection /// </summary> public enum SortOrderDirection { /// <summary> /// Default None /// </summary> None, /// <summary> /// Ascending /// </summary> Ascending, ...
namespace SnapMD.VirtualCare.ApiModels { /// <summary> /// SortOrderDirection /// </summary> public enum SortOrderDirection { /// <summary> /// Default None /// </summary> None, /// <summary> /// Ascending /// </summary> Ascending, ...
apache-2.0
C#
c1b92e576476ebf07f922186ac7cdf7edf981dcb
Bump version to 0.1.1
Gohla/renegadex-launcher
RXL.WPFClient/Properties/AssemblyInfo.cs
RXL.WPFClient/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("Alternative ...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("Alternative ...
mit
C#
272343c3ad83f0cd55d30a63ebf4e2134f8b6677
Return IServiceCollection from AddDirectoryBrowser extension methods
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserServiceExtensions.cs
src/Microsoft.AspNetCore.StaticFiles/DirectoryBrowserServiceExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Extension methods for adding directory browser services. ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Extension methods for adding directory browser services. ...
apache-2.0
C#
2b5a42e06325d0f1188be1bef1c0937cb569308e
Add missing union specification for `MatchUserRequest`
smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new
osu.Game/Online/Multiplayer/MatchUserRequest.cs
osu.Game/Online/Multiplayer/MatchUserRequest.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 MessagePack; using osu.Game.Online.Multiplayer.MatchTypes.TeamVersus; namespace osu.Game.Online.Multiplayer { /// <summary> /// A request fro...
// 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 MessagePack; namespace osu.Game.Online.Multiplayer { /// <summary> /// A request from a user to perform an action specific to the current mat...
mit
C#
629018787f395f5a796360f588bb0fe42d14c181
Fix description for 42
farity/farity
Farity.Tests/AlwaysTests.cs
Farity.Tests/AlwaysTests.cs
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Fact] public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways() { var answerToLifeUniverseAndEverything = F.Always(42); var answer = answerToLifeUniverseAndEverything(); Assert...
using Xunit; namespace Farity.Tests { public class AlwaysTests { [Fact] public void AlwaysReturnsAFunctionThatReturnsTheSameValueAlways() { var alwaysAnswerToTheUniverseLifeAndEverything = F.Always(42); var answer = alwaysAnswerToTheUniverseLifeAndEverything(); ...
mit
C#
acba5a3681253856f155ab022e0dcbc5627f530e
Implement delete customer.
Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly
Vidly/Views/Customers/Index.cshtml
Vidly/Views/Customers/Index.cshtml
@model IEnumerable<Vidly.Models.Customer> @{ ViewBag.Title = "Customers"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Customers</h2> @if (!Model.Any()) { <p>We don't have any customers yet.</p> } else { <table id="customers" class="table table-bordered table-hover"> <thead> <tr...
@model IEnumerable<Vidly.Models.Customer> @{ ViewBag.Title = "Customers"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Customers</h2> @if (!Model.Any()) { <p>We don't have any customers yet.</p> } else { <table class="table table-bordered table-hover"> <thead> <tr> <...
mit
C#
715a35537bb9aae06924381cd0031b52709ffd15
Update SpaceFolder.cs
KerbaeAdAstra/KerbalFuture
KerbalFuture/SpaceFolder.cs
KerbalFuture/SpaceFolder.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace KerbalFuture { class SpaceFolderData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using KSP; namespace KerbalFuture { class SpaceFolderData : MonoBehavior { public static string path() { return System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Loca...
mit
C#
d8176bc00de78f51107f68bd73cc5b84a5549ee0
Change TrapStackBehaviour of local functions
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
csharp/extractor/Semmle.Extraction.CSharp/Entities/LocalFunction.cs
csharp/extractor/Semmle.Extraction.CSharp/Entities/LocalFunction.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.IO; using System.Linq; namespace Semmle.Extraction.CSharp.Entities { class LocalFunction : Method { LocalFunction(Context cx, IMethodSymbol init) : base(cx, init) { } public ov...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.IO; using System.Linq; namespace Semmle.Extraction.CSharp.Entities { class LocalFunction : Method { LocalFunction(Context cx, IMethodSymbol init) : base(cx, init) { } public ov...
mit
C#
4b42270a6e8818baffc3790a349fae968f9d7a98
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/NullSubstituteReferenceException.cs
Source/NSubstitute/Exceptions/NullSubstituteReferenceException.cs
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class NullSubstituteReferenceException : NotASubstituteException { public NullSubstituteReferenceException() { } protected NullSubstituteReferenceException(SerializationInfo info, StreamingContext ...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class NullSubstituteReferenceException : NotASubstituteException { public NullSubstituteReferenceException() { } protected NullSubstituteReferenceException(SerializationInfo info, StreamingContext context) : base(inf...
bsd-3-clause
C#
23d5b7162ac559d9a174cc66335cd3fe155a746a
Set lobby screen set up directly from LobbyManager.Start()
krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,...
UnityProject/Assets/Scripts/Managers/LobbyManager/LobbyManager.cs
UnityProject/Assets/Scripts/Managers/LobbyManager/LobbyManager.cs
using DatabaseAPI; using UnityEngine; using UnityEngine.UI; namespace Lobby { public class LobbyManager : MonoBehaviour { public static LobbyManager Instance; public AccountLogin accountLogin; public CharacterCustomization characterCustomization; public Toggle hostToggle; public GUI_LobbyDialogue lobbyDi...
using DatabaseAPI; using UnityEngine; using UnityEngine.UI; namespace Lobby { public class LobbyManager : MonoBehaviour { public static LobbyManager Instance; public AccountLogin accountLogin; public CharacterCustomization characterCustomization; public Toggle hostToggle; public GUI_LobbyDialogue lobbyDi...
agpl-3.0
C#
26b6f78b9e3a19b12b392b1a9b058caf022b7c2c
Add File-Size Display
moritzuehling/MagicLinkPlugin,moritzuehling/MagicLinkPlugin
MagicLinkPlugin/MagicLinks.cs
MagicLinkPlugin/MagicLinks.cs
using Fancyauth.API; using Fancyauth.APIUtil; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MagicLinkPlugin { class MagicLinks : PluginBase { p...
using Fancyauth.API; using Fancyauth.APIUtil; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MagicLinkPlugin { class MagicLinks : PluginBase { p...
mit
C#
bd6f5574b05aa1c814c5dbada47a122685806dd3
Fix IntrinsicAttribute build break
kyulee1/coreclr,hseok-oh/coreclr,yizhang82/coreclr,rartemev/coreclr,dpodder/coreclr,hseok-oh/coreclr,hseok-oh/coreclr,AlexGhiondea/coreclr,poizan42/coreclr,AlexGhiondea/coreclr,yizhang82/coreclr,krk/coreclr,rartemev/coreclr,botaberg/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,kyulee1/coreclr,parjong/coreclr,cshun...
src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.cs
src/mscorlib/shared/System/Runtime/CompilerServices/IntrinsicAttribute.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. namespace System.Runtime.CompilerServices { // Calls to methods or references to fields marked with this attribu...
// 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. namespace System.Runtime.CompilerServices { // Calls to methods marked with this attribute may be replaced at ...
mit
C#
8796988b290fc2e3077215ff40f984fbf4aa5232
Update version number to 2.0.1
Infinario/unity-sdk
source/Assets/Scripts/InfinarioSDK/Constants.cs
source/Assets/Scripts/InfinarioSDK/Constants.cs
namespace Infinario { internal class Constants { /** * SDK */ public static string SDK = "Unity SDK"; public static string VERSION = "2.0.1"; /** * Tracking ids, events and properties */ public static string ID_REGISTERED = "registered"; public static string ID_COO...
namespace Infinario { internal class Constants { /** * SDK */ public static string SDK = "Unity SDK"; public static string VERSION = "2.0.0"; /** * Tracking ids, events and properties */ public static string ID_REGISTERED = "registered"; public static string ID_COO...
apache-2.0
C#
f264301decae7fe01b8a2f668cd627f74d5caddb
Fix static readonly field name
peppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Input/Handlers/Tablet/TabletDriver.cs
osu.Framework/Input/Handlers/Tablet/TabletDriver.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. #if NET5_0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using OpenTabletDriver; using OpenTabletDriver.Plugi...
// 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. #if NET5_0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using OpenTabletDriver; using OpenTabletDriver.Plugi...
mit
C#
7f469752d55097d4dcf014e23fd2f0798f199e68
Remove generic methods from IInteractive.
AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex
src/Avalonia.Base/Interactivity/IInteractive.cs
src/Avalonia.Base/Interactivity/IInteractive.cs
using System; #nullable enable namespace Avalonia.Interactivity { /// <summary> /// Interface for objects that raise routed events. /// </summary> public interface IInteractive { /// <summary> /// Gets the interactive parent of the object for bubbling and tunneling events. ...
using System; #nullable enable namespace Avalonia.Interactivity { /// <summary> /// Interface for objects that raise routed events. /// </summary> public interface IInteractive { /// <summary> /// Gets the interactive parent of the object for bubbling and tunneling events. ...
mit
C#
8546191e01960b60fdefb5861c98c2e88a2b65f1
Make sure pager styling only applies to pager controls.
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.Web/Views/Member/MembersList.cshtml
src/GiveCRM.Web/Views/Member/MembersList.cshtml
@model PagedMemberListViewModel @using GiveCRM.Web.Models.Members @using PagedList.Mvc @{ Layout = null; } @if (Model != null && Model.Count > 0) { <table> <tr> <th>&nbsp;</th> <th>&nbsp;</th> <th>&nbsp;</th> <th>Reference</th> <th>Name</th> <th>Address</th> ...
@model PagedMemberListViewModel @using GiveCRM.Web.Models.Members @using PagedList.Mvc @{ Layout = null; } @if (Model != null && Model.Count > 0) { <table> <tr> <th>&nbsp;</th> <th>&nbsp;</th> <th>&nbsp;</th> <th>Reference</th> <th>Name</th> <th>Address</th> ...
mit
C#
e574c4dcbd2bfcc5a49dd8033318125b45b46e30
Add IsDisposed safeguard to Dispose method
VirusFree/SharpDX,TigerKO/SharpDX,manu-silicon/SharpDX,dazerdude/SharpDX,shoelzer/SharpDX,jwollen/SharpDX,TechPriest/SharpDX,VirusFree/SharpDX,shoelzer/SharpDX,sharpdx/SharpDX,PavelBrokhman/SharpDX,fmarrabal/SharpDX,dazerdude/SharpDX,manu-silicon/SharpDX,wyrover/SharpDX,Ixonos-USA/SharpDX,VirusFree/SharpDX,shoelzer/Sha...
Source/SharpDX/DisposeBase.cs
Source/SharpDX/DisposeBase.cs
using System; namespace SharpDX { /// <summary> /// Base class for a <see cref="IDisposable"/> class. /// </summary> public abstract class DisposeBase : IDisposable { protected bool IsDisposed; /// <summary> /// Releases unmanaged resources and performs other cleanup operat...
using System; namespace SharpDX { /// <summary> /// Base class for a <see cref="IDisposable"/> class. /// </summary> public abstract class DisposeBase : IDisposable { /// <summary> /// Releases unmanaged resources and performs other cleanup operations before the /// <see cre...
mit
C#
1f49e9721072c0cd6e250ae28a31d3f6da30ee44
Add Identity namespace to view imports
martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site
src/LondonTravel.Site/Views/_ViewImports.cshtml
src/LondonTravel.Site/Views/_ViewImports.cshtml
@using System.Globalization @using Microsoft.Extensions.Configuration @using MartinCostello.LondonTravel.Site @using MartinCostello.LondonTravel.Site.Extensions @using MartinCostello.LondonTravel.Site.Identity @using MartinCostello.LondonTravel.Site.Models @using MartinCostello.LondonTravel.Site.Options @addTagHelper ...
@using System.Globalization @using Microsoft.Extensions.Configuration @using MartinCostello.LondonTravel.Site @using MartinCostello.LondonTravel.Site.Extensions @using MartinCostello.LondonTravel.Site.Models @using MartinCostello.LondonTravel.Site.Options @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" @addTagH...
apache-2.0
C#
0fcd77b978110920ffd8f6a0f6fef88b31e4036f
Sort order is value is now customizable in VerticalDrawOrder
scriptorum/spewnity,scriptorum/spewnity
Scripts/VerticalDrawOrder.cs
Scripts/VerticalDrawOrder.cs
using System.Collections; using UnityEngine; namespace Spewnity { // When assigned to a set of game objects, ensures that // the lower objects are positioned in front of higher objects. // For simulating depth in a 2D game. // // This can be done either by manipulating the Z position, // or th...
using UnityEngine; using System.Collections; namespace Spewnity { // When assigned to a set of game objects, ensures that // the lower objects are positioned in front of higher objects. // For simulating depth in a 2D game. // // This can be done either by manipulating the Z position, // or the SpriteRenderer s...
mit
C#
de84b3bc95b49d50a94d60c5aa3236a9bffbd351
use constant to check for too much concurrency
Recognos/CodeChalenges
Challenge2/Challenge2/Program.cs
Challenge2/Challenge2/Program.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Challenge2 { /// <summary> /// Intro: /// You need to execute a potentially large number of operations that are IO and CPU intensive (like OCRing a document) and you need to /// limit the level of concurrency at which the ...
using System; using System.Threading; using System.Threading.Tasks; namespace Challenge2 { /// <summary> /// Intro: /// You need to execute a potentially large number of operations that are IO and CPU intensive (like OCRing a document) and you need to /// limit the level of concurrency at which the ...
apache-2.0
C#
b53916fab53644ef40abfd0ec871339fb161a098
Support multiple roots
NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer
Core/AssemblyMetadata/AssemblyDebugData.cs
Core/AssemblyMetadata/AssemblyDebugData.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.PortableExecutable; using System.Text; using System.Threading.Tasks; namespace NuGetPe.AssemblyMetadata { public class AssemblyDebugData { public AssemblyDebugData() { SourceLinkErrors = new ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.PortableExecutable; using System.Text; using System.Threading.Tasks; namespace NuGetPe.AssemblyMetadata { public class AssemblyDebugData { public AssemblyDebugData() { SourceLinkErrors = new ...
mit
C#
4dfa8712c941011e7ef117bee52f47a86ca88ba5
Remove series loop for handshape
nwoedf/HandShapeVisualizationPlatform
HandShapeVisualizationPlatform/MainForm.cs
HandShapeVisualizationPlatform/MainForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Forms.DataVisualization.Charting; namespace HandShapeVisualizationPlatform { publi...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Forms.DataVisualization.Charting; namespace HandShapeVisualizationPlatform { publi...
apache-2.0
C#
bced5dff340974ff70b8c0ceee09de67734f4ac6
Use F.Map in F.ForEach
farity/farity
Farity/ForEach.cs
Farity/ForEach.cs
using System; using System.Collections.Generic; namespace Farity { public static partial class F { /// <summary> /// Iterates over an input enumerable, calling a provided function for each element in the enumerable. /// Functions that don't mutate the items in the source are recommende...
using System; using System.Collections.Generic; namespace Farity { public static partial class F { /// <summary> /// Iterates over an input enumerable, calling a provided function for each element in the enumerable. /// Functions that don't mutate the items in the source are recommende...
mit
C#
5bdc1a64f3a4489ffc73232035bc1a2035f6bc13
Add tests for constructors of MuffinClient
Yonom/MuffinFramework
MuffinFramework.Tests/MuffinClientTests.cs
MuffinFramework.Tests/MuffinClientTests.cs
using System; using System.ComponentModel.Composition.Hosting; using System.ComponentModel.Composition.Primitives; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MuffinFramework.Tests { [TestClass] public class MuffinClientTests { [TestMethod] public void ...
using System; using System.ComponentModel.Composition.Hosting; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace MuffinFramework.Tests { [TestClass] public class MuffinClientTests { [TestMethod] public void DoubleStartTest() { // arrange InvalidO...
mit
C#
6043828893b47b288a8c5f05317f49a1cae6b4a1
Add null check and compare by object.Equals in fallback case
ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Localisation/LocalisableString.cs
osu.Framework/Localisation/LocalisableString.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 System.Diagnostics; #nullable enable namespace osu.Framework.Localisation { /// <summary> /// A descripto...
// 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; #nullable enable namespace osu.Framework.Localisation { /// <summary> /// A descriptor representing text that can be localised and formatted. ...
mit
C#
e8adfffe2fdd2608cf098c15135bb2411d13114e
Update vehicle data set mime type version to 2.2
nfleet/.net-sdk
NFleetSDK/Data/VehicleDataSet.cs
NFleetSDK/Data/VehicleDataSet.cs
using System.Collections.Generic; namespace NFleet.Data { public class VehicleDataSet : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.vehicleset"; public static string MIMEVersion = "2.2"; int IVersioned.VersionNumber { get; set; } pub...
using System.Collections.Generic; namespace NFleet.Data { public class VehicleDataSet : IResponseData, IVersioned { public static string MIMEType = "application/vnd.jyu.nfleet.vehicleset"; public static string MIMEVersion = "2.0"; int IVersioned.VersionNumber { get; set; } pub...
mit
C#
d96288273b828cc7dc4a28b423ee7439c441c4cf
Add cinsole coloring for server URL
saturn72/saturn72
src/Modules/Owin/Saturn72.Module.Owin/OwinModule.cs
src/Modules/Owin/Saturn72.Module.Owin/OwinModule.cs
#region using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.Owin.Hosting; using Owin; using Saturn72.Core; using Saturn72.Core.Configuration; using Saturn72.Core.Extensibility; using Saturn72.Extensions; #endregion namespace Saturn72.Module.Owin { public...
#region using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.Owin.Hosting; using Owin; using Saturn72.Core; using Saturn72.Core.Configuration; using Saturn72.Core.Extensibility; using Saturn72.Extensions; #endregion namespace Saturn72.Module.Owin { public...
mit
C#
765846d74d6f3a04c2fd2af89aadc94e9a7e595b
fix script site Not Equal (NE) operator
rolembergfilho/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,TukekeSoft/Serenity,dfaruque/Serenity,linpiero/Serenity,dfaruque/Serenity,linpiero/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,linpiero/Serenity,WasimAhmad/Serenity,linpiero/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,...
Serenity.Script.UI/FilterPanel/FilterOperators.cs
Serenity.Script.UI/FilterPanel/FilterOperators.cs
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Serenity { public static class FilterOperators { /// <summary>true</summary> public const string IsTrue = "true"; /// <summary>false</summary> public const string IsFalse = "false"; ...
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace Serenity { public static class FilterOperators { /// <summary>true</summary> public const string IsTrue = "true"; /// <summary>false</summary> public const string IsFalse = "false"; ...
mit
C#
013e9f8d60d85dc5924c1d54b5449935e0fd158f
Fix - correzione notifica update ente
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs
src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs
using CQRS.Queries; using Microsoft.AspNetCore.SignalR; using SO115App.Models.Classi.Condivise; using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte; using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica; using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti; using SO115App.Mode...
using CQRS.Queries; using Microsoft.AspNetCore.SignalR; using SO115App.Models.Classi.Condivise; using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte; using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica; using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti; using SO115App.Mode...
agpl-3.0
C#
294cf530f52a287fa2014eaf3354c795c09716a9
Add null checking in GObjectPool.GetObject
fairygui/FairyGUI-unity
Source/Scripts/UI/GObjectPool.cs
Source/Scripts/UI/GObjectPool.cs
using UnityEngine; using System.Collections.Generic; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// GObjectPool is use for GObject pooling. /// </summary> public class GObjectPool { /// <summary> /// Callback function when a new object is creating. /// </summary> /// <param na...
using UnityEngine; using System.Collections.Generic; using FairyGUI.Utils; namespace FairyGUI { /// <summary> /// GObjectPool is use for GObject pooling. /// </summary> public class GObjectPool { /// <summary> /// Callback function when a new object is creating. /// </summary> /// <param na...
mit
C#