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
55ce15c0815cd2f703c1fc1b65697fb67799bbc6
Add test for tables
mwilliamson/java-mammoth
dotnet/Mammoth.Tests/DocumentConverterTests.cs
dotnet/Mammoth.Tests/DocumentConverterTests.cs
using Xunit; using System.IO; using Xunit.Sdk; using System; namespace Mammoth.Tests { public class DocumentConverterTests { [Fact] public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() { assertSuccessfulConversion( ConvertToHtml("single-paragraph.docx"), "<p>Walking on imported ...
using Xunit; using System.IO; using Xunit.Sdk; using System; namespace Mammoth.Tests { public class DocumentConverterTests { [Fact] public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() { assertSuccessfulConversion( ConvertToHtml("single-paragraph.docx"), "<p>Walking on imported ...
bsd-2-clause
C#
3ec308d53a72a1c2b0a9e59819d703f81e41878b
Add useful links
johnproctor/EFMigrations
CodeFirstMigrations/Program.cs
CodeFirstMigrations/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeFirstMigrations { class Program { //EF Migration Links //http://weblogs.asp.net/scottgu/code-first-development-with-entity-framework-4 //http://www.appetere...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodeFirstMigrations { class Program { static void Main(string[] args) { var context = new MyContext(); context.Addresses.Add(new Address() ...
mit
C#
0b97ecae56bc24c22e6dbd7c64dff80bbdc102f9
Fix interface.
adbre/git-tfs,spraints/git-tfs,NathanLBCooper/git-tfs,guyboltonking/git-tfs,allansson/git-tfs,steveandpeggyb/Public,codemerlin/git-tfs,codemerlin/git-tfs,TheoAndersen/git-tfs,allansson/git-tfs,adbre/git-tfs,hazzik/git-tfs,modulexcite/git-tfs,kgybels/git-tfs,allansson/git-tfs,hazzik/git-tfs,andyrooger/git-tfs,irontoby/g...
GitTfs/Core/TfsInterop/IItem.cs
GitTfs/Core/TfsInterop/IItem.cs
using System.IO; namespace Sep.Git.Tfs.Core.TfsInterop { public interface IItem { IVersionControlServer VersionControlServer { get; } int ChangesetId { get; } string ServerItem { get; } decimal DeletionId { get; } TfsItemType ItemType { get; } int ItemId { get; } ...
using System.IO; namespace Sep.Git.Tfs.Core.TfsInterop { public interface IItem { IVersionControlServer VersionControlServer { get; } int ChangesetId { get; } string ServerItem { get; } decimal DeletionId { get; } TfsItemType ItemType { get; } int ItemId { get; } ...
apache-2.0
C#
d7ca85c87926ef3d264c72c0e3047ce338d4b059
Improve ParsedText test for compound token
Nezaboodka/Nevod.TextParsing,Nezaboodka/Nevod.TextParsing
Source/TextParserTests/ParsedTextTests.cs
Source/TextParserTests/ParsedTextTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace TextParser.Tests { [TestClass] public class ParsedTextTests { private static readonly string[] Xhtml = { "<p>", "Hello, ", "<b>", "my w", "</b>", "orld!", "</p>" }; private static readon...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace TextParser.Tests { [TestClass] public class ParsedTextTests { private static readonly string[] Xhtml = { "<p>", "Hello, ", "<b>", "w", "</b>", "orld", "</p>" }; private static readonly I...
mit
C#
e8026ad843d0b6b349856046cb829e243afb34ca
Use null-coalescing assignment
fluentassertions/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions,jnyrup/fluentassertions
Src/FluentAssertions/Equivalency/Field.cs
Src/FluentAssertions/Equivalency/Field.cs
using System; using System.ComponentModel; using System.Reflection; using FluentAssertions.Common; namespace FluentAssertions.Equivalency; /// <summary> /// A specialized type of <see cref="INode "/> that represents a field of an object in a structural equivalency assertion. /// </summary> public class Field : Node,...
using System; using System.ComponentModel; using System.Reflection; using FluentAssertions.Common; namespace FluentAssertions.Equivalency; /// <summary> /// A specialized type of <see cref="INode "/> that represents a field of an object in a structural equivalency assertion. /// </summary> public class Field : Node,...
apache-2.0
C#
099732e66815cc7990b96ca67272d2b83a203872
add debug log. Debug cutting logic
MasakiMuto/LifegameGame
LifegameGame/AlphaBetaPlayer.cs
LifegameGame/AlphaBetaPlayer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace LifegameGame { using PointScoreDictionary = Dictionary<Point, float>; public class AlphaBetaPlayer : AIPlayerBase { readonly int ThinkDepth; public AlphaBetaPlayer(GameBoard board, CellSta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; namespace LifegameGame { using PointScoreDictionary = Dictionary<Point, float>; public class AlphaBetaPlayer : AIPlayerBase { readonly int ThinkDepth; public AlphaBetaPlayer(GameBoard board, CellSta...
mit
C#
164931c1ab9c6e421f0b6de983b68e77034c2791
Clarify task 1 description
hjameel/design-patterns-kata
Tests/Task1_DependencyInjectionPattern.cs
Tests/Task1_DependencyInjectionPattern.cs
// ReSharper disable InconsistentNaming using DesignPatternsKata.Task1; using NUnit.Framework; namespace Tests { [TestFixture] public class Task1_DependencyInjectionPattern { [Test] public void My_friend_should_say_hi() { var friend = new Friend(); friend.SayHi(); // An important...
// ReSharper disable InconsistentNaming using DesignPatternsKata.Task1; using NUnit.Framework; namespace Tests { [TestFixture] public class Task1_DependencyInjectionPattern { [Test] public void My_friend_should_say_hi() { var friend = new Friend(); friend.SayHi(); // An important...
mit
C#
908bf5c20052d522f6e4c91173e8fd1cdbcb8a92
Remove duplicated semicolon
MassTransit/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit
docs/code/transports/CloudAmqpConsoleListener.cs
docs/code/transports/CloudAmqpConsoleListener.cs
namespace CloudAmqpConsoleListener; using System.Security.Authentication; using System.Threading.Tasks; using MassTransit; public class Program { public static async Task Main() { var busControl = Bus.Factory.CreateUsingRabbitMq(cfg => { cfg.Host("wombat.rmq.cloudamqp.com", 5671, "...
namespace CloudAmqpConsoleListener; using System.Security.Authentication; using System.Threading.Tasks; using MassTransit; public class Program { public static async Task Main() { var busControl = Bus.Factory.CreateUsingRabbitMq(cfg => { cfg.Host("wombat.rmq.cloudamqp.com", 5671, "...
apache-2.0
C#
7436e7023a2eef3501f9d0d9439f8ee9f355c3f4
update license key extraction to include hazelcast version number
asimarslan/hazelcast-csharp-client,asimarslan/hazelcast-csharp-client
Hazelcast.Net/Properties/AssemblyInfo.cs
Hazelcast.Net/Properties/AssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34003 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
apache-2.0
C#
d97dc22e79021f94249a99cae827d1d25003bac7
Add missing dependencies for behaviour screen test
ppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenBehaviour.cs
osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenBehaviour.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Screens; using osu.Game.Overlays; using osu.Game.Overlays.FirstRunSetup; namespace osu.Game.Tests.Visual.UserInterfac...
// 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.Screens; using osu.Game.Overlays.FirstRunSetup; namespace osu.Game.Tests.Visual.UserInterface { public class TestSceneFirstRunScreenBehaviour : O...
mit
C#
17d4c51712407901b623415d74607c89d2e1c692
REmove method
eriawan/roslyn,dotnet/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,wvdd007/roslyn,weltkante/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,mavasani/roslyn,KevinRansom/roslyn,mavasani/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,CyrusNajmabadi/...
src/Tools/ExternalAccess/OmniSharp/Completion/OmniSharpCompletionService.cs
src/Tools/ExternalAccess/OmniSharp/Completion/OmniSharpCompletionService.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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
// 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.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnaly...
mit
C#
19f68539d2a6ebab89412fc708e87473e34e7000
build fix
Softlr/Selenium.WebDriver.Extensions
test/Selenium.WebDriver.Extensions.IntegrationTests/Fixtures/EdgeFixture.cs
test/Selenium.WebDriver.Extensions.IntegrationTests/Fixtures/EdgeFixture.cs
namespace Selenium.WebDriver.Extensions.IntegrationTests.Fixtures { using System.Diagnostics.CodeAnalysis; using System.IO; using OpenQA.Selenium.Edge; [ExcludeFromCodeCoverage] public class EdgeFixture : FixtureBase { public EdgeFixture() { var options = new EdgeOpt...
namespace Selenium.WebDriver.Extensions.IntegrationTests.Fixtures { using System.Diagnostics.CodeAnalysis; using System.IO; using OpenQA.Selenium.Edge; [ExcludeFromCodeCoverage] public class EdgeFixture : FixtureBase { public EdgeFixture() { var options = new EdgeOpt...
apache-2.0
C#
77459961f816da53374726491f2d29916c46d761
Address review comments
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
functions/helloworld/HelloWorld.Tests/HelloGcsTest.cs
functions/helloworld/HelloWorld.Tests/HelloGcsTest.cs
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
442d82a4c69ef13af6b089e967296f7ebb061211
use controller selector in sample project
JSONAPIdotNET/JSONAPI.NET,SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET,DefactoSoftware/JSONAPI.NET,danshapir/JSONAPI.NET
JSONAPI.TodoMVC.API/Startup.cs
JSONAPI.TodoMVC.API/Startup.cs
using System.Web.Http; using System.Web.Http.Dispatcher; using JSONAPI.ActionFilters; using JSONAPI.Core; using JSONAPI.EntityFramework.ActionFilters; using JSONAPI.Http; using JSONAPI.Json; using Owin; namespace JSONAPI.TodoMVC.API { public class Startup { public void Configuration(IAppBuilder app) ...
using System.Web.Http; using JSONAPI.ActionFilters; using JSONAPI.Core; using JSONAPI.EntityFramework.ActionFilters; using JSONAPI.Json; using Owin; namespace JSONAPI.TodoMVC.API { public class Startup { public void Configuration(IAppBuilder app) { var httpConfig = GetWebApiConfigu...
mit
C#
edaffb36a228841245deafb7a4c69f82a80419ef
bump version
neutmute/loggly-csharp
SolutionItems/Properties/AssemblyInfo.cs
SolutionItems/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Security; [assembly: AssemblyCompany("Karl Seguin")] [assembly: AssemblyVersion("3.5.0.0")] [assembly: AllowPartiallyTrustedCallers] [assembly: AssemblyProduct("loggly-csharp")] [assembly: InternalsVisibleTo("Loggly.Tests")] #if DEBUG [as...
using System.Reflection; using System.Runtime.CompilerServices; using System.Security; [assembly: AssemblyCompany("Karl Seguin")] [assembly: AssemblyCopyright("Copyright Karl Seguin 2010")] [assembly: AssemblyVersion("3.5.0.0")] [assembly: AllowPartiallyTrustedCallers] [assembly: AssemblyProduct("loggly-csharp")] [as...
mit
C#
f43a8308b9abbe9add3ca4399f31c15b339e36eb
Reformat for better readability
OrleansContrib/Orleankka,yevhen/Orleankka,pkese/Orleankka,yevhen/Orleankka,mhertis/Orleankka,AntyaDev/Orleankka,pkese/Orleankka,OrleansContrib/Orleankka,mhertis/Orleankka,AntyaDev/Orleankka
Source/Orleankka/Ref.cs
Source/Orleankka/Ref.cs
using System; using System.Linq.Expressions; using System.Collections.Generic; using System.Reflection; namespace Orleankka { using Core; using Utility; public abstract class Ref { static readonly Dictionary<Type, Func<string, Ref>> deserializers = new Dictio...
using System; using System.Linq.Expressions; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; namespace Orleankka { using Core; using Utility; public abstract class Ref { static readonly Dictionary<Type, Func<string, Ref>> deserializers = ...
apache-2.0
C#
5a65e08fc052593d48963734b444167fe350845b
Change namespace of `UriUtilsTests` to `Atata.UnitTests.Utils`
atata-framework/atata,atata-framework/atata
test/Atata.UnitTests/Utils/UriUtilsTests.cs
test/Atata.UnitTests/Utils/UriUtilsTests.cs
namespace Atata.UnitTests.Utils; [TestFixture] public class UriUtilsTests { [TestCase("http://something.com", true)] [TestCase("https://something.com", true)] [TestCase("ftp://something.com", true)] [TestCase("custom://something.com", true)] [TestCase("http:/something.com", false)] [TestCase("...
namespace Atata.UnitTests; [TestFixture] public class UriUtilsTests { [TestCase("http://something.com", true)] [TestCase("https://something.com", true)] [TestCase("ftp://something.com", true)] [TestCase("custom://something.com", true)] [TestCase("http:/something.com", false)] [TestCase("//some...
apache-2.0
C#
d52d71f52fb679babc7a73f4aca94425a00eb0dd
fix Jpeg strip tool to substitue greates found data segment
Clancey/taglib-sharp,archrival/taglib-sharp,CamargoR/taglib-sharp,hwahrmann/taglib-sharp,CamargoR/taglib-sharp,archrival/taglib-sharp,hwahrmann/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,mono/taglib-sharp
examples/StripImageData.cs
examples/StripImageData.cs
using System; using TagLib; public class StripImageData { private static byte[] image_data = new byte[] { 0xFF, 0xDA, 0x00, 0x0C, 0x03, 0x01, 0x00, 0x02, 0x11, 0x03, 0x11, 0x00, 0x3F, 0x00, 0x8C, 0x80, 0x07, 0xFF, 0xD9 }; public static void Main (string [] args) { if (args.Length != 1) { Console.Out.W...
using System; using TagLib; public class StripImageData { private static byte[] image_data = new byte[] { 0xFF, 0xDA, 0x00, 0x0C, 0x03, 0x01, 0x00, 0x02, 0x11, 0x03, 0x11, 0x00, 0x3F, 0x00, 0x8C, 0x80, 0x07, 0xFF, 0xD9 }; public static void Main (string [] args) { if (args.Length != 1) { Console.Out.W...
lgpl-2.1
C#
675d84f955fd602449c17e585d479167b15e3316
remove feat...
Cologler/jasily.cologler
Jasily.Core/Singleton.cs
Jasily.Core/Singleton.cs
namespace System { public static class Singleton { public static T Instance<T>() where T : class, new() { if (Shared<T>.instance == null) { lock (typeof(Shared<T>)) { if (Shared<T>.instance == null) ...
using JetBrains.Annotations; namespace System { public static class Singleton { public static T Instance<T>() where T : class, new() { if (Shared<T>.instance == null) { lock (typeof(Shared<T>)) { if (Shared<...
mit
C#
225083f99d6e5460ad9adec9a5b79ee42d559995
add commandline help message.
banban525/InspectCodeViewer,banban525/InspectCodeViewer,banban525/InspectCodeViewer,banban525/InspectCodeViewer
src_cs/ParseInspectedCodes/Options.cs
src_cs/ParseInspectedCodes/Options.cs
using CommandLine; namespace ParseInspectedCodes { class Options { [Option('i', "input", Required = true, HelpText = "path fro a InspectCode result file")] public string Input { get; set; } [Option("id", Required = false, HelpText = "revision id if you want to change id")] ...
using CommandLine; namespace ParseInspectedCodes { class Options { [Option('i', "input", Required = true, HelpText = "path fro a InspectCode result file")] public string Input { get; set; } [Option("id", Required = false, HelpText = "revision id if you want to change id")] ...
mit
C#
178187089ba219e8cef4499ac04008767f486128
Remove regions
foxip/mollie-api-csharp
Mollie.Api/Models/Issuer.cs
Mollie.Api/Models/Issuer.cs
namespace Mollie.Api.Models { /// <summary> /// iDeal issuer /// </summary> public class Issuer { public string id { get; set; } public string name { get; set; } public string method { get; set; } } }
namespace Mollie.Api.Models { #region Enums #endregion #region Plain objects /// <summary> /// iDeal issuer /// </summary> public class Issuer { public string id { get; set; } public string name { get; set; } public string method { get; set; } } #endregion }
bsd-2-clause
C#
db352168e7959c31279c4486af8def6048f9f770
update to the example project
florinciubotariu/RiotSharp,BenFradet/RiotSharp,jessehallam/RiotSharp,aktai0/RiotSharp,frederickrogan/RiotSharp,Challengermode/RiotSharp,jono-90/RiotSharp,Qinusty/RiotSharp,RodrigoArantes23/RiotSharp,Oucema90/RiotSharp,Shidesu/RiotSharp,oisindoherty/RiotSharp,JanOuborny/RiotSharp
RiotSharpExample/Program.cs
RiotSharpExample/Program.cs
using System; using System.Configuration; using System.Globalization; using RiotSharp; namespace RiotSharpExample { class Program { static void Main(string[] args) { var api = RiotApi.GetInstance(ConfigurationManager.AppSettings["ApiKey"]); var staticApi = StaticRiotApi...
using System; using System.Configuration; using RiotSharp; namespace RiotSharpExample { class Program { static void Main(string[] args) { var api = RiotApi.GetInstance(ConfigurationManager.AppSettings["ApiKey"]); var staticApi = StaticRiotApi.GetInstance(ConfigurationMa...
mit
C#
115428ec50d27915b36250e0b17dacca05b95926
Fix popups for Google & Apple sign-in
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Browser/Handling/General/CustomLifeSpanHandler.cs
Browser/Handling/General/CustomLifeSpanHandler.cs
using System; using CefSharp; using CefSharp.Handler; using TweetDuck.Controls; using TweetDuck.Utils; namespace TweetDuck.Browser.Handling.General { sealed class CustomLifeSpanHandler : LifeSpanHandler { private static bool IsPopupAllowed(string url) { return url.StartsWith("https://twitter.com/teams/authorize...
using CefSharp; using CefSharp.Handler; using TweetDuck.Controls; using TweetDuck.Utils; namespace TweetDuck.Browser.Handling.General { sealed class CustomLifeSpanHandler : LifeSpanHandler { private static bool IsPopupAllowed(string url) { return url.StartsWith("https://twitter.com/teams/authorize?"); } pu...
mit
C#
ada95a245ece747d72be3680c155f7ea31f04931
Add CORS headers
Dynalon/Rainy,Dynalon/Rainy,Dynalon/Rainy,Dynalon/Rainy
Rainy/RainyStandaloneServer.cs
Rainy/RainyStandaloneServer.cs
using System; using ServiceStack.WebHost.Endpoints; using ServiceStack.Common.Web; using log4net; using Rainy.OAuth; using Rainy.WebService; namespace Rainy { public class RainyStandaloneServer : IDisposable { public readonly string ListenUrl; public static OAuthHandlerBase OAuth; public static string Passk...
using System; using ServiceStack.WebHost.Endpoints; using ServiceStack.Common.Web; using log4net; using Rainy.OAuth; using Rainy.WebService; namespace Rainy { public class RainyStandaloneServer : IDisposable { public readonly string ListenUrl; public static OAuthHandlerBase OAuth; public static string Passk...
agpl-3.0
C#
e748160f56683e5a3c98c4f1321c5163a3ad1069
Update AmiDate data structure
kriasoft/amibroker
Plugin/Models/AmiDate.cs
Plugin/Models/AmiDate.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AmiDate.cs" company="KriaSoft LLC"> // Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt // </copyright> // -----------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AmiDate.cs" company="KriaSoft LLC"> // Copyright © 2013 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt // </copyright> // -----------------------------------------------------...
apache-2.0
C#
83436b34aa611b76776c55eb90825a4e31213078
include child tables
henkmeulekamp/IdentityServer3.EntityFramework,faithword/IdentityServer3.EntityFramework,chwilliamson/IdentityServer3.EntityFramework,buybackoff/IdentityServer3.EntityFramework,IdentityServer/IdentityServer3.EntityFramework
Source/Core.EntityFramework/Stores/ClientStore.cs
Source/Core.EntityFramework/Stores/ClientStore.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
ac66952a8b359817ae6a11542b3b38d4e16cae44
Remove whitespaces from AssemblyInfo file
AutoFixture/AutoFixture,sean-gilliam/AutoFixture,zvirja/AutoFixture,Pvlerick/AutoFixture
Src/AutoFixture.NUnit2/Properties/AssemblyInfo.cs
Src/AutoFixture.NUnit2/Properties/AssemblyInfo.cs
using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.InteropServices; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
mit
C#
533d56227b2f0ec81d535ac2a3777755d7844c1d
Change link to tiny link, that we can change without an update of umbraco
KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePant...
src/Umbraco.Web.Common/ActionsResults/PublishedContentNotFoundResult.cs
src/Umbraco.Web.Common/ActionsResults/PublishedContentNotFoundResult.cs
using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Umbraco.Web.Routing; namespace Umbraco.Web.Common.ActionsResults { /// <summary> /// Returns the Umbraco not found result /// </summary> public class PublishedContentNotFoundResult : I...
using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Umbraco.Web.Routing; namespace Umbraco.Web.Common.ActionsResults { /// <summary> /// Returns the Umbraco not found result /// </summary> public class PublishedContentNotFoundResult : I...
mit
C#
f00c5dc9f1eaecfb7688280a51004c787665bdca
update version to 0.5.0
kimberlysiva/unity-sdk,kimberlysiva/unity-sdk,watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,scottdangelo/unity-sdk,watson-developer-cloud/unity-sdk,scottdangelo/unity-sdk
Scripts/Utilities/Constants.cs
Scripts/Utilities/Constants.cs
/** * Copyright 2015 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
/** * Copyright 2015 IBM Corp. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
apache-2.0
C#
221ed1d7bc9730592b70ea0250c084101cbfd9c7
add todo to S_CREATURE_CHANGE_HP
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TeraPacketParser/Messages/S_CREATURE_CHANGE_HP.cs
TeraPacketParser/Messages/S_CREATURE_CHANGE_HP.cs
 namespace TeraPacketParser.Messages { public class S_CREATURE_CHANGE_HP : ParsedMessage { public long CurrentHP { get; } public long MaxHP { get; } public long Diff { get; } public ulong Target { get; } public ulong Source { get; } public bool Crit { get; } //TO...
 namespace TeraPacketParser.Messages { public class S_CREATURE_CHANGE_HP : ParsedMessage { public long CurrentHP { get; } public long MaxHP { get; } public long Diff { get; } public ulong Target { get; } public ulong Source { get; } public bool Crit { get; } ...
mit
C#
ee68fcb4aed1f7c414e36a8f3c04d4db48bd595e
add exception handling to motd controlservice request
hybrasyl/server,baughj/hybrasylserver,baughj/hybrasylserver,baughj/hybrasylserver,hybrasyl/server,hybrasyl/server
hybrasyl/ControlService.cs
hybrasyl/ControlService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using System.Threading.Tasks; using Hybrasyl.Objects; using Newtonsoft.Json.Linq; using StackExc...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using System.Threading.Tasks; using Hybrasyl.Objects; using Newtonsoft.Json.Linq; using StackExc...
agpl-3.0
C#
9508337b016d612f0fbe16528c01d5e8d3a1009b
Throw exception if tool is missing.
FacilityApi/FacilityJavaScript,FacilityApi/FacilityCSharp,FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/Facility
tools/Build/Build.cs
tools/Build/Build.cs
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgen___"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.GetEnvironmentVariable("BUILD_BOT_PASSWOR...
using System; using System.Linq; using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgen___"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.GetEnvironmentVariable("BUILD_BOT_PASSWOR...
mit
C#
4987695505f2be58c79f5c1e693eda6bb37348c0
Update run.cs
ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls,ouspg/trytls
stubs/cSharp-Net/run.cs
stubs/cSharp-Net/run.cs
using System; using System.Net; public class Run { static public void Main (String []args) { if (args.Length != 2){ Console.WriteLine("UNSUPPORTED"); Environment.Exit(0); } String host, port; host = args[0]; port = args[1]; try { string url = "https://" + host + ":" + p...
using System; using System.Net; //tested with Mono and Visual Studio: //* Mono: can't recommend using, test if you do not believe //* Visual Studio (all Ok). Same for F# and Visual Basic Stubs public class Run { static public void Main (String []args) { if (args.Length != 2){ Console.WriteLine("UNSUPPO...
mit
C#
1857c91647caa6acf62b35b07b207b1b7f20b0f4
Expand APIChangelog; Normalize its line endings
NeoAdonis/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,UselessToucan/osu,peppy/osu-new,EVAST9919/osu,johnneijzen/osu,ZLima12/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/o...
osu.Game/Online/API/Requests/Responses/APIChangelog.cs
osu.Game/Online/API/Requests/Responses/APIChangelog.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using Newtonsoft.Json; using System; using System.Collections.Generic; namespace osu.Game.Online.API.Requests.Responses { public class APIChangelog { [...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using Newtonsoft.Json; using System; using System.Collections.Generic; namespace osu.Game.Online.API.Requests.Responses { public class APIChangelog { [...
mit
C#
3e6a87046fc015b8f51cfb965f8976fef1bb18a9
Revert change.
mattscheffer/roslyn,amcasey/roslyn,abock/roslyn,sharwell/roslyn,akrisiun/roslyn,KirillOsenkov/roslyn,swaroop-sridhar/roslyn,Giftednewt/roslyn,jamesqo/roslyn,swaroop-sridhar/roslyn,DustinCampbell/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,bkoelman/roslyn,nguerrera/roslyn,MichalStrehovsky/roslyn,dotnet/roslyn,MattWindsor91...
src/EditorFeatures/Next/NavigateTo/Dev15NavigateToHostVersionService.cs
src/EditorFeatures/Next/NavigateTo/Dev15NavigateToHostVersionService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Editor.Implementation.NavigateTo; using Microsoft.VisualStudio.Language.NavigateTo.Interfaces; namespace Microsoft.CodeAnalysis...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Editor.Implementation.NavigateTo; using Microsoft.VisualStudio.Language.NavigateTo.Inte...
mit
C#
ecc6563b057ba4afd429ed65a6b3fe1cc49c1a71
clean bin folder on build
FrankFlamme/AntMeCore,AntMeNet/AntMeCore,FrankFlamme/AntMeCore,AntMeNet/AntMeCore
build.cake
build.cake
/// <summary> /// Just a simple build script. /// </summary> // ********************* // ARGUMENTS // ********************* var Target = Argument("target", "default"); var Configuration = Argument("configuration", "release"); // ********************* // VARIABLES // ********************* var Solution = ...
/// <summary> /// Just a simple build script. /// </summary> // ********************* // ARGUMENTS // ********************* var Target = Argument("target", "default"); var Configuration = Argument("configuration", "release"); // ********************* // VARIABLES // ********************* var Solution = ...
mit
C#
b20e2b85abcb4f0296ae34cf8c89da9858ad82cd
Fix tests to run in Release configuration
thomaslevesque/NString
build.cake
build.cake
using System.Xml.Linq; /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); // ...
using System.Xml.Linq; /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument<string>("target", "Default"); var configuration = Argument<string>("configuration", "Release"); // ...
apache-2.0
C#
f54fea86c22efaaf6d48635797bb7b0223e1f755
Set NPM install in build script to be silent
KevMain/kevin.main.com,KevMain/kevin.main.com,KevMain/kevin.main.com,KevMain/kevin.main.com
build.cake
build.cake
#addin "Cake.Npm" #addin "Cake.Gulp" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////...
#addin "Cake.Npm" #addin "Cake.Gulp" ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////...
mit
C#
0545f6b74d8e9f87378df75fcd38fcca53ef233d
Adjust logs section styling (#1907)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Server/Logs.cshtml
BTCPayServer/Views/Server/Logs.cshtml
@model BTCPayServer.Models.ServerViewModels.LogsViewModel @{ ViewData.SetActivePageAndTitle(ServerNavPages.Logs); } <partial name="_StatusMessage" /> <ul class="list-unstyled"> @foreach (var file in Model.LogFiles) { <li> <a asp-action="LogsView" asp-route-file="@file.Name">@file.Name...
@model BTCPayServer.Models.ServerViewModels.LogsViewModel @{ ViewData.SetActivePageAndTitle(ServerNavPages.Logs); } <partial name="_StatusMessage" /> <div class="row"> <ul> @foreach (var file in Model.LogFiles) { <li> <a asp-action="LogsView" asp-route-file="@file....
mit
C#
eeab51f3650034d7fffe3d9f23b78ca27741e00f
Remove auto-generated files
BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB
src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs
src/portable/BrightstarDB.Portable.MonoTouch/Properties/AssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
mit
C#
48191a086d2425ffc803b364d8543b43fd7bc38f
handle null case
EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework
osu.Framework/Input/FrameworkActionContainer.cs
osu.Framework/Input/FrameworkActionContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { internal clas...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { internal clas...
mit
C#
1fce0da33189907d8c14588af5b35dd8b5efb13a
Reword slightly, to allow better conformity with `IDistanceSnapProvider`
NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game/Rulesets/Edit/IPositionSnapProvider.cs
osu.Game/Rulesets/Edit/IPositionSnapProvider.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 osuTK; namespace osu.Game.Rulesets.Edit { /// <summary> /// A snap provider which given a proposed position for a hit object, potentially offers a more cor...
// 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 osuTK; namespace osu.Game.Rulesets.Edit { /// <summary> /// A snap provider which given the position of a hit object, offers a more correct position and ti...
mit
C#
eba37e8c1dc340bc2b4bad272953158eedf9f693
Update Gear_MyObject_Csharp.cs
PedroRossa/GearSDK,PedroRossa/GearSDK,PedroRossa/GearSDK,PedroRossa/GearSDK,PedroRossa/GearSDK
_Contribuition_FOLDER/MiddleLevel_GUIDE/C#/_Templates/Gear_MyObject_Csharp.cs
_Contribuition_FOLDER/MiddleLevel_GUIDE/C#/_Templates/Gear_MyObject_Csharp.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GearSDK_CSharpDLL.Gear_Objects { public class Gear_<MY_OBJECT>_csharp { #region Attributes int id; string name; string pin; int value; #endregion #region Co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GearSDK_CSharpDLL.Gear_Objects { public class Gear_<MY_OBJECT>_csharp { #region Attributes int id; string name; string pin; int value; #endregion #region Co...
mit
C#
6e07b46ac1931e5d2a27326daf58bb248ba7b185
Remove use of obsolete property.
Faithlife/FaithlifeUtility,ejball/ArgsReading,Faithlife/System.Data.SQLite,Faithlife/Parsing,Faithlife/System.Data.SQLite,ejball/XmlDocMarkdown
tools/Build/Build.cs
tools/Build/Build.cs
using System; using Faithlife.Build; internal static class Build { public static int Main(string[] args) => BuildRunner.Execute(args, build => { build.AddDotNetTargets( new DotNetBuildSettings { NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"), DocsSettings = new DotNetDocsSettings ...
using System; using Faithlife.Build; internal static class Build { public static int Main(string[] args) => BuildRunner.Execute(args, build => { build.AddDotNetTargets( new DotNetBuildSettings { NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"), DocsSettings = new DotNetDocsSettings ...
mit
C#
3cf5fb9cf7983b7d8f3ee45bd800a04044f7c4bc
Swap channel and shoot
JollyCompany/teamjollygame2
jollyplatformer/Assets/Scripts/HeroController.cs
jollyplatformer/Assets/Scripts/HeroController.cs
using UnityEngine; using System.Collections; using InControl; public class HeroController : MonoBehaviour { public int PlayerNumber; void Start () { string playerNumberString = this.name.Substring(this.name.Length-2, 1); this.PlayerNumber = int.Parse(playerNumberString); } public InputDevice InputDevice {...
using UnityEngine; using System.Collections; using InControl; public class HeroController : MonoBehaviour { public int PlayerNumber; void Start () { string playerNumberString = this.name.Substring(this.name.Length-2, 1); this.PlayerNumber = int.Parse(playerNumberString); } public InputDevice InputDevice {...
mit
C#
9a731c01ba72e50d42112f621de35c3adfb4158b
Update PartsTests.cs
Particular/SyncOMatic
src/Tests/PartsTests.cs
src/Tests/PartsTests.cs
using System; using System.Threading.Tasks; using GitHubSync; using VerifyXunit; using Xunit; using Xunit.Abstractions; [UsesVerify] public class PartsTests : XunitContextBase { [Fact] public Task Tree() { var parts = new Parts("SimonCropp/Fake", TreeEntryTargetType.Tree, "develop", "buildSupp...
using System; using System.Threading.Tasks; using GitHubSync; using VerifyXunit; using Xunit; using Xunit.Abstractions; public class PartsTests : XunitContextBase { [Fact] public Task Tree() { var parts = new Parts("SimonCropp/Fake", TreeEntryTargetType.Tree, "develop", "buildSupport"); ...
mit
C#
dfaadd6acf8ebf5b4b73fffdeeabb99adcd1ce40
Add exeption handling in sample app
auth0/Auth0.Windows.UWP,auth0/Auth0.Windows.UWP
samples/LoginClientSample.Cs/MainPage.xaml.cs
samples/LoginClientSample.Cs/MainPage.xaml.cs
using Auth0.LoginClient; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primiti...
using Auth0.LoginClient; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primiti...
mit
C#
1a22b1451c8659ba35f2d55273461197ee03ef20
バージョンを1.0.3に変更
karamem0/LinqToCalil
source/LinqToCalil/Properties/AssemblyInfo.cs
source/LinqToCalil/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("LinqToCalil")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("karamem0")] [assembly: AssemblyProduct("LinqToCalil")] [assembly: AssemblyCopyright("Copyright © 2...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("LinqToCalil")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("karamem0")] [assembly: AssemblyProduct("LinqToCalil")] [assembly: AssemblyCopyright("Copyright © 2...
apache-2.0
C#
91d337fe553e4b139a54d236b71c10f36c21d999
Fix duplicate content in LessContentTransformer
irii/Bundler,irii/Bundler
Bundler.Less/LessContentTransformer.cs
Bundler.Less/LessContentTransformer.cs
using System; using System.IO; using Bundler.Infrastructure; using dotless.Core; using dotless.Core.configuration; namespace Bundler.Less { public class LessContentTransformer : IContentTransformer { void IDisposable.Dispose() { } bool IContentTransformer.Process(IBundleContext bundleContext, IFi...
using System; using System.IO; using Bundler.Infrastructure; using dotless.Core; using dotless.Core.configuration; namespace Bundler.Less { public class LessContentTransformer : IContentTransformer { void IDisposable.Dispose() { } bool IContentTransformer.Process(IBundleContext bundleContext, IFi...
mit
C#
64a50ee4a489c169e93794913849fa1c57753217
Set auto-incrementing file version, starting with 0.1, since we're at alpha stage
j2jensen/CallMeMaybe
CallMeMaybe/Properties/AssemblyInfo.cs
CallMeMaybe/Properties/AssemblyInfo.cs
using System.Resources; 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 assembl...
using System.Resources; 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 assembl...
mit
C#
fe0bf70df1fa41a49aff61b3177123eb50a4f347
Update IDataRow.cs
haskox/DotNetSiemensPLCToolBoxLibrary,Nick135/DotNetSiemensPLCToolBoxLibrary,Nick135/DotNetSiemensPLCToolBoxLibrary,dotnetprojects/DotNetSiemensPLCToolBoxLibrary,jogibear9988/DotNetSiemensPLCToolBoxLibrary,proemmer/DotNetSiemensPLCToolBoxLibrary,StefanHasensperling/DotNetSiemensPLCToolBoxLibrary,dotnetprojects/DotNetSi...
LibNoDaveConnectionLibrary/DataTypes/Blocks/IDataRow.cs
LibNoDaveConnectionLibrary/DataTypes/Blocks/IDataRow.cs
/* This implements a high level Wrapper between libnodave.dll and applications written in MS .Net languages. This ConnectionLibrary was written by Jochen Kuehner * http://jfk-solutuions.de/ * * Thanks go to: * Steffen Krayer -> For his work on MC7 decoding and the Source for his Decoder * Zottel ...
/* This implements a high level Wrapper between libnodave.dll and applications written in MS .Net languages. This ConnectionLibrary was written by Jochen Kuehner * http://jfk-solutuions.de/ * * Thanks go to: * Steffen Krayer -> For his work on MC7 decoding and the Source for his Decoder * Zottel ...
lgpl-2.1
C#
807ff5b3821c80fc63b0e542bb48cd669487596f
Fix error counter logic
yawaramin/TDDUnit
TestSuite.cs
TestSuite.cs
using System; using System.Collections.Generic; using System.Linq; namespace TDDUnit { class TestSuite { public TestSuite(Type type = null) { if (type != null) { var methodInfos = from methodInfo in type.GetMethods() where methodInfo.Name.StartsWith("Test") ...
using System; using System.Collections.Generic; using System.Linq; namespace TDDUnit { class TestSuite { public TestSuite(Type type = null) { if (type != null) { var methodInfos = from methodInfo in type.GetMethods() where methodInfo.Name.StartsWith("Test") ...
apache-2.0
C#
c013fd9ed73ff8e6de6309c84d37eff20cb420f2
Test rebind instance.
JohanLarsson/Gu.Inject
Gu.Inject.Tests/KernelTests.Rebind.cs
Gu.Inject.Tests/KernelTests.Rebind.cs
namespace Gu.Inject.Tests { using System; using Gu.Inject.Tests.Types; using Moq; using NUnit.Framework; public partial class KernelTests { public class Rebind { [Test] public void BindThenReBindThenGet() { using (var kernel ...
namespace Gu.Inject.Tests { using System; using Gu.Inject.Tests.Types; using Moq; using NUnit.Framework; public partial class KernelTests { public class Rebind { [Test] public void BindThenReBindThenGet() { using (var kernel ...
mit
C#
25120c52cbfe299697e3331429fd73d8b77d4d32
Update DataTool.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D/UI/Avalonia/Dock/Tools/DataTool.cs
src/Core2D/UI/Avalonia/Dock/Tools/DataTool.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DMC = Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Data view. /// </summary> public class DataTool : DMC...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DMC=Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Data view. /// </summary> public class DataTool : DMC.T...
mit
C#
7a4a3779ab7867a3d89948bd4a63a71f79845753
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#
9f2b631669d163dd7d0d0433c795c1681051d678
make it public
mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp,mono-soc-2013/gstreamer-sharp
sources/custom/Adapter.cs
sources/custom/Adapter.cs
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
agpl-3.0
C#
ddefd758fdf02ea9450aa256a19e55aca8ac2039
Update AutofilterData.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-sh...
Examples/CSharp/Data/Processing/FilteringAndValidation/AutofilterData.cs
Examples/CSharp/Data/Processing/FilteringAndValidation/AutofilterData.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing.Processing.FilteringAndValidation { public class AutofilterData { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Data.Processing.Processing.FilteringAndValidation { public class AutofilterData { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples...
mit
C#
7fdca74ee61c4891142ee1ab1cd0bc45f0aebacc
Add remarks on difference between binary SerializationFormat and transport/protocol format. Binary could be Json with a header, potentially even the same data type could be serialized as blittable or as Json, yet this should not be supported supported inside a single strongly-typed data stream.
Spreads/Spreads
src/Spreads.Core/Serialization/SerializationFormat.cs
src/Spreads.Core/Serialization/SerializationFormat.cs
namespace Spreads.Serialization { /// <summary> /// Binary serialization format. Serialized data always has a header describing the method of /// binary serialization. The data could be Json, but because of the header it is not directly /// consumable by e.g. browsers. However, for JSON/JSONDeflate cas...
namespace Spreads.Serialization { /// <summary> /// JsonDeflate: /// Objects are converted to JSON and compressed with raw deflate method /// if compression gives smaller size. This format is compatible with raw /// http payload with 'Accept-encoding: deflate' headers. /// /// BinaryLz4/Zst...
mpl-2.0
C#
cf323deae32c01b9f3b0942fe3752b04aba26168
Change extension method name to avoid collision.
PCFDev/RoleAuthorizeAttribute,PCFDev/RoleAuthorizeAttribute,PCFDev/RoleAuthorizeAttribute
RoleAuthorizeAttribute/RoleAuthorizeAttribute/RoleAuthorizeExtensions.cs
RoleAuthorizeAttribute/RoleAuthorizeAttribute/RoleAuthorizeExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; namespace RoleAuthorize.Extensions { public static class RoleAuthorizeExtensions { private static readonly char[] Delimiter = new char[] { ',' }; /// <summary> /// Checks if a user is i...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Principal; namespace RoleAuthorize.Extensions { public static class RoleAuthorizeExtensions { private static readonly char[] Delimiter = new char[] { ',' }; /// <summary> /// Checks if a user is i...
mit
C#
9992d623e88b818474e937037ef43e1610a3204c
make Doors list private, add getter
whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016
Assets/Scripts/RoomDetails.cs
Assets/Scripts/RoomDetails.cs
using System.Collections.Generic; using UnityEngine; public class RoomDetails : MonoBehaviour { public int HorizontalSize; public int VerticalSize; private List<GameObject> Doors; void Start() { int doorIndex = 0; for(int i = 0; i < transform.childCount; i++) { GameObject...
using System.Collections.Generic; using UnityEngine; public class RoomDetails : MonoBehaviour { public int HorizontalSize; public int VerticalSize; public List<GameObject> Doors; void Start() { int doorIndex = 0; for(int i = 0; i < transform.childCount; i++) { GameObject ...
mit
C#
2bbdd920b7af637884c97cb57001dc3fa950e929
Fix fault with subcommand server attribute
HelloKitty/Booma.Proxy
src/Booma.Proxy.Packets.BlockServer/Attributes/SubCommand60ServerAttribute.cs
src/Booma.Proxy.Packets.BlockServer/Attributes/SubCommand60ServerAttribute.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Booma.Proxy { /// <summary> /// Marks the 0x60 command server payload with the associated operation ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Booma.Proxy { /// <summary> /// Marks the 0x60 command server payload with the associated operation ...
agpl-3.0
C#
b1b3e01abdc6dc7ccde647f262b1936cc6e7265b
Apply review suggestion.
smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu
osu.Game/Online/Placeholders/LoginPlaceholder.cs
osu.Game/Online/Placeholders/LoginPlaceholder.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics.Containers; using osu.Game.Graphics.UserInter...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics.Containers; using osu.Game.Graphics.UserInter...
mit
C#
d8b644704fbe134c42a1c701f6ab20626ebb5cb0
fix bugs
johnsmilee0611/psake-demo,johnsmilee0611/psake-demo,johnsmilee0611/psake-demo
ConsoleApplication/Program.cs
ConsoleApplication/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication { internal class Program { private static void Main(string[] args) { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication { class Program { static void Main(string[] args) { } }
mit
C#
fff1d23237147dd5f0d1390e12955e5f2a237358
Improve readability
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/QrEncoder/Masking/Pattern7.cs
WalletWasabi.Gui/Controls/QrEncoder/Masking/Pattern7.cs
using System; namespace Gma.QrCodeNet.Encoding.Masking { internal class Pattern7 : Pattern { public override bool this[int i, int j] { get { return ((((i * j) % 3) + (((i + j) % 2)) % 2)) == 0; } set { throw new NotSupportedException(); } } public override MaskPatternType MaskPatternType { get {...
using System; namespace Gma.QrCodeNet.Encoding.Masking { internal class Pattern7 : Pattern { public override bool this[int i, int j] { get { return ((((i * j) % 3) + (i + j) % 2) % 2) == 0; } set { throw new NotSupportedException(); } } public override MaskPatternType MaskPatternType { get { ret...
mit
C#
4400102d13dbee409c8c1413d839f3fba417839f
Change DefaultAuthenticationType to Google
TerribleDev/OwinOAuthProviders,tparnell8/OwinOAuthProviders,tparnell8/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,RockstarLabs/OwinOAuthProviders,tparnell8/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,RockstarLabs/OwinOAuthProviders,RockstarLabs/OwinOAuthProviders
src/Owin.Security.Providers.Google/Constants.cs
src/Owin.Security.Providers.Google/Constants.cs
namespace Owin.Security.Providers.Google { internal static class Constants { public const string DefaultAuthenticationType = "Google"; } }
namespace Owin.Security.Providers.Google { internal static class Constants { public const string DefaultAuthenticationType = "GooglePlus"; } }
mit
C#
3dc9cdccffb9e19fa8d45986277263063cf10967
Set geometry in constructor
charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui
Mapsui/Extensions/FeatureExtensions.cs
Mapsui/Extensions/FeatureExtensions.cs
using System.Collections.Generic; using System.Linq; using Mapsui.GeometryLayer; namespace Mapsui.Extensions { public static class FeatureExtensions { public static GeometryFeature Copy(this GeometryFeature original) { var geometryFeature = new GeometryFeature(original.Geometry.Copy...
using System.Collections.Generic; using System.Linq; using Mapsui.GeometryLayer; namespace Mapsui.Extensions { public static class FeatureExtensions { public static GeometryFeature Copy(this GeometryFeature original) { var geometryFeature = new GeometryFeature(); geometr...
mit
C#
02fe638c64bfd8ac0ed252697f6bf414c6f17a02
Bump version to 2.2
kreuzhofer/SQLite.Net-PCL,fernandovm/SQLite.Net-PCL,TiendaNube/SQLite.Net-PCL,molinch/SQLite.Net-PCL,mattleibow/SQLite.Net-PCL,igrali/SQLite.Net-PCL,igrali/SQLite.Net-PCL,oysteinkrog/SQLite.Net-PCL,caseydedore/SQLite.Net-PCL
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [a...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [a...
mit
C#
9ddafb64af604e8a9ef0c52fd6157efad1bc2cfa
update vs
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/SelfUpdater/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/SelfUpdater/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Web; // 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("SelfUpdater")] [assembl...
using System.Reflection; using System.Runtime.InteropServices; using System.Web; // 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("SelfUpdater")] [assembl...
apache-2.0
C#
dbfa1c6717eb736e444a23f4724f1b819b450d4f
Undo wrong changes by previous commit
magenta-aps/cprbroker,OS2CPRbroker/cprbroker,magenta-aps/cprbroker,OS2CPRbroker/cprbroker,magenta-aps/cprbroker
PART/Source/CprBroker/BatchClient/Program.cs
PART/Source/CprBroker/BatchClient/Program.cs
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/M...
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/M...
mpl-2.0
C#
e65ce9e230f7a5de6047ec4f05b05ba83c1fc7b9
Improve ConnectableObservable
neuecc/UniRx,endo0407/UniRx,OC-Leon/UniRx,cruwel/UniRx,ufcpp/UniRx,cruwel/UniRx,TORISOUP/UniRx,ataihei/UniRx,cruwel/UniRx,kimsama/UniRx,saruiwa/UniRx,m-ishikawa/UniRx,OrangeCube/UniRx,ppcuni/UniRx
Assets/UniRx/Scripts/Subjects/ConnectableObservable.cs
Assets/UniRx/Scripts/Subjects/ConnectableObservable.cs
using System; namespace UniRx { public interface IConnectableObservable<T> : IObservable<T> { IDisposable Connect(); } public static partial class Observable { class ConnectableObservable<T> : IConnectableObservable<T> { readonly IObservable<T> source; ...
using System; using System.Collections.Generic; using System.Text; namespace UniRx { public interface IConnectableObservable<T> : IObservable<T> { IDisposable Connect(); } public static partial class Observable { class ConnectableObservable<T> : IConnectableObservable<T> {...
mit
C#
12f80ad0a4979acd78e7c1ed2e00b1e3d100327f
Change equality
Michael-Gungaram/StringBuilder
FirstSolution/IntechCode/IntechCollection/MyHashSet.cs
FirstSolution/IntechCode/IntechCollection/MyHashSet.cs
using System; using System.Collections.Generic; using System.Text; namespace IntechCode.IntechCollection { public class MyHashSet<T> : IMyHashSet<T> { T[] _items; int _count; const int DefaultCapacity = 16; public MyHashSet() { _count = 0; _ite...
using System; using System.Collections.Generic; using System.Text; namespace IntechCode.IntechCollection { public class MyHashSet<T> : IMyHashSet<T> { T[] _items; int _count; const int DefaultCapacity = 16; public MyHashSet() { _count = 0; _ite...
mit
C#
d2c0cc41366d6e3eb1d3f6d398fb303454073c58
Rename ActionItemSubMenu.Id to ID to be consistent
l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto
Source/Eto/Forms/Actions/ActionItem.cs
Source/Eto/Forms/Actions/ActionItem.cs
using System; using System.Collections; namespace Eto.Forms { public partial interface IActionItem { void Generate(ToolBar toolBar); int Order { get; } } public abstract partial class ActionItemBase : IActionItem { int order = 500; public abstract void Generate(ToolBar toolBar); public int Orde...
using System; using System.Collections; namespace Eto.Forms { public partial interface IActionItem { void Generate(ToolBar toolBar); int Order { get; } } public abstract partial class ActionItemBase : IActionItem { int order = 500; public abstract void Generate(ToolBar toolBar); public int Orde...
bsd-3-clause
C#
a81601b7ccd98a010326114168f8c8d4f82a2745
Change text style for project status in project details.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/Project/ProjectDetailsStatusPartial.cshtml
src/CompetitionPlatform/Views/Project/ProjectDetailsStatusPartial.cshtml
@using System.Threading.Tasks @model CompetitionPlatform.Models.ProjectViewModels.ProjectDetailsStatusViewModel @if (Model.Status == Status.Initiative) { <div> <p class="project-voting-text text-muted">Cast your vote for or against the competition. Do you think this is the project that Lykke City needs?</p...
@using System.Threading.Tasks @model CompetitionPlatform.Models.ProjectViewModels.ProjectDetailsStatusViewModel @if (Model.Status == Status.Initiative) { <div> <p class="project-voting-text text-muted">Cast your vote for or against the competition. Do you think this is the project that Lykke City needs?</p...
mit
C#
64fb465d932b21ace0fe14846fb9205a01c1774d
Update Program.cs
adel-qod/flying-monkey-retrieval
IR/Program.cs
IR/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Collections; using System.IO; namespace IR { class Program { static void Main(string[] args) { // Debug by default sends to the Output message (below ..) so r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Diagnostics; using System.Collections; using System.IO; namespace IR { class Program { static void Main(string[] args) { // Debug by default sends to the Output message (below ..) so r...
bsd-2-clause
C#
eb33d26fffe85f1cefa0bc976831eae93a9ddabc
Add OverrideReceiver to AkkaReceiverNotificationChannel.
SaladbowlCreative/Akka.Interfaced,SaladLab/Akka.Interfaced,SaladLab/Akka.Interfaced,SaladbowlCreative/Akka.Interfaced
core/Akka.Interfaced/AkkaReceiverNotificationChannel.cs
core/Akka.Interfaced/AkkaReceiverNotificationChannel.cs
using Akka.Actor; namespace Akka.Interfaced { public class AkkaReceiverNotificationChannel : INotificationChannel { public ICanTell Receiver { get; private set; } private int _lastNotificationId; public AkkaReceiverNotificationChannel(ICanTell receiver) { Receiver...
using Akka.Actor; namespace Akka.Interfaced { public class AkkaReceiverNotificationChannel : INotificationChannel { public ICanTell Receiver { get; } private int _lastNotificationId; public AkkaReceiverNotificationChannel(ICanTell receiver) { Receiver = receiver; ...
mit
C#
fd321109da8f9f621c7ae5b0e3dfb974154a1fc6
Remove unnecessary `virtual` specification on `Refresh`
NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Database/DatabaseBackedStore.cs
osu.Game/Database/DatabaseBackedStore.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.Linq; using Microsoft.EntityFrameworkCore; using osu.Framework.Platform; namespace osu.Game.Database { public abstract class DatabaseBackedStore { ...
// 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.Linq; using Microsoft.EntityFrameworkCore; using osu.Framework.Platform; namespace osu.Game.Database { public abstract class DatabaseBackedStore { ...
mit
C#
a47ebca8ce63ff32b42dcb59b7f26f812825cd6b
Add administrator user by default
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.DataLayer/DiplomContextExtensions.cs
src/Diploms.DataLayer/DiplomContextExtensions.cs
using System; using System.Linq; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Diploms.Core; using System.Collections.Generic; namespace Diploms.DataLayer { public static class DiplomContentSystemExtensions { public static void EnsureSeedData(...
using System.Linq; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Diploms.Core; namespace Diploms.DataLayer { public static class DiplomContentSystemExtensions { public static void EnsureSeedData(this DiplomContext context) { ...
mit
C#
6aacfa87f46032367bab956126b8fd35187b5a0b
Add some doc to IoC
cH40z-Lord/Stylet,canton7/Stylet,cH40z-Lord/Stylet,canton7/Stylet
Stylet/IoC.cs
Stylet/IoC.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet { /// <summary> /// A lightweight wrapper around the IoC container of your choice. Configured in the bootstrapper /// </summary> public static class IoC { //...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet { public static class IoC { public static Func<Type, string, object> GetInstance = (service, key) => { throw new InvalidOperationException("IoC is not initialized"); }; ...
mit
C#
4480b817a7d1b9579af9c9b8f1f50a20b81f277e
Fix popups
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Popup.cs
SteamAccountSwitcher/Popup.cs
#region using System.Windows; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal static class Popup { public static MessageBoxResult Show(string text, MessageBoxButton button = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.Informati...
#region using System.Windows; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal static class Popup { public static MessageBoxResult Show(string text, MessageBoxButton button = MessageBoxButton.OK, MessageBoxImage image = MessageBoxImage.Informati...
mit
C#
ab5074b702b2cf505ac3e24f8beffaaba44ee31d
Increase size 10 times for MTOM
teerachail/SoapWithAttachments
WebsiteForSpike/MtomTestSite/Service1.svc.cs
WebsiteForSpike/MtomTestSite/Service1.svc.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace MtomTestSite { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; namespace MtomTestSite { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "S...
mit
C#
cc73cda469d5b9f58e028f6dcf35eda67d4c9a7d
Refactor DownloadZip in terms of Download
weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq
src/Core/Zip/ZipQuery.cs
src/Core/Zip/ZipQuery.cs
#region Copyright (c) 2016 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
#region Copyright (c) 2016 Atif Aziz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
apache-2.0
C#
3e51f3489d4bd1de8bf68e3ada1d8fe28b1f28d3
remove unused example
KevM/Reactive.Config
src/Reactive.Config/IConfigured.cs
src/Reactive.Config/IConfigured.cs
namespace Reactive.Config { public interface IConfigured {} }
using System; namespace Reactive.Config { public interface IConfigured {} public class MyExampleConfiguration : IConfigured { public bool IsEnabled { get;set;} = false; public DateTime EnabledOn { get;set;} = new DateTime(2017, 1, 1, 10, 30, 0); public string ShutoffMessage { get;set;}...
mit
C#
68d6e8c138c5d0b81f3d592dc6f335d2485fc40e
Use full path to source folder
davidebbo/WAWSDeploy,davidebbo/WAWSDeploy
WAWSDeploy/WebDeployHelper.cs
WAWSDeploy/WebDeployHelper.cs
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Xml.Linq; using Microsoft.Web.Deployment; namespace WAWSDeploy { public class WebDeployHelper { public DeploymentChangeSummary DeployContentToOneSite(string contentPath, string publishSettingsFile) { ...
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Xml.Linq; using Microsoft.Web.Deployment; namespace WAWSDeploy { public class WebDeployHelper { public DeploymentChangeSummary DeployContentToOneSite(string contentPath, string publishSettingsFile) { ...
apache-2.0
C#
dd8da6a59acf3a05530c14524f1a9aff88f6b83d
Make it TryFind
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Wallets/PasswordFinder.cs
WalletWasabi/Wallets/PasswordFinder.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Security; using System.Threading; namespace WalletWasabi.Wallets { public class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, string> { ["en"] = "abcdefghijkmn...
using NBitcoin; using System; using System.Collections.Generic; using System.Linq; using System.Security; namespace WalletWasabi.Wallets { public static class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, string> { ["en"] = "abcdefghijkmnopqrstuvwxyzABCDE...
mit
C#
b8678b64594b3c77a2c5948c0a9b8d2c8e52289e
Update InputToController.cs
fqlx/XboxKeyboardMouse
XboxKeyboardMouse/InputToController.cs
XboxKeyboardMouse/InputToController.cs
using ScpDriverInterface; using System; using System.Windows.Forms; namespace XboxKeyboardMouse { class InputToController { const int CONTROLLER_NUMBER = 1; static ScpBus scpbus = null; public static void ActivateKeyboardAndMouse() { X360Controller controller = ne...
using ScpDriverInterface; using System; using System.Windows.Forms; namespace XboxKeyboardMouse { class InputToController { const int CONTROLLER_NUMBER = 1; static ScpBus scpbus = null; public static void ActivateKeyboardAndMouse() { X360Controller controller = ne...
apache-2.0
C#
336eedc728e3cd8c1391b633886fa1b706469bb7
Add comment on how to configure environment variables
amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre
src/TeamCityTheatre.Web/Program.cs
src/TeamCityTheatre.Web/Program.cs
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Serilog; namespace TeamCityTheatre.Web { public class Program { public static void Main(string[] args) { var environment = Environment(); ...
using System; using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Serilog; namespace TeamCityTheatre.Web { public class Program { public static void Main(string[] args) { var environment = Environment(); ...
mit
C#
4691a0abc889269f83b9efc1b72808bd598df6a1
bump version, replace default copyright message
mono/ServiceStack.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,meebey/ServiceStack.Text,NServiceKit/NServiceKit.Text
src/ServiceStack.Text/Properties/AssemblyInfo.cs
src/ServiceStack.Text/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...
bsd-3-clause
C#
b9b0215f580c07790ea62ddee259c5bc25222290
Remove public constructor for MySqlConversionException.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
src/MySqlConnector/MySqlConversionException.cs
src/MySqlConnector/MySqlConversionException.cs
using System; #if !NETSTANDARD1_3 using System.Runtime.Serialization; #endif namespace MySqlConnector { /// <summary> /// <see cref="MySqlConversionException"/> is thrown when a MySQL value can't be converted to another type. /// </summary> #if !NETSTANDARD1_3 [Serializable] #endif public class MySqlConversionExc...
using System; #if !NETSTANDARD1_3 using System.Runtime.Serialization; #endif namespace MySqlConnector { /// <summary> /// <see cref="MySqlConversionException"/> is thrown when a MySQL value can't be converted to another type. /// </summary> #if !NETSTANDARD1_3 [Serializable] #endif public class MySqlConversionExc...
mit
C#
3c56b565066f623ae202257ab442c976a9a42399
Update version number to 0.7.1
PhannGor/unity3d-rainbow-folders
Assets/Plugins/RainbowFolders/Editor/Scripts/Info/AssetInfo.cs
Assets/Plugins/RainbowFolders/Editor/Scripts/Info/AssetInfo.cs
/* * 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 in writing, software * distrib...
/* * 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 in writing, software * distrib...
apache-2.0
C#
40936f9d1120b160beb411e1f5b78c12c672b20f
Test program
Raimmaster/Compiler
Compiler/Program.cs
Compiler/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Compiler { class Program { static void Main(string[] args) { var input = @"read a; read b; c = a + b; d =...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Compiler { class Program { static void Main(string[] args) { var input = @"read a; read b; c = a + b; d =...
mit
C#
177edfe086cd2734c9a20cb19170ceb3e402496c
Bump assembly version
Deadpikle/NetSparkle,Deadpikle/NetSparkle
AssemblyInfo.cs
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("Net...
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("Net...
mit
C#
5c5e8fdb859c25a87a915f26122c523d634363f1
Rename for clarity
eatdrinksleepcode/casper,eatdrinksleepcode/casper
Core/ProjectBase.cs
Core/ProjectBase.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Casper { public abstract class ProjectBase { private readonly TaskCollection tasks; private readonly ProjectCollection subprojects; protected readonly ProjectBase parent; private readonly DirectoryInfo location; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Casper { public abstract class ProjectBase { private readonly TaskCollection tasks; private readonly ProjectCollection subprojects; protected readonly ProjectBase parent; private readonly DirectoryInfo location; ...
mit
C#
e867ad37caf2f1bea180ee52291adbcaa9e5bd9a
Use test cases.
JohanLarsson/Gu.Settings,JohanLarsson/Gu.Persist
Gu.Persist.Core.Tests/Helpers/RepositoryExt.cs
Gu.Persist.Core.Tests/Helpers/RepositoryExt.cs
namespace Gu.Persist.Core.Tests { using System.Reflection; using Gu.Persist.Core; using NUnit.Framework; public static class RepositoryExt { public static FileCache GetCache(this ISingletonRepository repo) { if (repo == null) { return null; ...
namespace Gu.Persist.Core.Tests { using System.IO; using System.Reflection; using System.Runtime.CompilerServices; using Gu.Persist.Core; using Gu.Persist.Core.Backup; using NUnit.Framework; public static class RepositoryExt { public static FileInfo GetTestFileInfo(this IReposi...
mit
C#
a7cc8b3c3a8b09cef94f7acf4b9b8f28c08ddab8
Rename ExpirationMode.ImmediateExpiry => ExpirationMode.ImmediateEviction
alastairtree/LazyCache,alastairtree/LazyCache
LazyCache/MemoryCacheEntryOptionsExtensions.cs
LazyCache/MemoryCacheEntryOptionsExtensions.cs
using System; using Microsoft.Extensions.Caching.Memory; namespace LazyCache { public class LazyCacheEntryOptions : MemoryCacheEntryOptions { public ExpirationMode ExpirationMode { get; set; } public TimeSpan ImmediateAbsoluteExpirationRelativeToNow { get; set; } public static LazyCac...
using System; using Microsoft.Extensions.Caching.Memory; namespace LazyCache { public class LazyCacheEntryOptions : MemoryCacheEntryOptions { public ExpirationMode ExpirationMode { get; set; } public TimeSpan ImmediateAbsoluteExpirationRelativeToNow { get; set; } public static LazyCac...
mit
C#
cdb721b79d2cdb1f454a9db53f2df3ec7c897373
Allow access to standalone queue storage
Drewan/LightBlue,Drewan/LightBlue,Drewan/LightBlue,LightBlueProject/LightBlue,wangdoubleyan/LightBlue,LightBlueProject/LightBlue,LightBlueProject/LightBlue,ColinScott/LightBlue,ColinScott/LightBlue,wangdoubleyan/LightBlue,wangdoubleyan/LightBlue,ColinScott/LightBlue
LightBlue/Standalone/StandaloneAzureStorage.cs
LightBlue/Standalone/StandaloneAzureStorage.cs
using System; using System.IO; using System.Linq; namespace LightBlue.Standalone { public class StandaloneAzureStorage : IAzureStorage { public const string DevelopmentAccountName = "dev"; private readonly string _storageAccountDirectory; public StandaloneAzureStorage(string connecti...
using System; using System.IO; using System.Linq; namespace LightBlue.Standalone { public class StandaloneAzureStorage : IAzureStorage { public const string DevelopmentAccountName = "dev"; private readonly string _storageAccountDirectory; public StandaloneAzureStorage(string connecti...
apache-2.0
C#
b9e4f73f78fa5bf3cdacefdd10d3a186079913be
Add concurrent objects check to `BeatmapVerifier`
smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu
osu.Game/Rulesets/Edit/BeatmapVerifier.cs
osu.Game/Rulesets/Edit/BeatmapVerifier.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets.Edit.Checks; using osu.Game.Rulesets.Edit.Checks.Components; namesp...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps; using osu.Game.Rulesets.Edit.Checks; using osu.Game.Rulesets.Edit.Checks.Components; namesp...
mit
C#
ff1b1549eb83df817e3b068018cb94f0ceecf3ba
Add failing test for get paused trigger groups
lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb
src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs
src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs
using System; using Quartz.Simpl; using Quartz.Spi; using Xunit; namespace Quartz.DynamoDB.Tests { public class TriggerGroupGetTests { IJobStore _sut; public TriggerGroupGetTests() { _sut = new JobStore(); var signaler = new Quartz.DynamoDB.Tests.Integration.Ra...
using System; using Quartz.Simpl; using Quartz.Spi; namespace Quartz.DynamoDB.Tests { public class TriggerGroupGetTests { IJobStore _sut; public TriggerGroupGetTests() { _sut = new JobStore(); var signaler = new Quartz.DynamoDB.Tests.Integration.RamJobStoreTest...
apache-2.0
C#
f07b30f982f11f60a072a69444e79591fc439bd4
Fix CopyCodeLinkLabel
nikeee/HolzShots
src/HolzShots.Windows/Forms/CopyCodeLinkLabel.cs
src/HolzShots.Windows/Forms/CopyCodeLinkLabel.cs
using System; using System.ComponentModel; using System.Drawing; namespace HolzShots.Windows.Forms { public class CopyCodeLinkLabel : ExplorerLinkLabel { private static readonly Font _font = new Font("Consolas", 9.75f, FontStyle.Regular, GraphicsUnit.Point); // Consolas; 9,75pt public CopyCode...
using System.ComponentModel; using System.Drawing; namespace HolzShots.Windows.Forms { public class CopyCodeLinkLabel : ExplorerLinkLabel { private static readonly Font _font = new Font("Consolas", 9.75f, FontStyle.Regular, GraphicsUnit.Point); // Consolas; 9,75pt [ReadOnly(true)] publ...
agpl-3.0
C#
826ce9dce965049ed39b1101842b96e63b876b02
Fix doc string.
mthamil/SharpEssentials
SharpEssentials.Controls/TreeViewExtensions.cs
SharpEssentials.Controls/TreeViewExtensions.cs
// Sharp Essentials // Copyright 2017 Matthew Hamilton - matthamilton@live.com // // 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 // ...
// Sharp Essentials // Copyright 2017 Matthew Hamilton - matthamilton@live.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // ...
apache-2.0
C#
5830d0e2d5e362801f4dfcb653e95d23f91267be
Update OperandSizeAttribute.cs (#285)
AntShares/AntShares.VM
src/neo-vm/OperandSizeAttribute.cs
src/neo-vm/OperandSizeAttribute.cs
using System; namespace Neo.VM { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] public class OperandSizeAttribute : Attribute { public int Size { get; set; } public int SizePrefix { get; set; } } }
using System; namespace Neo.VM { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] internal class OperandSizeAttribute : Attribute { public int Size { get; set; } public int SizePrefix { get; set; } } }
mit
C#