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 |
|---|---|---|---|---|---|---|---|---|
17f078abde14fa6c767544927dd613ff22f63bf6 | fix a problem with the formatting of the json | marinoscar/TrackingApp | Code/TrackingApp.Droid/Event.cs | Code/TrackingApp.Droid/Event.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace TrackingApp.Droid
{
public class Event : EntityBase
{
public Event(string action... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace TrackingApp.Droid
{
public class Event : EntityBase
{
public Event(string action... | mit | C# |
b7b4e0b26a15f5f5ecf23936f956e0818daf2fad | Update tests to run in serial for #59. | Haacked/Scientist.net | test/Scientist.Test/Properties/AssemblyInfo.cs | test/Scientist.Test/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Xunit;
// 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: Asse... | 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("Un... | mit | C# |
5df0180305eda67b1d694500f928879fff61b40b | Update RoleAuthorizeAttribute.cs | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Attributes/RoleAuthorizeAttribute.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web/Attributes/RoleAuthorizeAttribute.cs | using System.Linq;
using System.Web;
using System.Web.Mvc;
using SFA.DAS.ProviderApprenticeshipsService.Web.Extensions;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Attributes
{
public class AllowAllRolesAttribute : ActionFilterAttribute
{
}
public class RoleAuthorizeAttribute : AuthorizeAtt... | using System.Linq;
using System.Web;
using System.Web.Mvc;
using SFA.DAS.ProviderApprenticeshipsService.Web.Extensions;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Attributes
{
public class AllowAllRolesAttribute : ActionFilterAttribute
{
}
public class RoleAuthorizeAttribute : AuthorizeAtt... | mit | C# |
195e8e1609b987a32597e48e86453093247ccfd2 | fix compilation | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/ShaderLabHighlighterPropertiesProvider.cs | resharper/resharper-unity/src/Rider/ShaderLabHighlighterPropertiesProvider.cs | using JetBrains.Application;
using JetBrains.RdBackend.Common.Features.Daemon;
using JetBrains.RdBackend.Common.Features.Daemon.Registration;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Daemon.Stages;
using JetBrains.Rider.Model.HighlighterRegistration;
namespace JetBrains.ReSharper.Plugins.Unity.Rider
{
[Sh... | using JetBrains.Application;
using JetBrains.RdBackend.Common.Features.Daemon;
using JetBrains.RdBackend.Common.Features.Daemon.Registration;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Daemon.Stages;
using JetBrains.Rider.Model.HighlighterRegistration;
namespace JetBrains.ReSharper.Plugins.Unity.Rider
{
[Sh... | apache-2.0 | C# |
9e485021c1dea5e3c1583cdb26fdbb83858e74e8 | Fix flaky unit test caused by concurrency issue | paiden/Nett | Source/Nett/UserTypeMetaData.cs | Source/Nett/UserTypeMetaData.cs | namespace Nett
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Util;
internal static class UserTypeMetaData
{
private static readonly ConcurrentDictionary<Type, MetaDataInfo> MetaData = new... | namespace Nett
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Util;
internal static class UserTypeMetaData
{
private static readonly Dictionary<Type, MetaDataInfo> MetaData = new Dictionary<Type, MetaDataInfo>();
public ... | mit | C# |
801a7c76527a571c77dad8d3bd247e7039f73173 | Add copyright header to TransportSocketOptions.cs. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.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;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
{
// TODO: Come... | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
{
// TODO: Come up with some options
public class SocketTransportOptions
{
}
}
| apache-2.0 | C# |
5eb76deb755f0596cad5b83d17fefb8cc68e7ce0 | handle auth proxy url with jupyter job | h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6,h2020-westlife-eu/west-life-wp6 | wp6-virtualfolder/src/WP6Service2/WP6Service2/Services/PerUserProcess/JupyterJob.cs | wp6-virtualfolder/src/WP6Service2/WP6Service2/Services/PerUserProcess/JupyterJob.cs | using System;
using System.CodeDom;
using System.Data;
using System.Linq;
using Dropbox.Api.Properties;
using ServiceStack.OrmLite;
using ServiceStack.ServiceHost;
namespace WP6Service2.Services.PerUserProcess
{
/** specific implementation for jupyter notebook - first arg is userid, second arg is portnumber
*... | using System;
using System.CodeDom;
using System.Data;
using System.Linq;
using Dropbox.Api.Properties;
using ServiceStack.OrmLite;
using ServiceStack.ServiceHost;
namespace WP6Service2.Services.PerUserProcess
{
/** specific implementation for jupyter notebook - first arg is userid, second arg is portnumber
*... | mit | C# |
0ee173e56c026abdc7324c26f4a33b92bdd4dcb5 | fix bug in mapzen map data provider | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/library/UtyMap.Unity/Data/Providers/Geo/MapzenMapDataProvider.cs | unity/library/UtyMap.Unity/Data/Providers/Geo/MapzenMapDataProvider.cs | using System;
using System.IO;
using UtyDepend;
using UtyDepend.Config;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
namespace UtyMap.Unity.Data.Providers.Geo
{
/// <summary> Downloads map data from mapzen servers. </summary>
internal class MapzenMapDataProvider : Remote... | using System;
using System.IO;
using UtyDepend;
using UtyDepend.Config;
using UtyMap.Unity.Infrastructure.Diagnostic;
using UtyMap.Unity.Infrastructure.IO;
namespace UtyMap.Unity.Data.Providers.Geo
{
/// <summary> Downloads map data from mapzen servers. </summary>
internal class MapzenMapDataProvider : Remote... | apache-2.0 | C# |
8f8392b8995e5e4bb62c08a30088a2d0287a7e16 | rename object to context | bkoelman/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,srivatsn/roslyn-analyzers,pakdev/roslyn-analyzers,VitalyTVA/roslyn-analyzers,tmeschter/roslyn-analyzers-1,heejaechang/roslyn-analyzers,mattwar/roslyn-analyzers,SpotLabsNET/roslyn-analyzers,jepetty/roslyn-analyzers,genlu/roslyn-analyzers,jinujosep... | SyntaxNodeAnalyzer/SyntaxNodeAnalyzer/SyntaxNodeAnalyzer/DiagnosticAnalyzer.cs | SyntaxNodeAnalyzer/SyntaxNodeAnalyzer/SyntaxNodeAnalyzer/DiagnosticAnalyzer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Text;
name... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Text;
name... | mit | C# |
00197c364032ed09666df5b7f2052d891e6f1158 | Add MVC dependency resolver | rocky0904/mozu-dotnet,Mozu/mozu-dotnet,sanjaymandadi/mozu-dotnet,ezekielthao/mozu-dotnet | Libraries/Mozu.Api.WebToolKit/Mozu.Api.WebToolKit/AbstractWebApiBootstrapper.cs | Libraries/Mozu.Api.WebToolKit/Mozu.Api.WebToolKit/AbstractWebApiBootstrapper.cs | using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.WebApi;
using Mozu.Api.Logging;
using Mozu.Api.ToolKit;
using Mozu.Api.WebToolKit.Events;
using Mozu.Api.WebToolKit.Logging;
using Mozu.Api.WebToolKit.Con... | using System;
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.WebApi;
using Mozu.Api.Logging;
using Mozu.Api.ToolKit;
using Mozu.Api.WebToolKit.Events;
using Mozu.Api.WebToolKit.Logging;
using Mozu.Api.WebToolKit.Controllers;
namespace Mozu.Api.W... | mit | C# |
0a94976666ab9d42a108f212e2ad411e774299f2 | Fix borken test | DimitarDKirov/RealEstateSystem,DimitarDKirov/RealEstateSystem,DimitarDKirov/RealEstateSystem | RealEstateWebApi/Tests/Teleimot.Web.Api.Tests/IntegrationTests/CommentsTests.cs | RealEstateWebApi/Tests/Teleimot.Web.Api.Tests/IntegrationTests/CommentsTests.cs | namespace Teleimot.Web.Api.Tests.IntegrationTests
{
using System.Net;
using System.Net.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyTested.WebApi;
[TestClass]
public class CommentsTests
{
private static IServerBuilder server;
[ClassInitialize]
... | namespace Teleimot.Web.Api.Tests.IntegrationTests
{
using System.Net;
using System.Net.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MyTested.WebApi;
[TestClass]
public class CommentsTests
{
private static IServerBuilder server;
[ClassInitialize]
... | mit | C# |
4c564581739a13e1de73ef75054bd7c825dca384 | Change button location to the right side of dropdown | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.... | mit | C# |
f8b5f74ef4d415914a2476f71956db4391ff66a7 | Fix TeamCityOutputSink to not handle trace and information messages | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/OutputSinks/TeamCityOutputSink.cs | source/Nuke.Common/OutputSinks/TeamCityOutputSink.cs | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Utilities;
namespa... | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Utilities;
namespa... | mit | C# |
f14e8418f1de24b04e8fcd37ce13ecdc832aa102 | Update AutomationActionFrequency.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/AutomationActionFrequency.cs | main/Smartsheet/Api/Models/AutomationActionFrequency.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 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) 2018 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# |
9b7770c2a425c74b92e183d1cc4de45cc8a6aca3 | Implement IHtmlTableDataCellElement | zedr0n/AngleSharp.Local,Livven/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl... | AngleSharp/Dom/Html/HtmlTableDataCellElement.cs | AngleSharp/Dom/Html/HtmlTableDataCellElement.cs | namespace AngleSharp.Dom.Html
{
using AngleSharp.Html;
/// <summary>
/// Represents the object for HTML td elements.
/// </summary>
sealed class HtmlTableDataCellElement : HtmlTableCellElement, IHtmlTableDataCellElement
{
#region ctor
public HtmlTableDataCellElement(Document o... | namespace AngleSharp.Dom.Html
{
using AngleSharp.Html;
/// <summary>
/// Represents the object for HTML td elements.
/// </summary>
sealed class HtmlTableDataCellElement : HtmlTableCellElement, IHtmlTableCellElement
{
#region ctor
public HtmlTableDataCellElement(Document owner... | mit | C# |
f4f0a4fe37a0f90c3513898a6fff017380be2f1a | Update templates path | projectkudu/AzureFunctions,projectkudu/AzureFunctions,projectkudu/AzureFunctions,projectkudu/WebJobsPortal,agruning/azure-functions-ux,chunye/azure-functions-ux,agruning/azure-functions-ux,projectkudu/WebJobsPortal,projectkudu/AzureFunctions,chunye/azure-functions-ux,agruning/azure-functions-ux,chunye/azure-functions-u... | AzureFunctions/Code/Settings.cs | AzureFunctions/Code/Settings.cs | using AzureFunctions.Contracts;
using System.Configuration;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Web.Hosting;
namespace AzureFunctions.Code
{
public class Settings : ISettings
{
private static string config(string @default = null, [CallerMe... | using AzureFunctions.Contracts;
using System.Configuration;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Web.Hosting;
namespace AzureFunctions.Code
{
public class Settings : ISettings
{
private static string config(string @default = null, [CallerMe... | apache-2.0 | C# |
84ab4cff36c5628999fee9c330a8b929b8f5a498 | Implement InMemoryFileSystem methods | appharbor/appharbor-cli | src/AppHarbor.Tests/InMemoryFileSystem.cs | src/AppHarbor.Tests/InMemoryFileSystem.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace AppHarbor.Tests
{
public class InMemoryFileSystem : IFileSystem
{
private readonly IDictionary<string, byte[]> _files;
public InMemoryFileSystem()
{
_files = new Dictionary<string, byte[]>();
}
public void Delete(string path)
... | using System;
using System.IO;
namespace AppHarbor.Tests
{
public class InMemoryFileSystem : IFileSystem
{
public void Delete(string path)
{
throw new NotImplementedException();
}
public Stream OpenRead(string path)
{
throw new NotImplementedException();
}
public Stream OpenWrite(string path)
... | mit | C# |
4a0b7494ada5a509e287b2e72c30da8914d8ccca | Update start message | matteocontrini/locuspocusbot | LocusPocusBot/Handlers/StartHandler.cs | LocusPocusBot/Handlers/StartHandler.cs | using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.Types.Enums;
namespace LocusPocusBot.Handlers
{
public class StartHandler : HandlerBase
{
private readonly IBotService bot;
public StartHandler(IBotService botService)
{
this.bot = botService;
}
... | using System.Text;
using System.Threading.Tasks;
using Telegram.Bot.Types.Enums;
namespace LocusPocusBot.Handlers
{
public class StartHandler : HandlerBase
{
private readonly IBotService bot;
public StartHandler(IBotService botService)
{
this.bot = botService;
}
... | mit | C# |
0e9d0f91337e34f60ae2617e00ec3fd6c1f7666f | Implement sender | sakapon/Samples-2017 | Network/UdpSample/UdpSender/Program.cs | Network/UdpSample/UdpSender/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace UdpSender
{
class Program
{
const string ReceiverAddress = "127.0.0.1";
const int ReceiverPort = 8100;
static void Main(strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UdpSender
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
9324b4d5b185d2ff3254a0cbd29597dcb7aa537a | Add test to make sure normal collection works. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | mit | C# |
c58bcf9ec349f6dcf8ea6b897b6a8a1fb06e9816 | add data annotations to baseDataModel | olebg/car-mods-heaven,olebg/car-mods-heaven | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data.Models/Abstracts/BaseDataModel.cs | CarModsHeaven/CarModsHeaven/CarModsHeaven.Data.Models/Abstracts/BaseDataModel.cs | using CarModsHeaven.Data.Models.Contracts;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CarModsHeaven.Data.Models.Abstracts
{
public abstract class BaseDataModel : IDeletable, IAuditable
{
public Guid Id { get; set; }
... | using CarModsHeaven.Data.Models.Contracts;
using System;
namespace CarModsHeaven.Data.Models.Abstracts
{
public abstract class BaseDataModel : IDeletable, IAuditable
{
public bool IsDeleted { get; set; }
public DateTime? DeletedOn { get; set; }
public DateTime CreatedOn { get; set; }
... | mit | C# |
353f65ae28232b7dee9a3c91249faa586de875a1 | fix typo | maxwellb/csharp-driver,datastax/csharp-driver,maxwellb/csharp-driver,datastax/csharp-driver | src/Cassandra/GraphProtocol.cs | src/Cassandra/GraphProtocol.cs | //
// Copyright (C) DataStax 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 la... | //
// Copyright (C) DataStax 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 la... | apache-2.0 | C# |
9e28fbe2a54d23e7992cf13d0ae09178cb8577d2 | Update HttpContextBaseExtensions.cs | gcsuk/Orchard,bedegaming-aleksej/Orchard,OrchardCMS/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,bedegaming-aleksej/Orchard,omidnasri/Orchard,Lombiq/Orchard,jtkech/Orchard,Fogolan/OrchardForWork,Lombiq/Orchard,jagraz/Orchard,JRKelso/Orchard,phillipsj/Orchard,armanforghani/Orchard,sfmskywalker/Orchard,jersiovic... | src/Orchard/Mvc/Extensions/HttpContextBaseExtensions.cs | src/Orchard/Mvc/Extensions/HttpContextBaseExtensions.cs | using System.Web;
namespace Orchard.Mvc.Extensions {
public static class HttpContextBaseExtensions {
public static bool IsBackgroundContext(this HttpContextBase httpContextBase) {
return httpContextBase == null || httpContextBase is MvcModule.HttpContextPlaceholder;
}
}
public ... | using System.Web;
namespace Orchard.Mvc.Extensions {
public static class HttpContextBaseExtensions {
public static bool IsBackgroundContext(this HttpContextBase httpContextBase) {
return httpContextBase == null || httpContextBase is MvcModule.HttpContextPlaceholder;
}
}
}
| bsd-3-clause | C# |
f74331817a34776ce6a95de9a954a598fa0e955f | Bump version | grcodemonkey/iron_sharp | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("grcodemonkey")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("2014.06.01.*")]
[assembly: AssemblyFileVersion("2014.05.01.0")] | using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("grcodemonkey")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("2014.05.23.*")]
[assembly: AssemblyFileVersion("2014.05.23.0")] | mit | C# |
242428f94c25df7635697f1904fa4200e2703bb8 | bump version | ceee/PocketSharp | PocketSharp/Properties/AssemblyInfo.cs | PocketSharp/Properties/AssemblyInfo.cs | using System.Resources;
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.
[asse... | using System.Resources;
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.
[asse... | mit | C# |
e531dc1cb01b034b065963e0f7f6624234b3087c | Update content for feature not enabled | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/FeatureNotEnabled.cshtml | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/FeatureNotEnabled.cshtml |
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Under development</h1>
<p>This service is currently being developed and you don't yet have access.</p>
</div>
</div>
@section breadcrumb {
<div class="breadcrumbs">
<ol>
<li><a href="@... |
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Coming soon</h1>
<p>This service isn't available yet.</p>
</div>
</div>
@section breadcrumb {
<div class="breadcrumbs">
<ol>
<li><a href="@Url.Action("Index","Home")">Back to homepage<... | mit | C# |
41efbcad6326d3163cc53e0f85edf18bc094207a | Add a stub implementation of VisualStudioProjectTracker.GetProject | dotnet/roslyn,eriawan/roslyn,agocke/roslyn,MichalStrehovsky/roslyn,wvdd007/roslyn,AlekseyTs/roslyn,jcouv/roslyn,bartdesmet/roslyn,tannergooding/roslyn,agocke/roslyn,tmat/roslyn,bartdesmet/roslyn,swaroop-sridhar/roslyn,agocke/roslyn,jmarolf/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,tmat/roslyn,mavasani/roslyn,nguerre... | src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs | src/VisualStudio/Core/Def/Implementation/ProjectSystem/VisualStudioProjectTracker.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
usin... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
using M... | mit | C# |
77048118e7df6eed964c7d14012d9a7e1909d54c | fix test method name | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode | PulumiDemo/AppInsightsResourceTests.cs | PulumiDemo/AppInsightsResourceTests.cs | using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Pulumi;
using Pulumi.Azure.AppInsights;
using Pulumi.Azure.Core;
using Pulumi.Testing;
using Xunit;
namespace PulumiDemo
{
public class AppInsightsResourceTests
{
[Fact]
public async Task AppInsightsResourceExists()
{... | using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Pulumi;
using Pulumi.Azure.AppInsights;
using Pulumi.Azure.Core;
using Pulumi.Testing;
using Xunit;
namespace PulumiDemo
{
public class AppInsightsResourceTests
{
[Fact]
public async Task AppInsightsKeyExists()
{
... | mit | C# |
9bc2f6e5f92222a33455b66bcaf59efba64615f5 | disable twitter auth | DanielLarsenNZ/Radiostr,DanielLarsenNZ/Radiostr | Radiostr.Web/App_Start/Startup.Auth.cs | Radiostr.Web/App_Start/Startup.Auth.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using Radiostr.Web.Con... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Microsoft.Owin.Security.OAuth;
using Owin;
using Radiostr.Web.Con... | mit | C# |
778562528da8bcde7f3d01a4b79dbd9f33288c5f | remove use of cache region | yuzukwok/IdentityServer3.AccessTokenValidation,liupengf12/IdentityServer3.AccessTokenValidation,faithword/IdentityServer3.AccessTokenValidation,IdentityServer/IdentityServer3.AccessTokenValidation | source/AccessTokenValidation/Cache.cs | source/AccessTokenValidation/Cache.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* 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 la... | apache-2.0 | C# |
4c53a90e044aee18db8fc0cdd6158fc8a9fd376e | Fix error in JumpListService not adding resent folders | michael-reichenauer/GitMind | GitMind/RepositoryViews/Open/JumpListService.cs | GitMind/RepositoryViews/Open/JumpListService.cs | using System.IO;
using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling;
namespace GitMind.RepositoryViews.Open
{
internal class JumpListService : IJumpListService
{
private static readonly int MaxTitleLength = 25;
public void AddPath(string path)
{
if (string.IsNullOrEmpty(... | using System.IO;
using System.Windows;
using System.Windows.Shell;
using GitMind.ApplicationHandling;
using GitMind.ApplicationHandling.SettingsHandling;
namespace GitMind.RepositoryViews.Open
{
internal class JumpListService : IJumpListService
{
private static readonly int MaxTitleLength = 25;
public void A... | mit | C# |
ac9f9bb13039101a96420a53590efa3e344c876d | fix doc-comment file attribute | t-ashula/bl4n | bl4n/ISpace.cs | bl4n/ISpace.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ISpace.cs">
// bl4n - Backlog.jp API Client library
// this file is part of bl4n, license under MIT license. http://t-ashula.mit-license.org/2015
// </copyright>
// ----------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BacklogTestsForRealServer.cs">
// bl4n - Backlog.jp API Client library
// this file is part of bl4n, license under MIT license. http://t-ashula.mit-license.org/2015
// </copyr... | mit | C# |
264a4a35da37537136610f6766ec74617b85f284 | Add rendering, no avail meanwhile | sheix/GameEngine,sheix/GameEngine,sheix/GameEngine | Infrastructure/SceneRenderer.cs | Infrastructure/SceneRenderer.cs | using System;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using OpenTK.Input;
using System.Drawing;
namespace Infrastructure
{
public class SceneRenderer : GameWindow
{
public SceneRenderer ()
: base(800, 600, GraphicsMode.Default, "GameEngine v0.01", GameWindowFlags.Default, DisplayDevi... | using System;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using OpenTK.Input;
namespace Infrastructure
{
public class SceneRenderer : GameWindow
{
public SceneRenderer ()
: base(800, 600, GraphicsMode.Default, "GameEngine v0.01", GameWindowFlags.Default, DisplayDevice.Default, 2, 1, Grap... | mit | C# |
6a0498331d2b4c4f8db7f845b1f2a8f65f3ab499 | Increase timeout for running in container | NimbusAPI/Nimbus,NimbusAPI/Nimbus | tests/Nimbus.UnitTests/MulticastRequestResponseTests/WhenTakingTwoResponses.cs | tests/Nimbus.UnitTests/MulticastRequestResponseTests/WhenTakingTwoResponses.cs | using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.MulticastRequestResponseTests
{
[TestFixture]
internal class WhenTakingTwoResponses : GivenAWrapperWithTwoResponses
{
private readonly TimeSpan _timeout = TimeSpan.FromSeconds(1.5);
private s... | using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.MulticastRequestResponseTests
{
[TestFixture]
internal class WhenTakingTwoResponses : GivenAWrapperWithTwoResponses
{
private readonly TimeSpan _timeout = TimeSpan.FromSeconds(1);
private str... | mit | C# |
0bca71f3e9996b846cc425def0c071397fddc552 | Change button padding | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/AccountHandler.cs | SteamAccountSwitcher/AccountHandler.cs | #region
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
#endregion
namespace SteamAccountSwitcher
{
internal class AccountHandler
{
private readonly List<Account> _accounts;
private readonly StackPanel _stackPanel;
private int SelectedIndex = -1;
public AccountHandl... | #region
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
#endregion
namespace SteamAccountSwitcher
{
internal class AccountHandler
{
private readonly List<Account> _accounts;
private readonly StackPanel _stackPanel;
private int SelectedIndex = -1;
public AccountHandl... | mit | C# |
4d52ea305974ecf4f7e571f1925238046b7df2aa | add ToList to SignumControllerFactory | avifatal/framework,AlejandroCano/framework,signumsoftware/framework,signumsoftware/framework,AlejandroCano/framework,avifatal/framework | Signum.React/Facades/SignumControllerFactory.cs | Signum.React/Facades/SignumControllerFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Signum.Utilities;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.AspNetCore.Mvc.Controllers;
namespace Signum.React
{
public class SignumControllerFactory : IApplicationFeatureProvider<... | using System;
using System.Collections.Generic;
using System.Linq;
using Signum.Utilities;
using System.Reflection;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.AspNetCore.Mvc.Controllers;
namespace Signum.React
{
public class SignumControllerFactory : IApplicationFeatureProvider<... | mit | C# |
0729d9d36652e2a48fd08e5122c24d3b94176a9f | Fix bug not properly propagating route arguments | kswoll/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs | WootzJs.Mvc/ControllerActionInvoker.cs | WootzJs.Mvc/ControllerActionInvoker.cs | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | mit | C# |
e77eddc8355615b2e126c35ac80f4a2c18c30817 | Support new PowerShell binary name | mrward/monodevelop-powershell-addin | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellPathLocator.cs | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellPathLocator.cs | //
// PowerShellPathLocator.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// 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 th... | //
// PowerShellPathLocator.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// 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 th... | mit | C# |
1c40e109b3468e3056924db680b713eed05d144d | Update tests | CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client | Test/API/Authorization/AuthorizationApiFacts.cs | Test/API/Authorization/AuthorizationApiFacts.cs | using CareerHub.Client.API.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace CareerHub.Client.Tests.API.Authorization {
public class AuthorizationApiFacts {
[Fact]
public void Get_TokenInfo_Url() {
string access... | using CareerHub.Client.API.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace CareerHub.Client.Tests.API.Authorization {
public class AuthorizationApiFacts {
[Fact]
public void Get_TokenInfo_Url() {
string access... | mit | C# |
418339dde3394a3e92d2c56fd286e4b85638a9d7 | Increase this trial count and write out the absolute error. | airbreather/AirBreather.Common | Source/AirBreather.Common/AirBreather.Common.Tests/WeightedRandomPickerTests.cs | Source/AirBreather.Common/AirBreather.Common.Tests/WeightedRandomPickerTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
using AirBreather.Random;
namespace AirBreather.Tests
{
public sealed class WeightedRandomPickerTests
{
private readonly ITestOutputHelper output;
public WeightedRandomPickerTests(ITest... | using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
using AirBreather.Random;
namespace AirBreather.Tests
{
public sealed class WeightedRandomPickerTests
{
private readonly ITestOutputHelper output;
public WeightedRandomPickerTests(ITest... | bsd-3-clause | C# |
5d3056b1a6eebedf8770b42fdfd79e726c739f50 | Make sure cipher text is not the same as clear text in tests | smoy/Xamarin.Droid.AesCrypto | AesCryptoSample/AesTest.cs | AesCryptoSample/AesTest.cs | using System;
using Xunit;
using Com.Tozny.Crypto.Android;
using System.Text;
using Android.Content;
using Xamarin.Droid.AesCrypto.Util;
using System.Linq;
namespace AesCryptoSample
{
public class AesTest
{
public static Context context;
public const string UnitTestAlias = "Unit Test";
public AesTes... | using System;
using Xunit;
using Com.Tozny.Crypto.Android;
using System.Text;
using Android.Content;
using Xamarin.Droid.AesCrypto.Util;
using System.Linq;
namespace AesCryptoSample
{
public class AesTest
{
public static Context context;
public const string UnitTestAlias = "Unit Test";
public AesTes... | mit | C# |
7cc4104cedd66406a9b1ddf725b62263c5147c0e | add utility to build required claims list from scopes | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | KQAnalytics3/src/KQAnalytics3/Services/Authentication/ClientApiAccessValidator.cs | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static string AuthTypeKey => "authType";
public stati... | using KQAnalytics3.Configuration.Access;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace KQAnalytics3.Services.Authentication
{
public static class ClientApiAccessValidator
{
public static string AuthTypeKey => "authType";
public stati... | agpl-3.0 | C# |
0347c5afd7706b068b593d48fd8ce917383783b1 | Fix serialization of the critical hit field. (#1000) | LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE | Source/ACE.Server/Network/GameEvent/Events/GameEventAttackerNotification.cs | Source/ACE.Server/Network/GameEvent/Events/GameEventAttackerNotification.cs | using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventAttackerNotification : GameEventMessage
{
public GameEventAttackerNotification(Session session, string defenderName, DamageType damageType, float percent, uint damag... | using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventAttackerNotification : GameEventMessage
{
public GameEventAttackerNotification(Session session, string defenderName, DamageType damageType, float percent, uint damag... | agpl-3.0 | C# |
1c67ef7c9190ae8bdfe36cce0ed6d6e5576b040c | Make catchup clock support seeking | peppy/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/CatchUpSpectatorPlayerClock.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/CatchUpSpectatorPlayerClock.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.
#nullable enable
using System;
using osu.Framework.Bindables;
using osu.Framework.Timing;
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
{
/// <summary>... | // 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.
#nullable enable
using System;
using osu.Framework.Bindables;
using osu.Framework.Timing;
namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
{
/// <summary>... | mit | C# |
31431012359bb502be710ba05455e4ab40c8fb94 | Update RuleUpdater.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/RuleUpdater.cs | ProcessBlockUtil/RuleUpdater.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 ... | apache-2.0 | C# |
28418068437e93ff32c358781f18058b3e1b3d03 | upgrade version to 1.3.0 | tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,Aaron-Liu/equeue,geffzhang/equeue | src/EQueue/Properties/AssemblyInfo.cs | src/EQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | mit | C# |
e28f648bbdc42868cc8f55b5db5c76a4200ab3a5 | check the correct version of the file in - remaining == 0 | jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh... | src/Manos/Manos.Threading/Boundary.cs | src/Manos/Manos.Threading/Boundary.cs | //
// Copyright (C) 2011 Robin Duerden (rduerden@gmail.com)
//
// 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... | //
// Copyright (C) 2011 Robin Duerden (rduerden@gmail.com)
//
// 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... | mit | C# |
c4c8fbb71063089ee4f3271dbd43813fa3dbd5d9 | Fix NH-1668 | fredericDelaporte/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,lnu/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibe... | src/NHibernate/Driver/IngresDriver.cs | src/NHibernate/Driver/IngresDriver.cs | using System;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the Ingres DataProvider
/// </summary>
/// <remarks>
/// </remarks>
public class IngresDriver : ReflectionBasedDriver
{
public IngresDriver() : base("Ingres.Client", "Ingres.Client.IngresConnection", "Ingres... | using System;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the Ingres DataProvider
/// </summary>
/// <remarks>
/// </remarks>
public class IngresDriver : ReflectionBasedDriver
{
/// <summary></summary>
public IngresDriver() : base(
"Ca.Ingres.Client",
"C... | lgpl-2.1 | C# |
91f362acfc99413caf715b7a6eadd7bd157727f5 | Change sent from address for GC Eights EOI emails (#10) | croquet-australia/api.croquet-australia.com.au | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/GCEightsEOIEmailGenerator.cs | source/CroquetAustralia.QueueProcessor/Email/EmailGenerators/GCEightsEOIEmailGenerator.cs | using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class GCEightsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddre... | using System.Linq;
using CroquetAustralia.Domain.Features.TournamentEntry.Events;
namespace CroquetAustralia.QueueProcessor.Email.EmailGenerators
{
public class GCEightsEOIEmailGenerator : BaseEmailGenerator
{
/* todo: remove hard coding of email addresses */
private static readonly EmailAddre... | mit | C# |
8f790c732af1daccf927ee5f6ad639afacce4133 | Add note about deprecation | cake-contrib/Cake.Prca.Website,cake-contrib/Cake.Prca.Website | input/index.cshtml | input/index.cshtml | ---
Title: Cake Pull Request Code Analysis
NoSidebar: true
NoContainer: false
NoGutter: true
---
<div class="container">
<h1>Deprecated</h1>
<p>
<strong>This addins are no longer maintained.</strong>
</p>
<p>
Please see <a href="https://cake-contrib.github.io/Cake.Issues.Website/">Cake... | ---
Title: Cake Pull Request Code Analysis
NoSidebar: true
NoContainer: false
NoGutter: true
---
<div class="container">
<h1>What is it?</h1>
<p>
The Pull Request Code Analysis Addin for <a href="http://cakebuild.net/">Cake</a> allows
you to add issues from any analyzer or linter to comments i... | mit | C# |
27e7199f8f2e35f0316a6d34db26d928ede799dc | Fix proxied drawables never expiring. | DrabWeb/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,naoey/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/o... | osu.Framework/Graphics/ProxyDrawable.cs | osu.Framework/Graphics/ProxyDrawable.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | mit | C# |
aa2ba4a91fefb14de1300f12e90f73760ae983a4 | Add MeshWrapper description | jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,u... | PartPreviewWindow/View3D/Actions/MeshWrapper.cs | PartPreviewWindow/View3D/Actions/MeshWrapper.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
fda4d0341440b1acf0f3478778909cfc6d6bccb0 | Update Base64Url.cs | yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples | Simple.Common/Text/Base64Url.cs | Simple.Common/Text/Base64Url.cs | namespace Simple.Common.Text
{
using System;
using System.Text;
public static class Base64Url
{
public static string Encode(byte[] input)
{
var output = Convert.ToBase64String(input);
output = output.Split('=')[0];
output = output.Replace('+', '-');
... | namespace Simple.Common.Text
{
using System;
public static class Base64Url
{
public static string Encode(byte[] input)
{
var output = Convert.ToBase64String(input);
output = output.Split('=')[0];
output = output.Replace('+', '-');
output ... | apache-2.0 | C# |
90489fe07a574695fe599251322b2dd978ac057b | Add a list of notification receivers for project create. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | using System.Collections.Generic;
using Lykke.EmailSenderProducer.Interfaces;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public Notificat... | using Lykke.EmailSenderProducer.Interfaces;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public NotificationsSettings Notifications { get; ... | mit | C# |
c415e5f0e982176d6f14eab517b835b92214aebe | Fix dependencies not showing in Solution window on Linux | mrward/monodevelop-dnx-addin | src/MonoDevelop.Dnx/Omnisharp/MonoDevelop/MetadataFileReferenceCache.cs | src/MonoDevelop.Dnx/Omnisharp/MonoDevelop/MetadataFileReferenceCache.cs | //
// MetadataFileReferenceCache.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// 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... | //
// MetadataFileReferenceCache.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// 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... | mit | C# |
0a3426c31f358521d74ce393c406ef82a90f37e0 | Add SetVariable method to ExternalTaskBpmnError | jlucansky/Camunda.Api.Client | Camunda.Api.Client/ExternalTask/ExternalTaskBpmnError.cs | Camunda.Api.Client/ExternalTask/ExternalTaskBpmnError.cs |
using System.Collections.Generic;
namespace Camunda.Api.Client.ExternalTask
{
public class ExternalTaskBpmnError
{
/// <summary>
/// The id of the worker that reports the failure. Must match the id of the worker who has most recently locked the task.
/// </summary>
public strin... |
using System.Collections.Generic;
namespace Camunda.Api.Client.ExternalTask
{
public class ExternalTaskBpmnError
{
/// <summary>
/// The id of the worker that reports the failure. Must match the id of the worker who has most recently locked the task.
/// </summary>
public strin... | mit | C# |
64cd943c70e90064796d5bfd1c5b59d9431d5c8c | Remove unused using | justinjstark/Delivered,justinjstark/Verdeler | Verdeler/IEndpointRepository.cs | Verdeler/IEndpointRepository.cs | using System.Collections.Generic;
namespace Verdeler
{
public interface IEndpointRepository<in TRecipient> where TRecipient : Recipient
{
IEnumerable<Endpoint> GetEndpointsForRecipient(TRecipient recipient);
}
}
| using System.Collections.Generic;
using System.Threading.Tasks;
namespace Verdeler
{
public interface IEndpointRepository<in TRecipient> where TRecipient : Recipient
{
IEnumerable<Endpoint> GetEndpointsForRecipient(TRecipient recipient);
}
}
| mit | C# |
62d136830a3339a1db25dd9a2f9685b2bffb7642 | добавить атрибут JsonProperty над свойствами | vknet/vk,vknet/vk | VkNet/Model/Attachments/Gift.cs | VkNet/Model/Attachments/Gift.cs | using System;
using Newtonsoft.Json;
using VkNet.Utils;
namespace VkNet.Model.Attachments
{
/// <summary>
/// Подарок.
/// </summary>
[Serializable]
public class Gift : MediaAttachment
{
/// <inheritdoc />
protected override string Alias => "gift";
/// <summary>
/// Изображение 48х48.
/// </summary>
... | using System;
using VkNet.Utils;
namespace VkNet.Model.Attachments
{
/// <summary>
/// Подарок.
/// </summary>
[Serializable]
public class Gift : MediaAttachment
{
/// <inheritdoc />
protected override string Alias => "gift";
/// <summary>
/// Изображение 48х48.
/// </summary>
public Uri Thumb48 { ... | mit | C# |
ef1c4d1d064eab66f1bbb89abe5e248e9331993b | Remove unnecessary usings | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | src/AtomicChessPuzzles/DbRepositories/UserRepository.cs | using AtomicChessPuzzles.Models;
using MongoDB.Driver;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoCollection<User> userCollection;
public UserRepository()
{
settings = new MongoSetting... | using MongoDB.Driver;
using AtomicChessPuzzles.Models;
using MongoDB.Bson;
namespace AtomicChessPuzzles.DbRepositories
{
public class UserRepository : IUserRepository
{
MongoSettings settings;
IMongoCollection<User> userCollection;
public UserRepository()
{
setting... | agpl-3.0 | C# |
2a20b71a269c7f22dd8abf67ccee7798a7d76a5a | Fix UWP Platform compile error #178 | neuecc/UniRx,TORISOUP/UniRx,kimsama/UniRx | Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Diagnostics/ObservableDebugExtensions.cs | Assets/Plugins/UniRx/Scripts/UnityEngineBridge/Diagnostics/ObservableDebugExtensions.cs | using System;
namespace UniRx.Diagnostics
{
public static class ObservableDebugExtensions
{
/// <summary>
/// Debug helper of observbale stream. Works for only DEBUG symbol.
/// </summary>
public static IObservable<T> Debug<T>(this IObservable<T> source, string label = null)
... | namespace UniRx.Diagnostics
{
public static class ObservableDebugExtensions
{
/// <summary>
/// Debug helper of observbale stream. Works for only DEBUG symbol.
/// </summary>
public static IObservable<T> Debug<T>(this IObservable<T> source, string label = null)
{
#if DEB... | mit | C# |
46f0254d228d6e0eca7076fe98147ef1df20bb29 | fix bug | aisaka-taiga/Battery_indicator | TAIGA_SOFTWARE_BATTERY_INDICATOR/SettingForm.cs | TAIGA_SOFTWARE_BATTERY_INDICATOR/SettingForm.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;
namespace BATTERY_INDICATOR
{
public partial class SettingForm : Form
{
public SettingFo... | 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;
namespace BATTERY_INDICATOR
{
public partial class SettingForm : Form
{
public SettingFo... | mit | C# |
a6647b95de1f212947bea3f358f916c317557763 | Add geometry in GeometryFeature constructor | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui | Tests/Mapsui.Tests/Layers/WritableLayerTests.cs | Tests/Mapsui.Tests/Layers/WritableLayerTests.cs | using Mapsui.Geometries;
using Mapsui.GeometryLayer;
using Mapsui.Layers;
using NUnit.Framework;
namespace Mapsui.Tests.Layers
{
[TestFixture]
public class WritableLayerTests
{
[Test]
public void DoNotCrashOnNullOrEmptyGeometries()
{
// arrange
var writableL... | using Mapsui.Geometries;
using Mapsui.GeometryLayer;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Layers
{
[TestFixture]
public class WritableLayerTests
{
[Test]
public void DoNotCrashOnNullOrEmptyGeometries()
{
// arrange
... | mit | C# |
3b999000e0eaab293a0440034e47820863db9e65 | change from review | SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.Register.Api/App_Start/WebApiConfig.cs | src/Esfa.Vacancy.Register.Api/App_Start/WebApiConfig.cs | using System.Web.Http;
using Esfa.Vacancy.Register.Api.App_Start;
using Newtonsoft.Json;
namespace Esfa.Vacancy.Register.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// JSON forma... | using System.Web.Http;
using Esfa.Vacancy.Register.Api.App_Start;
using Newtonsoft.Json;
namespace Esfa.Vacancy.Register.Api
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
GlobalConfigur... | mit | C# |
52bb3b698ab130b68506ca1a7a392c4551c8d45f | Remove debug line | Ludoratoire/LD39-133mhz | Assets/ZombileBehaviour.cs | Assets/ZombileBehaviour.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZombileBehaviour : MonoBehaviour
{
public enum EnnemyType
{
Zombile
}
public EnnemyType currentType;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
voi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ZombileBehaviour : MonoBehaviour
{
public enum EnnemyType
{
Zombile
}
public EnnemyType currentType;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
voi... | apache-2.0 | C# |
f4d8341e4c04329616fd5f90ad37a516968549cf | Change the order of enumeration. | AIWolfSharp/AIWolf_NET,AIWolfSharp/AIWolfCore | AIWolfLib/Species.cs | AIWolfLib/Species.cs | //
// Species.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
namespace AIWolf.Lib
{
/// <summary>
/// Enumeration type for species.
/// </summary>
public enum Species
{
/// <summary>
... | //
// Species.cs
//
// Copyright (c) 2016 Takashi OTSUKI
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
namespace AIWolf.Lib
{
/// <summary>
/// Enumeration type for species.
/// </summary>
public enum Species
{
/// <summary>
... | mit | C# |
ec13ca680e5c65d93e0fc4bd1f049338fda8b38e | remove duplicate layout registration | mnadel/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,huoxudong125/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics... | Src/Adapters/Metrics.NLog/NLogReportsConfigExtensions.cs | Src/Adapters/Metrics.NLog/NLogReportsConfigExtensions.cs |
using System;
using Metrics.NLog;
using Metrics.Reporters;
using Metrics.Reports;
namespace Metrics
{
public static class NLogReportsConfigExtensions
{
/// <summary>
/// Write CSV Metrics Reports using NLog.
/// </summary>
/// <param name="reports">Instance to configure</param... |
using System;
using Metrics.NLog;
using Metrics.Reporters;
using Metrics.Reports;
namespace Metrics
{
public static class NLogReportsConfigExtensions
{
/// <summary>
/// Write CSV Metrics Reports using NLog.
/// </summary>
/// <param name="reports">Instance to configure</param... | apache-2.0 | C# |
ce119a1c66b61a875d6662235fa8257cf2dca7e7 | Fix Blocker requiring non-MonoBehaviour | SnpM/Lockstep-Framework | Core/Simulation/Grid/Utility/Tools/Blocker/Blocker.cs | Core/Simulation/Grid/Utility/Tools/Blocker/Blocker.cs | using UnityEngine;
using System.Collections;
using Lockstep;
//Blocker for static environment pieces in a scene.
[RequireComponent (typeof (Lockstep.UnityLSBody))]
public class Blocker : EnvironmentObject
{
static readonly FastList<Vector2d> bufferCoordinates = new FastList<Vector2d>();
[SerializeField]
... | using UnityEngine;
using System.Collections;
using Lockstep;
//Blocker for static environment pieces in a scene.
[RequireComponent (typeof (LSBody))]
public class Blocker : EnvironmentObject
{
static readonly FastList<Vector2d> bufferCoordinates = new FastList<Vector2d>();
[SerializeField]
private bool _... | mit | C# |
81a3df46ed8d588dcf03fd179f8e86af972959cf | remove the debug log | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/HealthV2/Living/BodyParts/BodyPartSprites.cs | UnityProject/Assets/Scripts/HealthV2/Living/BodyParts/BodyPartSprites.cs | using Systems.Clothing;
using HealthV2;
using Mirror;
using Newtonsoft.Json;
using UnityEngine;
/// <summary>
/// This is used to contain data about the basic rendering of a body part.
/// It will have info about what to render when there's no limb, the position of the rendering, etc.
/// </summary>
public class Body... | using Systems.Clothing;
using HealthV2;
using Mirror;
using Newtonsoft.Json;
using UnityEngine;
/// <summary>
/// This is used to contain data about the basic rendering of a body part.
/// It will have info about what to render when there's no limb, the position of the rendering, etc.
/// </summary>
public class Body... | agpl-3.0 | C# |
079439df9345c8959b98ae051efa6b1085e8d2a6 | Make "New" content item button scrollable. (#8076) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Contents/Views/ContentsAdminList-Create.cshtml | src/OrchardCore.Modules/OrchardCore.Contents/Views/ContentsAdminList-Create.cshtml | @model ContentOptionsViewModel
<div class="form-group d-inline-flex float-right mb-0">
<div class="btn-group">
@if (Model.CreatableTypes.Any())
{
@if (Model.CreatableTypes.Count == 1)
{
<a class="btn btn-sm btn-secondary" href="@Url.RouteUrl(new { area = "Orch... | @model ContentOptionsViewModel
<div class="form-group d-inline-flex float-right mb-0">
<div class="btn-group">
@if (Model.CreatableTypes.Any())
{
@if (Model.CreatableTypes.Count == 1)
{
<a class="btn btn-sm btn-secondary" href="@Url.RouteUrl(new { area = "Orch... | bsd-3-clause | C# |
98947ac1d3c6c2bf80920b3240e2570688baaa10 | Use the new PrimaryCountry field | BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDe... | src/BloomExe/CollectionCreating/LanguageIdControl.cs | src/BloomExe/CollectionCreating/LanguageIdControl.cs | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | using System;
using System.Linq;
using System.Windows.Forms;
using Bloom.Collection;
using Bloom.ToPalaso;
namespace Bloom.CollectionCreating
{
public partial class LanguageIdControl : UserControl, IPageControl
{
public CollectionSettings _collectionInfo;
private Action<UserControl, bool> _setNextButtonState;
... | mit | C# |
7d107737eb4e505ff1b647d1e37a50b8e0d32507 | Add IsNeutralDrop bool to Dota 2 Game Item | babelshift/SteamWebAPI2 | src/Steam.Models/DOTA2/ItemAbilitySchemaItemModel.cs | src/Steam.Models/DOTA2/ItemAbilitySchemaItemModel.cs | using System.Collections.Generic;
namespace Steam.Models.DOTA2
{
public class ItemAbilitySchemaItemModel
{
public uint Id { get; set; }
public string Name { get; set; }
/// <summary>
/// Valve's source files don't include localized names. Instead, the callers are responsible ... | using System.Collections.Generic;
namespace Steam.Models.DOTA2
{
public class ItemAbilitySchemaItemModel
{
public uint Id { get; set; }
public string Name { get; set; }
/// <summary>
/// Valve's source files don't include localized names. Instead, the callers are responsibel ... | mit | C# |
6bda79345c5613c68e235e6301aee05a549a04b0 | Revert to C#6 | kyubisation/FluentRestBuilder,kyubisation/FluentRestBuilder | src/FluentRestBuilder/Pipes/FilterByClientRequest/Converters/FilterToBooleanConverter.cs | src/FluentRestBuilder/Pipes/FilterByClientRequest/Converters/FilterToBooleanConverter.cs | // <copyright file="FilterToBooleanConverter.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
namespace FluentRestBuilder.Pipes.FilterByClientRequest.Converters
{
using Results;
public class FilterToBooleanConverter : IFilterToTypeConverter<bool>
{
pub... | // <copyright file="FilterToBooleanConverter.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
namespace FluentRestBuilder.Pipes.FilterByClientRequest.Converters
{
using Results;
public class FilterToBooleanConverter : IFilterToTypeConverter<bool>
{
pub... | mit | C# |
0006db79f35608818901b2345fd43a170ef20634 | Remove incorrect Invariant contract | peopleware/net-ppwcode-vernacular-persistence | src/PPWCode.Vernacular.Persistence.II/Implementations/InsertAuditablePersistentObject.cs | src/PPWCode.Vernacular.Persistence.II/Implementations/InsertAuditablePersistentObject.cs | using System;
using System.Diagnostics.Contracts;
using System.Runtime.Serialization;
namespace PPWCode.Vernacular.Persistence.II
{
[Serializable, DataContract(IsReference = true)]
public abstract class InsertAuditablePersistentObject<T>
: PersistentObject<T>,
IInsertAuditable
... | using System;
using System.Diagnostics.Contracts;
using System.Runtime.Serialization;
namespace PPWCode.Vernacular.Persistence.II
{
[Serializable, DataContract(IsReference = true)]
public abstract class InsertAuditablePersistentObject<T>
: PersistentObject<T>,
IInsertAuditable
... | apache-2.0 | C# |
e7ba7d96778d0a2be449a33f61b6d6fc898138f6 | Create a minimal constructor, useful for external providers | janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent | Components/OpenContentInfo.cs | Components/OpenContentInfo.cs | /*
' Copyright (c) 2015 Satrabel.be
' All rights reserved.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
' THE AUTHORS OR COPYRIGHT HOLDE... | /*
' Copyright (c) 2015 Satrabel.be
' All rights reserved.
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
' THE AUTHORS OR COPYRIGHT HOLDE... | mit | C# |
ff68e9c814a845bbbf691d37695a928cd0c7e939 | Put in undo redo counts and notifications. | larsbrubaker/agg-sharp,MatterHackers/agg-sharp,jlewin/agg-sharp | Gui/TextWidgets/UndoBuffer.cs | Gui/TextWidgets/UndoBuffer.cs | //----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyright (C) 2007
//
// Permission to copy, use, modi... | //----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// C# port by: Lars Brubaker
// larsbrubaker@gmail.com
// Copyright (C) 2007
//
// Permission to copy, use, modi... | bsd-2-clause | C# |
2c7a2ffc2270959cf7f59a56976eed3ee03ab990 | Fix xUnit warning | benyblack/rest-mock-core | src/RestMockCore.Test/RequestHandlerTest.cs | src/RestMockCore.Test/RequestHandlerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace RestMockCore.Test
{
public class RequestHandlerTest
{
private readonly RequestHandler _requestHandler;
private readonly RouteTableItem _rout... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace RestMockCore.Test
{
public class RequestHandlerTest
{
private readonly RequestHandler _requestHandler;
private readonly RouteTableItem _rout... | mit | C# |
69fdf01e15ed7a7585b9a9d5ed29c05b4c12b742 | Update version 2.2 | SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-VisualStudio/sonar-scanner-msbuild,SonarSource-VisualStudio/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,S... | AssemblyInfo.Shared.cs | AssemblyInfo.Shared.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation">
// Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the projec... | mit | C# |
a9ba8490b99dae6a0294f966961b6af2678cd119 | Bump version | gonzalocasas/NetMetrixSDK | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | mit | C# |
72bf9b9a74da7bcb1e6279dd7c5efb3b8da60981 | Update AssemblyInfo.cs | anilhakanyarici/next-generation-crypto | Properties/AssemblyInfo.cs | 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("System.Security.Cryptography")]
[assembly:... | mit | C# | |
9a1e78c025bf3d6fc8d5fa4c8438f48e7fc80e5e | bump version | lukesampson/HastyAPI.FreshBooks | Properties/AssemblyInfo.cs | 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("Ha... | 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("Ha... | mit | C# |
3e300962b9ff57184e05d16fbaac987b2974f84c | Add initial client code | emailclue/emailclue-dotnet | EmailClue/EmailClue.cs | EmailClue/EmailClue.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace EmailClue
{
public interface IEmailClue
{
// Validation validateEmail(string Email);
Task<Validation> ValidateEmailAsync(string Email);
// EmailSend SendEmail(string TemplateKey... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace EmailClue
{
public interface IEmailClue
{
// Validation validateEmail(string Email);
Task<Validation> ValidateEmailAsync(string Email);
EmailSend SendEmail(string TemplateKey);
... | mit | C# |
e4cbb511cd7d4013e7408656b001f175691901b1 | Allow specifying document types to search. | mios-fi/mios.swiftype,mios-fi/mios.swiftype | Library/QuerySpecification.cs | Library/QuerySpecification.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Swiftype {
public class QuerySpecification {
public string Q { get; set; }
public int Page { get; set; }
public int? PerPage { get; set; }
public string[] DocumentType... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Swiftype {
public class QuerySpecification {
public string Q { get; set; }
public int Page { get; set; }
public int? PerPage { get; set; }
public IDictionary<string, F... | bsd-2-clause | C# |
9f82d15137666f03cc265add0ef795c664d14f90 | Fix compile error from merging Up and Down | rit-sse-mycroft/core | Mycroft/Cmd/App/AppCommand.cs | Mycroft/Cmd/App/AppCommand.cs | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | bsd-3-clause | C# |
a9ee7bb10e92f82aa2e193b5e28f96f3a4145f67 | Increase version to 2.4.3 | 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# |
14496f85fe1ba323d33922c534a7550dea30b73c | Send message to specific connection | ryanwersal/MorseL,ryanwersal/MorseL,radu-matei/websocket-manager,radu-matei/websocket-manager,radu-matei/websocket-manager,ryanwersal/MorseL,ryanwersal/MorseL | src/WebSocketManager/WebSocketManagerMiddleware.cs | src/WebSocketManager/WebSocketManagerMiddleware.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace WebSocketManager
{
public class WebSocketManagerMiddleware
{
private readonly RequestDelegate _next;
private WebSocketManager _webSocketManager { get; set; }
private WebSocketMessageHandler _webSocketMessageHandler... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace WebSocketManager
{
public class WebSocketManagerMiddleware
{
private readonly RequestDelegate _next;
private WebSocketManager _webSocketManager { get; set; }
private WebSocketMessageHandler _webSocketMessageHandler... | mit | C# |
70362f2c057363cdd5fb157bc2ab74fe4c45981e | Update SyntaxEpsilon.cs | b3b00/csly | sly/parser/syntax/tree/SyntaxEpsilon.cs | sly/parser/syntax/tree/SyntaxEpsilon.cs | using sly.lexer;
using System.Diagnostics.CodeAnalysis;
namespace sly.parser.syntax.tree
{
public class SyntaxEpsilon<IN> : ISyntaxNode<IN> where IN : struct
{
public bool Discarded { get; } = false;
public string Name => "Epsilon";
public bool HasByPassNodes { get; set; } = false;
... | using sly.lexer;
namespace sly.parser.syntax.tree
{
public class SyntaxEpsilon<IN> : ISyntaxNode<IN> where IN : struct
{
public bool Discarded { get; } = false;
public string Name => "Epsilon";
public bool HasByPassNodes { get; set; } = false;
[ExcludeFromCodeCoverage]
... | mit | C# |
731c5d7c839e2077bd5d29d5f00ca5b6a4497db2 | Fix project not compiling | peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework | osu.Framework/Lists/IWeakList.cs | osu.Framework/Lists/IWeakList.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;
namespace osu.Framework.Lists
{
/// <summary>
/// A slim interface for a list which stores weak references of objects.
/// </summary>
/// <... | // 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;
namespace osu.Framework.Lists
{
/// <summary>
/// A slim interface for a list which stores weak references of objects.
/// </summary>
/// <... | mit | C# |
cc05a6b738649a981392ceb3b7bdef155abb2e6b | Remove comment about ffmpeg from interface | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Animations/IAnimation.cs | osu.Framework/Graphics/Animations/IAnimation.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.Framework.Graphics.Animations
{
/// <summary>
/// An animation / playback sequence.
/// </summary>
public interface IAnimation
{
... | // 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.Framework.Graphics.Animations
{
/// <summary>
/// An animation / playback sequence.
/// </summary>
public interface IAnimation
{
... | mit | C# |
be301076cc95127c3ba585ee0f1a2cbd1558b859 | add more test case | Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox | Wox.Test/PluginManagerTest.cs | Wox.Test/PluginManagerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wox.Core;
using Wox.Core.Configuration;
using Wox.Core.Plugin;
using Wox.Infrastructure;
using Wox.Infrastructure.Image;
using Wox.Infrastructure.UserSettings;
using Wox.Plugin;
using Wox.ViewModel;
namespace Wox.Test
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Wox.Core;
using Wox.Core.Configuration;
using Wox.Core.Plugin;
using Wox.Infrastructure;
using Wox.Infrastructure.Image;
using Wox.Infrastructure.UserSettings;
using Wox.Plugin;
using Wox.ViewModel;
namespace Wox.Test
{
... | mit | C# |
93c7c3064831000dd709ab3f5e12a9569021f44e | Fix resharper warnings. | mattgray/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,knocte/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,Antho... | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | src/SevenDigital.Api.Wrapper/Utility/Serialization/ApiXmlDeSerializer.cs | using System;
using System.Xml;
using System.Xml.Linq;
using SevenDigital.Api.Wrapper.Exceptions;
namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSerializer<T> _deSerializer;
public ApiXml... | using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Xml.Serialization;
using SevenDigital.Api.Wrapper.Exceptions;
namespace SevenDigital.Api.Wrapper.Utility.Serialization
{
public class ApiXmlDeSerializer<T> : IDeSerializer<T> where T : class
{
private readonly IDeSer... | mit | C# |
e1644df06fa601074691b17e85d448820a5fde82 | Use context methods that explicitly work with keys instead of generic services. | mthamil/Autofac.Extras.Alternatives | Autofac.Extras.Alternatives/KeyedServiceDictionary.cs | Autofac.Extras.Alternatives/KeyedServiceDictionary.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core;
namespace Autofac.Extras.Alternatives
{
internal class KeyedServiceDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>
{
private readonly IComponentContext _context;
publi... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Autofac.Core;
namespace Autofac.Extras.Alternatives
{
internal class KeyedServiceDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>
{
private readonly IComponentContext _context;
publi... | apache-2.0 | C# |
8416a38cc2ad88db712e5afe9a3686cf23eed2ff | Refactor LocalServiceTest and add a synchronous test | GoogleCloudPlatform/grpc-gcp-csharp,GoogleCloudPlatform/grpc-gcp-csharp | Grpc.Gcp/Grpc.Gcp.IntegrationTest/LocalServiceTest.cs | Grpc.Gcp/Grpc.Gcp.IntegrationTest/LocalServiceTest.cs | using Grpc.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Grpc.Gcp.IntegrationTest
{
[TestClass]
public class LocalServiceTest
{
[TestMethod]
public async Task ExceptionPro... | using Grpc.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Grpc.Gcp.IntegrationTest
{
[TestClass]
public class LocalServiceTest
{
[TestMethod]
public async Task ExceptionPropagation()
{
v... | apache-2.0 | C# |
731e689f2da41dcaa040b5dde209f02b1306754d | Add summary tags to the doc comments | ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Utils/StatelessRNG.cs | osu.Game/Utils/StatelessRNG.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.Utils
{
/// <summary>
/// Provides a fast stateless function that can be used in randomly-looking visual elements.
/// </summary>
publi... | // 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.Utils
{
/// Provides a fast stateless function that can be used in randomly-looking visual elements.
public static class StatelessRNG
{
... | mit | C# |
20604fb6256766757b940eb73d08d0f5cf080c15 | Remove unused code | takenet/blip-sdk-csharp | src/Take.Blip.Builder/StorageManager.cs | src/Take.Blip.Builder/StorageManager.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Take.Blip.Builder.Hosting;
using Take.Blip.Client.Extensions.Bucket;
namespace Take.Blip.Builder
{
public class StorageManager : IStorageManager
{
private const string STATE_ID_KEY = "stateId";
priv... | using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Take.Blip.Builder.Hosting;
using Take.Blip.Client.Extensions.Bucket;
namespace Take.Blip.Builder
{
public class StorageManager : IStorageManager
{
private const string STATE_ID_KEY = "stateId";
priva... | apache-2.0 | C# |
67942c96bdd5267d0adf7a5cc7a675c25c75fb49 | Update info | WhitefangGreytail/WG_RealisticCitySkylines | WG_BalancePopMod/Code/info.cs | WG_BalancePopMod/Code/info.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICities;
using UnityEngine;
namespace WG_BalancedPopMod
{
public class PopBalanceMod : IUserMod
{
public string Name
{
get { return "WG Realistic Population v7.9"; }
}
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICities;
using UnityEngine;
namespace WG_BalancedPopMod
{
public class PopBalanceMod : IUserMod
{
public string Name
{
get { return "WG Realistic Population v7.9 beta"; }
}
... | apache-2.0 | C# |
33fb6af7e624ff99462b8eea577940a5c6e891fb | Fix UWP VirtualAlloc import (dotnet/corert#6882) | wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,krk/coreclr,mmitche/coreclr,cshung/coreclr,krk/coreclr,wtgod... | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Ker... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Ker... | mit | C# |
7af439f8fe313d00bcf580d4dc44ba49b8bc3212 | Use better legacy syntax | brycekbargar/Nilgiri,brycekbargar/Nilgiri | Nilgiri/Expect.cs | Nilgiri/Expect.cs | namespace Nilgiri
{
using System;
using Nilgiri.Core;
using Nilgiri.Core.DependencyInjection;
public static class ExpectStyle
{
public static IToableAssertionManager<T> Expect<T>(T testValue)
{
return new AssertionManager<T>(new AssertionState<T>(() => testValue), new AsserterFactory());
}
... | namespace Nilgiri
{
using System;
using Nilgiri.Core;
using Nilgiri.Core.DependencyInjection;
public static class ExpectStyle
{
public static IToableAssertionManager<T> Expect<T>(T testValue)
{
return new AssertionManager<T>(new AssertionState<T>(() => testValue), new AsserterFactory());
}
... | mit | C# |
e3f8bc05883e126e176d6b12e54e0df39c85003a | Revert `Availability` to `private` | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Components/ReadyButton.cs | osu.Game/Screens/OnlinePlay/Components/ReadyButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfac... | mit | C# |
e1a436f815f5bfd6feee747d415046a611a731b9 | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
1992949a144cd887bba2035dd500ce5d4fa2b223 | Test fix | victoria92/university-program-generator,victoria92/university-program-generator | UnitTests/UnitTest1.cs | UnitTests/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using UniProgramGen.Data;
using UniProgramGen.Helpers;
namespace UnitTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void initalizeExampleData()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using UniProgramGen.Data;
using UniProgramGen.Helpers;
namespace UnitTests
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void initalizeExampleData()
{
... | bsd-2-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.