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 |
|---|---|---|---|---|---|---|---|---|
860dfb09cf6ccee4b10196ce8f0b72287303c72b | Update ZoomBorderTests.cs | wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact(Skip = "The CI tests are failing.")]
public void ZoomBorder_Ctor()
{
var target = new ZoomBorder();
Assert.NotNull(target);
Assert.Equal(ButtonName.M... | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact]
public void ZoomBorder_Ctor()
{
var target = new ZoomBorder();
Assert.NotNull(target);
Assert.Equal(ButtonName.Middle, target.PanButton);
... | mit | C# |
be932fae6d356107a3e5ec84a56ad3b07f6e6b0a | Update copyright year | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | mit | C# |
0aa843f50877fddb290834f6886aed091d5e547c | Bump version so 12.2.0.27358 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | mit | C# |
751f4cd26ddc7b5d37953102afb2aa6a13e62be2 | Bump to version 0.0.2 | ekblom/noterium | Noterium/Properties/AssemblyInfo.cs | Noterium/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Noterium")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Noterium")]
[assembl... | mit | C# |
78adc86baaf337abfefd00a3864bcde443ffd377 | Set config of domain context after initialization, otherwise sub modules are added twice | SlashGames/slash-framework,SlashGames/slash-framework,SlashGames/slash-framework | Source/Slash.Unity.StrangeIoC/Source/Initialization/ApplicationEntryPoint.cs | Source/Slash.Unity.StrangeIoC/Source/Initialization/ApplicationEntryPoint.cs | namespace Slash.Unity.StrangeIoC.Initialization
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using strange.extensions.context.impl;
using Slash.Reflection.Utils;
using Slash.Unity.InspectorExt.PropertyDrawers;
using Slash.Unity.StrangeIoC.Configs;
usi... | namespace Slash.Unity.StrangeIoC.Initialization
{
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using strange.extensions.context.impl;
using Slash.Reflection.Utils;
using Slash.Unity.InspectorExt.PropertyDrawers;
using Slash.Unity.StrangeIoC.Configs;
usi... | mit | C# |
00b71a9d310d2a11f3d37341c966c2d2dd466b3f | Fix build error | jackmagic313/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,Ya... | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/ConnectionResetSharedKey.cs | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/ConnectionResetSharedKey.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | mit | C# |
c9257b42f52e05ba0d82c6db6b65543a3ad17ec3 | remove json require flag which fails serialisation from table config when MI config updates applied. Cannot yet remove the fields as they are required by the interface in the nuget package | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Support.Web/Configuration/EmployerUsersApiConfiguration.cs | src/SFA.DAS.EmployerUsers.Support.Web/Configuration/EmployerUsersApiConfiguration.cs | using Newtonsoft.Json;
using SFA.DAS.EmployerUsers.Api.Client;
namespace SFA.DAS.EmployerUsers.Support.Web.Configuration
{
public class EmployerUsersApiConfiguration : IEmployerUsersApiConfiguration
{
[JsonRequired]
public string ApiBaseUrl { get; set; }
public string ClientI... | using Newtonsoft.Json;
using SFA.DAS.EmployerUsers.Api.Client;
namespace SFA.DAS.EmployerUsers.Support.Web.Configuration
{
public class EmployerUsersApiConfiguration : IEmployerUsersApiConfiguration
{
[JsonRequired]
public string ApiBaseUrl { get; set; }
[JsonRequired]
public ... | mit | C# |
69d9f298810d4f7ca60d7fe99b76c7f4845e781d | Add property | davkean/audio-switcher | src/AudioSwitcher/Presentation/ContextMenuPresenter.cs | src/AudioSwitcher/Presentation/ContextMenuPresenter.cs | // -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Drawing;
using System.Windows.Forms;
using AudioSwitcher.ApplicationModel;
using AudioSwitch... | // -----------------------------------------------------------------------
// Copyright (c) David Kean. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Drawing;
using System.Windows.Forms;
using AudioSwitcher.ApplicationModel;
using AudioSwitch... | mit | C# |
6823a94ed34e27da0796102eaf55d53e75980ec1 | Allow .mustache extension as well for Nustache views | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web | src/Dolstagis.Web/Views/Nustache/NustacheViewEngine.cs | src/Dolstagis.Web/Views/Nustache/NustacheViewEngine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using global::Nustache.Core;
namespace Dolstagis.Web.Views.Nustache
{
public class NustacheViewEngine : ViewEngineBase
{
private static readonly string[] _extensions = new[] {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using global::Nustache.Core;
namespace Dolstagis.Web.Views.Nustache
{
public class NustacheViewEngine : ViewEngineBase
{
private static readonly string[] _extensions = new[] {... | mit | C# |
1916fd14580cf70f460abee0c453fbc12135e9e6 | Fix #1478: Typo in stem_exclusion property serialization | wawrzyn/elasticsearch-net,LeoYao/elasticsearch-net,abibell/elasticsearch-net,LeoYao/elasticsearch-net,SeanKilleen/elasticsearch-net,tkirill/elasticsearch-net,joehmchan/elasticsearch-net,DavidSSL/elasticsearch-net,faisal00813/elasticsearch-net,ststeiger/elasticsearch-net,robrich/elasticsearch-net,starckgates/elasticsear... | src/Nest/Domain/Analysis/Analyzers/LanguageAnalyzer.cs | src/Nest/Domain/Analysis/Analyzers/LanguageAnalyzer.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// A set of analyzers aimed at analyzing specific language text.
/// </summary>
public class LanguageAnalyzer : AnalyzerBase
{
public LanguageAnalyzer(Language language)
{
language.ThrowIfNull("language... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// A set of analyzers aimed at analyzing specific language text.
/// </summary>
public class LanguageAnalyzer : AnalyzerBase
{
public LanguageAnalyzer(Language language)
{
language.ThrowIfNull("language... | apache-2.0 | C# |
65f160d7cf8a4a4b4e1d47279f49e2d564e73d8d | Add test for not nugetting something when there's no package available | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierBinaryTests.cs | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierBinaryTests.cs | using System;
using System.Linq;
using Moq;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
[TestFixture]
public class ReferenceNugetifierBinaryTests
{
[Test]
public void EmptyProjectHasNoNuggettedDependencies()
{
var nugetifier = ReferenceN... | using System;
using System.Linq;
using Moq;
using NUnit.Framework;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
[TestFixture]
public class ReferenceNugetifierBinaryTests
{
[Test]
public void EmptyProjectHasNoNuggettedDependencies()
{
var nugetifier = ReferenceN... | mit | C# |
ada61bc7c33c78e24c46fd2a6022f3d03163af33 | Update _Identity.cshtml | vtfuture/BForms,vtfuture/BForms,vtfuture/BForms | BForms.Docs/Areas/Demo/Views/Contributors/Grid/Details/_Identity.cshtml | BForms.Docs/Areas/Demo/Views/Contributors/Grid/Details/_Identity.cshtml | @using BForms.Docs.Resources
@using BForms.Html
@using BForms.Models
@model BForms.Docs.Areas.Demo.Models.ContributorDetailsModel
<h3 class="editable">
@Html.BsGlyphicon(Glyphicon.User)
Identity
@Html.BsGlyphicon(Glyphicon.Pencil, new Dictionary<string, object> {{ "class", "open-editable" }})
</h... | @using BForms.Docs.Resources
@using BForms.Html
@using BForms.Models
@model BForms.Docs.Areas.Demo.Models.ContributorDetailsModel
<h3 class="editable">
@Html.BsGlyphicon(Glyphicon.User)
Identity
@Html.BsGlyphicon(Glyphicon.Pencil)
</h3>
@Html.Partial("Grid/Details/_IdentityReadonly", Model)
... | mit | C# |
2fb9b4173a658629dd35f3629e722f81055eb24e | Revert back to local temp folder | TorchAPI/Torch | Torch/Managers/FilesystemManager.cs | Torch/Managers/FilesystemManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
using Torch.API;
namespace Torch.Managers
{
public class FilesystemManager : Manager
{
private static readonly Logger _log = LogManager.GetCurrentClassLogger... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog;
using Torch.API;
namespace Torch.Managers
{
public class FilesystemManager : Manager
{
private static readonly Logger _log = LogManager.GetCurrentClassLogger... | apache-2.0 | C# |
3a2e5e28f1b0d4f18dd9e2482a4e85c6ab341241 | add vms | UnstableMutex/WorkTemp,UnstableMutex/WorkTemp,UnstableMutex/WorkTemp,UnstableMutex/WorkTemp | WebPool/WebPool/Models/PoolModel.cs | WebPool/WebPool/Models/PoolModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebPool.DB.DBModels;
namespace WebPool.Models
{
public class PoolViewModel
{
public Pool Pool { get; set; }
public IReadOnlyList<QuestionViewModel> Questions { get; set; }
}
public class Questio... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebPool.DB.DBModels;
namespace WebPool.Models
{
public class PoolViewModel
{
public Pool Pool { get; set; }
public IReadOnlyList<QuestionViewModel> Questions { get; set; }
}
public class Questio... | unlicense | C# |
dbebfac0c55b34865f469434648307c1013f479d | Add test for count | loekd/ServiceFabric.Mocks | test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableDictionaryTests.cs | test/ServiceFabric.Mocks.Tests/MocksTests/MockReliableDictionaryTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using ServiceFabric.Mocks.ReliableCollections;
using System.Threading;
namespace ServiceFabric.Mocks.Tests.MocksTests
{
[TestClass]
public class MockReliableDictionaryTests
{
[TestMethod]
public... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using ServiceFabric.Mocks.ReliableCollections;
using System.Threading;
namespace ServiceFabric.Mocks.Tests.MocksTests
{
[TestClass]
public class MockReliableDictionaryTests
{
[TestMethod]
public... | mit | C# |
7a86686f40836dd58939ebbd00c0e7107f7c099c | Make nullable | UselessToucan/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu | osu.Game/Online/Chat/NowPlayingCommand.cs | osu.Game/Online/Chat/NowPlayingCommand.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.Users;
na... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Online.API;
using osu.Game.Users;
na... | mit | C# |
da0405a4c62f32ba0f8c4e331923facf75fc71bb | Add moving shortcutkey | phillyai/Linking-VPL | Linking/Form1.cs | Linking/Form1.cs | using System;
using System.Drawing;
using System.Windows.Forms;
using Linking.Controls;
using Linking.Core;
using Linking.Core.Blocks;
namespace Linking
{
public partial class Form1 : Form
{
private Board _board;
private BoardControl _control;
public Form1()
{
//이것도... | using System;
using System.Drawing;
using System.Windows.Forms;
using Linking.Controls;
using Linking.Core;
using Linking.Core.Blocks;
namespace Linking
{
public partial class Form1 : Form
{
private Board _board;
private BoardControl _control;
public Form1()
{
//이것도... | mit | C# |
43836c86659a49ba55d7ed892dca58cb355c3f0e | Add string based YAML tasks. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/IO/YamlTasks.cs | source/Nuke.Common/IO/YamlTasks.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Core.Execution;
using Nuke.Core.Tooling;
using YamlDotNet.Serialization;
usin... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Core.Execution;
using Nuke.Core.Tooling;
using YamlDotNet.Serialization;
usin... | mit | C# |
2ea1bc0f1b898c7061a89abdd1f33f23a3997932 | Fix SlaveOk name | mongodb-csharp/mongodb-csharp | source/MongoDB/QueryOptions.cs | source/MongoDB/QueryOptions.cs | namespace MongoDB
{
/// <summary>
/// Query options
/// </summary>
/// <remarks>
/// Oplog replay: 8 (internal replication use only - drivers should not implement)
/// </remarks>
public enum QueryOptions {
/// <summary>
/// None
/// </summary>
Non... | namespace MongoDB
{
/// <summary>
/// Query options
/// </summary>
/// <remarks>
/// Oplog replay: 8 (internal replication use only - drivers should not implement)
/// </remarks>
public enum QueryOptions {
/// <summary>
/// None
/// </summary>
Non... | apache-2.0 | C# |
b189cee21fbccdc54bb6111e0f443cb5a93bf7ab | Refactor code. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Authentication/CompPlatformAuthenticationEvents.cs | src/CompetitionPlatform/Authentication/CompPlatformAuthenticationEvents.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
namespace CompetitionPlatform.Authentication
{
public class CompPlatformAuthenticationEvents : OpenIdConnectEvents
{
public override Task RemoteFailure(FailureContext conte... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
namespace CompetitionPlatform.Authentication
{
public class CompPlatformAuthenticationEvents : OpenIdConnectEvents
... | mit | C# |
c34fc05c468a19ee081176fccb96f907108227a1 | set synced rev. nr. 2218 in assembly info | bsoja/ZXing.Net,DHMechatronicAG/ZXing.Net,bsoja/ZXing.Net,bsoja/ZXing.Net,micjahn/ZXing.Net,micjahn/ZXing.Net,micjahn/ZXing.Net,DHMechatronicAG/ZXing.Net,DHMechatronicAG/ZXing.Net | Source/lib/Properties/AssemblyInfo.cs | Source/lib/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if NET20
[assembly:... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if NET20
[assembly:... | apache-2.0 | C# |
81746d7d3d1641a5bfd17fe67f9bc72579c3daae | Use Queue+lock and simplify | smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework/Allocation/AsyncDisposalQueue.cs | osu.Framework/Allocation/AsyncDisposalQueue.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace osu.Framework.Allocation
{
/// <summary>
/// A queue which batches object... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
namespace osu.Framework.Allocation
{
/// <summary>
/// A queue which batches obj... | mit | C# |
2cffce805aef4f2430328b8c39f6262c94cfe362 | add flashlight mod | smoogipoo/osu,ppy/osu,DrabWeb/osu,peppy/osu,naoey/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,naoey/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,2yangk... | osu.Game.Rulesets.Osu/Mods/OsuModFlashlight.cs | osu.Game.Rulesets.Osu/Mods/OsuModFlashlight.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.OpenGL.Vertices;
using osu.Framework.Graphics.Primitives;
using... | // 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.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Osu.Mods
{
public class OsuModFlashlight : ModFlashlight
{
public override double ScoreMultip... | mit | C# |
6620eadec3f1c7fe5fac7b98d52683d1a05aba4a | Reduce default hover sound debounce interval | NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu | osu.Game/Graphics/UserInterface/HoverSounds.cs | osu.Game/Graphics/UserInterface/HoverSounds.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.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Frame... | // 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.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Frame... | mit | C# |
07c2e0ced0bd443b784ff0418ae432f78e852c80 | Change ASP.NET tool version to reflect project format. | blackdwarf/cli,EdwardBlair/cli,ravimeda/cli,nguerrera/cli,ravimeda/cli,EdwardBlair/cli,Faizan2304/cli,EdwardBlair/cli,dasMulli/cli,AbhitejJohn/cli,AbhitejJohn/cli,weshaggard/cli,svick/cli,mlorbetske/cli,Faizan2304/cli,mlorbetske/cli,jonsequitur/cli,harshjain2/cli,weshaggard/cli,dasMulli/cli,jonsequitur/cli,blackdwarf/c... | src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs | src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.ProjectJsonMigration
{
internal class ConstantPackageVersions
{
public const string AspNetToolsVersion... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.ProjectJsonMigration
{
internal class ConstantPackageVersions
{
public const string AspNetToolsVersion... | mit | C# |
97b314d61155e5dfa192f1cbf639638a8a112e70 | Update QuoteRepository.cs | Youngsie1997/NadekoBot,PravEF/EFNadekoBot,Midnight-Myth/Mitternacht-NEW,WoodenGlaze/NadekoBot,halitalf/NadekoMods,Midnight-Myth/Mitternacht-NEW,powered-by-moe/MikuBot,Blacnova/NadekoBot,ScarletKuro/NadekoBot,Midnight-Myth/Mitternacht-NEW,shikhir-arora/NadekoBot,miraai/NadekoBot,Nielk1/NadekoBot,Taknok/NadekoBot,gfrewqp... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | unlicense | C# |
7a85591e3f92dbe6655b75b31d0e5b34aafbcc9c | remove redundant code | modulexcite/colored-console,colored-console/colored-console,colored-console/colored-console,modulexcite/colored-console | src/ColoredConsole/ColorConsole.cs | src/ColoredConsole/ColorConsole.cs | // <copyright file="ColorConsole.cs" company="ColoredConsole contributors">
// Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com)
// </copyright>
namespace ColoredConsole
{
using System;
public static class ColorConsole
{
private static readonly object @lock = new ob... | // <copyright file="ColorConsole.cs" company="ColoredConsole contributors">
// Copyright (c) ColoredConsole contributors. (coloredconsole@gmail.com)
// </copyright>
namespace ColoredConsole
{
using System;
public static class ColorConsole
{
private static readonly object @lock = new ob... | mit | C# |
f4e70cf38cddfafecfd906298cd0ce9f453a1d75 | Remove unimplemented WhenReboot flag. | HangfireIO/Cronos | src/Cronos/CronExpressionFlag.cs | src/Cronos/CronExpressionFlag.cs | using System;
namespace Cronos
{
[Flags]
public enum CronExpressionFlag
{
None = 0x0,
DayOfMonthStar = 0x1,
DayOfWeekStar = 0x2,
MinuteStar = 0x4,
HourStar = 0x8,
SecondStar = 0x10,
DayOfMonthLast = 0x20,
DayOfWeekLast = 0x40,
}
}
| using System;
namespace Cronos
{
[Flags]
public enum CronExpressionFlag
{
None = 0x0,
DayOfMonthStar = 0x1,
DayOfWeekStar = 0x2,
WhenReboot = 0x4, // TODO: Remove this
MinuteStar = 0x8,
HourStar = 0x10,
SecondStar = 0x20,
DayOfMonthLast = 0x4... | mit | C# |
ce4e77f436f8e01f190fc18e04f762a81574f938 | add some specification around exception handling behaviour. | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/AccountLevyStatus/An_UpdateAccountToLevyHandler_.cs | src/SFA.DAS.EmployerAccounts.UnitTests/Commands/AccountLevyStatus/An_UpdateAccountToLevyHandler_.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using NUnit.Framework.Internal;
using SFA.DAS.EmployerAccounts.Commands.AccountLevyStatus;
using SFA.DAS.EmployerAccounts.Data;
namespace SFA.DAS.EmployerAccounts.UnitTests.Commands.AccountLevyStatus
{... | using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerAccounts.Commands.AccountLevyStatus;
using SFA.DAS.EmployerAccounts.Data;
namespace SFA.DAS.EmployerAccounts.UnitTests.Commands.AccountLevyStatus
{
[ExcludeFromCodeCoverage]
[TestFixtur... | mit | C# |
6bff2c63138403de54c005b76c8bcffbe669a8e8 | Change property name | andrelmp/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,skyn... | src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStockNotConfirmedIntegrationEvent.cs | src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStockNotConfirmedIntegrationEvent.cs | namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events
{
using BuildingBlocks.EventBus.Events;
using System.Collections.Generic;
public class OrderStockNotConfirmedIntegrationEvent : IntegrationEvent
{
public int OrderId { get; }
public List<ConfirmedOrder... | namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events
{
using BuildingBlocks.EventBus.Events;
using System.Collections.Generic;
public class OrderStockNotConfirmedIntegrationEvent : IntegrationEvent
{
public int OrderId { get; }
public IEnumerable<Confirm... | mit | C# |
62d9b355385414ee7409a10c4bb2c17ec4177125 | Update version | agileharbor/shipStationAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "ShipStationAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ]
[ assembly : Assembly... | bsd-3-clause | C# |
5d9bb0bd08b3b0e3c2228735e6cc734ac25c0e00 | Disable flaky test https://github.com/Azure/azure-webjobs-sdk-script/issues/1674 | Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | test/WebJobs.Script.Tests.Integration/ApplicationInsights/ApplicationInsightsCSharpEndToEndTests.cs | test/WebJobs.Script.Tests.Integration/ApplicationInsights/ApplicationInsightsCSharpEndToEndTests.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.WebJobs.Script.Tests.ApplicationInsights
{
public class ApplicationInsightsCSharpEndToEndTest... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.Azure.WebJobs.Script.Tests.ApplicationInsights
{
public class ApplicationInsightsCSharpEndToEndTest... | mit | C# |
42ba93628c1b0edd61cf3e6f099bdaa0b7525dfd | Add unit test for analyzing class without imported namespace. | tiesmaster/DebuggerStepThroughRemover,modulexcite/DebuggerStepThroughRemover | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/AnalyzerTests.cs | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/AnalyzerTests.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace DebuggerStepThroughRemover.Test
{
[TestClass]
public class AnalyzerTests : DiagnosticVerifier
{
[TestMethod]
public void WithEmptySourceF... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace DebuggerStepThroughRemover.Test
{
[TestClass]
public class AnalyzerTests : DiagnosticVerifier
{
[TestMethod]
public void WithEmptySourceF... | mit | C# |
c584488185744a76798c8999f51eba77af0c8052 | Fix message length. (#809) | ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,Lidefeath/ACE,ACEmulator/ACE,LtRipley36706/ACE | Source/ACE.Server/Network/GameEvent/Events/GameEventDefenderNotification.cs | Source/ACE.Server/Network/GameEvent/Events/GameEventDefenderNotification.cs | using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventDefenderNotification : GameEventMessage
{
public GameEventDefenderNotification(Session session, string attackerName, DamageType damageType, float percent, uint damag... | using System;
using ACE.Entity.Enum;
using ACE.Server.Network.Enum;
namespace ACE.Server.Network.GameEvent.Events
{
public class GameEventDefenderNotification : GameEventMessage
{
public GameEventDefenderNotification(Session session, string attackerName, DamageType damageType, float percent, uint damag... | agpl-3.0 | C# |
46cf8c02724ecef4da1ddadd743fd5e524b263c2 | add note to ExampleAttribute | mvalipour/xbehave.net,modulexcite/xbehave.net,hitesh97/xbehave.net,modulexcite/xbehave.net,mvalipour/xbehave.net,adamralph/xbehave.net,xbehave/xbehave.net,hitesh97/xbehave.net | src/Xbehave.2/ExampleAttribute.cs | src/Xbehave.2/ExampleAttribute.cs | // <copyright file="ExampleAttribute.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
... | // <copyright file="ExampleAttribute.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
... | mit | C# |
65eccffa65abb46176369b351e68ff6355512c38 | Update Inventory.cs | mihov/J.D.Salinger | Waits/TheGame/Inventory.cs | Waits/TheGame/Inventory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Waits
{
class Inventory
{
private Dictionary<Item, int> items;
private int money;
public Inventory(int money, params Item[] items)
{
this.Mo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Waits
{
class Inventory
{
private List<Item> items;
private int money;
public Inventory(int money, params Item[] items)
{
this.Money = money... | unlicense | C# |
bde64e3dd125dacadd30e60f52f2d3ff541f44c2 | Add "virtual" + AddCompletedStep | rapidcore/rapidcore,rapidcore/rapidcore | src/Migration/MigrationInfo.cs | src/Migration/MigrationInfo.cs | using System;
using System.Collections.Generic;
namespace RapidCore.Migration
{
/// <summary>
/// Information about a migration that has run, either
/// fully or partially
/// </summary>
public class MigrationInfo
{
public virtual string Id { get; set; }
/// <summary>
... | using System;
using System.Collections.Generic;
namespace RapidCore.Migration
{
/// <summary>
/// Information about a migration that has run, either
/// fully or partially
/// </summary>
public class MigrationInfo
{
public virtual string Id { get; set; }
/// <summary>
... | mit | C# |
a97d34db76918623c84c4cc5c48590d81316dded | add Elapsed to measure | aloneguid/support | src/NetBox/Performance/Measure.cs | src/NetBox/Performance/Measure.cs | using System;
using System.Diagnostics;
namespace NetBox.Performance
{
/// <summary>
/// Measures a time slice as precisely as possible
/// </summary>
public class Measure : IDisposable
{
private readonly Stopwatch _sw = new Stopwatch();
/// <summary>
/// Creates the measure object
... | using System;
using System.Diagnostics;
namespace NetBox.Performance
{
/// <summary>
/// Measures a time slice as precisely as possible
/// </summary>
public class Measure : IDisposable
{
private readonly Stopwatch _sw = new Stopwatch();
/// <summary>
/// Creates the measure object
... | mit | C# |
aca5b49994fd6f19b6c9f216e49e1d0dc82a7b13 | Test [Authorize] attribute added to Goofy.Component.ControllersAndRoutes.HomeController: | GoofyCMS/Backend,GoofyCMS/Backend,GoofyCMS/Backend | components/Goofy.Component.ControllersAndRoutes/Controllers/HomeController.cs | components/Goofy.Component.ControllersAndRoutes/Controllers/HomeController.cs | using Microsoft.AspNet.Authorization;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.OptionsModel;
using System.Linq;
namespace Goofy.Component.ControllersAndRoutes.Controllers
{
public class HomeController : Controller
{
private readonly ControllerAndRoutesConfiguration _config;
priva... | using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.OptionsModel;
using System.Linq;
namespace Goofy.Component.ControllersAndRoutes.Controllers
{
public class HomeController : Controller
{
private readonly ControllerAndRoutesConfiguration _config;
private readonly IWriter _writer;
p... | mit | C# |
206d9b21a1fe1dbf42ec69deb1995cab1a2efe49 | Fix broken LfMerge executable | sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge | src/LfMerge.Core/MainClass.cs | src/LfMerge.Core/MainClass.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using LfMerge.Core.Actions.Infrastructure;
using LfMerge.Core.LanguageForge.Infrastructure;
using LfMerge.Core.Logging;
using LfMerge.Core.MongoConnector;
using L... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using LfMerge.Core.Actions.Infrastructure;
using LfMerge.Core.LanguageForge.Infrastructure;
using LfMerge.Core.Logging;
using LfMerge.Core.MongoConnector;
using L... | mit | C# |
ce74056b10930df2c7d0c1c71e42838c88320a28 | Add Single/AggregateContactsSupported properties for MT | moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile | MonoTouch/MonoMobile.Extensions/Contacts/AddressBook.cs | MonoTouch/MonoMobile.Extensions/Contacts/AddressBook.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.AddressBook;
using System.Collections.Generic;
namespace Xamarin.Contacts
{
public class AddressBook
: IQueryable<Contact>
{
public AddressBook()
{
this.addressBook = new ABAddressBook();
this.provider = new ContactQueryProvi... | using System;
using System.Linq;
using System.Linq.Expressions;
using MonoTouch.AddressBook;
using System.Collections.Generic;
namespace Xamarin.Contacts
{
public class AddressBook
: IQueryable<Contact>
{
public AddressBook()
{
this.addressBook = new ABAddressBook();
this.provider = new ContactQueryProvi... | apache-2.0 | C# |
e14fd0f1d001217e2bd7f39cdd355213d5e1f941 | Fix bug in SampleCourse | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | sample/sample_course/content/en/calculator/20_the_view/the_view.dothtml.csx | sample/sample_course/content/en/calculator/20_the_view/the_view.dothtml.csx | using DotVVM.Framework.Controls;
CorrectCode = "/resources/calculator_stub.dothtml";
GetDirectives("/attribute::*")
.CountEquals(1)
.IsViewModelDirective("CourseFormat.CalculatorViewModel");
GetControls("/child::node()")
.CountEquals(2);
GetControls("/child::node()[1]")
.IsOfType<RawLiteral>();
Get... | using DotVVM.Framework.Controls;
CorrectCode = "/resources/calculator_stub.dothtml";
GetDirectives("/attribute::*")
.CountEquals(1)
.IsViewModelDirective("CourseFormat.CalculatorViewModel");
GetControls("/child::node()")
.CountEquals(2);
GetControls("/child::node()[1]")
.IsOfType<RawLiteral>();
Get... | apache-2.0 | C# |
53303bfce7c3c26e23632c4693d889a5c354638f | Remove code to trigger expiry of funds processing until fix has been implemented for the calculation | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ExpireFundsJob
{
private readonly IMessageSession _messageSession;
... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ExpireFundsJob
{
private readonly IMessageSession _messageSession;
... | mit | C# |
6a2de7eaa6fba965a90754beafb6a8f4ca81d460 | Add Mutex creation extension methods that take an ACL (#42281) | cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.Mutex.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal st... | // 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 static partial clas... | mit | C# |
d1b915cdc9c11c36f8be1643fbf6be5d273c3e7a | Fix type | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/RpcStatusStringConverter.cs | WalletWasabi.Gui/Converters/RpcStatusStringConverter.cs | using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using WalletWasabi.BitcoinCore.Monitor;
using WalletWasabi.Exceptions;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Converters
{
public class RpcStatusStringConverter : IValueConver... | using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using WalletWasabi.BitcoinCore.Monitor;
using WalletWasabi.Exceptions;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Converters
{
public class RpcStatusStringConverter : IValueConver... | mit | C# |
35dd63db70f0bab52e09afa555d2dfcc59abb22f | update test result to match namespace change | RWE-Nexus/EnergyTrading-MDM-Client,phatcher/EnergyTrading-MDM-Client | Code/EnergyTrading.MDM.Client.IntegrationTests/SourceSystem/MdmService/MdmServiceEntityUpdateTests.cs | Code/EnergyTrading.MDM.Client.IntegrationTests/SourceSystem/MdmService/MdmServiceEntityUpdateTests.cs | // <autogenerated>
// This file was generated by T4 code generator CreateIntegrationTestsScript.tt.
// Any changes made to this file manually will be lost next time the file is regenerated.
// </autogenerated>
namespace EnergyTrading.Mdm.Client.IntegrationTests.SourceSystem.MdmService
{
using System.Configuratio... | // <autogenerated>
// This file was generated by T4 code generator CreateIntegrationTestsScript.tt.
// Any changes made to this file manually will be lost next time the file is regenerated.
// </autogenerated>
namespace EnergyTrading.Mdm.Client.IntegrationTests.SourceSystem.MdmService
{
using System.Configuratio... | mit | C# |
d79e752c2f05ed9816ef5aeaa0f1cb642f65aa7e | build script | imperugo/StackExchange.Redis.Extensions,imperugo/StackExchange.Redis.Extensions | targets/Program.cs | targets/Program.cs | using System.IO;
using static Bullseye.Targets;
using static SimpleExec.Command;
namespace Targets
{
internal static class Program
{
public static void Main(string[] args)
{
var sdk = new DotnetSdkManager();
Target("default", DependsOn("test"));
... | using System.IO;
using static Bullseye.Targets;
using static SimpleExec.Command;
namespace Targets
{
internal static class Program
{
public static void Main(string[] args)
{
var sdk = new DotnetSdkManager();
Target("default", DependsOn("test"));
... | mit | C# |
c5c21c80399b1c7cab7516173e937b02a704ebe5 | access to FileIOPermission should happen inside try body because the it is currently marked as a coreclr critical type in the Unity runtime | drslump/boo,wbardzinski/boo,rmartinho/boo,rmboggs/boo,bamboo/boo,scottstephens/boo,Unity-Technologies/boo,BitPuffin/boo,BITechnologies/boo,rmboggs/boo,bamboo/boo,KingJiangNet/boo,wbardzinski/boo,rmartinho/boo,drslump/boo,bamboo/boo,KingJiangNet/boo,BillHally/boo,KingJiangNet/boo,bamboo/boo,hmah/boo,rmartinho/boo,rmarti... | src/Boo.Lang.Compiler/Util/Permissions.cs | src/Boo.Lang.Compiler/Util/Permissions.cs | #region license
// Copyright (c) 2009, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above c... | #region license
// Copyright (c) 2009, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above c... | bsd-3-clause | C# |
061f8fd7c055a172951ef1e5da6ae929cd50d8a0 | Fix Startup.cs | devkimchi/xUnit-Moq-Sample,devkimchi/xUnit-Moq-Sample,devkimchi/xUnit-Moq-Sample | src/xUnitMoqSampleWeb/Startup.cs | src/xUnitMoqSampleWeb/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using XUnitMoqSampleWeb.Helpers;
using XUnitMoqSampleWeb.Services;
namespace XUnitMoqSampleWeb
{
public class Startup
{... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using XUnitMoqSampleWeb.Services;
namespace XUnitMoqSampleWeb
{
public class Startup
{
public Startup(IHostingE... | mit | C# |
2262d01afe3ac9dd450866e9723d04cb39ec9bf8 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
071d8eb2aa1c9410ac64865ed1c3e7b7eda87eea | Add logger message to establish completion time for ImportPaymentsJob | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/ProcessPeriodEndPaymentsCommandHandler.cs | src/SFA.DAS.EmployerFinance.MessageHandlers/CommandHandlers/ProcessPeriodEndPaymentsCommandHandler.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
using SFA.DAS.EmployerFinance.Queries.GetAllEmployerAccounts;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EmployerFinance.MessageHandlers.CommandHandlers
{
public cla... | using System.Collections.Generic;
using System.Threading.Tasks;
using MediatR;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
using SFA.DAS.EmployerFinance.Queries.GetAllEmployerAccounts;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EmployerFinance.MessageHandlers.CommandHandlers
{
public cla... | mit | C# |
4c36fed13c47df6bf38d2847f43075dc59198d45 | fix sqlQueryable with sqlDependson polymorphic | bantolov/Rhetos | CommonConcepts/Plugins/Rhetos.Dsl.DefaultConcepts/DatabaseWorkarounds/SqlDependsOnDataStructureInfo.cs | CommonConcepts/Plugins/Rhetos.Dsl.DefaultConcepts/DatabaseWorkarounds/SqlDependsOnDataStructureInfo.cs | /*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 (... | /*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 (... | agpl-3.0 | C# |
3d09db496fed7121723de97e6c2529f7864a1ae8 | Check with UnitySolutionTracker | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/RiderUnitySharedFilesSavingSuppressor.cs | resharper/resharper-unity/src/Rider/RiderUnitySharedFilesSavingSuppressor.cs | using JetBrains.Annotations;
using JetBrains.DocumentManagers;
using JetBrains.DocumentModel;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.Documents;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Rider
{
/// <summary... | using JetBrains.Annotations;
using JetBrains.DocumentManagers;
using JetBrains.DocumentModel;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.Documents;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Rider
{
/// <summary... | apache-2.0 | C# |
26213ad55cb7ebea14e4d986ddfd29945aebbbc7 | Update "cancellation of significant digits" example | MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogSamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples,MasuqaT-NET/BlogExamples | NumericalCalculation/BasicWithCSharp/CancellationOfSignificantDigits/CancellationOfSignificantDigits.cs | NumericalCalculation/BasicWithCSharp/CancellationOfSignificantDigits/CancellationOfSignificantDigits.cs | using System;
namespace CancellationOfSignificantDigits
{
public class CancellationOfSignificantDigits
{
public static void Main(string[] args)
{
CheckCancellation();
}
static Tuple<float, float> NormalSolver(float a, float b, float c)
{
float det = (float)Math.Sqrt(b * b - 4 * a * c);
float x_1... | using System;
namespace CancellationOfSignificantDigits
{
public class CancellationOfSignificantDigits
{
public static void Main(string[] args)
{
CheckCancellation();
}
static Tuple<float, float> NormalSolver(float a, float b, float c)
{
float det = (float)Math.Sqrt(b * b - 4 * a * c);
float x_1... | mit | C# |
78443146174cf2626bdb3bbbb83f7399af31c5e4 | Remove unused namespace | charlenni/Mapsui,charlenni/Mapsui | Mapsui.Core/ViewportAnimations/SetCenterAndResolutionAnimation.cs | Mapsui.Core/ViewportAnimations/SetCenterAndResolutionAnimation.cs | using System.Collections.Generic;
using Mapsui.Utilities;
namespace Mapsui.ViewportAnimations
{
internal class SetCenterAndResolutionAnimation
{
public static List<AnimationEntry> Create(Viewport viewport, double centerX, double centerY, double resolution, long duration)
{
var anim... | using System.Collections.Generic;
using Mapsui.Geometries;
using Mapsui.Utilities;
namespace Mapsui.ViewportAnimations
{
internal class SetCenterAndResolutionAnimation
{
public static List<AnimationEntry> Create(Viewport viewport, double centerX, double centerY, double resolution, long duration)
... | mit | C# |
389aaff0139e9bc24a98eb379efa9e7fb36dc6e6 | Convert some magic strings to use "nameof" operator | albertodall/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,dotnet-architecture/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,... | src/BuildingBlocks/EventBus/IntegrationEventLogEF/Services/IntegrationEventLogService.cs | src/BuildingBlocks/EventBus/IntegrationEventLogEF/Services/IntegrationEventLogService.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using System;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.BuildingBlocks.IntegrationEventLogEF.Se... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using System.Data.Common;
using System.Linq;
using System.Threading.Tasks;
using System;
using Microsoft.EntityFramewor... | mit | C# |
b0ff14901b614fa7a9f4ad1426a0c855bd7a5f6d | add support for vs2013+ css schema | darrenkopp/SassyStudio | SassyStudio.2012/Editor/Intellisense/Integration/DefaultCssSchemaLoader.cs | SassyStudio.2012/Editor/Intellisense/Integration/DefaultCssSchemaLoader.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.VisualStudio.Settings;
using Microsoft.VisualStudio.Shell.Settings;
namespace SassyStudio.Editor.Intellis... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.VisualStudio.Settings;
using Microsoft.VisualStudio.Shell.Settings;
namespace SassyStudio.Editor.Intellis... | mit | C# |
7fe13f2472e4076b9507e7f72e76ff20dfda5872 | Use proper obsolete attribute. | wvdd007/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,physhi/roslyn,eriawan/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,mavasani/roslyn,physhi/roslyn,mavasani/roslyn,... | src/Features/CSharp/Portable/ConvertTupleToStruct/CSharpConvertTupleToStructCodeRefactoringProvider.cs | src/Features/CSharp/Portable/ConvertTupleToStruct/CSharpConvertTupleToStructCodeRefactoringProvider.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.Composition;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis... | // 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.Composition;
using System.Diagnostics.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeRefactorings;
usi... | mit | C# |
ed482462a70928f4328c25585385a69c1ee4bab4 | Fix filtered test result ordering | cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium | Src/Dashboard/Services/TestResults/Queries/FindTestResultsFromSession.cs | Src/Dashboard/Services/TestResults/Queries/FindTestResultsFromSession.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Linq;
using Tellurium.VisualAssertions.Infrastructure;
using Tellurium.VisualAssertions.Screenshots.Domain;
namespace Tellurium.VisualAssertion.Dashboard.Services.TestResults.Queries
{
public class FindTestResultsFromSession : IQu... | using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Linq;
using Tellurium.VisualAssertions.Infrastructure;
using Tellurium.VisualAssertions.Screenshots.Domain;
namespace Tellurium.VisualAssertion.Dashboard.Services.TestResults.Queries
{
public class FindTestResultsFromSession : IQu... | mit | C# |
3b3394944e0bf8d56f2781905a52f4a8a9c8a321 | Add comments | sonvister/Binance | src/Binance/Account/Orders/ClientOrder.cs | src/Binance/Account/Orders/ClientOrder.cs | using System;
using Binance.Api;
namespace Binance.Account.Orders
{
public abstract class ClientOrder : IChronological
{
#region Public Properties
/// <summary>
/// Get the user.
/// </summary>
public IBinanceApiUser User { get; }
/// <summary>
/// Get... | using System;
using Binance.Api;
namespace Binance.Account.Orders
{
public abstract class ClientOrder : IChronological
{
#region Public Properties
/// <summary>
/// Get the user.
/// </summary>
public IBinanceApiUser User { get; }
/// <summary>
/// Get... | mit | C# |
a268405f06e51e5ccc4f7933395cb3acfc313edb | Fix peer up port decoding bug | mstrother/BmpListener | src/BmpListener/Bmp/PeerUpNotification.cs | src/BmpListener/Bmp/PeerUpNotification.cs | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | mit | C# |
001812091c58e0ac171e44b6c5d1d3c41d79be42 | Configure Urls in Program.Main | andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples | db-multi-tenancy-in-saaskit/src/DatabaseMultiTenancyWithSaasKit/Program.cs | db-multi-tenancy-in-saaskit/src/DatabaseMultiTenancyWithSaasKit/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace DatabaseMultiTenancyWithSaasKit
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBu... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
namespace DatabaseMultiTenancyWithSaasKit
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBu... | mit | C# |
84f2126d148b78a5310378a243fd3bc822f467b2 | Fix possible race due to multiple concurrent assignement of the wait event in PendingCall. | Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp | src/PendingCall.cs | src/PendingCall.cs | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace DBus
{
class PendingCall : IAsyncResult
{
Connection conn;
Message reply = null;
//AutoResetEvent waitHandle = new AutoResetEvent (fa... | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace DBus
{
class PendingCall : IAsyncResult
{
Connection conn;
Message reply = null;
//AutoResetEvent waitHandle = new AutoResetEvent (fa... | mit | C# |
372b331740a1dd400751b1466b810c45eb44ed4d | Test coverage for validation of the --report command line option. | fixie/fixie | src/Fixie.Tests/Execution/OptionsTests.cs | src/Fixie.Tests/Execution/OptionsTests.cs | namespace Fixie.Tests.Execution
{
using System;
using Fixie.Cli;
using Fixie.Execution;
public class OptionsTests
{
public void DemandsAssemblyPathProvided()
{
var options = new Options(null);
Action validate = options.Validate;
validate.Should... | namespace Fixie.Tests.Execution
{
using System;
using Fixie.Cli;
using Fixie.Execution;
public class OptionsTests
{
public void DemandsAssemblyPathProvided()
{
var options = new Options(null);
Action validate = options.Validate;
validate.Should... | mit | C# |
3503282b04b25363162b4deea683f4232f24ef5e | update version number | Fearswe/TwitchChatSharp,3ventic/TwitchChatSharp | TwitchChatSharp/Properties/AssemblyInfo.cs | TwitchChatSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tw... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tw... | mit | C# |
f1d892b8c2d8d5ad2e54024728fa1f06f349d533 | Fix issue with null values returned by Memory provider | dontjee/hyde | src/Hyde/Table/Memory/DynamicMemoryQuery.cs | src/Hyde/Table/Memory/DynamicMemoryQuery.cs | using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using TechSmith.Hyde.Table.Azure;
namespace TechSmith.Hyde.Table.Memory
{
internal class DynamicMemoryQuery : AbstractMemoryQuery<dynamic>
{
public DynamicMemoryQuery( IEnumerable<GenericTableEntity> entit... | using System.Collections.Generic;
using TechSmith.Hyde.Table.Azure;
namespace TechSmith.Hyde.Table.Memory
{
internal class DynamicMemoryQuery : AbstractMemoryQuery<dynamic>
{
public DynamicMemoryQuery( IEnumerable<GenericTableEntity> entities )
: base( entities )
{
}
private Dy... | bsd-3-clause | C# |
37cbc3bee906066250a04437bf3f116e84b9fcba | remove trailing slash | IdentityModel/IdentityModel2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModel,IdentityModel/IdentityModelv2,IdentityModel/IdentityModelv2 | src/IdentityModel/Client/DiscoveryClient.cs | src/IdentityModel/Client/DiscoveryClient.cs | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.Client
{
public class DiscoveryClient
{
private readonly HttpClient _client;
public TimeSpan Timeout
{
set
{
_client.Timeout = val... | using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.Client
{
public class DiscoveryClient
{
private readonly HttpClient _client;
public TimeSpan Timeout
{
set
{
_client.Timeout = val... | apache-2.0 | C# |
947048b54346e5023a46f5b2feae0b0ec313e9b3 | copy for csproj source | cutsea110/servant-sample-book | ServantClientBook/ServantClientBook/JsonConverter.cs | ServantClientBook/ServantClientBook/JsonConverter.cs |
using Newtonsoft.Json;
using System;
namespace ServantClientBook
{
public class DayConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType == typeof(DateTime);
}
public override object ReadJson(JsonReader reader, Type object... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServantClientBook
{
public class DayConverter : JsonConverter
{
public override bool CanConvert(Type objectType)
{
return objectType ... | bsd-3-clause | C# |
e2282e30e5349b7b277977e3aa12a5f2d0cc4727 | Add trivial history programming to overlay window to clear each turn | theAprel/OptionsDisplay | OptionsDisplay/HearthWindow.cs | OptionsDisplay/HearthWindow.cs | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
public HearthWind... | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
public HearthWind... | agpl-3.0 | C# |
4fabcf62da91e00e9b7049558181e4d7d73341ac | Update Customer.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Sales/Customer.cs | Test/AdventureWorksFunctionalModel/Sales/Customer.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# |
48b6ae2d1d936c0e03473c5d9d7c0c3588874750 | use common equality pattern | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Models/Sorting/SortingPreference.cs | WalletWasabi.Gui/Models/Sorting/SortingPreference.cs | using System;
using System.Diagnostics.CodeAnalysis;
namespace WalletWasabi.Gui.Models.Sorting
{
public struct SortingPreference : IEquatable<SortingPreference>
{
public SortingPreference(SortOrder sortOrder, string colTarget)
{
SortOrder = sortOrder;
ColumnTarget = colTarget;
}
public SortOrder SortO... | using System;
using System.Diagnostics.CodeAnalysis;
namespace WalletWasabi.Gui.Models.Sorting
{
public struct SortingPreference : IEquatable<SortingPreference>
{
public SortingPreference(SortOrder sortOrder, string colTarget)
{
SortOrder = sortOrder;
ColumnTarget = colTarget;
}
public SortOrder SortO... | mit | C# |
c35ff9eff95bbf41c524dce4eec921d9a01325ac | refactor configuration | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/Extensions.cs | src/Stronk/Extensions.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Runtime.CompilerServices;
using Stronk.PropertySelection;
using Stronk.ValueConversion;
using Stronk.ValueSelection;
namespace Stronk
{
public interface IStronkConfiguration
{
IEnumerable<IValueConverter> C... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using Stronk.PropertySelection;
using Stronk.ValueConversion;
using Stronk.ValueSelection;
namespace Stronk
{
public static class Extensions
{
public static void FromAppConfig(this object target)
{
var converters =... | lgpl-2.1 | C# |
1199a2e2b5554be2a9ae5e69bc0a824f2ba7674c | Bump version info of Lime Test Console | takenet/lime-csharp | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
1c367400916b57b1377dc400485d726d6094399b | clear secretBytes faster | valdisz/hmac-security,gorandr/hmac-security | src/HMAC/HMAC256SigningAlgorith.cs | src/HMAC/HMAC256SigningAlgorith.cs | namespace Security.HMAC
{
using System;
using System.Security;
using System.Security.Cryptography;
using System.Text;
public sealed class HMAC256SigningAlgorith : ISigningAlgorithm
{
public static readonly ISigningAlgorithm Instance = new HMAC256SigningAlgorith();
public string... | namespace Security.HMAC
{
using System;
using System.Security;
using System.Security.Cryptography;
using System.Text;
public sealed class HMAC256SigningAlgorith : ISigningAlgorithm
{
public static readonly ISigningAlgorithm Instance = new HMAC256SigningAlgorith();
public string... | mit | C# |
221291a0036a0be61457e755be78697017ff1b33 | Update OMCode.cs | ADAPT/ADAPT | source/ADAPT/Documents/OMCode.cs | source/ADAPT/Documents/OMCode.cs | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | epl-1.0 | C# |
d6c6c3343b72c63347651cd390b91b649e73efcf | Update version | benallred/Icing | Icing/SharedAssemblyInfo.cs | Icing/SharedAssemblyInfo.cs | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ben Allred")]
[assembly: AssemblyCopyri... | using System.Reflection;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Ben Allred")]
[assembly: AssemblyCopyri... | mit | C# |
320634f42a8402967cb688104e4209df0ead1032 | Remove unnecessary null coalescing operator | Fredi/NetIRC | src/NetIRC/Messages/PingMessage.cs | src/NetIRC/Messages/PingMessage.cs | namespace NetIRC.Messages
{
public class PingMessage : IRCMessage, IServerMessage
{
public string Target { get; }
public PingMessage(ParsedIRCMessage parsedMessage)
{
Target = parsedMessage.Trailing;
}
}
}
| namespace NetIRC.Messages
{
public class PingMessage : IRCMessage, IServerMessage
{
public string Target { get; }
public PingMessage(ParsedIRCMessage parsedMessage)
{
Target = parsedMessage.Trailing ?? parsedMessage.Parameters[0];
}
}
}
| mit | C# |
b90ed6c5daa3dabd0349d7b102171421264d7542 | Update CustomizeThemes.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-as... | Examples/CSharp/Formatting/Excel2007Themes/CustomizeThemes.cs | Examples/CSharp/Formatting/Excel2007Themes/CustomizeThemes.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class CustomizeThemes
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Formatting.Excel2007Themes
{
public class CustomizeThemes
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples... | mit | C# |
9d6b17e2494a67ff027de4ce1e437ab499bca867 | Update XML doc comment | ilkerhalil/dnlib,picrap/dnlib,ZixiangBoy/dnlib,yck1509/dnlib,jorik041/dnlib,0xd4d/dnlib,Arthur2e5/dnlib,kiootic/dnlib,modulexcite/dnlib | src/DotNet/MD/IRowReaders.cs | src/DotNet/MD/IRowReaders.cs | namespace dot10.DotNet.MD {
/// <summary>
/// Reads metadata table columns
/// </summary>
public interface IColumnReader {
/// <summary>
/// Reads a column
/// </summary>
/// <param name="table">The table to read from</param>
/// <param name="rid">Table row id</param>
/// <param name="column">The colum... | namespace dot10.DotNet.MD {
/// <summary>
/// Reads metadata table columns
/// </summary>
public interface IColumnReader {
/// <summary>
/// Reads a column
/// </summary>
/// <param name="table">The table to read from</param>
/// <param name="rid">Table row id</param>
/// <param name="column">The colum... | mit | C# |
d6c8ede4aa661b81d88c5e58d09a1804ed1d427f | Support tag: [gist]id[/gist] | congdanhqx/BlogEngine.Gist | GistExtension.cs | GistExtension.cs | using BlogEngine.Core;
using BlogEngine.Core.Web.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BlogEngine.Gist
{
[Extension("This extension enables Github Gist support for BlogEngine.NET... | using BlogEngine.Core;
using BlogEngine.Core.Web.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace BlogEngine.Gist
{
[Extension("This extension enables Github Gist support for BlogEngine.NET... | apache-2.0 | C# |
5af87a5319e6ba17ad072053e7e17e9814fea83b | Set OnScreenKeyboardOverlapsGameWindow for Android | ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework.Android/AndroidGameHost.cs | osu.Framework.Android/AndroidGameHost.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Input;
using osu.Framework.Graphics.Textures;
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Android.Graphics.Textures;
using osu.Framework.Android.Input;
using osu.Framework.Graphics.Textures;
... | mit | C# |
11ed9a369343134d8626eebc0417d0e37f806d26 | Make IKeyboardControllerImpl public | gmartin7/libpalaso,hatton/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,JohnThomson/libpalaso,chrisvire/libpalaso,hatton/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,mccarthy... | PalasoUIWindowsForms/Keyboarding/InternalInterfaces/IKeyboardControllerImpl.cs | PalasoUIWindowsForms/Keyboarding/InternalInterfaces/IKeyboardControllerImpl.cs | // --------------------------------------------------------------------------------------------
// <copyright from='2012' to='2012' company='SIL International'>
// Copyright (c) 2012, SIL International. All Rights Reserved.
//
// Distributable under the terms of either the Common Public License or the
// GNU Lesser ... | // --------------------------------------------------------------------------------------------
// <copyright from='2012' to='2012' company='SIL International'>
// Copyright (c) 2012, SIL International. All Rights Reserved.
//
// Distributable under the terms of either the Common Public License or the
// GNU Lesser ... | mit | C# |
2dcaf3bc85b370e8644fcb0bf69465f88aaa497a | Change Image to use handler property (Size property is used during initialization on one of the platforms, which happens before constructor) | bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto | Source/Eto/Drawing/Image.cs | Source/Eto/Drawing/Image.cs | using System;
using System.ComponentModel;
namespace Eto.Drawing
{
/// <summary>
/// Handler interface for the <see cref="Image"/> class
/// </summary>
public interface IImage : IInstanceWidget
{
/// <summary>
/// Gets the size of the image, in pixels
/// </summary>
Size Size { get; }
}
/// <summary>
... | using System;
using System.ComponentModel;
namespace Eto.Drawing
{
/// <summary>
/// Handler interface for the <see cref="Image"/> class
/// </summary>
public interface IImage : IInstanceWidget
{
/// <summary>
/// Gets the size of the image, in pixels
/// </summary>
Size Size { get; }
}
/// <summary>
... | bsd-3-clause | C# |
7c3adfcce9d2727ff2c58c1e4da50c64daa98818 | Check for used UDP ports as well | rasmus/EventFlow | Source/EventFlow.TestHelpers/TcpHelper.cs | Source/EventFlow.TestHelpers/TcpHelper.cs | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | // The MIT License (MIT)
//
// Copyright (c) 2015-2017 Rasmus Mikkelsen
// Copyright (c) 2015-2017 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
10230daaee43fc5a3d6bc5b8ceb4746069d0467d | Update ContactObjectValue.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/ContactObjectValue.cs | main/Smartsheet/Api/Models/ContactObjectValue.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
01955bc63fedcb82badad2d4a8f4cfd052b7370c | Remove accord dependence | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/Scripts/Models/TextureTransferModel.cs | Assets/UnityCNTK/Scripts/Models/TextureTransferModel.cs | using UnityEngine;
using CNTK;
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using UnityCNTK;
using System.Net;
using System.Threading;
using UnityEngine.Assertions;
namespace UnityCNTK
{
public class TextureTransferModel : Model
{
/* The implementation is a C# ve... | using UnityEngine;
using CNTK;
using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using UnityCNTK;
using System.Net;
using System.Threading;
using Accord.Math.Optimization;
using UnityEngine.Assertions;
namespace UnityCNTK
{
public class TextureTransferModel : Model
{
... | mit | C# |
38a6005d075afcc9611b65ac1756d6f324f3c421 | remove unused imports | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/View.cs | Dashen/View.cs | using System;
using System.IO;
using System.Linq;
namespace Dashen
{
public class View
{
private readonly ModelInfoRepository _modelInfo;
public View(ModelInfoRepository modelInfo)
{
_modelInfo = modelInfo;
}
private string GetTemplate()
{
using (var stream = GetType().Assembly.GetManifestResour... | using System;
using System.IO;
using System.Linq;
using System.Text;
using Dashen.Infrastructure;
namespace Dashen
{
public class View
{
private readonly ModelInfoRepository _modelInfo;
public View(ModelInfoRepository modelInfo)
{
_modelInfo = modelInfo;
}
private string GetTemplate()
{
using (v... | lgpl-2.1 | C# |
3ddc928421c3693d78cc7de71e54a582a8eebae3 | Update ReporterSettingsTests.cs | GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core | Ghpr.Tests.Tests/Core/Settings/ReporterSettingsTests.cs | Ghpr.Tests.Tests/Core/Settings/ReporterSettingsTests.cs | using System;
using Ghpr.Core.Exceptions;
using Ghpr.Core.Settings;
using Ghpr.Core.Utils;
using NUnit.Framework;
namespace Ghpr.Core.Tests.Core.Settings
{
[TestFixture]
public class ReporterSettingsTests
{
[Test]
public void LoadedCorrectly()
{
var settings = "Ghpr.Cor... | using System;
using System.IO;
using Ghpr.Core.Exceptions;
using Ghpr.Core.Settings;
using Ghpr.Core.Utils;
using NUnit.Framework;
namespace Ghpr.Core.Tests.Core.Settings
{
[TestFixture]
public class ReporterSettingsTests
{
[Test]
public void LoadedCorrectly()
{
var set... | mit | C# |
56d3eebf9a430e56a2386864ebe62970a9733103 | add disconnect log | balloon-stat/GetComments.unity | GetComments.cs | GetComments.cs | using UnityEngine;
public class GetComments : MonoBehaviour {
string liveID = "";
string liveURL = "";
LiveComments live = null;
void OnGUI() {
GUI.Label(new Rect(15, 5, 100, 30), "Input URL");
liveURL = GUI.TextField(new Rect(10, 30, 300, 25), liveURL);
if (GUI.Button(new Rect(315, 30, 50, 25),... | using UnityEngine;
public class GetComments : MonoBehaviour {
string liveID = "";
string liveURL = "";
LiveComments live = null;
void OnGUI() {
GUI.Label(new Rect(15, 5, 100, 30), "Input URL");
liveURL = GUI.TextField(new Rect(10, 30, 300, 25), liveURL);
if (GUI.Button(new Rect(315, 30, 50, 25)... | mit | C# |
a79b5640bd4673407819a20486cd099a09ac1993 | remove unused using | EhrgoHealth/CS6440,EhrgoHealth/CS6440 | src/EhrgoHealth.Web/Startup.cs | src/EhrgoHealth.Web/Startup.cs | using System;
using System.Web;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(EhrgoHealth.Web.Startup))]
namespace EhrgoHealth.Web
{
public partial class Startup
{
publ... | using System;
using System.Web;
using System.Web.Mvc;
using Autofac;
using Autofac.Integration.Mvc;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security;
using Owin;
[assembly: OwinStartupAttribute(typeof(EhrgoHealth.Web.Startup))]
namespace EhrgoHealth.Web
{
public partial c... | mit | C# |
1f4c17b8f856a1d010fd2e45345d199c51dfba14 | Apply changes to AllowScreenSuspension bindable | UselessToucan/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | osu.Game/Screens/Play/ScreenSuspensionHandler.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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
nam... | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using os... | mit | C# |
a5e9189f8a0234f082c65abfbc30e4ff04970e78 | Use float instead of int | markmnl/FalconUDP | FalconHelper.cs | FalconHelper.cs | using System;
namespace FalconUDP
{
internal static class FalconHelper
{
internal static unsafe void WriteFalconHeader(byte[] dstBuffer,
int dstIndex,
PacketType type,
SendOptions opts,
ushort seq,
ushort payloadSize)
{
... | using System;
namespace FalconUDP
{
internal static class FalconHelper
{
internal static unsafe void WriteFalconHeader(byte[] dstBuffer,
int dstIndex,
PacketType type,
SendOptions opts,
ushort seq,
ushort payloadSize)
{
... | mit | C# |
39b871d786483b8401fec9e57cbaf3f58ec5198d | implement most of it | openmedicus/gtk-sharp,akrisiun/gtk-sharp,akrisiun/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,orion75/gtk-sharp,antoniusriha/gtk-sharp,antoniusriha/gtk-sharp,Gankov/gtk-sharp,sillsdev/gtk-sharp,akrisiun/gtk-sharp,akrisiun/gtk-sharp,openmedicus/gtk-sharp,Gankov/gtk-sharp,sillsd... | sample/GtkDemo/DemoApplicationWindow.cs | sample/GtkDemo/DemoApplicationWindow.cs | //
// ApplicationWindow.cs, port of appwindow.c from gtk-demo
//
// Author: Daniel Kornhauser <dkor@alum.mit.edu>
//
// Copyright (C) 2003, Ximian Inc.
/* Application main window
*
* Demonstrates a typical application window, with menubar, toolbar, statusbar.
*/
// : - Is this necesary? /* Set up item factory... | //
// ApplicationWindow.cs, port of appwindow.c from gtk-demo
//
// Author: Daniel Kornhauser <dkor@alum.mit.edu>
//
// Copyright (C) 2003, Ximian Inc.
/* Application main window
*
* Demonstrates a typical application window, with menubar, toolbar, statusbar.
*/
// : - Is this necesary? /* Set up item factory... | lgpl-2.1 | C# |
d1549625d8720e244d79119455d5a681a021c451 | Use the new TypeInfo API for checking generic types. | djanosik/Moon.OData | src/Moon.AspNet.OData/ODataOptionsModelBinder.cs | src/Moon.AspNet.OData/ODataOptionsModelBinder.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ModelBinding;
using Moon.OData;
using Moon.Reflection;
using System.Reflection;
namespace Moon.AspNet.OData
{
/// <summary>
/// <see cref="IModelBinder" /> implementation ... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc.ModelBinding;
using Moon.OData;
using Moon.Reflection;
namespace Moon.AspNet.OData
{
/// <summary>
/// <see cref="IModelBinder" /> implementation to bind models of type <s... | mit | C# |
7828748e60f01ca299067b5e5ae7a7378c8a59cc | handle old-style errors | gitsno/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/Serialization/ErrorPayload.cs | src/MySqlConnector/Serialization/ErrorPayload.cs | using System.Text;
using MySql.Data.MySqlClient;
namespace MySql.Data.Serialization
{
// See https://dev.mysql.com/doc/internals/en/packet-ERR_Packet.html
internal class ErrorPayload
{
public int ErrorCode { get; }
public string State { get; }
public string Message { get; }
public MySqlException ToExcepti... | using System.Text;
using MySql.Data.MySqlClient;
namespace MySql.Data.Serialization
{
// See https://dev.mysql.com/doc/internals/en/packet-ERR_Packet.html
internal class ErrorPayload
{
public int ErrorCode { get; }
public string State { get; }
public string Message { get; }
public MySqlException ToExcepti... | mit | C# |
214746bca22c0f8087709596484f03150ad67fa5 | Optimize updating of server list We can compare new endpoints firstly, to save Save() call if they're equal values-wise. | KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,i3at/ArchiSteamFarm,i3at/ArchiSteamFarm,JustArchi/ArchiSteamFarm | ArchiSteamFarm/InMemoryServerListProvider.cs | ArchiSteamFarm/InMemoryServerListProvider.cs | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | apache-2.0 | C# |
76f9440c8227f0df59cdfe02d246c66af7872069 | Test exponent of NumberParser without exponent sign | smbecker/Eto.Parse,ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse,picoe/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse | Eto.Parse.Tests/Parsers/NumberParserTests.cs | Eto.Parse.Tests/Parsers/NumberParserTests.cs | using System;
using NUnit.Framework;
using Eto.Parse.Parsers;
using System.Linq;
namespace Eto.Parse.Tests.Parsers
{
[TestFixture]
public class NumberParserTests
{
[Test]
public void TestDecimal()
{
var sample = "123.4567,1234567";
var grammar = new Grammar();
var num = new NumberParser { AllowDecim... | using System;
using NUnit.Framework;
using Eto.Parse.Parsers;
using System.Linq;
namespace Eto.Parse.Tests.Parsers
{
[TestFixture]
public class NumberParserTests
{
[Test]
public void TestDecimal()
{
var sample = "123.4567,1234567";
var grammar = new Grammar();
var num = new NumberParser { AllowDecim... | mit | C# |
db2650e792d72d517f459b385b6b4cecd6d4ace8 | Use the invariant culture when formatting numbers so that different contributors locale settings don't produce different html. | castleproject/castle-READONLY-SVN-dump,castleproject/castle-READONLY-SVN-dump,carcer/Castle.Components.Validator,castleproject/Castle.Transactions,castleproject/castle-READONLY-SVN-dump,castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Facilities.Wcf-READONLY,castleproject/Castle.... | Experiments/AnakiaNet/Anakia/SimpleHelper.cs | Experiments/AnakiaNet/Anakia/SimpleHelper.cs | // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
//
// 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
//
//... | apache-2.0 | C# |
9b01f2488fe6c39644c1a8b5ca286a7c12b3568b | Make all remaining methods virtual | AsynkronIT/protoactor-dotnet | src/Proto.Actor/RootContextDecorator.cs | src/Proto.Actor/RootContextDecorator.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Proto
{
public abstract class RootContextDecorator : IRootContext
{
private readonly IRootContext _context;
protected RootContextDecorator(IRootContext context) => _context = context;
public virtual PID Spa... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Proto
{
public abstract class RootContextDecorator : IRootContext
{
private readonly IRootContext _context;
protected RootContextDecorator(IRootContext context) => _context = context;
public virtual PID Spa... | apache-2.0 | C# |
46ce5cabbcbb1346d48588972a1bb35dc9d43758 | Change MembershipIdentity so it is not an abstract class. bugid: 153 | rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,JasonBock/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,ronnymgm/csla-light,BrettJaner/csla,BrettJaner/csla | cslalightcs/Csla/Security/MembershipIdentity.partial.cs | cslalightcs/Csla/Security/MembershipIdentity.partial.cs | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.DataPortalClient;
using Csla.Silverlight;
using Csla.Core;
namespace Csla.Security
{
public partial class MembershipIden... | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.DataPortalClient;
using Csla.Silverlight;
using Csla.Core;
namespace Csla.Security
{
public abstract partial class Membe... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.