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 |
|---|---|---|---|---|---|---|---|---|
b032d70f0b13dc3e69212668c0bb48087d4ee47d | Update AssemblyInfo.cs | DoubleLinePartners/ObjectFiller.NET,blmeyers/ObjectFiller.NET,Tynamix/ObjectFiller.NET,HerrLoesch/ObjectFiller.NET | ObjectFiller/Properties/AssemblyInfo.cs | ObjectFiller/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("ObjectFiller.NET")]
[assem... | using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("ObjectFiller.NET")]
[asse... | mit | C# |
6d2e0b4cd3700a50508bd416290b6866f3ca0314 | add remote class to sandbox | tarik-s/Meticulous,tarik-s/Basis | SandBoxes/Meticulous.SandBox/Program.cs | SandBoxes/Meticulous.SandBox/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Meticulous.Threading;
namespace Meticulous.SandBox
{
public sealed class Remote<T>
{
private T _value;
public Remote(T value)
{
_value = value;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Meticulous.Threading;
namespace Meticulous.SandBox
{
class Program
{
static void Main(string[] args)
{
using (var q = ExecutionQueue.Create())
{
... | mit | C# |
57fdc0dcb6a1cc85205304e7c4242e074feb6e81 | switch connection | jefking/King.Azure | King.Azure.Integration.Test/FileShareTests.cs | King.Azure.Integration.Test/FileShareTests.cs | namespace King.Azure.Integration.Test.Data
{
using System;
using System.Threading.Tasks;
using King.Azure.Data;
using NUnit.Framework;
[TestFixture]
public class FileShareTests
{
private const string ConnectionString = "DefaultEndpointsProtocol=https;AccountName=kingdottest;Account... | namespace King.Azure.Integration.Test.Data
{
using System;
using System.Threading.Tasks;
using King.Azure.Data;
using NUnit.Framework;
[TestFixture]
public class FileShareTests
{
private const string ConnectionString = "DefaultEndpointsProtocol=https;AccountName=kingdottest;Account... | apache-2.0 | C# |
844583240119bece45ae2d4be58b00677a354d80 | Disable multithreading | mstevenson/SeudoBuild | SeudoBuild.Agent/Builder.cs | SeudoBuild.Agent/Builder.cs | using SeudoBuild.Pipeline;
using System.Threading.Tasks;
namespace SeudoBuild.Agent
{
/// <summary>
/// Executes a build pipeline for a given project and target.
/// </summary>
public class Builder : IBuilder
{
/// <summary>
/// Indicates whether a build is current in-progress.
... | using SeudoBuild.Pipeline;
using System.Threading.Tasks;
namespace SeudoBuild.Agent
{
/// <summary>
/// Executes a build pipeline for a given project and target.
/// </summary>
public class Builder : IBuilder
{
/// <summary>
/// Indicates whether a build is current in-progress.
... | mit | C# |
a8342548c0c57de925001a67dc0ee9982f07d1b9 | increment cache version | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CacheVersion.cs | resharper/resharper-unity/src/CacheVersion.cs | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(18)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDele... | using JetBrains.Annotations;
using JetBrains.Application.PersistentMap;
using JetBrains.Serialization;
namespace JetBrains.ReSharper.Plugins.Unity
{
// Cache version
[PolymorphicMarshaller(17)]
public class CacheVersion
{
[UsedImplicitly] public static UnsafeReader.ReadDelegate<object> ReadDele... | apache-2.0 | C# |
e93d28957c8c217e0b4956eb9767452234f23a93 | Add convenience ctors to Div | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | Ooui/Div.cs | Ooui/Div.cs | using System;
using System.Collections.Generic;
namespace Ooui
{
public class Div : Element
{
public Div ()
: base ("div")
{
}
public Div (params Element[] children)
: this ()
{
foreach (var c in children) {
AppendChil... | using System;
namespace Ooui
{
public class Div : Element
{
public Div ()
: base ("div")
{
}
}
}
| mit | C# |
5514f3b6f9afac7de7e3053382ab7249e9624714 | Update BuyerOrderReferencedDocument.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRD/BuyerOrderReferencedDocument.cs | ZUGFeRD/BuyerOrderReferencedDocument.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace s2industries.ZUGFeRD
{
public class BuyerOrderReferencedDocument : BaseReferencedDocument
{
}
}
| apache-2.0 | C# |
3ae1a708a7d752fc17d4384ca2a1d122f21806e1 | Add example links to the design-time datacontext | indigotock/AboutDialog.WPF | AboutDialog.WPF/DesignVersionable.cs | AboutDialog.WPF/DesignVersionable.cs | using System;
using System.Collections.Generic;
using System.Windows.Media.Imaging;
using KyleHughes.AboutDialog.WPF.Properties;
namespace KyleHughes.AboutDialog.WPF
{
/// <summary>
/// A class for extracting data from an Assembly.
/// </summary>
internal sealed class DesignVersionable : IVersiona... | using System;
using System.Collections.Generic;
using System.Windows.Media.Imaging;
using KyleHughes.AboutDialog.WPF.Properties;
namespace KyleHughes.AboutDialog.WPF
{
/// <summary>
/// A class for extracting data from an Assembly.
/// </summary>
internal sealed class DesignVersionable : IVersiona... | mit | C# |
b228e5fd437208a341a2e1469c6846cde503386d | Prepare release 1.1.0.11 | physion/BarcodePrinter | BarcodePrinter/Properties/AssemblyInfo.cs | BarcodePrinter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
480244b4b4d50abb6632ec13abee15a48ca3d95c | Fix bug: properly create time span from seconds (not mod 60) | erooijak/MeditationTimer | src/Data/Settings.cs | src/Data/Settings.cs | using System;
using Rooijakkers.MeditationTimer.Data.Contracts;
namespace Rooijakkers.MeditationTimer.Data
{
/// <summary>
/// Stores settings data in local settings storage
/// </summary>
public class Settings : ISettings
{
private const string TIME_TO_GET_READY_IN_SECONDS_STORAGE = "Time... | using System;
using Rooijakkers.MeditationTimer.Data.Contracts;
namespace Rooijakkers.MeditationTimer.Data
{
/// <summary>
/// Stores settings data in local settings storage
/// </summary>
public class Settings : ISettings
{
private const string TIME_TO_GET_READY_IN_SECONDS_STORAGE = "Time... | mit | C# |
ca0f0e56a42816a37abd1cbff7c762a7e8a0fba8 | update version | slagou/HTML-Renderer,verdesgrobert/HTML-Renderer,drickert5/HTML-Renderer,windygu/HTML-Renderer,Perspex/HTML-Renderer,slagou/HTML-Renderer,ArthurHub/HTML-Renderer,todor-dk/HTML-Renderer,Perspex/HTML-Renderer,evitself/HTML-Renderer,tinygg/graphic-HTML-Renderer,todor-dk/HTML-Renderer,tinygg/graphic-HTML-Renderer,evitself/... | Source/HtmlRenderer/Properties/AssemblyInfo.cs | Source/HtmlRenderer/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("HTML Renderer")]
[assembly: AssemblyDescr... | 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("HTML Renderer")]
[assembly: AssemblyDescr... | bsd-3-clause | C# |
cfa0ef6fd9c410cf0f2d7c32c9613daf5c179e62 | convert field to a local variable | 2yangk23/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,johnneijzen/osu,johnneijzen/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,ppy/osu,UselessToucan/osu,Useless... | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | mit | C# |
ce5f474398aa02efaaffc2cfb9de37c47a28885a | Update summary. | PenguinF/sandra-three | Eutherion/Shared/Text/Json/IJsonSymbol.cs | Eutherion/Shared/Text/Json/IJsonSymbol.cs | #region License
/*********************************************************************************
* IJsonSymbol.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | #region License
/*********************************************************************************
* IJsonSymbol.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may o... | apache-2.0 | C# |
b08f870ad787dc3e00b21244a783fe5bf717d5de | Fix variable names in ListSerialization.cs | AndrewBaker/magecrawl,jeongroseok/magecrawl | Trunk/GameEngine/SaveLoad/ListSerialization.cs | Trunk/GameEngine/SaveLoad/ListSerialization.cs | using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.SaveLoad
{
public delegate void ReadListFromXMLCore(XmlReader reader);
internal static class ListSerialization
{
public static voi... | using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.SaveLoad
{
public delegate void ReadListFromXMLCore(XmlReader reader);
internal static class ListSerialization
{
public static vo... | bsd-2-clause | C# |
1dea8a9af6c05e9da9a6c9df1941742f1bfca5a0 | Add IfAllValidThenValid extension method | ahanusa/facile.net,peasy/Samples,peasy/Samples,peasy/Peasy.NET,ahanusa/Peasy.NET,peasy/Samples | Facile.Core/Extensions/IRuleExtensions.cs | Facile.Core/Extensions/IRuleExtensions.cs | using Facile.Core.Extensions;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Facile.Core
{
public static class IRuleExtensions
{
public static IEnumerable<ValidationResult> GetBusinessRulesResults(this IEnumerable<IRule> businessRules, strin... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Core.Extensions
{
public static class IRuleExtensions
{
public static IEnumerable<ValidationResult> GetBusinessRulesResults(... | mit | C# |
5d4fb1845db3bc203472c56656974dd80f41778d | Change indicator | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/Home/AdminHome.cshtml | CRP.Mvc/Views/Home/AdminHome.cshtml | @{
ViewBag.Title = "AdminHome";
}
@section NavButtons
{
<div class="pull-right">
@Html.Partial("_LogonPartial")
</div>
}
<div class="boundary">
<h2>Administration Tools</h2>
<p>
@Html.ActionLink("Items", "List", "ItemManagement", null, new { @class = "btn" })
... | @{
ViewBag.Title = "AdminHome";
}
@section NavButtons
{
<div class="pull-right">
@Html.Partial("_LogonPartial")
</div>
}
<div class="boundary">
<h2>Administration Tools</h2>
<p>
@Html.ActionLink("Items", "List", "ItemManagement", null, new { @class = "btn" })
... | mit | C# |
c42e9e46ea5ec4d706748bec89776951df5292d7 | Update AssemblyLoadContext ref assembly | shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,ViktorHofer/corefx,ericstj/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,BrennanConroy/corefx,wtgodbe/corefx,wtgodbe/corefx,BrennanConr... | src/System.Runtime.Loader/ref/System.Runtime.Loader.cs | src/System.Runtime.Loader/ref/System.Runtime.Loader.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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | // 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.
// ------------------------------------------------------------------------------
// Changes to this file must follow... | mit | C# |
b5c6d9905661303e20083a805be64b996e404a1c | Fix build warning | spritely/Configuration.Json | Configuration.Json.Test/JsonTest.cs | Configuration.Json.Test/JsonTest.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="JsonTest.cs">
// Copyright (c) 2015. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="JsonTest.cs">
// Copyright (c) 2015. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>... | mit | C# |
e1225e0dabdfc836b1b80a221fd6654c6bc60d5d | Add test | sakapon/Samples-2016,sakapon/Samples-2016 | MathSample/PropositionsConsole/Program.cs | MathSample/PropositionsConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Blaze.Propositions;
using static Blaze.Propositions.Formula;
namespace PropositionsConsole
{
class Program
{
static void Main(string[] args)
{
var p = Variable("P");
var q = Variable("... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PropositionsConsole
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
9baf42fcedc5acdad767dba1296475ba242d4925 | Address feedback. | kant2002/nodejstools,munyirik/nodejstools,mjbvz/nodejstools,AustinHull/nodejstools,Microsoft/nodejstools,paladique/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,lukedgr/nodejstools,AustinHull/nodejstools,mousetraps/nodejstools,paladique/nodejstools,avitalb/nodejstools,AustinHull/nodejstools,paladique/nodejst... | Nodejs/Tests/Core/Mocks/MockTextBuffer.cs | Nodejs/Tests/Core/Mocks/MockTextBuffer.cs | using System.IO;
using Microsoft.NodejsTools;
namespace NodejsTests.Mocks {
class MockTextBuffer : TestUtilities.Mocks.MockTextBuffer {
public MockTextBuffer(string content) : base(content: content, contentType: NodejsConstants.Nodejs) {
}
private static string GetRandomFileNameIfNull(s... | using Microsoft.NodejsTools;
namespace NodejsTests.Mocks {
class MockTextBuffer : TestUtilities.Mocks.MockTextBuffer {
public MockTextBuffer(string content) : base(content: content, contentType: NodejsConstants.Nodejs, filename: "file.js") {
}
}
}
| apache-2.0 | C# |
6d282e725f7f06207e29b19dc10513bdd12e581b | Update TestMongoEntity.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoEntity.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoEntity.cs | using System;
using MongoDB.Bson.Serialization.Attributes;
using TIKSN.Data;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoEntity : IEntity<Guid>
{
public Guid Value { get; set; }
public int Version { get; set; }
[BsonId] public Guid ID { get; set; }
... | using System;
using MongoDB.Bson.Serialization.Attributes;
using TIKSN.Data;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoEntity : IEntity<Guid>
{
public Guid Value { get; set; }
public int Version { get; set; }
[BsonId]
public Guid ID... | mit | C# |
80979133363e43453a67dce0ffd1e116c960be61 | bump version | raml-org/raml-dotnet-parser,raml-org/raml-dotnet-parser | source/RAML.Parser/Properties/AssemblyInfo.cs | source/RAML.Parser/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("RAM... | 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("RAM... | apache-2.0 | C# |
1d12581e06889b0bdff0b63de4f36a41185002d4 | Format RestoreObjectRequest | carbon/Amazon | src/Amazon.S3/Actions/RestoreObjectRequest.cs | src/Amazon.S3/Actions/RestoreObjectRequest.cs | using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
namespace Amazon.S3
{
public sealed class RestoreObjectRequest : S3Request
{
public RestoreObjectRequest(string host, string bucketName, string key)
: base(HttpMethod.Post, host, bucketNam... | using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
namespace Amazon.S3
{
public sealed class RestoreObjectRequest : S3Request
{
public RestoreObjectRequest(string host, string bucketName, string key)
: base(HttpMethod.Post, host, bucketNam... | mit | C# |
0ec7c11a90f6ec343752ea786a5adf4078c06f7c | implement CatchModRelax | NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,johnneijzen/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
u... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModRelax : ModRelax
{
public override string Description => @"U... | mit | C# |
8538ba1837e020809741261ae1f506f5e9883938 | Bump version to 13.0.0.27845 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | mit | C# |
22cfc334d7d5669705f5c9310bd981e83870208a | Bump version to 15.4.0.34670 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hea... | mit | C# |
c8f571bb66880273cc9380bc8caec1ceb2077b1a | Update version to v0.2.0 | dsarfati/OrleansTestKit | src/OrleansTestKit/Properties/AssemblyInfo.cs | src/OrleansTestKit/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("OrleansTestKit")]
[assembly: AssemblyDesc... | 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("OrleansTestKit")]
[assembly: AssemblyDesc... | mit | C# |
879bd263a182335e1ef57ed6b09983c08173d3f8 | Remove unnecessary 'using' | rongriffin/MassTransit.Host.RabbitMQ | MassTransit.Host.RabbitMQ/Program.cs | MassTransit.Host.RabbitMQ/Program.cs | // Copyright 2014 Ron Griffin, ...
//
// 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... | // Copyright 2014 Ron Griffin, ...
//
// 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... | apache-2.0 | C# |
db7a490d2ffda9c615c6312c232c7a22e0197142 | Update project properties | jaquadro/LilyPath | LilyPath/Properties/AssemblyInfo.cs | LilyPath/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System;
// 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... | 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("Li... | mit | C# |
0d76a8d4a887377a1d991ef01323e7846c05333c | Add a region tag for UploadImage(). | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/3-binary-data/Services/ImageUploader.cs | aspnet/3-binary-data/Services/ImageUploader.cs | // Copyright 2015 Google Inc.
//
// 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 agre... | // Copyright 2015 Google Inc.
//
// 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 agre... | apache-2.0 | C# |
1e0029db1e20cb1e72a5bc31bceb7c4471c59e10 | Test fixing | ghusse/MagicExpression | MagicExpression.Test/LiteralTest.cs | MagicExpression.Test/LiteralTest.cs | namespace MagicExpression.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LiteralTest : MagicTest
{
[TestInitialize]
public override void Setup()
{
base.Setup();
}
[TestMethod]
public void Literal()
{
this.Magic.Literal(@"[A-Z][a-z]*[\s][a-z]... | namespace MagicExpression.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class LiteralTest : MagicTest
{
[TestInitialize]
public override void Setup()
{
base.Setup();
}
[TestMethod]
public void Literal()
{
this.Magic.Literal(@"[A-Z][a-z]*[\w][a-z]... | mit | C# |
c13fe7f662a66767591a6a2f2d3adea1414fe9b4 | Prepare for next development iteration | richardlawley/NModbus4,NModbus/NModbus | NModbus4/Properties/AssemblyInfo.cs | NModbus4/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NModbus4")]
[assembly: AssemblyProduct("NModbus4")]
[assembly: AssemblyCompany("Maxwe11")]
[assembly: AssemblyCopyright("Licensed under MIT License.")]
[assembly: Assem... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NModbus4")]
[assembly: AssemblyProduct("NModbus4")]
[assembly: AssemblyCompany("Maxwe11")]
[assembly: AssemblyCopyright("Licensed under MIT License.")]
[assembly: Assem... | mit | C# |
081ba3eb88a6285192db71691f58d8d18380220e | Fix a typo | DotNetToscana/TranslatorService | Samples/NetCoreConsoleApp/Program.cs | Samples/NetCoreConsoleApp/Program.cs | using NetCoreConsoleApp;
using System;
using System.IO;
using TranslatorService;
using TranslatorService.Models.Speech;
// Initializes the speech client.
using var speechClient = new SpeechClient(ServiceKeys.SpeechSubscriptionKey, ServiceKeys.SpeechRegion);
try
{
Console.WriteLine("Calling Speech Service for spe... | using NetCoreConsoleApp;
using System;
using System.IO;
using TranslatorService;
using TranslatorService.Models.Speech;
// Initializes the speech client.
using var speechClient = new SpeechClient(ServiceKeys.SpeechSubscriptionKey, ServiceKeys.SpeechRegion);
try
{
Console.WriteLine("Calling Speech Service for spe... | mit | C# |
547d0bbde0dd92de5c32ce721a0634ee392228d8 | Delete some of index | SpilledMilkCOM/ParkerSmart,SpilledMilkCOM/ParkerSmart,SpilledMilkCOM/ParkerSmart | ParkerSmart/Views/Home/Index.cshtml | ParkerSmart/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
f218547c68c70fc710cb5cf96f7493852a2db563 | Update PBU-Main-Future.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/PBU-Main-Future.cs | ProcessBlockUtil/PBU-Main-Future.cs | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
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... | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
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... | apache-2.0 | C# |
a23a15afb2e9c636dc240685c0c40128b8c85c3a | add cpu count to environment data | cvent/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,huoxudong125/Metrics... | Src/Metrics/Utils/AppEnvironment.cs | Src/Metrics/Utils/AppEnvironment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Metrics.MetricData;
namespace Metrics.Utils
{
public class AppEnvironment
{
public static IEnumerable<EnvironmentEntry> Current
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Metrics.MetricData;
namespace Metrics.Utils
{
public class AppEnvironment
{
public static IEnumerable<EnvironmentEntry> Current
... | apache-2.0 | C# |
128f017af5b16fb819b42e18601efc813fc51b43 | Bump v1.0.11 | karronoli/tiny-sato | TinySato/Properties/AssemblyInfo.cs | TinySato/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("TinySato")]
[assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri... | apache-2.0 | C# |
bfb0ac25f424c453d06dcea2298081cf807babc5 | Bump version number. | travismartinjones/Dauber.Azure | Dauber.Cqrs.Azure.ServiceBus/Properties/AssemblyInfo.cs | Dauber.Cqrs.Azure.ServiceBus/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
544587a924f09ce1af46260c0c4772f95315fa17 | Mark Image as Obsolete in Track DTO | gregsochanik/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema,scooper91/SevenDigital.Api.Schema | src/Schema/Tracks/Track.cs | src/Schema/Tracks/Track.cs | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | using System;
using System.Xml.Serialization;
using SevenDigital.Api.Schema.Artists;
using SevenDigital.Api.Schema.Attributes;
using SevenDigital.Api.Schema.Legacy;
using SevenDigital.Api.Schema.Media;
using SevenDigital.Api.Schema.Packages;
using SevenDigital.Api.Schema.ParameterDefinitions.Get;
using SevenDi... | mit | C# |
6386783f090d6bd5099b1cdec1a6a6b104b5f218 | Comment RPGVital | jkpenner/RPGSystemTutorial | Assets/Scripts/RPGSystems/StatTypes/RPGVital.cs | Assets/Scripts/RPGSystems/StatTypes/RPGVital.cs | using UnityEngine;
using System;
using System.Collections;
/// <summary>
/// RPGStat that inherits from RPGAttribute and implement IStatCurrentValueChange
/// </summary>
public class RPGVital : RPGAttribute, IStatCurrentValueChange {
/// <summary>
/// Used by the StatCurrentValue Property
/// </summary>
... | using UnityEngine;
using System;
using System.Collections;
public class RPGVital : RPGAttribute, IStatCurrentValueChange {
private int _statCurrentValue;
public event EventHandler OnCurrentValueChange;
public int StatCurrentValue {
get {
if (_statCurrentValue > StatValue) {
... | mit | C# |
04d43913ffb4854609da3cfc6a8b444f3e2a5a70 | Remove some warnings. | Noxalus/Xmas-Hell | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/BossFactory.cs | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/BossFactory.cs | using System;
using BulletML;
using XmasHell.Entities.Bosses.XmasBall;
namespace XmasHell.Entities.Bosses
{
public static class BossFactory
{
public static Boss CreateBoss(BossType type, XmasHell game, PositionDelegate playerPositionDelegate)
{
switch (type)
{
... | using System;
using BulletML;
using XmasHell.Entities.Bosses.XmasBall;
namespace XmasHell.Entities.Bosses
{
public static class BossFactory
{
public static Boss CreateBoss(BossType type, XmasHell game, PositionDelegate playerPositionDelegate)
{
switch (type)
{
... | mit | C# |
914c0cf260e90e181e688c66eb583eb84e1f421f | Add DrawArea rectangle to IHaveChatBubble | ethanmoffat/EndlessClient | EndlessClient/Rendering/Chat/IHaveChatBubble.cs | EndlessClient/Rendering/Chat/IHaveChatBubble.cs | // Original Work Copyright (c) Ethan Moffat 2014-2017
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using Microsoft.Xna.Framework;
namespace EndlessClient.Rendering.Chat
{
public interface IHaveChatBubble
{
Rectangle DrawArea { get; }
}
}
| // Original Work Copyright (c) Ethan Moffat 2014-2017
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
namespace EndlessClient.Rendering.Chat
{
public interface IHaveChatBubble
{
}
}
| mit | C# |
9f802c50c78829a3b63752c59ea8bdc9e4627e90 | Fix concurrency issue in DelayAction (#1870) | ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE | Source/ACE.Server/Entity/Actions/DelayAction.cs | Source/ACE.Server/Entity/Actions/DelayAction.cs | using System;
using System.Threading;
namespace ACE.Server.Entity.Actions
{
/// <summary>
/// Action that will not return until Timer.PortalYearTicks >= EndTime
/// must only be inserted into DelayManager actor
/// </summary>
public class DelayAction : ActionEventBase, IComparable<DelayAction>
... | using System;
namespace ACE.Server.Entity.Actions
{
/// <summary>
/// Action that will not return until Timer.PortalYearTicks >= EndTime
/// must only be inserted into DelayManager actor
/// </summary>
public class DelayAction : ActionEventBase, IComparable<DelayAction>
{
public double ... | agpl-3.0 | C# |
cd176e466bf3d9fd4192aca8d1dfa7ef3f511739 | Update MicrosoftAdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/MicrosoftAdUnitBundle.cs | TIKSN.Core/Advertising/MicrosoftAdUnitBundle.cs | namespace TIKSN.Advertising
{
public abstract class MicrosoftAdUnitBundle : AdUnitBundle
{
protected MicrosoftAdUnitBundle(AdUnit designTime, string applicationId, string adUnitId)
: base(designTime, new AdUnit(AdProviders.Microsoft, applicationId, adUnitId))
{
}
}
} | namespace TIKSN.Advertising
{
public abstract class MicrosoftAdUnitBundle : AdUnitBundle
{
protected MicrosoftAdUnitBundle(AdUnit designTime, string tabletApplicationId, string tabletAdUnitId, string mobileApplicationId, string mobileAdUnitId)
: base(designTime, new AdUnit(AdProviders.Micro... | mit | C# |
e26f3073abddd5b46884ebc1dd2883f4fa8898d7 | Fix for outcomes defect | andyfmiller/LtiLibrary | src/LtiLibrary.AspNetCore/Common/AddBodyHashHeaderAttribute.cs | src/LtiLibrary.AspNetCore/Common/AddBodyHashHeaderAttribute.cs | using System;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Http.Internal;
namespace LtiLibrary.AspNetCore.Common
{
/// <summary>
/// Calculate the incomming body hash and store it as a header in the request.
/// </summ... | using System;
using System.Security.Cryptography;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
namespace LtiLibrary.AspNetCore.Common
{
/// <summary>
/// Calculate the incomming body hash and store it as a header in the request.
/// </summary>
/// <remarks>
/// The Request... | apache-2.0 | C# |
237ada9ee1758e1b29cf7cd4980f17ac2e76deda | Change Namespace | muhammedikinci/FuzzyCore | FuzzyCore/ConcreteCommands/ProgramOpen_Command.cs | FuzzyCore/ConcreteCommands/ProgramOpen_Command.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FuzzyCore.Server.Data;
namespace FuzzyCore.Server
{
public class ProgramOpen_Command : Command
{
public ProgramOpen_Command(JsonCommand Comm) : base(Comm)
{
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using fuzzyControl.Server.Data;
namespace fuzzyControl.Server
{
public class ProgramOpen_Command : Command
{
public ProgramOpen_Command(JsonCommand Comm) : base(Comm)
{
}... | mit | C# |
47d9f1138be58cf4ce34f9ec72c687936e4afd79 | fix redirect action | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Views/Picture/Delete.cshtml | AstroPhotoGallery/AstroPhotoGallery/Views/Picture/Delete.cshtml | @model AstroPhotoGallery.Models.Picture
@{
ViewBag.Title = "Delete";
}
<div class="container">
<div class="well">
<h2>Delete Picture</h2>
@using (Html.BeginForm("Delete", "Picture", FormMethod.Post, new { @class = "form-horizontal" }))
{
@Html.AntiForgeryToken()
... | @model AstroPhotoGallery.Models.Picture
@{
ViewBag.Title = "Delete";
}
<div class="container">
<div class="well">
<h2>Delete Picture</h2>
@using (Html.BeginForm("Delete", "Picture", FormMethod.Post, new { @class = "form-horizontal" }))
{
@Html.AntiForgeryToken()
... | mit | C# |
6b809efb7b34cf725b4de26893bcb95cb15f4197 | rework GetEventLogs() to use linq query | StilgarISCA/EventLogManager | Source/EventLogManager/EventLogConnection/EventLogConnection.cs | Source/EventLogManager/EventLogConnection/EventLogConnection.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using Microsoft.Win32;
namespace EventLogManager.Connection
{
/// <summary>
/// Encapsulate logic for managing Windows Event Logs
/// </summary>
public class Eve... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using Microsoft.Win32;
namespace EventLogManager.Connection
{
/// <summary>
/// Encapsulate logic for managing Windows Event Logs
/// </summary>
public class EventLogConnection : I... | mit | C# |
6438ed7f79a9a1fd6f89b19ed0d2eb71623ec847 | Remove incomplete test | pardahlman/akeneo-csharp | Akeneo.IntegrationTests/AttributeTests.cs | Akeneo.IntegrationTests/AttributeTests.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Akeneo.Common;
using Akeneo.Consts;
using Akeneo.Model;
using Akeneo.Model.Attributes;
using Akeneo.Serialization;
using Newtonsoft.Json;
using Xunit;
na... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Akeneo.Common;
using Akeneo.Consts;
using Akeneo.Model;
using Akeneo.Model.Attributes;
using Akeneo.Serialization;
using Newtonsoft.Json;
using Xunit;
na... | mit | C# |
a5ec4057e75959ab9b7ac0f29a5f0f68e4f47a30 | Bump version to 0.12.2 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
7176e743325cfa30119c86175ab582ff62c114c9 | Change margin | bartlomiejwolk/AnimationPathAnimator | Editor/PropertyDrawers/NodeEventDrawer.cs | Editor/PropertyDrawers/NodeEventDrawer.cs | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace ATP.SimplePathAnimator {
[CustomPropertyDrawer(typeof(NodeEvent))]
public class NodeEventDrawer : PropertyDrawer {
/// How many rows (properties) will be displayed.
const int _rows = 2;
/// Hight of a single pr... | using UnityEngine;
using System.Collections;
using UnityEditor;
namespace ATP.SimplePathAnimator {
[CustomPropertyDrawer(typeof(NodeEvent))]
public class NodeEventDrawer : PropertyDrawer {
/// How many rows (properties) will be displayed.
const int _rows = 2;
/// Hight of a single pr... | mit | C# |
88efa3d83ef3bc6dd5d3bd99f6130339fe13b2a2 | Use dotnet core run task | jeyjeyemem/Xer.Cqrs | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./",
title: "Xer.Cq... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./",
title: "Xer.Cq... | mit | C# |
a30a9d32a41efdd06a042eccfc5d62fb226a998d | Add License | chraft/c-raft | Chraft/World/NBT/TagNodeType.cs | Chraft/World/NBT/TagNodeType.cs | /* Minecraft NBT reader
*
* Copyright 2010-2011 Michael Ong, all rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at yo... | using System;
namespace Chraft.World.NBT
{
/// <summary>
/// Provides the basic TAG_TYPE for a node.
/// </summary>
public enum TagNodeType : int
{
/// <summary>
/// Empty tag
/// </summary>
TAG_END,
/// <summary>
/// Byte tag
/// </summary>
... | agpl-3.0 | C# |
1340332891c03236f4bcefe739b96fa9854d7755 | Update FerCorrales.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/FerCorrales.cs | src/Firehose.Web/Authors/FerCorrales.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 FerCorrales : IAmACommunityMember
{
public string FirstName => "Fer";
public string LastNam... | 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 FerCorrales : IAmACommunityMember
{
public string FirstName => "Fer";
public string LastNam... | mit | C# |
8a1e79e27cb5e6f29fdabbaed3b784a922e05398 | Revert "Minor version bump" | rough007/PythLR | CyLR/Properties/AssemblyInfo.cs | CyLR/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("Cy... | 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("Cy... | apache-2.0 | C# |
a04bf23a349ac777dc5a527be7dde38aa2b41cc9 | Fix '"_csharpnull": true' showing up in Mongo | ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge | src/LfMerge/LanguageForge/Model/LfLexEntry.cs | src/LfMerge/LanguageForge/Model/LfLexEntry.cs | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace LfMerge.LanguageForge.Model
{
public class LfLexEntry : LfFieldBas... | // Copyright (c) 2015 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Collections.Generic;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace LfMerge.LanguageForge.Model
{
public class LfLexEntry : LfFieldBas... | mit | C# |
33a14b0126b1ac0dc938710848028b128c416e10 | Fix to properly shutdown managed TimerWatcher | jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/man... | src/Manos.IO/Manos.IO.Managed/TimerWatcher.cs | src/Manos.IO/Manos.IO.Managed/TimerWatcher.cs | using System;
using System.Threading;
namespace Manos.IO.Managed
{
class TimerWatcher : Watcher, ITimerWatcher
{
private Action cb;
private Timer timer;
private TimeSpan after;
private int invocationConcurrency;
public TimerWatcher (Context context, Action callback, TimeSpan after, TimeSpan repeat)
: b... | using System;
using System.Threading;
namespace Manos.IO.Managed
{
class TimerWatcher : Watcher, ITimerWatcher
{
private Action cb;
private Timer timer;
private TimeSpan after;
private int invocationConcurrency;
public TimerWatcher (Context context, Action callback, TimeSpan after, TimeSpan repeat)
: b... | mit | C# |
d9612fdc722e234cbd3523787ad4a6b7a41e4136 | Fix the build | charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Common/Maps/Data/MbTilesSample.cs | Samples/Mapsui.Samples.Common/Maps/Data/MbTilesSample.cs | using System.IO;
using System.Threading.Tasks;
using BruTile.MbTiles;
using Mapsui.Tiling.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation ... | using System.IO;
using System.Threading.Tasks;
using BruTile.MbTiles;
using Mapsui.Tiling.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation ... | mit | C# |
6dda76d4ba450d6b2926603e354295232ec8c9f3 | 把bundleconfig.cs過濾掉在測試涵蓋率裡面 | alantsai-samples/devops-psake,alantsai-samples/devops-psake,alantsai-samples/devops-psake | src/WebApplication1/App_Start/BundleConfig.cs | src/WebApplication1/App_Start/BundleConfig.cs | using System.Diagnostics.CodeAnalysis;
using System.Web;
using System.Web.Optimization;
namespace WebApplication1
{
[ExcludeFromCodeCoverage]
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBund... | using System.Web;
using System.Web.Optimization;
namespace WebApplication1
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new S... | mit | C# |
a01b6db094ed80ca2bd90016c657d65ded1c165a | Remove unused code from GameActionPacket (#1947) | ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE | Source/ACE.Server/Network/GameAction/GameActionPacket.cs | Source/ACE.Server/Network/GameAction/GameActionPacket.cs | using ACE.Server.Network.Enum;
using ACE.Server.Network.GameMessages;
using ACE.Server.Network.Managers;
namespace ACE.Server.Network.GameAction
{
public static class GameActionPacket
{
[GameMessage(GameMessageOpcode.GameAction, SessionState.WorldConnected)]
public static void HandleGameAction(... | using ACE.Server.Network.Enum;
using ACE.Server.Network.GameMessages;
using ACE.Server.Network.Managers;
namespace ACE.Server.Network.GameAction
{
public abstract class GameActionPacket
{
protected Session Session { get; private set; }
protected ClientPacketFragment Fragment { get; private set... | agpl-3.0 | C# |
21c5d7deceb2fca56bd5343c15e50684ab3cc442 | Add an IRandom.GetDigit() extension method, which returns a string between '0' and '9'. | brendanjbaker/Bakery | src/Bakery/Security/RandomExtensions.cs | src/Bakery/Security/RandomExtensions.cs | namespace Bakery.Security
{
using System;
public static class RandomExtensions
{
public static Byte[] GetBytes(this IRandom random, Int32 count)
{
if (count <= 0)
throw new ArgumentOutOfRangeException(nameof(count));
var buffer = new Byte[count];
for (var i = 0; i < count; i++)
... | namespace Bakery.Security
{
using System;
public static class RandomExtensions
{
public static Byte[] GetBytes(this IRandom random, Int32 count)
{
if (count <= 0)
throw new ArgumentOutOfRangeException(nameof(count));
var buffer = new Byte[count];
for (var i = 0; i < count; i++)
... | mit | C# |
14f2a639083039339fe40bc593d84f1adcbe142c | Enable testing of internal functionality, to allow tests of AsyncBarrier | nlkl/Channels | src/Channels/Properties/AssemblyInfo.cs | src/Channels/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("Ch... | 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("Ch... | mit | C# |
84ff82ee515a8fd233a99dc9a142d18be3dbcb26 | fix #13 | nerai/CMenu | src/ConsoleMenu/DefaultItems/MI_Help.cs | src/ConsoleMenu/DefaultItems/MI_Help.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleMenu.DefaultItems
{
public class MI_Help : CMenuItem
{
private readonly CMenu _Menu;
public MI_Help (CMenu menu)
: base ("help")
{
if (menu == null) {
throw new ArgumentNullException ("menu");
... | mit | C# |
45dd5d171c2ffe446a7c30d4d7b849db3c297bbe | Fix build failure on benchmark server V2 (#1920) | grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet | src/Grpc.Core.Api/IAsyncStreamWriter.cs | src/Grpc.Core.Api/IAsyncStreamWriter.cs | #region Copyright notice and license
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless req... | #region Copyright notice and license
// Copyright 2015 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless req... | apache-2.0 | C# |
a1065b6be05dac4ccc114fc0482e29d725337a79 | fix DateTime formatting | apemost/Newq,apemost/Newq | src/Newq/Extensions/ObjectExtensions.cs | src/Newq/Extensions/ObjectExtensions.cs | /* Copyright 2015-2016 Andrew Lyu and Uriel Van
*
* 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 l... | /* Copyright 2015-2016 Andrew Lyu and Uriel Van
*
* 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 l... | mit | C# |
4953a1ec2dcf3d18e62f3df68bad92da3524dc47 | add result validations for StackOverflowTest and adjust counts | acple/ParsecSharp | UnitTest.ParsecSharp/StackOverflowTest.cs | UnitTest.ParsecSharp/StackOverflowTest.cs | #if !DEBUG
using System;
using System.Linq;
using ChainingAssertion;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ParsecSharp.Parser;
using static ParsecSharp.Text;
namespace UnitTest.ParsecSharp
{
[TestClass]
[TestCategory("SkipWhenLiveUnitTesting")]
public class StackOverflowTest
... | #if !DEBUG
using System;
using System.Linq;
using ChainingAssertion;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static ParsecSharp.Parser;
using static ParsecSharp.Text;
namespace UnitTest.ParsecSharp
{
[TestClass]
[TestCategory("SkipWhenLiveUnitTesting")]
public class StackOverflowTest
... | mit | C# |
e260727db6db3a291aa520774a451c625daabc2b | Create a way for users to specify the initial uris to scan. | AlexGhiondea/SmugMug.NET | src/SmugMugMetadataRetriever/Program.cs | src/SmugMugMetadataRetriever/Program.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.Shared.Descriptors;
using SmugMug.v2.Authentication;
using SmugMugShared;
using System.Collections.Generic;
using System.Diagnostics;
namespace Smug... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.Shared.Descriptors;
using SmugMug.v2.Authentication;
using SmugMugShared;
using System.Collections.Generic;
using System.Diagnostics;
namespace Smug... | mit | C# |
b60ea0fc784d7b4297248fb825b0fc8b0e683178 | remove unused usings | Code-Inside/Sloader | src/Sloader.Bootstrapper/Program.cs | src/Sloader.Bootstrapper/Program.cs | using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Newtonsoft.Json;
using Sloader.Crawler;
using Sloader.Types;
using Constants = Sloader.Crawler.Constants;
namespace Sloader.Bootstrapper
{
public class P... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.WindowsAzure.Storage.Shared.Protocol;
using Newtonsoft.Json;
u... | mit | C# |
51bcf60663541f23f5015a5b0cc6df76c62adace | Update assembly information. | codito/supa | src/Supa/Properties/AssemblyInfo.cs | src/Supa/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright (c) Supa Contributors. All rights reserved.
// See license.md for license details.
// </copyright>
// <summary>
// AssemblyInfo.cs
// <... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright (c) Supa Contributors. All rights reserved.
// See license.md for license details.
// </copyright>
// <summary>
// AssemblyInfo.cs
// <... | mit | C# |
4876748a6ac4a7cbd481cb560a014d335c2b7b5b | Use out var in jumbo command | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | Modix/Modules/FunModule.cs | Modix/Modules/FunModule.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jum... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Serilog;
namespace Modix.Modules
{
[Name("Fun"), Summary("A bunch of miscellaneous, fun commands")]
public class FunModule : ModuleBase
{
[Command("jumbo"), Summary("Jum... | mit | C# |
383a18f5711572f17e7bcae3dd2658cd2ccd7c39 | Revert to older version of GitVersion | dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,bdukes/Dnn.Platform,nvisionative/Dnn.Platform,nvisionative/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.... | Build/Program.cs | Build/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using Cake.Core;
using Cake.Core.Configuration;
using Cake.Frosting;
using Cake.NuGet;
public class Program : IFrostingStartup
{
public static int Main(string[] args)
{
// Create the host.
var host = new CakeHostBuil... | using System;
using System.Collections.Generic;
using System.IO;
using Cake.Core;
using Cake.Core.Configuration;
using Cake.Frosting;
using Cake.NuGet;
public class Program : IFrostingStartup
{
public static int Main(string[] args)
{
// Create the host.
var host = new CakeHostBuil... | mit | C# |
f66b0d773e24d7496f71ee36b564c6352d3fcf76 | Add AtomicChessGame constructors | ProgramFOX/Chess.NET | ChessDotNet.Variants/Atomic/AtomicChessGame.cs | ChessDotNet.Variants/Atomic/AtomicChessGame.cs | using System.Collections.Generic;
using ChessDotNet.Pieces;
namespace ChessDotNet.Variants.Atomic
{
public class AtomicChessGame : ChessGame
{
public AtomicChessGame() : base() { }
public AtomicChessGame(Piece[][] board, Player whoseTurn) : base(board, whoseTurn) { }
public AtomicChess... | namespace ChessDotNet.Variants.Atomic
{
using Pieces;
public class AtomicChessGame : ChessGame
{
public override MoveType ApplyMove(Move move, bool alreadyValidated)
{
MoveType type = base.ApplyMove(move, alreadyValidated);
if (!type.HasFlag(MoveType.Capture))
... | mit | C# |
50c850ac32e10f136f5a057a511f846427f068b0 | add AsEnumerable | shockzinfinity/sapHowmuch.Base | sapHowmuch.Base/Extensions/SboUIExtensions.cs | sapHowmuch.Base/Extensions/SboUIExtensions.cs | using System.Collections.Generic;
namespace sapHowmuch.Base.Extensions
{
public static class SboUIExtensions
{
/// <summary>
/// Return IEnumerable for LINQ support
/// </summary>
/// <param name="dbDatasources"></param>
/// <returns></returns>
public static IEnumerable<SAPbouiCOM.DBDataSource> AsEnumer... | using System.Collections.Generic;
namespace sapHowmuch.Base.Extensions
{
public static class SboUIExtensions
{
//public static SAPbouiCOM.DataTable GetDataTable(this SAPbouiCOM.Form form)
//{
// form.DataSources.DataTables.GetEnumerator
//}
public static IEnumerable<SAPbouiCOM.MenuItem> AsEnumerable(this... | mit | C# |
b5aeb9b4c7d55019231c7027603043ee38cc4665 | Add comments | farity/farity | Farity/Always.cs | Farity/Always.cs | namespace Farity
{
public static partial class F
{
/// <summary>
/// Returns a function that takes any arguments but always returns the specified value.
/// </summary>
/// <typeparam name="T">The type of value to always return.</typeparam>
/// <param name="value">The val... | namespace Farity
{
public static partial class F
{
public static FuncAny<T> Always<T>(T value) => args => value;
}
} | mit | C# |
6d39eea4a1612888cd92a4bbedb21a4a4604074d | bump version to 1.0 | thirkcircus/EmptyStringGuard | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("EmptyStringGuard")]
[assembly: AssemblyProduct("EmptyStringGuard")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")] | using System.Reflection;
[assembly: AssemblyTitle("EmptyStringGuard")]
[assembly: AssemblyProduct("EmptyStringGuard")]
[assembly: AssemblyVersion("0.1.0")]
[assembly: AssemblyFileVersion("0.1.0")] | mit | C# |
17796dc1e2a0fd1582531dac2f07d3c6d589a60a | Add more IHandleContext extension methods | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET/Extensions/BusExtensions.cs | src/Aggregates.NET/Extensions/BusExtensions.cs | using Aggregates.Internal;
using NServiceBus;
using NServiceBus.Unicast;
using NServiceBus.Unicast.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Extensions
{
public static class BusExtensions
{
public ... | using Aggregates.Internal;
using NServiceBus;
using NServiceBus.Unicast;
using NServiceBus.Unicast.Messages;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Extensions
{
public static class BusExtensions
{
public ... | mit | C# |
508f357137d043b193da5aee058609fac344a126 | Add test showing success message | nunit/nunit3-vs-adapter,nunit/nunit-vs-adapter | src/NUnitTestDemo/NUnitTestDemo/SimpleTests.cs | src/NUnitTestDemo/NUnitTestDemo/SimpleTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace NUnitTestDemo
{
public class SimpleTests
{
[Test]
public void TestSucceeds()
{
Assert.That(2 + 2, Is.EqualTo(4));
}
[Test]
public void TestSucceeds_M... | using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace NUnitTestDemo
{
public class SimpleTests
{
[Test]
public void TestSucceeds()
{
Assert.That(2 + 2, Is.EqualTo(4));
}
[Test, ExpectedException(typeof(Applicati... | mit | C# |
fbfadf5cf46f1e1a1e1fedf9a94655bde1190dcf | Add constructor with parameters for coordinate | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET | src/Stranne.VasttrafikNET/Models/Coordinate.cs | src/Stranne.VasttrafikNET/Models/Coordinate.cs | namespace Stranne.VasttrafikNET.Models
{
/// <summary>
/// Describes a coordinate in WGS84 decimal
/// </summary>
public class Coordinate
{
/// <summary>
/// Latitude in WGS84 decimal form
/// </summary>
public double Latitude { get; set; }
/// <summary>
... | namespace Stranne.VasttrafikNET.Models
{
/// <summary>
/// Describes a coordinate in WGS84 decimal
/// </summary>
public class Coordinate
{
/// <summary>
/// Latitude in WGS84 decimal form
/// </summary>
public double Latitude { get; set; }
/// <summary>
... | mit | C# |
ff9f605b7d7eaaad8ecfe54c786e87858869fb69 | Add StackExchange sites to Equivalent Domains (#242) | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | src/Core/Enums/GlobalEquivalentDomainsType.cs | src/Core/Enums/GlobalEquivalentDomainsType.cs | namespace Bit.Core.Enums
{
public enum GlobalEquivalentDomainsType : byte
{
Google = 0,
Apple = 1,
Ameritrade = 2,
BoA = 3,
Sprint = 4,
WellsFargo = 5,
Merrill = 6,
Citi = 7,
Cnet = 8,
Gap = 9,
Microsoft = 10,
Unite... | namespace Bit.Core.Enums
{
public enum GlobalEquivalentDomainsType : byte
{
Google = 0,
Apple = 1,
Ameritrade = 2,
BoA = 3,
Sprint = 4,
WellsFargo = 5,
Merrill = 6,
Citi = 7,
Cnet = 8,
Gap = 9,
Microsoft = 10,
Unite... | agpl-3.0 | C# |
b9217b85627b5b6e5a0738bb5b2a943e9ecacc87 | add iequatable for layergene | jobeland/NeuralNetwork | NeuralNetwork/NeuralNetwork/Genes/LayerGene.cs | NeuralNetwork/NeuralNetwork/Genes/LayerGene.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace ArtificialNeuralNetwork.Genes
{
public class LayerGene : IEquatable<LayerGene>
{
public IList<NeuronGene> Neurons;
#region Equality Members
/// <summary>
/// Returns true if the fields of the LayerGen... | using System;
using System.Collections.Generic;
using System.Linq;
namespace ArtificialNeuralNetwork.Genes
{
public class LayerGene
{
public IList<NeuronGene> Neurons;
}
}
| mit | C# |
1ec7f87df27b5ae23f1183021334f157ce4be3ad | Add sub-jobs to JobInfo object | Narochno/Narochno.Jenkins | src/Narochno.Jenkins/Entities/Jobs/JobInfo.cs | src/Narochno.Jenkins/Entities/Jobs/JobInfo.cs | using Narochno.Jenkins.Entities.Builds;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace Narochno.Jenkins.Entities.Jobs
{
public class JobInfo : Job
{
public bool Buildable { get; set; }
public bool ConcurrentBuild { get; set; }
public st... | using Narochno.Jenkins.Entities.Builds;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace Narochno.Jenkins.Entities.Jobs
{
public class JobInfo : Job
{
public bool Buildable { get; set; }
public bool ConcurrentBuild { get; set; }
public st... | mit | C# |
39a01f91033fc2cacd1d3e4ce82daf338a191dc8 | Update ContextState.cs | geertdoornbos/Orchard,AdvantageCS/Orchard,Fogolan/OrchardForWork,AdvantageCS/Orchard,bedegaming-aleksej/Orchard,hbulzy/Orchard,jagraz/Orchard,Praggie/Orchard,yersans/Orchard,LaserSrl/Orchard,jtkech/Orchard,phillipsj/Orchard,bedegaming-aleksej/Orchard,Serlead/Orchard,jimasp/Orchard,OrchardCMS/Orchard,sfmskywalker/Orchar... | src/Orchard/Environment/State/ContextState.cs | src/Orchard/Environment/State/ContextState.cs | using System;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or Logical Context
/// </summary>
/// <typeparam name="T">The type of data to store</typeparam>
... | using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Messaging;
using System.Web;
using Orchard.Mvc.Extensions;
namespace Orchard.Environment.State {
/// <summary>
/// Holds some state for the current HttpContext or Logical Context
/// </summary>
/// <typeparam name="T">The type o... | bsd-3-clause | C# |
35f9952a6cca4de6504ef56a8c2aa1b9a9b1252a | debug messaging improved | yvanin/TfsDiffReport | TfsDiffReport/Program.cs | TfsDiffReport/Program.cs | using System;
namespace TfsDiffReport
{
public class Program
{
public static void Main(string[] args)
{
try
{
var options = CommandLineArgsParser.Parse(args);
new DiffReportRunner(options).GenerateReport();
}
catch... | using System;
namespace TfsDiffReport
{
public class Program
{
public static void Main(string[] args)
{
try
{
var options = CommandLineArgsParser.Parse(args);
new DiffReportRunner(options).GenerateReport();
}
catch... | mit | C# |
7c75c810ce34aa3d769e5883f2966442dce8cbfb | Implement SegmentedArray.Clear<T> and Copy<T> | ErikSchierboom/roslyn,ErikSchierboom/roslyn,AlekseyTs/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,eriawan/roslyn,KevinRansom/roslyn,wvdd007/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,eriawan/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,tmat/roslyn... | src/Dependencies/Collections/SegmentedArray.cs | src/Dependencies/Collections/SegmentedArray.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Collections.Internal;
namespace Microsoft.Cod... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.CodeAnalysis.Collections
{
... | mit | C# |
b037f2bf3958c0e70d2563ea2d7a1dc75c2c0a26 | Use whole line as method if we can't parse | awseward/Bugsnag.NET,awseward/Bugsnag.NET | lib/Bugsnag.Common/Extensions/CommonExtensions.cs | lib/Bugsnag.Common/Extensions/CommonExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Bugsnag.Common.Extensions
{
public static class CommonExtensions
{
public static IEnumerable<Exception> Unwrap(this Exception ex)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Bugsnag.Common.Extensions
{
public static class CommonExtensions
{
public static IEnumerable<Exception> Unwrap(this Exception ex)
... | mit | C# |
4c2371b2fa866088ccd7bf41ba8aa9297e4e31fa | add missing typedRouteBuilder tests | Pondidum/Conifer,Pondidum/Conifer | Tests/TypedRouteBuilderTests.cs | Tests/TypedRouteBuilderTests.cs | using System;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using RestRouter;
using Shouldly;
using Xunit;
namespace Tests
{
public class TypedRouteBuilderTests
{
private readonly TypedRouteBuilder _builder;
private readonly Type _controller;
private readonly MethodInfo _metho... | using System;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using RestRouter;
using Shouldly;
using Xunit;
namespace Tests
{
public class TypedRouteBuilderTests
{
private readonly TypedRoute _route;
private readonly Type _controller;
private readonly MethodInfo _method;
pub... | lgpl-2.1 | C# |
de87d4771951b1fe9dd8634ec0dbdca5351c5cbf | Call GetTypesSafely extension method instead of GetTypes method. | RockFramework/Rock.Messaging,bfriesen/Rock.Messaging,peteraritchie/Rock.Messaging | Rock.Messaging/Routing/AppDomainTypeLocator.cs | Rock.Messaging/Routing/AppDomainTypeLocator.cs | using System;
using System.Linq;
using Rock.Reflection;
namespace Rock.Messaging.Routing
{
public class AppDomainTypeLocator : ITypeLocator
{
private readonly IMessageParser _messageParser;
private readonly AppDomain _appDomain;
public AppDomainTypeLocator(IMessageParser messageParser... | using System;
using System.Linq;
namespace Rock.Messaging.Routing
{
public class AppDomainTypeLocator : ITypeLocator
{
private readonly IMessageParser _messageParser;
private readonly AppDomain _appDomain;
public AppDomainTypeLocator(IMessageParser messageParser, AppDomain appDomain =... | mit | C# |
6aaa0136e8b8746bd3bb9f82e4079a655e9937fe | Add some restricted trade item properties | villermen/runescape-cache-tools,villermen/runescape-cache-tools | RuneScapeCacheTools/Model/ItemProperty.cs | RuneScapeCacheTools/Model/ItemProperty.cs | using Villermen.RuneScapeCacheTools.File;
namespace Villermen.RuneScapeCacheTools.Model
{
/// <summary>
/// The identifier for a parameter of an <see cref="ItemDefinitionFile" />.
/// </summary>
public enum ItemProperty
{
WeaponRange = 13,
EquipOption1 = 528,
EquipOption2 = ... | using Villermen.RuneScapeCacheTools.File;
namespace Villermen.RuneScapeCacheTools.Model
{
/// <summary>
/// The identifier for a parameter of an <see cref="ItemDefinitionFile" />.
/// </summary>
public enum ItemProperty
{
WeaponRange = 13,
EquipOption1 = 528,
EquipOption2 = ... | mit | C# |
6eeef8a86663fd5a1c13eb122f1b825a81c6f4d4 | Remove XFrame on the checkout page | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Filters/XFrameOptionsAttribute.cs | BTCPayServer/Filters/XFrameOptionsAttribute.cs | using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Filters
{
public class XFrameOptionsAttribute : Attribute, IActionFilter
{
public XFrameOptionsAttribute(string value)
{
V... | using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Filters
{
public class XFrameOptionsAttribute : Attribute, IActionFilter
{
public XFrameOptionsAttribute(string value)
{
V... | mit | C# |
2bc4a35409cc87666086f4edee2f569b4c0226b3 | fix MemberAssignBinder exception code | maul-esel/CobaltAHK,maul-esel/CobaltAHK | CobaltAHK/ExpressionTree/MemberAssignBinder.cs | CobaltAHK/ExpressionTree/MemberAssignBinder.cs | using System;
using System.Dynamic;
using System.Linq;
#if CustomDLR
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using System.Reflection;
namespace CobaltAHK.ExpressionTree
{
public class MemberAssignBinder : SetMemberBinder
{
public MemberAssignBinder(string member) : base(member, t... | using System;
using System.Dynamic;
using System.Linq;
#if CustomDLR
using Microsoft.Scripting.Ast;
#else
using System.Linq.Expressions;
#endif
using System.Reflection;
namespace CobaltAHK.ExpressionTree
{
public class MemberAssignBinder : SetMemberBinder
{
public MemberAssignBinder(string member) : base(member, t... | mit | C# |
d9fc08dc72cce2dcda709e380aec2bbc35a37278 | Add out parameter to Parser | linerlock/parseq | Parseq/Parser.cs | Parseq/Parser.cs | /*
* Copyright (C) 2012 - 2015 Takahisa Watanabe <linerlock@outlook.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
* in the Software without restriction, including without li... | /*
* Copyright (C) 2012 - 2015 Takahisa Watanabe <linerlock@outlook.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
* in the Software without restriction, including without li... | mit | C# |
eeef72912bd67340d3018573b52ee78af588ecb9 | Remove testing outputs #75. | techyian/MMALSharp | src/MMALSharp.Common/Handlers/InMemoryCaptureHandler.cs | src/MMALSharp.Common/Handlers/InMemoryCaptureHandler.cs | using System;
using System.Collections.Generic;
namespace MMALSharp.Handlers
{
public class InMemoryCaptureHandler : ICaptureHandler
{
public List<byte> WorkingData { get; set; }
public InMemoryCaptureHandler()
{
this.WorkingData = new List<byte>();
}
... | using System;
using System.Collections.Generic;
namespace MMALSharp.Handlers
{
public class InMemoryCaptureHandler : ICaptureHandler
{
public List<byte> WorkingData { get; set; }
public InMemoryCaptureHandler()
{
this.WorkingData = new List<byte>();
}
... | mit | C# |
2d5fdde4723ece483da78b96929a63a2746fb064 | Add sorting | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs | AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs | using AstroPhotoGallery.Extensions;
using AstroPhotoGallery.Models;
using PagedList;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class TagController : Controller
{
//
// GET: Tag/List/id
public ActionResult List(in... | using AstroPhotoGallery.Extensions;
using AstroPhotoGallery.Models;
using PagedList;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class TagController : Controller
{
//
// GET: Tag/List/id
public ActionResult List(in... | mit | C# |
f0c62e517e4f75d2c208b05c8a96e57b0e57fe9e | Change the Global file. | SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library | MMLibrarySystem/MMLibrarySystem/Global.asax.cs | MMLibrarySystem/MMLibrarySystem/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Data.Entity;
using MMLibrarySystem.Models;
using MMLibrarySystem.Schedule;
namespace MMLibrarySystem
{
// Note: F... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Data.Entity;
using MMLibrarySystem.Models;
namespace MMLibrarySystem
{
// Note: For instructions on enabling IIS6... | apache-2.0 | C# |
41bc1852d4ba251800df3e2cd490ed3ec65bfde6 | Fix unit test | jMarkP/hcl-net | hcl-net.Test/Parse/HCL/TokenTests.cs | hcl-net.Test/Parse/HCL/TokenTests.cs | using hcl_net.Parse.HCL;
using NUnit.Framework;
namespace hcl_net.Test.Parse.HCL
{
[TestFixture]
class TokenTests
{
[TestCase(TokenType.BOOL, "true", true)]
[TestCase(TokenType.BOOL, "false", false)]
[TestCase(TokenType.FLOAT, "3.14", (double)3.14)]
[TestCase(TokenType.NUMB... | using hcl_net.Parse.HCL;
using NUnit.Framework;
namespace hcl_net.Test.Parse.HCL
{
[TestFixture]
class TokenTests
{
[TestCase(TokenType.BOOL, "true", true)]
[TestCase(TokenType.BOOL, "false", false)]
[TestCase(TokenType.FLOAT, "3.14", (double)3.14)]
[TestCase(TokenType.NUMB... | mit | C# |
2cf528158bdc74bdf31d95e0c728876cecfda072 | Change default RowDelimiter to CRLF regardless of OS (as by RFC4180) | nortal/Utilities.Csv | Csv/CsvSettings.cs | Csv/CsvSettings.cs | /*
Copyright 2013 Imre Pühvel, AS Nortal
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 agreed to... | /*
Copyright 2013 Imre Pühvel, AS Nortal
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 agreed to... | apache-2.0 | C# |
43d27b843b1b7f8e62c464242fdf177c3df75d76 | Add issue to track vstest break | mlorbetske/cli,weshaggard/cli,jonsequitur/cli,mlorbetske/cli,blackdwarf/cli,dasMulli/cli,Faizan2304/cli,weshaggard/cli,mlorbetske/cli,ravimeda/cli,AbhitejJohn/cli,blackdwarf/cli,mlorbetske/cli,blackdwarf/cli,EdwardBlair/cli,johnbeisner/cli,EdwardBlair/cli,weshaggard/cli,nguerrera/cli,weshaggard/cli,johnbeisner/cli,svic... | test/dotnet-vstest.Tests/VSTestTests.cs | test/dotnet-vstest.Tests/VSTestTests.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.TestFram... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.TestFram... | mit | C# |
17cf9d56e94969eca8d54c9fc734f3a805283f8a | add assemblyinfo | WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,vo... | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Serenity")]
[assembly: AssemblyProduct("Serenity Platform")]
[assembly: AssemblyCopyright("Copyright © Volkan Ceylan")]
[assembly: AssemblyVersion("1.8.3")]
[assembly: AssemblyFileVersion("1.8.")]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Serenity")]
[assembly: AssemblyProduct("Serenity Platform")]
[assembly: AssemblyCopyright("Copyright © Volkan Ceylan")]
[assembly: AssemblyVersion("1.8.2")]
[assembly: AssemblyFileVersion("1.8.2")]
| mit | C# |
e0bb535c8056f02e669ab83ded379d2b3e38dfc3 | Make sealed | MarkKhromov/The-Log | TheLog/LogSettings.cs | TheLog/LogSettings.cs | namespace TheLog {
public sealed class LogSettings {
internal LogSettings() { }
public bool ShowMessageTime = true;
}
} | namespace TheLog {
public class LogSettings {
internal LogSettings() { }
public bool ShowMessageTime = true;
}
} | mit | C# |
771792bae243f42f2e0f9bc239f08fc6e639bf18 | Remove the next and previous links | Calvinverse/calvinverse.docs,Calvinverse/calvinverse.docs | src/_BlogIndex.cshtml | src/_BlogIndex.cshtml | Title: Blog
ShowInNavbar: true
Order: 5500
---
@{
bool fullContent = Model.String(Keys.RelativeFilePath) == $"{Context.String(DocsKeys.BlogPath)}/index.html" && Model.Get<int>(Keys.CurrentPage) == 1;
foreach(IDocument post in Model.DocumentList(Keys.PageDocuments))
{
<!-- <h2><a href="@Con... | Title: Blog
ShowInNavbar: true
Order: 5500
---
@{
bool fullContent = Model.String(Keys.RelativeFilePath) == $"{Context.String(DocsKeys.BlogPath)}/index.html" && Model.Get<int>(Keys.CurrentPage) == 1;
foreach(IDocument post in Model.DocumentList(Keys.PageDocuments))
{
<!-- <h2><a href="@Con... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.