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 |
|---|---|---|---|---|---|---|---|---|
58bbcfc11ca9e3a3dfd1167922890db4d528f2c1 | add code conteet | CrazyBBer/CS-Code-Snippet | TestCode/TestCode/Program.cs | TestCode/TestCode/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestCode
{
public enum Animal
{
Dog = 1,
Cat,
Bird
}
public class AnimalTypeAttribute : Attribute
{
public AnimalTypeAttribute(Animal pe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestCode
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
4e446a1d14d59832bead10790f0dbfa094ddcb0c | 同步 .net 4.5 项目版本号 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
c3adb113125577f0a512429f51e6dc6b6a2e0490 | Change some enums order | danielchalmers/DesktopWidgets | DesktopWidgets/Enumerations.cs | DesktopWidgets/Enumerations.cs | namespace DesktopWidgets
{
public enum TemperatureUnitType
{
Celsius,
Fahrenheit,
Kelvin
}
public enum OpenMode
{
AlwaysOpen,
Mouse,
Keyboard,
MouseAndKeyboard,
Hidden
}
public enum AnimationMode
{
Show,
H... | namespace DesktopWidgets
{
public enum TemperatureUnitType
{
Celsius,
Fahrenheit,
Kelvin
}
public enum OpenMode
{
AlwaysOpen,
Mouse,
Keyboard,
MouseAndKeyboard,
Hidden
}
public enum AnimationMode
{
Show,
H... | apache-2.0 | C# |
37793f829c38f56f77c15517b3e3281e92698283 | Add comment - no clue where I left off | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresher/Reporting/Html/HtmlTreeReport.cs | code/SoftwareThresher/SoftwareThresher/Reporting/Html/HtmlTreeReport.cs | using System.Collections.Generic;
using System.Linq;
using SoftwareThresher.Observations;
using SoftwareThresher.Utilities;
namespace SoftwareThresher.Reporting.Html {
// TODO - Do we want this to be a child or a strategy?
public class HtmlTreeReport : HtmlReportBase {
public HtmlTreeReport() { }
p... | using System.Collections.Generic;
using System.Linq;
using SoftwareThresher.Observations;
using SoftwareThresher.Utilities;
namespace SoftwareThresher.Reporting.Html {
// TODO - Do we want this to be a child or a strategy?
// TODO - organize these clases better in the systemFileWriter system
public class Htm... | mit | C# |
05f870e2e2115622b782379fef9271697a296b29 | Fix broken ReloadSearchAnalyzers integration test | elastic/elasticsearch-net,elastic/elasticsearch-net | tests/Tests/Indices/ReloadSearchAnalyzers/ReloadSearchAnalyzersApiTests.cs | tests/Tests/Indices/ReloadSearchAnalyzers/ReloadSearchAnalyzersApiTests.cs | using System;
using System.Linq;
using Elastic.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Indices.ReloadSearchAnalyzers
{
[Sk... | using System;
using Elastic.Xunit.XunitPlumbing;
using Elasticsearch.Net;
using Nest;
using Tests.Core.Extensions;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework.EndpointTests;
using Tests.Framework.EndpointTests.TestState;
namespace Tests.Indices.ReloadSearchAnalyzers
{
[SkipVersion("<7.7.0",... | apache-2.0 | C# |
dc03f3d48e8bf0e0346f7ccc5d51e58d61788348 | Fix compilation error on Windows. | rotty3000/tomboy,oluc/tomboy,grepory/tomboy,oluc/tomboy,rmayr/privatenotes-tomboyaddin,tomboy-notes/tomboy,rotty3000/tomboy,oluc/tomboy,grepory/tomboy,MatteoNardi/Tomboy,grepory/tomboy,grepory/tomboy,tomboy-notes/tomboy,MatteoNardi/Tomboy,rotty3000/tomboy,rmayr/privatenotes-tomboyaddin,rotty3000/tomboy,tomboy-notes/tom... | Tomboy/WindowsApplication.cs | Tomboy/WindowsApplication.cs | // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or ... | // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or ... | lgpl-2.1 | C# |
22a9a037961eec94e38ccbf28174cd053864c74c | Fix startup problem on windows | SteeltoeOSS/Workshop,SteeltoeOSS/Workshop,SteeltoeOSS/Workshop,SteeltoeOSS/Workshop | Lab01/CloudFoundry/Program.cs | Lab01/CloudFoundry/Program.cs | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Steeltoe.Extensions.Configuration.CloudFoundry;
namespace CloudFoundry
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
... | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Steeltoe.Extensions.Configuration.CloudFoundry;
namespace CloudFoundry
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildW... | apache-2.0 | C# |
d2cdc88374f93b40621a0c5fe243121cab66b043 | Bump the validator version | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Util/NugetAuditor/build.cake | Util/NugetAuditor/build.cake |
#load "../../common.cake"
var TARGET = Argument("t", Argument("target", "Default"));
var OUTPUT_PATH = (DirectoryPath)"./output/";
var ASSEMBLY_VERSION = "1.1.0.0";
var ASSEMBLY_FILE_VERSION = "1.1.1.0";
var ASSEMBLY_INFO_VERSION = "1.1.1.0";
var NUGET_VERSION = "1.1.1.0";
Task("libs")
.Does(() =>
{
EnsureDirect... |
#load "../../common.cake"
var TARGET = Argument("t", Argument("target", "Default"));
var OUTPUT_PATH = (DirectoryPath)"./output/";
var ASSEMBLY_VERSION = "1.1.0.0";
var ASSEMBLY_FILE_VERSION = "1.1.0.0";
var ASSEMBLY_INFO_VERSION = "1.1.0.0";
var NUGET_VERSION = "1.1.0.0";
Task("libs")
.Does(() =>
{
EnsureDirect... | mit | C# |
220bc5c43116c20da42c40cb68fa64e874f2cbfb | Mark sub-header navigation link as 'last' so that the trailing vertical bar goes away. | rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac | templates/log.cs | templates/log.cs | <?cs include "header.cs"?>
<?cs include "macros.cs"?>
<div id="page-content">
<ul class="subheader-links">
<li class="last"><a href="<?cs
var:log.items.0.file_href ?>">View Latest Revision</a></li>
</ul>
<div id="main">
<div id="main-content">
<h1 id="log-hdr" class="hide">Revision log for <?cs var:log.path... | <?cs include "header.cs"?>
<?cs include "macros.cs"?>
<div id="page-content">
<ul class="subheader-links">
<li><a href="<?cs var:log.items.0.file_href ?>">View Latest Revision</a></li>
</ul>
<div id="main">
<div id="main-content">
<h1 id="log-hdr" class="hide">Revision log for <?cs var:log.path ?></h1>
<?cs c... | bsd-3-clause | C# |
256e9bf4645d4c320f7020b8f48f545e632576df | Add the ability to override action for MarkdownLinkText | EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Platform;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Platform;
us... | mit | C# |
090e147e6f7bdc8fcab6be82298c268a2b0aea5d | Add WordCombinationFinder integration test. | DavidLievrouw/WordList | src/WordList.IntegrationTests/Processing/WordCombinationFinderTests.cs | src/WordList.IntegrationTests/Processing/WordCombinationFinderTests.cs | using NUnit.Framework;
namespace WordList.Processing {
[TestFixture]
public class WordCombinationFinderTests {
int _desiredLength;
WordCombinationFinder _sut;
IWordsIndexFactory _wordsIndexFactory;
IAllPossibleCombinationsFinder _allPossibleCombinationsFinder;
IWordCombinationFilter _wordCombi... | namespace WordList.Processing {
class WordCombinationFinderTests {
}
}
| mit | C# |
550001fa5b944d857c2768a85e2dfd07c5bc57cc | Document why this is so | red-gate/RedGate.AppHost,nycdotnet/RedGate.AppHost | RedGate.AppHost.Server/Job.cs | RedGate.AppHost.Server/Job.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace RedGate.AppHost.Server
{
/// <summary>
/// This class wraps CreateJobObject (http://msdn.microsoft.com/en-us/library/windows/desktop/ms682409(v=vs.85).aspx)
///
/// It doesn't need to be disposable becau... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace RedGate.AppHost.Server
{
/// <summary>
/// This class wraps CreateJobObject (http://msdn.microsoft.com/en-us/library/windows/desktop/ms682409(v=vs.85).aspx)
///
/// It doesn't need to be disposable becau... | apache-2.0 | C# |
725a85da7ccc3158c11953e450174f9309bebf7d | Convert to NFluent | ludwigjossieaux/pickles,blorgbeard/pickles,picklesdoc/pickles,irfanah/pickles,dirkrombauts/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles,blorgbeard/pickles,irfanah/pickles,magicmonty/pickles,magicmonty/pickles,irfanah/pickles,dirkrombauts/pickles,dirkromba... | src/Pickles/Pickles.Test/TestFrameworks/WhenParsingMultipleMsTestTestResultsFiles.cs | src/Pickles/Pickles.Test/TestFrameworks/WhenParsingMultipleMsTestTestResultsFiles.cs | using System;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using NFluent;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenParsingMultipleMsTestTestResultsFiles : WhenParsingTestResultFiles<MsTestResults>
{
... | using System;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using NFluent;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenParsingMultipleMsTestTestResultsFiles : WhenParsingTestResultFiles<MsTestResults>
{
... | apache-2.0 | C# |
ce1c9d096173baf623572e753e9e21cf795b26c7 | fix content directory for running as a service | Isantipov/mqpi,Isantipov/mqpi | mqpi/Program.cs | mqpi/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace mqpi
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Xml;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace mqpi
{
... | mit | C# |
2e7fb19c39c4f60e9859e9890d3ff926034a252a | Reset page number to 1 when perform a new search. Work items: 569 | mdavid/nuget,mdavid/nuget | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | apache-2.0 | C# |
5114f2f1a25a712112b4e23e2dae99dfa9b91dac | Add null check for DotNetObjectReference (dotnet/extensions#2372) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/JSInterop/Microsoft.JSInterop/src/DotNetObjectReference.cs | src/JSInterop/Microsoft.JSInterop/src/DotNetObjectReference.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.JSInterop
{
/// <summary>
/// Provides convenience methods to produce a <see cref="DotNetObjectReference{TVal... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.JSInterop
{
/// <summary>
/// Provides convenience methods to produce a <see cref="DotNetObjectReference{TValue}" />.
//... | apache-2.0 | C# |
5545674c50f649442d75323fc41910514862cb47 | Make TextWriterCustomization implement ICustomization | appharbor/appharbor-cli | src/AppHarbor.Tests/TextWriterCustomization.cs | src/AppHarbor.Tests/TextWriterCustomization.cs | using System;
using Ploeh.AutoFixture
namespace AppHarbor.Tests
{
public class TextWriterCustomization : ICustomization
{
public void Customize(IFixture fixture)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor.Tests
{
public class TextWriterCustomization
{
}
}
| mit | C# |
8d1852613b71d1fada8b1f391572dc0d1389e7f9 | Make test public. Fixes #1446. | nunit/nunit.portable.agent | src/NUnitFramework/tests/Attributes/TestOrderAttributeTests.cs | src/NUnitFramework/tests/Attributes/TestOrderAttributeTests.cs | using System;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Execution;
using NUnit.TestData;
using NUnit.TestData.TestCaseSourceAttributeFixture;
using NUnit.TestUtilities;
namespace NUnit.Framework.Tests.Attributes
{
[TestFixture]
public class TestOrderAttributeTests
{
[Test]
... | using System;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Execution;
using NUnit.TestData;
using NUnit.TestData.TestCaseSourceAttributeFixture;
using NUnit.TestUtilities;
namespace NUnit.Framework.Tests.Attributes
{
[TestFixture]
class TestOrderAttributeTests
{
[Test]
pu... | mit | C# |
eedfd1d47c4e936898857278b153a59cac49a223 | Change Setup title | stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Setup/Views/_Layout.cshtml | src/OrchardCore.Modules/OrchardCore.Setup/Views/_Layout.cshtml | @inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer T
@inject OrchardCore.IOrchardHelper Orchard
<!DOCTYPE html>
<html lang="@Orchard.CultureName()" dir="@Orchard.CultureDir()">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width... | @inject Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer T
@inject OrchardCore.IOrchardHelper Orchard
<!DOCTYPE html>
<html lang="@Orchard.CultureName()" dir="@Orchard.CultureDir()">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width... | bsd-3-clause | C# |
b42f6a59467332620f2a020f55236ef8d59af35e | Update MessagePackConfigurationExtensions.cs | SimonCropp/NServiceBus.MessagePack | src/NServiceBus.MessagePack/MessagePackConfigurationExtensions.cs | src/NServiceBus.MessagePack/MessagePackConfigurationExtensions.cs | using MessagePack;
using NServiceBus.Configuration.AdvancedExtensibility;
using NServiceBus.Serialization;
using NServiceBus.Settings;
namespace NServiceBus
{
/// <summary>
/// Extensions for <see cref="SerializationExtensions{T}"/> to manipulate how messages are serialized.
/// </summary>
public stat... | using MessagePack;
using NServiceBus.Configuration.AdvancedExtensibility;
using NServiceBus.Serialization;
using NServiceBus.Settings;
namespace NServiceBus
{
/// <summary>
/// Extensions for <see cref="SerializationExtensions{T}"/> to manipulate how messages are serialized.
/// </summary>
public stat... | mit | C# |
883a937fecd087c760ee0326e0f2b447b75317e0 | Fix test failing in playback | atpham256/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,peshen/azure-sdk-for-net,stankovski/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,pilor/azu... | src/SDKs/SqlManagement/Sql.Tests/ServiceObjectiveScenarioTests.cs | src/SDKs/SqlManagement/Sql.Tests/ServiceObjectiveScenarioTests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Management.Sql;
using Xunit;
namespace Sql.Tests
{
public class ServiceObjectiveScenarioT... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Management.Sql;
using Xunit;
namespace Sql.Tests
{
public class ServiceObjectiveScenarioT... | mit | C# |
96db3b9aeb7d8fd6f8f67efe527f442208f8df21 | include namespace post cherry-pick | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Framework/ManagedElasticsearch/Clusters/XPackCluster.cs | src/Tests/Framework/ManagedElasticsearch/Clusters/XPackCluster.cs | using System;
using System.Collections.Generic;
using System.IO;
using Elastic.Managed.Ephemeral;
using Elastic.Xunit;
using Elasticsearch.Net;
using Nest;
using Tests.Framework.ManagedElasticsearch.NodeSeeders;
using Tests.Framework.ManagedElasticsearch.Tasks;
namespace Tests.Framework.ManagedElasticsearch.Clusters
... | using System;
using System.IO;
using Elastic.Managed.Ephemeral;
using Elastic.Xunit;
using Elasticsearch.Net;
using Nest;
using Tests.Framework.ManagedElasticsearch.NodeSeeders;
using Tests.Framework.ManagedElasticsearch.Tasks;
namespace Tests.Framework.ManagedElasticsearch.Clusters
{
public class XPackClusterConfig... | apache-2.0 | C# |
2e573e6d4be2c2508fc117d6b6cfa2d9e05da5da | Modifica fatta | gaggiga/academyOvernetLuglio2017 | Yoox.StringCalculatorKata/Yoox.StringCalculatorKata/StringCalculator.cs | Yoox.StringCalculatorKata/Yoox.StringCalculatorKata/StringCalculator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yoox.StringCalculatorKata
{
public class StringCalculator
{
public int Add(string numbers)
{
if (String.IsNullOrEmpty(numbers)) return 0;
var re... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yoox.StringCalculatorKata
{
public class StringCalculator
{
public int Add(string numbers)
{
if (String.IsNullOrEmpty(numbers)) return 0;
var re... | mit | C# |
9e230a8d9bcf6f3663cefe5a8ecf13ce4eae2c73 | Make local evaluation a little safer. | GunioRobot/sdb-cli,GunioRobot/sdb-cli | Mono.Debugger.Cli/Commands/LocalsCommand.cs | Mono.Debugger.Cli/Commands/LocalsCommand.cs | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class LocalsCommand : ICommand
{
public string Name
{
get { return "Locals"; }
}
public string Description
... | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class LocalsCommand : ICommand
{
public string Name
{
get { return "Locals"; }
}
public string Description
... | mit | C# |
c59376672a29ae4e8dbb7ea9823eaf274645669e | fix bug where we were comparing the wrong branch for uncommitted changes. | duvaneljulien/chromamboo,salfab/chromamboo | src/Chromamboo/Providers/Presentation/RazerChromaGitNotificationPresentationProvider.cs | src/Chromamboo/Providers/Presentation/RazerChromaGitNotificationPresentationProvider.cs | using System;
using System.Diagnostics;
using Corale.Colore.Core;
using Corale.Colore.Razer.Keyboard;
using LibGit2Sharp;
namespace Chromamboo.Providers.Presentation
{
public class RazerChromaGitNotificationPresentationProvider : IGitNotificationPresentationProvider
{
public void UpdateGitNotification... | using System;
using System.Diagnostics;
using Corale.Colore.Core;
using Corale.Colore.Razer.Keyboard;
using LibGit2Sharp;
namespace Chromamboo.Providers.Presentation
{
public class RazerChromaGitNotificationPresentationProvider : IGitNotificationPresentationProvider
{
public void UpdateGitNotification... | mit | C# |
5f670fca966e5bba20f63cbd123508201258da0c | Change exception to proper class | iceslab/OrienteeringToolWPF | OrienteeringToolWPF/DAO/CompetitorHelper.cs | OrienteeringToolWPF/DAO/CompetitorHelper.cs | using OrienteeringToolWPF.Model;
using OrienteeringToolWPF.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrienteeringToolWPF.DAO
{
public static class CompetitorHelper
{
public static List<Competitor> CompetitorsJoi... | using OrienteeringToolWPF.Model;
using OrienteeringToolWPF.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrienteeringToolWPF.DAO
{
public static class CompetitorHelper
{
public static List<Competitor> CompetitorsJoi... | mit | C# |
5d650f5cef4e98b83ca6ccbdcae5279dfee07cbc | Fix assembly version | mono/CocosSharp,mono/CocosSharp | CocosSharp.Forms/CocosSharp.Forms.WP/Properties/AssemblyInfo.cs | CocosSharp.Forms/CocosSharp.Forms.WP/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | mit | C# |
fda337a158872ef32041e4a7575f1f9e11bba92b | use orientation sensor for uwp | aritchie/sensors | Plugin.Sensors.Uwp/DeviceOrientationImpl.cs | Plugin.Sensors.Uwp/DeviceOrientationImpl.cs | using System;
using System.Reactive.Linq;
using Windows.Devices.Sensors;
using Windows.Foundation;
namespace Plugin.Sensors
{
public class DeviceOrientationImpl : IDeviceOrientation
{
readonly SimpleOrientationSensor sensor;
public DeviceOrientationImpl()
{
this.sensor =... | using System;
using System.Reactive.Linq;
using Windows.Devices.Sensors;
using Windows.Foundation;
using Windows.Graphics.Display;
namespace Plugin.Sensors
{
public class DeviceOrientationImpl : IDeviceOrientation
{
//public DeviceOrientationImpl()
//{
// //OrientationSensor.GetDef... | mit | C# |
6d86e39df1443f997462a47a170301b9fab527de | remove debugging | bluej100/ScrollsMod-DeckSearch | DeckSearch.cs | DeckSearch.cs | using System;
using ScrollsModLoader.Interfaces;
using UnityEngine;
using Mono.Cecil;
using System.Reflection;
using System.Collections.Generic;
namespace DeckSearch
{
public class DeckSearch : BaseMod
{
GUIStyle searchFieldStyle;
List<DeckInfo> fullDeckList;
private string searchFieldString = string.Empty;... | using System;
using ScrollsModLoader.Interfaces;
using UnityEngine;
using Mono.Cecil;
using System.Reflection;
using System.Collections.Generic;
namespace DeckSearch
{
public class DeckSearch : BaseMod
{
GUIStyle searchFieldStyle;
List<DeckInfo> fullDeckList;
private string searchFieldString = string.Empty;... | cc0-1.0 | C# |
ea6dd98b9351bcc846497a8c71b6da235031d382 | Remove fat arrow getter because of appveyor .net version support | BorislavBorisov22/LiveScoreUpdateSystem,BorislavBorisov22/LiveScoreUpdateSystem | LiveScoreUpdateSystem/LiveScoreUpdateSystem.Data.Models/User.cs | LiveScoreUpdateSystem/LiveScoreUpdateSystem.Data.Models/User.cs | using LiveScoreUpdateSystem.Data.Models.Contracts;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace LiveScoreUpdateSystem.Data.Models
{
public class User : IdentityUser, IDeletable, IAuditable, IDa... | using LiveScoreUpdateSystem.Data.Models.Contracts;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace LiveScoreUpdateSystem.Data.Models
{
public class User : IdentityUser, IDeletable, IAuditable, IDa... | mit | C# |
4019bd74431464450705b7cccebdb5b0f34a411c | Remove ThreadPool usage from CompositeGlob (#2045) | jeffkl/msbuild,rainersigwald/msbuild,cdmihai/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,cdmihai/msbuild,jeffkl/msbuild,mono/msbuild,AndyGerlicher/msbuild,jeffkl/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,Microsoft/msbuild,jeffkl/msbuild,mono/msbuild,Microsoft/msbuild,AndyGerlicher/msbuild,mono/msbuild,rai... | src/Build/Globbing/CompositeGlob.cs | src/Build/Globbing/CompositeGlob.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
na... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//-----------------------------------------------------------------------
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
na... | mit | C# |
77d7af42199bba5ba7eb7417d30fd4440d83628d | Fix for Unknown status display | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml | @model Vehicle
@switch(Model.Status)
{
case Vehicle.VehicleStatus.FMC:
<span class="label label-success">FMC</span>
return;
case Vehicle.VehicleStatus.NMC:
<span class="label label-danger">NMC</span>
return;
case Vehicle.VehicleStatus.Unknown:
<span class="... | @model Vehicle
@switch(Model.Status)
{
case Vehicle.VehicleStatus.FMC:
<span class="label label-success">FMC</span>
return;
case Vehicle.VehicleStatus.NMC:
<span class="label label-danger">NMC</span>
return;
default:
<span class="label label-warning">@Model</span>
... | mit | C# |
a1a906bb4c28681d16e19be1587d4c84cf9214b1 | Switch to XMLSerializer for XML serialialization over DataContractSerializer | BrighterCommand/Paramore.Brighter,dstockhammer/Brighter,BrighterCommand/Paramore.Brighter,BrighterCommand/Brighter,BrighterCommand/Brighter,dstockhammer/Brighter,BrighterCommand/Brighter | Brighter/paramore.brighter.restms.server/Adapters/Service/WebPipeline.cs | Brighter/paramore.brighter.restms.server/Adapters/Service/WebPipeline.cs | #region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | #region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limita... | mit | C# |
35e8b091574f0b4a9e4299c3b84ae79515dff8ea | Remove unused test. | DotNetAnalyzers/WpfAnalyzers | WpfAnalyzers.Test/ReproBox.cs | WpfAnalyzers.Test/ReproBox.cs | namespace WpfAnalyzers.Test
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
[Explicit]
public static class ReproBox
{... | namespace WpfAnalyzers.Test
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
[Explicit]
public static class ReproBox
{... | mit | C# |
f7af45bcd3430e6d7c24aae35dc552f229b0cab9 | Introduce FromTask | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(new AnonymousBobserver<string>(s => Console... | using System;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(new AnonymousBobserver<string>(s => Console... | mit | C# |
a36bc6a3bb2d38c15b7d448325f700e9728c1488 | Add Preserve attribute | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla51642.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
namespace Xamarin.Forms.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 5... | mit | C# |
8f5f862ef41d04de44830a4e7666d0acfb882b1f | Update DeletingMultipleRows.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingMultipleRows.cs | Examples/CSharp/RowsColumns/InsertingAndDeleting/DeletingMultipleRows.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingMultipleRows
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.C... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting
{
public class DeletingMultipleRows
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetD... | mit | C# |
bd8cda39537bb2716b78e0ad9c4bce9cbaba6c2a | Fix bug: incorrectly determines the center of the top | AceSkiffer/SharpGraphEditor | src/SharpGraphEditor/Controls/GraphElements/VertexControl.xaml.cs | src/SharpGraphEditor/Controls/GraphElements/VertexControl.xaml.cs | using System.Windows.Controls.Primitives;
namespace SharpGraphEditor.Controls.GraphElements
{
/// <summary>
/// Логика взаимодействия для VertexControl.xaml
/// </summary>
public partial class VertexControl : Thumb
{
public VertexControl()
{
InitializeComponent();
... | using System.Windows.Controls.Primitives;
namespace SharpGraphEditor.Controls.GraphElements
{
/// <summary>
/// Логика взаимодействия для VertexControl.xaml
/// </summary>
public partial class VertexControl : Thumb
{
public VertexControl()
{
InitializeComponent();
... | apache-2.0 | C# |
ff7d01e0f16992b895fafacb3823c7882b4c3911 | Use mono to run .NET Framework app when necessary. | ejball/XmlDocMarkdown | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using System.Linq;
using System.Runtime.InteropServices;
using Faithlife.Build;
using static Faithlife.Build.AppRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var dotNetBuildSettings = new DotNetBuildSettings
{
DocsSettings = n... | using System;
using Faithlife.Build;
using static Faithlife.Build.AppRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var dotNetBuildSettings = new DotNetBuildSettings
{
DocsSettings = new DotNetDocsSettings
{
GitLogin = new GitLoginInf... | mit | C# |
813f0d9c0fbd5eda45e269e98eaf14e0dbff2c8d | add dolly function | GRGSIBERIA/maya-camera | MayaCamera.cs | MayaCamera.cs | using UnityEngine;
using System.Collections;
public class MayaCamera : MonoBehaviour {
public float dollySpeed;
public float tumbleSpeed;
public float trackSpeed;
Vector3 prevMousePosition;
Vector3 prevMouseSpeed;
public Vector3 mouseSpeed;
public Vector3 mouseAccel;
// Use this for initialization
void Sta... | using UnityEngine;
using System.Collections;
public class MayaCamera : MonoBehaviour {
public float dollySpeed;
public float tumbleSpeed;
public float trackSpeed;
Vector3 prevMousePosition;
Vector3 prevMouseSpeed;
public Vector3 mouseSpeed;
public Vector3 mouseAccel;
// Use this for initialization
void Sta... | bsd-3-clause | C# |
8be7f216e6678d3bac6f1cda8c05055b27e235c0 | Fix for column names in Act model. | monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker,monsterlabs/HumanRightsTracker | Models/Act.cs | Models/Act.cs | using System;
using Castle.ActiveRecord;
using Castle.ActiveRecord.Framework;
using Castle.Components.Validator;
namespace HumanRightsTracker.Models
{
[ActiveRecord("acts")]
public class Act : ActiveRecordValidationBase<Act>
{
[PrimaryKey]
public int Id { get; protected set; }
[Bel... | using System;
using Castle.ActiveRecord;
using Castle.ActiveRecord.Framework;
using Castle.Components.Validator;
namespace HumanRightsTracker.Models
{
[ActiveRecord("acts")]
public class Act : ActiveRecordValidationBase<Act>
{
[PrimaryKey]
public int Id { get; protected set; }
[Bel... | lgpl-2.1 | C# |
f6bb6aaef1efb961b4e730ce373cb5eae0247ef9 | Modify the signature of Cps<TResult, T>, make T covariance | linerlock/parseq | Parseq/Cps.cs | Parseq/Cps.cs | /*
* Parseq - a monadic parser combinator library for C#
*
* Copyright (c) 2012 - 2013 WATANABE TAKAHISA <x.linerlock@gmail.com> All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | /*
* Parseq - a monadic parser combinator library for C#
*
* Copyright (c) 2012 - 2013 WATANABE TAKAHISA <x.linerlock@gmail.com> All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | mit | C# |
2d3a5b7d84f2c4c03ae0f1a45e7a16d037c05255 | Add comment to class | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | src/framework/NUnit/Framework/Api/DefaultTestAssemblyRunner.cs | src/framework/NUnit/Framework/Api/DefaultTestAssemblyRunner.cs | using System;
using System.Collections;
using System.Threading;
namespace NUnit.Framework.Api
{
/// <summary>
/// Default implementation of ITestAssemblyRunner
/// </summary>
public class DefaultTestAssemblyRunner : ITestAssemblyRunner
{
private ITestAssemblyBuilder builder;
privat... | using System;
using System.Collections;
using System.Threading;
namespace NUnit.Framework.Api
{
public class DefaultTestAssemblyRunner : ITestAssemblyRunner
{
private ITestAssemblyBuilder builder;
private NUnit.Core.TestSuite suite;
private int runnerID;
private Thread runThrea... | mit | C# |
f339ddca33e28fcfc440953d88b508b154039bc8 | Add Comment to ImplementAttribute.cs | KuriharaJun/MvcDI | TestApplication/MvcDI/ImplementAttribute.cs | TestApplication/MvcDI/ImplementAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MvcDI
{
/// <summary>
/// Serviceクラス注入対象識別用属性
/// </summary>
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class ImplementAttribute : Attribute
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MvcDI
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class ImplementAttribute : Attribute
{
// See the attribute guidelines at
// http://go.mic... | apache-2.0 | C# |
0153692d478d48faca61d62adecd9d2ff7bb8859 | Set endpoint routing in responsive sample web app | wangkanai/Detection | sample/Responsive/Startup.cs | sample/Responsive/Startup.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micr... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micr... | apache-2.0 | C# |
c2c63dd534dda428d5545246b79c27cb67d78dd3 | Rename setup blob => setup files | CodeComb/CodeComb.AspNet.Upload,CodeComb/CodeComb.AspNet.Upload | src/CodeComb.AspNet.Upload/Models/ModelBuilderExtensions.cs | src/CodeComb.AspNet.Upload/Models/ModelBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
namespace CodeComb.AspNet.Upload.Models
{
public static class ModelBuilderExtensions
{
public static ModelBuilder SetupFiles(this ModelBuilder self)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
namespace CodeComb.AspNet.Upload.Models
{
public static class ModelBuilderExtensions
{
public static ModelBuilder SetupBlob(this ModelBuilder self)
{
... | apache-2.0 | C# |
a41181ddc264d998fd98f58dca48a9099fcac3c6 | improve ProtocolBufSerializer.cs | tangxuehua/ecommon,Aaron-Liu/ecommon | src/Extensions/ECommon.ProtocolBuf/ProtocolBufSerializer.cs | src/Extensions/ECommon.ProtocolBuf/ProtocolBufSerializer.cs | using System;
using System.IO;
using System.Runtime.Serialization;
using ECommon.Serializing;
using ProtoBuf;
namespace ECommon.ProtocolBuf
{
public class ProtocolBufSerializer : IBinarySerializer
{
public byte[] Serialize(object obj)
{
using (var stream = new MemoryStream())
... | using System;
using System.IO;
using ECommon.Serializing;
using ProtoBuf;
namespace ECommon.ProtocolBuf
{
public class ProtocolBufSerializer : IBinarySerializer
{
public byte[] Serialize(object obj)
{
using (var stream = new MemoryStream())
{
Serializer.... | mit | C# |
f83adef414ef9ca826ef616730f3ca7997583423 | Fix C# 3 compile errors. | zaccharles/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,nodatime/nodatime,zaccharles/nodatime | src/NodaTime.Test/Text/Cultures.cs | src/NodaTime.Test/Text/Cultures.cs | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2012 Jon Skeet
//
// 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
//
// h... | #region Copyright and license information
// Copyright 2001-2009 Stephen Colebourne
// Copyright 2009-2012 Jon Skeet
//
// 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
//
// h... | apache-2.0 | C# |
43dc4d2f6f396851988be5874a00b5c1596c6931 | Remove private set from bullet heading (#5) | ForNeVeR/TankDriver | TankDriver.App/Logic/Bullet.cs | TankDriver.App/Logic/Bullet.cs | using System;
using TankDriver.Models;
using TankDriver.Geometry;
namespace TankDriver.Logic
{
internal class Bullet: IUnit
{
private const double BulletVelocity = 150.0;
private readonly BulletModel _model;
public PointD Position { get; private set; }
public double Heading { get; }
public Bullet (doub... | using System;
using TankDriver.Models;
using TankDriver.Geometry;
namespace TankDriver.Logic
{
internal class Bullet: IUnit
{
private const double BulletVelocity = 150.0;
private readonly BulletModel _model;
public PointD Position { get; private set; }
public double Heading { get; private set; }
public... | mit | C# |
80994917ad0db3db7b3e2c8ea2b0e4d7c0868391 | Print Inner Exceptions in ReflectionTypeLoadException ToString (#15688) | shimingsg/corefx,ViktorHofer/corefx,zhenlan/corefx,mmitche/corefx,ptoonen/corefx,wtgodbe/corefx,Jiayili1/corefx,Ermiar/corefx,wtgodbe/corefx,ravimeda/corefx,Ermiar/corefx,ravimeda/corefx,ericstj/corefx,zhenlan/corefx,ptoonen/corefx,Jiayili1/corefx,ptoonen/corefx,mmitche/corefx,BrennanConroy/corefx,zhenlan/corefx,wtgodb... | src/Common/src/CoreLib/System/Reflection/ReflectionTypeLoadException.cs | src/Common/src/CoreLib/System/Reflection/ReflectionTypeLoadException.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.Runtime.Serialization;
using System.Text;
namespace System.Reflection
{
[Serializable]
[System... | // 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.Runtime.Serialization;
namespace System.Reflection
{
[Serializable]
[System.Runtime.CompilerSe... | mit | C# |
9138a595faed0c43f62b7d1e7237433d50131ca4 | Add 'Vector3' interface. | spotco/ld-33,doggan/ld-33 | Assets/Scripts/FollowCamera.cs | Assets/Scripts/FollowCamera.cs | using UnityEngine;
using System.Collections;
public class FollowCamera : MonoBehaviour {
[SerializeField]
private float _translateSmoothness;
[SerializeField]
private float _sizeSmoothness;
private Vector3 _currentTargetPos;
private Vector3 _offset;
private Camera _cachedCamera;
private float _targetSize;
... | using UnityEngine;
using System.Collections;
/*
TODO:
- allow setable target and lerp around
- allow zooming in on target
- allow clamping to edge of world
*/
public class FollowCamera : MonoBehaviour {
[SerializeField]
private Transform _target;
[SerializeField]
private float _translateSmoothness;
[Serializ... | mit | C# |
f677c9e64e54c4bbe3dffe4e9b8e64c62a2fab95 | Add name to statistics | wqferr/GMTK-GameJam | Assets/Scripts/ScoreManager.cs | Assets/Scripts/ScoreManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager : MonoBehaviour
{
public class Score {
public int maxCombo;
public int enemiesKilled;
public float dist;
public string name;
public Score() {}
public Score(float dist, int enemies, int maxCombo, st... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ScoreManager : MonoBehaviour
{
public class Score {
public int maxCombo;
public int enemiesKilled;
public float dist;
}
public static int MAX_N = 10;
public int combo;
public int maxCombo;
public int enemiesKill... | mit | C# |
f0db902feec8f8c7f898f3524817ceab25c57164 | Enable IIS integration | amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre | src/TeamCityTheatre.Web/Program.cs | src/TeamCityTheatre.Web/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace TeamCityTheatre.Web {
public class Program {
public static void Main(string[] args) {
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
.UseStart... | using System.IO;
using Microsoft.AspNetCore.Hosting;
namespace TeamCityTheatre.Web {
public class Program {
public static void Main(string[] args) {
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup<Startup>()
.UseApp... | mit | C# |
4312b6cb9ccf0723c1fa458dad16366faf21d588 | Change configuration result display | Topshelf/Topshelf | src/Topshelf/Configuration/Configurators/ValidateConfigurationResult.cs | src/Topshelf/Configuration/Configurators/ValidateConfigurationResult.cs | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | apache-2.0 | C# |
9ca573f74810dc0277dff5a6cf734e3f26406d75 | Add RefreshToken to AuthorizationCodeRefreshResponse | JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET | SpotifyAPI.Web/Models/Response/AuthorizationCodeRefreshResponse.cs | SpotifyAPI.Web/Models/Response/AuthorizationCodeRefreshResponse.cs | using System;
namespace SpotifyAPI.Web
{
public class AuthorizationCodeRefreshResponse: IRefreshableToken
{
public string AccessToken { get; set; } = default!;
public string TokenType { get; set; } = default!;
public int ExpiresIn { get; set; }
public string Scope { get; set; } = default!;
publ... | using System;
namespace SpotifyAPI.Web
{
public class AuthorizationCodeRefreshResponse: IUserToken
{
public string AccessToken { get; set; } = default!;
public string TokenType { get; set; } = default!;
public int ExpiresIn { get; set; }
public string Scope { get; set; } = default!;
/// <summa... | mit | C# |
901e923fbb7308e628317c24a00759900d66dee8 | Update version to 29 | kali786516/kudu,shrimpy/kudu,shrimpy/kudu,oliver-feng/kudu,chrisrpatterson/kudu,bbauya/kudu,juoni/kudu,MavenRain/kudu,juoni/kudu,bbauya/kudu,EricSten-MSFT/kudu,projectkudu/kudu,juvchan/kudu,MavenRain/kudu,oliver-feng/kudu,mauricionr/kudu,sitereactor/kudu,sitereactor/kudu,barnyp/kudu,puneet-gupta/kudu,uQr/kudu,chrisrpat... | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
// If you change this version, make sure to change Build\build.proj accordingly
[as... | apache-2.0 | C# |
dd86e3d43743643f42ba6b9b9d86ad778358939e | Change classe accessibility to internal | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Extensions/GeoConstants.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Extensions/GeoConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xamarin.Forms.GoogleMaps
{
internal static class GeoConstants
{
public const double EarthRadiusKm = 6371;
public const double EarthCircumferenceKm = EarthRadiusKm * 2 *... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xamarin.Forms.GoogleMaps
{
public static class GeoConstants
{
public const double EarthRadiusKm = 6371;
public const double EarthCircumferenceKm = EarthRadiusKm * 2 * M... | mit | C# |
d5b0e9a443585204dd9c7c09b69390f67548bdb0 | Fix namespace in attribute | SotoiGhost/FacebookComponents,SotoiGhost/FacebookComponents | Facebook.Android/source/Xamarin.Facebook.AudienceNetwork/Additions/Manifest.cs | Facebook.Android/source/Xamarin.Facebook.AudienceNetwork/Additions/Manifest.cs | using System;
using Android.Runtime;
using Android.App;
namespace Xamarin.Facebook.Ads
{
// <activity android:name="com.facebook.ads.InterstitialAdActivity"
// android:configChanges="keyboardHidden|orientation|screenSize" />
[Register ("com/facebook/ads/InterstitialAdActivity", DoNotGenerateAcw=true)]
... | using System;
using Android.Runtime;
using Android.App;
namespace Xamarin.Facebook.Ads
{
// <activity android:name="com.facebook.ads.InterstitialAdActivity"
// android:configChanges="keyboardHidden|orientation|screenSize" />
[Register ("com/facebook/ads/InterstitialAdActivity", DoNotGenerateAcw=true)]
... | mit | C# |
65206c8a5bf0bcb78c07ba8a71f56c6b9a23591c | Use bare HostBuilder | Totopolis/monik | src/Monik.Service/Program.cs | src/Monik.Service/Program.cs | using System.Configuration;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Monik.Service
{
class Program
{
public static Task Main(string[] args)
{
return CreateHostBuilder(args).Build().RunAsync();
}
... | using System.Configuration;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Monik.Service
{
class Program
{
public static Task Main(string[] args)
{
return CreateHostBuilder(args).Build().RunAsync();
}
... | mit | C# |
f9660b1f6e49b9af029e32bcbfd53f419c6c04e8 | Remove attributes | AndMu/Wikiled.Sentiment | src/Sentiment/Wikiled.Sentiment.Text/Data/Review/SingleProcessingData.cs | src/Sentiment/Wikiled.Sentiment.Text/Data/Review/SingleProcessingData.cs | using System;
namespace Wikiled.Sentiment.Text.Data.Review
{
public class SingleProcessingData
{
public SingleProcessingData()
{
}
public SingleProcessingData(string text)
: this()
{
Text = string.IsNullOrEmpty(text) ? "<Empty>" : text.Trim();
... | using System;
using System.Xml.Serialization;
namespace Wikiled.Sentiment.Text.Data.Review
{
public class SingleProcessingData
{
public SingleProcessingData()
{
}
public SingleProcessingData(string text)
: this()
{
Text = string.IsNullOrEmpty(te... | apache-2.0 | C# |
d985a22f7758b8de3651f15141178b6a5140a53a | Add missing blank line | 2yangk23/osu,2yangk23/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu | osu.Game.Tests/Visual/UserInterface/TestSceneBeatmapListingSort.cs | osu.Game.Tests/Visual/UserInterface/TestSceneBeatmapListingSort.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Gra... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Gra... | mit | C# |
4656e74cd695eedccae348a9b52b82a799ca1075 | Fix incorrect casting | wwwwwwzx/3DSRNGTool | 3DSRNGTool/Gen6/PokeRadar.cs | 3DSRNGTool/Gen6/PokeRadar.cs | using Pk3DSRNGTool.RNG;
namespace Pk3DSRNGTool
{
public class PokeRadar
{
public static PokeRadarResult Generate(TinyMT src, int PKMNUM, int Chainlength, bool Music = true)
{
rng = new TinyMT(src.status);
for (int i = 3 * PKMNUM; i > 0; i--)
rng.Next();... | using Pk3DSRNGTool.RNG;
namespace Pk3DSRNGTool
{
public class PokeRadar
{
public static PokeRadarResult Generate(TinyMT src, int PKMNUM, int Chainlength, bool Music = true)
{
rng = new TinyMT(src.status);
for (int i = 3 * PKMNUM; i > 0; i--)
rng.Next();... | mit | C# |
f4212027152125dc2c98df46bab44edb6488e825 | Modify unicode-text draw method to update unity version 5.4.0 | plenprojectcompany/plen-MotionEditor_Unity | Assets/Script/TextUnicode.cs | Assets/Script/TextUnicode.cs | /* Unity_Forumより
* http://forum.unity3d.com/threads/image-fonts-fontawesome.281746/#post-1862245
*/
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Globalization;
namespace UnityEngine.UI
{
public class TextUnicode : Text
{
private bool disableDirty =... | /* Unity_Forumより
* http://forum.unity3d.com/threads/image-fonts-fontawesome.281746/#post-1862245
*/
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Globalization;
namespace UnityEngine.UI
{
public class TextUnicode : Text
{
private bool disableDirty =... | mit | C# |
af06e37b87ee4a49b4d37524c56d5c820e93cf57 | Change CardAction to have default Type of 'ImBack' if it is not provided (#2675) | stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder | CSharp/Library/Microsoft.Bot.Connector.Shared/ConnectorAPI/Models/CardAction.cs | CSharp/Library/Microsoft.Bot.Connector.Shared/ConnectorAPI/Models/CardAction.cs | // 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.
namespace Microsoft.Bot.Connector
{
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.R... | // 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.
namespace Microsoft.Bot.Connector
{
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.R... | mit | C# |
4142ba5bff4438150198811a4a422c86ee852c0b | Update NotificationSettingsVM for LiveTiles settings | aalok05/CodeHub | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | using CodeHub.Services;
using GalaSoft.MvvmLight;
namespace CodeHub.ViewModels.Settings
{
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
private bool _isLiveTilesEnabled = SettingsService.Ge... | using CodeHub.Services;
using GalaSoft.MvvmLight;
namespace CodeHub.ViewModels.Settings
{
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
public bool IsToastEnabled
{
get => _isToastEnabled;
set
{
... | mit | C# |
4bd6c5f704444b0c9a078b1b7915b8acc05e1f9d | fix hideIfNull public | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework | Signum.Web/Lines/BaseLine.cs | Signum.Web/Lines/BaseLine.cs | #region usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Signum.Utilities;
using Signum.Entities;
using Signum.Web.Properties;
using System.Web.Routing;
#endregion
namespace Signum.Web
{
public abstra... | #region usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Signum.Utilities;
using Signum.Entities;
using Signum.Web.Properties;
using System.Web.Routing;
#endregion
namespace Signum.Web
{
public abstra... | mit | C# |
c3d2f81eabcdd95c4414323ca830374aa21f47a7 | Update settings with username and conference ids | jamesmontemagno/code-camp-app | CodeCamp/Helpers/Settings.cs | CodeCamp/Helpers/Settings.cs | // Helpers/Settings.cs
using Refractored.Xam.Settings;
using Refractored.Xam.Settings.Abstractions;
namespace CodeCamp.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with ... | // Helpers/Settings.cs
using Refractored.Xam.Settings;
using Refractored.Xam.Settings.Abstractions;
namespace CodeCamp.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with ... | mit | C# |
7e0fdc894fde0e27ba43ce77bf6ce68103a87748 | Update display of Z80 status flags | eightlittlebits/elbsms | elbsms_core/CPU/StatusFlags.cs | elbsms_core/CPU/StatusFlags.cs | using System.Text;
namespace elbsms_core.CPU
{
struct StatusFlags
{
public const int S = 0b1000_0000;
public const int Z = 0b0100_0000;
public const int B5 = 0b0010_0000;
public const int H = 0b0001_0000;
public const int B3 = 0b0000_1000;
public const int P = 0... | using System.Text;
namespace elbsms_core.CPU
{
struct StatusFlags
{
public const int S = 0b1000_0000;
public const int Z = 0b0100_0000;
public const int B5 = 0b0010_0000;
public const int H = 0b0001_0000;
public const int B3 = 0b0000_1000;
public const int P = 0... | mit | C# |
0eca5a2c57a3f518471596171cb1b4fa2618c8f9 | send received data to timeGraph | yasokada/unity-150908-udpTimeGraph | Assets/udpReceiverScript.cs | Assets/udpReceiverScript.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
/*
* v0.1 2015/09/09
* - send received data to timeGraph
* above as updReceive... | using UnityEngine;
using System.Collections;
using UnityEngine.UI; // for Text
using System;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress()
/*
* v0.1 2015/09/09
* -
* above as updReceiver
* -----------------------
*... | mit | C# |
5a907e6166069b271c15f4efa82e21b01709bcb7 | Update version number for release | programcsharp/griddly,programcsharp/griddly,jehhynes/griddly,jehhynes/griddly,nickdevore/griddly,nickdevore/griddly,programcsharp/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
a0d4d4028021072d6d0e8af1b16c87586ded6d14 | Fix bug in Event | vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/Vulkan/Event.cs | CSGL.Vulkan/Vulkan/Event.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class Event : IDisposable, INative<VkEvent> {
VkEvent _event;
bool disposed;
public VkEvent Native {
get {
return _event;
}
}
public Device Device { get; ... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class Event : IDisposable, INative<VkEvent> {
VkEvent _event;
bool disposed;
public VkEvent Native {
get {
return _event;
}
}
public Device Device { get; ... | mit | C# |
2badef212857c620cb9af2c975929c22bde08b26 | Fix tests | jazd/Business,jazd/Business,jazd/Business | CSharp/Core.Fake/Reader.cs | CSharp/Core.Fake/Reader.cs | using System;
using System.Collections.Generic;
namespace Business.Core.Fake
{
public class Reader : IReader
{
public Profile.Profile Profile { get; set; }
public Exception ReaderGetException { get; set; }
public object Value { get; set; }
object[] objects;
List<object[]> records;
int recordIndex;
... | using System;
using System.Collections.Generic;
namespace Business.Core.Fake
{
public class Reader : IReader
{
public Profile.Profile Profile { get; set; }
public Exception ReaderGetException { get; set; }
public object Value { get; set; }
object[] objects;
List<object[]> records;
int recordIndex;
... | mit | C# |
77ce3b0f165cb082e2d80edbceaba191a0f43872 | Update assembly to 7.3.3 | kamsar/Synthesis,roberthardy/Synthesis | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("ISITE Design")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("7.3.3.0")]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.InteropServices;
using System;
[assembly: AssemblyCompany("ISITE Design")]
[assembly: AssemblyProduct("Synthesis")]
[assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("7.3.0.0")]
[assembly: Assembly... | mit | C# |
8459c63dd9b54884e059d8bd60f1c25b49832fd0 | Update _ProjectRelated.cshtml | vtfuture/BForms,vtfuture/BForms,vtfuture/BForms | BForms.Docs/Areas/Demo/Views/Contributors/Grid/Details/_ProjectRelated.cshtml | BForms.Docs/Areas/Demo/Views/Contributors/Grid/Details/_ProjectRelated.cshtml | @using BForms.Docs.Resources
@using BForms.Html
@using BForms.Models
@model BForms.Docs.Areas.Demo.Models.ContributorDetailsModel
<h3 class="editable">
@Html.BsGlyphicon(Glyphicon.Tags)
Project related
@Html.BsGlyphicon(Glyphicon.Pencil, new Dictionary<string, object> {{ "class", "open-editable" }... | @using BForms.Docs.Resources
@using BForms.Html
@using BForms.Models
@model BForms.Docs.Areas.Demo.Models.ContributorDetailsModel
<h3 class="editable">
@Html.BsGlyphicon(Glyphicon.Tags)
Project related
@Html.BsGlyphicon(Glyphicon.Pencil)
</h3>
@Html.Partial("Grid/Details/_ProjectRelatedReadonl... | mit | C# |
014792a8b40368ee5ebb22af9e3678eb17d2b17d | Update comment | MatiasALopez/test1 | Test1/Test1.Console/Program.cs | Test1/Test1.Console/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test1.Console
{
class Program
{
static void Main(string[] args)
{
// modificado en MV5Migration
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test1.Console
{
class Program
{
static void Main(string[] args)
{
// modificado en master (conflicto resuelto)
}
}
}
| mit | C# |
63f9bb15a7937ad4bff78e9bb475a07cc210fe90 | allow generate button for client secret for oauth clients | IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityS... | src/Libraries/Thinktecture.IdentityServer.Core/Models/Client.cs | src/Libraries/Thinktecture.IdentityServer.Core/Models/Client.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license.txt
*/
using System;
using System.ComponentModel.DataAnnotations;
namespace Thinktecture.IdentityServer.Models
{
public class Client
{
[UIHint("HiddenInput")]
public int ID { get; set; }
[Display(N... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license.txt
*/
using System;
using System.ComponentModel.DataAnnotations;
namespace Thinktecture.IdentityServer.Models
{
public class Client
{
[UIHint("HiddenInput")]
public int ID { get; set; }
[Display(N... | bsd-3-clause | C# |
e6757a4c42bef75cbca89d11bc3951b456f71ab7 | Revert "Fixing bad default path." | rough007/PythLR | CyLR/src/CollectionPaths.cs | CyLR/src/CollectionPaths.cs | using System;
using System.IO;
using System.Collections.Generic;
namespace CyLR
{
internal static class CollectionPaths
{
public static List<string> GetPaths(Arguments arguments)
{
var paths = new List<string>
{
@"C:\Windows\System32\config",
... | using System;
using System.IO;
using System.Collections.Generic;
namespace CyLR
{
internal static class CollectionPaths
{
public static List<string> GetPaths(Arguments arguments)
{
var paths = new List<string>
{
@"C:\Windows\System32\config",
... | apache-2.0 | C# |
bb7b9e244682e0261bb739f077a789bd0fba702f | Use var. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Shared/Profiles/Exif/ExifTagDescriptionAttribute.cs | src/Magick.NET/Shared/Profiles/Exif/ExifTagDescriptionAttribute.cs | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
4886042298417cfe37fc331bcb32f5505232ed82 | Create button added | mdsol/cognition,mdsol/cognition | Cognition.Web/Views/Document/List.cshtml | Cognition.Web/Views/Document/List.cshtml | @model Cognition.Web.ViewModels.DocumentListViewModel
@{
ViewBag.Title = Model.TypeFullName + " List";
}
<h2>@ViewBag.Title</h2>
@Html.ActionLink("Create new " + Model.TypeFullName, "Create", new {type = Model.TypeName}, new {@class = "btn btn-primary"})
<ul>
@foreach (var document in Model.Documents)
{
<l... | @model Cognition.Web.ViewModels.DocumentListViewModel
@{
ViewBag.Title = Model.TypeFullName + " List";
}
<h2>@ViewBag.Title</h2>
<ul>
@foreach (var document in Model.Documents)
{
<li>
@Html.ActionLink(document.Title, "Index", new {id = document.Id, type = document.Type})
</li>
}
</ul>
| mit | C# |
5330b734e7262a40526f998ded6d7511f76c09bb | Add basic test for ParallelFireworkAlgorithmTests. | sleshJdev/Fireworks.NET | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | src/FireworksNet.Tests/Algorithm/ParallelFireworkAlgorithmTests.cs | using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
[Theory]
[Member... | using FireworksNet.Algorithm;
using FireworksNet.Algorithm.Implementation;
using FireworksNet.Problems;
using FireworksNet.StopConditions;
using System;
using Xunit;
namespace FireworksNet.Tests.Algorithm
{
public class ParallelFireworkAlgorithmTests : AlgorithmTestDataSource
{
}
}
| mit | C# |
4299367d087ed516e94860080442e8d5d5966b71 | Use the same routing value for index and update | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests/Document/Single/Update/UpdateWithScriptApiTests.cs | src/Tests/Tests/Document/Single/Update/UpdateWithScriptApiTests.cs | using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework;
using Tests.Framework.Integration;
namespace Tests.Document.Single.Update
{
public class UpdateWithScriptApiTests
: ApiIntegrationTestBase<... | using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework;
using Tests.Framework.Integration;
namespace Tests.Document.Single.Update
{
public class UpdateWithScriptApiTests
: ApiIntegrationTestBase<... | apache-2.0 | C# |
718835255f48e015d7f5741b4eb38cd1d47d9598 | Improve spacing for status messages | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Shared/_StatusMessage.cshtml | BTCPayServer/Views/Shared/_StatusMessage.cshtml | @{
var parsedModel = TempData.GetStatusMessageModel();
}
@if (parsedModel != null)
{
<div class="alert alert-@parsedModel.SeverityCSS @(parsedModel.AllowDismiss? "alert-dismissible":"" ) mb-5" role="alert">
@if (parsedModel.AllowDismiss)
{
<button type="button" class="close" data-d... | @{
var parsedModel = TempData.GetStatusMessageModel();
}
@if (parsedModel != null)
{
<div class="alert alert-@parsedModel.SeverityCSS @(parsedModel.AllowDismiss? "alert-dismissible":"" )" role="alert">
@if (parsedModel.AllowDismiss)
{
<button type="button" class="close" data-dismis... | mit | C# |
be93a3578d4212e71cf3dcfa921e13426dd198db | Update version to 2.1 | Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview,Ligraph/eve-o-preview | Eve-O-Preview/Properties/AssemblyInfo.cs | Eve-O-Preview/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | mit | C# |
67d9c3ba83d416aebb196ac59733c553b792b2d7 | Improve readability. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Models/Label.cs | WalletWasabi/Models/Label.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Models
{
public class Label : IEquatable<Label>
{
public static Label Empty { get; } = new Label();
public static char[] Separators { get; } = new[] { ',', ':' };
public IEnume... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WalletWasabi.Models
{
public class Label : IEquatable<Label>
{
public static Label Empty { get; } = new Label();
public static char[] Separators { get; } = new[] { ',', ':' };
public IEnume... | mit | C# |
5bef341b0a5ff535d37b662e95aa6443c413648b | Convert Gst.Marshaller to an internal class | Forage/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,Forage/gstreamer-sharp,freedesktop-unofficial-mirror... | gstreamer-sharp/Marshaller.cs | gstreamer-sharp/Marshaller.cs |
using System;
using System.Runtime.InteropServices;
using GLib;
namespace Gst {
internal static class Marshaller {
public static IntPtr StringArrayToNullTermPointer (string[] strs)
{
if (strs == null)
return IntPtr.Zero;
IntPtr result = GLib.Marshaller.Malloc ((ulong) ((strs.Length + 1) * IntPtr.Size... |
using System;
using System.Runtime.InteropServices;
using GLib;
namespace Gst {
public static class Marshaller {
public static IntPtr StringArrayToNullTermPointer (string[] strs)
{
if (strs == null)
return IntPtr.Zero;
IntPtr result = GLib.Marshaller.Malloc ((ulong) ((strs.Length + 1) * IntPtr.Size))... | lgpl-2.1 | C# |
3ee5a33775d4912d6fec97730b94da8a93de00b8 | remove default no-cache header for app service | aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate | src/Abp.AspNetCore/AspNetCore/Configuration/AbpAspNetCoreConfiguration.cs | src/Abp.AspNetCore/AspNetCore/Configuration/AbpAspNetCoreConfiguration.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.AspNetCore.Mvc.Results.Caching;
using Abp.Domain.Uow;
using Abp.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.Configuration
{
public class AbpAspNetCoreConfiguration : IAbp... | using System;
using System.Collections.Generic;
using System.Reflection;
using Abp.AspNetCore.Mvc.Results.Caching;
using Abp.Domain.Uow;
using Abp.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.Configuration
{
public class AbpAspNetCoreConfiguration : IAbp... | mit | C# |
2a78a73409fb3c24c4dc7ba3c4097ea85d428df5 | Fix c#/vb goto def shim names. | jmarolf/roslyn,KirillOsenkov/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,gafter/roslyn,aelij/roslyn,aelij/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,KirillOsenkov/roslyn,AmadeusW/roslyn,tannergooding/roslyn,genlu/roslyn,jmarolf/roslyn,davkean/roslyn,AlekseyTs/roslyn,eriawan/roslyn,AlekseyTs/roslyn,wvdd007/roslyn,... | src/VisualStudio/LiveShare/Impl/Shims/GoToDefinitionHandlerShim.cs | src/VisualStudio/LiveShare/Impl/Shims/GoToDefinitionHandlerShim.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.LanguageServer.Handler;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Microsoft.VisualStudio.LiveShare.LanguageServices;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Shims... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.LanguageServer.Handler;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Microsoft.VisualStudio.LiveShare.LanguageServices;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Shims... | mit | C# |
6634cee89ece911faef08ac3c5ec4264d2596b2a | Use existing mock from base class. | SonnevilleJ/FidelityWebDriver,SonnevilleJ/Investing,SonnevilleJ/Investing | FidelityWebDriver.Tests/Pages/LoginPageTests.cs | FidelityWebDriver.Tests/Pages/LoginPageTests.cs | using Moq;
using NUnit.Framework;
using OpenQA.Selenium;
using Sonneville.FidelityWebDriver.Pages;
namespace Sonneville.FidelityWebDriver.Tests.Pages
{
[TestFixture]
public class LoginPageTests : PageFactoryTests<ILoginPage>
{
private LoginPage _loginPage;
private string _username;
... | using Moq;
using NUnit.Framework;
using OpenQA.Selenium;
using Sonneville.FidelityWebDriver.Pages;
namespace Sonneville.FidelityWebDriver.Tests.Pages
{
[TestFixture]
public class LoginPageTests : PageFactoryTests<ILoginPage>
{
private LoginPage _loginPage;
private Mock<IWebDriver> _webDriv... | mit | C# |
eb98e3341976bca340a83e7067c1f638fffcdcd1 | change default | jerryhuffman/IdentityManager.AspNetIdentity,alibad/IdentityManager.AspNetIdentity.vNext,IdentityManager/IdentityManager.AspNetIdentity,Nicholi/IdentityManager.AspNetIdentity | source/Host/Startup.cs | source/Host/Startup.cs | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright 2014 Dominick Baier, Brock Allen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | C# |
a1d209b25daec9dc1e86511d71b1fde41c3323e1 | Add installment scb (#43) | omise/omise-dotnet | Omise/Models/OffsiteTypes.cs | Omise/Models/OffsiteTypes.cs | using System.Runtime.Serialization;
namespace Omise.Models
{
public enum OffsiteTypes
{
[EnumMember(Value = null)]
None,
[EnumMember(Value = "internet_banking_scb")]
InternetBankingSCB,
[EnumMember(Value = "internet_banking_bbl")]
InternetBankingBBL,
[En... | using System.Runtime.Serialization;
namespace Omise.Models
{
public enum OffsiteTypes
{
[EnumMember(Value = null)]
None,
[EnumMember(Value = "internet_banking_scb")]
InternetBankingSCB,
[EnumMember(Value = "internet_banking_bbl")]
InternetBankingBBL,
[En... | mit | C# |
b705dc7d7e846375ce93a58c1481fb601d687685 | Prepare for dev | Gum-Joe/boss.js,Gum-Joe/boss.js,Gum-Joe/boss.js,Gum-Joe/Web-OS,Gum-Joe/boss.js,Gum-Joe/Web-OS,Gum-Joe/Web-OS,Gum-Joe/Web-OS,Gum-Joe/Web-OS,Gum-Joe/boss.js,Gum-Joe/Web-OS,Gum-Joe/boss.js,Gum-Joe/boss.js,Gum-Joe/Web-OS | app/console-app/src/Program.cs | app/console-app/src/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace console_app
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, and welcome to the web-os manager app");
Console.Writ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace console_app
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, and welcome to the web-os manager app");
Console.Writ... | mit | C# |
d9d84bd28e8cd03d9ee7661e160da9cfe0b8b608 | Correct method names | emoacht/Monitorian | Source/Monitorian.Core/Views/MenuWindow.xaml.cs | Source/Monitorian.Core/Views/MenuWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Me... | mit | C# |
c091f9e1f57ee89db1e2ee3349753665b2f092ca | Revert changes that should be on fork objo/issue9625 | as-zhuravlev/oxyplot_wpf_fork,svendu/oxyplot,br111an/oxyplot,GeertvanHorrik/oxyplot,objorke/oxyplot,freudenthal/oxyplot,Mitch-Connor/oxyplot,bbqchickenrobot/oxyplot,jeremyiverson/oxyplot,Rustemt/oxyplot,Jonarw/oxyplot,TheAlmightyBob/oxyplot,as-zhuravlev/oxyplot_wpf_fork,sevoku/oxyplot,lynxkor/oxyplot,oxyplot/oxyplot,H2... | Source/OxyPlot/PlotController/PlotController.cs | Source/OxyPlot/PlotController/PlotController.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlotController.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2012 Oystein Bjorke
//
// Permission is hereby granted, free of charge, to any... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlotController.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2012 Oystein Bjorke
//
// Permission is hereby granted, free of charge, to any... | mit | C# |
1cba3a1788e30d05982e4a23009a849f1d8fda5c | Update OpeningMicrosoftExcel97-2003Files.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sh... | Examples/CSharp/Files/Handling/OpeningMicrosoftExcel97-2003Files.cs | Examples/CSharp/Files/Handling/OpeningMicrosoftExcel97-2003Files.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningMicrosoftExcel97-2003Files
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Asp... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningMicrosoftExcel97-2003Files
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Asp... | mit | C# |
2926bedd59fe0337c99296c8813cad3f22e97d44 | Fix remote logging issue | Free1man/SeleniumTestFramework,Free1man/SeleniumTestsRunner | SeleniumFramework/SeleniumInfrastructure/Browsers/BrowserService.cs | SeleniumFramework/SeleniumInfrastructure/Browsers/BrowserService.cs | using OpenQA.Selenium;
using SeleniumFramework.SeleniumInfrastructure.Config;
using SeleniumFramework.SeleniumInfrastructure.Logging;
namespace SeleniumFramework.SeleniumInfrastructure.Browsers
{
internal class BrowserService : IBrowserService
{
private readonly Settings _settings;
public Bro... | using OpenQA.Selenium;
using SeleniumFramework.SeleniumInfrastructure.Config;
using SeleniumFramework.SeleniumInfrastructure.Logging;
namespace SeleniumFramework.SeleniumInfrastructure.Browsers
{
internal class BrowserService : IBrowserService
{
private readonly Settings _settings;
public Bro... | mit | C# |
0e95b7b2ac43b452266173111ff47a2be4eeea00 | move order: RepoDefaultBranch, add DatabaseSavePath | Willster419/RelhaxModpack,Willster419/RelicModManager,Willster419/RelhaxModpack | RelhaxModpack/RelhaxModpack/Settings/AutomationRunnerSettings.cs | RelhaxModpack/RelhaxModpack/Settings/AutomationRunnerSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Settings
{
/// <summary>
/// Defines settings used in the database automation runner window
/// </summary>
public class AutomationRunnerSettings : ISettingsFile
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Settings
{
/// <summary>
/// Defines settings used in the database automation runner window
/// </summary>
public class AutomationRunnerSettings : ISettingsFile
... | apache-2.0 | C# |
299bc14fb1f441a7ac8b215198fa029d892d148b | fix functional tests | vladmunthiu/testreviewrepo | SampleApplication/SampleApplication.FunctionalTests/UnitTest1.cs | SampleApplication/SampleApplication.FunctionalTests/UnitTest1.cs | using RestSharp;
using System;
using Xunit;
namespace SampleApplication.FunctionalTests
{
public class UnitTest1
{
[Fact]
public void CallFuntion1WithParams()
{
var client = new RestClient("https://sampleapp-dev.azurewebsites.net/");
var request = new RestRequest... | using RestSharp;
using System;
using Xunit;
namespace SampleApplication.FunctionalTests
{
public class UnitTest1
{
[Fact]
public void CallFuntion1WithParams()
{
var client = new RestClient("https://sampleapp-dev.azurewebsites.net/");
var request = new RestRequest... | apache-2.0 | C# |
6f34f118729da04ac2d75eb3b0941f6a6915ea42 | remove todo | PedDavid/qip,PedDavid/qip,PedDavid/qip | Server/WebSockets/StringWebSockets/StringWebSocketsOperations.cs | Server/WebSockets/StringWebSockets/StringWebSocketsOperations.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WebSockets.Operations;
using Newtonsoft.Json.Linq;
namespace WebSockets.StringWebSockets {
public class StringWebSocketsOperations {
private readonly StringWebSocket _stringWebSocket;
privat... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WebSockets.Operations;
using Newtonsoft.Json.Linq;
namespace WebSockets.StringWebSockets {
public class StringWebSocketsOperations {
private readonly StringWebSocket _stringWebSocket;
privat... | mit | C# |
5bbff9f01c9f1cc461bebae44b4596fa98f11e54 | Fix for SetFilterType.NotIn nullable property | PdFramework/Framework.QueryBuilder,PdFramework/Filtering | Filtering/FilterCriteria/Nullables/Sets/NullableSetCriterionBase.cs | Filtering/FilterCriteria/Nullables/Sets/NullableSetCriterionBase.cs | namespace PeinearyDevelopment.Framework.Filtering.FilterCriteria.Nullables.Sets
{
using FilterTypes;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
public abstract class NullableSetCriterionBase<TFilterable, TFilterableProp... | namespace PeinearyDevelopment.Framework.Filtering.FilterCriteria.Nullables.Sets
{
using FilterTypes;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
public abstract class NullableSetCriterionBase<TFilterable, TFilterableProp... | mit | C# |
1b717328f851af6ac01942dd1574460273792cef | Add enum extension to get friendly name | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Hwi/Models/HardwareWalletModels.cs | WalletWasabi/Hwi/Models/HardwareWalletModels.cs | using System;
using System.ComponentModel;
using System.Linq;
namespace WalletWasabi.Hwi.Models
{
/// <summary>
/// Source: https://github.com/bitcoin-core/HWI/pull/228
/// </summary>
public enum HardwareWalletModels
{
[Description("Hardware Wallet")]
Unknown,
[Description("Coldcard")]
Coldcard,
[Desc... | using System;
using System.ComponentModel;
using System.Linq;
namespace WalletWasabi.Hwi.Models
{
/// <summary>
/// Source: https://github.com/bitcoin-core/HWI/pull/228
/// </summary>
public enum HardwareWalletModels
{
[Description("Hardware Wallet")]
Unknown,
[Description("Coldcard")]
Coldcard,
[Desc... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.