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 |
|---|---|---|---|---|---|---|---|---|
8866529177343c90796e8b79c3995be9b029c14e | Make it parallel | chitoku-k/StopAll | StopAll/MediaPlayersManager.cs | StopAll/MediaPlayersManager.cs | using NowPlayingLib;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace StopAll
{
public class MediaPlayersManager
{
private static readonly Dictionary<string, Func<MediaPlayerBase>> PlayerConstructors = new Dictionary<s... | using NowPlayingLib;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace StopAll
{
public class MediaPlayersManager
{
private static readonly Dictionary<string, Func<MediaPlayerBase>> PlayerConstructors = new Dictionary<string, Func<MediaPlayerBase>>
... | mit | C# |
ab61bcc36e28a0f07f640bc2b8af80ddbd74daf8 | Fix compilation after sdk api changes | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/src/Psi/Parsing/YamlTokenBase.cs | resharper/resharper-yaml/src/Psi/Parsing/YamlTokenBase.cs | using System;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Text;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing
... | using System;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Text;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing
... | apache-2.0 | C# |
1efa8de55f75d88003fb672e078181e3b5a05bd2 | Add Google+ href. | bigfont/sweet-water-revolver | mvcWebApp/Views/Home/_ExternalLinks.cshtml | mvcWebApp/Views/Home/_ExternalLinks.cshtml | <section class="container">
<div id="our-external-links">
@*href="https://myspace.com/sweetwaterrevolver"
href="https://www.facebook.com/pages/Sweet-Water-Revolver/390852040983091"
href="http://www.reverbnation.com/sweetwaterrevolver"*@
<a href="https://www.facebook.com... | <section class="container">
<div id="our-external-links">
@*href="https://myspace.com/sweetwaterrevolver"
href="https://www.facebook.com/pages/Sweet-Water-Revolver/390852040983091"
href="http://www.reverbnation.com/sweetwaterrevolver"*@
<a href="https://www.facebook.com... | mit | C# |
1ad4d93c17e0ed83c2e882f891d5c517d96e74ed | add validation for auth settings | nmklotas/GitLabCLI | src/GitlabCmd.Console/App/AppSettingsValidationHandler.cs | src/GitlabCmd.Console/App/AppSettingsValidationHandler.cs | using System;
using GitlabCmd.Console.Configuration;
using GitlabCmd.Console.Utilities;
namespace GitlabCmd.Console.App
{
public class AppSettingsValidationHandler
{
private readonly AppSettings _settings;
private readonly OutputPresenter _outputPresenter;
public AppSettingsValidation... | using GitlabCmd.Console.Configuration;
namespace GitlabCmd.Console.App
{
public class AppSettingsValidationHandler
{
private readonly AppSettings _settings;
private readonly OutputPresenter _outputPresenter;
public AppSettingsValidationHandler(
AppSettings settings,
... | mit | C# |
8128cad3d18a75e25dbd4b38dcb4118f408c601e | fix test that i just pushed that should use inmemory connection | LeoYao/elasticsearch-net,wawrzyn/elasticsearch-net,junlapong/elasticsearch-net,robrich/elasticsearch-net,robrich/elasticsearch-net,abibell/elasticsearch-net,SeanKilleen/elasticsearch-net,wawrzyn/elasticsearch-net,robertlyson/elasticsearch-net,robertlyson/elasticsearch-net,junlapong/elasticsearch-net,faisal00813/elastic... | src/Tests/Nest.Tests.Unit/Reproduce/Reproduce1440Tests.cs | src/Tests/Nest.Tests.Unit/Reproduce/Reproduce1440Tests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Elasticsearch.Net.Connection;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.Reproduce
{
/// <summary>
/// tests to reproduce reported errors
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
namespace Nest.Tests.Unit.Reproduce
{
/// <summary>
/// tests to reproduce reported errors
/// </summary>
[TestFixture]
public class Reprodu... | apache-2.0 | C# |
9874da29ef51e69be088186179c9ed69ed6bd8d8 | debug tags | DMagic1/KSP_Contract_Window,Kerbas-ad-astra/KSP_Contract_Window | QuickStart.cs | QuickStart.cs | #if DEBUG
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace QuickStart
{
//This will kick us into the save called default and set the first vessel active
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class Debug_AutoLoadPersistentSaveOnStartu... | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace QuickStart
{
//This will kick us into the save called default and set the first vessel active
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class Debug_AutoLoadPersistentSaveOnStartup : MonoBeh... | mit | C# |
19e693fe8f0f5932fbb527f6d6f12b8bb328a569 | チェックする変数を間違えていたので修正。 | SunriseDigital/cs-sdx | Sdx/Config.cs | Sdx/Config.cs | using System.Collections.Generic;
using Sdx.Data;
using System.Text;
using System.IO;
using System;
namespace Sdx
{
public class Config<T> where T : Tree, new()
{
private static Dictionary<string, Tree> memoryCache;
static Config()
{
memoryCache = new Dictionary<string, Tree>();
}
publ... | using System.Collections.Generic;
using Sdx.Data;
using System.Text;
using System.IO;
namespace Sdx
{
public class Config<T> where T : Tree, new()
{
private static Dictionary<string, Tree> memoryCache;
static Config()
{
memoryCache = new Dictionary<string, Tree>();
}
public string Base... | mit | C# |
130b999a58632cd1a17947cb00f2cb2cda75d18a | Remove RegexOptions.Compiled per review. | chocolatey/nuget-chocolatey,zskullz/nuget,jholovacs/NuGet,antiufo/NuGet2,mrward/NuGet.V2,dolkensp/node.net,chester89/nugetApi,indsoft/NuGet2,jholovacs/NuGet,rikoe/nuget,indsoft/NuGet2,jmezach/NuGet2,zskullz/nuget,oliver-feng/nuget,mono/nuget,RichiCoder1/nuget-chocolatey,RichiCoder1/nuget-chocolatey,GearedToWar/NuGet2,j... | src/Core/Utility/PackageIdValidator.cs | src/Core/Utility/PackageIdValidator.cs | using System;
using System.Globalization;
using System.Text.RegularExpressions;
using NuGet.Resources;
namespace NuGet {
public static class PackageIdValidator {
private static readonly Regex _idRegex = new Regex(@"^\w+([_.-]\w+)*$", RegexOptions.IgnoreCase);
public static bool IsValidPa... | using System;
using System.Globalization;
using System.Text.RegularExpressions;
using NuGet.Resources;
namespace NuGet {
public static class PackageIdValidator {
private static readonly Regex _idRegex = new Regex(@"^\w+([_.-]\w+)*$", RegexOptions.IgnoreCase | RegexOptions.Compiled);
publ... | apache-2.0 | C# |
ec0beb5a515e9189615d9fb6c23b956ecf1645ae | Allow logger and serializer to be set to null | exceptionless/Foundatio,FoundatioFx/Foundatio | src/Foundatio/Utility/SharedOptions.cs | src/Foundatio/Utility/SharedOptions.cs | using System;
using Foundatio.Serializer;
using Microsoft.Extensions.Logging;
namespace Foundatio {
public class SharedOptions {
public ISerializer Serializer { get; set; }
public ILoggerFactory LoggerFactory { get; set; }
}
public class SharedOptionsBuilder<TOption, TBuilder> : OptionsBui... | using System;
using Foundatio.Serializer;
using Microsoft.Extensions.Logging;
namespace Foundatio {
public class SharedOptions {
public ISerializer Serializer { get; set; }
public ILoggerFactory LoggerFactory { get; set; }
}
public class SharedOptionsBuilder<TOption, TBuilder> : OptionsBui... | apache-2.0 | C# |
01fdd30d515cdc8ef9442dc2c715569f450162fd | add missing textfield types #2217 (#2218) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Client/Web/Bit.Client.Web.BlazorUI/Components/TextField/BitTextFieldType.cs | src/Client/Web/Bit.Client.Web.BlazorUI/Components/TextField/BitTextFieldType.cs | namespace Bit.Client.Web.BlazorUI
{
public enum BitTextFieldType
{
/// <summary>
/// The TextField characters are shown as text
/// </summary>
Text,
/// <summary>
/// The TextField characters are masked
/// </summary>
Password,
/// <summ... | namespace Bit.Client.Web.BlazorUI
{
public enum BitTextFieldType
{
/// <summary>
/// The TextField characters are shown as text
/// </summary>
Text,
/// <summary>
/// The TextField characters are masked
/// </summary>
Password,
/// <summ... | mit | C# |
e6e9c0ea1be5ad3fe1137f6accff1c7bcd7989ed | Fix Staffer.cs compile error | VernacularHam/macolastand | Assets/Scripts/Staffer.cs | Assets/Scripts/Staffer.cs | using System.Collections;
using System.Collections.Generic;
public class Staffer {
public Staffer()
{
}
private string[] names = { "Aniket", "Joe", "Mike", "Claudia", "Mathew", "Ben", "Stephanie", "Pratap", "Derek", "Connor", "Greta", "John DM", "Debra", "Scott", "Rex" };
}
| using System.Collections;
using System.Collections.Generic;
public class Staffer {
public Staffer()
{
}
private string[] names = ["Aniket", "Joe", "Mike", "Claudia", "Mathew", "Ben", "Stephanie", "Pratap", "Derek", "Connor", "Greta", "John DM", "Debra", "Scott", "Rex"];
}
| mit | C# |
dab4eac3de0b8366ebc29284fc8c8c8a93f3c88b | fix error in reading file version | lexruster/NAppUpdate | FeedBuilder/FileInfoEx.cs | FeedBuilder/FileInfoEx.cs | using System.Diagnostics;
using System.IO;
using NAppUpdate.Framework.Utils;
namespace FeedBuilder
{
public class FileInfoEx
{
private readonly FileInfo myFileInfo;
private readonly string myFileVersion;
private readonly string myHash;
public FileInfo FileInfo
{
get { return myFileInfo; }... | using System.Diagnostics;
using System.IO;
using NAppUpdate.Framework.Utils;
namespace FeedBuilder
{
public class FileInfoEx
{
private readonly FileInfo myFileInfo;
private readonly string myFileVersion;
private readonly string myHash;
public FileInfo FileInfo
{
get { return myFileInfo; }... | apache-2.0 | C# |
5674cfaab40158e3e69fb5cd63ca006e84e78b16 | Change recieve method | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Models/MessageReciever.cs | Models/MessageReciever.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading;
using Caliburn.Micro;
using Newtonsoft.Json;
using TirkxDownloader.ViewModels;
using TirkxDownloader.Framework;
namespace TirkxDownloader.Models
{
public class MessageReciever
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Caliburn.Micro;
using Newtonsoft.Json;
using TirkxDownloader.ViewModels;
using TirkxDownloader.Framework;
namespace TirkxDownload... | mit | C# |
8e979ffdd6a2b0564704b358bda5dba3d279f06b | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
8fcc89add04b96655663eaac75b56c5d6f2591c8 | remove ReFit from IInSkillProductApi | stoiveyp/Alexa.NET.Management | Alexa.NET.Management/IInSkillProductApi.cs | Alexa.NET.Management/IInSkillProductApi.cs | using System.Net.Http;
using System.Threading.Tasks;
using Alexa.NET.Management.Api;
using Alexa.NET.Management.InSkillProduct;
using Refit;
namespace Alexa.NET.Management
{
public interface IInSkillProductApi
{
Task<Product> Get(string productId, SkillStage stage);
Task<CreateInSkillProductR... | using System.Net.Http;
using System.Threading.Tasks;
using Alexa.NET.Management.Api;
using Alexa.NET.Management.InSkillProduct;
using Refit;
namespace Alexa.NET.Management
{
public interface IInSkillProductApi
{
[Get("inSkillProducts/{productId}/stages/{stage}")]
Task<Product> Get(string produ... | mit | C# |
9d3a954f50d1360b3e56cb7ffa6968ed2530bafb | make HelloWorld simpler | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Samples/Common/01_HelloWorld/HelloWorld.cs | Samples/Common/01_HelloWorld/HelloWorld.cs | using Urho;
public class _01_HelloWorld : Application
{
public _01_HelloWorld(Context c) : base(c) { }
public override void Start()
{
var cache = ResourceCache;
var helloText = new Text(Context)
{
Value = "Hello World from Urho3D + Mono",
HorizontalAlignment = HorizontalAlignment.HA_CENTER,
Vertical... | using Urho;
public class _01_HelloWorld : Sample
{
void CreateText()
{
var cache = ResourceCache;
var helloText = new Text(Context)
{
Value = "Hello World from Urho3D + Mono",
//Color = new Color (0, 1, 0),
HorizontalAlignment = HorizontalAlignment.HA_CENTER,
VerticalAlignment = VerticalAlignm... | mit | C# |
a260afa58e7b0e5434d8498e03bf44d29b59c0b1 | Throw exceptions if CallbackContext ctor arguments are null | Miruken-DotNet/Miruken | Source/Miruken/Callback/CallbackContext.cs | Source/Miruken/Callback/CallbackContext.cs | namespace Miruken.Callback
{
using System;
using Policy.Bindings;
public class CallbackContext
{
public CallbackContext(
object callback, IHandler composer, MemberBinding binding)
{
Callback = callback ?? throw new ArgumentNullException(nameof(callback));
... | namespace Miruken.Callback
{
using Policy.Bindings;
public class CallbackContext
{
public CallbackContext(
object callback, IHandler composer, MemberBinding binding)
{
Callback = callback;
Composer = composer;
Binding = binding;
}
... | mit | C# |
2e0ca4e959a1c5c0312aba0e2993dc3fb4284402 | add a string test | TestFirstNet/TestFirst.Net,activelylazy/TestFirst.Net,TestFirstNet/TestFirst.Net,activelylazy/TestFirst.Net | TestFirst.Net.Tests/Matcher/AnArrayTest.cs | TestFirst.Net.Tests/Matcher/AnArrayTest.cs | using NUnit.Framework;
using TestFirst.Net.Matcher;
using System;
namespace TestFirst.Net.Test.Matcher
{
[TestFixture]
public class AnArrayTest : BaseMatcherTest
{
[Test]
public void EqualTo()
{
AssertPasses((byte[])null, AnArray.EqualTo((byte[])null));
Asse... | using NUnit.Framework;
using TestFirst.Net.Matcher;
namespace TestFirst.Net.Test.Matcher
{
[TestFixture]
public class AnArrayTest : BaseMatcherTest
{
[Test]
public void EqualTo()
{
AssertPasses((byte[])null, AnArray.EqualTo((byte[])null));
AssertPasses(new b... | bsd-2-clause | C# |
ac5ac697599a524914222ec0940adca3d2ece422 | Allow overriding ReadFile.Name | nano-byte/common,nano-byte/common | src/Common/Storage/ReadFile.cs | src/Common/Storage/ReadFile.cs | // Copyright Bastian Eicher
// Licensed under the MIT License
using System;
using System.ComponentModel;
using System.IO;
using NanoByte.Common.Properties;
using NanoByte.Common.Streams;
using NanoByte.Common.Tasks;
using NanoByte.Common.Threading;
namespace NanoByte.Common.Storage
{
/// <summary>
... | // Copyright Bastian Eicher
// Licensed under the MIT License
using System;
using System.ComponentModel;
using System.IO;
using NanoByte.Common.Properties;
using NanoByte.Common.Streams;
using NanoByte.Common.Tasks;
using NanoByte.Common.Threading;
namespace NanoByte.Common.Storage
{
/// <summary>
... | mit | C# |
63e3c3eb82c5ae7b28c372c9518331606413ec55 | add AllowPartiallyTrustedCallersAttribute to assembly (#110) | Microsoft/Microsoft.IO.RecyclableMemoryStream,maxwellb/Microsoft.IO.RecyclableMemoryStream | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an a... | using System;
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: Ass... | mit | C# |
31f6ebdf1dc92b3dba34bef4640839cb6c3fd5e2 | Copy dummy dll to x86 directories | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | build.cake | build.cake | #tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./Bugsnag.Unity.sln");
var configuration = Argument("configuration", "Release");
var outputPath = Argument<string>("output", "C:/Users/marti/Documents/bugsnag-unity-test");
Task("Restore-NuGet-Packages")
.D... | #tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./Bugsnag.Unity.sln");
var configuration = Argument("configuration", "Release");
var outputPath = Argument<string>("output", "C:/Users/marti/Documents/bugsnag-unity-test");
Task("Restore-NuGet-Packages")
.D... | mit | C# |
3a4efce010c1d27c55e0454ecfb2601a87c88974 | add codecover | rmterra/NesZord | build.cake | build.cake | #addin Cake.Coveralls
#tool "xunit.runner.console"
#tool "nuget:?package=OpenCover"
#tool coveralls.io
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var outDir = "./artifacts";
var solution = "./src/NesZord.sln";
var testProjects = $"./src/**/bin/{configuration... | #addin Cake.Coveralls
#tool "xunit.runner.console"
#tool coveralls.io
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var outDir = "./artifacts";
var solution = "./src/NesZord.sln";
var testProjects = $"./src/**/bin/{configuration}/*.Tests.New.dll";
Task("Restor... | apache-2.0 | C# |
6cfdc2a1b5f40476931d4178d6cb578a55fc2652 | Add configuration arg | Redth/Cake.Android.Adb | build.cake | build.cake | #tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0
var sln = "./Cake.Android.Adb.sln";
var nuspec = "./Cake.Android.Adb.nuspec";
var target = Argument ("target", "all");
var configuration = Argument ("configuration", "Release");
var NUGET_VERSION = Argument("nugetversion", "0.9999");
var SDK_URL_BASE = "https:/... | #tool nuget:?package=NUnit.ConsoleRunner&version=3.6.0
var sln = "./Cake.Android.Adb.sln";
var nuspec = "./Cake.Android.Adb.nuspec";
var target = Argument ("target", "all");
var NUGET_VERSION = Argument("nugetversion", "0.9999");
var SDK_URL_BASE = "https://dl.google.com/android/repository/tools_r{0}-{1}.zip";
var ... | mit | C# |
5d033f123bb6b94ac00d17b09a2612cfe706f8e0 | optimize imports | invisiblecloud/InvoiceCaptureLib | test/Model/FindDebtsTest.cs | test/Model/FindDebtsTest.cs | using System;
using InvisibleCollectorLib.Model;
using NUnit.Framework;
using test.Utils;
namespace test.Model
{
[TestFixture]
public class FindDebtsTest
{
[Test]
public void GetSendableStringDictionary_correct()
{
var findDebts = new FindDebts
{
... | using System;
using System.Collections.Generic;
using InvisibleCollectorLib.Model;
using NUnit.Framework;
using test.Utils;
using InvisibleCollectorLib.Utils;
namespace test.Model
{
[TestFixture]
public class FindDebtsTest
{
[Test]
public void GetSendableStringDictionary_correct()
{... | mit | C# |
435f0cf2bbc0c83ba8073bd086887e696a05c007 | Make IsExternalInit internal (#2513) | joemcbride/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet | src/GraphQL.Tests/IsExternalInit.cs | src/GraphQL.Tests/IsExternalInit.cs | #if !NET5
using System.ComponentModel;
namespace System.Runtime.CompilerServices
{
/// <summary>
/// Reserved to be used by the compiler for tracking metadata.
/// This class should not be used by developers in source code.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
internal ... | #if !NET5
using System.ComponentModel;
namespace System.Runtime.CompilerServices
{
/// <summary>
/// Reserved to be used by the compiler for tracking metadata.
/// This class should not be used by developers in source code.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public st... | mit | C# |
db1b82e2dc0dbdd946ba186e6f5a5085ad06811d | Fix for Issue #8 | CaptiveAire/Seq.App.YouTrack | src/Helpers/UriBuilderExtensions.cs | src/Helpers/UriBuilderExtensions.cs | // Copyright 2014-2017 CaptiveAire Systems
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | // Copyright 2014-2017 CaptiveAire Systems
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | apache-2.0 | C# |
679dba7531d3be10b387203c9a9f350f39ea3a8a | Add guard for runtimes that support large arrays (#36883) | ericstj/corefx,BrennanConroy/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,Vik... | src/System.IO/tests/MemoryStream/MemoryStream.ConstructorTests.cs | src/System.IO/tests/MemoryStream/MemoryStream.ConstructorTests.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 Xunit;
namespace System.IO.Tests
{
public class MemoryStream_ConstructorTests
{
[Theory]
... | // 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 Xunit;
namespace System.IO.Tests
{
public class MemoryStream_ConstructorTests
{
[Theory]
... | mit | C# |
3db43c9edd110596f0790cf5549271445ae99002 | Add external_id to customer | open-pay/openpay-dotnet | Openpay/Entities/Customer.cs | Openpay/Entities/Customer.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Openpay.Entities
{
public class Customer : OpenpayResourceObject
{
[JsonProperty(PropertyName = "name")]
public String Name { get; set; }
[JsonProperty(PropertyName =... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Openpay.Entities
{
public class Customer : OpenpayResourceObject
{
[JsonProperty(PropertyName = "name")]
public String Name { get; set; }
[JsonProperty(PropertyName =... | apache-2.0 | C# |
213ca3bc11793f16eeec621e8f683de08ca4387c | Update SymbolicLinkReparseData.cs | michaelmelancon/symboliclinksupport | SymbolicLinkSupport/SymbolicLinkReparseData.cs | SymbolicLinkSupport/SymbolicLinkReparseData.cs | using System.Runtime.InteropServices;
namespace SymbolicLinkSupport
{
/// <remarks>
/// Refer to http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012%28v=vs.85%29.aspx
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
internal struct SymbolicLinkReparseData
{
private co... | using System.Runtime.InteropServices;
namespace SymbolicLinkSupport
{
/// <remarks>
/// Refer to http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012%28v=vs.85%29.aspx
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
internal struct SymbolicLinkReparseData
{
// Not cer... | mit | C# |
396c03af43753691600bc8e5f0712c39c44f79eb | Test now can run with Mongodb password protected | selganor74/Jarvis.Framework,selganor74/Jarvis.Framework,ProximoSrl/Jarvis.Framework,selganor74/Jarvis.Framework | Jarvis.Framework.Tests/GlobalTestInit.cs | Jarvis.Framework.Tests/GlobalTestInit.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[SetUpFixture]
public class GlobalSetup
{
[SetUp]
public void Global_initialization_of_all_tests()
{
var overrideTestDb = Environm... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[SetUpFixture]
public class GlobalSetup
{
[SetUp]
public void ShowSomeTrace()
{
var overrideTestDb = Environment.GetEnvironmentVar... | mit | C# |
276f5eba60fe42b936301e380b77f0a99a2d3469 | Update Run.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | LoginPasswordUtil/C-Sharp-Version/Run.cs | LoginPasswordUtil/C-Sharp-Version/Run.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | apache-2.0 | C# |
6e4f7b40718a7cf6cca0afd0595a637dbc39cac8 | bump version to 2.2.1 | piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker,piwik/piwik-dotnet-tracker | Piwik.Tracker/Properties/AssemblyInfo.cs | Piwik.Tracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PiwikTracker")]
[assembly: Assembl... | bsd-3-clause | C# |
288c3ed3169ab0d400ff2c31d929c2155f3ad945 | Correct version | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/Properties/AssemblyInfo.cs | R7.University/Properties/AssemblyInfo.cs | using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("R7.University")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("R7.Labs")]
... | using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("R7.University")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("R7.Labs")]
... | agpl-3.0 | C# |
9ac7e19319da95c7f1d5752103785a7de32c8866 | Add error handling | vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary | CSGL.Vulkan/VkEvent.cs | CSGL.Vulkan/VkEvent.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class VkEvent : IDisposable, INative<Unmanaged.VkEvent> {
Unmanaged.VkEvent _event;
bool disposed;
public Unmanaged.VkEvent Native {
get {
return _event;
}
}
... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class VkEvent : IDisposable, INative<Unmanaged.VkEvent> {
Unmanaged.VkEvent _event;
bool disposed;
public Unmanaged.VkEvent Native {
get {
return _event;
}
}
... | mit | C# |
91a0b54c819914d1a2b620983f7ad80a777ff968 | Support TLS 1.2 | Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/Deliver-Dancing-Goat-.NET-MVC,Kentico/cloud-sample-app-net,Kentico/cloud-sample-app-net | DancingGoat/Startup.cs | DancingGoat/Startup.cs | using Microsoft.Owin;
using Owin;
using System.Net;
[assembly: OwinStartupAttribute(typeof(DancingGoat.Startup))]
namespace DancingGoat
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
// .NET Framework 4.6.1 and lower does not support TLS 1.2 as the d... | using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(DancingGoat.Startup))]
namespace DancingGoat
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
}
}
} | mit | C# |
621e8f4e29b551d3244c51d0e21e8c81c4158f4f | Update GameManager.cs | kinifi/framework-unity | Singletons/GameManager.cs | Singletons/GameManager.cs | /*
* Game Manager
* Use variables and methods between scenes here
*
*/
/// Note: that the more namespaces we use the more loading this screen has to do
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System;
using System.Collections;
using System.Collections.Generic;
public cla... | /*
* Game Manager
* This is how we will save our persistent data such as:
* Logged in save data from a json file and assigning variables which we access in game
* With this Singleton we can store data we need for later use
* Example on how to use: GameManager.Instance.[Variable Name / Method Name]
* Method... | mit | C# |
3fdb5c75b7ed69f98a4aaae4900084907075adf9 | fix merge | Goz3rr/SkypeSharp | SkypeSharp/SkypeObject.cs | SkypeSharp/SkypeObject.cs | using System;
namespace SkypeSharp {
public class SkypeErrorException : Exception {
public SkypeErrorException() {}
public SkypeErrorException(string message) : base(message) {}
}
/// <summary>
/// Class for representing Skype API objects, provides Get and Set methods for properti... | using System;
namespace SkypeSharp {
public class SkypeErrorException : Exception {
public SkypeErrorException() {}
public SkypeErrorException(string message) : base(message) {}
}
/// <summary>
/// Class for representing Skype API objects, provides Get and Set methods for properti... | mit | C# |
5d62612711dbda536a999da67a8f46d63026b203 | Add HasProperty method | yishn/GTPWrapper | GTPWrapper/Sgf/Node.cs | GTPWrapper/Sgf/Node.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF node.
/// </summary>
public class Node {
/// <summary>
/// The property list of the node.
/// </summary>
public List<SgfPr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GTPWrapper.Sgf {
/// <summary>
/// Represents a SGF node.
/// </summary>
public class Node {
/// <summary>
/// The property list of the node.
/// </summary>
public List<SgfPr... | mit | C# |
543e1d472bf6538ec8d12235a8858c4d6978d95a | Update score manager to use UI's text | virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 | Assets/Scripts/ScoreManager.cs | Assets/Scripts/ScoreManager.cs | using UnityEngine;
using UnityEngine.UI;
namespace WhoaAlgebraic
{
public class ScoreManager : MonoBehaviour
{
public static int score; // The player's score.
public Text text; // Reference to the Text component.
void Awake()
{
// Res... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
namespace WhoaAlgebraic
{
public class ScoreManager : MonoBehaviour
{
public static int score; // The player's score.
Text text; // Reference to the Text component.
void Awake()
{... | mit | C# |
68a6a7f886ec5b27e45b10f23839a496ba9cbea7 | Fix syntax so that its compatible with .net 3.5 | sreal/bounce,socialdotcom/bounce,sreal/bounce,refractalize/bounce,socialdotcom/bounce,refractalize/bounce,refractalize/bounce,sreal/bounce,socialdotcom/bounce,socialdotcom/bounce | Bounce.Framework/GitCommand.cs | Bounce.Framework/GitCommand.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace Bounce.Framework {
class GitCommand : IGitCommand {
public void Pull(string workingDirectory, ILog log, IBounce bounce)
{
using (new DirectoryChange(workingDirectory)) {
... | using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace Bounce.Framework {
class GitCommand : IGitCommand {
public void Pull(string workingDirectory, ILog log, IBounce bounce)
{
using (new DirectoryChange(workingDirectory)) {
... | bsd-2-clause | C# |
40f6efa651fd8483c40c3236b363992aedd580de | Improve code | sakapon/KLibrary.Linq | KLibrary4/Linq/Linq/Comparison.cs | KLibrary4/Linq/Linq/Comparison.cs | using System;
using System.Collections.Generic;
namespace KLibrary.Linq
{
public static class Comparison
{
public static IComparer<T> CreateComparer<T>(Func<T, T, int> compare) =>
new DelegateComparer<T>(compare);
public static IEqualityComparer<T> CreateEqualityComparer... | using System;
using System.Collections.Generic;
namespace KLibrary.Linq
{
public static class Comparison
{
public static IComparer<T> CreateComparer<T>(Func<T, T, int> compare)
{
return new DelegateComparer<T>(compare);
}
public static IEqualityComparer... | mit | C# |
4437e85045e64c02be1c3c577ac1b1667d394666 | update Program.cs | xianrendzw/CodeBuilder | CodeBuilder.WinForm/Program.cs | CodeBuilder.WinForm/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CodeBuilder.WinForm
{
using Configuration;
using Properties;
using UI;
using Util;
static class Program
{
static Logger logger = InternalTrace.GetLogger(typeof(Program));
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CodeBuilder.WinForm
{
using Configuration;
using Properties;
using UI;
using Util;
static class Program
{
static Logger logger = InternalTrace.GetLogger(typeof(Program));
... | mit | C# |
c719f0f2b9428497511fd50bc91c1aff8e5e1db0 | Fix area source | stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing | src/RestfulRouting/RouteDebugController.cs | src/RestfulRouting/RouteDebugController.cs | using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Routing;
using System.Linq;
namespace RestfulRouting
{
public class RouteDebugController : Controller
{
public ActionResult Index()
{
var model = new RouteDebugViewModel{RouteInfos = new List<RouteInfo>()};
foreach (var route in Route... | using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Routing;
using System.Linq;
namespace RestfulRouting
{
public class RouteDebugController : Controller
{
public ActionResult Index()
{
var model = new RouteDebugViewModel{RouteInfos = new List<RouteInfo>()};
foreach (var ro... | mit | C# |
4fb5092b990c5ccf3df235b3004b54a919366122 | Remove debug code | niik/RxSpy | RxSpy.TestConsole/Program.cs | RxSpy.TestConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using RxSpy.Utils;
namespace RxSpy.TestConsole
{
class Program
{
[DebuggerDisplay("{foo,nq}")]
class Dummy
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using RxSpy.Utils;
namespace RxSpy.TestConsole
{
class Program
{
[DebuggerDisplay("{foo,nq}")]
class Dummy
{
... | mit | C# |
524ea823e67e09a4ff154f5ac95d77c3718742bc | Remove IDeserializer from ApiBase | jzebedee/lcapi | LCAPI/LCAPI/ApiBase.cs | LCAPI/LCAPI/ApiBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using LCAPI.JSON;
using LCAPI.REST;
namespace LendingClub
{
public abstract class ApiBase
{
public static string Version { get; } = "v1";
public static str... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using LCAPI.JSON;
using LCAPI.REST;
namespace LendingClub
{
public abstract class ApiBase
{
public static string Version { get; } = "v1";
public static str... | agpl-3.0 | C# |
7334b74b39b4eaebeaa0dfd15fa93ac6562e369e | Change Camera Sensitivity | ReiiYuki/KU-Structure | Assets/Scripts/UtilityScript/CameraZoomer.cs | Assets/Scripts/UtilityScript/CameraZoomer.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoomer : MonoBehaviour {
public float orthoZoomSpeed = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraZoomer : MonoBehaviour {
public float orthoZoomSpeed = 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000... | mit | C# |
9462b9e2030ea8e0ffca9d4b1a4c5ec3e4b22236 | Make OutputConfig data readonly from outside | protyposis/Aurio,protyposis/Aurio | AudioAlign/AudioAlign.FFmpeg/OutputConfig.cs | AudioAlign/AudioAlign.FFmpeg/OutputConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AudioAlign.FFmpeg {
[StructLayout(LayoutKind.Sequential)]
public struct OutputFormat {
public int sample_rate { get; internal set; }
public int sample_size { g... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace AudioAlign.FFmpeg {
[StructLayout(LayoutKind.Sequential)]
public struct OutputFormat {
int sample_rate;
int sample_size;
int channels;
}
[Stru... | agpl-3.0 | C# |
b9056a59980ed7bccefd102b56d99fc1ebc02aea | make Command not a public class | rit-sse-mycroft/core | Mycroft/Cmd/Command.cs | Mycroft/Cmd/Command.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd
{
abstract class Command
{
/// <summary>
/// Parses a Mycroft command from a JSON object
/// </summary>
/// <returns>
/// Returns th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd
{
public abstract class Command
{
/// <summary>
/// Parses a Mycroft command from a JSON object
/// </summary>
/// <returns>
/// Ret... | bsd-3-clause | C# |
a22a1c46f44f6db2e3fc2cc29671db0e0481f07a | Add GameTree.ToBoardList Go extension | yishn/GTPWrapper | GTPWrapper/Sgf/GoExtensions.cs | GTPWrapper/Sgf/GoExtensions.cs | using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.Sgf {
/// <summary>
/// Provides SGF extension methods for the game of Go.
/// </summary>
public static class GoExtensions {
/// ... | using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.Sgf {
/// <summary>
/// Provides SGF extension methods for the game of Go.
/// </summary>
public static class GoExtensions {
/// ... | mit | C# |
1fb978b5ae9c58cb0a371c865c0b400b25530855 | Update the sample to listen on root addresses instead of a specific path. | Distribyte/Samples,Distribyte/Samples | Glitter/StaticFilesEndpoint.cs | Glitter/StaticFilesEndpoint.cs | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Samples.Glitter
{
[ServiceContract]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
publ... | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.ServiceModel;
using System.ServiceModel.Web;
namespace Samples.Glitter
{
[ServiceContract]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
publ... | mit | C# |
fdc1bfdaf604e3d859f3d3885ffe25cd09a2a6d4 | Order by average latency. | uoinfusion/Infusion | Infusion.Proxy/LatencyMeter.cs | Infusion.Proxy/LatencyMeter.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Infusion.Packets;
namespace Infusion.Proxy
{
public class LatencyMeter
{
private readonly object measurementLock = new object();
public LatencyMeasurement OverallMeasurement { get; } = new Latenc... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Infusion.Packets;
namespace Infusion.Proxy
{
public class LatencyMeter
{
private readonly object measurementLock = new object();
public LatencyMeasurement OverallMeasurement { get; } = new Latenc... | mit | C# |
2ecd474c8048687c061dc5b6065d099106187595 | Fix test which is incorrect under x64, highlighted by previous commit | alex-davidson/clrspy | ClrSpy.UnitTests/Native/PointerUtilsTests.cs | ClrSpy.UnitTests/Native/PointerUtilsTests.cs | using System;
using System.Collections.Generic;
using ClrSpy.Native;
using NUnit.Framework;
namespace ClrSpy.UnitTests.Native
{
[TestFixture]
public class PointerUtilsTests
{
public static IEnumerable<LongToIntPtrCase> LongToIntPtrCases
{
get
{
... | using System;
using ClrSpy.Native;
using NUnit.Framework;
namespace ClrSpy.UnitTests.Native
{
[TestFixture]
public class PointerUtilsTests
{
[TestCase(0x07fffffffL, Int32.MaxValue)]
[TestCase(0x080000000L, Int32.MinValue)]
[TestCase(0x000000001L, 1)]
[TestCase(0... | unlicense | C# |
ebf7e2627293368a847dca7da7a1f699cdf963ae | Update version | RainwayApp/warden | Warden/Properties/AssemblyInfo.cs | Warden/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: AssemblyTit... | 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: AssemblyTit... | apache-2.0 | C# |
f4a99dd3f5ff590c8cdbc3011aa665994bf1c9ca | Revert bom checking (unity fails too) | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Yaml/Psi/UnityFileSystemPathExtension.cs | resharper/resharper-unity/src/Yaml/Psi/UnityFileSystemPathExtension.cs | using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi
{
public static class UnityFileSystemPathExtension
{
public static bool SniffYamlHeader(this FileSystemPath sourceFile)
{
var isYaml = sourceFile.ReadBinaryStream(reader =>
{
var h... | using System;
using System.IO;
using System.Text;
using JetBrains.Util;
using JetBrains.Util.Logging;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Psi
{
public static class UnityFileSystemPathExtension
{
private static readonly ILogger ourLogger = Logger.GetLogger("UnityFileSystemPathExtension");
... | apache-2.0 | C# |
a63bf53f26425a26927cd21a7eaa3e563f6f8174 | update api key | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/www/Views/Shared/_js_GoogleMaps.cshtml | src/www/Views/Shared/_js_GoogleMaps.cshtml | <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA50h7G5fm_83lh460EnOdabUC9zU8XF7A"></script>
| <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyApOebVp_zm36MVb9cKDqrI1j1yK2JagBc"></script>
| mit | C# |
d75a8514660f7542d02d86be51a297b2c055e830 | Change License term | sailaopoeng/UnixTimeConverter | UnixTimeConverter/Properties/AssemblyInfo.cs | UnixTimeConverter/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("Un... | 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("Un... | mit | C# |
8832c39328f0dfe27814cf8563fea816eeb76993 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.55")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.54")] | mit | C# |
ee1f2c28ba5f46bbc17fa9a395981ef4d7b83e0a | Add debugger display attributes for repository actions | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Api.Common/Git/RepositoryActions/RepositoryActionConfiguration.cs | RepoZ.Api.Common/Git/RepositoryActions/RepositoryActionConfiguration.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace RepoZ.Api.Common.Git
{
public class RepositoryActionConfiguration
{
[JsonProperty("repository-actions")]
public List<RepositoryAction> RepositoryActions { get; set; } = new List<RepositoryAction>();
[JsonProperty("file-assoc... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace RepoZ.Api.Common.Git
{
public class RepositoryActionConfiguration
{
[JsonProperty("repository-actions")]
public List<RepositoryAction> RepositoryActions { get; set; } = new List<RepositoryAction>();
[JsonProperty("file-assoc... | mit | C# |
807db4fb0a23f66b6be8b2934d6a62d385c1ca6a | Remove exception to allow inlining of `Dispose` | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Platform/NativeMemoryTracker.cs | osu.Framework/Platform/NativeMemoryTracker.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 osu.Framework.Allocation;
using osu.Framework.Statistics;
namespace osu.Framework.Platform
{
/// <summary>
/// Track native memory allocation... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Allocation;
using osu.Framework.Statistics;
namespace osu.Framework.Platform
{
/// <summary>
/// Track nativ... | mit | C# |
04e75d8f2b19ab70dd32a49922dc1157e304fb2b | Return empty skin for `GetSkin()` in `TestWorkingBeatmap` | smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipooo/osu | osu.Game/Tests/Beatmaps/TestWorkingBeatmap.cs | osu.Game/Tests/Beatmaps/TestWorkingBeatmap.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Framework.Graphic... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.IO;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Graphics.Textures;
using osu.Game.Beatmaps;
using osu.Game.Storyboards;
... | mit | C# |
e87e4077e82ad92b1fc195df26ff87ee6d13099c | Add testability of dismissal | EVAST9919/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,2yangk23/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,2yangk23/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/o... | osu.Game.Tests/Visual/UserInterface/TestSceneBackButton.cs | osu.Game.Tests/Visual/UserInterface/TestSceneBackButton.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics.UserInterface;
using osuTK;
using osuT... | mit | C# |
801cc6ba372d5dbe648a340e520669a27602c88e | Bump version to v0.90.0 | igitur/ClosedXML,b0bi79/ClosedXML,ClosedXML/ClosedXML,jongleur1983/ClosedXML | ClosedXML/Properties/AssemblyVersionInfo.cs | ClosedXML/Properties/AssemblyVersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.90.0.0")]
[assembly: AssemblyFileVersion("0.90.0.0")]
[assembly: AssemblyInformationalVersion("0.9... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("0.90.0.0")]
[assembly: AssemblyFileVersion("0.90.0.0")]
[assembly: AssemblyInformationalVersion("0.9... | mit | C# |
feba3f1640c4dc812d145eb94a157e198ff7840b | Add PushNotification constructor overloads | xtralifecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,clanofthecloud/unity-sdk,xtralifecloud/unity-sdk | CotcSdk/HighLevel/Model/PushNotification.cs | CotcSdk/HighLevel/Model/PushNotification.cs | using System.Collections.Generic;
namespace CotcSdk {
/// @ingroup data_classes
/// <summary>
/// Push notifications can be specified in some API calls to push an OS push notification to inactive users.
/// It is typically a JSON with made of attributes which represent language -> message pairs.
/// Here is an ... |
namespace CotcSdk {
/// @ingroup data_classes
/// <summary>
/// Push notifications can be specified in some API calls to push an OS push notification to inactive users.
/// It is typically a JSON with made of attributes which represent language -> message pairs.
/// Here is an example: `new PushNotification().M... | mit | C# |
67ddef592c09079cfeba40573c4c27654fe1040e | Add IsFavourite and IsRead to Item.cs | wangjun/windows-app,wangjun/windows-app | wallabag/wallabag.Shared/Models/Item.cs | wallabag/wallabag.Shared/Models/Item.cs | using System;
namespace wallabag.Models
{
public class Item
{
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
public bool IsRead { get; set; }
public bool IsFavourite { get; set; }
}
}
| using System;
namespace wallabag.Models
{
public class Item
{
public string Title { get; set; }
public string Content { get; set; }
public Uri Url { get; set; }
}
}
| mit | C# |
0e6560089f9e346c333a201eef072fc8c04c3e32 | Update AssemblyInfo.cs | NLog/NLog.ManualFlush | NLog.ManualFlush/Properties/AssemblyInfo.cs | NLog.ManualFlush/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("NL... | 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("NL... | apache-2.0 | C# |
b4a127cb2faad291b2c083991e47b8a2a9349900 | Rearrange order of ignoreroutes call | gregmac/NServiceMVC.Examples.Todomvc,gregmac/NServiceMVC.Examples.Todomvc | NServiceMVC.Examples.Todomvc/Global.asax.cs | NServiceMVC.Examples.Todomvc/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace NServiceMVC.Examples.Todomvc
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace NServiceMVC.Examples.Todomvc
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
publ... | mit | C# |
7e6d4aae11984b640a70f213b4f89a98c69d4f7b | fix tests | justcoding121/Algorithm-Sandbox,justcoding121/Advanced-Algorithms | Advanced.Algorithms.Tests/DataStructures/Tree/TestHelpers/BinarySearchTreeTester.cs | Advanced.Algorithms.Tests/DataStructures/Tree/TestHelpers/BinarySearchTreeTester.cs | using Advanced.Algorithms.DataStructures.Tree;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Advanced.Algorithms.Tests.DataStructures.Tree.TestHelpers
{
public class BinarySearchTreeTester<T> where T:IComparable
{
public ... | using Advanced.Algorithms.DataStructures.Tree;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Advanced.Algorithms.Tests.DataStructures.Tree.TestHelpers
{
public class BinarySearchTreeTester<T> where T:IComparable
{
public ... | mit | C# |
7118601f4c3f899c43de0cbd98aa113d50275067 | Correct the spelling of 'EnableEndpointRouting' | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Analyzers/Analyzers/src/StartupAnalyzer.Diagnostics.cs | src/Analyzers/Analyzers/src/StartupAnalyzer.Diagnostics.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.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.AspNetCore.Analyzers
{... | // 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.Collections.Immutable;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.AspNetCore.Analyzers
{... | apache-2.0 | C# |
edc581449413f80124e663ee8cdea46b72416682 | Update BufferedStream.cs | 111WARLOCK111/Craft.Net,SirCmpwn/Craft.Net,samuto/Craft.Net,darkcrash/Craft.Net,icedream/Craft.Net,Geptun/Chuckle.net | source/Craft.Net.Networking/BufferedStream.cs | source/Craft.Net.Networking/BufferedStream.cs | using System;
using System.IO;
namespace Craft.Net.Networking
{
// This is not strictly needed, but I prefer to write my packets all at once, instead
// of field by field.
// TODO: See if we can't just use System.IO.BufferedStream
/// <summary>
/// Queues all writes until Stream.Flush() is called.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Craft.Net.Networking
{
// This is not strictly needed, but I prefer to write my packets all at once, instead
// of field by field.
// TODO: See if we can't just use System.IO.BufferedStream
... | mit | C# |
d2f906e8a84e0971550aba5b7cc1d90d549bb3cc | fix location | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/Powershellcity.cs | src/Firehose.Web/Authors/Powershellcity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class XajuanSmith : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Xajuan";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class XajuanSmith : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Xajuan";
... | mit | C# |
fdc4118a57633ac85a9c97c0f4f1bcc9efc0f631 | fix comparison | geeklearningio/gl-dotnet-domain | src/GeekLearning.Domain.Primitives/Date.cs | src/GeekLearning.Domain.Primitives/Date.cs | namespace GeekLearning.Domain
{
using System;
using System.Globalization;
public struct Date
{
public Date(int year, int month, int day)
{
DateTime = new DateTime(year, month, day);
Month = month;
Day = day;
Year = year;
}
... | namespace GeekLearning.Domain
{
using System;
using System.Globalization;
public struct Date
{
public Date(int year, int month, int day)
{
DateTime = new DateTime(year, month, day);
Month = month;
Day = day;
Year = year;
}
... | mit | C# |
3eca553aac763be73aa8f55c552804bc10fb0708 | make sure to register notification service | ucdavis/Badges,ucdavis/Badges | Badges/ComponentRegistrar.cs | Badges/ComponentRegistrar.cs | using Castle.Windsor;
using UCDArch.Core.CommonValidator;
using UCDArch.Core.DataAnnotationsValidator.CommonValidatorAdapter;
using UCDArch.Core.PersistanceSupport;
using UCDArch.Data.NHibernate;
using Castle.MicroKernel.Registration;
using Badges.Core.Repositories;
using Badges.Services;
namespace Badges
{
... | using Castle.Windsor;
using UCDArch.Core.CommonValidator;
using UCDArch.Core.DataAnnotationsValidator.CommonValidatorAdapter;
using UCDArch.Core.PersistanceSupport;
using UCDArch.Data.NHibernate;
using Castle.MicroKernel.Registration;
using Badges.Core.Repositories;
using Badges.Services;
namespace Badges
{
... | mpl-2.0 | C# |
7c5c8894949ed3f1f0630e9d2670a922c26a8061 | Fix RenderLayer resize. | jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Su... | src/Avalonia.Visuals/Rendering/RenderLayer.cs | src/Avalonia.Visuals/Rendering/RenderLayer.cs | using System;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
public class RenderLayer
{
private readonly IRenderLayerFactory _factory;
public RenderLayer(
IRenderLayerFactory factory,
Size size,
doub... | using System;
using Avalonia.Media;
using Avalonia.Platform;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
public class RenderLayer
{
private readonly IRenderLayerFactory _factory;
public RenderLayer(
IRenderLayerFactory factory,
Size size,
doub... | mit | C# |
0ea4201d08393983fdeee5ff840b57ce8a90f3fe | Use shared project for version | webprofusion/Certify,Prerequisite/Certify,ndouthit/Certify | src/Certify.Shared/Properties/AssemblyInfo.cs | src/Certify.Shared/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("Certif... | 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("Cer... | mit | C# |
e25b2d31284df7963662e2b2252c88f2426c6452 | Add CacheRegistry to IOC | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/DependencyResolution/IoC.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/DependencyResolution/IoC.cs | using SFA.DAS.Authorization;
using SFA.DAS.Authorization.Features;
using SFA.DAS.CommitmentsV2.Data;
using SFA.DAS.CommitmentsV2.DependencyResolution;
using SFA.DAS.CommitmentsV2.Shared.DependencyInjection;
using SFA.DAS.ReservationsV2.Api.Client.DependencyResolution;
using SFA.DAS.UnitOfWork.EntityFrameworkCore.Depen... | using SFA.DAS.Authorization;
using SFA.DAS.Authorization.Features;
using SFA.DAS.CommitmentsV2.Data;
using SFA.DAS.CommitmentsV2.DependencyResolution;
using SFA.DAS.CommitmentsV2.Shared.DependencyInjection;
using SFA.DAS.ReservationsV2.Api.Client.DependencyResolution;
using SFA.DAS.UnitOfWork.EntityFrameworkCore.Depen... | mit | C# |
78382d25ec8eb84e8ba7b1dcc5f80328f6c014df | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.OpenSavePidlMRU/ValuesOut.cs | RegistryPlugin.OpenSavePidlMRU/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.OpenSavePidlMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition,
DateTimeOffset? openedOn)
{
Extension = ... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.OpenSavePidlMRU
{
public class ValuesOut:IValueOut
{
public ValuesOut(string ext, string absolutePath, string details, string valueName, int mruPosition,
DateTimeOffset? openedOn)
{
Extension = ... | mit | C# |
b86af22c4d9b25739379036d936929c02e8ade64 | Fix inconsistent terminology name/key | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Framework.Localization.Abstractions/StringLocalizerOfT.cs | src/Microsoft.Framework.Localization.Abstractions/StringLocalizerOfT.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.Collections;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Framework.Internal;
namespace Microsoft.Fram... | // 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.Collections;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Framework.Internal;
namespace Microsoft.Fram... | apache-2.0 | C# |
1a0f824bc873c05e09e9f43e9e9760f74df29cab | Fix ImportEntityInfo.Entity: added missing setter. | quartz-software/kephas,quartz-software/kephas | src/Kephas.Data.IO/Import/ImportEntityInfo.cs | src/Kephas.Data.IO/Import/ImportEntityInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImportEntityInfo.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the proje... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImportEntityInfo.cs" company="Kephas Software SRL">
// Copyright (c) Kephas Software SRL. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the proje... | mit | C# |
426ad21fe39f9160b91d6e59059fc9ac87918a8c | set assembly version to 0.1.2 | jaceee/SQLiteMigrations | SQLiteMigrations/Properties/AssemblyInfo.cs | SQLiteMigrations/Properties/AssemblyInfo.cs | //
// AssemblyInfo.cs
//
// Author:
// Jonatan Cardona Casas <jace.casas@gmail.com>
//
// Copyright (c) 2017
//
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
... | //
// AssemblyInfo.cs
//
// Author:
// Jonatan Cardona Casas <jace.casas@gmail.com>
//
// Copyright (c) 2017
//
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
... | mit | C# |
104e445232bd1d9dbe4fe43fcad0e09f52e1146b | Make PagingRewriter internal because we do not want to change public API with minor releases. | fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,gliljas/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,nhibe... | src/NHibernate/Linq/GroupBy/PagingRewriter.cs | src/NHibernate/Linq/GroupBy/PagingRewriter.cs | using System.Linq;
using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Clauses.ResultOperators;
namespace NHibernate.Linq.GroupBy
{
internal static class PagingRewriter
{
private static readonly System.Type[] Pagi... | using System.Linq;
using NHibernate.Linq.Visitors;
using Remotion.Linq;
using Remotion.Linq.Clauses;
using Remotion.Linq.Clauses.Expressions;
using Remotion.Linq.Clauses.ResultOperators;
namespace NHibernate.Linq.GroupBy
{
public static class PagingRewriter
{
private static readonly System.Type[] Paging... | lgpl-2.1 | C# |
d15585153daf759289013bce8f06e32ada67a501 | Fix breadcrumb display in directory selector overlapping new "show hidden" button | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorBreadcrumbDisplay.cs | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorBreadcrumbDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserI... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserI... | mit | C# |
cc544403e2ec3c3fa0cb2fcfe337d16d758c13e1 | Fix stress test generator | ivaylo5ev/ink,inkle/ink,ghostpattern/ink,ivaylo5ev/ink,ghostpattern/ink,inkle/ink | inklecate/StressTestContentGenerator.cs | inklecate/StressTestContentGenerator.cs | using System.Text;
namespace Ink
{
internal class StressTestContentGenerator
{
public string content { get; private set; }
public int sizeInKiloChars { get { return content.Length / 1024; } }
public StressTestContentGenerator (int repetitions)
{
var initialContent = "VAR... | using System.Text;
namespace Ink
{
internal class StressTestContentGenerator
{
public string content { get; private set; }
public int sizeInKiloChars { get { return content.Length / 1024; } }
public StressTestContentGenerator (int repetitions)
{
var initialContent = "~ v... | mit | C# |
98a14358dca260023d947f82dbb40103278c32ba | Fix tests to pass with newer setup | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Xgminer.Discovery.Tests/MinerFinderTests.cs | MultiMiner.Xgminer.Discovery.Tests/MinerFinderTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Xgminer.Discovery.Tests
{
[TestClass]
public class MinerFinderTests
{
[TestMethod]
public void MinerFinder_FindsMiners()
{
const in... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Xgminer.Discovery.Tests
{
[TestClass]
public class MinerFinderTests
{
[TestMethod]
public void MinerFinder_FindsMiners()
{
const in... | mit | C# |
a24b74f8d60e89d5cc4954d2e2c62aaaf30271a4 | Remove old comment | nbarbettini/beautiful-rest-api-aspnetcore | src/BeautifulRestApi/TypeInfoAllMemberExtensions.cs | src/BeautifulRestApi/TypeInfoAllMemberExtensions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace BeautifulRestApi
{
public static class TypeInfoAllMemberExtensions
{
public static IEnumerable<ConstructorInfo> GetAllConstructors(this TypeInfo typeInfo)
=> GetAll(typeInfo, ti => ti.DeclaredConstructors);
... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace BeautifulRestApi
{
//todo remove?
public static class TypeInfoAllMemberExtensions
{
public static IEnumerable<ConstructorInfo> GetAllConstructors(this TypeInfo typeInfo)
=> GetAll(typeInfo, ti => ti.Decl... | apache-2.0 | C# |
74c7d9e67d6f09eb182d0765e808f8c01821e2b8 | Use WithChild | peppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipooo/osu | osu.Game.Rulesets.Mania/Mods/ManiaModHidden.cs | osu.Game.Rulesets.Mania/Mods/ManiaModHidden.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.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Ma... | // 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.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Mania.Objects;
using osu.Game.Rulesets.Ma... | mit | C# |
9966abf50fa97819b2cadcee908d3a1a14ecf4b1 | Remove unused control references | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Launchpad/ViewLaunchpad.ascx.controls.cs | R7.University.Launchpad/ViewLaunchpad.ascx.controls.cs | using System.Web.UI.WebControls;
namespace R7.University.Launchpad
{
public partial class ViewLaunchpad
{
protected MultiView multiView;
protected LinkButton linkPositions;
protected LinkButton linkDivisions;
protected LinkButton linkEmployees;
protected HyperLink linkA... | using System.Web.UI.WebControls;
namespace R7.University.Launchpad
{
public partial class ViewLaunchpad
{
protected MultiView multiView;
protected LinkButton linkPositions;
protected LinkButton linkDivisions;
protected LinkButton linkEmployees;
protected HyperLink linkA... | agpl-3.0 | C# |
b8270259592d9ecd753441235fbd3f343540f711 | fix selection | conceptdev/xamarin-forms-samples,conceptdev/xamarin-forms-samples | RestaurantGuide/RestaurantGuide/RestaurantList.xaml.cs | RestaurantGuide/RestaurantGuide/RestaurantList.xaml.cs | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace RestaurantGuide
{
public partial class RestaurantList : ContentPage
{
public RestaurantList ()
{
InitializeComponent ();
}
public RestaurantList (List<Restaurant> r) : this()
{
listView.ItemsSource = r;
}
protecte... | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace RestaurantGuide
{
public partial class RestaurantList : ContentPage
{
public RestaurantList ()
{
InitializeComponent ();
}
//List<Restaurant> restaurants;
public RestaurantList (List<Restaurant> r) : this()
{
//rest... | mit | C# |
7f950f5fc70ab9560e8dd891232fe71aca090cc6 | refactor usings in mysql.data | nProdanov/Team-French-75 | TravelAgency/TravelAgency.MySqlData/MySqlModelMetadataSource.cs | TravelAgency/TravelAgency.MySqlData/MySqlModelMetadataSource.cs | using System.Collections.Generic;
using Telerik.OpenAccess.Metadata.Fluent;
namespace TravelAgency.MySqlData
{
public partial class MySqlModelMetadataSource : FluentMetadataSource
{
protected override IList<MappingConfiguration> PrepareMapping()
{
var configurations = new List<Map... | using System.Collections.Generic;
using Telerik.OpenAccess.Metadata.Fluent;
namespace TravelAgency.MySqlData
{
public partial class MySqlModelMetadataSource : FluentMetadataSource
{
protected override IList<MappingConfiguration> PrepareMapping()
{
var configurations = new List<Mapp... | mit | C# |
a37f2e1861b127919677fcb2826f902b8f962d1c | bump pre-release version | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.6.1.4")]
[assembly: AssemblyFileVersion("0.6.1.4")]
| using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("0.6.1.2")]
[assembly: AssemblyFileVersion("0.6.1.2")]
| unlicense | C# |
28bb575c9d574a6b780e598a3aad9f6d4d74c678 | Bump to next version | danbarua/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NEventSocket")]
[assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")]
[assembly: AssemblyCompany("Dan Barua")]
[assembly: AssemblyProduct("NEventSocket")]
[assembly: AssemblyCopyright("Copyright (C... | mpl-2.0 | C# |
27efe48d493d354770c648581fff1d177ca8ba28 | Clean code | WeihanLi/SparkTodo,WeihanLi/SparkTodo,WeihanLi/SparkTodo,WeihanLi/SparkTodo | SparkTodo.WebExtension/Program.cs | SparkTodo.WebExtension/Program.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using SparkTodo.DataAccess;
using SparkTodo.Models;
using SparkTodo.WebExtension;
using SparkTodo.WebExtension.Services;
var builder = WebAssemb... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using SparkTodo.DataAccess;
using SparkTodo.Models;
using SparkTodo.WebExtension.Services;
using WeihanLi.EntityFramework;
namespace SparkTodo.W... | mit | C# |
8d1bb3b29348e2b11897821bd16e56b092ed812e | Implement UnitTest for EditReport#InitializeForNewReportAsync. | ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.Model.Tests/EditReportTest.cs | client/BlueMonkey/BlueMonkey.Model.Tests/EditReportTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.Business;
using BlueMonkey.ExpenceServices;
using Moq;
using Xunit;
namespace BlueMonkey.Model.Tests
{
public class EditReportTest
{
[Fact]
public void Construct... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BlueMonkey.ExpenceServices;
using Moq;
using Xunit;
namespace BlueMonkey.Model.Tests
{
public class EditReportTest
{
[Fact]
public void Constructor()
{
... | mit | C# |
26e70e8f3b4ec39bbd4ebaaa0421e46b82e0ce2f | Fix spelling errors | dalealleshouse/TuringMachine | TuringMachine/Head.cs | TuringMachine/Head.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace TuringMachine
{
public class Head
{
public const char Blank = '_';
public Head(IEnumerable<char> tape, int headPosition)
{
if (tape == null) throw new ArgumentNullException(nameof(tape));
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace TuringMachine
{
public class Head
{
public const char Blank = '_';
public Head(IEnumerable<char> tape, int headPosition)
{
if (tape == null) throw new ArgumentNullException(nameof(tape));
... | unlicense | C# |
87426a000d28614a65b82843d1d9cf9d08c5e74d | Implement IDisposable on SetUp class in Specs | Myslik/opencat,Myslik/opencat | WebApp.Specs/SetUp.cs | WebApp.Specs/SetUp.cs | using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using MongoDB.Driver;
using NUnit.Framework;
using OpenCat;
namespace WebApp.Specs
{
[SetUpFixture]
public class SetUp : IDisposable
{
private Process iisexpress;
private string IISExpress
{
... | using System;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using MongoDB.Driver;
using NUnit.Framework;
using OpenCat;
namespace WebApp.Specs
{
[SetUpFixture]
public class SetUp
{
private Process iisexpress;
private string IISExpress
{
get
... | mit | C# |
fd90977dfc502ee784b28b05b552d5126a5b389c | Revert "Enabled cascading delete" | miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos | Infrastructure.DataAccess/Mapping/ItProjectStatusMap.cs | Infrastructure.DataAccess/Mapping/ItProjectStatusMap.cs | using Core.DomainModel.ItProject;
namespace Infrastructure.DataAccess.Mapping
{
public class ItProjectStatusMap : EntityMap<ItProjectStatus>
{
public ItProjectStatusMap()
{
// Table & Column Mappings
this.ToTable("ItProjectStatus");
this.HasOptional(t => t.... | using Core.DomainModel.ItProject;
namespace Infrastructure.DataAccess.Mapping
{
public class ItProjectStatusMap : EntityMap<ItProjectStatus>
{
public ItProjectStatusMap()
{
// Table & Column Mappings
this.ToTable("ItProjectStatus");
this.HasOptional(t => t.... | mpl-2.0 | C# |
7a918af827604f05a7342e761a04a11d379bca1d | Use language rather than platform type | unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl | MatterControlLib/PrinterCommunication/Io/SendProgressStream.cs | MatterControlLib/PrinterCommunication/Io/SendProgressStream.cs | /*
Copyright (c) 2019, Tyler Anderson, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions an... | /*
Copyright (c) 2015, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
3258a6dbe7e49fed219907b943b5d8381e9462cf | Add a much more accurate measuring system | peejster/Rover,jmservera/Rover | Rover/UltrasonicDistanceSensor.cs | Rover/UltrasonicDistanceSensor.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace Rover
{
public class UltrasonicDistanceSensor
{
private readonly GpioPin _gpioPinTrig;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace Rover
{
public class UltrasonicDistanceSensor
{
private readonly GpioPin _gpioPinTrig;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
private readonly GpioPi... | mit | C# |
6afadf197f23138b4df387cfb50d30ef46a678e6 | Fix for namespace collision. | kniteli/Pulsar4x,ProgrammerHero/Pulsar4x | Pulsar4X/Pulsar4X.Lib/Entities/StarSystem/Atmosphere.cs | Pulsar4X/Pulsar4X.Lib/Entities/StarSystem/Atmosphere.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pulsar4X.Entities
{
/// <summary>
/// The Atmosphere of a Planet or Moon.
/// @todo Make this a generic component.
/// </summary>
class Atmosphere
{
/// <summary>
/// Atmospheri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pulsar4X.Entities.StarSystem
{
/// <summary>
/// The Atmosphere of a Planet or Moon.
/// @todo Make this a generic component.
/// </summary>
class Atmosphere
{
/// <summary>
///... | mit | C# |
5de271b25f8aba5ec4e3ffe63f5be6031a255456 | add missing model: FeedPackageFilter | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/FeedPackageFilter.cs | src/ProGet.Net/Native/Models/FeedPackageFilter.cs | // ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class FeedPackageFilter
{
public int Feed_Id { get; set; }
public int Sequence_Number { get; set; }
public string PackageFilter_Name { get; set; }
public string PackageFilter_Configuration { get... | namespace ProGet.Net.Native.Models
{
public class FeedPackageFilter
{
}
}
| mit | C# |
f9098220e84037d0c609b78c11f0670c092a4fd1 | Update QRUtils.cs | HouseBreaker/Shameless | Shameless/QRGeneration/QRUtils.cs | Shameless/QRGeneration/QRUtils.cs | namespace Shameless.QRGeneration
{
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ZXing;
using ZXing.Common;
public static class QrUtils
{
public static QrResult MakeUrlIntoQrCode(string url)
{
va... | namespace Shameless.QRGeneration
{
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using ZXing;
using ZXing.Common;
public static class QrUtils
{
public static QrResult MakeUrlIntoQrCode(string url)
{
va... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.