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 |
|---|---|---|---|---|---|---|---|---|
e685e6d00dcab0ad6080d9da73eabbfce5a52250 | Fix incorrect working directory when a nuget framework consumer is consumed by another project | ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework | osu.Framework/Development/DebugUtils.cs | osu.Framework/Development/DebugUtils.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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using osu.Framework.Configuration;
namespace... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using NUnit.Framework;
using osu.Framework.Configuration;
namespace... | mit | C# |
1ecd3584d80029378796fde63b0dbf9ba79e6628 | fix sample | eclaus/docs.particular.net,pedroreys/docs.particular.net,WojcikMike/docs.particular.net,yuxuac/docs.particular.net | samples/unit-of-work/using-childcontainers/Version_5/Sample/RavenServer.cs | samples/unit-of-work/using-childcontainers/Version_5/Sample/RavenServer.cs | using System;
using System.Diagnostics;
using Raven.Client.Embedded;
// In process RavenServer
class RavenServer : IDisposable
{
public RavenServer(Action<EmbeddableDocumentStore> initialization = null)
{
int port = 32076;
DocumentStore = new EmbeddableDocumentStore
{
Data... | using System;
using System.Diagnostics;
using Raven.Client.Embedded;
#region RavenDBSetup
// In process RavenServer
class RavenServer : IDisposable
{
public RavenServer(Action<EmbeddableDocumentStore> initialization = null)
{
int port = 32076;
DocumentStore = new EmbeddableDocumentStore
... | apache-2.0 | C# |
dedf32dbb60573f1cf48addc0a94f126f42f3010 | Correct namespace (#7944) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.AdminMenu/Services/AdminMenuService.cs | src/OrchardCore.Modules/OrchardCore.AdminMenu/Services/AdminMenuService.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.AdminMenu.Models;
using OrchardCore.AdminMenu.Services;
using OrchardCore.Documents;
namespace OrchardCore.AdminMenu.Services
{
public class AdminMenuService : IAdminMenuService
{
private readonly IDocumentManager<AdminMen... | using System;
using System.Linq;
using System.Threading.Tasks;
using OrchardCore.AdminMenu.Models;
using OrchardCore.AdminMenu.Services;
using OrchardCore.Documents;
namespace OrchardCore.AdminMenu
{
public class AdminMenuService : IAdminMenuService
{
private readonly IDocumentManager<AdminMenuList> _d... | bsd-3-clause | C# |
0c24cda7ce76f2ccc5125f335501b5b5bb4def2e | Add mini-demo | BillWagner/ModernCSharp,BillWagner/ModernCSharp,BillWagner/ModernCSharp | ModernCSharp/ModernCSharp/Program.cs | ModernCSharp/ModernCSharp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModernCSharp
{
class Program
{
static void Main(string[] args)
{
//FirstExample();
var oddSquares = from n in Enumerable.Range(0, 12)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModernCSharp
{
class Program
{
static void Main(string[] args)
{
var board = from row in Enumerable.Range(1, 8)
from index in Enumer... | mit | C# |
35ebabe90075b20227cc993172c801fdcb5efe17 | Update ListFillingTest.cs | DoubleLinePartners/ObjectFiller.NET,Tynamix/ObjectFiller.NET,blmeyers/ObjectFiller.NET,HerrLoesch/ObjectFiller.NET | ObjectFiller.Test/ListFillingTest.cs | ObjectFiller.Test/ListFillingTest.cs | using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.ListTest;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class ListFillingTest
{
[TestMethod]
public void TestFillAllListsExceptArray()
... | using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectFiller.Test.TestPoco.ListTest;
using Tynamix.ObjectFiller;
namespace ObjectFiller.Test
{
[TestClass]
public class ListFillingTest
{
[TestMethod]
public void TestFillAllListsExceptArray()
... | mit | C# |
ab96e7c17d4261eae6fcfed041b1a78566106887 | fix for linux+mac | JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukho... | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Configurations/LanguageXmlTests.cs | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Configurations/LanguageXmlTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using NUnit.Framework;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core.Configurations
{
[TestFixture]
public class LanguageXmlTests
{
[Test]
public void Can_Load_Language_Xml_Files()
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using NUnit.Framework;
namespace Umbraco.Cms.Tests.UnitTests.Umbraco.Core.Configurations
{
[TestFixture]
public class LanguageXmlTests
{
[Test]
public void Can_Load_Language_Xml_Files()
... | mit | C# |
e8b459bf5845398064f476fb33eabb9fa8add8c9 | Fix comment in CalendarOrdinal to make it consistent with the number of bits used for calendars in YearMonthDayCalendar. | BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime,jskeet/nodatime,jskeet/nodatime,malcolmr/nodatime | src/NodaTime/CalendarOrdinal.cs | src/NodaTime/CalendarOrdinal.cs | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
namespace NodaTime
{
/// <summary>
/// Enumeration of calendar ordinal values. Used for converting between a compact integer representation and a... | // Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
namespace NodaTime
{
/// <summary>
/// Enumeration of calendar ordinal values. Used for converting between a compact integer representation and a... | apache-2.0 | C# |
d2399468fb8b71631875013b359ec3fec307f398 | Update IForeignExchangeRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/IForeignExchangeRepository.cs | TIKSN.Core/Finance/ForeignExchange/Data/IForeignExchangeRepository.cs | using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public interface IForeignExchangeRepository : IQueryRepository<ForeignExchangeEntity, int>, IRepository<ForeignExchangeEntity>
{
}
} | using TIKSN.Data;
namespace TIKSN.Finance.ForeignExchange.Data
{
public interface IForeignExchangeRepository : IQueryRepository<ForeignExchangeEntity, int>, IRepository<ForeignExchangeEntity>
{
}
}
| mit | C# |
4c66ff1fd65d946e0db4c0a95b726be06198ef6c | Remove unnecessary using statement | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/Helpers/SyntaxTriviaHelpers.cs | StyleCop.Analyzers/StyleCop.Analyzers/Helpers/SyntaxTriviaHelpers.cs | namespace StyleCop.Analyzers.Helpers
{
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
internal static class SyntaxTreeHelpers
{
/// <summary>
/// A cach... | namespace StyleCop.Analyzers.Helpers
{
using System.Linq;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Foo = Microsoft.CodeAnalysis.CSharp;
internal static class SyntaxTreeHelpers... | mit | C# |
7135fbdb10c26f02dca7df96af4073c2c2d3ade7 | Fix Query test namespace | ericsink/sqlite-net,praeclarum/sqlite-net | tests/QueryTest.cs | tests/QueryTest.cs | using System.Linq;
using System.Text;
using SQLite;
using System.Threading.Tasks;
using System.IO;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.VisualStudio.TestPla... | using System.Linq;
using System.Text;
using SQLite;
using System.Threading.Tasks;
using System.IO;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.VisualStudio.TestPla... | mit | C# |
bbf907f419e2f66899234b4f81ff5a477de49f80 | Make `PieceShouldDropOneOnTick` more obvious. | JayBazuzi/BazuziTetris | Source/Tests.cs | Source/Tests.cs | using Xunit;
namespace BazuziTetris
{
public class Tests
{
[Fact]
public void WellShouldStartEmpty()
{
Game game = new Game();
foreach (var item in game.Well.Cells)
{
Assert.False(item);
}
}
[Fact]
... | using Xunit;
namespace BazuziTetris
{
public class Tests
{
[Fact]
public void WellShouldStartEmpty()
{
Game game = new Game();
foreach (var item in game.Well.Cells)
{
Assert.False(item);
}
}
[Fact]
... | mit | C# |
2dbb04350d85c3c7e37f26e003820e8fdfea847e | Apply force unbold to dropdown options | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs | Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownLanguageFontUpdater : MonoBehaviour
{
[SerializeField]
private Text textComponent;
void Start ()
{
var language = LocalizationManager.instance.getAllLanguages()[transform.Get... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DropdownLanguageFontUpdater : MonoBehaviour
{
[SerializeField]
private Text textComponent;
void Start ()
{
Font overrideFont = LocalizationManager.instance.getAllLanguages()[transfor... | mit | C# |
01d0d416136fe3b599bdb6bd8693ba4a5c9a43a4 | Update assembly info | IntelOrca/teds-terminal | src/tterm/Properties/AssemblyInfo.cs | src/tterm/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Ted's Terminal")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Ted's Terminal")]
[assembly: AssemblyCopyright("Copyrig... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | mit | C# |
fc7cf15efa3566219cb518929ffe70492ed5c84f | Clarify when default commands get added fix #66 | nerai/CMenu | src/ConsoleMenu/CMenu.cs | src/ConsoleMenu/CMenu.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu.DefaultItems;
namespace ConsoleMenu
{
/// <summary>
/// A console menu structure, comprised of various menu items.
///
/// <example>
/// Create a menu which can display the time:
/// <code>
/// var menu = ne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ConsoleMenu.DefaultItems;
namespace ConsoleMenu
{
/// <summary>
/// A console menu structure, comprised of various menu items.
///
/// <example>
/// Create a menu which can display the time:
/// <code>
/// var menu = ne... | mit | C# |
3a283af9af23815d01694a5a152f11d4db0c2e10 | Add string extension class for RichText with method chaining. | neitsa/PrepareLanding,neitsa/PrepareLanding | src/Core/Gui/RichText.cs | src/Core/Gui/RichText.cs | using System;
using UnityEngine;
namespace PrepareLanding.Core.Gui
{
/// <summary>
/// Extensions for <see cref="Verse.Text" /> class.
/// </summary>
public static class RichText
{
public static string Bold(string text)
{
return $"<b>{text}</b>";
}
... | using UnityEngine;
namespace PrepareLanding.Core.Gui
{
/// <summary>
/// Extensions for <see cref="Verse.Text" /> class.
/// </summary>
public static class RichText
{
public static string Bold(string text)
{
return $"<b>{text}</b>";
}
public static ... | mit | C# |
6430e679526199f23009de7202b53dfbb95793a7 | Update ConfigurationValidationException.cs | tiksn/TIKSN-Framework | TIKSN.Core/Configuration/ConfigurationValidationException.cs | TIKSN.Core/Configuration/ConfigurationValidationException.cs | using System;
using System.Runtime.Serialization;
namespace TIKSN.Configuration
{
public class ConfigurationValidationException : Exception
{
public ConfigurationValidationException()
{
}
public ConfigurationValidationException(string message) : base(message)
{
... | using System;
namespace TIKSN.Configuration
{
public class ConfigurationValidationException : Exception
{
public ConfigurationValidationException()
{
}
public ConfigurationValidationException(string message) : base(message)
{
}
public ConfigurationVali... | mit | C# |
35aee7680d711a71185a5f885c8d2ce3caa18533 | fix validation to post | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | mit | C# |
774637c3bd18e25be83d733839f9b1c8d4a13186 | Fix enum name | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Common/Models/MilitaryEducationLevel.cs | BatteryCommander.Common/Models/MilitaryEducationLevel.cs | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Common.Models
{
public enum MilitaryEducationLevel
{
None,
[Display(Name = "(AIT) Advanced Individual Training")]
AIT,
[Display(Name = "(WLC) Warrior Leader Course")]
WLC,
[Display(Name =... | using System.ComponentModel.DataAnnotations;
namespace BatteryCommander.Common.Models
{
public enum MilitaryEducationLevel
{
None,
[Display(Name = "(AIT) Advanced Individual Training")]
AIT,
[Display(Name = "(WLC) Warrior Leader Course")]
WLC,
[Display(Name =... | mit | C# |
e86a01f22b17b87617bcd35eab9a569a9a928896 | Update NavItemTableSource.cs according to code guidelines | W3SS/monotouch-samples,labdogg1003/monotouch-samples,xamarin/monotouch-samples,markradacz/monotouch-samples,albertoms/monotouch-samples,W3SS/monotouch-samples,YOTOV-LIMITED/monotouch-samples,robinlaide/monotouch-samples,sakthivelnagarajan/monotouch-samples,nelzomal/monotouch-samples,peteryule/monotouch-samples,robinlai... | CoreAnimation/Code/NavigationTable/NavItemTableSource.cs | CoreAnimation/Code/NavigationTable/NavItemTableSource.cs | using System;
using System.Collections.Generic;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Reflection;
namespace Example_CoreAnimation.Code.NavigationTable
{
/// <summary>
/// Combined DataSource and Delegate for our UITableView
/// </summary>
public class NavItemTableSource : UITableViewSourc... | using System;
using System.Collections.Generic;
using MonoTouch.UIKit;
using MonoTouch.Foundation;
using System.Reflection;
namespace Example_CoreAnimation.Code.NavigationTable
{
/// <summary>
/// Combined DataSource and Delegate for our UITableView
/// </summary>
public class NavItemTableSource : UITableViewSo... | mit | C# |
77c2d8ac8e386903405ca7951dc262f2b1519491 | Use same min rpc version as Bitcoin (#337) | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetworkProvider.Groestlcoin.cs | NBXplorer.Client/NBXplorerNetworkProvider.Groestlcoin.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitGroestlcoin(ChainName networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Groestlcoin.Instance, networkType)
{
MinRPCVersio... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitGroestlcoin(ChainName networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Groestlcoin.Instance, networkType)
{
MinRPCVersio... | mit | C# |
6359c1a4fea5ec9790cbf276804a4f9a2233228d | Fix outdated comment | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/Data/ColourEncoding.cs | osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/Colour/Data/ColourEncoding.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.Collections.Generic;
using osu.Game.Rulesets.Taiko.Objects;
namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour.Data
{
/// <summary>
/... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Rulesets.Taiko.Objects;
namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing.Colour.Data
{
/// <summary>
/... | mit | C# |
ab045c9873cbf43266a88a6e67ce2711a2a83da6 | Update ControlStoryboardOption.cs | Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Media/ControlStoryboardOption.cs | src/BehaviorsSDKManaged/Microsoft.Xaml.Interactions/Media/ControlStoryboardOption.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xaml.Interactions.Media
{
/// <summary>
/// Represents operations that can be applied to <seealso cref="Windows.UI.Xaml.Media.Animation.Storyboard... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Xaml.Interactions.Media
{
/// <summary>
/// Represents operations that can be applied to <seealso cref="Windows.UI.Xaml.Media.Animation.Storyboard... | mit | C# |
2f7e882e59e3a063b44a0e3b62cab8c8fcd063dd | add usage for IgnoreXunitAnalyzersRule1013Attribute | adamralph/xbehave.net,xbehave/xbehave.net | src/Xbehave.Core/BackgroundAttribute.cs | src/Xbehave.Core/BackgroundAttribute.cs | namespace Xbehave
{
using System;
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// Applied to a method to indicate a background for each scenario defined in the same feature class.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
[SuppressMessage("Microsoft.Performa... | namespace Xbehave
{
using System;
using System.Diagnostics.CodeAnalysis;
/// <summary>
/// Applied to a method to indicate a background for each scenario defined in the same feature class.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
[SuppressMessage("Microsoft.Performa... | mit | C# |
acc1ed08f5ada22c376c285edd1ca283a689ee38 | Check for empty string also in Migrations Client | shiftkey/octokit.net,dampir/octokit.net,adamralph/octokit.net,octokit/octokit.net,rlugojr/octokit.net,shana/octokit.net,alfhenrik/octokit.net,M-Zuber/octokit.net,editor-tools/octokit.net,shiftkey-tester/octokit.net,TattsGroup/octokit.net,shiftkey-tester/octokit.net,ivandrofly/octokit.net,M-Zuber/octokit.net,rlugojr/oct... | Octokit/Clients/Enterprise/EnterpriseMigrationsClient.cs | Octokit/Clients/Enterprise/EnterpriseMigrationsClient.cs | using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace Octokit
{
public class EnterpriseMigrationsClient : ApiClient, IEnterpriseMigrationsClient
{
public EnterpriseMigrationsClient(IApiConnection apiConnection) : base(apiConnection)
{
}
pu... | using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
namespace Octokit
{
public class EnterpriseMigrationsClient : ApiClient, IEnterpriseMigrationsClient
{
public EnterpriseMigrationsClient(IApiConnection apiConnection) : base(apiConnection)
{
}
pu... | mit | C# |
bb5eb966254a46e090077837a9d48408e8dcbb77 | Load the precompilation type from the loaded assembly | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewManfiest.cs | src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewManfiest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Reflection;
using System.Runtime.Loader;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Micros... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Reflection;
using System.Runtime.Loader;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
namespace Micros... | apache-2.0 | C# |
6ab190e83fb651864cb64b656ec80678270348f6 | Remove empty method checked in by mistake | tkirill/elasticsearch-net,cstlaurent/elasticsearch-net,DavidSSL/elasticsearch-net,faisal00813/elasticsearch-net,gayancc/elasticsearch-net,azubanov/elasticsearch-net,amyzheng424/elasticsearch-net,robertlyson/elasticsearch-net,geofeedia/elasticsearch-net,adam-mccoy/elasticsearch-net,abibell/elasticsearch-net,starckgates/... | src/Tests/Nest.Tests.Unit/ObjectInitializer/Index/IndexRequestTests.cs | src/Tests/Nest.Tests.Unit/ObjectInitializer/Index/IndexRequestTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Index
{
[TestFixture]
public class IndexReq... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.ObjectInitializer.Index
{
[TestFixture]
public class IndexReq... | apache-2.0 | C# |
2d9fcdcbd02c3f92c608d5f63ab0a7ab8705ff94 | Fix slider circle overlays moving with the endpoints | 2yangk23/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,Frontear/osuKyzer,peppy/osu-new,EVAST9919/osu,naoey/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,UselessToucan/osu,Nabile-Rahmani/osu,ZLima12/osu,naoey... | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleOverlay.cs | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleOverlay.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 osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit.Layers.Selection;
using osu.Game.Rulesets.Osu... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit.Layers.Selection;
using osu.Game.Rulesets.Osu... | mit | C# |
3d340e133fee63b068a6e9f31c907f815bd453f6 | Fix wrong mapping for Translation, should be mapped as a property instead of Component | peopleware/net-ppwcode-vernacular-nhibernate | src/PPWCode.Vernacular.NHibernate.I.Tests/DictionariesAndLists/Mappers/PlaneMapper.cs | src/PPWCode.Vernacular.NHibernate.I.Tests/DictionariesAndLists/Mappers/PlaneMapper.cs | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | // Copyright 2017 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | apache-2.0 | C# |
8cb3077637ac57fe9c3d059a36b2ddd0ebd4b4e4 | Fix teleport issue between Xmas Gift's first and second behaviour. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasGift/XmasGiftBehaviour1.cs | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasGift/XmasGiftBehaviour1.cs | using Microsoft.Xna.Framework;
using XmasHell.BulletML;
namespace XmasHell.Entities.Bosses.XmasGift
{
class XmasGiftBehaviour1 : AbstractBossBehaviour
{
public XmasGiftBehaviour1(Boss boss) : base(boss)
{
}
public override void Start()
{
Boss.PhysicsWorld.Gr... | using Microsoft.Xna.Framework;
using XmasHell.BulletML;
namespace XmasHell.Entities.Bosses.XmasGift
{
class XmasGiftBehaviour1 : AbstractBossBehaviour
{
public XmasGiftBehaviour1(Boss boss) : base(boss)
{
}
public override void Start()
{
Boss.PhysicsWorld.Gr... | mit | C# |
7f4ce4c28c6f7aa313df6e3e45b58de102a43e9e | Extend DFS with control over visited vertices collection | MSayfullin/Basics | Basics.Algorithms/Graphs/DFS.cs | Basics.Algorithms/Graphs/DFS.cs | using System;
using System.Collections.Generic;
using Basics.Structures;
using Basics.Structures.Graphs;
namespace Basics.Algorithms.Graphs
{
public static class DepthFirstSearch
{
public static IEnumerable<T> DFS<T>(this IGraph<T> graph, T startVertex) where T : IEquatable<T>
{
re... | using System;
using System.Collections.Generic;
using Basics.Structures;
using Basics.Structures.Graphs;
namespace Basics.Algorithms.Graphs
{
public static class DepthFirstSearch
{
public static IEnumerable<T> DFS<T>(this IGraph<T> graph, T startVertex) where T : IEquatable<T>
{
re... | mit | C# |
d759c2a1a8b3e9348773d6c4802c5b104aacdd19 | Update UserSimpleInjectorRegistration.cs | loresoft/KickStart | test/KickStart.SimpleInjector.Tests/UserSimpleInjectorRegistration.cs | test/KickStart.SimpleInjector.Tests/UserSimpleInjectorRegistration.cs | using System;
using System.Collections.Generic;
using SimpleInjector;
using Test.Core;
namespace KickStart.SimpleInjector.Tests
{
public class UserSimpleInjectorRegistration : ISimpleInjectorRegistration
{
public void Register(Container container, IDictionary<string, object> data)
{
... | using System;
using System.Collections.Generic;
using SimpleInjector;
using Test.Core;
namespace KickStart.SimpleInjector.Tests
{
public class UserSimpleInjectorRegistration : ISimpleInjectorRegistration
{
public void Register(Container container, IDictionary<string, object> data)
{
... | mit | C# |
93908e5e8618588c9c3f6f155eef0ce713ac9bfb | Fix incorrect method call | ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Audio/Mixing/Bass/PassThroughBassAudioChannelInterface.cs | osu.Framework/Audio/Mixing/Bass/PassThroughBassAudioChannelInterface.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 ManagedBass;
namespace osu.Framework.Audio.Mixing.Bass
{
/// <summary>
/// Implements the audio channel method interface through basic BASS method invocati... | // 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 ManagedBass;
namespace osu.Framework.Audio.Mixing.Bass
{
/// <summary>
/// Implements the audio channel method interface through basic BASS method invocati... | mit | C# |
48d2f2e995926d253ddbd40ad8c34cfb61d167ef | Format in ObjectTree | humsp/uebersetzerbauSWP | Twee2Z/ObjectTree/PassageText.cs | Twee2Z/ObjectTree/PassageText.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twee2Z.ObjectTree
{
public class PassageText : PassageContent
{
private string _text;
private bool _italic;
private bool _underline;
private bool _strik... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Twee2Z.ObjectTree
{
public class PassageText : PassageContent
{
private string _text;
public PassageText(string text)
: base(ContentType.TextContent)
... | mit | C# |
0ccdfeea57f3a983e1735ce1d3c0aca7b7959da2 | Fix code quality issues | ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
usin... | using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHi... | mit | C# |
5ef8e26ebe894322c8aaba026051c3bba5ab15f7 | Fix check not accounting for mods not existing in certain rulesets | peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Tests.Visual.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Ga... | mit | C# |
8596bfa56c31cb083f62cdcfbb3e3aad7d4ce8cc | Allow zooming | bastuijnman/open-park | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
// Movement speed, can be set in the editor
public float speed = 1.0f;
// Player (camera) rotation
private Vector3 playerRotation = new Vector3 (35, 0, 0);
// Player (camera) height
private float playerHeight = 5.0f;
void St... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
// Movement speed, can be set in the editor
public float speed = 1.0f;
// Player (camera) rotation
private Vector3 playerRotation = new Vector3 (35, 0, 0);
// Player (camera) height
private float playerHeight = 5.0f;
void St... | mit | C# |
b080a26b585eeaac2be442997f0a3fb02f2c05b2 | update test as casing is not all lower | dpurge/GitVersion,GitTools/GitVersion,DanielRose/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,pascalberger/GitVersion,gep13/GitVersion,gep13/GitVersion,JakeGinnivan/GitVersion,dpurge/GitVersion,GitTools/GitVersion,dpurg... | src/GitVersionExe.Tests/HelpWriterTests.cs | src/GitVersionExe.Tests/HelpWriterTests.cs | using System.Collections.Generic;
using System.Linq;
using GitVersion;
using NUnit.Framework;
using Shouldly;
public class HelpWriterTests
{
[Test]
public void AllArgsAreInHelp()
{
var lookup = new Dictionary<string, string>
{
{ "TargetUrl", "/url" },
{ "Init", "init... | using System.Collections.Generic;
using System.Linq;
using GitVersion;
using NUnit.Framework;
using Shouldly;
public class HelpWriterTests
{
[Test]
public void AllArgsAreInHelp()
{
var lookup = new Dictionary<string, string>
{
{ "TargetUrl", "/url" },
{ "Init", "init... | mit | C# |
ca46832b4f471c2ffc55f8bf78ee9ea76a79f048 | Fix race condition. | jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh... | src/Manos.IO/Manos.IO.Managed/UdpSocket.cs | src/Manos.IO/Manos.IO.Managed/UdpSocket.cs | using System;
using System.Net.Sockets;
using System.Net;
namespace Manos.IO.Managed
{
class UdpSocket : Manos.IO.UdpSocket
{
Context Context { get; set; }
byte [] buffer = new byte[64 * 1024];
System.Net.Sockets.Socket socket;
Action<UdpPacket> readCallback;
EndPoint dummy = new IPEndPoint (IPAddress.A... | using System;
using System.Net.Sockets;
using System.Net;
namespace Manos.IO.Managed
{
class UdpSocket : Manos.IO.UdpSocket
{
Context Context { get; set; }
byte [] buffer = new byte[64 * 1024];
System.Net.Sockets.Socket socket;
Action<UdpPacket> readCallback;
EndPoint dummy = new IPEndPoint (IPAddress.A... | mit | C# |
1ca984a6e405a31448a3aa6ac0bb0cd22e0a98e3 | Fix typo | ZeBobo5/Vlc.DotNet,jeremyVignelles/Vlc.DotNet | src/Vlc.DotNet.Core.Interops/VlcManager.cs | src/Vlc.DotNet.Core.Interops/VlcManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager : VlcInteropsManager
{
private VlcInstance myVlcInstance;
private static readonly Dictionary<DirectoryInfo, Vl... | using System;
using System.Collections.Generic;
using System.IO;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core.Interops
{
public sealed partial class VlcManager : VlcInteropsManager
{
private VlcInstance myVlcInstance;
private static readonly Dictionary<DirectoryInfo, Vl... | mit | C# |
fb8a01a1381e72914d69fd6f0668567e3bd3e732 | Fix tests in preceding commit | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.Blazor.Mono.Test/MonoStaticFileProviderTest.cs | test/Microsoft.Blazor.Mono.Test/MonoStaticFileProviderTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Xunit;
namespace Microsoft.Blazor.Mono.Test
{
public class MonoStaticFileProviderTest
{
[Fact]
public ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Xunit;
namespace Microsoft.Blazor.Mono.Test
{
public class MonoStaticFileProviderTest
{
[Fact]
public void SuppliesJsFile... | apache-2.0 | C# |
ba8b42444d7e9fe3b3b45eb931e111fa9f1347f2 | Update SSE2 test | cshung/coreclr,mmitche/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,wtgodbe/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,m... | tests/src/JIT/Regression/JitBlue/GitHub_19583/GitHub_19583.cs | tests/src/JIT/Regression/JitBlue/GitHub_19583/GitHub_19583.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.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsic... | // 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.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsic... | mit | C# |
92cce110be262606c6fa9c627f223d0e81ffa17f | Apply Sealed attribute to the variable's value field. | lukyad/Eco | Eco/Elements/variable.cs | Eco/Elements/variable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | apache-2.0 | C# |
2df4996dba92307707119d8e9df3c892ec3ed260 | Update PaletteCreator.cs | grreuze/Utils | Editor/PaletteCreator.cs | Editor/PaletteCreator.cs | using UnityEngine;
using UnityEditor;
using System.IO;
public class PaletteCreator : EditorWindow {
string texName = "Textures/Palette";
[SerializeField]
Gradient _Gradient = new Gradient();
[SerializeField]
int _TextureSize = 128;
[SerializeField]
TextureWrapMode _WrapMode;
[SerializeField]
F... | using UnityEngine;
using UnityEditor;
using System.IO;
public class PaletteCreator : EditorWindow {
string texName = "Textures/Palette";
[SerializeField]
Gradient _Gradient = new Gradient();
[SerializeField]
int _TextureSize = 128;
[SerializeField]
TextureWrapMode _WrapMode;
[SerializeField]
F... | mit | C# |
90f1f640a32c2c6c0da4bf65da97016c85da2b50 | Add missing doc comments | MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | src/IdentityServer4/src/Validation/Models/JwtRequestValidationResult.cs | src/IdentityServer4/src/Validation/Models/JwtRequestValidationResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
namespace IdentityServer4.Validation
{
/// <summary>
/// Models the result of JWT request validatio... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Collections.Generic;
namespace IdentityServer4.Validation
{
public class JwtRequestValidationResult : ValidationResult
{... | apache-2.0 | C# |
385513b0d9c5c8612271acd580ac2a5abca945f4 | Rename test method | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/AddHostnameCommandTest.cs | src/AppHarbor.Tests/Commands/AddHostnameCommandTest.cs | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class AddHostnameCommandTest
{
[Theory, AutoCommandData]
public void ShouldThrowIfNoArguments(AddHostnameCommand command)
{
Assert.Throws<CommandException>(()... | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class AddHostnameCommandTest
{
[Theory, AutoCommandData]
public void ShouldThrowIfNoArguments(AddHostnameCommand command)
{
Assert.Throws<CommandException>(()... | mit | C# |
1f9879ca4e8f7472264085eb87bd1b4feb0c52c7 | Update TestMongoEntity.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoEntity.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoEntity.cs | using System;
using MongoDB.Bson.Serialization.Attributes;
using TIKSN.Data;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoEntity : IEntity<Guid>
{
public Guid Value { get; set; }
public int Version { get; set; }
[BsonId]
public Guid ID... | using System;
using MongoDB.Bson.Serialization.Attributes;
using TIKSN.Data;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoEntity : IEntity<Guid>
{
public Guid Value { get; set; }
[BsonId]
public Guid ID { get; set; }
}
} | mit | C# |
5b26e38ba8bd7223db6a8ed8c6f1962cbbae33f2 | Remove unused code | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/ViewLocator.cs | src/Core2D/ViewLocator.cs | using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
namespace Core2D
{
public class ViewLocator : IDataTemplate
{
public IControl Build(object data)
{
var name = data.GetType()?.FullName?.Replace("Core2D", "Core2D.Views") + "Control";
if (name == nu... | using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
namespace Core2D
{
public class ViewLocator : IDataTemplate
{
public bool SupportsRecycling => false;
public IControl Build(object data)
{
var name = data.GetType()?.FullName?.Replace("Core2D", "Core2... | mit | C# |
90aa48b0050a1f4a4610e37c662716cdb49b1bb6 | change api name | EsWork/Es.Logging,EsWork/Es.Logging | src/Es.Logging/ILogger.cs | src/Es.Logging/ILogger.cs | // ==++==
//
// Copyright (c) . All rights reserved.
//
// ==--==
/* ---------------------------------------------------------------------------
*
* Author : v.la
* Email : v.la@live.cn
* Created : 2015-09-01
* Class : ILogger.cs
*
* ---------------------------------------------------------------------... | // ==++==
//
// Copyright (c) . All rights reserved.
//
// ==--==
/* ---------------------------------------------------------------------------
*
* Author : v.la
* Email : v.la@live.cn
* Created : 2015-09-01
* Class : ILogger.cs
*
* ---------------------------------------------------------------------... | mit | C# |
004d0d2ee5b8d53d4118af997dea99211a3b3f12 | Enable debug by default in scenario tests | akromm/azure-sdk-tools,DinoV/azure-sdk-tools,markcowl/azure-sdk-tools,Madhukarc/azure-sdk-tools,akromm/azure-sdk-tools,DinoV/azure-sdk-tools,antonba/azure-sdk-tools,akromm/azure-sdk-tools,johnkors/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,johnkors/azure-sdk-tools,Madhukarc/azure-sdk-tools,anton... | WindowsAzurePowershell/src/Management.Test/Tests/Utilities/PowerShellTest.cs | WindowsAzurePowershell/src/Management.Test/Tests/Utilities/PowerShellTest.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... | apache-2.0 | C# |
263ff9b0c7a8f88222c266ad4a196d5c8f0a6763 | Add drop protection related properties to Item | ethanmoffat/EndlessClient | EOLib/Domain/Map/Item.cs | EOLib/Domain/Map/Item.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
namespace EOLib.Domain.Map
{
public class Item : IItem
{
public short UniqueID { get; private set; }
public short ItemID { get; pr... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EOLib.Domain.Map
{
public class Item : IItem
{
public short UniqueID { get; private set; }
public short ItemID { get; private set; }
... | mit | C# |
ed49166c861ed369d2981aaf83b4b56e3f0306a5 | Fix category of revision log RSS feeds. | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac | templates/log_rss.cs | templates/log_rss.cs | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | <?xml version="1.0"?>
<!-- RSS generated by Trac v<?cs var:trac.version ?> on <?cs var:trac.time ?> -->
<rss version="2.0">
<channel><?cs
if:project.name_encoded ?>
<title><?cs var:project.name_encoded ?>: Revisions of <?cs var:log.path ?></title><?cs
else ?>
<title>Revisions of <?cs var:log.path ?></title... | bsd-3-clause | C# |
d17acd0f45cf54325f08981088991a52a7b5ea53 | add message to Assert.That | ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Ga... | mit | C# |
9b520fdc229651bf3b07a2203b12285a353c2504 | save room tool null excep fix + debug mode true | solfen/Rogue_Cadet | Assets/Editor/SaveRoomPrefab.cs | Assets/Editor/SaveRoomPrefab.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class SaveRoomPrefab {
private static RoomDynamicContent[] lastRoomContents;
[MenuItem("Tools/Save room to prefab _F5", true)]
private static bool Validate() {
return Selection.activeGameObjec... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class SaveRoomPrefab {
private static RoomDynamicContent[] lastRoomContents;
[MenuItem("Tools/Save room to prefab _F5", true)]
private static bool Validate() {
return Selection.activeGameObjec... | mit | C# |
ade58afa8f9518ff3db2af7e6f55d564c90a2b82 | Update Orientation.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sha... | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/Orientation.cs | Examples/CSharp/Formatting/ConfiguringAlignmentSettings/Orientation.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class Orientation
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cel... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.ConfiguringAlignmentSettings
{
public class Orientation
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDat... | mit | C# |
272e19101499d9ab49244c04adcd7e56240088f3 | Update ViewsGalleryViewModel.cs (#888) | FormsCommunityToolkit/FormsCommunityToolkit | samples/XCT.Sample/ViewModels/Views/ViewsGalleryViewModel.cs | samples/XCT.Sample/ViewModels/Views/ViewsGalleryViewModel.cs | using System.Collections.Generic;
using Xamarin.CommunityToolkit.Sample.Models;
using Xamarin.CommunityToolkit.Sample.Pages.Views;
namespace Xamarin.CommunityToolkit.Sample.ViewModels.Views
{
public class ViewsGalleryViewModel : BaseGalleryViewModel
{
protected override IEnumerable<SectionModel> CreateItems() => ... | using System.Collections.Generic;
using Xamarin.CommunityToolkit.Sample.Models;
using Xamarin.CommunityToolkit.Sample.Pages.Views;
namespace Xamarin.CommunityToolkit.Sample.ViewModels.Views
{
public class ViewsGalleryViewModel : BaseGalleryViewModel
{
protected override IEnumerable<SectionModel> CreateItems() => ... | mit | C# |
9a7d051e3e498e9980e556f6451f9ede3555aeeb | Update EllipseShapeControl.xaml.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.UI/Views/Shapes/EllipseShapeControl.xaml.cs | src/Core2D.UI/Views/Shapes/EllipseShapeControl.xaml.cs | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Core2D.Editor;
using Core2D.Editors;
using Core2D.Shapes;
using Core2D.UI.Views.Editors;
namespace Core2D.UI.Views.Shapes
{
/// <summary>
/// Interaction logic for <see cref="EllipseShapeControl"/> xaml.
/// </summary>
public class EllipseShap... | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Core2D.Editor;
using Core2D.Editors;
using Core2D.Shapes;
using Core2D.UI.Views.Editors;
namespace Core2D.UI.Views.Shapes
{
/// <summary>
/// Interaction logic for <see cref="EllipseShapeControl"/> xaml.
/// </summary>
public class EllipseShap... | mit | C# |
e24770c0535261790e14028ad0b70274cb1fa220 | Use correct match logic in TreeDataTemplate. | OronDF343/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,susloparovdenis/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,OronDF343/Avalonia,susloparovdenis/Perspex,Super... | src/Markup/Perspex.Markup.Xaml/Templates/TreeDataTemplate.cs | src/Markup/Perspex.Markup.Xaml/Templates/TreeDataTemplate.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections;
using System.Reactive.Linq;
using System.Reflection;
using Perspex.Controls;
using Perspex.Controls.Templates;
usin... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections;
using System.Reactive.Linq;
using Perspex.Controls;
using Perspex.Controls.Templates;
using Perspex.Data;
using Per... | mit | C# |
7b288be1d85d702454d5bb6eafab2fd78f497596 | Use logger. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | src/HelloCoreClrApp/Hosting/GracefulShutdownService.cs | src/HelloCoreClrApp/Hosting/GracefulShutdownService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
using Serilog;
namespace HelloCoreClrApp.Hosting
{
public class GracefulShutdownService : IHostedService
{
private static readonly ILogger Log = Serilog.Log.ForCon... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Options;
namespace HelloCoreClrApp.Hosting
{
public class GracefulShutdownService : IHostedService
{
private readonly IApplicationLifetime applicationLifetime;
priv... | mit | C# |
36f1427645c1ae2563e4864a87cf837c1ba6163e | Update spelling mistake in api types | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Account.Api.Types/EmployerAgreementStatus.cs | src/SFA.DAS.EAS.Account.Api.Types/EmployerAgreementStatus.cs | using System.ComponentModel;
namespace SFA.DAS.EAS.Account.Api.Types
{
public enum EmployerAgreementStatus
{
[Description("Not signed")]
Pending = 1,
[Description("Signed")]
Signed = 2,
[Description("Expired")]
Expired = 3,
[Description("Super... | using System.ComponentModel;
namespace SFA.DAS.EAS.Account.Api.Types
{
public enum EmployerAgreementStatus
{
[Description("Not signed")]
Pending = 1,
[Description("Signed")]
Signed = 2,
[Description("Expired")]
Expired = 3,
[Description("Super... | mit | C# |
7920ba8423ac8758dccf780a06be5dd06738bcf3 | Fix accessor | azyobuzin/LinqToTweetsZip | LinqToTweetsZip/Tweet.cs | LinqToTweetsZip/Tweet.cs | using System;
using Newtonsoft.Json;
namespace LinqToTweetsZip
{
public class Tweet
{
[JsonProperty("source")]
public string Source { get; private set; }
[JsonProperty("entities")]
public Entities Entities { get; private set; }
[JsonProperty("geo")]
public Geo... | using System;
using Newtonsoft.Json;
namespace LinqToTweetsZip
{
public class Tweet
{
[JsonProperty("source")]
public string Source { get; private set; }
[JsonProperty("entities")]
public Entities Entities { get; private set; }
[JsonProperty("geo")]
public Geo... | mit | C# |
b39025d8ea6676f853a71485eff7d9ceb29507d1 | Update build.cake | predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins | Contacts/build.cake | Contacts/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "NuGetPack"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Contacts.sln";
const string cfg = "Release";
NuGetRestore (sln);
if... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./Contacts.sln";
const string cfg = "Release";
NuGetRestore (sln);
if (!I... | mit | C# |
bf96da16b95192490f2e6572561df505f897f7a6 | Fix doc comment | Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Models/DreamMakerSettings.cs | src/Tgstation.Server.Host/Models/DreamMakerSettings.cs | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class DreamMakerSettings : Api.Models.DreamMaker
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// The <see cref="Api.Models.Instance.Id"/>
... | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Host.Models
{
/// <inheritdoc />
public sealed class DreamMakerSettings : Api.Models.DreamMaker
{
/// <summary>
/// The row Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// The <see cref="Api.Models.Instance.Id"/>
... | agpl-3.0 | C# |
85d2a2b4581239fdebcee82584fb974fb0749fa6 | Add null check + async/await | spetz/Warden,spetz/Warden,spetz/Sentry,warden-stack/Warden | src/Watchers/Warden.Watchers.Redis/IRedisConnection.cs | src/Watchers/Warden.Watchers.Redis/IRedisConnection.cs | using System;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Warden.Watchers.Redis
{
public interface IRedisConnection
{
/// <summary>
/// Connection string of the Redis server.
/// </summary>
string ConnectionString { get; }
/// <summary>
/... | using System;
using System.Threading.Tasks;
using StackExchange.Redis;
namespace Warden.Watchers.Redis
{
public interface IRedisConnection
{
/// <summary>
/// Connection string of the Redis server.
/// </summary>
string ConnectionString { get; }
/// <summary>
/... | mit | C# |
2491cfa0e048432aa392689f08cdc959fb3568e7 | Add a list focus call | DHancock/Countdown | Countdown/Views/ScrollTo.cs | Countdown/Views/ScrollTo.cs | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace Countdown.Views
{
internal class ScrollTo
{
public static void SetItem(UIElement element, object value)
{
element.SetValue(ItemProperty, value);
}
public st... | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace Countdown.Views
{
internal class ScrollTo
{
public static void SetItem(UIElement element, object value)
{
element.SetValue(ItemProperty, value);
}
public st... | unlicense | C# |
29c2bca0121225fe9a678f0afc28b6a2be01b63b | remove delete relation in relation controller, this is not used and shouldn't really be there if only having access to content. | marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJu... | src/Umbraco.Web.BackOffice/Controllers/RelationController.cs | src/Umbraco.Web.BackOffice/Controllers/RelationController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Core;
using Umbraco.Core.Mapping;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Web.BackOffice.Auth... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Core;
using Umbraco.Core.Mapping;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using Umbraco.Web.BackOffice.Auth... | mit | C# |
6e8f049353223c85ba1b3485ad860ee314c46a39 | Add handling for cert validation errors (can occur when connecting to endpoint over HTTPS) | dylanmei/linqpad-soap-driver,dylanmei/linqpad-soap-driver | Driver/Discovery.cs | Driver/Discovery.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Web.Services.Description;
using System.Web.Services.Discovery;
using System.Windows;
namespace Driver
{
public cl... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web.Services.Description;
using System.Web.Services.Discovery;
namespace Driver
{
public class Discovery
{
readonly string uri;
readonly ICredentials credentials;
DiscoveryClientDocument... | mit | C# |
5cb82d13f54f0012d5e940d288d133b02d2f49e7 | Update metadata namespace | goblinfactory/_fork_copy_Nancy.Swagger,catcherwong/Nancy.Swagger,smiranda/Nancy.Swagger,yahehe/Nancy.Swagger,pinnstrat/snap-nancy-swagger,khellang/Nancy.Swagger,VQComms/Nancy.Swagger,goblinfactory/Nancy.Swagger | samples/Nancy.Swagger.Demo/Modules/HomeMetadataModule.cs | samples/Nancy.Swagger.Demo/Modules/HomeMetadataModule.cs | using Nancy.Metadata.Modules;
using Nancy.Swagger.Demo.Models;
namespace Nancy.Swagger.Demo.Modules
{
public class HomeMetadataModule : MetadataModule<SwaggerRouteData>
{
public HomeMetadataModule()
{
Describe["GetUsers"] = description => description.AsSwagger(with =>
{... | using Nancy.Metadata.Module;
using Nancy.Swagger.Demo.Models;
namespace Nancy.Swagger.Demo.Modules
{
public class HomeMetadataModule : MetadataModule<SwaggerRouteData>
{
public HomeMetadataModule()
{
Describe["GetUsers"] = description => description.AsSwagger(with =>
{
... | mit | C# |
32dde3066392292cb0903092a0c237735a44459d | Remove unused usings from formatter.cs | PowerShell/PSScriptAnalyzer,daviwil/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer | Engine/Formatter.cs | Engine/Formatter.cs | using System.Collections;
using System.Management.Automation;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
public class Formatter
{
public static string Format<TCmdlet>(
string scriptDefinition,
Settings settings,
Range range,
TCmdlet cmdlet) w... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
public class Formatter
... | mit | C# |
1de9fc706c508f3a8675b60c8da843c38f426b52 | fix rfc link (#1737) | AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet | src/Microsoft.IdentityModel.Tokens/JsonWebKeyUseNames.cs | src/Microsoft.IdentityModel.Tokens/JsonWebKeyUseNames.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | mit | C# |
44e30c7c2f5169400a6681cf3738340d6adb634a | Revert "set isNew to true when buidling editor (#6077)" | xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,OrchardCMS/Br... | src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml | src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml | @inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
@{
//Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes
dynamic contentCardFrame = await New.ContentCard_Frame();
var contentItem = Model.ContentItem;
... | @inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager
@{
//Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes
dynamic contentCardFrame = await New.ContentCard_Frame();
var contentItem = Model.ContentItem;
... | bsd-3-clause | C# |
323058de031645d533ef38a7a08c6775e9985b3a | Change to UI menu | mikerandrup/behave,mikerandrup/behave,mikerandrup/behave | BehaveWeb/Views/Shared/_layout.cshtml | BehaveWeb/Views/Shared/_layout.cshtml | @{
ViewBag.Title = "Behave Web Application";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<style>
body {
font-family: Helvetica, Arial, sans-serif;
}
nav li {
list-sty... | @{
ViewBag.Title = "Behave Web Application";
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<style>
body {
font-family: Helvetica, Arial, sans-serif;
}
nav li {
list-sty... | mit | C# |
9847a55c9c0aa0abf64f5fd4a4061a30052f6e65 | Add regression test for suppression operator in returns | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1009CSharp8UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.... | mit | C# |
954b6e558da3d9d78521280e2948ec9503c5c979 | Simplify check for range | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/EvaluationListViewModel.cs | Battery-Commander.Web/Models/EvaluationListViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | mit | C# |
699929a3ec5f32f4ae3b5574cc201cb62de5766d | Make sure to take into account completed when looking at ALL | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/EvaluationListViewModel.cs | Battery-Commander.Web/Models/EvaluationListViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class EvaluationListViewModel
{
public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>();
[Display(Na... | mit | C# |
99a9f24fc25747820e524d2de8f8809676c031dc | Update RestfulObjectsConfig.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Demo/NakedObjects.Rest.App.Demo/RestfulObjectsConfig.cs | Demo/NakedObjects.Rest.App.Demo/RestfulObjectsConfig.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
2a988261865e892bb3eac60d1c40f3f42f13340e | Update LoadVisibleSheetsOnly.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Files/Handling/LoadVisibleSheetsOnly.cs | Examples/CSharp/Files/Handling/LoadVisibleSheetsOnly.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class LoadVisibleSheetsOnly
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cell... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class LoadVisibleSheetsOnly
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetData... | mit | C# |
ee97a0bf7e350deb38abde362199d15466589081 | bump version to 2.8.2 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
6586deca44cf1b19b32b09ad539f3620fbc16012 | Fix ChildrenOfType being thread-unsafe | smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Testing/TestingExtensions.cs | osu.Framework/Testing/TestingExtensions.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.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
public static class Testin... | mit | C# |
a17658b69322a781e64202cb0d9a5f92715cf612 | Update CleanJob.cs | Bjornej/Bazooka,Bjornej/Bazooka,BazookaDeploy/Bazooka,Bjornej/Bazooka,BazookaDeploy/Bazooka,BazookaDeploy/Bazooka | Sources/Jobs/CleanJob.cs | Sources/Jobs/CleanJob.cs | using DataAccess.Read;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace Jobs
{
public class CleanJob
{
public static void Execute()
{
List<string> agents;
using (var db = new ReadContext())
{
... | using DataAccess.Read;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace Jobs
{
public class CleanJob
{
public static void Execute()
{
List<string> agents;
using (var db = new ReadContext())
{
... | mit | C# |
e1d771a0468c840ac1025a6b3503c14c55412c26 | Fix broken build | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/ShaderLab/Daemon/Stages/ShaderLabErrorStage.cs | resharper/src/resharper-unity/ShaderLab/Daemon/Stages/ShaderLabErrorStage.cs | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Daemon.Stages;
using JetBrains.ReSharper.Daemon.Stages.Dispatcher;
using JetBrains.ReSharper.Daemon.UsageChecking;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Tree;
using JetBrains.ReSharper.Psi.... | using JetBrains.Application.Settings;
using JetBrains.ReSharper.Daemon.Stages;
using JetBrains.ReSharper.Daemon.Stages.Dispatcher;
using JetBrains.ReSharper.Daemon.UsageChecking;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi.Tree;
using JetBrains.ReSharper.Psi.... | apache-2.0 | C# |
8c891beb3ce13ed5d683eaf74bd20f6158f806f2 | fix build error in sample project | joeaudette/cloudscribe.SimpleContent,joeaudette/cloudscribe.SimpleContent | samples/simpleauthnodb/src/WebApp/Integration/SiteProjectSettingsResolver.cs | samples/simpleauthnodb/src/WebApp/Integration/SiteProjectSettingsResolver.cs | using cloudscribe.SimpleContent.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WebApp
{
public class SiteProjectSettingsResolver : IProjectSettingsResolver
{
public SiteProjectSettingsResolver(
Site... | using cloudscribe.SimpleContent.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace WebApp
{
public class SiteProjectSettingsResolver : IProjectSettingsResolver
{
public SiteProjectSettingsResolver(
Site... | apache-2.0 | C# |
a73127e3470bfcffa8e84ef1c066ea604249e9d5 | Make sure every time we create a file for WinRT through CreateFile2 we prepend the extended prefix when it is a long path. | shrah/corert,gregkalapos/corert,shrah/corert,shrah/corert,yizhang82/corert,gregkalapos/corert,yizhang82/corert,gregkalapos/corert,shrah/corert,yizhang82/corert,gregkalapos/corert,yizhang82/corert | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.CreateFile2.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Win32.SafeHandles;
using System;
using System.IO;
using System.Runtime.InteropServices;
internal pa... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal partial class Inter... | mit | C# |
ce2dcc0f8ee5276c3c5678e29fea86049e2b5bec | Fix timeout for crashed clients | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Server/Context/ServerContext.cs | Server/Context/ServerContext.cs | using Lidgren.Network;
using LunaCommon.Message;
using Server.Client;
using Server.Lidgren;
using Server.Settings;
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Net;
namespace Server.Context
{
public static class ServerContext
{
public stati... | using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.IO;
using System.Net;
using Lidgren.Network;
using LunaCommon.Message;
using Server.Client;
using Server.Lidgren;
using Server.Settings;
namespace Server.Context
{
public static class ServerContext
{
public stati... | mit | C# |
972bc931936572ad1c3422b9405e88293b1deb0b | Change volume scale | danielchalmers/Simple-TTS,danielchalmers/Simple-TTS-Reader | SimpleTTSReader/SpeechEngine.cs | SimpleTTSReader/SpeechEngine.cs | #region
using System.Speech.Synthesis;
using SimpleTTSReader.Properties;
#endregion
namespace SimpleTTSReader
{
internal class SpeechEngine
{
private readonly MainWindow _mainWindow;
private readonly SpeechSynthesizer _synthesizer;
private Prompt _currentPrompt;
private int _... | #region
using System.Speech.Synthesis;
using SimpleTTSReader.Properties;
#endregion
namespace SimpleTTSReader
{
internal class SpeechEngine
{
private readonly MainWindow _mainWindow;
private readonly SpeechSynthesizer _synthesizer;
private Prompt _currentPrompt;
private int _... | apache-2.0 | C# |
42dae3edf33d96346399ae392db3b0fcfbbfc5d6 | Remove a excess @ in TaxonomyField.cshtml | jersiovic/Orchard,geertdoornbos/Orchard,MetSystem/Orchard,TaiAivaras/Orchard,MetSystem/Orchard,omidnasri/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,jersiovic/Orchard,sfmskywalker/Orchard,mvarblow/Orchard,tobydodds/folklife,IDeliverable/Orchard,tobydodds/folklife,emretiryaki/Orchard,brownjordaninternational/O... | src/Orchard.Web/Modules/Orchard.Taxonomies/Views/Fields/TaxonomyField.cshtml | src/Orchard.Web/Modules/Orchard.Taxonomies/Views/Fields/TaxonomyField.cshtml | @using Orchard.Utility.Extensions;
@{
var terms = (IEnumerable<Orchard.Taxonomies.Models.TermPart>)Model.Terms;
string name = Model.ContentField.DisplayName;
}
@if (Model.Terms.Count > 0) {
<p class="taxonomy-field">
<span class="name">@name.CamelFriendly():</span>
@(new HtmlString( string.Joi... | @using Orchard.Utility.Extensions;
@{
var terms = (IEnumerable<Orchard.Taxonomies.Models.TermPart>)Model.Terms;
string name = @Model.ContentField.DisplayName;
}
@if (Model.Terms.Count > 0) {
<p class="taxonomy-field">
<span class="name">@name.CamelFriendly():</span>
@(new HtmlString( string.Jo... | bsd-3-clause | C# |
fe4d0ce6fd47b1e6df94ff56e7d8d0787b131673 | increase version no | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | apache-2.0 | C# |
0ee6bc73a94401cffb8dc089c0ce1e9267211a29 | increase version number | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | apache-2.0 | C# |
62d5d671e6a5b1cf91d0394562d836ff0a5167ea | 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# |
310597ce27923401289daf3c0f50d181cd455e78 | fix build | JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbra... | src/Umbraco.Abstractions/Services/Changes/ContentTypeChange.cs | src/Umbraco.Abstractions/Services/Changes/ContentTypeChange.cs | using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Models;
namespace Umbraco.Core.Services.Changes
{
public class ContentTypeChange<TItem>
where TItem : class, IContentTypeComposition
{
public ContentTypeChange(TItem item, ContentTypeChangeTypes changeTypes)
{
... | using System.Collections.Generic;
using System.Linq;
using Umbraco.Core.Models;
namespace Umbraco.Core.Services.Changes
{
public class ContentTypeChange<TItem>
where TItem : class, IContentTypeComposition
{
public ContentTypeChange(TItem item, ContentTypeChangeTypes changeTypes)
{
... | mit | C# |
e75c9519f32f8e44e1beac1e57b83798a1f8d547 | Adjust font weighting on selection | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Graphics/UserInterface/PageSelector/PageSelectorPageButton.cs | osu.Game/Graphics/UserInterface/PageSelector/PageSelectorPageButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Allocation;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Graphics.UserInterface.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Allocation;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Graphics.UserInterface.... | mit | C# |
cf1fe92cfeba31b223ae15c24e9d2c55a2a6e808 | change default keep alive timeout | gaochundong/Cowboy | Cowboy.WebSockets/Server/AsyncWebSocketServerConfiguration.cs | Cowboy.WebSockets/Server/AsyncWebSocketServerConfiguration.cs | using System;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
namespace Cowboy.WebSockets
{
public sealed class AsyncWebSocketServerConfiguration
{
public AsyncWebSocketServerConfiguration()
{
... | using System;
using System.Net.Security;
using System.Net.Sockets;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
namespace Cowboy.WebSockets
{
public sealed class AsyncWebSocketServerConfiguration
{
public AsyncWebSocketServerConfiguration()
{
... | mit | C# |
cc5685dbb6a44a2a34bc96d12a7e0306ecf81be8 | Introduce placeholders for deprecated GeneratedNameKinds | vslsnap/roslyn,AmadeusW/roslyn,a-ctor/roslyn,tvand7093/roslyn,tannergooding/roslyn,bbarry/roslyn,ericfe-ms/roslyn,balajikris/roslyn,physhi/roslyn,gafter/roslyn,mgoertz-msft/roslyn,robinsedlaczek/roslyn,OmarTawfik/roslyn,AmadeusW/roslyn,CaptainHayashi/roslyn,leppie/roslyn,TyOverby/roslyn,MichalStrehovsky/roslyn,mgoertz-... | src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNameKind.cs | src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNameKind.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;
namespace Microsoft.CodeAnalysis.CSharp.Symbols
{
internal enum GeneratedNameKind
{
None = 0,
// Used by EE:
... | // 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.CSharp.Symbols
{
internal enum GeneratedNameKind
{
None = 0,
// Used by EE:
ThisProxyField ... | apache-2.0 | C# |
81afb8228971c0052c38324c4cdf197250fe0c06 | Remove unused code in MemoryStreamBufferWriter (#7270) | ElanHasson/orleans,hoopsomuah/orleans,waynemunro/orleans,amccool/orleans,waynemunro/orleans,dotnet/orleans,veikkoeeva/orleans,dotnet/orleans,galvesribeiro/orleans,jthelin/orleans,hoopsomuah/orleans,ElanHasson/orleans,galvesribeiro/orleans,ibondy/orleans,amccool/orleans,ibondy/orleans,amccool/orleans | src/Orleans.Serialization/Buffers/Adaptors/MemoryStreamBufferWriter.cs | src/Orleans.Serialization/Buffers/Adaptors/MemoryStreamBufferWriter.cs | using System;
using System.Buffers;
using System.IO;
namespace Orleans.Serialization.Buffers.Adaptors
{
/// <summary>
/// An implementation of <see cref="IBufferWriter{T}"/> which writes to a <see cref="MemoryStream"/>.
/// </summary>
public readonly struct MemoryStreamBufferWriter : IBufferWriter<byte... | using System;
using System.Buffers;
using System.IO;
namespace Orleans.Serialization.Buffers.Adaptors
{
/// <summary>
/// An implementation of <see cref="IBufferWriter{T}"/> which writes to a <see cref="MemoryStream"/>.
/// </summary>
public readonly struct MemoryStreamBufferWriter : IBufferWriter<byt... | mit | C# |
4abaab1d92d2e67c348c66acebc7665e01c309b9 | Hide 6.x and 7.x installations (#213) | Sitecore/Sitecore-Instance-Manager | src/SIM.Tool.Windows/UserControls/Download8/DownloadWizardArgs.xaml.cs | src/SIM.Tool.Windows/UserControls/Download8/DownloadWizardArgs.xaml.cs | namespace SIM.Tool.Windows.UserControls.Download8
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using SIM.Pipelines.Processors;
using SIM.Tool.Base.Profiles;
using SIM.Tool.Base.Wizards;
using SIM.Tool.Windows.Pipelines.Download8;
using Sit... | namespace SIM.Tool.Windows.UserControls.Download8
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using SIM.Pipelines.Processors;
using SIM.Tool.Base.Profiles;
using SIM.Tool.Base.Wizards;
using SIM.Tool.Windows.Pipelines.Download8;
using Sit... | mit | C# |
7ea0b9d6144987f012ae4b90176f96a0dd98b7a4 | Add Tags property | mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp | sources/custom/TagList.cs | sources/custom/TagList.cs | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | // Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any ... | agpl-3.0 | C# |
9fac9461407ed73864a1e2b77eda86b6b26010fb | Fix binder exception | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.MessageQueue/RabbitMq/OndemandConsumer.cs | InfinniPlatform.MessageQueue/RabbitMq/OndemandConsumer.cs | using System.Threading.Tasks;
using InfinniPlatform.MessageQueue.RabbitMq.Connection;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Queues;
using InfinniPlatform.Sdk.Queues.Consumers;
namespace InfinniPlatform.MessageQueue.RabbitMq
{
internal sealed class OnDemandConsumer :... | using System.Threading.Tasks;
using InfinniPlatform.MessageQueue.RabbitMq.Connection;
using InfinniPlatform.MessageQueue.RabbitMq.Serialization;
using InfinniPlatform.Sdk.Queues;
using InfinniPlatform.Sdk.Queues.Consumers;
namespace InfinniPlatform.MessageQueue.RabbitMq
{
internal sealed class OnDemandConsumer :... | agpl-3.0 | C# |
f624a1513564e3481e67bfa5b0db0f901f531f2c | Comment edit. | Haacked/Subtext,Haacked/Subtext,jeuvin/Subtext,jeuvin/Subtext,Haacked/Subtext,Haacked/Subtext,Haacked/Subtext,jeuvin/Subtext,jeuvin/Subtext,jeuvin/Subtext | SubtextSystem/SubtextSolution/Subtext.Web/UI/Controls/Header.cs | SubtextSystem/SubtextSolution/Subtext.Web/UI/Controls/Header.cs | using System;
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// .Text WebLog
//
// .Text is an open source weblog system started by Scott Watermasysk.
// Blog: http://ScottWater.com/blog
// RSS: http://scottwater.com/blog/rss.aspx
// Email... | using System;
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// .Text WebLog
//
// .Text is an open source weblog system started by Scott Watermasysk.
// Blog: http://ScottWater.com/blog
// RSS: http://scottwater.com/blog/rss.aspx
// Email... | mit | C# |
436858c7be10c3b091059b63864f87fdc39d952a | Fix starting source | rowanmiller/Demo-MVADec14,rowanmiller/Demo-MVADec14 | StartingSource/CycleSales/src/CycleSales/Models/Bike.cs | StartingSource/CycleSales/src/CycleSales/Models/Bike.cs | using System;
namespace CycleSales.Models
{
public class Bike
{
public int BikeId { get; set; }
public string Name { get; set; }
public string ModelNo { get; set; }
public decimal Retail { get; set; }
public string Description { get; set; }
public str... | using System;
namespace CycleSales.Models
{
public class Bike
{
public int BikeId { get; set; }
public string Name { get; set; }
public string ModelNo { get; set; }
public decimal Retail { get; set; }
public string Description { get; set; }
public str... | apache-2.0 | C# |
01a3a89a6708c627590433be96bda0d692cee723 | Update PopupPlatformMacOS.cs | rotorgames/Rg.Plugins.Popup,rotorgames/Rg.Plugins.Popup | Rg.Plugins.Popup/Platforms/Mac/Impl/PopupPlatformMacOS.cs | Rg.Plugins.Popup/Platforms/Mac/Impl/PopupPlatformMacOS.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AppKit;
using CoreGraphics;
using Foundation;
using Rg.Plugins.Popup.Contracts;
using Rg.Plugins.Popup.MacOS.Extensions;
using Rg.Plugins.Popup.MacOS.Impl;
using Rg.Plugins.Popup.MacOS.Platform;
using Rg.Plugins.Popup.Pages;
using Xama... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using AppKit;
using CoreGraphics;
using Foundation;
using Rg.Plugins.Popup.Contracts;
using Rg.Plugins.Popup.MacOS.Extensions;
using Rg.Plugins.Popup.MacOS.Impl;
using Rg.Plugins.Popup.MacOS.Platform;
using Rg.Plugins.Popup.Pages;
using Xama... | mit | C# |
35b18a06b7a08cea59384a15ba8d5e71c4fa635d | Update usings in Startup.cs | jmptrader/AspNet-Server-Template,kriasoft/aspnet-starter-kit,koistya/aspnet-starter-kit,hcngo/craft-exercise-intuit,kriasoft/AspNet-Server-Template,kriasoft/aspnet-starter-kit,koistya/aspnet-starter-kit,jmptrader/AspNet-Server-Template,hcngo/craft-exercise-intuit,giokats/AspNet-Server-Template | src/App.Server/Startup.cs | src/App.Server/Startup.cs | // Copyright (c) KriaSoft, LLC. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information.
using App.Server.Data;
using App.Server.Services;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using O... | // Copyright (c) KriaSoft, LLC. 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.Runtime.Remoting.Contexts;
using App.Server.Data;
using App.Server.Services;
using Microsoft.AspNet.Identity;
using Micros... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.