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 |
|---|---|---|---|---|---|---|---|---|
7e98de7d0c3f2e125384ee24e5730ecf5f2cdea2 | Bump version for release | programcsharp/griddly,jehhynes/griddly,programcsharp/griddly,programcsharp/griddly,jehhynes/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2013-2017 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Majo... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2013-2017 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Majo... | mit | C# |
d5ce618d9bf32e4098d6a0a2c947981be7d59982 | Update with framework changes | DrabWeb/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,Nabile-Rahmani/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,peppy/osu,ZLima12/osu,naoey/osu,2yangk23/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,NeoAdonis/osu,naoey/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,DrabWeb/osu,... | osu.Game/Tests/Visual/OsuTestCase.cs | osu.Game/Tests/Visual/OsuTestCase.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Reflection;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.IO;
using System.Reflection;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase... | mit | C# |
aacb15e86be86365f52dc477a53ddf15c907912a | Rewrite WebGLUnityTaskDelayFactory to consume all tasks per frame | HelloKitty/317refactor | src/Client/Rs317.Client.Unity/WebGL/WebGLUnityTaskDelayFactory.cs | src/Client/Rs317.Client.Unity/WebGL/WebGLUnityTaskDelayFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Rs317.Sharp
{
//Task.Delay does not work in WebGL because it uses
//System.Timers which requires multithreading under the hood.
//T... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Rs317.Sharp
{
//Task.Delay does not work in WebGL because it uses
//System.Timers which requires multithreading under the hood.
//T... | mit | C# |
af236d4c91d13c3418c1508565a4f1b41deda1ca | Make an option2 | panopticoncentral/roslyn,stephentoub/roslyn,wvdd007/roslyn,sharwell/roslyn,weltkante/roslyn,KevinRansom/roslyn,jmarolf/roslyn,KevinRansom/roslyn,KirillOsenkov/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,sharwell/roslyn,wvdd007/roslyn,jmarolf/roslyn,mavasani/roslyn,eriawan/roslyn,reaction1989/roslyn,AmadeusW/roslyn,m... | src/EditorFeatures/TestUtilities/InProcRemoteHostClientFactory.cs | src/EditorFeatures/TestUtilities/InProcRemoteHostClientFactory.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 System.Threading;
using System.Th... | // 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 System.Threading;
using System.Th... | mit | C# |
e9ce894f1b7b284b37dd0938d4e1315c06c2b532 | Add missing license header | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Client/PiecePicking/IgnoringPicker.cs | src/MonoTorrent/MonoTorrent.Client/PiecePicking/IgnoringPicker.cs | //
// IgnoringPicker.cs
//
// Authors:
// Alan McGovern alan.mcgovern@gmail.com
//
// Copyright (C) 2008 Alan McGovern
//
// 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 restrict... | using System;
using System.Collections.Generic;
using System.Text;
using MonoTorrent.Common;
using MonoTorrent.Client.Messages;
namespace MonoTorrent.Client
{
public class IgnoringPicker : PiecePicker
{
BitField bitfield;
BitField temp;
public IgnoringPicker(BitField bitfield, PiecePic... | mit | C# |
98b0d6c2a4b0e716f4b3be2ba2669790fb81932b | add manual RegisterValidator ext methods | nataren/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,meebey/ServiceStack,ZocDoc/ServiceStack,timba/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,MindTouch/NServiceKit,timba/NServiceKit,NServiceKit/NS... | src/ServiceStack.ServiceInterface/Validation/ValidationFeature.cs | src/ServiceStack.ServiceInterface/Validation/ValidationFeature.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Funq;
using ServiceStack.FluentValidation;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints;
using ServiceStack.Text;
namespace ServiceStack.ServiceInterface.Validation
{
public static cl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Funq;
using ServiceStack.FluentValidation;
using ServiceStack.ServiceHost;
using ServiceStack.WebHost.Endpoints;
using ServiceStack.Text;
namespace ServiceStack.ServiceInterface.Validation
{
public static cl... | bsd-3-clause | C# |
6c74f8316b688ff703aa59b2cb2845d1f0cef8e2 | Fix for one more IDE0078 | dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,mavasani/roslyn-analyzers | src/Tools/RulesetToEditorconfigConverter/Source/Program.cs | src/Tools/RulesetToEditorconfigConverter/Source/Program.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
namespace Microsoft.CodeAnalysis.RulesetToEditorconfig
{
internal static class Program
{
public static int Ma... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
namespace Microsoft.CodeAnalysis.RulesetToEditorconfig
{
internal static class Program
{
public static int Ma... | mit | C# |
4f8ea07dc846836e2d97cc3632525d239a37fff8 | Add a lock for StatisticCounter | heejaechang/roslyn,stephentoub/roslyn,AmadeusW/roslyn,diryboy/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,mavasani/roslyn,genlu/roslyn,weltkante/roslyn,mavasani/roslyn,dotnet/roslyn,eriawan/roslyn,weltkante/roslyn,gafter/roslyn,gafter/roslyn,AlekseyTs/roslyn,brettfo/roslyn,tmat/roslyn,jmarolf/roslyn,... | src/Workspaces/Core/Portable/Log/StatisticLogAggregator.cs | src/Workspaces/Core/Portable/Log/StatisticLogAggregator.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.
namespace Microsoft.CodeAnalysis.Internal.Log
{
internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Internal.Log
{
internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun... | mit | C# |
31b150a02c81e4bc42ace71cba615092c7b2a1c6 | Fix typo (win) | codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop | src/ui/windows/TogglDesktop/TogglDesktop/AboutWindowController.cs | src/ui/windows/TogglDesktop/TogglDesktop/AboutWindowController.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
namespace TogglDesktop
{
public partial class AboutWindowCont... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
namespace TogglDesktop
{
public partial class AboutWindowCont... | bsd-3-clause | C# |
3e4acb9140deec1c13d557ccf398af318114fde2 | Add comments | farity/farity | Farity/F.cs | Farity/F.cs | namespace Farity
{
/// <summary>
/// The root static class of Farity, through which all of its functional bliss is exposed.
/// </summary>
public static partial class F
{
/// <summary>
/// A placeholder used to provide dummy arguments to a function in order to place arguments proper... | namespace Farity
{
public static partial class F
{
public static readonly Placeholder _ = new Placeholder();
}
} | mit | C# |
b84e0567ff6a70b1b61e2010af3b7939db7b1f0e | migrate test setup for new sap client from v3 | MaceWindu/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db,linq2db/linq2db | Tests/Linq/TestsInitialization.cs | Tests/Linq/TestsInitialization.cs | using System;
using System.Data.Common;
using System.IO;
using System.Reflection;
using NUnit.Framework;
using Tests;
/// <summary>
/// 1. Don't add namespace to this class! It's intentional
/// 2. This class implements test assembly setup/teardown methods.
/// </summary>
[SetUpFixture]
public class TestsInitializa... | using System;
using System.Data.Common;
using System.Reflection;
using NUnit.Framework;
using Tests;
/// <summary>
/// 1. Don't add namespace to this class! It's intentional
/// 2. This class implements test assembly setup/teardown methods.
/// </summary>
[SetUpFixture]
public class TestsInitialization
{
[OneTimeS... | mit | C# |
f84a365a7310717819f47123b4cd467abbd098ae | Update AtomicService.cs | redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/atomic-red-team,redcanaryco/... | Windows/Payloads/AtomicService.cs | Windows/Payloads/AtomicService.cs | using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
// c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe AtomicService.cs
// sc create AtomicService binPath= "C:\Test\AtomicService.exe"
// sc start AtomicService
// sc stop A... | using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
// c:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe AtomicService.cs
// sc start AtomicService
// sc stop AtomicSerivce
// sc delete AtomicSerivce
// May requjire Administ... | mit | C# |
804c3bddfbd49e0d4935be6bc5936bd3a43ee152 | Configure route. | yasotidev/BP00,yasotidev/BP00 | 00/Src/Client/Web/BP00.Scaffolding/App_Start/RouteConfig.cs | 00/Src/Client/Web/BP00.Scaffolding/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace BP00.Scaffolding
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
... | using System.Web.Mvc;
using System.Web.Routing;
namespace BP00.Scaffolding
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
... | agpl-3.0 | C# |
a7aaa440c72a9a5faceb7e71488e500bc46bf1f2 | Fix thumbnail retrieval options to actually work | yovio/onedrive-explorer-win,marcosnz/onedrive-explorer-win,KumaranKamalanathan/onedrive-explorer-win,reddralf/onedrive-explorer-win,rgregg/onedrive-explorer-win | OneDriveSDK/CommandOptions/ThumbnailRetrievalOptions.cs | OneDriveSDK/CommandOptions/ThumbnailRetrievalOptions.cs | using System;
using System.Collections.Generic;
namespace OneDrive
{
public class ThumbnailRetrievalOptions : RetrievalOptions
{
/// <summary>
/// List of thumbnail size names to return
/// </summary>
public string[] SelectThumbnailNames { get; set; }
/// <summary>
... | using System;
using System.Collections.Generic;
namespace OneDrive
{
public class ThumbnailRetrievalOptions : RetrievalOptions
{
/// <summary>
/// List of thumbnail size names to return
/// </summary>
public string[] SelectThumbnailNames { get; set; }
/// <summary>
... | mit | C# |
47b84f0479b7959ccc8fe4ada3d00f687f67b19b | Add BsonSerializer for Date and Time | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.DocumentStorage/MongoDB/MongoTimeBsonSerializer.cs | InfinniPlatform.DocumentStorage/MongoDB/MongoTimeBsonSerializer.cs | using System;
using InfinniPlatform.Sdk.Types;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Serializers;
namespace InfinniPlatform.DocumentStorage.MongoDB
{
/// <summary>
/// Реализует логику сериализации и десериализации <see cref="Time"/> для MongoDB.
/// </su... | using System;
using InfinniPlatform.Sdk.Types;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Serializers;
namespace InfinniPlatform.DocumentStorage.MongoDB
{
/// <summary>
/// Реализует логику сериализации и десериализации <see cref="Time"/> для MongoDB.
/// </su... | agpl-3.0 | C# |
911d16da63a8a1cfd63cd4a4747a090f91c0e086 | Tweak beef001a to suppress Message when no additional shell items are present | EricZimmerman/ExtensionBlocks | ExtensionBlocks/Beef001a.cs | ExtensionBlocks/Beef001a.cs | using System;
using System.Text;
namespace ExtensionBlocks
{
public class Beef001a : BeefBase
{
public Beef001a(byte[] rawBytes)
: base(rawBytes)
{
if (Signature != 0xbeef001a)
{
throw new Exception($"Signature mismatch! Should be Beef001a bu... | using System;
using System.Text;
namespace ExtensionBlocks
{
public class Beef001a : BeefBase
{
public Beef001a(byte[] rawBytes)
: base(rawBytes)
{
if (Signature != 0xbeef001a)
{
throw new Exception($"Signature mismatch! Should be Beef001a bu... | mit | C# |
92643ad6c005d0765a2b93c07aba278b2485d791 | Replace InvalidOperationException with false-assert | ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs | osu.Framework.Tests/Visual/Testing/TestSceneIgnore.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 NUnit.Framework;
namespace osu.Framework.Tests.Visual.Testing
{
public class TestSceneIgnore : FrameworkTestScene
{
[Test]
[Ignore("test")... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
namespace osu.Framework.Tests.Visual.Testing
{
public class TestSceneIgnore : FrameworkTestScene
{
[Test]
[... | mit | C# |
3e9dc86c19c1fa194d22af62b156cb6528ecc069 | Test removed usings | RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast | RightpointLabs.Pourcast.Web/Controllers/HomeController.cs | RightpointLabs.Pourcast.Web/Controllers/HomeController.cs | using System.Web.Mvc;
namespace RightpointLabs.Pourcast.Web.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
return View();
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace RightpointLabs.Pourcast.Web.Controllers
{
public class HomeController : Controller
{
//
// GET: /Home/
public ActionResult Index()
{
return View();
... | mit | C# |
50f0723fe08acf3aa774f91a3acc2e96cc94415c | Add missing new file license | QuantConnect/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,jameschch/Lean,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,jameschch/Lean,StefanoRaggi/Lean,JKarathiya/Lean,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,JKarathiya/Lean,jameschch/Lean,jameschch/Lean,QuantConnect/Lean,QuantConnect/Lea... | Tests/Algorithm/Framework/Alphas/GeneratedInsightsCollectionTests.cs | Tests/Algorithm/Framework/Alphas/GeneratedInsightsCollectionTests.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | using System;
using System.Collections.Generic;
using NUnit.Framework;
using QuantConnect.Algorithm.Framework.Alphas;
namespace QuantConnect.Tests.Algorithm.Framework.Alphas
{
[TestFixture]
public class GeneratedInsightsCollectionTests
{
[Test]
public void CheckCloneRespectsDerivedTypes()
... | apache-2.0 | C# |
17784a5f367116c52f3c994e2650836285220ce8 | Update CardService.cs | sebastian88/Solitaire | Lib/Solitaire.Lib/Solitaire.Lib/Services/CardService.cs | Lib/Solitaire.Lib/Solitaire.Lib/Services/CardService.cs | using Solitaire.Lib.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solitaire.Lib.Services
{
public class CardService
{
public CardService()
{
// test
}
public bool IsValidTableauMove(Card ... | using Solitaire.Lib.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solitaire.Lib.Services
{
public class CardService
{
public CardService()
{
}
public bool IsValidTableauMove(Card topCard, Card b... | cc0-1.0 | C# |
de186a1b8d2b0a1c55e8e7844e9bb81e0868f03c | fix broken snippet | WojcikMike/docs.particular.net | Snippets/Snippets_5/Sagas/FindSagas/NHibernateSagaFinder.cs | Snippets/Snippets_5/Sagas/FindSagas/NHibernateSagaFinder.cs | namespace Snippets5.Sagas.FindSagas
{
using NServiceBus.Persistence.NHibernate;
using NServiceBus.Saga;
public class NHibernateSagaFinder
{
#region nhibernate-saga-finder
public class MyNHibernateSagaFinder :
IFindSagas<MySagaData>.Using<MyMessage>
{
pu... | namespace Snippets5.Sagas.FindSagas
{
using NServiceBus.Persistence.NHibernate;
using NServiceBus.Saga;
public class NHibernateSagaFinder
{
#region nhiebarenate-saga-finder
public class MyNHibernateSagaFinder :
IFindSagas<MySagaData>.Using<MyMessage>
{
... | apache-2.0 | C# |
cd6b6dfd07660984f7fe7d4a3acd00ce9647b680 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
36b03e69d054fbda3e1a2417bffce3a14190623a | Add certificate | softwarejc/angular2-aspmvc-core1-getting-started,softwarejc/angular2-aspmvc-core1-getting-started,softwarejc/angular2-aspmvc-core1-getting-started,softwarejc/angular2-aspmvc-core1-getting-started | 4-IdentityServer/Program.cs | 4-IdentityServer/Program.cs | using System;
using Microsoft.Owin.Hosting;
namespace _4_IdentityServer
{
class Program
{
static void Main(string[] args)
{
using (WebApp.Start<Startup>("https://localhost:44300"))
{
Console.ReadLine();
}
}
}
}
| using System;
using Microsoft.Owin.Hosting;
namespace _4_IdentityServer
{
class Program
{
static void Main(string[] args)
{
using (WebApp.Start<Startup>("https://localhost:44300"))
{
Console.ReadLine();
}
}
}
}
| mit | C# |
3224d42bea873255e69bd8f747e38e040355bf75 | Add untyped AssertX.Throws method. | eylvisaker/AgateLib | AgateLib/Quality/AssertX.cs | AgateLib/Quality/AssertX.cs | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distribut... | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distribut... | mit | C# |
1f4a943f74dfeb8340296e0187c4ca865866ecd1 | Fix test case runs not being correctly isolated on mono | naoey/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,peppy/osu,DrabWeb/osu,Drezi126/osu,peppy/osu,UselessToucan/osu,Nabile-Rahmani/osu,DrabWeb/osu,johnneijzen/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/os... | 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# |
fdcc4be654d6e9b24bb13efb885a29c1492ebd60 | Handle console input in fbdev mode | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,akrisiun/Perspex,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzi... | samples/ControlCatalog.NetCore/Program.cs | samples/ControlCatalog.NetCore/Program.cs | using System;
using System.Linq;
using Avalonia;
namespace ControlCatalog.NetCore
{
class Program
{
static void Main(string[] args)
{
if (args.Contains("--fbdev")) AppBuilder.Configure<App>().InitializeWithLinuxFramebuffer(tl =>
{
tl.Content = new MainVi... | using System;
using System.Linq;
using Avalonia;
namespace ControlCatalog.NetCore
{
class Program
{
static void Main(string[] args)
{
if (args.Contains("--fbdev"))
AppBuilder.Configure<App>()
.InitializeWithLinuxFramebuffer(tl => tl.Content = new... | mit | C# |
2bf30fd612a399643521c08e388dfe823b023f4b | Fix ArgumentOutOfRangeException | GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gs... | sources/custom/MapInfo.cs | sources/custom/MapInfo.cs | //
// MapInfo.cs
//
// Authors:
// Stephan Sundermann <stephansundermann@gmail.com>
//
// Copyright (C) 2014 Stephan Sundermann
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; eit... | //
// MapInfo.cs
//
// Authors:
// Stephan Sundermann <stephansundermann@gmail.com>
//
// Copyright (C) 2014 Stephan Sundermann
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; eit... | lgpl-2.1 | C# |
5cb6222cdb15d519a29c57aff7a910922edfde33 | Bump up version | Ar3sDevelopment/Caelan.Frameworks.Common | Caelan.Frameworks.Common/Properties/AssemblyInfo.cs | Caelan.Frameworks.Common/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Per modificare le informazioni associate a un assembly
// occorre quindi modificare i valori di questi attributi.... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Per modificare le informazioni associate a un assembly
// occorre quindi modificare i valori di questi attributi.... | mit | C# |
0b6ed9880341f186a58344d94a8d9cfeb3508f4d | Fix broken build because of failing test | gabrielweyer/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,SusanaL/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,rho24/Glimpse,dudzon/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,rho24/Glimpse,Glimpse/Glimpse,Glimpse/Glimpse... | source/Glimpse.Test.Core/Resource/ConfigurationShould.cs | source/Glimpse.Test.Core/Resource/ConfigurationShould.cs | using System;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Framework;
using Glimpse.Core.Resource;
using Glimpse.Core.ResourceResult;
using Moq;
using Xunit;
namespace Glimpse.Test.Core.Resource
{
public class ConfigurationShould
{
[Fact]
public void ReturnProperName()
{
... | using System;
using Glimpse.Core.Extensibility;
using Glimpse.Core.Resource;
using Moq;
using Xunit;
namespace Glimpse.Test.Core.Resource
{
public class ConfigurationShould
{
[Fact]
public void ReturnProperName()
{
var name = "glimpse_config";
var resource = ne... | apache-2.0 | C# |
ddf3cb3a9c54ab83fbcb92ca820108315e0676bf | Optimize use of LanguageServices | magicmonty/pickles,blorgbeard/pickles,blorgbeard/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,magicmonty/pickles,magicmonty/pickles,dirkrombauts/pickles,magicmonty/pickles,picklesdoc/pickles,blorgbeard/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,dirkrombauts/pickle... | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly LanguageServices languageServices;
public KeywordResolver(string language)
{
this.languageServices... | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | apache-2.0 | C# |
d21614d1b9b6892800c37dc4fe6bbc4a97e204c5 | print correct status code in error msg | simontaylor81/Syrup,simontaylor81/Syrup | SRPTests/Util/AppveyorCI.cs | SRPTests/Util/AppveyorCI.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.Util
{
// AppVeyor CI provider
internal class AppveyorCI : ICIProvider
{
// Create an instance if... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace SRPTests.Util
{
// AppVeyor CI provider
internal class AppveyorCI : ICIProvider
{
// Create an instance if... | mit | C# |
9d5185b5587a8f94ab6b06dcb14e8c1ea4eb48d2 | Revert "multiple lines" | ClusterReplyBUS/MonoTouch.Dialog | MonoTouch.Dialog/Elements/Custom/ReadonlyElement.cs | MonoTouch.Dialog/Elements/Custom/ReadonlyElement.cs | using System;
using MonoTouch.Dialog;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Drawing;
using System.IO;
namespace MonoTouch.Dialog
{
public class ReadonlyElement : StringElement, IElementSizing
{
public ReadonlyElement (string caption, string value):base(caption,value)
{
}
public ove... | using System;
using MonoTouch.Dialog;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Drawing;
using System.IO;
namespace MonoTouch.Dialog
{
public class ReadonlyElement : StringElement, IElementSizing
{
public ReadonlyElement (string caption, string value):base(caption,value)
{
}
public ove... | mit | C# |
7044e545ccf6f86f7b5cf6118ade3bbf6783a366 | Update IFightingArtCriteria.cs | SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud | NetMud.DataStructure/Combat/IFightingArtCriteria.cs | NetMud.DataStructure/Combat/IFightingArtCriteria.cs | using NetMud.DataStructure.Architectural;
using NetMud.DataStructure.Architectural.ActorBase;
namespace NetMud.DataStructure.Combat
{
public interface IFightingArtCriteria
{
/// <summary>
/// Does the target need to have at least X health or at most X stamina to use?
/// </summary>
... | using NetMud.DataStructure.Architectural;
using NetMud.DataStructure.Architectural.ActorBase;
using NetMud.DataStructure.Player;
namespace NetMud.DataStructure.Combat
{
public interface IFightingArtCriteria
{
/// <summary>
/// Does the target need to have at least X health or at most X stamina... | mit | C# |
6583c9aff390bb9f5527e427de6c9e92f63278b8 | Fix loops when configuration items are abnormal or unreachable. #444 | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP/Processor/IProcessor.InfiniteRetry.cs | src/DotNetCore.CAP/Processor/IProcessor.InfiniteRetry.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.Processor
{
public class InfiniteRetryProcessor : IPr... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace DotNetCore.CAP.Processor
{
public class InfiniteRetryProcessor : IPr... | mit | C# |
72ba3a2b698a7f569ae82f9564a10b0bab157eef | Switch over string comparison to Ordinal | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewic... | src/Glimpse.Agent.Web/Framework/MasterRequestProfiler.cs | src/Glimpse.Agent.Web/Framework/MasterRequestProfiler.cs | using Glimpse.Web;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class MasterRequestProfiler : IRequestRuntime
{
private readonly IDiscoverableCollection<IRequestProfiler> _requestProfiliers;
public MasterRequestProfiler(IDiscoverableCollection<IRequestProfi... | using Glimpse.Web;
using System;
using System.Threading.Tasks;
namespace Glimpse.Agent.Web
{
public class MasterRequestProfiler : IRequestRuntime
{
private readonly IDiscoverableCollection<IRequestProfiler> _requestProfiliers;
public MasterRequestProfiler(IDiscoverableCollection<IRequestProfi... | mit | C# |
cdb21f18de21f495823162e2dcd3c4f2bde42530 | Extend assertions to check for missing conversions. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core.Tests/BuildServerTest.cs | source/Nuke.Core.Tests/BuildServerTest.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Nuke.Core.BuildServers;
using Xunit;
namespace Nuke.Core.Tests
{
... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Nuke.Core.BuildServers;
using Xunit;
namespace Nuke.Core.Tests
{
... | mit | C# |
9be98525f0e774769708312ad0dc955bebd24f42 | Set project neutral language | emoacht/ManagedNativeWifi | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | Source/ManagedNativeWifi/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ma... | mit | C# |
7fdd1e747f176609cff19f4460bdbd99cc23a1b9 | fix crash in constructor. Chain to the this. constructor, and fix the actual parameter to be the length of the array | jorik041/maccore,cwensley/maccore,mono/maccore | src/CoreImage/CIVector.cs | src/CoreImage/CIVector.cs | //
// CIVector.cs: Extra methods for CIVector
//
// Copyright 2010, Novell, Inc.
//
// Author:
// Miguel de Icaza
//
// 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, ... | //
// CIVector.cs: Extra methods for CIVector
//
// Copyright 2010, Novell, Inc.
//
// Author:
// Miguel de Icaza
//
// 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, ... | apache-2.0 | C# |
f8d90ea815818b098b33b47549e29811666c18f7 | add comment to broken new theater adding to db | olebg/Movie-Theater-Project | MovieTheater/MovieTheater.Framework/Core/Commands/CreateTheaterCommand.cs | MovieTheater/MovieTheater.Framework/Core/Commands/CreateTheaterCommand.cs | using System.Collections.Generic;
using MovieTheater.Data;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Framework.Models;
using System;
using System.Linq;
namespace MovieTheater.Framework.Core.Commands
{
public class CreateTheaterCommand : ICommand
{
private MovieTheaterDbC... | using System.Collections.Generic;
using MovieTheater.Data;
using MovieTheater.Framework.Core.Commands.Contracts;
using MovieTheater.Framework.Models;
using System;
using System.Linq;
namespace MovieTheater.Framework.Core.Commands
{
public class CreateTheaterCommand : ICommand
{
private MovieTheaterDbC... | mit | C# |
308e6ef0c985b24a36ba2b6528d7cddb7c7675ea | Add Enabled = true, Exported = false | CrossGeeks/FirebasePushNotificationPlugin | Plugin.FirebasePushNotification/PushNotificationActionReceiver.android.cs | Plugin.FirebasePushNotification/PushNotificationActionReceiver.android.cs | using System.Collections.Generic;
using Android.App;
using Android.Content;
namespace Plugin.FirebasePushNotification
{
[BroadcastReceiver(Enabled = true, Exported = false)]
public class PushNotificationActionReceiver : BroadcastReceiver
{
public override void OnReceive(Context context, Intent in... | using System.Collections.Generic;
using Android.App;
using Android.Content;
namespace Plugin.FirebasePushNotification
{
[BroadcastReceiver]
public class PushNotificationActionReceiver : BroadcastReceiver
{
public override void OnReceive(Context context, Intent intent)
{
IDicti... | mit | C# |
dda815a5fddebb0c03aa94ca8a1d11f4b48bc787 | Update UnsignedBigIntegerBinaryDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Numerics/UnsignedBigIntegerBinaryDeserializer.cs | TIKSN.Core/Serialization/Numerics/UnsignedBigIntegerBinaryDeserializer.cs | using System.Linq;
using System.Numerics;
namespace TIKSN.Serialization.Numerics
{
/// <summary>
/// Custom (specialized or typed) deserializer for unsigned <see cref="BigInteger" />
/// </summary>
public class UnsignedBigIntegerBinaryDeserializer : ICustomDeserializer<byte[], BigInteger>
{
... | using System.Linq;
using System.Numerics;
namespace TIKSN.Serialization.Numerics
{
/// <summary>
/// Custom (specialized or typed) deserializer for unsigned <see cref="BigInteger"/>
/// </summary>
public class UnsignedBigIntegerBinaryDeserializer : ICustomDeserializer<byte[], BigInteger>
{
... | mit | C# |
8378c83ceced8f863d447bf545b3cfd30a193be7 | Quit the Mac app after the window is closed | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | samples/Skia.OSX.Demo/AppDelegate.cs | samples/Skia.OSX.Demo/AppDelegate.cs | using AppKit;
using Foundation;
namespace Skia.OSX.Demo
{
[Register ("AppDelegate")]
public partial class AppDelegate : NSApplicationDelegate
{
public AppDelegate ()
{
}
public override void DidFinishLaunching (NSNotification notification)
{
// Insert code here to initialize your application
}
p... | using AppKit;
using Foundation;
namespace Skia.OSX.Demo
{
[Register ("AppDelegate")]
public partial class AppDelegate : NSApplicationDelegate
{
public AppDelegate ()
{
}
public override void DidFinishLaunching (NSNotification notification)
{
// Insert code here to initialize your application
}
p... | mit | C# |
6e62f6f833e0d3eda837cefade5458e33808f391 | Update SharedAssemblyInfo | apemost/Newq,apemost/Newq | src/SharedAssemblyInfo.cs | src/SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Newq")]
[assembly: AssemblyDescription("New query builder for CSharp")]
[assembly: AssemblyProduct("Newq")]
[assembly: AssemblyCopyright("Copyright (C) Andrew Lyu & Uriel Van")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Newq")]
[assembly: AssemblyDescription("A new query builder for CSharp")]
[assembly: AssemblyProduct("Newq")]
[assembly: AssemblyCopyright("Copyright (C) Andrew Lyu & Uriel Van")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: A... | mit | C# |
8494a5b2fffefc487d1288a974d77be3639a35f1 | Refactor method parameter name | msoler8785/ExoMail | ExoMail.Smtp.Example/IO/FileMessageStore.cs | ExoMail.Smtp.Example/IO/FileMessageStore.cs | using ExoMail.Smtp.Interfaces;
using ExoMail.Smtp.Models;
using System;
using System.IO;
namespace ExoMail.Smtp.Server.IO
{
/// <summary>
/// An example implementation of storing messages on the file system.
/// </summary>
public class FileMessageStore : IMessageStore
{
private string Fold... | using ExoMail.Smtp.Interfaces;
using ExoMail.Smtp.Models;
using System;
using System.IO;
namespace ExoMail.Smtp.Server.IO
{
/// <summary>
/// An example implementation of storing messages on the file system.
/// </summary>
public class FileMessageStore : IMessageStore
{
private string Fold... | mit | C# |
a4b20d211726e0980d55969e2193121cb9b60b75 | Make EZ mod able to fail in Taiko | UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs | osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using Humanizer;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game... | // 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.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModEasy : ModEasy
{
public override string Description => @"Bea... | mit | C# |
3840cd4c7476a4d8beca2c0933f485747b068879 | Add Values observable | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | samples/BehaviorsTestApplication/ViewModels/MainWindowViewModel.cs | samples/BehaviorsTestApplication/ViewModels/MainWindowViewModel.cs | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Windows.Input;
using BehaviorsTestApplication.ViewModels.Core;
namespace BehaviorsTestApplication.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private int _value;
private int _count;
... | using System.Windows.Input;
using BehaviorsTestApplication.ViewModels.Core;
namespace BehaviorsTestApplication.ViewModels
{
public class MainWindowViewModel : ViewModelBase
{
private int _count;
private double _position;
public int Count
{
get => _count;
... | mit | C# |
24a7b5f0d69438034f406e0ff27bf5d7578d3ad0 | Fix missing comma | UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,EVAST9919/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game/Skinning/LegacyManiaSkinConfigurationLookup.cs | osu.Game/Skinning/LegacyManiaSkinConfigurationLookup.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Skinning
{
public class LegacyManiaSkinConfigurationLookup
{
public readonly int Keys;
public readonly LegacyManiaSkinConfigura... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Skinning
{
public class LegacyManiaSkinConfigurationLookup
{
public readonly int Keys;
public readonly LegacyManiaSkinConfigura... | mit | C# |
5fedb9db6b818ad72d8461c2e74904af40f02622 | Support for parsing equality operator with constant operand. | TestStack/TestStack.FluentMVCTesting | TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs | TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs | using NUnit.Framework;
using System;
using System.Linq.Expressions;
using TestStack.FluentMVCTesting.Internal;
namespace TestStack.FluentMVCTesting.Tests.Internal
{
[TestFixture]
public class ExpressionInspectorShould
{
[Test]
public void Correctly_parse_equality_comparison_with_string_ope... | using NUnit.Framework;
using System;
using System.Linq.Expressions;
using TestStack.FluentMVCTesting.Internal;
namespace TestStack.FluentMVCTesting.Tests.Internal
{
[TestFixture]
public class ExpressionInspectorShould
{
[Test]
public void Correctly_parse_equality_comparison_with_string_ope... | mit | C# |
7240de7bc5c22be6add90e03a8134e53cca81069 | Change convention builder namespace to Microsoft.AspNetCore.Buil… (#399) | grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet | src/Grpc.AspNetCore.Server/GrpcServiceEndpointConventionBuilder.cs | src/Grpc.AspNetCore.Server/GrpcServiceEndpointConventionBuilder.cs | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | apache-2.0 | C# |
252313a064af988d9d2f2b404132010f08a4d03a | Reset AssemblyVersion before initial publishing. | tischlda/StaticMapHelpers | StaticMapHelpers/Properties/AssemblyInfo.cs | StaticMapHelpers/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mo... | mit | C# |
b206e7ee399a7d956aeefdc5a29f4678f0edc868 | fix comments | jhgbrt/yadal | Net.Code.ADONet/DbConfig.cs | Net.Code.ADONet/DbConfig.cs | using System;
using System.Data;
namespace Net.Code.ADONet
{
public class DbConfig
{
public DbConfig(Action<IDbCommand> prepareCommand, MappingConvention convention, string providerName)
{
PrepareCommand = prepareCommand;
MappingConvention = convention;
Provi... | using System;
using System.Data;
namespace Net.Code.ADONet
{
public class DbConfig
{
public DbConfig(Action<IDbCommand> prepareCommand, MappingConvention convention, string providerName)
{
PrepareCommand = prepareCommand;
MappingConvention = convention;
Provi... | mit | C# |
74d833c214830bae97a3536f9d23ccb77b6dd619 | Enable nullable: System.Management.Automation.Interpreter.IInstructionProvider (#14173) | TravisEz13/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,PaulHigin/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,... | src/System.Management.Automation/engine/interpreter/Instruction.cs | src/System.Management.Automation/engine/interpreter/Instruction.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
* ... | mit | C# |
1d9843cf33e1890ad7227ebef4fff06448582b5c | Make clone root build config test more strict | ComputerWorkware/TeamCityApi | src/TeamCityApi.Tests/UseCases/CloneRootBuildConfigUseCaseTests.cs | src/TeamCityApi.Tests/UseCases/CloneRootBuildConfigUseCaseTests.cs | using System.Threading.Tasks;
using NSubstitute;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityApi.Locators;
using TeamCityApi.Tests.Helpers;
using TeamCityApi.Tests.Scenarios;
using TeamCityApi.UseCases;
using Xunit;
using Xunit.Extensions;
namespace TeamCityApi.Test... | using System.Threading.Tasks;
using NSubstitute;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit;
using TeamCityApi.Domain;
using TeamCityApi.Locators;
using TeamCityApi.Tests.Helpers;
using TeamCityApi.Tests.Scenarios;
using TeamCityApi.UseCases;
using Xunit;
using Xunit.Extensions;
namespace TeamCityApi.Test... | mit | C# |
e78d1609f41d2bdfe99588c0f87280c687f558a7 | correct english description | fredatgithub/TranslatorHelper | TranslatorHelper/Properties/AssemblyInfo.cs | TranslatorHelper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: Assemb... | mit | C# |
e83e571bb12761ffed295cf9b8031e22b3c7d804 | Remove attach process in skype | Ridermansb/wox.skype | Wox.Skype/Main.cs | Wox.Skype/Main.cs | using SKYPE4COMLib;
using System.Collections.Generic;
using Wox.Plugin;
using System.Linq;
namespace Wox.Skype
{
public class Main : IPlugin
{
private SkypeClass _skype;
public void Init(PluginInitContext context)
{
_skype = new SkypeClass();
}
public List<Result> Query(Query query)
{
List<Result... | using SKYPE4COMLib;
using System.Collections.Generic;
using Wox.Plugin;
using System.Linq;
namespace Wox.Skype
{
public class Main : IPlugin
{
private SkypeClass _skype;
public void Init(PluginInitContext context)
{
_skype = new SkypeClass();
_skype.Attach(6, true);
}
public List<Result> Query(Quer... | mit | C# |
19cb8cb03a100c9baa80c23b7b307ff300130df2 | Update tests | peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Settings/TestSceneMigrationScreens.cs | osu.Game.Tests/Visual/Settings/TestSceneMigrationScreens.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using System.Threading;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using System.Threading;
using osu.Framework.Screens;
using osu.Game.Overlays.Settings.Sections.Maintenance;
namespace osu.Game.Tests.Visual.Settings
{
... | mit | C# |
58e5ae7bed3a4909ef970d723e8addd01e8cb7be | trim email input value before validation | VishalMadhvani/allReady,c0g1t8/allReady,gitChuckD/allReady,enderdickerson/allReady,stevejgordon/allReady,jonatwabash/allReady,MisterJames/allReady,JowenMei/allReady,HamidMosalla/allReady,pranap/allReady,shanecharles/allReady,binaryjanitor/allReady,dpaquette/allReady,chinwobble/allReady,forestcheng/allReady,VishalMadhva... | AllReadyApp/Web-App/AllReady/Views/Shared/_ValidationScriptsPartial.cshtml | AllReadyApp/Web-App/AllReady/Views/Shared/_ValidationScriptsPartial.cshtml | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//ajax.aspnetcdn.com/ajax/jquery.validation/1.... | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="//ajax.aspnetcdn.com/ajax/jquery.validation/1.... | mit | C# |
f87dcd0a50be897e9943cf28d07e3fea07c863a4 | Update token-generation-server.4.x.cs | TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snip... | video/users/token-generation-server/token-generation-server.4.x.cs | video/users/token-generation-server/token-generation-server.4.x.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Twilio;
using Twilio.Auth;
using JWT;
using Faker;
namespace VideoQuickstart.Controllers
{
public class TokenController : Controller
{
// GET: /token
publ... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Twilio;
using Twilio.Auth;
using JWT;
using Faker;
namespace VideoQuickstart.Controllers
{
public class TokenController : Controller
{
// GET: /token
publ... | mit | C# |
250f6eac6afb0824e82a2efb433784eca70e51b5 | Make AssemblyLine.OutOfRange a property that returns new instances (since the class is mutable). | mono/debugger-libs,Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs,joj/debugger-libs,joj/debugger-libs | Mono.Debugging/Mono.Debugging.Client/AssemblyLine.cs | Mono.Debugging/Mono.Debugging.Client/AssemblyLine.cs | // AssemblyLine.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.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 ... | // AssemblyLine.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
//
// Copyright (c) 2008 Novell, Inc (http://www.novell.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 ... | mit | C# |
a288b7cb588220d7b7d02b611a1c22e444e49894 | Add SetCheckedItemReally method to BetterCheckedListBox. | chrisvire/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,marksvc/libpalaso,gmartin7/libpalaso,hatton/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,ddaspit/libpala... | PalasoUIWindowsForms/Widgets/BetterCheckedListBox.cs | PalasoUIWindowsForms/Widgets/BetterCheckedListBox.cs | using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.Widgets
{
/// <summary>
/// This version does two things:
/// 1) you don't have to first get focus before it will pay attention to you trying to check a box (e.g. it doesn't swallow the first attempt)
/... | using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.Widgets
{
/// <summary>
/// This version does two things:
/// 1) you don't have to first get focus before it will pay attention to you trying to check a box (e.g. it doesn't swallow the first attempt)
/... | mit | C# |
f9c64d7be38558d5b737ade5053622cbff276906 | Implement creation of mods | NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu | osu.Game/Online/API/RoomScore.cs | osu.Game/Online/API/RoomScore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using osu.Game.Online.Multiplayer;
using osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Mods;
... | mit | C# |
fac6c835d07abfce1ae629f90a9ed5471f991a5c | Update SMSTodayAMController.cs | dkitchen/bpcc,dkitchen/bpcc | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | using BPCCScheduler.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Twilio;
namespace BPCCScheduler.Controllers
{
public class SMSTodayAMController : SMSApiController
{
//public IEnumerable<SMSMessage> Get... | mit | C# |
992a92a784ba11917d19369ed35ecb7771c499db | Update route | denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem | src/DiplomContentSystem/Controllers/SpecialityController.cs | src/DiplomContentSystem/Controllers/SpecialityController.cs | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using DiplomContentSystem.Authentication;
using DiplomContentSystem.Core;
using DiplomContentSystem.Dto;
namespace DiplomContentSystem.Controllers
{
[Route("api/specialities")]
[Authorize(Policy=AuthConsts... | using System;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using DiplomContentSystem.Authentication;
using DiplomContentSystem.Core;
using DiplomContentSystem.Dto;
namespace DiplomContentSystem.Controllers
{
[Route("api/specialities")]
[Authorize(Policy=AuthConsts... | apache-2.0 | C# |
ac6290748fef4dce1c8957287085132a3ebaa831 | Mark CompileJobs as Required in the ReattachInformation model | tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Models/ReattachInformation.cs | src/Tgstation.Server.Host/Models/ReattachInformation.cs | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Host.Models
{
/// <summary>
/// Database representation of <see cref="Components.Watchdog.ReattachInformation"/>
/// </summary>
public sealed class ReattachInformation : ReattachInformationBase
{
/// <summary>
/// The row Id
/// </summ... | namespace Tgstation.Server.Host.Models
{
/// <summary>
/// Database representation of <see cref="Components.Watchdog.ReattachInformation"/>
/// </summary>
public sealed class ReattachInformation : ReattachInformationBase
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <su... | agpl-3.0 | C# |
501eb77df879d324acf43819c6e5787f4dfcb632 | Make TriggerFiredResult serializable to support remote IJobStore implementations | quartznet/quartznet,neuronesb/quartznet,RafalSladek/quartznet,sean-gilliam/quartznet,sean-gilliam/quartznet,quartznet/quartznet,quartznet/quartznet,sean-gilliam/quartznet,andyshao/quartznet,AndreGleichner/quartznet,quartznet/quartznet,xlgwr/quartznet,huoxudong125/quartznet,AlonAmsalem/quartznet,sean-gilliam/quartznet,s... | src/Quartz/SPI/TriggerFiredResult.cs | src/Quartz/SPI/TriggerFiredResult.cs | using System;
namespace Quartz.Spi
{
/// <summary>
/// Result holder for trigger firing event.
/// </summary>
[Serializable]
public class TriggerFiredResult
{
private readonly TriggerFiredBundle triggerFiredBundle;
private readonly Exception exception;
///<summary>
... | using System;
namespace Quartz.Spi
{
/// <summary>
/// Result holder for trigger firing event.
/// </summary>
public class TriggerFiredResult
{
private readonly TriggerFiredBundle triggerFiredBundle;
private readonly Exception exception;
///<summary>
/// Constructor... | apache-2.0 | C# |
521b5708b01008b0a84a2b759ed7e6d0fc32f7c8 | Add Links property to Document class | huysentruitw/simple-json-api | src/SimpleJsonApi/Models/Document.cs | src/SimpleJsonApi/Models/Document.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SimpleJsonApi.Models
{
internal sealed class Document
{
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, string> Links { get; set; }
[JsonProperty(NullValueHandling = NullValueHan... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace SimpleJsonApi.Models
{
internal sealed class Document
{
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public DocumentData Data { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
... | apache-2.0 | C# |
214d561e3d6bf570b752500ffb52e10aed82a1df | Update lock version to 9.0 | Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,Amialc/auth0-aspnet-owin,Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,auth0/auth0-aspnet-owin | examples/basic-mvc-sample/BasicMvcSample/Views/Account/Login.cshtml | examples/basic-mvc-sample/BasicMvcSample/Views/Account/Login.cshtml | @using System.Configuration;
@{
ViewBag.Title = "Login";
}
<div id="root" style="width: 320px; margin: 40px auto; padding: 10px; border-style: dashed; border-width: 1px;">
embeded area
</div>
@Html.AntiForgeryToken()
<script src="https://cdn.auth0.com/js/lock-9.0.js"></script>
<script>
var lock = new Au... | @using System.Configuration;
@{
ViewBag.Title = "Login";
}
<div id="root" style="width: 320px; margin: 40px auto; padding: 10px; border-style: dashed; border-width: 1px;">
embeded area
</div>
@Html.AntiForgeryToken()
<script src="https://cdn.auth0.com/js/lock-8.2.2.min.js"></script>
<script>
var lock = ... | mit | C# |
44df2e4aee9c0a70e3292280e5476fc05559638b | fix delete task | kidozen/kido-xamarin | samples/shared/Todo/Data/TodoItemDatabase.cs | samples/shared/Todo/Data/TodoItemDatabase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using Newtonsoft.Json.Linq;
using KidoZen;
#if __IOS__
using Kidozen.Client.iOS;
#else
using KidoZen.Client.Android;
using Android.Content;
#endif
namespace Todo
{
public class TodoItemDatabase
{
static object locker = new obj... | using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using Newtonsoft.Json.Linq;
using KidoZen;
#if __IOS__
using Kidozen.Client.iOS;
#else
using KidoZen.Client.Android;
using Android.Content;
#endif
namespace Todo
{
public class TodoItemDatabase
{
static object locker = new obj... | mit | C# |
9b32c83182526b6532300fb6fbacea75a195c842 | Update PropertyTypeGroupDto IdentitySeed to no longer collide with new media types | robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov... | src/Umbraco.Core/Persistence/Dtos/PropertyTypeGroupDto.cs | src/Umbraco.Core/Persistence/Dtos/PropertyTypeGroupDto.cs | using System;
using System.Collections.Generic;
using NPoco;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Core.Persistence.Dtos
{
[TableName(Constants.DatabaseSchema.Tables.PropertyTypeGroup)]
[PrimaryKey("id", AutoIncrement = t... | using System;
using System.Collections.Generic;
using NPoco;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Core.Persistence.Dtos
{
[TableName(Constants.DatabaseSchema.Tables.PropertyTypeGroup)]
[PrimaryKey("id", AutoIncrement = t... | mit | C# |
d40f0204bf2125a530d366ced2dac21dd43a1e08 | fix cuota comentarios lenght | PFC-acl-amg/GamaPFC,PFC-acl-amg/GamaPFC,PFC-acl-amg/GamaPFC | GamaPFC/Gama.Socios.DataAccess/Mappings/CuotaMap.cs | GamaPFC/Gama.Socios.DataAccess/Mappings/CuotaMap.cs | using FluentNHibernate.Mapping;
using Gama.Socios.Business;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gama.Socios.DataAccess.Mappings
{
public class CuotaMap : ClassMap<Cuota>
{
public CuotaMap()
{
... | using FluentNHibernate.Mapping;
using Gama.Socios.Business;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gama.Socios.DataAccess.Mappings
{
public class CuotaMap : ClassMap<Cuota>
{
public CuotaMap()
{
... | mit | C# |
12a672b312f42f56b97517083b7609afd95af91e | Add NodeCurrentlyUnderCursor property | syl20bnr/omnisharp-server,mispencer/OmniSharpServer,x335/omnisharp-server,svermeulen/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server | OmniSharp/AutoComplete/AutoCompleteBufferContext.cs | OmniSharp/AutoComplete/AutoCompleteBufferContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.CSharp.Completion;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.Completion;
using ICSharpCode.NRefactory.Editor;
using OmniSh... | using System;
using System.Collections.Generic;
using System.Linq;
using ICSharpCode.NRefactory;
using ICSharpCode.NRefactory.CSharp.Completion;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.Completion;
using ICSharpCode.NRefactory.Editor;
using OmniSharp.Parser;
namespace OmniSharp.Auto... | mit | C# |
a3333393a69af53a8d0f167ec3a07cff8ebd8bbf | fix url | indice-co/Incontrl.Net | src/Incontrl.Sdk/Services/PaymentOptionTransactionsApi.cs | src/Incontrl.Sdk/Services/PaymentOptionTransactionsApi.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Incontrl.Sdk.Abstractions;
using Incontrl.Sdk.Models;
using Incontrl.Sdk.Types;
namespace Incontrl.Sdk.Services
{
internal class PaymentOptionTransactionsApi : IPaymentOptionTransactionsApi
{
private readonly ClientBase _clientB... | using System;
using System.Threading;
using System.Threading.Tasks;
using Incontrl.Sdk.Abstractions;
using Incontrl.Sdk.Models;
using Incontrl.Sdk.Types;
namespace Incontrl.Sdk.Services
{
internal class PaymentOptionTransactionsApi : IPaymentOptionTransactionsApi
{
private readonly ClientBase _clientB... | mit | C# |
bb2cf02dff0bdaac5eccb21a7a904cb813b8f619 | Add missing copyright header | weshaggard/buildtools,tarekgh/buildtools,ChadNedzlek/buildtools,mmitche/buildtools,ianhays/buildtools,stephentoub/buildtools,joperezr/buildtools,maririos/buildtools,schaabs/buildtools,alexperovich/buildtools,AlexGhiondea/buildtools,weshaggard/buildtools,tarekgh/buildtools,MattGal/buildtools,nguerrera/buildtools,ChadNed... | src/Microsoft.DotNet.Build.Tasks/ExceptionFromResource.cs | src/Microsoft.DotNet.Build.Tasks/ExceptionFromResource.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;
namespace Microsoft.DotNet.Build.Tasks
{
internal sealed class ExceptionFromResource : Exception... | using System;
namespace Microsoft.DotNet.Build.Tasks
{
internal sealed class ExceptionFromResource : Exception
{
public string ResourceName { get; private set; }
public object[] MessageArgs { get; private set; }
public ExceptionFromResource(string resourceName, params object[] message... | mit | C# |
705769bda6943bec6c1585afdfe207f0c23de5f6 | Fix build | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/MusicStore/compiler/preprocess/RazorPreCompilation.cs | src/MusicStore/compiler/preprocess/RazorPreCompilation.cs | using System;
using Microsoft.AspNet.Mvc.Razor.Precompilation;
using Microsoft.Extensions.PlatformAbstractions;
namespace MusicStore
{
public class RazorPreCompilation : RazorPreCompileModule
{
}
} | using System;
using Microsoft.AspNet.Mvc.Razor.Precompilation;
using Microsoft.Extensions.PlatformAbstractions;
namespace MusicStore
{
public class RazorPreCompilation : RazorPreCompileModule
{
public RazorPreCompilation(IApplicationEnvironment applicationEnvironment)
{
GenerateSym... | apache-2.0 | C# |
23b6170106b275560df9bf89d7dff8a849a9bf41 | Set value type for Textarea to "TEXT". | engern/Umbraco-CMS,qizhiyu/Umbraco-CMS,kasperhhk/Umbraco-CMS,sargin48/Umbraco-CMS,mattbrailsford/Umbraco-CMS,tompipe/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,Pyuuma/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,aaronpowell/Umbraco-CMS,Pyuuma/Umbraco-CMS,KevinJump/Umbraco-CMS,romanlytvyn/Umbr... | src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs | using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.TextboxMultipleAlias, "Textarea", "textarea", IsParameterEditor = true, ValueType = "TEXT")]
public class TextAreaPropertyEditor : PropertyEditor
{
}
}
| using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.TextboxMultipleAlias, "Textarea", "textarea", IsParameterEditor = true)]
public class TextAreaPropertyEditor : PropertyEditor
{
}
} | mit | C# |
7eb6cad81c0fc1a690ae1ca2dc78adea6a533f48 | Set the bit that will override binding redirects | jamesqo/roslyn,OmarTawfik/roslyn,akrisiun/roslyn,dpoeschl/roslyn,physhi/roslyn,leppie/roslyn,moozzyk/roslyn,bkoelman/roslyn,AnthonyDGreen/roslyn,tvand7093/roslyn,drognanar/roslyn,basoundr/roslyn,diryboy/roslyn,eriawan/roslyn,paulvanbrenk/roslyn,Pvlerick/roslyn,moozzyk/roslyn,natgla/roslyn,abock/roslyn,jkotas/roslyn,Mat... | src/VisualStudio/Setup/ProvideRoslynBindingRedirection.cs | src/VisualStudio/Setup/ProvideRoslynBindingRedirection.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
namespace Roslyn.VisualStudio.Setup
{
/// <summary>
/// A <see cref="RegistrationAttribute"/> that... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
namespace Roslyn.VisualStudio.Setup
{
/// <summary>
/// A <see cref="RegistrationAttribute"/> that... | apache-2.0 | C# |
039eb00ca92e29f8bdc1dfd53e15fe1cff14a1ac | Add tip about quotes | Lone-Coder/letsencrypt-win-simple | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | apache-2.0 | C# |
3693a44bad6fc0d9ccc8256510fa43d8127e0911 | Comment fix. | dlemstra/line-bot-sdk-dotnet,dlemstra/line-bot-sdk-dotnet | src/LineBot/Messages/Template/IButtonsTemplate.cs | src/LineBot/Messages/Template/IButtonsTemplate.cs | // Copyright 2017 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.apache... | // Copyright 2017 Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet)
//
// Dirk Lemstra licenses this file to you under the Apache License,
// version 2.0 (the "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at:
//
// https://www.apache... | apache-2.0 | C# |
e9228cc5ccb925a3fc34dab8bf366c6857cc3c16 | Remove a BOM :poop: | Geroshabu/MatchGenerator | Application/MatchGenerator/Core/UI/MemberListViewItem.cs | Application/MatchGenerator/Core/UI/MemberListViewItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MatchGenerator.Core.UI
{
class MemberListViewItem
{
public int Id { get; }
public bool IsChecked { get; set; }
public Person Person { get; set; }
private static int NumberOfPerson = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MatchGenerator.Core.UI
{
class MemberListViewItem
{
public int Id { get; }
public bool IsChecked { get; set; }
public Person Person { get; set; }
private static int NumberOfPerson =... | mit | C# |
0f4d251cc083fcf997c04a7084446883c0efb890 | Rework clear scene method by collecting all roots | out-of-pixel/HoloToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,dbastienMS/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,paseb/HoloToolkit-Unity | Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs | Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Linq;
using UnityEngine;
namespace HoloToolkit.Unity
{
public static class EditorUtils
{
/// <summary>
/// Deletes all objects ... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
public static class EditorUtils
{
/// <summary>
/// Deletes all objects in the scene
... | mit | C# |
e7f2a8d9922f6af702e37783ca226f28a70ee14d | Fix argument for formatted string. | jherby2k/AudioWorks | AudioWorks/tests/AudioWorks.TestUtilities/XunitLogger.cs | AudioWorks/tests/AudioWorks.TestUtilities/XunitLogger.cs | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | /* Copyright © 2018 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Au... | agpl-3.0 | C# |
43460f8da2491c8fdff24bef28dccfd33365b29d | Fix percent conversion to color. | dotless/dotless,dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless | src/dotless.Core/Parser/Functions/RgbaFunction.cs | src/dotless.Core/Parser/Functions/RgbaFunction.cs | namespace dotless.Core.Parser.Functions
{
using System.Linq;
using Infrastructure;
using Infrastructure.Nodes;
using Tree;
using Utils;
public class RgbaFunction : Function
{
protected override Node Evaluate(Env env)
{
if (Arguments.Count == 2)
{
... | namespace dotless.Core.Parser.Functions
{
using System.Linq;
using Infrastructure;
using Infrastructure.Nodes;
using Tree;
using Utils;
public class RgbaFunction : Function
{
protected override Node Evaluate(Env env)
{
if (Arguments.Count == 2)
{
... | apache-2.0 | C# |
9c56a5a036f7788edcf05603ce7219d647110b41 | Fix Accio to need at least 2 lessons in discard pile | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/Accio.cs | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/Accio.cs | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Enums;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class Accio : BaseSpell {
protected override void SpellAction(List<BaseCard> targets)
{
var less... | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Enums;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class Accio : BaseSpell {
protected override void SpellAction(List<BaseCard> targets)
{
var less... | mit | C# |
23254e364f77b6bb4586235a2ef750a6b58e630a | remove of db string as no longer needed since using providers now | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
using Dapper;
using App... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SendGrid;
using SendGrid.Helpers.Mail;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
using Dapper;
using App... | apache-2.0 | C# |
2eb4c592b4282119aa8ed593261d793a6c0b8e60 | Update IHitTest.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/Bounds/IHitTest.cs | src/Core2D/Editor/Bounds/IHitTest.cs | using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds
{
public interface IHitTest
{
IDictionary<Type, IBounds> Registered { get; set; }
void Register(IBounds hitTest);
void Register(IEnumerable<IBounds> hitTests);
IPo... | using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds
{
public interface IHitTest
{
IDictionary<Type, IBounds> Registered { get; set; }
void Register(IBounds hitTest);
void Register(IEnumerable<IBounds> hitTests);
IPo... | mit | C# |
c5f5acea0f1eb5a013df661416a49e3068bbe9de | Update version. | grantcolley/wpfcontrols | DevelopmentInProgress.WPFControls/Properties/AssemblyInfo.cs | DevelopmentInProgress.WPFControls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
b5f144ec259312b5d8a561e34fd6b5726ce617b9 | Revert "Add SecurityZone stub" (dotnet/coreclr#11053) | mmitche/corefx,ptoonen/corefx,wtgodbe/corefx,Jiayili1/corefx,ericstj/corefx,ericstj/corefx,zhenlan/corefx,Ermiar/corefx,zhenlan/corefx,zhenlan/corefx,Jiayili1/corefx,Jiayili1/corefx,Jiayili1/corefx,wtgodbe/corefx,zhenlan/corefx,ptoonen/corefx,Ermiar/corefx,ericstj/corefx,wtgodbe/corefx,ViktorHofer/corefx,ptoonen/corefx... | src/Common/src/CoreLib/System/Security/SecurityException.cs | src/Common/src/CoreLib/System/Security/SecurityException.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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | // 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.Reflection;
using System.Runtime.Serialization;
namespace System.Security
{
[Serializable]
pub... | mit | C# |
f9a6fb3a7dec9a144f10b0db13af52ec29ed81b8 | Update DMLib version to 0.8.1.0 | Azure/azure-storage-net-data-movement | tools/AssemblyInfo/SharedAssemblyInfo.cs | tools/AssemblyInfo/SharedAssemblyInfo.cs | //------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
// <summary>
// Assembly global configuration.
// </summary>
//------------------------------------------------... | //------------------------------------------------------------------------------
// <copyright file="SharedAssemblyInfo.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation
// </copyright>
// <summary>
// Assembly global configuration.
// </summary>
//------------------------------------------------... | mit | C# |
f8bdfaaf89be4a3c1a3ab8938f06ff5d2bab0020 | Fix skia page XAML. | GalaxiaGuy/MobileLibraries | XamarinForms.Sample/XamarinForms.Sample/SkiaPage.xaml.cs | XamarinForms.Sample/XamarinForms.Sample/SkiaPage.xaml.cs | using System;
using Xamarin.Forms;
namespace GamesWithGravitas.XamarinForms.Sample
{
public partial class SkiaPage : ContentPage
{
public SkiaPage()
{
InitializeComponent();
animatedView.AnimateAsync();
}
private void ButtonClicked(object sender, EventArgs e)
{
anim... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GamesWithGravitas.XamarinForms.Sample
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class SkiaPage : ContentPage
{
pub... | mit | C# |
a7a9dcc45b211dacee5fbd8e82fe176a4f6ba0e7 | Update css classes to new styles | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml | @model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel>
@{
ViewBag.Title = "Home";
ViewBag.PageID = "page-company-homepage";
}
<div class="das-dashboard-header das-section--header">
<div class="govuk-width-container das-dashboard-header_... | @model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel>
@{
ViewBag.Title = "Home";
ViewBag.PageID = "page-company-homepage";
}
<div class="das-dashboard-header">
<div class="govuk-width-container das-dashboard-header__border">
<h... | mit | C# |
13f8624a5526d9e71c6b8383c68be0afded8d596 | Work around an MCG bug (dotnet/corert#6658) | poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,mmitche/coreclr,wtgodbe/coreclr,krk/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,poiza... | src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs | src/System.Private.CoreLib/shared/System/Collections/IEnumerable.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
namespace System.Collections
{
#if !PROJECTN // Hitting a bug i... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
namespace System.Collections
{
[Guid("496B0ABE-CDEE-11d3-88... | mit | C# |
00948fbb74682e96ab8d78a8313ff026a538c049 | Remove unused usings | ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Source/MVC6/Boilerplate.AspNetCore.Sample/Startup.Options.cs | Source/MVC6/Boilerplate.AspNetCore.Sample/Startup.Options.cs | namespace MvcBoilerplate
{
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MvcBoilerplate.Settings;
public partial class Startup
{
/// <summary>
/// Configures the settings by binding the contents of the config.json file to the specif... | namespace MvcBoilerplate
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using MvcBoilerplate.Settings;
public partial class Startup
{
/// <summary>
/// Configures ... | mit | C# |
850b6d30c5a6cbf717eb32252efa1a84b5e66c4f | add product code to version JSON | robertwahler/jammer,robertwahler/jammer | Assets/Scripts/Application/Version.cs | Assets/Scripts/Application/Version.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using SDD;
namespace Jammer {
/// <summary>
/// Manages version information
///
/// Format semver-label+code.build
/// Example: 1.0.0-dev+1.81a86ec
/// </summary>
public class Version {
/// <summary>... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using SDD;
namespace Jammer {
/// <summary>
/// Manages version information
///
/// Format semver-label+code.build
/// Example: 1.0.0-dev+1.81a86ec
/// </summary>
public class Version {
/// <summary>... | mit | C# |
d99ff68219808476fcb8e939786ad7a0f4ab3d37 | Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value | yoder/CefSharp,gregmartinhtc/CefSharp,gregmartinhtc/CefSharp,AJDev77/CefSharp,yoder/CefSharp,dga711/CefSharp,haozhouxu/CefSharp,VioletLife/CefSharp,rlmcneary2/CefSharp,joshvera/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,zhangjingpu/CefSharp,Livit/CefSharp,rlmcneary2/CefSharp,battewr/CefSharp,wangzheng888520/CefSh... | CefSharp.Example/CefExample.cs | CefSharp.Example/CefExample.cs | using System;
using System.Diagnostics;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/BindingTest.html";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
... | using System;
using System.Linq;
namespace CefSharp.Example
{
public static class CefExample
{
public const string DefaultUrl = "custom://cefsharp/BindingTest.html";
// Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work.
private const bool debu... | bsd-3-clause | C# |
8bc36c30d08a2f5d2786ff8744decfc8af3d1efb | Clean unused code (#843) | AntShares/AntShares,shargon/neo | neo/Network/P2P/TaskSession.cs | neo/Network/P2P/TaskSession.cs | using Akka.Actor;
using Neo.Network.P2P.Capabilities;
using Neo.Network.P2P.Payloads;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neo.Network.P2P
{
internal class TaskSession
{
public readonly IActorRef RemoteNode;
public readonly VersionPayload Version;
... | using Akka.Actor;
using Neo.Network.P2P.Capabilities;
using Neo.Network.P2P.Payloads;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neo.Network.P2P
{
internal class TaskSession
{
public readonly IActorRef RemoteNode;
public readonly VersionPayload Version;
... | mit | C# |
51ed20677be65d45af1168531ca127eaea7d5ee1 | Add in comments for ThumborSigner. | mi9/DotNetThumbor | DotNetThumbor/ThumborSigner.cs | DotNetThumbor/ThumborSigner.cs | namespace DotNetThumbor
{
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
public class ThumborSigner : IThumborSigner
{
/// <summary>
/// Method to sign Thumbor urls correct as of 2015/03/12
/// </summary>
/// <param name="i... | namespace DotNetThumbor
{
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
public class ThumborSigner : IThumborSigner
{
public string Encode(string input, string key)
{
var hmacsha1 = new HMACSHA1(Encoding.UTF8.GetBytes(key));
... | bsd-3-clause | C# |
8d79eb75902a29c7a76b88b9ca146242661749c1 | Add a formated Json serialization option | eleven41/Eleven41.Helpers | Eleven41.Helpers/JsonHelper.cs | Eleven41.Helpers/JsonHelper.cs | using System;
using System.IO;
using System.Text;
using ServiceStack.Text;
namespace Eleven41.Helpers
{
public static class JsonHelper
{
public static string Serialize<T>(T obj)
{
return JsonSerializer.SerializeToString(obj, typeof(T));
}
public static string SerializeAndFormat<T>(T obj)
{
return o... | using System;
using System.IO;
using System.Text;
namespace Eleven41.Helpers
{
public static class JsonHelper
{
public static string Serialize<T>(T obj)
{
return ServiceStack.Text.JsonSerializer.SerializeToString(obj, typeof(T));
}
public static void SerializeToStream<T>(T obj, Stream stream)
{
Se... | mit | C# |
c534dde07ce40087235f0e621fac379ba4e2ba9e | Trim the output of constants. | EliotVU/Unreal-Library | Core/Decompilers/UnConstDecompiler.cs | Core/Decompilers/UnConstDecompiler.cs | #if DECOMPILE
namespace UELib.Core
{
public partial class UConst : UField
{
/// <summary>
/// Decompiles this object into a text format of:
///
/// const NAME = VALUE;
/// </summary>
/// <returns></returns>
public override string Decompile()
{
return "const " + Name + " = " + Value.Trim() + ";";... | #if DECOMPILE
namespace UELib.Core
{
public partial class UConst : UField
{
/// <summary>
/// Decompiles this object into a text format of:
///
/// const NAME = VALUE;
/// </summary>
/// <returns></returns>
public override string Decompile()
{
return "const " + Name + " = " + Value + ";";
}
}... | mit | C# |
416c3bf7ddb4bbc4b0e09861dcc3354497502abd | Fix challenge div displaying in Chrome. | Mikuz/Battlezeppelins,Mikuz/Battlezeppelins | Battlezeppelins/Views/Shared/ChallengeInbox.cshtml | Battlezeppelins/Views/Shared/ChallengeInbox.cshtml | <div id="challengeInbox" style="display: none;">
<p id="challengeText"></p>
<input type="button" onclick="acceptChallenge()" value="Accept" />
<input type="button" onclick="rejectChallenge()" value="Reject" />
</div>
<script>
function pollChallengeInbox() {
$.getJSON('@Url.Content("~/Pol... | <div id="challengeInbox" style="display: none;">
<p id="challengeText"></p>
<input type="button" onclick="acceptChallenge()" value="Accept" />
<input type="button" onclick="rejectChallenge()" value="Reject" />
</div>
<script>
function pollChallengeInbox() {
$.getJSON('@Url.Content("~/Pol... | apache-2.0 | C# |
52806ddb6606d73a13f338db1a657eac9a9ef8d5 | Upgrade to allocation as it is used a bit | DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework | DragonSpark.Application/Security/Identity/Login.cs | DragonSpark.Application/Security/Identity/Login.cs | using Microsoft.AspNetCore.Identity;
namespace DragonSpark.Application.Security.Identity;
public sealed record Login<T>(ExternalLoginInfo Information, T User); | using Microsoft.AspNetCore.Identity;
namespace DragonSpark.Application.Security.Identity;
public readonly record struct Login<T>(ExternalLoginInfo Information, T User); | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.