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 |
|---|---|---|---|---|---|---|---|---|
fba11017f695f9b26b62c7670c1cd2d59232307d | Add using when creating a memorystream | LiberisLabs/CompaniesHouse.NET,kevbite/CompaniesHouse.NET | src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs | src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using CompaniesHouse.Response.Document;
using CompaniesHouse.UriBuilders;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace CompaniesHouse.Tests.CompaniesHouseDocumentClientTests
{
[TestFixture]
public class ... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using CompaniesHouse.Response.Document;
using CompaniesHouse.UriBuilders;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace CompaniesHouse.Tests.CompaniesHouseDocumentClientTests
{
[TestFixture]
public class ... | mit | C# |
bbf8187e0a678f84adf87e3ff20445551b4e417b | Comment out some test code that no longer works due to API changes in UE | Algorithman/klawr,lightszero/klawr,Algorithman/klawr,lightszero/klawr,enlight/klawr,enlight/klawr,enlight/klawr,Algorithman/klawr,lightszero/klawr | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | using System;
using System.Runtime.InteropServices;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
// NOTE: IScriptObject should probably be considered deprecated in favor of UKlawrScriptComponent
public class TestActor : AA... | using System;
using System.Runtime.InteropServices;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
public class TestActor : AActorScriptObject
{
public TestActor(long instanceID, UObjectHandle nativeObject) : base(in... | mit | C# |
0139a2123244d22eec6b0a46709d3f1c093ef8d2 | Switch verb | thinktecture/BreTTspielabend,thinktecture/BreTTspielabend,thinktecture/BreTTspielabend | src/api/Thinktecture.Brettspielabend/Thinktecture.Brettspielabend.Api/Controllers/ContestController.cs | src/api/Thinktecture.Brettspielabend/Thinktecture.Brettspielabend.Api/Controllers/ContestController.cs | using System;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Thinktecture.Brettspielabend.Api.Data;
using Thinktecture.Brettspielabend.Api.Helpers;
namespace Thinktecture.Brettspielabend.Api.Controllers
{
public class ContestController : ApiController
{
private readonly DataStore _store;
... | using System;
using System.Linq;
using System.Net.Http;
using System.Web.Http;
using Thinktecture.Brettspielabend.Api.Data;
using Thinktecture.Brettspielabend.Api.Helpers;
namespace Thinktecture.Brettspielabend.Api.Controllers
{
public class ContestController : ApiController
{
private readonly DataStore _store;
... | mit | C# |
17b04bb9af2dea3484b222ef2823bda7160b4aa5 | Add all heaps to MetaData | jorik041/dnlib,yck1509/dnlib,Arthur2e5/dnlib,kiootic/dnlib,picrap/dnlib,ZixiangBoy/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,0xd4d/dnlib | src/DotNet/Writer/MetaData.cs | src/DotNet/Writer/MetaData.cs | using System.IO;
using dot10.IO;
using dot10.PE;
namespace dot10.DotNet.Writer {
class MetaData : IChunk {
ModuleDef module;
UniqueChunkList<IChunk> constants;
MethodBodyChunks methodBodies;
ChunkList<IChunk> netResources;
TablesHeap tablesHeap;
StringsHeap stringsHeap;
USHeap usHeap;
GuidHeap guidHe... | using System.IO;
using dot10.IO;
using dot10.PE;
namespace dot10.DotNet.Writer {
class MetaData : IChunk {
ModuleDef module;
UniqueChunkList<IChunk> constants;
MethodBodyChunks methodBodies;
ChunkList<IChunk> netResources;
/// <summary>
/// Constructor
/// </summary>
/// <param name="module">Module<... | mit | C# |
1386d98b0f4f922e3d7fe0e488962ff0409dac24 | Fix method name in Exception message for Run Utility | fixie/fixie | src/Fixie.Tests/Utility.cs | src/Fixie.Tests/Utility.cs | namespace Fixie.Tests
{
using System;
using System.Runtime.CompilerServices;
using Fixie.Execution;
public static class Utility
{
public static string FullName<T>()
=> typeof(T).FullName;
public static string At<T>(string method, [CallerFilePath] string path = null)
... | namespace Fixie.Tests
{
using System;
using System.Runtime.CompilerServices;
using Fixie.Execution;
public static class Utility
{
public static string FullName<T>()
=> typeof(T).FullName;
public static string At<T>(string method, [CallerFilePath] string path = null)
... | mit | C# |
f4fc9522ecc86885a64b7a82e816f01aa33960f3 | Remove redundant parenthesis | ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability | Src/ImplicitNullability.Plugin/ImplicitNullabilityCustomCodeAnnotationProvider.cs | Src/ImplicitNullability.Plugin/ImplicitNullabilityCustomCodeAnnotationProvider.cs | using System.Collections.Generic;
using System.Diagnostics;
using ImplicitNullability.Plugin.Infrastructure;
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CodeAnnotations;
using JetBrains.Util;
using ReSharperExtensionsShared.Debugging;
namespace ImplicitNullability.Plugin
... | using System.Collections.Generic;
using System.Diagnostics;
using ImplicitNullability.Plugin.Infrastructure;
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CodeAnnotations;
using JetBrains.Util;
using ReSharperExtensionsShared.Debugging;
namespace ImplicitNullability.Plugin
... | mit | C# |
792512d98d2dcb2fe6057a2f439250eb8decf9f3 | Rename tests after file rename | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/FluentSample/test/FluentSample.Test.Unit/BeCompletedTest.cs | projects/FluentSample/test/FluentSample.Test.Unit/BeCompletedTest.cs | //-----------------------------------------------------------------------
// <copyright file="BeCompletedTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample.Test.Unit
{
... | //-----------------------------------------------------------------------
// <copyright file="BeCompletedTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample.Test.Unit
{
... | unlicense | C# |
8465365b18e8468c39532347067b94cdf226d027 | Fix logic failure in GameBurstingCompletedEventCommandHandler | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GameBurstingCompletedEventCommandHandler.cs | src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Bursting/GameBurstingCompletedEventCommandHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using UnityEngine;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IClientFinishedBurstingEventSubscribable))]
[SceneTypeCreate(GameSceneType.Pioneer2)]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
using UnityEngine;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IClientFinishedBurstingEventSubscribable))]
[SceneTypeCreate(GameSceneType.Pioneer2)]
... | agpl-3.0 | C# |
bc80d482a1ab65560c806ca4c0fb832821ec9e12 | switch status calculator unit test to use extention method on commitmentlistitem | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/StatusCalculator/WhenEditStatusIsWithProvider.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/StatusCalculator/WhenEditStatusIsWithProvider.cs | using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Commitments.Api.Types;
using SFA.DAS.Commitments.Api.Types.Commitment;
using SFA.DAS.Commitments.Api.Types.Commitment.Types;
using SFA.DAS.ProviderApprenticeshipsService.Application.Domain.Commitment;
using SFA.DAS.ProviderApprenticeshipsService.Application.... | using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Commitments.Api.Types;
using SFA.DAS.Commitments.Api.Types.Commitment.Types;
using SFA.DAS.ProviderApprenticeshipsService.Application.Domain.Commitment;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests.StatusCalculator
{
[TestFixture]
... | mit | C# |
6d44cc958f3b5ba01c3cc903f2231978f1879be4 | Change the feed url to the new url for 0.8 | arminkarimi/Orchard,m2cms/Orchard,sfmskywalker/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,gcsuk/Orchard,Lombiq/Orchard,angelapper/Orchard,Lombiq/Orchard,salarvand/orchard,xkproject/Orchard,kouweizhong/Orchard,austinsc/Orchard,Codinlab/Orchard,jchenga/Orchard,tobydodds/folklife,aaronamm/Orchard,OrchardCMS/Orc... | src/Orchard.Web/Modules/Orchard.Packaging/DefaultPackagingUpdater.cs | src/Orchard.Web/Modules/Orchard.Packaging/DefaultPackagingUpdater.cs | using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;
namespace Orchard.Packaging {
[OrchardFeature("Gallery")]
public class DefaultPackagingUp... | using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;
namespace Orchard.Packaging {
[OrchardFeature("Gallery")]
public class DefaultPackagingUp... | bsd-3-clause | C# |
a74a89cb929d2a81b98aef8416c6c7d494b5b207 | Change learn more text for accessibility | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/CookieBanner.cshtml | src/StockportWebapp/Views/stockportgov/Shared/CookieBanner.cshtml | <link rel="stylesheet" type="text/css" href="//wpcc.io/lib/1.0.2/cookieconsent.min.css"/>
<script src="//wpcc.io/lib/1.0.2/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function() {
window.wpcc.init({
border: "thin",
corners: "small",
colors: {
popup: { backgr... | <link rel="stylesheet" type="text/css" href="//wpcc.io/lib/1.0.2/cookieconsent.min.css"/>
<script src="//wpcc.io/lib/1.0.2/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function() {
window.wpcc.init({
border: "thin",
corners: "small",
colors: {
popup: { backgr... | mit | C# |
6f3e8750befe55343414af19ba1e997327baed71 | fix compiler warning | sergeyt/CronDaemon | src/CronDaemon/SystemTime.cs | src/CronDaemon/SystemTime.cs | using System;
namespace CronScheduling
{
// http://ayende.com/Blog/archive/2008/07/07/Dealing-with-time-in-tests.aspx
/// <summary>
/// For testing.
/// </summary>
internal static class SystemTime
{
public static Func<DateTime> NowFn = () => DateTime.UtcNow;
public static DateTime Now
{
get { return ... | using System;
namespace CronScheduling
{
// http://ayende.com/Blog/archive/2008/07/07/Dealing-with-time-in-tests.aspx
/// <summary>
/// For testing.
/// </summary>
internal static class SystemTime
{
public static Func<DateTime> NowFn;
public static DateTime Now
{
get { return NowFn == null ? DateTime... | mit | C# |
2bef418a7bf565111a36221bc132fb9835286787 | use NRT | mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,diryboy/roslyn,AmadeusW/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,weltkante/roslyn,eriawan/roslyn,physhi/roslyn,bartdesmet/roslyn,physhi/roslyn,weltkante/roslyn,wvdd007/roslyn,eriawan/roslyn,d... | src/Features/Core/Portable/InlineTemporary/AbstractInlineTemporaryCodeRefactoringProvider.cs | src/Features/Core/Portable/InlineTemporary/AbstractInlineTemporaryCodeRefactoringProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ... | // 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.
#nullable disable
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Thre... | mit | C# |
f7c8731df64930765937f9b6f54dce8cec448c77 | Fix issue when the error messages are rendered in Markdown with an Always configuration | Seddryck/NBi,Seddryck/NBi | NBi.Framework/FailureMessage/Markdown/LookupExistsViolationMessageMarkdown.cs | NBi.Framework/FailureMessage/Markdown/LookupExistsViolationMessageMarkdown.cs | using MarkdownLog;
using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Lookup;
using NBi.Core.ResultSet.Lookup.Violation;
using NBi.Framework.FailureMessage.Common;
using NBi.Framework.FailureMessage.Common.Helper;
using NBi.Framework.FailureMessage.Markdown.Helper;
using NBi.Framework.Sampling;
using System;
using Sys... | using MarkdownLog;
using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Lookup;
using NBi.Core.ResultSet.Lookup.Violation;
using NBi.Framework.FailureMessage.Common;
using NBi.Framework.FailureMessage.Common.Helper;
using NBi.Framework.FailureMessage.Markdown.Helper;
using NBi.Framework.Sampling;
using System;
using Sys... | apache-2.0 | C# |
b097d1802c99e7fbdfacf1aa69a3e78dfdd9a964 | update to dto name in queue email message | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISendMessageService.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ISendMes... | using System;
using System.Collections;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
using PS.Mothership.Core.Common.Dto.SendMessage;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ISendMes... | mit | C# |
c9796e1943ed1d43af30a8ce731b299ee9ed99d8 | Add tracing to user store | croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/cro... | source/CroquetAustralia.Library/Authentication/Identity/InMemoryUserStore-IUserRoleStore.cs | source/CroquetAustralia.Library/Authentication/Identity/InMemoryUserStore-IUserRoleStore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Anotar.LibLog;
using Microsoft.AspNet.Identity;
namespace CroquetAustralia.Library.Authentication.Identity
{
/// <summary>
/// Implements <see cref="IUserRoleStore{TUser,TKey}" />.
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Anotar.LibLog;
using Microsoft.AspNet.Identity;
namespace CroquetAustralia.Library.Authentication.Identity
{
/// <summary>
/// Implements <see cref="IUserRoleStore{TUser,TKey}" />.
/// </summary>
... | mit | C# |
8ea75d2ec491d99a316ff7916f47942bb73d2a90 | Remove unneeded code | opcon/gwen-nolegacy-opentk-renderer | GwenCS/Gwen/ControlInternal/TreeNodeLabel.cs | GwenCS/Gwen/ControlInternal/TreeNodeLabel.cs | using System;
using Gwen.Control;
namespace Gwen.ControlInternal
{
/// <summary>
/// Tree node label.
/// </summary>
public class TreeNodeLabel : Button
{
/// <summary>
/// Initializes a new instance of the <see cref="TreeNodeLabel"/> class.
/// </summary>
/// <para... | using System;
using Gwen.Control;
namespace Gwen.ControlInternal
{
/// <summary>
/// Tree node label.
/// </summary>
public class TreeNodeLabel : Button
{
/// <summary>
/// Initializes a new instance of the <see cref="TreeNodeLabel"/> class.
/// </summary>
/// <para... | mit | C# |
faa9504f0cdcc1ee4eda857def29260df77f5d89 | Make registered FB scripts virtual folder and tenant aware. (#3932) | xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Or... | src/OrchardCore.Modules/OrchardCore.Facebook/Filters/FBInitFilter.cs | src/OrchardCore.Modules/OrchardCore.Facebook/Filters/FBInitFilter.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.RazorPages;
using OrchardCore.Admin;
using OrchardCore.Entities;
using OrchardCore.Facebook.Settings;
using OrchardCore.ResourceManagement;
using OrchardCore.Settings;
namespace OrchardC... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.RazorPages;
using OrchardCore.Admin;
using OrchardCore.Entities;
using OrchardCore.Facebook.Settings;
using OrchardCore.ResourceManagement;
using OrchardC... | bsd-3-clause | C# |
670e6d28664483fb6d41c5b5d45e51cca817b2a1 | Revert Revert 'Tweak delays we have before we start incrementally analyzing in OOP.' | wvdd007/roslyn,eriawan/roslyn,tannergooding/roslyn,wvdd007/roslyn,AmadeusW/roslyn,brettfo/roslyn,tmat/roslyn,mavasani/roslyn,stephentoub/roslyn,wvdd007/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,genlu/roslyn,dotnet/roslyn,mgoertz-msft/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,tmat/roslyn,diryboy/roslyn,eria... | src/VisualStudio/Core/Def/Implementation/Remote/RemoteHostOptions.cs | src/VisualStudio/Core/Def/Implementation/Remote/RemoteHostOptions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis;
using Mic... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis;
using Mic... | mit | C# |
cdfaed716e19738f00d569e68e9db283aa74e064 | Allow Buffer.Blit() with cooler signature. | roblillack/monoberry,roblillack/monoberry,roblillack/monoberry,roblillack/monoberry | libblackberry/screen/Buffer.cs | libblackberry/screen/Buffer.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Text;
using System.Runtime.InteropServices;
namespace BlackBerry.Screen
{
public class Buffer
{
[DllImport ("screen")]
static extern int screen_fill (IntPtr ctx, IntPtr buf, [In] int[] attribs);
[DllI... | using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace BlackBerry.Screen
{
public class Buffer
{
[DllImport ("screen")]
static extern int screen_fill (IntPtr ctx, IntPtr buf, [In] int[] attribs);
[DllImport ("screen")]
static extern int screen_bli... | mit | C# |
ca7bc8266c990d43d6807254e4f93af3751b1125 | Fix BillboardWrapper, prevent bb from collecting by GC | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | bindings/src/BillboardSet.cs | bindings/src/BillboardSet.cs | using System;
namespace Urho {
public partial class BillboardSet
{
public BillboardWrapper GetBillboardSafe (uint index)
{
unsafe {
Billboard* result = BillboardSet_GetBillboard (handle, index);
if (result == null)
return null;
return new BillboardWrapper(this, result);
... | using System;
namespace Urho {
public partial class BillboardSet
{
public BillboardWrapper GetBillboardSafe (uint index)
{
unsafe {
Billboard* result = BillboardSet_GetBillboard (handle, index);
if (result == null)
return null;
return new BillboardWrapper(result);
}
... | mit | C# |
88f369300c7c684b47e0dfd82d2fb816ae89b8da | Add comment | akrisiun/roslyn,panopticoncentral/roslyn,jcouv/roslyn,balajikris/roslyn,dpoeschl/roslyn,CaptainHayashi/roslyn,moozzyk/roslyn,amcasey/roslyn,MatthieuMEZIL/roslyn,jkotas/roslyn,stephentoub/roslyn,natgla/roslyn,ValentinRueda/roslyn,eriawan/roslyn,MattWindsor91/roslyn,physhi/roslyn,vcsjones/roslyn,srivatsn/roslyn,tannergoo... | src/Workspaces/Core/Portable/FindSymbols/FindReferences/Finders/ILanguageServiceReferenceFinder.cs | src/Workspaces/Core/Portable/FindSymbols/FindReferences/Finders/ILanguageServiceReferenceFinder.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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.... | // 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.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.CodeAnalysis.... | apache-2.0 | C# |
0b326475f9438a1df7e9c1eb4abc6b6ec544c619 | Add new private field for the route handler | stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
return new Route(path,
new RouteValueDictionary(n... | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
return new Route(path,
new RouteValueDictionary(new { controller, action }),
new RouteValueDic... | mit | C# |
67c596d6851fe9f2e36abb392120a91aace01508 | Add jsonconverter to extension model | contentful/contentful.net | Contentful.Core/Models/Management/UiExtension.cs | Contentful.Core/Models/Management/UiExtension.cs | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Encapsulates information about a Contentful Ui Extension
/// </summary>
[JsonConverter(typeof(ExtensionJsonConv... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Encapsulates information about a Contentful Ui Extension
/// </summary>
public class UiExtension : IContentfulResource
{
/// <summary>
... | mit | C# |
710749fce43b4f9ae809cfdd9e1bef6d69cd9aa2 | Add missing namespace for uwp | thomasgalliker/ValueConverters.NET | ValueConverters.Shared/ValueConverterGroup.cs | ValueConverters.Shared/ValueConverterGroup.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
n... | mit | C# |
180158d7019e32787c42487f4bf48812afcafd65 | Add parallelism when compiling templates. | mrydengren/templar,mrydengren/templar | src/Bundlr/TemplateSource.cs | src/Bundlr/TemplateSource.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Bundlr
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public Template... | using System.IO;
using System.Web;
namespace Bundlr
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public TemplateSource(string global, Compiler compiler, TemplateFind... | mit | C# |
16e02fe572cff5df86fe79a44b7c2c45c81c0df7 | Add a prefix to each log | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net/Logging/RaygunLogger.cs | Mindscape.Raygun4Net/Logging/RaygunLogger.cs | using Mindscape.Raygun4Net.Utils;
namespace Mindscape.Raygun4Net.Logging
{
public class RaygunLogger : Singleton<RaygunLogger>, IRaygunLogger
{
private const string RaygunPrefix = "Raygun: ";
public RaygunLogLevel LogLevel { get; set; }
public void Error(string message)
{
Log(RaygunLogLevel... | using Mindscape.Raygun4Net.Utils;
namespace Mindscape.Raygun4Net.Logging
{
public class RaygunLogger : Singleton<RaygunLogger>, IRaygunLogger
{
public RaygunLogLevel LogLevel { get; set; }
public void Error(string message)
{
Log(RaygunLogLevel.Error, message);
}
public void Warning(stri... | mit | C# |
797dfe4307ceebcd12ce08d4258ab4b7f79bd690 | change version to 1.1.0-beta01 | mvalipour/xbehave.net,modulexcite/xbehave.net,xbehave/xbehave.net,hitesh97/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,adamralph/xbehave.net,hitesh97/xbehave.net | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | // <copyright file="CommonAssemblyInfo.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("xBehave.net contrib... | // <copyright file="CommonAssemblyInfo.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("xBehave.net contrib... | mit | C# |
c96feff82c34f0bea7236d636c28586388750f00 | Create registryKey if it doesn't exist | DavidKarlas/MonoDevelop.MicroFramework | MonoDevelop.MicroFramework/StartupHandler.cs | MonoDevelop.MicroFramework/StartupHandler.cs | using System;
using MonoDevelop.Components.Commands;
using MonoDevelop.Core;
using Microsoft.Win32;
using System.Reflection;
using System.IO;
namespace MonoDevelop.MicroFramework
{
class StartupHandler : CommandHandler
{
static void DirectoryCopy(string sourceDirName, string destDirName)
{
//TNX... | using System;
using MonoDevelop.Components.Commands;
using MonoDevelop.Core;
using Microsoft.Win32;
using System.Reflection;
using System.IO;
namespace MonoDevelop.MicroFramework
{
class StartupHandler : CommandHandler
{
static void DirectoryCopy(string sourceDirName, string destDirName)
{
//TNX... | mit | C# |
aa863069a9093e70832aca8e46462db02cd181f1 | Use Socket instead of TcpClient for port scanning Works around ObjectDisposedException on Linux + Mono | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Utility/Networking/PortScanner.cs | MultiMiner.Utility/Networking/PortScanner.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace MultiMiner.Utility.Networking
{
public class PortScanner
{
public static List<IPEndPoint> Find(string ipRange, int startingPort, int endingPort, int connectTimeout = 100)
{
if (sta... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace MultiMiner.Utility.Networking
{
public class PortScanner
{
public static List<IPEndPoint> Find(string ipRange, int startingPort, int endingPort, int connectTimeout = 100)
{
if (sta... | mit | C# |
d3cd2c9320f073993be14aa92912956c35f4dcba | Update Program.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D.Web/Program.cs | src/Core2D.Web/Program.cs | using System;
using System.Runtime.Versioning;
using Avalonia;
using Avalonia.Web;
using Core2D.Web.Base;
[assembly:SupportedOSPlatform("browser")]
namespace Core2D.Web;
internal partial class Program
{
private static void Main(string[] args)
{
try
{
BuildAvaloniaApp().SetupBrows... | using System.Runtime.Versioning;
using Avalonia;
using Avalonia.Web;
using Core2D.Web.Base;
[assembly:SupportedOSPlatform("browser")]
namespace Core2D.Web;
internal partial class Program
{
private static void Main(string[] args)
=> BuildAvaloniaApp().SetupBrowserApp("out");
public static AppBuilder... | mit | C# |
25202316cc62074b352eece649b50d29e02e1520 | Add user id to APIPlaylistItem | ppy/osu,smoogipooo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Online/Rooms/APIPlaylistItem.cs | osu.Game/Online/Rooms/APIPlaylistItem.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 System.Collections.Generic;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Game.Online.Rooms
{
... | // 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 System.Collections.Generic;
using System.Linq;
using MessagePack;
using osu.Game.Online.API;
namespace osu.Game.Online.Rooms
{
... | mit | C# |
b564477ab59dc778d28f822f2829dd2df55f8984 | Adjust internal assembly version | ZEISS-PiWeb/PiWeb-Api | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2018 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2018 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | bsd-3-clause | C# |
65c815c6225375811f115269c4e0a00ee4df5e39 | Fix for convention based bindings when using multiple threads | modesttree/Zenject,modesttree/Zenject,modesttree/Zenject | UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/Conventions/ConventionBindInfo.cs | UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/Conventions/ConventionBindInfo.cs | #if !(UNITY_WSA && ENABLE_DOTNET)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Zenject
{
public class ConventionBindInfo
{
readonly List<Func<Type, bool>> _typeFilters = new List<Func<Type, bool>>();
readonly List<Func<Assembly, bool>> _... | #if !(UNITY_WSA && ENABLE_DOTNET)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Zenject
{
public class ConventionBindInfo
{
readonly List<Func<Type, bool>> _typeFilters = new List<Func<Type, bool>>();
readonly List<Func<Assembly, bool>> _... | mit | C# |
7b42bf04d1b0db24d77d964ac2c41198224d92b2 | Add multiple bing maps keys | DanieleScipioni/TestApp | TestAppUWP/Samples/Map/MapServiceSettings.cs | TestAppUWP/Samples/Map/MapServiceSettings.cs | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public const string TokenUwp1 = "TokenUwp1";
public const string TokenUwp2 = "TokenUwp2";
public static string SelectedToken = TokenUwp1;
}
} | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token = string.Empty;
}
} | mit | C# |
2ab828416a8df6b0107318d9e2afbe6c22212991 | Return data from service | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ITaskNotificationService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ITaskNotificationService.cs | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ITaskNotificationCallback))]
public interface ITaskNotificationService : IQuartz... | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto.Event.Notification;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(CallbackContract = typeof(ITaskNotificationCallback))]
public interface ITaskNotificationService : IQuartz... | mit | C# |
ff635b6ac01370608c61e4e35e66a83661df5800 | Remove [ActiveIssue] for ILGenerator.EmitWriteLine test | Alcaro/corefx,kkurni/corefx,chenkennt/corefx,dkorolev/corefx,parjong/corefx,tijoytom/corefx,n1ghtmare/corefx,krytarowski/corefx,rahku/corefx,iamjasonp/corefx,shimingsg/corefx,mmitche/corefx,Frank125/corefx,rahku/corefx,lggomez/corefx,zmaruo/corefx,mokchhya/corefx,shana/corefx,heXelium/corefx,axelheer/corefx,fgreinacher... | src/System.Reflection.Emit.ILGeneration/tests/ILGenerator/ILGeneratorEmitWriteLine.cs | src/System.Reflection.Emit.ILGeneration/tests/ILGenerator/ILGeneratorEmitWriteLine.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using TestLibrary;
using System.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.ILGeneration.Tests
{
public c... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using TestLibrary;
using System.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.ILGeneration.Tests
{
public c... | mit | C# |
a858ebae82a933c436e43300e88befbdd688ef3e | Add FileWithCdn | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Models/Song.cs | src/Wukong/Models/Song.cs | using System;
using System.Reflection;
namespace Wukong.Models
{
public class ClientSong
{
public string SiteId { get; set; }
public string SongId { get; set; }
// override object.Equals
public override bool Equals(object obj)
{
var song = obj as ClientSong;... | using System;
using System.Reflection;
namespace Wukong.Models
{
public class ClientSong
{
public string SiteId { get; set; }
public string SongId { get; set; }
// override object.Equals
public override bool Equals(object obj)
{
var song = obj as ClientSong;... | mit | C# |
bba8d37997b01de6ada568a5d2e08c9056b40825 | introduce ConfigurationReader.AddConfigurationReader | TeamSpark/Configuration-Provider | TeamSpark.ConfigurationProvider.Infrastructure/ConfigurationReader.cs | TeamSpark.ConfigurationProvider.Infrastructure/ConfigurationReader.cs | using System;
using System.Collections.Generic;
namespace TeamSpark.ConfigurationProvider.Infrastructure
{
public sealed class ConfigurationReader : IConfigurationReader
{
private List<IConfigurationReader> _configurationReaders = new List<IConfigurationReader>();
#region Singleton
private static Lazy<Confi... | using System;
using System.Collections.Generic;
namespace TeamSpark.ConfigurationProvider.Infrastructure
{
public sealed class ConfigurationReader : IConfigurationReader
{
private List<IConfigurationReader> _configurationReaders = new List<IConfigurationReader>();
#region Singleton
private static Lazy<Confi... | mit | C# |
d39ee49c401194700a7b96cbb220dfa8733fb96c | Rename method | lpatalas/NhLogAnalyzer | NhLogAnalyzer/Infrastructure/StackTraceParser.cs | NhLogAnalyzer/Infrastructure/StackTraceParser.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class StackTraceParser : IStackTraceParser
{
public IList<StackFrame> Parse(string stackTrace)
{
if (string.IsNullOrEmpty(stackT... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NhLogAnalyzer.Infrastructure
{
public class StackTraceParser : IStackTraceParser
{
public IList<StackFrame> Parse(string stackTrace)
{
if (string.IsNullOrEmpty(stackT... | mit | C# |
e3fe44b03d35d3595132904abcaa5b83b1cd9bf1 | fix test, markdown now looks for line break at end of title line | ewilde/crane,ewilde/crane | src/Crane.Core.Tests/Documentation/Formatters/MarkdownHelpFormatterTests.cs | src/Crane.Core.Tests/Documentation/Formatters/MarkdownHelpFormatterTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Crane.Core.Documentation;
using Crane.Core.Documentation.Formatters;
using Crane.Core.Extensions;
using Crane.Core.Tests.TestUtilities;
using FluentAssertions;
using Xbehave;
namespace Crane.Core.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Crane.Core.Documentation;
using Crane.Core.Documentation.Formatters;
using Crane.Core.Extensions;
using Crane.Core.Tests.TestUtilities;
using FluentAssertions;
using Xbehave;
namespace Crane.Core.... | apache-2.0 | C# |
57cc7d5e4108c08347076bbb80ee329fa99298fa | Use count | diryboy/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,eriawan/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,ErikSchierboom/roslyn,eriawan/roslyn,tannergooding/roslyn,sharwell/roslyn,mavasani/roslyn,bartdesmet/roslyn,wvdd007/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,KevinRansom/roslyn,tmat/roslyn,physh... | src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIndex.DeclarationInfo.cs | src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIndex.DeclarationInfo.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.
#nullable disable
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.PooledObjects;
us... | // 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Micros... | mit | C# |
47284355e228a324a67f13c0bfd63aa1905d7d37 | update version number | mike-ward/Calendar | src/Calendar/AssemblyInfo.cs | src/Calendar/AssemblyInfo.cs | using System.Reflection;
//
// 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("Calendar")]
[assembly: AssemblyDescription("A fast, perpetual cal... | using System.Reflection;
//
// 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("Calendar")]
[assembly: AssemblyDescription("A fast, perpetual cal... | mit | C# |
354889f7aed7bb9348f891d08c740c9018abd629 | fix awaiting to get current user, because not waiting a result and not throwing exception | aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template | src/AbpCompanyName.AbpProjectName.Application/AbpProjectNameAppServiceBase.cs | src/AbpCompanyName.AbpProjectName.Application/AbpProjectNameAppServiceBase.cs | using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.IdentityFramework;
using Abp.Runtime.Session;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using AbpCompanyName.AbpProjectName.Users;
using Microsoft.AspNet.Identi... | using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.IdentityFramework;
using Abp.Runtime.Session;
using AbpCompanyName.AbpProjectName.Authorization.Users;
using AbpCompanyName.AbpProjectName.MultiTenancy;
using AbpCompanyName.AbpProjectName.Users;
using Microsoft.AspNet.Identi... | mit | C# |
6d5d4fc51b79d90d18072479f6cd288e25beceaa | Change recognized event handler for eval | lex4all/lex4all,lex4all/lex4all,lex4all/lex4all | src/lex4all/EngineControl.cs | src/lex4all/EngineControl.cs | using Microsoft.Speech.Recognition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lex4all
{
public static class EngineControl
{
/// <summary>
/// creates engine and sets properties
/// </summary>
//... | using Microsoft.Speech.Recognition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lex4all
{
public static class EngineControl
{
/// <summary>
/// creates engine and sets properties
/// </summary>
//... | bsd-2-clause | C# |
db6305b52669f7d94f946a08217de388552df6f7 | support different log4net config options | Mozu/mozu-dotnet,ezekielthao/mozu-dotnet,rocky0904/mozu-dotnet,sanjaymandadi/mozu-dotnet | Libraries/Mozu.Api.ToolKit/Mozu.Api.ToolKit/Logging/Log4NetServiceFactory.cs | Libraries/Mozu.Api.ToolKit/Mozu.Api.ToolKit/Logging/Log4NetServiceFactory.cs | using System;
using System.IO;
using log4net.Config;
using Mozu.Api.Logging;
using Mozu.Api.ToolKit.Config;
namespace Mozu.Api.ToolKit.Logging
{
public class Log4NetServiceFactory : ILoggingServiceFactory
{
protected static readonly Object Lock = new Object();
protected static bool IsInitializ... | using System;
using System.IO;
using log4net.Config;
using Mozu.Api.Logging;
using Mozu.Api.ToolKit.Config;
namespace Mozu.Api.ToolKit.Logging
{
public class Log4NetServiceFactory : ILoggingServiceFactory
{
protected static readonly Object Lock = new Object();
protected static bool IsInitializ... | mit | C# |
6ef6f41b2b4027e024cf11ce8504e9e93da0b46c | Fix link | mattgwagner/alert-roster | alert-roster.web/Views/Home/Subscriptions.cshtml | alert-roster.web/Views/Home/Subscriptions.cshtml | @model IEnumerable<alert_roster.web.Models.User>
@{
ViewBag.Title = "View Subscriptions";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Create New", "Subscription")
</p>
@if (TempData["Message"] != null)
{
<div class="alert alert-info">@TempData["Message"]</div>
}
<table class="table">
<tr>
... | @model IEnumerable<alert_roster.web.Models.User>
@{
ViewBag.Title = "View Subscriptions";
}
<h2>@ViewBag.Title</h2>
<p>
@Html.ActionLink("Create New", "Subscribe")
</p>
@if (TempData["Message"] != null)
{
<div class="alert alert-info">@TempData["Message"]</div>
}
<table class="table">
<tr>
... | mit | C# |
39192b322297a50abb9b6003126ce6f8f49a192c | Fix accidental API change | blackdwarf/cli,mylibero/cli,livarcocc/cli-1,harshjain2/cli,naamunds/cli,jkotas/cli,weshaggard/cli,borgdylan/dotnet-cli,nguerrera/cli,svick/cli,livarcocc/cli-1,mylibero/cli,JohnChen0/cli,schellap/cli,schellap/cli,harshjain2/cli,MichaelSimons/cli,stuartleeks/dotnet-cli,danquirk/cli,naamunds/cli,harshjain2/cli,jkotas/cli,... | src/Microsoft.Extensions.DependencyModel/CompilationLibrary.cs | src/Microsoft.Extensions.DependencyModel/CompilationLibrary.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyModel.Resolution;
namespace Microsoft.Extensions.Dependency... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Microsoft.Extensions.DependencyModel.Resolution;
namespace Microsoft.Extensions.Dependency... | mit | C# |
1d1a974986564249411a2916038e52cdbee56c4b | Bump version | studio-nine/Nine.Application,yufeih/Nine.Application | src/Portable/AssemblyInfo.cs | src/Portable/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
[assembly: AssemblyTitle("Nine.Application")]
[assembly: AssemblyDescription("A portable way of accessing common device functionality for client applications")]
[assembly: AssemblyCompany("Studio Nine")]
[assembly: AssemblyProduct("Nine.Application")]
[assembly:... | using System.Resources;
using System.Reflection;
[assembly: AssemblyTitle("Nine.Application")]
[assembly: AssemblyDescription("A portable way of accessing common device functionality for client applications")]
[assembly: AssemblyCompany("Studio Nine")]
[assembly: AssemblyProduct("Nine.Application")]
[assembly:... | mit | C# |
bab17b22076543ce9d0d03c8a7c39a58bba3f314 | Make types sealed | ErikSchierboom/roslyn,sharwell/roslyn,dotnet/roslyn,AlekseyTs/roslyn,dotnet/roslyn,panopticoncentral/roslyn,physhi/roslyn,genlu/roslyn,heejaechang/roslyn,wvdd007/roslyn,panopticoncentral/roslyn,mavasani/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,heejaechang/r... | src/Workspaces/Core/Portable/Utilities/EmptyAsyncEnumerable.cs | src/Workspaces/Core/Portable/Utilities/EmptyAsyncEnumerable.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAn... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAn... | mit | C# |
bca5bee72eb22df8f9885c8962efe2a9125417fa | remove duplicate CreateSpriteText in OsuMarkdownTextFlowContainer | smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.cs | osu.Game/Graphics/Containers/Markdown/OsuMarkdownTextFlowContainer.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers.Markdown;
using osu.Framework.Graphics... | mit | C# |
bdb3aa5784c001a9d985359c9111eab229401c95 | Remove accidentally added fact... | wvdd007/roslyn,sharwell/roslyn,wvdd007/roslyn,eriawan/roslyn,mavasani/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,diryboy/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,AmadeusW/roslyn,weltkante/roslyn,dotnet/roslyn,sharwell/ros... | src/VisualStudio/IntegrationTest/IntegrationTests/LanguageServerProtocol/LspGoToDefinition.cs | src/VisualStudio/IntegrationTest/IntegrationTests/LanguageServerProtocol/LspGoToDefinition.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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStud... | // 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 Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStud... | mit | C# |
0a276eaf43eeac11cf83a7dab139ad13a6e10298 | Remove watForServiceSart | gigya/microdot | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs | using System.Threading;
using System.Threading.Tasks;
using Gigya.Microdot.Fakes;
using Gigya.Microdot.Hosting.HttpService;
using Gigya.Microdot.Hosting.Validators;
using Gigya.Microdot.Interfaces;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
u... | using System.Threading;
using System.Threading.Tasks;
using Gigya.Microdot.Fakes;
using Gigya.Microdot.Hosting.HttpService;
using Gigya.Microdot.Hosting.Validators;
using Gigya.Microdot.Interfaces;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
u... | apache-2.0 | C# |
7eee303c474e55771fa4ff18b578285465a152af | Implement iteratable query of seq in terms of SeqQuery | atifaziz/WebLinq,weblinq/WebLinq,atifaziz/WebLinq,weblinq/WebLinq | src/Core/Query.cs | src/Core/Query.cs | #region Copyright (c) 2016 Atif Aziz. 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 ap... | #region Copyright (c) 2016 Atif Aziz. 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 ap... | apache-2.0 | C# |
df79fac462540cc1586620f5c0a1cc0cda3959d0 | change default connection string name to allow explicit migrations to set connection string name | tomascassidy/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,rajendra1809/BrockAllen.MembershipReboot | src/BrockAllen.MembershipReboot.Ef/DefaultMembershipRebootDatabase.cs | src/BrockAllen.MembershipReboot.Ef/DefaultMembershipRebootDatabase.cs | /*
* Copyright (c) Brock Allen. All rights reserved.
* see license.txt
*/
using BrockAllen.MembershipReboot.Relational;
using System.Data.Entity;
namespace BrockAllen.MembershipReboot.Ef
{
public class DefaultMembershipRebootDatabase : DbContext
{
public DefaultMembershipRebootDatabase()
... | /*
* Copyright (c) Brock Allen. All rights reserved.
* see license.txt
*/
using BrockAllen.MembershipReboot.Relational;
using System.Data.Entity;
namespace BrockAllen.MembershipReboot.Ef
{
public class DefaultMembershipRebootDatabase : DbContext
{
public DefaultMembershipRebootDatabase()
... | bsd-3-clause | C# |
9e88fc60e3572a20787ff509767c0df3878950c8 | remove unused usings | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/DbRepositories/Variant960/GameRepository.cs | src/ChessVariantsTraining/DbRepositories/Variant960/GameRepository.cs | using ChessVariantsTraining.Configuration;
using ChessVariantsTraining.Models.Variant960;
using ChessVariantsTraining.Services;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System.Linq;
namespace ChessVariantsTraining.DbRepositories.Variant960
{
public class GameRepository : IGameRepository
... | using ChessVariantsTraining.Configuration;
using ChessVariantsTraining.Models.Variant960;
using ChessVariantsTraining.Services;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ChessVariantsTraining.DbR... | agpl-3.0 | C# |
51d6c6d99197dc186eaeb0d62e1304aaf55207e4 | Disable security while performing implicit AutoPublish | bussemac/n2cms,n2cms/n2cms,DejanMilicic/n2cms,SntsDev/n2cms,nimore/n2cms,bussemac/n2cms,SntsDev/n2cms,SntsDev/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,DejanMilicic/n2cms,VoidPointerAB/n2cms,nicklv/n2cms,nicklv/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,n2cms... | src/Mvc/MvcTemplates/N2/Content/AutoPublish/PublishScheduledAction.cs | src/Mvc/MvcTemplates/N2/Content/AutoPublish/PublishScheduledAction.cs | using System;
using System.Diagnostics;
using N2.Persistence;
using N2.Persistence.Finder;
using N2.Plugin.Scheduling;
using N2.Security;
namespace N2.Edit.AutoPublish
{
[ScheduleExecution(30, TimeUnit.Seconds)]
public class PublishScheduledAction : ScheduledAction
{
IVersionManager Ver... | using System;
using System.Diagnostics;
using N2.Persistence;
using N2.Persistence.Finder;
using N2.Plugin.Scheduling;
using N2.Security;
namespace N2.Edit.AutoPublish
{
[ScheduleExecution(30, TimeUnit.Seconds)]
public class PublishScheduledAction : ScheduledAction
{
IVersionManager Ver... | lgpl-2.1 | C# |
75fc999bfd3b7fd8339d6f346d5d3a29e051e282 | Return completions from all documents | sreal/omnisharp-roslyn,sreal/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,nabychan/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,jtbm37/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,nabychan/omnisharp-roslyn,fishg/omnisharp-roslyn,khellang/omnisharp-roslyn,sriramg... | src/OmniSharp/Api/Intellisense/OmnisharpController.Intellisense.cs | src/OmniSharp/Api/Intellisense/OmnisharpController.Intellisense.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Recommendations;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{... | using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Recommendations;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("autocomplete")... | mit | C# |
c88acbd527f762b77d96333f325fadec936ac46b | 修正版本号:v14.6.7 增加更多自定义菜单类型:media_id、view_limited | mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Properties/AssemblyInfo.cs | src/Senparc.Weixin.MP/Senparc.Weixin.MP/Properties/AssemblyInfo.cs | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | #region Apache License Version 2.0
/*----------------------------------------------------------------
Copyright 2017 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd.
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 ... | apache-2.0 | C# |
f9edbdf378761dda5ebd4b0ab5b9b329269b8868 | Fix auth http services registration | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Auth.HttpService/IoC/AuthHttpServiceContainerModule.cs | InfinniPlatform.Auth.HttpService/IoC/AuthHttpServiceContainerModule.cs | using InfinniPlatform.Http;
using InfinniPlatform.IoC;
namespace InfinniPlatform.Auth.HttpService.IoC
{
public class AuthHttpServiceContainerModule<TUser> : IContainerModule where TUser : AppUser
{
public void Load(IContainerBuilder builder)
{
builder.RegisterType(typeof(AuthIntern... | using InfinniPlatform.Http;
using InfinniPlatform.IoC;
namespace InfinniPlatform.Auth.HttpService.IoC
{
public class AuthHttpServiceContainerModule<TUser> : IContainerModule where TUser : AppUser
{
public void Load(IContainerBuilder builder)
{
builder.RegisterType(typeof(AuthIntern... | agpl-3.0 | C# |
7c3ec44fce12e9a6a25c49f1bb595f9d7d3defc5 | Fix lastchangedby not null | os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos | Tools.Test.Database/Model/Tasks/CreateSensitivePersonalDataTypeTask.cs | Tools.Test.Database/Model/Tasks/CreateSensitivePersonalDataTypeTask.cs | using System;
using Core.DomainModel.ItSystem;
using Infrastructure.DataAccess;
using Tools.Test.Database.Model.Extensions;
namespace Tools.Test.Database.Model.Tasks
{
public class CreateSensitivePersonalDataTypeTask : DatabaseTask
{
private readonly string _name;
public CreateSensitivePerson... | using System;
using Core.DomainModel.ItSystem;
using Infrastructure.DataAccess;
namespace Tools.Test.Database.Model.Tasks
{
public class CreateSensitivePersonalDataTypeTask : DatabaseTask
{
private readonly string _name;
public CreateSensitivePersonalDataTypeTask(string name)
{
... | mpl-2.0 | C# |
a48468e31f8967a0820a8e98de84a465d7009449 | Update bower package 'Angular,uuid2' | croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-... | source/CroquetAustralia.Website/Layouts/Shared/AfterRenderBody.cshtml | source/CroquetAustralia.Website/Layouts/Shared/AfterRenderBody.cshtml | @using CroquetAustralia.Website.App.Infrastructure
@* ReSharper disable All *@
@{
var model = (IViewModel) PageData["model"];
if (model.ShowSidebar)
{
@RenderPage("EndColumns.cshtml")
}
}
</div>
</div>
<!-- bower:js -->
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src... | @using CroquetAustralia.Website.App.Infrastructure
@* ReSharper disable All *@
@{
var model = (IViewModel) PageData["model"];
if (model.ShowSidebar)
{
@RenderPage("EndColumns.cshtml")
}
}
</div>
</div>
<!-- bower:js -->
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src... | mit | C# |
1c5e1468ff4778f991d1df92a8eb946f869b206a | Update TestMongoRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoRepository.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoRepository.cs | using System;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoRepository : MongoRepository<TestMongoEntity, Guid>, ITestMongoRepository
{
public TestMongoRepository(
IMongoClientSessionProvider mongoClientSessionProvider,
IM... | using System;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoRepository : MongoRepository<TestMongoEntity, Guid>, ITestMongoRepository
{
public TestMongoRepository(
IMongoClientSessionProvider mongoClientSessionProvider,
IM... | mit | C# |
200a6f1241bfc6dc8d5868239fdd87ca557d1b07 | Fix GLib.MissingPtrCtorException (bgo#626293) | lamalex/Banshee,stsundermann/banshee,dufoli/banshee,GNOME/banshee,directhex/banshee-hacks,Carbenium/banshee,babycaseny/banshee,petejohanson/banshee,ixfalia/banshee,arfbtwn/banshee,babycaseny/banshee,Dynalon/banshee-osx,allquixotic/banshee-gst-sharp-work,petejohanson/banshee,ixfalia/banshee,dufoli/banshee,dufoli/banshee... | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs | src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtistListView.cs | //
// ArtistListView.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | //
// ArtistListView.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright (C) 2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | mit | C# |
b536a7fd06e80cc6be9d3273fecfba29acf4772e | use a single interface in leaky test | aloneguid/storage | test/Storage.Net.Tests.Integration/Azure/LeakyAzureBlobStorageTest.cs | test/Storage.Net.Tests.Integration/Azure/LeakyAzureBlobStorageTest.cs | using Storage.Net.Blobs;
using Storage.Net.Microsoft.Azure.Storage.Blobs;
using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Storage.Net.Tests.Integration.Azure
{
public class LeakyAzureBlobStorageTest
{
private readonly IAzureBlobStorage _native;
public LeakyAzure... | using Storage.Net.Blobs;
using Storage.Net.Microsoft.Azure.Storage.Blobs;
using System;
using System.Net;
using System.Threading.Tasks;
using Xunit;
namespace Storage.Net.Tests.Integration.Azure
{
public class LeakyAzureBlobStorageTest
{
private readonly IBlobStorage _storage;
private readonly IAzur... | mit | C# |
4e425a83ebff2959b5971ca4bef81cc09fd68a06 | Fix tests | axelheer/corefx,shimingsg/corefx,ptoonen/corefx,zhenlan/corefx,BrennanConroy/corefx,mmitche/corefx,ptoonen/corefx,wtgodbe/corefx,Jiayili1/corefx,ericstj/corefx,ViktorHofer/corefx,ravimeda/corefx,wtgodbe/corefx,ericstj/corefx,ravimeda/corefx,mmitche/corefx,axelheer/corefx,ptoonen/corefx,ravimeda/corefx,shimingsg/corefx,... | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.cs | src/System.Runtime/tests/System/Reflection/ReflectionTypeLoadExceptionTests.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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadException... | // 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 Xunit;
namespace System.Reflection.Tests
{
public static class ReflectionTypeLoadException... | mit | C# |
08e31159fca22f2f599415f03de9b632073daa39 | Make testcase even more useful | NeoAdonis/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,2y... | osu.Game.Tests/Visual/UserInterface/TestSceneToolbarRulesetSelector.cs | osu.Game.Tests/Visual/UserInterface/TestSceneToolbarRulesetSelector.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.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using System.Linq... | // 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.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using System.Linq... | mit | C# |
83cfde7db2173c726d8e0931d4b2fa2e1ca0c6f1 | Refactor Machine.Execute | ajlopez/BScript | Src/BScript/Machine.cs | Src/BScript/Machine.cs | namespace BScript
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using BScript.Commands;
using BScript.Compiler;
public class Machine
{
private Context context;
private TextWriter outWriter;
... | namespace BScript
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using BScript.Commands;
using BScript.Compiler;
public class Machine
{
private Context context;
private TextWriter outWriter;
... | mit | C# |
4ecd18a8f103312f5da1247669c581744ea221a9 | Clean bin and obj folders. Fix VSIX build. | ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var artifactsDirectory = Directory("./Artifacts");
var packagesDirectory = Directory("./packages");
Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsDir... | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var artifactsDirectory = Directory("./Artifacts");
var packagesDirectory = Directory("./packages");
Task("Clean")
.Does(() =>
{
CleanDirectory(artifactsDir... | mit | C# |
d8d08e9b76df7ef4931ea8602c7145b679d505b4 | Add Pack to default target | thomaslevesque/Linq.Extras | build.cake | build.cake | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.1
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument<string>("target", "Default");
var configuration = Argument<st... | #tool nuget:?package=NUnit.ConsoleRunner&version=3.4.1
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////////////////////////////////////////
var target = Argument<string>("target", "Default");
var configuration = Argument<st... | apache-2.0 | C# |
3d407bc70bd32e2a1d8a457ef7ca977040a098ba | Update build scripts | ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp | build.cake | build.cake | #load "./cake/SharpBuild.cake"
var build = new SharpBuild(Context, "SampSharp.Core", "SampSharp.GameMode", "SampSharp.Entities");
Task("Clean")
.Does(() => build.Clean());
Task("Restore")
.Does(() => build.Restore());
Task("Build")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.Does(() =... | #load "./cake/SharpBuild.cake"
var build = new SharpBuild(Context, "SampSharp.Core", "SampSharp.GameMode", "SampSharp.Entities");
Task("Clean")
.Does(() => build.Clean());
Task("Restore")
.Does(() => build.Restore());
Task("Build")
.IsDependentOn("Clean")
.IsDependentOn("Restore")
.Does(() =... | apache-2.0 | C# |
c51fef28f9a40d26d2e6699ba3537f4056a8605b | Add configureOptions parameter to extension methods | RockFramework/Rock.Logging | RockLib.Logging.Microsoft.Extensions/RockLibLoggerExtensions.cs | RockLib.Logging.Microsoft.Extensions/RockLibLoggerExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RockLib.Logging.DependencyInjection;
using System;
namespace RockLib.Logging
{
public static class RockLibLoggerExtensions
{
public static ILoggingBuilder AddRockLibLoggerProvi... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RockLib.Logging.DependencyInjection;
using System;
namespace RockLib.Logging
{
public static class RockLibLoggerExtensions
{
public static ILoggingBuilder AddRockLibLoggerProvi... | mit | C# |
b959b31e3fb561a19bbeb126c0d31eaf942e3853 | use PCL reflection | LithiumToast/MonoGame.Extended,cra0zy/MonoGame.Extended,HyperionMT/MonoGame.Extended,Aurioch/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended | Source/MonoGame.Extended/InputListeners/InputListenerManager.cs | Source/MonoGame.Extended/InputListeners/InputListenerManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Xna.Framework;
using MonoGame.Extended.ViewportAdapters;
namespace MonoGame.Extended.InputListeners
{
public class InputListenerManager : IUpdate
{
public InputListenerManager()
: th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Xna.Framework;
using MonoGame.Extended.ViewportAdapters;
namespace MonoGame.Extended.InputListeners
{
public class InputListenerManager : IUpdate
{
public InputListenerManager()
: th... | mit | C# |
9c70a02ca03793de034b7eb7350f854543536ef6 | Remove NoInlining from ThrowHelper methods to help the jitter | 0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced,0xd4d/iced | Iced/Intel/ThrowHelper.cs | Iced/Intel/ThrowHelper.cs | /*
Copyright (C) 2018-2019 de4dot@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, copy, modify, merge, publish,
distr... | /*
Copyright (C) 2018-2019 de4dot@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, copy, modify, merge, publish,
distr... | mit | C# |
af944ea5fd0612304598c0e4f66f8301f7e3012b | make voyagestate build | Shamar/Epic.NET,bards/Epic.NET,bards/Epic.NET,Shamar/Epic.NET | Challenges/Challenge00.DDDSample/Challenge00.DDDSample.Default/Voyage/VoyageState.cs | Challenges/Challenge00.DDDSample/Challenge00.DDDSample.Default/Voyage/VoyageState.cs | //
// VoyageState.cs
//
// Author:
// Giacomo Tesio <giacomo@tesio.it>
//
// Copyright (c) 2010 Giacomo Tesio
//
// This file is part of Epic.NET.
//
// Epic.NET is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// ... | //
// VoyageState.cs
//
// Author:
// Giacomo Tesio <giacomo@tesio.it>
//
// Copyright (c) 2010 Giacomo Tesio
//
// This file is part of Epic.NET.
//
// Epic.NET is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// ... | agpl-3.0 | C# |
eec09a63f37725d3078e334c421855533b27a981 | Add nullchecks to FormattedTextBlockMarginConverter. | JohanLarsson/Gu.Wpf.NumericInput | Gu.Wpf.NumericInput/Converters/FormattedTextBlockMarginConverter.cs | Gu.Wpf.NumericInput/Converters/FormattedTextBlockMarginConverter.cs | namespace Gu.Wpf.NumericInput
{
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
internal class FormattedTextBlockMarginConverter : IValueConverter
{
internal static readonly FormattedTextBlockMarginConverter ... | namespace Gu.Wpf.NumericInput
{
using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
internal class FormattedTextBlockMarginConverter : IValueConverter
{
internal static readonly FormattedTextBlockMarginConverter ... | mit | C# |
2e326b9948767ea5030577beb1a83c312c81f2b6 | Stop hiding indexer on IList | rianjs/ical.net | ical.NET/Interfaces/DataTypes/IPeriodList.cs | ical.NET/Interfaces/DataTypes/IPeriodList.cs | using System.Collections.Generic;
namespace Ical.Net.Interfaces.DataTypes
{
public interface IPeriodList : IEncodableDataType, IList<IPeriod>
{
string TzId { get; set; }
new IPeriod this[int index] { get; set; }
void Add(IDateTime dt);
void Remove(IDateTime dt);
}
} | using System.Collections.Generic;
namespace Ical.Net.Interfaces.DataTypes
{
public interface IPeriodList : IEncodableDataType, IList<IPeriod>
{
string TzId { get; set; }
IPeriod this[int index] { get; set; }
void Add(IDateTime dt);
void Remove(IDateTime dt);
}
} | mit | C# |
dd7c4d39133e3b669d6fe08d28b81105880226d0 | Fix overwrite | chcosta/buildtools,mmitche/buildtools,joperezr/buildtools,MattGal/buildtools,karajas/buildtools,MattGal/buildtools,alexperovich/buildtools,dotnet/buildtools,stephentoub/buildtools,jthelin/dotnet-buildtools,crummel/dotnet_buildtools,mmitche/buildtools,MattGal/buildtools,MattGal/buildtools,tarekgh/buildtools,stephentoub/... | src/Microsoft.DotNet.Build.Tasks/WriteVisualBasicDefineResponseFile.cs | src/Microsoft.DotNet.Build.Tasks/WriteVisualBasicDefineResponseFile.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 Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Newtonsoft.Json;
using System.IO;
/// <summ... | // 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 Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Newtonsoft.Json;
using System.IO;
/// <summ... | mit | C# |
05da021279b03db4a40bc810b73c6e8523df7eda | Fix user form layout left padding | xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Or... | src/OrchardCore.Modules/OrchardCore.Users/Views/UserFields.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Users/Views/UserFields.Edit.cshtml | @model EditUserViewModel
@using OrchardCore.Entities
@using OrchardCore.Settings
@using OrchardCore.Users.Models
@inject ISiteService Site
@{
var usersMustValidateEmail = (await Site.GetSiteSettingsAsync()).As<RegistrationSettings>().UsersMustValidateEmail;
}
<input asp-for="Id" type="hidden" />
<div class="row"... | @model EditUserViewModel
@using OrchardCore.Entities
@using OrchardCore.Settings
@using OrchardCore.Users.Models
@inject ISiteService Site
@{
var usersMustValidateEmail = (await Site.GetSiteSettingsAsync()).As<RegistrationSettings>().UsersMustValidateEmail;
}
<input asp-for="Id" type="hidden" />
<div class="form... | bsd-3-clause | C# |
c57953a9c890c37a0935a59d33b794db90ebe471 | Bump version before merge into master | upeo/inbloom-dotnet,upeo/inbloom-dotnet | inBloomApiLibrary/Properties/AssemblyInfo.cs | inBloomApiLibrary/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("inBloomApiLibrary")]
[assembly: AssemblyDescription("inBloom .NET Library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Upeo, LLC")]
[assembly: AssemblyProduct("inBloomApiLibrary")]
[assembly: AssemblyCopyr... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("inBloomApiLibrary")]
[assembly: AssemblyDescription("inBloom .NET Library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Upeo, LLC")]
[assembly: AssemblyProduct("inBloomApiLibrary")]
[assembly: AssemblyCopyr... | apache-2.0 | C# |
f57760b99c28a2b9b1ce94f886db8bf1030ff036 | make FormatterType attribute constructor public | rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,TukekeSoft/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,dfaruque/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,TukekeSoft/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,li... | Serenity.Core/ComponentModel/PropertyGrid/FormatterTypeAttribute.cs | Serenity.Core/ComponentModel/PropertyGrid/FormatterTypeAttribute.cs | using System;
using System.Collections.Generic;
namespace Serenity.ComponentModel
{
public class FormatterTypeAttribute : Attribute
{
public FormatterTypeAttribute(string type)
{
FormatterType = type;
}
public virtual void SetParams(IDictionary<string, ... | using System;
using System.Collections.Generic;
namespace Serenity.ComponentModel
{
public class FormatterTypeAttribute : Attribute
{
protected FormatterTypeAttribute(string type)
{
FormatterType = type;
}
public virtual void SetParams(IDictionary<strin... | mit | C# |
c36c34c6ab315020e6054fe8f488fffc592fac36 | Add some TODOs | peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-ka... | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | src/Glimpse.Agent.Connection.Http/Broker/RemoteHttpMessagePublisher.cs | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
... | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class RemoteHttpMessagePublisher : IMessagePublisher, IDisposable
{
private readonly HttpClient _httpClient;
private readonly HttpClientHandler _httpHandler;
... | mit | C# |
ae520873916358fb45443495c8d4c73fe0b25fd6 | Remove duplicate filter. | Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex | src/Squidex/Areas/Api/Controllers/Contents/ContentSwaggerController.cs | src/Squidex/Areas/Api/Controllers/Contents/ContentSwaggerController.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
e04d24fe0b0f66574bd9b7aa476164dda516d728 | Use invariant culture for parsing doubles This fails on german and any other systems that have reversed dot and comma notation. | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/ShaderLab/Feature/Services/VisualElements/VisualElementFactory.cs | resharper/src/resharper-unity/ShaderLab/Feature/Services/VisualElements/VisualElementFactory.cs | using System.Drawing;
using System.Globalization;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.VisualElements;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Colors;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Tree;
usi... | using System.Drawing;
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.VisualElements;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Colors;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Tree;
using JetBrains.ReSharper.Psi;
... | apache-2.0 | C# |
a2b437afb10cc67f9b573b349c4142d5150aaa3b | Increase MaxTestValue | AltaModaTech/LINQExtensions | test/IntListTestFixture.cs | test/IntListTestFixture.cs | using System;
using System.Collections.Generic;
using Xunit;
namespace Test.AMT.LinqExtensions
{
public class IntListTestFixture : IDisposable
{
public List<int> TestList { get; set; }
public const int MinTestValue = 0;
public const int MaxTestValue = 9999;
public IntListTe... | using System;
using System.Collections.Generic;
using Xunit;
namespace Test.AMT.LinqExtensions
{
public class IntListTestFixture : IDisposable
{
public List<int> TestList { get; set; }
public const int MinTestValue = 0;
public const int MaxTestValue = 250;
public IntListTes... | apache-2.0 | C# |
500ed7d236b39527e9d7e76d280bd156bcf6a1f2 | Fix station events system test | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.IntegrationTests/Tests/StationEvents/StationEventsSystemTest.cs | Content.IntegrationTests/Tests/StationEvents/StationEventsSystemTest.cs | using System.Threading.Tasks;
using Content.Server.GameObjects.EntitySystems.StationEvents;
using NUnit.Framework;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.StationEvents
{
[TestFixture]
public class Station... | using System.Threading.Tasks;
using Content.Server.GameObjects.EntitySystems.StationEvents;
using NUnit.Framework;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.StationEvents
{
[TestFixture]
public class Station... | mit | C# |
97b4f73b5833ef3b2b5e7a0306e7790e3fcdffed | Remove code old | carlosmarian/SchoolOfNet_IniciandoCSharp | ConsoleCSharp01/Program.cs | ConsoleCSharp01/Program.cs | using System;
class ConsoleCSharp
{
static void Main()
{
Console.ReadLine();
}
} | using System;
class ConsoleCSharp
{
private void iniciandoComCSharp()
{
//Operadores de comparacao;
//int a = 10;
//int b = 10;
//if (a != b)
// Console.WriteLine("Diferentes");
//else
// Console.WriteLine("A igual a b");
//if (a == b)
... | apache-2.0 | C# |
4b6de5b5becec8fd37aa5b73dd7a096cf1e69e75 | Ajuste na IEntidadeDoGrupo | damasio34/seedwork | Domain/IEntidadeDoGrupo.cs | Domain/IEntidadeDoGrupo.cs | using System;
namespace Damasio34.Seedwork.Domain
{
public interface IEntidadeDoGrupo : IEntidadeBase
{
Guid IdGrupo { get; }
}
} | using System;
namespace Damasio34.Seedwork.Domain
{
public interface IEntidadeDoGrupo
{
Guid IdGrupo { get; }
}
} | mit | C# |
a240f9a1748c8c0e29f3cc49d16c421b2c024f96 | Use plain text for function secrets in Linux Containers | Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | src/WebJobs.Script.WebHost/Security/KeyManagement/DefaultKeyValueConverterFactory.cs | src/WebJobs.Script.WebHost/Security/KeyManagement/DefaultKeyValueConverterFactory.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.Config;
using static Microsoft.... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.Config;
using static Microsoft.... | mit | C# |
0dac770e38d899303147e6195a2fd9030a17c782 | Remove TestCase cleanup temporarily until context disposal is sorted | smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,DrabWeb/osu,naoey/osu,peppy/osu,Frontear/osuKyzer,DrabWeb/osu,EVAST9919/osu,johnneijzen/osu,Nabile-Rahman... | osu.Game/Tests/Visual/OsuTestCase.cs | osu.Game/Tests/Visual/OsuTestCase.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 osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase
... | // 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 osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase
... | mit | C# |
c1e445d8ce2c1ac31c780142cda561d409159421 | Update Format.cs | LassieME/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net | src/Discord.Net.Core/Format.cs | src/Discord.Net.Core/Format.cs | namespace Discord
{
public static class Format
{
// Characters which need escaping
private static string[] SensitiveCharacters = { "\\", "*", "_", "~", "`", };
/// <summary> Returns a markdown-formatted string with bold formatting. </summary>
public static string Bold(string t... | namespace Discord
{
public static class Format
{
// Characters which need escaping
private static string[] SensitiveCharacters = { "*", "_", "~", "`", "\\" };
/// <summary> Returns a markdown-formatted string with bold formatting. </summary>
public static string Bold(string tex... | mit | C# |
b36230755c26e7a064f3f3978293ce8cb4c36db6 | Remove the ListGroups snippet from Monitoring | evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,ctaggart/google-cloud-dotnet,evildour/google-cloud-dotnet,evildour/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,ctaggart/google-cloud-dotnet,googleapis/google-cloud-... | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | // Copyright 2016 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 applicabl... | // Copyright 2016 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 applicabl... | apache-2.0 | C# |
89676b548b3faad1015e6d5289e7d009b1745b10 | Prepare handling map mouse events | EightBitBoy/EcoRealms | Assets/Scripts/Map/MapHighlightManager.cs | Assets/Scripts/Map/MapHighlightManager.cs | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class MapHighlightManager : MonoBehaviour {
private int sizeX;
private int sizeY;
private float HEIGHT = 0.2f;
private Mesh mesh;
private float mouseX = 0.0f;
private float mouseY = 0.0f;
public void Setup(int chunksX, int ... | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class MapHighlightManager : MonoBehaviour {
private int sizeX;
private int sizeY;
private float HEIGHT = 0.2f;
private Mesh mesh;
public void Setup(int chunksX, int chunksY, int tilesX, int tilesY) {
this.sizeX = chunksX * t... | apache-2.0 | C# |
ef237fae53ea4996e35f6b587be1a470445c9a89 | Bump version to 0.8.7 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
cc33bd12a95eb4007b895940b25eaf6da2188355 | Make ErrorMessageHandler public | jlucansky/Camunda.Api.Client | Camunda.Api.Client/ErrorMessageHandler.cs | Camunda.Api.Client/ErrorMessageHandler.cs | using Iana;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Camunda.Api.Client
{
public class ErrorMessageHandler : HttpClientHandler
{
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationTok... | using Iana;
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Camunda.Api.Client
{
internal sealed class ErrorMessageHandler : HttpClientHandler
{
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, Cancel... | mit | C# |
06abe6ad30f29bee5f28119d370da6e73150c2d8 | Fix behaviour and code consistency for TimeZone matcher (#611) | matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text,matthewshim-ms/Recognizers-Text | .NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs | .NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.English;
using Microsoft.Recognizers.Text.Matcher;
namespace Microsoft.Recognizers.Text.DateTime.English
{
public class EnglishTimeZoneExtractorConfiguration : BaseOptionsConfigurati... | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.English;
using Microsoft.Recognizers.Text.Matcher;
namespace Microsoft.Recognizers.Text.DateTime.English
{
public class EnglishTimeZoneExtractorConfiguration : BaseOptionsConfigurati... | mit | C# |
bbbe8d2cb1ac0bf723c68851c6ed9d0fc0ca3f87 | Fix throw controller not handling deleted thrown stuff (#1097) | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/Physics/ThrowController.cs | Content.Shared/Physics/ThrowController.cs | using Robust.Shared.Interfaces.Physics;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Physics;
using Robust.Shared.Timers;
namespace Content.Shared.Physics
{
public class ThrowController: VirtualController
{
private float _throwTime;
private SharedPhysicsComponent _com... | using Robust.Shared.Interfaces.Physics;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Physics;
using Robust.Shared.Timers;
namespace Content.Shared.Physics
{
public class ThrowController: VirtualController
{
private float _throwTime;
private SharedPhysicsComponent _com... | mit | C# |
02f7bf89a8109f2a99dc9cf7b3dc4a44e6d3a648 | Update main.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | LoginPasswordUtil/C-Sharp-Version/main.cs | LoginPasswordUtil/C-Sharp-Version/main.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 ... | using System.Diagnostics.Process;
namespace ACLoginUtil{
}
| apache-2.0 | C# |
c36550a21625a190fed6a51c2d3c93cabb329276 | Remove unused using directive | MHeasell/Mappy,MHeasell/Mappy | Mappy/Collections/IGrid.cs | Mappy/Collections/IGrid.cs | namespace Mappy.Collections
{
using System.Collections.Generic;
public interface IGrid<T> : IEnumerable<T>
{
int Width { get; }
int Height { get; }
T this[int index] { get; set; }
T this[int x, int y] { get; set; }
/// <summary>
/// Merge ... | namespace Mappy.Collections
{
using System;
using System.Collections.Generic;
public interface IGrid<T> : IEnumerable<T>
{
int Width { get; }
int Height { get; }
T this[int index] { get; set; }
T this[int x, int y] { get; set; }
/// <summary>
... | mit | C# |
3e0e0f6afca86f59a7bdbc89e961b01725d6ed63 | Bump version to 0.2.3 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
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.
[assembly: AssemblyTitle("FatturaElettronicaPA")]
[assembly: AssemblyDescription(... | using System.Reflection;
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.
[assembly: AssemblyTitle("FatturaElettronicaPA")]
[assembly: AssemblyDescription(... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.