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 |
|---|---|---|---|---|---|---|---|---|
4279da2437e8b17330c17f5200e972135f0b4361 | Update default API connection address | patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet | src/PatchKit.Api/ApiConnectionSettings.cs | src/PatchKit.Api/ApiConnectionSettings.cs | using System;
using JetBrains.Annotations;
namespace PatchKit.Api
{
/// <summary>
/// <see cref="ApiConnection" /> settings.
/// </summary>
[Serializable]
public struct ApiConnectionSettings
{
/// <summary>
/// Returns default settings.
/// </summary>
public sta... | using System;
using JetBrains.Annotations;
namespace PatchKit.Api
{
/// <summary>
/// <see cref="ApiConnection" /> settings.
/// </summary>
[Serializable]
public struct ApiConnectionSettings
{
/// <summary>
/// Returns default settings.
/// </summary>
public sta... | mit | C# |
1a82c8a82b1d8abaef4d56fc2476dcf38aad5cfe | Fix assembly name | InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET | IntegrationEngine.Model.net40/Properties/AssemblyInfo.cs | IntegrationEngine.Model.net40/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("In... | 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("In... | mit | C# |
91c4a904147fce101b3228f391259d30dd880b6e | Add body name to some POI progress nodes | DMagic1/KSP_Contract_Window | Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs | Source/ContractsWindow/PanelInterfaces/StandardNodeUI.cs | #region license
/*The MIT License (MIT)
StandardNodeUI - Storage class for information about standard progress nodes
Copyright (c) 2016 DMagic
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 wit... | #region license
/*The MIT License (MIT)
StandardNodeUI - Storage class for information about standard progress nodes
Copyright (c) 2016 DMagic
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 wit... | mit | C# |
54b8ae38fdc38822100a83b7162110cc8bda9a88 | Update Feature1.cs | jacobrossandersen/GitTest1 | ConsoleApp1/ConsoleApp1/Feature1.cs | ConsoleApp1/ConsoleApp1/Feature1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
public int Add()
{
var x1 = 1;
var x2 = 2;
var sum = x1 + x2;
return sum;
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Feature1
{
public int Add()
{
int x1 = 1;
int x2 = 2;
int sum = x1 + x2;
return sum;
}
}... | mit | C# |
6d1bec6347d5ce3d0f9b075e01e628af48d18ad9 | Bump version to 15.0.0.32708 | 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# |
0d378711a83c65738963593a69996946177101ba | update default interval | jonfreeland/Log4Netly | Log4Netly/BufferedLogglyAppender.cs | Log4Netly/BufferedLogglyAppender.cs | using System.Threading;
using log4net.Appender;
using log4net.Core;
namespace Log4Netly
{
public class BufferedLogglyAppender : BufferingAppenderSkeleton
{
private string _url;
private const int DefaultIntervalInMs = 2500;
private readonly object _isCurrentlySendingLockObject = new ob... | using System;
using System.Threading;
using log4net.Appender;
using log4net.Core;
namespace Log4Netly
{
public class BufferedLogglyAppender : BufferingAppenderSkeleton
{
private string _url;
private const int DefaultIntervalInMs = 1000;
private readonly object _isCurrentlySendingLockO... | mit | C# |
5ed63b20fc50f98d5c9dbb0cefc93384c199a31b | update version | davidbetz/nalarium | Nalarium/Properties/AssemblyInfo.cs | Nalarium/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("Nalarium")]
[assembly: AssemblyDescription(".NET Development Foundation")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("David Betz")]
[assembly:... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("Nalarium")]
[assembly: AssemblyDescription(".NET Development Foundation")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("David Betz")]
[assembly:... | bsd-3-clause | C# |
863212a0b02bde535e8db9dd90474de329256a59 | Bump version to 2.1.0.0 | bobus15/proshine,MeltWS/proshine,Silv3rPRO/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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: As... | using System.Reflection;
using System.Resources;
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: As... | mit | C# |
743944a3d500bbe10c40cffa29d86c7bcac247b5 | Prueba de CI | JuanQuijanoAbad/UniversalSync,JuanQuijanoAbad/UniversalSync | Storage/Azure/StorageAzure/Blob.cs | Storage/Azure/StorageAzure/Blob.cs | using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage.Blob;
using StorageAzure.Interface;
using System;
using System.IO;
namespace StorageAzure
{
public class Blob : ICloudRepository
{
private CloudBlobContainer _blobContainer { get; }
public Blob(IAzureConfig config)
{
... | using Microsoft.Azure;
using Microsoft.WindowsAzure.Storage.Blob;
using StorageAzure.Interface;
using System;
using System.IO;
namespace StorageAzure
{
public class Blob: ICloudRepository
{
private CloudBlobContainer _blobContainer { get; }
public Blob(IAzureConfig config)
{
... | mit | C# |
ffcdb8c6f51aa739a3a9ab1bd6a2065441d46cee | fix define | corvusalba/my-little-lispy,corvusalba/my-little-lispy | src/CorvusAlba.MyLittleLispy.Runtime/Closure.cs | src/CorvusAlba.MyLittleLispy.Runtime/Closure.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
namespace CorvusAlba.MyLittleLispy.Runtime
{
public class Closure : Value
{
public IEnumerable<Scope> Scopes { get; private set; }
public bool IsTailCall { get; set; }
public bool HasR... | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
namespace CorvusAlba.MyLittleLispy.Runtime
{
public class Closure : Value
{
public IEnumerable<Scope> Scopes { get; private set; }
public bool IsTailCall { get; set; }
public bool HasR... | mit | C# |
ce9b10329ed73c152008193666d9099b07870604 | Bump version to 4.1.1 | blackmamba97/Transformer-Toolkit | Toolkit/Properties/AssemblyInfo.cs | Toolkit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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("Transformer Tool... | using System.Reflection;
using System.Resources;
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("Transformer Tool... | mit | C# |
efa81ae022b35936f91562970e0cf90f95e98bdf | Bump version to 4.1.0 | blackmamba97/Transformer-Toolkit | Toolkit/Properties/AssemblyInfo.cs | Toolkit/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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("Transformer Tool... | using System.Reflection;
using System.Resources;
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("Transformer Tool... | mit | C# |
5a49ee470be2e3fdbbaaa3a5cd0c0308f1dee0bf | Fix and simplify PropertyJsonConverter after refactoring | KodrAus/elasticsearch-net,azubanov/elasticsearch-net,cstlaurent/elasticsearch-net,TheFireCookie/elasticsearch-net,RossLieberman/NEST,CSGOpenSource/elasticsearch-net,KodrAus/elasticsearch-net,jonyadamit/elasticsearch-net,CSGOpenSource/elasticsearch-net,azubanov/elasticsearch-net,cstlaurent/elasticsearch-net,TheFireCooki... | src/Nest/Mapping/Types/PropertyJsonConverter.cs | src/Nest/Mapping/Types/PropertyJsonConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Nest
{
internal class PropertyJsonConverter : JsonConverter
{
public override bool CanWrite
{
get { return false; }
}
public override void WriteJson(JsonWriter writer, object v... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Nest
{
internal class PropertyJsonConverter : JsonConverter
{
public override bool CanWrite
{
get { return false; }
}
public override void WriteJson(JsonWriter writer, object v... | apache-2.0 | C# |
41403dcd7915a54218c19de910836a57bac44cb1 | Set IServiceCollection as return type for AddWorkFlow | danielgerlag/workflow-core | src/WorkflowCore/ServiceCollectionExtensions.cs | src/WorkflowCore/ServiceCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using WorkflowCore.Interface;
using WorkflowCore.Services;
using WorkflowCore.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.ObjectPool;
using Workflo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using WorkflowCore.Interface;
using WorkflowCore.Services;
using WorkflowCore.Models;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.ObjectPool;
using Workflo... | mit | C# |
6c35becdf60abcd49a85f8ff4ef6e06ebfed6a49 | fix portable apps | zamont/core-setup,ellismg/core-setup,gkhanna79/core-setup,weshaggard/core-setup,zamont/core-setup,crummel/dotnet_core-setup,vivmishra/core-setup,ravimeda/core-setup,ericstj/core-setup,ellismg/core-setup,gkhanna79/core-setup,ericstj/core-setup,rakeshsinghranchi/core-setup,karajas/core-setup,vivmishra/core-setup,ellismg/... | build_projects/shared-build-targets-utils/Utils/BuildVersion.cs | build_projects/shared-build-targets-utils/Utils/BuildVersion.cs | using System.Collections.Generic;
namespace Microsoft.DotNet.Cli.Build
{
public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
public string NuGetVersio... | using System.Collections.Generic;
namespace Microsoft.DotNet.Cli.Build
{
public class BuildVersion : Version
{
public string SimpleVersion => $"{Major}.{Minor}.{Patch}.{CommitCountString}";
public string VersionSuffix => $"{ReleaseSuffix}-{CommitCountString}";
public string NuGetVersio... | mit | C# |
4af450c49fd36655cab1597005c458918f3f62e0 | comment out the unused [DllImport] to pass certification | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/PropertySetInterop.cs | source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/PropertySetInterop.cs | using System.Runtime.InteropServices;
using Windows.Foundation.Collections;
namespace SkiaSharp.Views.GlesInterop
{
//internal static class PropertySetInterop
//{
// public static void AddSingle(PropertySet properties, string key, float value)
// {
// PropertySetInterop_AddSingle(properties, key, value);
// }
... | using System.Runtime.InteropServices;
using Windows.Foundation.Collections;
namespace SkiaSharp.Views.GlesInterop
{
internal static class PropertySetInterop
{
public static void AddSingle(PropertySet properties, string key, float value)
{
PropertySetInterop_AddSingle(properties, key, value);
}
public st... | mit | C# |
9d1f88e7c2f30fee04718f6ae1578e90fbc9f6b2 | Fix typo in log message. (#2247) | dotnet/docfx,pascalberger/docfx,pascalberger/docfx,pascalberger/docfx,superyyrrzz/docfx,superyyrrzz/docfx,dotnet/docfx,superyyrrzz/docfx,dotnet/docfx | src/Microsoft.DocAsCode.Metadata.ManagedReference/MsBuildEnvironmentScope.cs | src/Microsoft.DocAsCode.Metadata.ManagedReference/MsBuildEnvironmentScope.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Metadata.ManagedReference
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Build.MSB... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Metadata.ManagedReference
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Build.MSB... | mit | C# |
d8becf30a46a4dc0bab40f155328c15516c5d83d | add Lambda Ignore extensions | serilog/serilog,redwards510/serilog,vossad01/serilog,ravensorb/serilog,adamchester/serilog,serilog/serilog,SaltyDH/serilog,DavidSSL/serilog,merbla/serilog,ajayanandgit/serilog,ravensorb/serilog,harishjan/serilog,jotautomation/serilog,harishjan/serilog,khellang/serilog,joelweiss/serilog,merbla/serilog,richardlawley/seri... | src/Serilog.Extras.LambdaIgnore/LoggerConfigurationLambdaIgnoreExtensions.cs | src/Serilog.Extras.LambdaIgnore/LoggerConfigurationLambdaIgnoreExtensions.cs | // Copyright 2014 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | // Copyright 2014 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | apache-2.0 | C# |
4f01c03aef85e83135e8ce3dab8cdf6a6b081152 | Fix merge conflict. | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.DirectPlay/Microsoft.DirectX.DirectPlay/GroupInformation.cs | Microsoft.DirectX.DirectPlay/Microsoft.DirectX.DirectPlay/GroupInformation.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Alistair Leslie-Hughes
*
* 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 ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Alistair Leslie-Hughes
*
* 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 ... | mit | C# |
fe10acfa990a396c4a70f6723add3cbda51a581d | Change Image Reward path | tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer,tlaothong/xdailysoccer | src/DailySoccerSolution/DailySoccerAppService/Controllers/RewardController.cs | src/DailySoccerSolution/DailySoccerAppService/Controllers/RewardController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
using DailySoccer.Shared.Facades;
namespace DailySoccerAppService.Controllers
{
public class RewardController : A... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Microsoft.Azure.Mobile.Server;
using DailySoccer.Shared.Models;
using DailySoccer.Shared.Facades;
namespace DailySoccerAppService.Controllers
{
public class RewardController : A... | mit | C# |
569cbfc4b9c3d144b579a4586d9d43e8e1489918 | Use a small delta when comparing inexact doubles for equality. | alobakov/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-... | src/NHibernate.Test/NHSpecificTest/NH1734/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH1734/Fixture.cs | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1734
{
[TestFixture]
public class Fixture:BugTestCase
{
protected override void OnSetUp()
{
using(var session=this.OpenSession())
using(var tran=session.BeginT... | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1734
{
[TestFixture]
public class Fixture:BugTestCase
{
protected override void OnSetUp()
{
using(var session=this.OpenSession())
using(var tran=session.BeginT... | lgpl-2.1 | C# |
a41e847faa43970a192ac45164281b6938de4749 | comment Explicit tests as an attempt to fix issue with AppVeyor | NFluent/NFluent,dupdob/NFluent,dupdob/NFluent,tpierrain/NFluent,tpierrain/NFluent,NFluent/NFluent,tpierrain/NFluent,dupdob/NFluent | tests/NFluent.Tests.Internals/ForDocumentation/LocaleChecks.cs | tests/NFluent.Tests.Internals/ForDocumentation/LocaleChecks.cs | // // --------------------------------------------------------------------------------------------------------------------
// // <copyright file="LocaleChecks.cs" company="">
// // Copyright 2013 Cyrille DUPUYDAUBY
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not use this f... | // // --------------------------------------------------------------------------------------------------------------------
// // <copyright file="LocaleChecks.cs" company="">
// // Copyright 2013 Cyrille DUPUYDAUBY
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not use this f... | apache-2.0 | C# |
29b7b64503be9169226876a213661bdafec4af80 | update statesets | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin.CloudRepos/Repos/StateSetRepo.cs | src/LagoVista.IoT.DeviceAdmin.CloudRepos/Repos/StateSetRepo.cs | using LagoVista.CloudStorage.DocumentDB;
using LagoVista.Core.PlatformSupport;
using LagoVista.IoT.DeviceAdmin.Interfaces.Repos;
using LagoVista.IoT.DeviceAdmin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.CloudRepos.Repos... | using LagoVista.CloudStorage.DocumentDB;
using LagoVista.Core.PlatformSupport;
using LagoVista.IoT.DeviceAdmin.Interfaces.Repos;
using LagoVista.IoT.DeviceAdmin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.CloudRepos.Repos... | mit | C# |
b94f5975eb7d0f338b2983628df175a975230b9e | Remove extra space. | SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,... | src/Avalonia.Animation/TransitionInstance.cs | src/Avalonia.Animation/TransitionInstance.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Metadata;
using System;
using System.Reactive.Linq;
using Avalonia.Animation.Easings;
using Avalonia.Animation.Utils;
using Avalonia.Reacti... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Metadata;
using System;
using System.Reactive.Linq;
using Avalonia.Animation.Easings;
using Avalonia.Animation.Utils;
using Avalonia.Reacti... | mit | C# |
8b366d9aff76fc3599262eb0940a22a7adc362c7 | add default for generic | json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Models/Identifiable.cs | src/JsonApiDotNetCore/Models/Identifiable.cs | namespace JsonApiDotNetCore.Models
{
public class Identifiable : Identifiable<int>
{}
public class Identifiable<T> : IIdentifiable<T>, IIdentifiable
{
public T Id { get; set; }
object IIdentifiable.Id
{
get { return Id; }
set { Id = (T)value; }
... | namespace JsonApiDotNetCore.Models
{
public abstract class Identifiable<T> : IIdentifiable<T>, IIdentifiable
{
public T Id { get; set; }
object IIdentifiable.Id
{
get { return Id; }
set { Id = (T)value; }
}
}
}
| mit | C# |
24a2c4af964dbb7166bfbd89bfefc07db3f66c85 | fix openfile command | mike-ward/Markdown-Edit,punker76/Markdown-Edit | src/MarkdownEdit/Commands/OpenFileCommand.cs | src/MarkdownEdit/Commands/OpenFileCommand.cs | using System.Windows;
using System.Windows.Input;
using MarkdownEdit.Controls;
namespace MarkdownEdit.Commands
{
internal static class OpenFileCommand
{
public static readonly RoutedCommand Command = ApplicationCommands.Open;
static OpenFileCommand()
{
Application.Current.... | using System.Windows;
using System.Windows.Input;
using MarkdownEdit.Controls;
namespace MarkdownEdit.Commands
{
internal static class OpenFileCommand
{
public static readonly RoutedCommand Command = new RoutedCommand();
static OpenFileCommand()
{
Application.Current.MainW... | mit | C# |
207e3e2a6dae7516482489a4d800c62236f04789 | Improve code documentation in the IStorageEngine interface | openchain/openchain | src/Openchain.Abstractions/IStorageEngine.cs | src/Openchain.Abstractions/IStorageEngine.cs | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
d75bbb2b88debd6b578e4e77ea5de73c87c2f4dc | Fix incorrect sorting. | UselessToucan/osu,smoogipoo/osu,Frontear/osuKyzer,ppy/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,smoogipooo/osu,Drezi126/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,peppy/osu-new,ppy/osu,DrabWeb/osu,naoey/osu,Damnae/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,Nabi... | osu.Game.Rulesets.Mania/Timing/TimingChangeContainer.cs | osu.Game.Rulesets.Mania/Timing/TimingChangeContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using os... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using os... | mit | C# |
7b26c9260f9d52e3ed1c30f9ca53bf9ea0e3fd49 | Check for collision with balls only. | dirty-casuals/LD38-A-Small-World | Assets/Scripts/Core/World.cs | Assets/Scripts/Core/World.cs | using UnityEngine;
using UnityEngine.Events;
public class World : Planet {
private UnityEvent onPlanetHit = new UnityEvent();
private Lives lives;
private void Awake() {
lives = GetComponent<Lives>();
}
private void OnCollisionEnter( Collision other ) {
if( other.transform.GetCo... | using UnityEngine;
using UnityEngine.Events;
public class World : Planet {
private UnityEvent onPlanetHit = new UnityEvent();
private Lives lives;
private void Awake() {
lives = GetComponent<Lives>();
}
private void OnCollisionEnter( Collision other ) {
onPlanetHit.Invoke();
... | mit | C# |
c6fc2758b39fb06de97d2b74649a6650865562fb | Add ProxyLexer.Initialized : bool | StevenLiekens/TextFx,StevenLiekens/Txt | src/Txt.Core/ProxyLexer.cs | src/Txt.Core/ProxyLexer.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using JetBrains.Annotations;
namespace Txt.Core
{
public sealed class ProxyLexer<TElement> : Lexer<TElement>
where TElement : Element
{
private ILexer<TElement> innerLexer;
public bool Initialized { get; private... | using System;
using System.Collections.Generic;
using JetBrains.Annotations;
namespace Txt.Core
{
public sealed class ProxyLexer<TElement> : Lexer<TElement>
where TElement : Element
{
private ILexer<TElement> innerLexer;
public void Initialize([NotNull] ILexer<TElement> lexer)
... | mit | C# |
fa01e2e777ec011ff33b5b708db2ab2ee4eeff60 | Add Book Class to LibraryContext. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Data/LibraryContext.cs | src/Open-School-Library/Data/LibraryContext.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class LibraryContext : DbContext
{
public LibraryContext(DbContextOptions<L... | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Open_School_Library.Models.DatabaseModels;
namespace Open_School_Library.Data
{
public class LibraryContext : DbContext
{
public LibraryContext(DbContextOptions<L... | mit | C# |
acfad73769f7f960b90cca4afe069e4a9f86fb73 | fix isnotnull method | zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning | my_aspnetmvc_learning/Controllers/ImageController.cs | my_aspnetmvc_learning/Controllers/ImageController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
// GET: U... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using NLog;
namespace my_aspnetmvc_learning.Controllers
{
public class ImageController : Controller
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
// GET: U... | mit | C# |
70487d1bd79738a85d315311d5b5d5e5ecd554aa | Update QueueExtensionsTests.cs | huysentruitw/win-beacon,ghkim69/win-beacon | test/WinBeacon.Tests/QueueExtensionsTests.cs | test/WinBeacon.Tests/QueueExtensionsTests.cs | /*
* Copyright 2015 Huysentruit Wouter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2015 Huysentruit Wouter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | mit | C# |
d3b002a5aa2f7e769dc9b5259af664a51f881ef6 | Handle dictionary insert race condition. | bretcope/BosunReporter.NET,lockwobr/BosunReporter.NET,qed-/BosunReporter.NET | BosunReporter/MetricGroup.cs | BosunReporter/MetricGroup.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace BosunReporter
{
public sealed class MetricGroup<T> where T : BosunMetric
{
private readonly object _dictionaryLock = new object();
private readonly MetricsCollector _collector;
private readonly string _n... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace BosunReporter
{
public sealed class MetricGroup<T> where T : BosunMetric
{
private readonly MetricsCollector _collector;
private readonly string _name;
private readonly Dictionary<string, T> _metrics = n... | mit | C# |
1bf21e135fa072ba94653f3c919b8460c43f9e1e | Fix infinite recursion in IEnumerable<T>.None() (#69) | karelz/GitHubIssues | BugReport/Util/Extensions.cs | BugReport/Util/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace BugReport.Util
{
public static class Extensions
{
public static bool EqualsIgnoreCase(this string str1, string str2)
{
return str1.Equals(str2, StringComparison.OrdinalIgnoreCase);
}
public... | using System;
using System.Collections.Generic;
using System.Linq;
namespace BugReport.Util
{
public static class Extensions
{
public static bool EqualsIgnoreCase(this string str1, string str2)
{
return str1.Equals(str2, StringComparison.OrdinalIgnoreCase);
}
public... | mit | C# |
4b597bbba79a1b9948f9dbd1823736b40dca9397 | fix RoleConditionEvaluator (#9380) | xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Rules/Services/RoleConditionEvaluator.cs | src/OrchardCore.Modules/OrchardCore.Rules/Services/RoleConditionEvaluator.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using OrchardCore.Rules.Models;
namespace OrchardCore.Rules.Services
{
public class RoleConditionEvaluator : ConditionEvaluator<RoleCondition>
... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using OrchardCore.Rules.Models;
namespace OrchardCore.Rules.Services
{
public class RoleConditionEvaluator : ConditionEvaluator<RoleCondition>
... | bsd-3-clause | C# |
91b8f400793ef42d9e781f510474bd199d104092 | Update user count | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Controllers/RegisterController.cs | src/LondonTravel.Site/Controllers/RegisterController.cs | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using MartinCostello.LondonTravel.Site.Models;
using MartinCostello.LondonTravel.Site.Services;
using Microsoft.AspNetCore.Authorization;
using M... | // Copyright (c) Martin Costello, 2017. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using MartinCostello.LondonTravel.Site.Models;
using MartinCostello.LondonTravel.Site.Services;
using Microsoft.AspNetCore.Authorization;
using M... | apache-2.0 | C# |
caf0bd962ea33ae0bb1916fdfcb450b10510d0e0 | Disable plot buttons until plot is available | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderShe... | src/Package/Impl/Plots/PlotWindowCommandController.cs | src/Package/Impl/Plots/PlotWindowCommandController.cs | using System;
using System.Diagnostics;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller;
namespace Microsoft.VisualStudio.R.Package.Plots {
internal sealed class PlotWindowCommandController : ICommandTarget {
private PlotWindowPane _pane;
public PlotWindowCommandCont... | using System;
using System.Diagnostics;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller;
namespace Microsoft.VisualStudio.R.Package.Plots {
internal sealed class PlotWindowCommandController : ICommandTarget {
private PlotWindowPane _pane;
public PlotWindowCommandCont... | mit | C# |
081ed55d0fb23c971cb2dacc0b93552462036e74 | Fix tests | AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/R... | src/R/Components/Test/Fakes/Wpf/TestThemeUtilities.cs | src/R/Components/Test/Fakes/Wpf/TestThemeUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using Microsoft.R.Wpf.Themes;
using Microsoft.UnitTests.Core.Me... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.ComponentModel.Composition;
using System.Diagnostics.CodeAnalysis;
using System.Windows;
using Microsoft.R.Wpf.Themes;
namespace Microsoft.R.Components... | mit | C# |
51f2b523efaf42c229cfdede2c0d78134121084b | Remove LSP base from Xaml content type definition to avoid regressing rps | mgoertz-msft/roslyn,AlekseyTs/roslyn,jmarolf/roslyn,AmadeusW/roslyn,stephentoub/roslyn,sharwell/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,panopticoncentral/roslyn,mavasani/roslyn,bartdesmet/roslyn,heejaechang/roslyn,diryboy/roslyn,jmarolf/roslyn,aelij/roslyn,KevinRansom/roslyn,weltkante/roslyn,mavasani/roslyn,tmat/ro... | src/VisualStudio/Xaml/Impl/XamlStaticTypeDefinitions.cs | src/VisualStudio/Xaml/Impl/XamlStaticTypeDefinitions.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.ComponentModel.Composition;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.Visual... | // 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.ComponentModel.Composition;
using Microsoft.VisualStudio.LanguageServer.Client;
using Microsoft.Visual... | mit | C# |
47804cf4de61960013f45259ed1db513fbf409cd | Update IFileSystemWatcher to: * Pass through FileChangeTypes when available * Allow clients to watch a directory (in addition to individual files) | OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | src/OmniSharp.Abstractions/FileWatching/IFileSystemWatcher.cs | src/OmniSharp.Abstractions/FileWatching/IFileSystemWatcher.cs | using OmniSharp.Models;
using System;
namespace OmniSharp.FileWatching
{
// TODO: Flesh out this API more
public interface IFileSystemWatcher
{
void Watch(string path, Action<string, FileChangeType?> callback);
/// <summary>
/// Called when a file is created, changed, or deleted.
... | using System;
namespace OmniSharp.FileWatching
{
// TODO: Flesh out this API more
public interface IFileSystemWatcher
{
void Watch(string path, Action<string> callback);
void TriggerChange(string path);
}
} | mit | C# |
661be24fdeed5e71f7bb652cf98512eebbef7b02 | Update ResourceStub.cs | CaptiveAire/Seq.App.YouTrack | src/Seq.App.YouTrack/Resources/ResourceStub.cs | src/Seq.App.YouTrack/Resources/ResourceStub.cs | // Copyright 2014-2019 CaptiveAire Systems
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | // Seq.App.YouTrack - Copyright (c) 2019 CaptiveAire
using System;
using System.Reflection;
using EmbeddedResources;
namespace Seq.App.YouTrack.Resources
{
public static class TemplateResources
{
static TemplateResources()
{
_resourceLocator = new AssemblyResourceLocator(Assembly... | apache-2.0 | C# |
e32b5f4c37d5f8b95041f30765912443763428c2 | Change message. | googleprojectzero/sandbox-attacksurface-analysis-tools | NtApiDotNet/Win32/Security/Buffers/SecurityBufferOut.cs | NtApiDotNet/Win32/Security/Buffers/SecurityBufferOut.cs | // Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | // Copyright 2021 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | apache-2.0 | C# |
5064ed1de015a91dada287fbae3b5c246eccba31 | Allow null expected values for just ignoring the value (todo: maybe allow byte expected values). | mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-sp... | test/TestApp/TestRunner.cs | test/TestApp/TestRunner.cs |
using System;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
namespace Manos.Tests {
public class TestRunner {
private bool LoadTest = true;
private Process LoadProcess = null;
private string MANOS_SERVER = "http://localhos... |
using System;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
namespace Manos.Tests {
public class TestRunner {
private bool LoadTest = true;
private Process LoadProcess = null;
private string MANOS_SERVER = "http://localhos... | mit | C# |
919b6a4a557f0e0c0a1a3178b16a852e56a59de4 | add arguments support | peitaosu/Diplomatist | SoundsRecord/win32/SoundsRecord/SoundsRecord/Program.cs | SoundsRecord/win32/SoundsRecord/SoundsRecord/Program.cs | /* Some Code Fragments from:
1. https://stackoverflow.com/questions/18812224/c-sharp-recording-audio-from-soundcard - Florian R.
*/
using System;
using CSCore.SoundIn;
using CSCore.Codecs.WAV;
using System.Threading;
namespace SoundsRecord
{
class Program
{
static int Main(string[] a... | /* Some Code Fragments from:
1. https://stackoverflow.com/questions/18812224/c-sharp-recording-audio-from-soundcard - Florian R.
*/
using System;
using CSCore.SoundIn;
using CSCore.Codecs.WAV;
namespace SoundsRecord
{
class Program
{
static void Main(string[] args)
{
... | mit | C# |
25c222d60ae0218056dfc5b70182db5c1e5c56ee | Add documentation for string extensions. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Extensions/StringExtensions.cs | Source/Lib/TraktApiSharp/Extensions/StringExtensions.cs | namespace TraktApiSharp.Extensions
{
using System;
using System.Linq;
/// <summary>Provides helper methods for strings.</summary>
public static class StringExtensions
{
private static readonly char[] DelimiterChars = { ' ', ',', '.', ':', ';', '\n', '\t' };
/// <summary>Converts t... | namespace TraktApiSharp.Extensions
{
using System;
using System.Linq;
public static class StringExtensions
{
private static readonly char[] DelimiterChars = { ' ', ',', '.', ':', ';', '\n', '\t' };
public static string FirstToUpper(this string value)
{
if (string.I... | mit | C# |
52bea7e8ebebc3b5c926b4aa1284a1c62bb65f7f | 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# |
6d9cdb8b1f5e7443a85e362aea1a946f46d43139 | fix stuff | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/UI/Net/Elements/NetLabel.cs | UnityProject/Assets/Scripts/UI/Net/Elements/NetLabel.cs | using System;
using UnityEngine;
using UnityEngine.UI;
///Text label, not modifiable by clients directly
[RequireComponent(typeof(TMPro.TMP_Text))]
[Serializable]
public class NetLabel : NetUIStringElement
{
/// <summary>
/// Invoked when the value synced between client / server is updated.
/// </summary>
[NonSeri... | using System;
using UnityEngine;
using UnityEngine.UI;
///Text label, not modifiable by clients directly
[RequireComponent(typeof(TMPro.TMP_Text))]
[Serializable]
public class NetLabel : NetUIStringElement
{
/// <summary>
/// Invoked when the value synced between client / server is updated.
/// </summary>
[NonSeri... | agpl-3.0 | C# |
684b3c429395a6db948a481a38acc8c3d35c5145 | Add assert to test. | ryanjfitz/SimpSim.NET | SimpSim.NET.Presentation.Tests/OutputViewModelTests.cs | SimpSim.NET.Presentation.Tests/OutputViewModelTests.cs | using SimpSim.NET.Presentation.ViewModels;
using Xunit;
namespace SimpSim.NET.Presentation.Tests
{
public class OutputViewModelTests
{
[Fact]
public void ClearCommandShouldEmptyOutputWindow()
{
OutputViewModel viewModel = new OutputViewModel(new SimpleSimulator());
... | using SimpSim.NET.Presentation.ViewModels;
using Xunit;
namespace SimpSim.NET.Presentation.Tests
{
public class OutputViewModelTests
{
[Fact]
public void ClearCommandShouldEmptyOutputWindow()
{
OutputViewModel viewModel = new OutputViewModel(new SimpleSimulator());
... | mit | C# |
3d932d8ed61489b98c957ff1990430cc43b10751 | Fix email regex for account creation to accept all 2-letter domains. Ensure email validation ignores capitalized characters. | ethanmoffat/EndlessClient | EOLib/Domain/Account/CreateAccountParameterValidator.cs | EOLib/Domain/Account/CreateAccountParameterValidator.cs | using System.Linq;
using AutomaticTypeMapper;
namespace EOLib.Domain.Account
{
[AutoMappedType]
public class CreateAccountParameterValidator : ICreateAccountParameterValidator
{
private const string ValidEmailRegex = @"[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[... | using System.Linq;
using AutomaticTypeMapper;
namespace EOLib.Domain.Account
{
[AutoMappedType]
public class CreateAccountParameterValidator : ICreateAccountParameterValidator
{
private const string ValidEmailRegex = @"[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[... | mit | C# |
ae4a6170a2831ed669ecdb19aad9900a410f5c6c | Fix typo in NetCoreNUnit_SignIn_WithInvalidPassword test comment | atata-framework/atata-samples | NetCore.NUnit/AtataSamples.NetCore.NUnit/SignInTests.cs | NetCore.NUnit/AtataSamples.NetCore.NUnit/SignInTests.cs | using Atata;
using NUnit.Framework;
namespace AtataSamples.NetCore.NUnit
{
public class SignInTests : UITestFixture
{
[Test]
public void NetCoreNUnit_SignIn()
{
Go.To<SignInPage>().
Email.Set("admin@mail.com").
Password.Set("abc123").
... | using Atata;
using NUnit.Framework;
namespace AtataSamples.NetCore.NUnit
{
public class SignInTests : UITestFixture
{
[Test]
public void NetCoreNUnit_SignIn()
{
Go.To<SignInPage>().
Email.Set("admin@mail.com").
Password.Set("abc123").
... | apache-2.0 | C# |
7568c47232263e7d10af42410ef78594ceae436a | Fix :bug: | Zalodu/Schedutalk,Zalodu/Schedutalk | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | mit | C# |
f2d229855d520edb35fb07db14bd2d2bafe90aed | Update assembly version. | christophediericx/ArduinoSketchUploader | Source/ArduinoSketchUploader/Properties/AssemblyInfo.cs | Source/ArduinoSketchUploader/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("ArduinoSketchUploader")]
[assembly: Assem... | 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("ArduinoSketchUploader")]
[assembly: Assem... | mit | C# |
9d4c26f37536cf50fe2b367a5a9d9e317aca9909 | remove unused model property | mejas/UserManagementApplication | UserManagementApplication.Client.Models/SessionModel.cs | UserManagementApplication.Client.Models/SessionModel.cs | using UserManagementApplication.Client.Models.ServiceProxy;
using UserManagementApplication.Common.Security;
using UserManagementApplication.Remoting.Data;
using UserManagementApplication.Remoting.Data.Request;
namespace UserManagementApplication.Client.Models
{
public class SessionModel : ClientModel
{
... | using UserManagementApplication.Client.Models.ServiceProxy;
using UserManagementApplication.Common.Security;
using UserManagementApplication.Remoting.Data;
using UserManagementApplication.Remoting.Data.Request;
namespace UserManagementApplication.Client.Models
{
public class SessionModel : ClientModel
{
... | mit | C# |
91c1dbbae56fd5a5727c4992c8745773145b613e | Update GoogleAnalyticsPlatform.cs | KSemenenko/GoogleAnalyticsForXamarinForms,KSemenenko/Google-Analytics-for-Xamarin-Forms | Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.Android/GoogleAnalyticsPlatform.cs | Plugin.GoogleAnalytics/Plugin.GoogleAnalytics.Android/GoogleAnalyticsPlatform.cs | using System;
using System.Threading;
using Android.Runtime;
namespace Plugin.GoogleAnalytics
{
public partial class GoogleAnalytics
{
static GoogleAnalytics()
{
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
AndroidEnvironment.UnhandledE... | using System;
using System.Threading;
using Android.Runtime;
namespace Plugin.GoogleAnalytics
{
public partial class GoogleAnalytics
{
static GoogleAnalytics()
{
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
AndroidEnvironment.UnhandledE... | mit | C# |
b26d742092da9007bfb1b104799b8f2040407db3 | Update SelectListBoxItemOnPointerMovedBehavior.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/SelectListBoxItemOnPointerMovedBehavior.cs | src/Avalonia.Xaml.Interactions/Custom/SelectListBoxItemOnPointerMovedBehavior.cs | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Sets <see cref="ListBoxItem.IsSelected"/> property to true of the associated <see cref="ListBoxItem"/> control on <see cref="InputElement.PointerMoved"/> event.
/// </summa... | using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Sets <see cref="ListBoxItem.IsSelected"/> property to true of the associated <see cref="ListBoxItem"/> control on <see cref="InputElement.PointerMoved"/> event.
/// </summa... | mit | C# |
385f863c44b2b4a289b224bd21ab06942e588698 | remove view engine | angel75013/SellAndBuy,angel75013/SellAndBuy,angel75013/SellAndBuy | SellAndBuy/SellAndBuy.Web/Global.asax.cs | SellAndBuy/SellAndBuy.Web/Global.asax.cs | using SellAndBuy.Data;
using SellAndBuy.Data.Migrations;
using SellAndBuy.Web.App_Start;
using System.Data.Entity;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace SellAndBuy.Web
{
public class MvcApplication : System.Web.HttpApplication
{
... | using SellAndBuy.Data;
using SellAndBuy.Data.Migrations;
using SellAndBuy.Web.App_Start;
using System.Data.Entity;
using System.Reflection;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace SellAndBuy.Web
{
public class MvcApplication : System.Web.HttpApplication
{
... | mit | C# |
c933cc2f631aa9ff1c19f620ec90a09dfc917df7 | Add region to IndicatorControl | HavenDV/ImprovedControls,HavenDV/ImprovedControls,HavenDV/ImprovedControls,HavenDV/ImprovedControls | SliderControlLibrary/IndicatorControl.cs | SliderControlLibrary/IndicatorControl.cs | using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace T3000Controls
{
public partial class IndicatorControl : UserControl
{
public string SliderName
{
get { return nameLabel.Text; }
set { nameLabel.Text = value; }
}
... | using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace T3000Controls
{
public partial class IndicatorControl : UserControl
{
public string SliderName
{
get { return nameLabel.Text; }
set { nameLabel.Text = value; }
}
... | lgpl-2.1 | C# |
fa28a0a6710a788e0b72dccb99c7d96051285a9b | Disable the CC0020 code fix when it would cause a syntax error | gerryaobrien/code-cracker,dlsteuer/code-cracker,jhancock93/code-cracker,adraut/code-cracker,dmgandini/code-cracker,jwooley/code-cracker,akamud/code-cracker,carloscds/code-cracker,AlbertoMonteiro/code-cracker,andrecarlucci/code-cracker,eirielson/code-cracker,baks/code-cracker,code-cracker/code-cracker,giggio/code-cracke... | src/CodeCracker/ConvertSimpleLambdaExpressionToMethodInvocationFixProvider.cs | src/CodeCracker/ConvertSimpleLambdaExpressionToMethodInvocationFixProvider.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.... | apache-2.0 | C# |
fa702ff6ef53ce483c7b87fb6720911fe6267ccc | Update AddSignalRCore to respect user registered services (#2434) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.SignalR.Core/SignalRDependencyInjectionExtensions.cs | src/Microsoft.AspNetCore.SignalR.Core/SignalRDependencyInjectionExtensions.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 Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Internal;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace M... | // 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 Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Internal;
namespace Microsoft.Extensions.DependencyInjection
{
/// <summary>... | apache-2.0 | C# |
4c61047e9b29497f01633c579cfb2dc7a2784428 | Fix large notification HTML overflowing CEF buffer and silently crashing | 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.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 dataIn;
... | mit | C# |
fc7f3b13a6c5aba23aa910917d9700e39e780889 | add task attributes | exercism/xcsharp,exercism/xcsharp | exercises/concept/log-levels/LogLevelsTests.cs | exercises/concept/log-levels/LogLevelsTests.cs | using Xunit;
using Exercism.Tests;
public class LogLineTests
{
[Fact]
[Task(1)]
public void Error_message()
{
Assert.Equal("Stack overflow", LogLine.Message("[ERROR]: Stack overflow"));
}
[Fact(Skip = "Remove this Skip property to run this test")]
[Task(1)]
public void Warning_... | using Xunit;
using Exercism.Tests;
public class LogLineTests
{
[Fact]
public void Error_message()
{
Assert.Equal("Stack overflow", LogLine.Message("[ERROR]: Stack overflow"));
}
[Fact(Skip = "Remove this Skip property to run this test")]
public void Warning_message()
{
Asse... | mit | C# |
8a3742b1f955509d72806e1e686a98570f164135 | Add virtual methods to basicPage.cs for overriding. | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Shared/Common/basicPage.cs | wallabag/wallabag.Shared/Common/basicPage.cs | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace wallabag.Common
{
public class basicPage : Page
{
public NavigationHelper navigationHelper;
private const string ViewModelPageKey = "ViewModel";
public basicPage()
{
this.navigationHelper =... | using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace wallabag.Common
{
public class basicPage : Page
{
public NavigationHelper navigationHelper;
private const string ViewModelPageKey = "ViewModel";
public basicPage()
{
this.navigationHelper =... | mit | C# |
b6c2e13fe7e4eb2b6b6e65683778fb80d9a8d2b1 | Update assembly info | Hertizch/FactorioSupervisor | FactorioSupervisor/Properties/AssemblyInfo.cs | FactorioSupervisor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 w... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 w... | apache-2.0 | C# |
6fee280aafe087464988321e5b87fdd2d3d1a17a | Enable normal tests again. | tgiphil/Cosmos,trivalik/Cosmos,fanoI/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos | Users/Matthijs/DebugCompiler/MyEngine.cs | Users/Matthijs/DebugCompiler/MyEngine.cs | using System;
using System.IO;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
using NUnit.Framework;
namespace DebugCompiler
{
[TestFixture]
public class RunKernels
{
[TestCaseSource(typeof(MySource), nameof(MySource.ProvideData))]
public void Test(Type kernelToRun)
{
... | using System;
using System.IO;
using Cosmos.Build.Common;
using Cosmos.TestRunner.Core;
using NUnit.Framework;
namespace DebugCompiler
{
[TestFixture]
public class RunKernels
{
[TestCaseSource(typeof(MySource), nameof(MySource.ProvideData))]
public void Test(Type kernelToRun)
{
... | bsd-3-clause | C# |
d239e8d1468062908f9251e3e96f780da727d182 | remove unused script | IdentityServer/IdentityServer2,IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktect... | src/OnPremise/WebSite/Areas/Admin/Views/IP/IP.cshtml | src/OnPremise/WebSite/Areas/Admin/Views/IP/IP.cshtml | @model Thinktecture.IdentityServer.Models.IdentityProvider
@using Thinktecture.IdentityServer.Web.Utility
@{
if (Model.ID == 0)
{
ViewBag.Title = "New Identity Provider";
}
else
{
ViewBag.Title = "Identity Provider : " + Model.Name;
}
}
@{
var action = Model.ID == 0 ? "Crea... | @model Thinktecture.IdentityServer.Models.IdentityProvider
@using Thinktecture.IdentityServer.Web.Utility
@{
if (Model.ID == 0)
{
ViewBag.Title = "New Identity Provider";
}
else
{
ViewBag.Title = "Identity Provider : " + Model.Name;
}
}
@{
var action = Model.ID == 0 ? "Crea... | bsd-3-clause | C# |
e48cc1d98698ec999d916f672ee430d186a70616 | Fix SideBar Ninject bindings. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/NinjectModules/SideBarModule.cs | src/CGO.Web/NinjectModules/SideBarModule.cs | using System.Web;
using System.Web.Mvc;
using CGO.Web.Controllers;
using Ninject.Modules;
using Ninject.Web.Common;
namespace CGO.Web.NinjectModules
{
public class SideBarModule : NinjectModule
{
public override void Load()
{
const string concertsControllerName = "Conce... | using CGO.Web.Controllers;
using Ninject.Modules;
using Ninject.Web.Common;
namespace CGO.Web.NinjectModules
{
public class SideBarModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<ISideBarFactory>()
.To<ConcertsSideBarFactory>()
... | mit | C# |
186c6c602fe12b1f9dc5d4ffc16d9de079e6c1f6 | Update AccessAllNamedRanges.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Data/AddOn/NamedRanges/AccessAllNamedRanges.cs | Examples/CSharp/Data/AddOn/NamedRanges/AccessAllNamedRanges.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class AccessAllNamedRanges
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspo... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.AddOn.NamedRanges
{
public class AccessAllNamedRanges
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | mit | C# |
651a58b77fccbb4e4fe5019664b5951f465b91ec | fix facade | fabiosilvalima/FSL.eBook.RWP.DesignPatterns,fabiosilvalima/FSL.eBook.RWP.DesignPatterns,fabiosilvalima/FSL.eBook.RWP.DesignPatterns | FSL.eBook.RWP.DesignPatterns/FacadeChapter/FacadeController.cs | FSL.eBook.RWP.DesignPatterns/FacadeChapter/FacadeController.cs |
using System.Web.Mvc;
namespace FSL.eBook.RWP.DesignPatterns.FacadeChapter
{
public class FacadeController : Controller
{
public ActionResult WithoutFacade()
{
var logger = new Logger();
var payment = new Payment();
var securityInfo = new SecurityInfo();
... |
using System.Web.Mvc;
namespace FSL.eBook.RWP.DesignPatterns.FacadeChapter
{
public class FacadeController : Controller
{
public ActionResult WithoutFacade()
{
var logger = new Logger();
var payment = new Payment();
var securityInfo = new SecurityInfo();
... | mit | C# |
bff4ca27e9e6a9063be8abeb3a3c1de3bd900e84 | Update DIPSbotHost.cs | Sankra/DIPSbot,Sankra/DIPSbot | src/Hjerpbakk.DIPSbot.Runner/DIPSbotHost.cs | src/Hjerpbakk.DIPSbot.Runner/DIPSbotHost.cs | using LightInject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hjerpbakk.DIPSbot.Services;
using SlackConnector;
namespace Hjerpbakk.DIPSbot.Runner {
class DIPSbotHost {
DIPSbotImplementation DIPSbot;
public void Start(... | using LightInject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Hjerpbakk.DIPSbot.Services;
using SlackConnector;
namespace Hjerpbakk.DIPSbot.Runner {
class DIPSbotHost {
DIPSbotImplementation DIPSbot;
public void Start(... | mit | C# |
f8196df48c94b8bf590160cf378342c48bee2d85 | Convert an null reference to VlcInstance to IntPtr.Zero | ZeBobo5/Vlc.DotNet,jeremyVignelles/Vlc.DotNet | src/Vlc.DotNet.Core.Interops/VlcInstance.cs | src/Vlc.DotNet.Core.Interops/VlcInstance.cs | using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed class VlcInstance : InteropObjectInstance
{
private readonly VlcManager myManager;
internal VlcInstance(VlcManager manager, IntPtr pointer) : base(pointer)
{
myManag... | using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed class VlcInstance : InteropObjectInstance
{
private readonly VlcManager myManager;
internal VlcInstance(VlcManager manager, IntPtr pointer) : base(pointer)
{
myManag... | mit | C# |
054f8046c5160e1f2df569f3cf48f815b4d2a5c7 | fix null reference | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk | SnapMD.ConnectedCare.ApiModels/PatientMedicalHistoryProfile.cs | SnapMD.ConnectedCare.ApiModels/PatientMedicalHistoryProfile.cs | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | // Copyright 2015 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or ag... | apache-2.0 | C# |
74ab6d43437e3976d0d538a9403645213a063bb3 | Implement activating game objects | bartlomiejwolk/ActivateGameObject | ActivateGameObject.cs | ActivateGameObject.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace ActivateGameObjectEx {
public sealed class ActivateGameObject : MonoBehaviour {
#region CONSTANTS
public const string Version = "v0.1.0";
public const string Extension = "ActivateGameObject";
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace ActivateGameObjectEx {
public sealed class ActivateGameObject : MonoBehaviour {
#region CONSTANTS
public const string Version = "v0.1.0";
public const string Extension = "ActivateGameObject";
... | mit | C# |
d0cf43fc2efa02d19a60005a4f6347a9ebf6b02c | Add tests for PascalCaseToSpacedString extensions | entelect/Entelect | test/Entelect.Tests/Strings/StringExtensionsTests.cs | test/Entelect.Tests/Strings/StringExtensionsTests.cs | using System;
using NUnit.Framework;
using Entelect.Extensions;
namespace Entelect.Tests.Strings
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void ContainsIgnoringCase()
{
var doesContain = "asd".Contains("S",StringComparison.OrdinalIgnoreCase);
... | using System;
using NUnit.Framework;
using Entelect.Extensions;
namespace Entelect.Tests.Strings
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void ContainsIgnoringCase()
{
var doesContain = "asd".Contains("S",StringComparison.OrdinalIgnoreCase);
... | mit | C# |
ca9489c90706ebf2ef09be9f72375f43169115ce | Fix InBetweenInspector | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.SDK/Inspectors/Utilities/Solvers/InBetweenInspector.cs | Assets/MixedRealityToolkit.SDK/Inspectors/Utilities/Solvers/InBetweenInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities.Solvers;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers
{
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities.Solvers;
using UnityEditor;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers
{
... | mit | C# |
084931db61d62f7e777b05163e6ff37d58c3f5da | Make GetUniqueName() virtual so it's possible to inject a customized version when extending the compiler | drslump/boo,drslump/boo,hmah/boo,KidFashion/boo,KingJiangNet/boo,KidFashion/boo,bamboo/boo,BitPuffin/boo,KingJiangNet/boo,KingJiangNet/boo,BITechnologies/boo,BitPuffin/boo,KingJiangNet/boo,drslump/boo,hmah/boo,rmboggs/boo,BillHally/boo,BITechnologies/boo,boo-lang/boo,BitPuffin/boo,drslump/boo,bamboo/boo,BITechnologies/... | src/Boo.Lang.Compiler/Services/UniqueNameProvider.cs | src/Boo.Lang.Compiler/Services/UniqueNameProvider.cs | #region license
// Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// 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 retain the above c... | #region license
// Copyright (c) 2009 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// 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 retain the above c... | bsd-3-clause | C# |
638fd0bf8e4fc24b10d1b8cf0358331da56b3ec2 | Document OriginAttractionForce API | drewnoakes/boing | Boing/Forces/OriginAttractionForce.cs | Boing/Forces/OriginAttractionForce.cs | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// 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 ... | #region License
// Copyright 2015-2017 Drew Noakes, Krzysztof Dul
//
// 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 ... | apache-2.0 | C# |
d1dbfcc3a087ad4a4c1f99687c0d0839150287a8 | Fix wrong filesystem in docstring | drebrez/DiscUtils | Library/DiscUtils.Ext/ExtFileSystemOptions.cs | Library/DiscUtils.Ext/ExtFileSystemOptions.cs | //
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, merge,... | //
// Copyright (c) 2008-2011, Kenneth Bell
//
// 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, merge,... | mit | C# |
b4e204834e4dc0e37fc3d548965189cf9a698ea7 | Update RequestPostProcessorBehavior.cs | jbogard/MediatR | src/MediatR/Pipeline/RequestPostProcessorBehavior.cs | src/MediatR/Pipeline/RequestPostProcessorBehavior.cs | namespace MediatR.Pipeline
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Behavior for executing all <see cref="IRequestPostProcessor{TRequest,TResponse}"/> instances after handling the request
/// </summary>
/// <typeparam name="TRequ... | .namespace MediatR.Pipeline
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Behavior for executing all <see cref="IRequestPostProcessor{TRequest,TResponse}"/> instances after handling the request
/// </summary>
/// <typeparam name="TRe... | apache-2.0 | C# |
6651647cf4a2f401dcef3c964e6fd436071da318 | Fix commit 17455f50d29919a38a48a666faf80c3c2cf4aae1 | StockSharp/StockSharp | Samples/Connectors/SampleConnection/OrdersWindow.xaml.cs | Samples/Connectors/SampleConnection/OrdersWindow.xaml.cs | namespace SampleConnection
{
using Ecng.Common;
using Ecng.Xaml;
using StockSharp.Algo;
using StockSharp.BusinessEntities;
using StockSharp.Localization;
using StockSharp.Xaml;
public partial class OrdersWindow
{
public OrdersWindow()
{
InitializeComponent();
}
private static Connector Connector ... | namespace SampleConnection
{
using Ecng.Common;
using Ecng.Xaml;
using StockSharp.Algo;
using StockSharp.BusinessEntities;
using StockSharp.Localization;
using StockSharp.Xaml;
public partial class OrdersWindow
{
public OrdersWindow()
{
InitializeComponent();
}
private static Connector Connector ... | apache-2.0 | C# |
f26ed9455c6887b0181dbcd4e0e95ce004c4a271 | fix creating listview columns | punker76/simple-music-player | SimpleMusicPlayer/SimpleMusicPlayer/Base/BaseListView.cs | SimpleMusicPlayer/SimpleMusicPlayer/Base/BaseListView.cs | using System;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace SimpleMusicPlayer.Base
{
public class BaseListView : ListView
{
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e) {
base.On... | using System;
using System.ComponentModel;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace SimpleMusicPlayer.Base
{
public class BaseListView : ListView
{
public BaseListView() {
ItemsSourceProperty.AddOwner(typeof(BaseListView), new FrameworkP... | mit | C# |
554ad46eeb5d29da37b125425cba76e3837fb047 | Correct lat/long | CB17Echo/DroneSafety,CB17Echo/DroneSafety,CB17Echo/DroneSafety | AzureFunctions/WiFiGatherer/run.csx | AzureFunctions/WiFiGatherer/run.csx | #load "../Models/WiFi.csx"
using Microsoft.Azure.Documents.Spatial;
using System;
using System.Collections.Generic;
static Random RNG = new Random();
public static int MinsToConnections(int mins, double modifier)
{
//An empirical model of number of connections based on time of day
double trueConnections = -... | #load "../Models/WiFi.csx"
using Microsoft.Azure.Documents.Spatial;
using System;
using System.Collections.Generic;
static Random RNG = new Random();
public static int MinsToConnections(int mins, double modifier)
{
//An empirical model of number of connections based on time of day
double trueConnections = -... | apache-2.0 | C# |
d38dc56123bfb1ea5c96cff3fd92a7f3b8f7bd05 | Implement the StandardAjax Platform API | RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake | Snowflake.StandardAjax/StandardAjax.Platform.cs | Snowflake.StandardAjax/StandardAjax.Platform.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Ajax;
using Snowflake.Platform;
using Snowflake.Emulator.Input;
namespace Snowflake.StandardAjax
{
public partial class StandardAjax
{
[AjaxMethod(MethodPrefix = "Platform... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Ajax;
using Snowflake.Platform;
using Snowflake.Emulator.Input;
namespace Snowflake.StandardAjax
{
public partial class StandardAjax
{
[AjaxMethod(MethodPrefix = "Platform... | mpl-2.0 | C# |
b92ae5550f435bd21edfbe099d82c9d34606e2d1 | clean code | tabby336/Solution1,tabby336/Solution1,tabby336/Solution1,tabby336/Solution1 | Solution1/DataAccess/Repositories/Repository.cs | Solution1/DataAccess/Repositories/Repository.cs | using DataAccess.Repositories.Interfaces;
using DataAccess.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DataAccess.Repositories
{
public abstract class Repository<T> : IRepository<T>
where T : BaseModel
{
protected readonly PlatformManagement context;
... | using DataAccess.Repositories.Interfaces;
using DataAccess.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace DataAccess.Repositories
{
public abstract class Repository<T> : IRepository<T>
where T : BaseModel
{
protected readonly PlatformManagement context;
... | mit | C# |
5cccb424aad867abd1e0e540f0c30ce02707a6a1 | Store the user when authenticating | flagbug/Espera,punker76/Espera | Espera/Espera.Core/Analytics/BuddyAnalyticsEndpoint.cs | Espera/Espera.Core/Analytics/BuddyAnalyticsEndpoint.cs | using Buddy;
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
namespace Espera.Core.Analytics
{
public class BuddyAnalyticsEndpoint : IAnalyticsEndpoint
{
private readonly BuddyClient client;
private AuthenticatedUser storedUser;... | using Buddy;
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
namespace Espera.Core.Analytics
{
public class BuddyAnalyticsEndpoint : IAnalyticsEndpoint
{
private readonly BuddyClient client;
private AuthenticatedUser storedUser;... | mit | C# |
66c7436476ae3665db85cb195d24ea6067293827 | add comment | breakds/monster-avengers,breakds/monster-avengers,breakds/monster-avengers,breakds/monster-avengers,breakds/monster-avengers,breakds/monster-avengers,breakds/monster-avengers | csharp/winbind_wrapper/winbind_wrapper/Program.cs | csharp/winbind_wrapper/winbind_wrapper/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using winbind_wrapper.armor_up_wrapper;
namespace winbind_wrapper
{
class Program
{
static void Main(string[] args)
{
// Wrapper.Initialize should be called only once... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using winbind_wrapper.armor_up_wrapper;
namespace winbind_wrapper
{
class Program
{
static void Main(string[] args)
{
// Wrapper.Initialize should be called only once... | mit | C# |
116f05edb813f013ce6e44e94db26b65f86df5c7 | Add support for Unmarried/Never married death date | ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer | FTAnalyser/SharedAssemblyVersion.cs | FTAnalyser/SharedAssemblyVersion.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | apache-2.0 | C# |
35148a610f1cd157a7ce8e74944ea66a2545fa79 | refactor tests | mdsol/Medidata.ZipkinTracerModule | Medidata.ZipkinTracerModule.Test/ZipkinClientTests.cs | Medidata.ZipkinTracerModule.Test/ZipkinClientTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
using Rhino.Mocks;
namespace Medidata.ZipkinTracerModule.Test
{
[TestClass]
public class ZipkinClientTests
{
private IFixture fixture;
[TestInitialize]
public void Init()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
using Rhino.Mocks;
namespace Medidata.ZipkinTracerModule.Test
{
[TestClass]
public class ZipkinClientTests
{
private IFixture fixture;
[TestInitialize]
public void Init()
{
... | mit | C# |
4817dfe5c25b94c1bb11830d13c06113c516a31d | Return DisposableAction.Noop for the null profiler instead of creating new objects for every step. | duncansmart/kudu,kenegozi/kudu,juoni/kudu,dev-enthusiast/kudu,puneet-gupta/kudu,kali786516/kudu,sitereactor/kudu,bbauya/kudu,dev-enthusiast/kudu,WeAreMammoth/kudu-obsolete,chrisrpatterson/kudu,puneet-gupta/kudu,WeAreMammoth/kudu-obsolete,shanselman/kudu,uQr/kudu,sitereactor/kudu,juvchan/kudu,oliver-feng/kudu,YOTOV-LIMI... | Kudu.Core/Performance/NullProfiler.cs | Kudu.Core/Performance/NullProfiler.cs | using System;
using Kudu.Contracts;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Performance
{
public class NullProfiler : IProfiler
{
public static IProfiler Instance = new NullProfiler();
private NullProfiler()
{
}
public IDisposable Step(string value)
... | using System;
using Kudu.Contracts;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Performance
{
public class NullProfiler : IProfiler
{
public static IProfiler Instance = new NullProfiler();
private NullProfiler()
{
}
public IDisposable Step(string value)
... | apache-2.0 | C# |
daa35cc7cab1a1eca09410a68e3b9008dc59ad58 | remove unused usings | IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework,IdentityServer/IdentityServer4.EntityFramework | test/IdentityServer4.EntityFramework.UnitTests/Mappers/ApiResourceMappersTests.cs | test/IdentityServer4.EntityFramework.UnitTests/Mappers/ApiResourceMappersTests.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 System.Linq;
using FluentAssertions;
using IdentityServer4.EntityFramework.Mappers;
using IdentityServer4.Models;
using Xunit;
using Ap... | // 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 System;
using System.Linq;
using FluentAssertions;
using IdentityServer4.EntityFramework.Mappers;
using IdentityServer4.Models;
using X... | apache-2.0 | C# |
87e1065681337f205837f5257e0bb215edf7a6c5 | Adjust git cmd logging | michael-reichenauer/GitMind | GitMind/Utils/Git/Private/GitCmd.cs | GitMind/Utils/Git/Private/GitCmd.cs | using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using GitMind.ApplicationHandling;
using GitMind.Common.Tracking;
using GitMind.Utils.OsSystem;
namespace GitMind.Utils.Git.Private
{
internal class GitCmd : IGitCmd
{
// git config --list --show-origin
... | using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using GitMind.ApplicationHandling;
using GitMind.Utils.OsSystem;
namespace GitMind.Utils.Git.Private
{
internal class GitCmd : IGitCmd
{
// git config --list --show-origin
private static readonly strin... | mit | C# |
36c5951ba91dd5bfb2e776e562b21dafe9dd9f07 | Rename TestCase | umm-projects/animationevent_dispatcher | Assets/Tests/Scripts/UnityModule/AnimationEventDispatcher/GeneralDispatcherTest.cs | Assets/Tests/Scripts/UnityModule/AnimationEventDispatcher/GeneralDispatcherTest.cs | using System.Collections;
using NUnit.Framework;
using UniRx;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;
using UnityModule.AnimationEventDispatcher;
namespace Tests.UnityModule {
public class GeneralDispatcherTest {
[UnityTest]
public IEnumerator OnDispatc... | using System.Collections;
using NUnit.Framework;
using UniRx;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;
using UnityModule.AnimationEventDispatcher;
namespace Tests.UnityModule {
public class AnimationEventDispatcherTest {
[UnityTest]
public IEnumerator On... | mit | C# |
0dc7bbb9380f9557a70e9729aab2de0527e9288f | Fix issue #261 | arleyandrada/PushSharp,volkd/PushSharp,richardvaldivieso/PushSharp,rucila/PushSharp,profporridge/PushSharp,ingljo/PushSharp,rucila/PushSharp,wanglj7525/PushSharp,agran/PushSharp,cnbin/PushSharp,fhchina/PushSharp,volkd/PushSharp,rolltechrick/PushSharp,tianhang/PushSharp,kouweizhong/PushSharp,FragCoder/PushSharp,tianhang... | PushSharp.Blackberry/BlackberryPushChannelSettings.cs | PushSharp.Blackberry/BlackberryPushChannelSettings.cs | using System;
using PushSharp.Core;
namespace PushSharp.Blackberry
{
public class BlackberryPushChannelSettings : IPushChannelSettings
{
public string ApplicationId { get; set; }
public string Password { get; set; }
public string Boundary { get { return "ASDFaslkdfjasfaSfdasfhpoiurwqrwm"; } }
... | using PushSharp.Core;
namespace PushSharp.Blackberry
{
public class BlackberryPushChannelSettings : IPushChannelSettings
{
public string ApplicationId { get; set; }
public string Password { get; set; }
public string Boundary { get { return "ASDFaslkdfjasfaSfdasfhpoiurwqrwm"; } }
private cons... | apache-2.0 | C# |
31d17e5e9d3c545c5f68a545ba41ae36196cadce | Split out extensions for Entity Framework, Azure Storage, and Mongo. These are now separate projects (and NuGet packages) that all reference the Tables project (which again references the core service project). New NuGet packages are creates and references added. | Azure/azure-mobile-services-quickstarts,brettsam/azure-mobile-services-quickstarts,Azure/azure-mobile-apps-quickstarts,soninaren/azure-mobile-services-quickstarts,aziel/azure-mobile-services-quickstarts,Azure/azure-mobile-services-quickstarts,Azure/azure-mobile-apps-quickstarts,jwallra/azure-mobile-services-quickstarts... | Quickstart/ZUMOAPPNAMEService/DataObjects/TodoItem.cs | Quickstart/ZUMOAPPNAMEService/DataObjects/TodoItem.cs | using Microsoft.WindowsAzure.Mobile.Service;
namespace ZUMOAPPNAMEService.DataObjects
{
public class TodoItem : EntityData
{
public string Text { get; set; }
public bool Complete { get; set; }
}
} | using Microsoft.WindowsAzure.Mobile.Service;
namespace ZUMOAPPNAMEService.DataObjects
{
public class TodoItem : TableData
{
public string Text { get; set; }
public bool Complete { get; set; }
}
} | apache-2.0 | C# |
8b68b2e4f7a2156b35e93811f476df565c525e1f | Bump version to 3.3 | robv8r/FluentValidation,cecilphillip/FluentValidation,roend83/FluentValidation,regisbsb/FluentValidation,mgmoody42/FluentValidation,deluxetiky/FluentValidation,IRlyDontKnow/FluentValidation,ruisebastiao/FluentValidation,GDoronin/FluentValidation,pacificIT/FluentValidation,olcayseker/FluentValidation,roend83/FluentValid... | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
6df9a71818c8ca7a59b079f575a3081d2969e282 | fix style | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs | osu.Framework.Tests/Audio/AudioCollectionManagerTest.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;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
[TestFixture]
public class AudioCollectionManage... | // 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.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Audio;
namespace osu.Framework.Tests.Audio
{
... | mit | C# |
73d09328db749b4d6f114a7ac714863eb5ccd1d6 | Fix for crash when using dot syntax for read count when target doesn't exist | inkle/ink,ghostpattern/ink,ghostpattern/ink,inkle/ink,ivaylo5ev/ink,ivaylo5ev/ink | inklecate/ParsedHierarchy/VariableReference.cs | inklecate/ParsedHierarchy/VariableReference.cs | using System.Collections.Generic;
namespace Inklewriter.Parsed
{
internal class VariableReference : Expression
{
public string name {
get {
if (path != null && path.Count == 1)
return path [0];
else
return null;
... | using System.Collections.Generic;
namespace Inklewriter.Parsed
{
internal class VariableReference : Expression
{
public string name {
get {
if (path != null && path.Count == 1)
return path [0];
else
return null;
... | mit | C# |
6ae3430ca3f502d1e6460ed5ae85ccb52b0d1943 | Move feature ideas to GitHub issue tracker | DanRigby/ChatRelay | ChatRelay/Program.cs | ChatRelay/Program.cs | using System;
namespace ChatRelay
{
class Program
{
private static readonly Relay relay = new Relay();
static void Main()
{
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
Run();
}
public static void Run()
{
... | using System;
namespace ChatRelay
{
class Program
{
private static readonly Relay relay = new Relay();
static void Main()
{
AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionTrapper;
Run();
}
public static void Run()
{
... | mit | C# |
9a69d9869f0381849df937baf2a36e3f81f7ae40 | Increase version to 2.4.2 | Azure/amqpnetlite | src/Properties/Version.cs | src/Properties/Version.cs | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the ""License""); you may not use this
// file except in compliance with the License. You may obtain a co... | apache-2.0 | C# |
cc6c24977067ee91e4275cebd1d6a79286b3d04e | Remove foo() method | henriqueprj/infixtopostfix | test/MathParser.Tests/InfixToPostfixConverterTest.cs | test/MathParser.Tests/InfixToPostfixConverterTest.cs | using System;
using FluentAssertions;
using Xunit;
namespace MathParser.Tests
{
public class InfixToPostfixConverterTest
{
[Fact]
public void Soma_com_dois_operandos()
{
var converter = new InfixToPostfixConverter();
var result = converter.Convert("2... | using System;
using FluentAssertions;
using Xunit;
namespace MathParser.Tests
{
public class InfixToPostfixConverterTest
{
[Fact]
public void Soma_com_dois_operandos()
{
var converter = new InfixToPostfixConverter();
var result = converter.Convert("2... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.