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
0d175b6f82a18be7af9ce80b300be7b73765f680
Fix build
Catel/Catel.Fody
src/MethodTimeLogger.cs
src/MethodTimeLogger.cs
// using System.Reflection; // using Catel.Logging; // using System; // /// <summary> // /// Note: do not rename this class or put it inside a namespace. // /// </summary> // internal static class MethodTimeLogger // { // #region Methods // public static void Log(MethodBase methodBase, long milliseconds, strin...
using System.Reflection; using Catel.Logging; using System; /// <summary> /// Note: do not rename this class or put it inside a namespace. /// </summary> internal static class MethodTimeLogger { #region Methods public static void Log(MethodBase methodBase, long milliseconds, string message) { Log(m...
mit
C#
d344d1cd1a2d77f5fb03367a48799fd07f568eff
Allow config file to passed in
dfinke/config-ps
ConfigPS/ConfigPS/Global.cs
ConfigPS/ConfigPS/Global.cs
using System.Dynamic; using System.IO; using System.Management.Automation; using System.Reflection; namespace ConfigPS { public class Global : DynamicObject { readonly PowerShell ps; public Global(string configFileName = null) { if (configFileName == null) ...
using System.Dynamic; using System.IO; using System.Management.Automation; using System.Reflection; namespace ConfigPS { public class Global : DynamicObject { readonly PowerShell ps; public Global() { var fileName = Path.GetFileName(Assembly.GetCallingAssembly...
mit
C#
4e9fa3cb2a9ecc86e18a7020e5b2b279cc9d115a
Add generic Create method
inputfalken/Sharpy
GeneratorAPI/Generator.cs
GeneratorAPI/Generator.cs
using System; using System.Collections.Generic; namespace GeneratorAPI { /// <summary> /// </summary> /// <typeparam name="TProvider"></typeparam> public class Generator<TProvider> { private readonly TProvider _provider; public Generator(TProvider provider) => _provider = provider; ...
using System; using System.Collections.Generic; namespace GeneratorAPI { /// <summary> /// </summary> /// <typeparam name="TProvider"></typeparam> public class Generator<TProvider> { private readonly TProvider _provider; public Generator(TProvider provider) => _provider = provider; ...
mit
C#
f3609c90451b4892bf8c751151d0a08ef0f13f1f
Copy over A_* properties
yatsek/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,polyethene/IronAHK,polyethene/IronAHK
Scripting/Compiler/Peripheral/NamespaceEmitter.cs
Scripting/Compiler/Peripheral/NamespaceEmitter.cs
using System.CodeDom; using System.Reflection; using System.Reflection.Emit; namespace IronAHK.Scripting { partial class Compiler { bool CopiedProperties = false; void EmitNamespace(AssemblyBuilder Parent, CodeNamespace Namespace) { ModuleBuilder Module = Parent.Def...
using System.CodeDom; using System.Reflection.Emit; namespace IronAHK.Scripting { partial class Compiler { void EmitNamespace(AssemblyBuilder Parent, CodeNamespace Namespace) { ModuleBuilder Module = Parent.DefineDynamicModule(Namespace.Name, AName.Name); Mirror.Module =...
bsd-2-clause
C#
e0637ca230ccbd269bc62acb8e0335d29836b48c
Update AdUnitSelector.cs
tiksn/TIKSN-Framework
TIKSN.Framework.UWP/Advertising/AdUnitSelector.cs
TIKSN.Framework.UWP/Advertising/AdUnitSelector.cs
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Diagnostics; namespace TIKSN.Advertising { public class AdUnitSelector : IAdUnitSelector { private readonly ILogger<AdUnitSelector> _logger; private readonly IOptions<AdUnitSelectorOptions> _options; ...
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System.Diagnostics; using Template10.Common; using Template10.Utils; namespace TIKSN.Advertising { public class AdUnitSelector : IAdUnitSelector { private readonly ILogger<AdUnitSelector> _logger; private readonly IO...
mit
C#
21f68b1e06c0cadd912c57f287a167a91963b71d
Remove ComputeAttribute constructor without expression
SimpleStack/simplestack.orm,SimpleStack/simplestack.orm
src/SimpleStack.Orm/Attributes/ComputeAttribute.cs
src/SimpleStack.Orm/Attributes/ComputeAttribute.cs
using System; namespace SimpleStack.Orm.Attributes { /// <summary>Compute attribute. Use to indicate that a property is a Calculated Field.</summary> [AttributeUsage(AttributeTargets.Property)] public class ComputeAttribute : Attribute { /// <summary>Gets or sets the expression.</summary> /// <value>The expre...
using System; namespace SimpleStack.Orm.Attributes { /// <summary>Compute attribute. Use to indicate that a property is a Calculated Field.</summary> [AttributeUsage(AttributeTargets.Property)] public class ComputeAttribute : Attribute { /// <summary>Gets or sets the expression.</summary> /// <value>The expre...
bsd-3-clause
C#
9c2625cbe21ff0db321a0eb2b570bd6727358fb8
Build script. Fixes #38
NinetailLabs/VaraniumSharp.Initiator
build.cake
build.cake
#region ScriptImports // Scripts #load "CakeScripts/base/base.buildsystem.cake" #load "CakeScripts/base/base.variables.cake" #load "CakeScripts/base/base.setup.cake" #load "CakeScripts/base/base.nuget.restore.cake" #load "CakeScripts/base/base.paket.restore.cake" #load "CakeScripts/base/base.msbuild.cake" #load "CakeS...
#region ScriptImports // Scripts #load "CakeScripts/base/base.buildsystem.cake" #load "CakeScripts/base/base.variables.cake" #load "CakeScripts/base/base.setup.cake" #load "CakeScripts/base/base.nuget.restore.cake" #load "CakeScripts/base/base.paket.restore.cake" #load "CakeScripts/base/base.msbuild.cake" #load "CakeS...
mit
C#
2f39d6b655e87adc99d0227ddee283b57e80f957
fix build script
rmterra/NesZord
build.cake
build.cake
#addin Cake.Coveralls #tool "xunit.runner.console" #tool coveralls.io var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var outDir = "./artifacts"; var solution = "./src/NesZord.sln"; var testProjects = $"./src/**/bin/{configuration}/*.Tests.New.dll"; Task("Restor...
#addin Cake.Coveralls #tool "xunit.runner.console" #tool coveralls.io var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var outDir = "./artifacts"; var solution = "./src/NesZord.sln"; var testProjects = $"./src/**/bin/{configuration}/*.Tests.New.dll"; Task("Restor...
apache-2.0
C#
a640d5a317d112e31758161d8e54057ec56f54b8
Disable Test coverage for Travis
syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service
build.cake
build.cake
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
mit
C#
2763f0be6bbc8fbbbc37878f40b9e1ee55422ff7
Remove the usage of windows nuget restore and replace it with dotnet restore
naoey/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,DrabWeb/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,ppy/osu,smoogipooo/osu,naoey/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/os...
build.cake
build.cake
#addin "nuget:?package=CodeFileSanity" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var targ...
#addin "nuget:?package=CodeFileSanity" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" #tool "nuget:?package=NuGet.CommandLine" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////...
mit
C#
0a48f8eadd76d7e06ecf97a575aa5a49d0b382fd
remove empty object ctar args
UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,DrabWeb/osu,DrabWeb/osu,2yangk23/osu,peppy/osu,peppy/osu,naoey/osu,DrabWeb/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,naoey/osu,ZLima12/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ZLima12/osu,smoogip...
osu.Game.Rulesets.Osu/Mods/OsuModTransform.cs
osu.Game.Rulesets.Osu/Mods/OsuModTransform.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Linq; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Gr...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Linq; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Gr...
mit
C#
74d41e473b50f70d4ae5423c77d0c4941b62f89c
Make JsonApiContractResolver public for easier extensibility.
codecutout/JsonApiSerializer
src/JsonApiSerializer/ContractResolvers/JsonApiContractResolver.cs
src/JsonApiSerializer/ContractResolvers/JsonApiContractResolver.cs
using System; using JsonApiSerializer.JsonConverters; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace JsonApiSerializer.ContractResolvers { public class JsonApiContractResolver : DefaultContractResolver { public readonly JsonConverter ResourceObjectConverter; private rea...
using JsonApiSerializer.JsonApi; using JsonApiSerializer.JsonConverters; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using JsonApiSerializer.JsonApi.WellKnown; n...
mit
C#
436250612ba633b766f85f8c9be28f67b8dfc67d
Include X-Forwarded-For header
malcolmr/nodatime,jskeet/nodatime,jskeet/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime
src/NodaTime.Web/Middleware/SingleLineResponseLoggingMiddleware.cs
src/NodaTime.Web/Middleware/SingleLineResponseLoggingMiddleware.cs
// Copyright 2019 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.Diagnostics; using System.Net; using System.Threading.Tas...
// Copyright 2019 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.Diagnostics; using System.Net; using System.Threading.Tas...
apache-2.0
C#
752acf19dedc25688d613646b082cd1624e5f0fc
Add EndpointAssessorName to Apprenticeship in api.types so can generate nuget package
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.Api.Types/Apprenticeship/Apprenticeship.cs
src/SFA.DAS.Commitments.Api.Types/Apprenticeship/Apprenticeship.cs
using System; using SFA.DAS.Commitments.Api.Types.Apprenticeship.Types; namespace SFA.DAS.Commitments.Api.Types.Apprenticeship { public class Apprenticeship { public long Id { get; set; } public long CommitmentId { get; set; } public long EmployerAccountId { get; set; } public...
using System; using SFA.DAS.Commitments.Api.Types.Apprenticeship.Types; namespace SFA.DAS.Commitments.Api.Types.Apprenticeship { public class Apprenticeship { public long Id { get; set; } public long CommitmentId { get; set; } public long EmployerAccountId { get; set; } public...
mit
C#
0ac3ccf4488b7a13d749a96ae65ea78f485944b7
Copy over the documentation from the BaseBrush class, since users may look at this add-in as an example.
PintaProject/BlockBrush
BlockBrush/BlockBrush.cs
BlockBrush/BlockBrush.cs
// // BlockBrush.cs // // Author: // Cameron White <cameronwhite91@gmail.com> // // Copyright (c) 2013 Cameron White // // 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 restri...
// // BlockBrush.cs // // Author: // Cameron White <cameronwhite91@gmail.com> // // Copyright (c) 2013 Cameron White // // 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 restri...
mit
C#
419ba1b7b39f1e8e6c4bc529117b6cddf12e290d
Improve XML documentation
ashfordl/cards
CardsLibrary/Settings.cs
CardsLibrary/Settings.cs
// Settings.cs // <copyright file="Settings.cs"> This code is protected under the MIT License. </copyright> namespace CardsLibrary { /// <summary> /// All the game settings. /// </summary> public static class Settings { /// <summary> /// Gets or sets a value indicating whe...
// Settings.cs // <copyright file="Settings.cs"> This code is protected under the MIT License. </copyright> namespace CardsLibrary { /// <summary> /// All the game settings. /// </summary> public static class Settings { /// <summary> /// Gets or sets a value indicating whe...
mit
C#
8cdee3329afe0286a9146f61b2acf9e8d8eb5162
Update demo app with more comments
LukasBoersma/RailPhase,RailPhase/RailPhase,LukasBoersma/RailPhase,RailPhase/RailPhase,LukasBoersma/Web2Sharp,LukasBoersma/Web2Sharp
RailPhase.Demo/Program.cs
RailPhase.Demo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RailPhase.Demo { class Program { static void Main(string[] args) { // Create a simple web app and serve content on to URLs. var app = new App();...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RailPhase.Demo { class Program { static void Main(string[] args) { // Create a simple web app and serve content on to URLs. var app = new App();...
mit
C#
f95bd9773fae0ab462dcf11c6d7a61ac3fdf1ea9
Change DefaultRequestExecutionPolicy
vinhch/BizwebSharp
src/BizwebSharp/Infrastructure/RequestPolicies/DefaultRequestExecutionPolicy.cs
src/BizwebSharp/Infrastructure/RequestPolicies/DefaultRequestExecutionPolicy.cs
using System.Threading.Tasks; namespace BizwebSharp.Infrastructure { public class DefaultRequestExecutionPolicy : IRequestExecutionPolicy { public async Task<T> Run<T>(BizwebRequestMessage requestMsg, ExecuteRequestAsync<T> executeRequestAsync) { return (await executeRe...
using System.Threading.Tasks; namespace BizwebSharp.Infrastructure { public class DefaultRequestExecutionPolicy : IRequestExecutionPolicy { public async Task<T> Run<T>(BizwebRequestMessage requestMsg, ExecuteRequestAsync<T> executeRequestAsync) { return (await executeRe...
mit
C#
e22234143f0ca38c9b0078776c5d4a8a9fac9c9a
Fix errors in SA1602 tests
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1602UnitTests.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test/DocumentationRules/SA1602UnitTests.cs
namespace StyleCop.Analyzers.Test.DocumentationRules { using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.DocumentationRules; using TestHelper; using Xunit; /// <summary> /// This class contains unit tests for <see c...
namespace StyleCop.Analyzers.Test.DocumentationRules { using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Diagnostics; using StyleCop.Analyzers.DocumentationRules; using TestHelper; using Xunit; /// <summary> /// This class contains unit tests for <see c...
mit
C#
b15d1a35e3276035444384f909799572e1c264b5
Fix Type in CCTouch StartLocatiOnScreen to StartLocationOnScreen.
hig-ag/CocosSharp,TukekeSoft/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,MSylvia/CocosSharp,netonjm/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp,zmaruo/CocosSharp,hig-ag/CocosSharp
src/predefine/CCTouch.cs
src/predefine/CCTouch.cs
using System; namespace CocosSharp { // // TODO: Add CCGesture // public class CCTouch { bool startPointCaptured; CCPoint point; CCPoint prevPoint; CCPoint startPoint; #region Properties public int Id { get; private set; } public CCPoint...
using System; namespace CocosSharp { // // TODO: Add CCGesture // public class CCTouch { bool startPointCaptured; CCPoint point; CCPoint prevPoint; CCPoint startPoint; #region Properties public int Id { get; private set; } public CCPoint...
mit
C#
9380f8fb3383777afe7266592da053627078c2d4
Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value
AJDev77/CefSharp,VioletLife/CefSharp,NumbersInternational/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,Haraguroicha/CefSharp,illfang/CefSharp,windygu/CefSharp,rover886/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,gregmartinhtc/CefSharp,wangzheng888520/CefSharp,rover886/CefSharp,Octopus-ITSM/CefSharp,haozhou...
CefSharp.Example/CefExample.cs
CefSharp.Example/CefExample.cs
using System; using System.Diagnostics; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. ...
using System; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. private const bool debu...
bsd-3-clause
C#
7746b2681460c950b23b247ff597c9be6d79620b
Add Windows icon file
xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp
docs/tutorials/geolocation/src/Main/MainWindow.cs
docs/tutorials/geolocation/src/Main/MainWindow.cs
using System; using System.Threading.Tasks; using WebSharpJs.Electron; using WebSharpJs.Script; #if !DEV namespace MainWindow { #endif public class Startup { static WebSharpJs.NodeJS.Console console; static App app; static BrowserWindow mainWindow; static int windowId = 0...
using System; using System.Threading.Tasks; using WebSharpJs.Electron; using WebSharpJs.Script; #if !DEV namespace MainWindow { #endif public class Startup { static WebSharpJs.NodeJS.Console console; static App app; static BrowserWindow mainWindow; static int windowId = 0...
mit
C#
6e8b228cee507407738e3240a4333840d3c3cbb9
Update Testes.cs
dyaremyshyn/GPS_SEC
GPSproj/Testes/Testes.cs
GPSproj/Testes/Testes.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using CopiasParaTestes; namespace Testes { [TestClass] public class Testes { [TestMethod] public void TestaSoma() { Copias teste = new Copias(); int sum = teste.testaSoma(1, 2); As...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using CopiasParaTestes; namespace Testes { [TestClass] public class Testes { [TestMethod] public void TestaSoma() { Copias teste = new Copias(); int sum = teste.testaSoma(1, 2); As...
apache-2.0
C#
6fb385e5542a842798de060e6ca55e1a8ff0fd2d
rename field in test
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web.UnitTests/Helpers/WhenRequestingTheCallToActionPanel.cs
src/SFA.DAS.EmployerAccounts.Web.UnitTests/Helpers/WhenRequestingTheCallToActionPanel.cs
using FluentAssertions; using NUnit.Framework; using SFA.DAS.EmployerAccounts.Web.Helpers; using SFA.DAS.EmployerAccounts.Web.ViewModels; namespace SFA.DAS.EmployerAccounts.Web.UnitTests.Helpers { [TestFixture] public class WhenRequestingTheCallToActionPanel { private IHomepagePanelViewHelper _sut...
using FluentAssertions; using NUnit.Framework; using SFA.DAS.EmployerAccounts.Web.Helpers; using SFA.DAS.EmployerAccounts.Web.ViewModels; namespace SFA.DAS.EmployerAccounts.Web.UnitTests.Helpers { [TestFixture] public class WhenRequestingTheCallToActionPanel { private IHomepagePanelViewHelper _sut...
mit
C#
eeab802a3a5bcb6113eb6ebf52ad913d5a9fd93e
Fix NRE due to weak gchandle (#1323)
realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet
Realm/Realm/NotificationsHelper.cs
Realm/Realm/NotificationsHelper.cs
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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/l...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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/l...
apache-2.0
C#
e303833d5840594345774f6f2ef403130f483c7b
Add check for possible null reference
ilovepi/Compiler,ilovepi/Compiler
compiler/middleend/ir/BasicBlock.cs
compiler/middleend/ir/BasicBlock.cs
using System; using System.Collections.Generic; namespace compiler.middleend.ir { //TODO: redisign this class and its supporting classes public class BasicBlock { public string Name { get; } public List<Instruction> Instructions{ get; set; } public Anchor AnchorBlock { get; set; } public BasicBl...
using System; using System.Collections.Generic; namespace compiler.middleend.ir { //TODO: redisign this class and its supporting classes public class BasicBlock { public string Name { get; } public List<Instruction> Instructions{ get; set; } public Anchor AnchorBlock { get; set; } public BasicBl...
mit
C#
f143c019253c96e515f8bf77b81857c25b2192aa
Clean up ToComment so it handles a few edge cases a bit better
StackExchange/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,StackExchange/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,jango2015/StackExchange.DataEx...
App/StackExchange.DataExplorer/Models/Query.cs
App/StackExchange.DataExplorer/Models/Query.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
mit
C#
0f1b0080be645eb2805266c2a543e7b2375d4a2e
Add possibility to add custom AudioObject prefab.
dimixar/audio-controller-unity
AudioController/Assets/Source/Model/CategoryItem.cs
AudioController/Assets/Source/Model/CategoryItem.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; public GameObject audioObjectPrefab; }
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; }
mit
C#
f5303737451723a446a0006338fe55839b910358
Use default AudioObject prefab if none is assigned.
dimixar/audio-controller-unity
AudioController/Assets/Source/Model/CategoryItem.cs
AudioController/Assets/Source/Model/CategoryItem.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; public GameObject audioObjectPrefab = null; public bool usingDefaultPrefab = true; }
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; public GameObject audioObjectPrefab; }
mit
C#
6918086dd3451ba81c6b79f5801298cb2bcda2ab
Test site, so if this gets a real url, it isn't mistaken
ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement
Commencement.Mvc/Views/Shared/_StudentLayout.cshtml
Commencement.Mvc/Views/Shared/_StudentLayout.cshtml
@using Commencement.Core.Domain <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Commencement</title> <script src="https://use.typekit.net/vqy0brq.js"></script> <script>try{Typekit.load();}c...
@using Commencement.Core.Domain <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Commencement</title> <script src="https://use.typekit.net/vqy0brq.js"></script> <script>try{Typekit.load();}c...
mit
C#
34ed6944c3a20f68d8e02a41bf8e1a5293d2e238
add support for Sitecore 7.1 and higher
zigor/sinst
sinst/Pipelines/30-Authentication/10-Login.cs
sinst/Pipelines/30-Authentication/10-Login.cs
using System.Collections.Specialized; using System.Linq; using Sitecore.Remote.Installation.Attributes; using Sitecore.Remote.Installation.Client.Responses; using Sitecore.Remote.Installation.Models; using Sitecore.Remote.Installation.Pipelines.Metadata; namespace Sitecore.Remote.Installation.Pipelines { /// <summa...
using System.Collections.Specialized; using Sitecore.Remote.Installation.Attributes; using Sitecore.Remote.Installation.Client.Responses; using Sitecore.Remote.Installation.Models; using Sitecore.Remote.Installation.Pipelines.Metadata; namespace Sitecore.Remote.Installation.Pipelines { /// <summary> /// Read logi...
mit
C#
5753fa87ffca5125932a52d7d9f72fc8820d9a36
improve logs erros.
samukce/compilation-batch-of-delphi-projects
CompileBatchOfProjectsDelphi/ProcessExecute.cs
CompileBatchOfProjectsDelphi/ProcessExecute.cs
using System; using System.Diagnostics; namespace CompileBatchOfProjectsDelphi { public class ProcessExecute { public void ExecuteProcess(string fileExecute, string argumentsProcessCompile, string workingDirectory) { var process = new Process { StartInfo = { ...
using System; using System.Diagnostics; namespace CompileBatchOfProjectsDelphi { public class ProcessExecute { public ProcessExecute() { } public void ExecuteProcess(string fileExecute, string argumentsProcessCompile, string workingDirectory) { var process = new Process { ...
mit
C#
0dcd6aeae298d549152b20b2ba7a42e6725353d5
Handle double-clicking on the errors to navigate to the issue.
modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS
DanTup.DartVS.Vsix/DartAnalyzerErrorService.cs
DanTup.DartVS.Vsix/DartAnalyzerErrorService.cs
using System; using System.Linq; using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS { /// <summary> /// Analyzes a dart file and updates the Visual Studio error list with the results. /// </summary> static class DartAnalyzerErrorService { public static void Parse(ErrorListProvider errorListProvider, s...
using System.Linq; using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS { /// <summary> /// Analyzes a dart file and updates the Visual Studio error list with the results. /// </summary> static class DartAnalyzerErrorService { public static void Parse(ErrorListProvider errorListProvider, string path) ...
mit
C#
4c87b4e92ddc616de78424d9b96cbe5dfce7ffe6
Add HideModal function
MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings
DynThings.WebPortal/Views/Shared/_Modal.cshtml
DynThings.WebPortal/Views/Shared/_Modal.cshtml
 <!-- Modal --> <div class="modal fade" id="mdl" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div id="modal" class="modal-content"> modal </div> </div> </div> <script> function HideModal() { $('#mdl').modal('hid...
 <!-- Modal --> <div class="modal fade" id="mdl" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> <div class="modal-dialog" role="document"> <div id="modal" class="modal-content"> 11111 </div> </div> </div> @*<div class="modal-header"> <button type="button" class="...
mit
C#
1fdbe952d25b0672eb2c52e77d945668e389122b
Add overload for `SldWorksExtensions.DoWithOpenDoc` that enables yielding disposables
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/SldWorksExtensions.cs
SolidworksAddinFramework/SldWorksExtensions.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using SolidworksAddinFramework.Events; using SolidWorks.Interop.sldworks; names...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using SolidworksAddinFramework.Events; using SolidWorks.Interop.sldworks; namespace SolidworksAddinFramework { ...
mit
C#
56d8c033d79dd98a5b2d2ec7cae6d997359e0ab7
Update display text on the view model.
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs
BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Validation; using System.ComponentModel; namespace BTCPayServer.Models.InvoicingModels { public class CreateInv...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Validation; using System.ComponentModel; namespace BTCPayServer.Models.InvoicingModels { public class CreateInv...
mit
C#
ad4f213d1f4e22433af32505c151d276c290a685
Bump version to 0.1.2
Lochnair/MCServer-World-Converter
MCServer-World-Converter/Properties/AssemblyInfo.cs
MCServer-World-Converter/Properties/AssemblyInfo.cs
/* * The MIT License (MIT) * * Copyright (c) 2015 Nils Andreas Svee * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
/* * The MIT License (MIT) * * Copyright (c) 2015 Nils Andreas Svee * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
mit
C#
b888356ba98099c6db33418af725c4f58b17aabb
Test coverage for FontGlyph class.
dacucar/fenixlib
FenixLib/FenixLib.Core.Tests/FontGlyphTests.cs
FenixLib/FenixLib.Core.Tests/FontGlyphTests.cs
/* Copyright 2016 Darío Cutillas Carrillo * * 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 applica...
/* Copyright 2016 Darío Cutillas Carrillo * * 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 applica...
apache-2.0
C#
4c83617080d3acc9affca84d182b765b6c124523
change env prefix for test config
schulz3000/deepstreamNet,schulz3000/deepstreamNet
src/DeepStreamNet.Tests/Helper/TestHelper.cs
src/DeepStreamNet.Tests/Helper/TestHelper.cs
using Microsoft.Extensions.Configuration; using System.Threading.Tasks; namespace DeepStreamNet.Tests.Helper { public static class TestHelper { public static async Task<DeepStreamClient> GetClientAsync() { var client = new DeepStreamClient(Config["deepStreamHost"], int.Parse(Config...
using Microsoft.Extensions.Configuration; using System.Threading.Tasks; namespace DeepStreamNet.Tests.Helper { public static class TestHelper { public static async Task<DeepStreamClient> GetClientAsync() { var client = new DeepStreamClient(Config["deepStreamHost"], int.Parse(Config...
mit
C#
7f755fe726085b1e42afa8430f9f07429aa02545
Add more tests
johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu
osu.Game.Tests/Visual/Online/TestSceneVotePill.cs
osu.Game.Tests/Visual/Online/TestSceneVotePill.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Overlays.Comments; using osu.Framework.Allocation; us...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Overlays.Comments; using osu.Framework.Allocation; us...
mit
C#
02190d2a55a01ef06326a7577cbf25cbd65ee592
Change protected modifier of GenericRepository constructor to public
PTRPlay/SchoolWebProject,PTRPlay/SchoolWebProject,PTRPlay/SchoolWebProject
SchoolWebProject.Data/Infrastructure/GenericRepository.cs
SchoolWebProject.Data/Infrastructure/GenericRepository.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using SchoolWebProject.Domain.Models; namespace SchoolWebProject.Data.Infrastructure { public class GenericRepository<T> : IRepository<T> whe...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using SchoolWebProject.Domain.Models; namespace SchoolWebProject.Data.Infrastructure { public class GenericRepository<T> : IRepository<T> whe...
isc
C#
545119d1cffae20ab925a1f3513425aaa4cefc99
increment minor 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#
d541844061f505058862228ace5dc9215cfc13f4
Remove unused using
greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript
src/WebApiToTypeScript/Enums/EnumsService.cs
src/WebApiToTypeScript/Enums/EnumsService.cs
using Mono.Cecil; using System.Collections.Generic; using System.Linq; using WebApiToTypeScript.Block; namespace WebApiToTypeScript.Enums { public class EnumsService : ServiceAware { private List<TypeDefinition> Enums { get; } = new List<TypeDefinition>(); public TypeScriptBlock C...
using Mono.Cecil; using System.Collections.Generic; using System.Linq; using WebApiToTypeScript.Block; using WebApiToTypeScript.Interfaces; namespace WebApiToTypeScript.Enums { public class EnumsService : ServiceAware { private List<TypeDefinition> Enums { get; } = new List<TypeDefinition>...
mit
C#
164836f7b20259c564070955ee26e96a183c4922
Update AssemblyFileVersion.cs
lordmilko/PrtgAPI,lordmilko/PrtgAPI
PrtgAPI/AssemblyFileVersion.cs
PrtgAPI/AssemblyFileVersion.cs
 //0 //5 //0 //18 // // This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. // using System.Reflection; [assembly: AssemblyFileVersion("0.5.0.18")]
 //1 //0 //0 //18 // // This code was generated by a tool. Any changes made manually will be lost // the next time this code is regenerated. // using System.Reflection; [assembly: AssemblyFileVersion("1.0.0.18")]
mit
C#
aec6893472cc140f512bd911a1ddfafd834128b4
Fix wrong "RectangleType is not a SafeZoneType!" error
Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone
Rocket_Safezone/Model/Safezone/SafeZoneType.cs
Rocket_Safezone/Model/Safezone/SafeZoneType.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Xml.Serialization; using Rocket.Unturned.Player; namespace Safezone.Model { [XmlInclude(typeof(RectangleType))] public abstract class SafeZoneType { public SafeZoneType() ...
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Xml.Serialization; using Rocket.Unturned.Player; namespace Safezone.Model { [XmlInclude(typeof(RectangleType))] public abstract class SafeZoneType { public SafeZoneType() ...
agpl-3.0
C#
cfcee012432c4c2f890627bf3514d3322293358f
Use IRelativeHttpClient.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
WalletWasabi.Tests/UnitTests/Clients/MockTorHttpClient.cs
using System; using System.Collections.Specialized; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using WalletWasabi.Tor.Http; namespace WalletWasabi.Tests.UnitTests.Clients { public class MockTorHttpClient : IRelativeHttpClient { public Func<Uri> DestinationUriActi...
using System; using System.Collections.Specialized; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web; using WalletWasabi.Tor.Http.Interfaces; namespace WalletWasabi.Tests.UnitTests.Clients { public class MockTorHttpClient : ITorHttpClient { public Func<Uri> DestinationU...
mit
C#
f90605d7b199bd6190ec96ffa85bbf9b2382f905
Update WalletWasabi/Services/Terminate/TerminateService.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Services/Terminate/TerminateService.cs
WalletWasabi/Services/Terminate/TerminateService.cs
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private Func<Task> _terminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInProgress = ...
using System; using System.Threading; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi.Services.Terminate { public class TerminateService { private Func<Task> _terminateApplicationAsync; private const long TerminateStatusIdle = 0; private const long TerminateStatusInProgress = ...
mit
C#
3a0b1772fe384720f52a1348ef119e9d342d6590
use UseRowNumberForPaging by default for ef core and mssql
303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb/ZKWeb.ORM.EFCore/EFCoreDatabaseContextBase.cs
ZKWeb/ZKWeb.ORM.EFCore/EFCoreDatabaseContextBase.cs
using Microsoft.EntityFrameworkCore; using System; using ZKWeb.Server; namespace ZKWeb.ORM.EFCore { /// <summary> /// A base database context only contains migration history table /// </summary> public class EFCoreDatabaseContextBase : DbContext { /// <summary> /// Database type /// </summary> ...
using Microsoft.EntityFrameworkCore; using System; using ZKWeb.Server; namespace ZKWeb.ORM.EFCore { /// <summary> /// A base database context only contains migration history table /// </summary> public class EFCoreDatabaseContextBase : DbContext { /// <summary> /// Database type /// </summary> ...
mit
C#
b6c3343db340d6d4cf59f745ea6f17006840b830
Fix MicrogameTraits not saving id string
plrusek/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Microgame/MicrogameTraits.cs
Assets/Scripts/Microgame/MicrogameTraits.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class MicrogameTraits : MonoBehaviour { [SerializeField] private ControlScheme _controlScheme; public virtual ControlScheme controlScheme { get { return _controlScheme; } set { } } [SerializeField] pr...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class MicrogameTraits : MonoBehaviour { [SerializeField] private ControlScheme _controlScheme; public virtual ControlScheme controlScheme { get { return _controlScheme; } set { } } [SerializeField] pr...
mit
C#
2f668f0e1962ffc5237c828fcbd7e4fa9a587931
Make UserTaskInfo.Created non-nullable
jlucansky/Camunda.Api.Client
Camunda.Api.Client/UserTask/UserTaskInfo.cs
Camunda.Api.Client/UserTask/UserTaskInfo.cs
using System; namespace Camunda.Api.Client.UserTask { public class UserTaskInfo : UserTask { /// <summary> /// The id of the task. /// </summary> public string Id; /// <summary> /// The time the task was created. /// </summary> public DateTime Cr...
using System; namespace Camunda.Api.Client.UserTask { public class UserTaskInfo : UserTask { /// <summary> /// The id of the task. /// </summary> public string Id; /// <summary> /// The time the task was created. /// </summary> public DateTime? C...
mit
C#
7e9a47ec7927a815feae5a097ae7bc9554f95041
Set AddDate on server for new transactions
tloltman/Quibill-backend,tloltman/Quibill-backend
src/Quibill.Web/Controllers/TransactionsController.cs
src/Quibill.Web/Controllers/TransactionsController.cs
using Quibill.Web.Contexts; using System; using System.Collections.Generic; using Quibill.Domain.Models; using System.Data.Entity; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.AspNet.Identity; using Quibill.Domain; namespace Quibill.Web.Controllers { [Authoriz...
using Quibill.Web.Contexts; using System; using System.Collections.Generic; using Quibill.Domain.Models; using System.Data.Entity; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Microsoft.AspNet.Identity; using Quibill.Domain; namespace Quibill.Web.Controllers { [Authoriz...
mit
C#
72836ae80fd38205ae93863a28ef22d03644b2a1
Add missed Clean in BenchmarkCompetitionTask, Fixed #4
Teknikaali/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,redknightlois/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Ky7m/Benchmark...
BenchmarkDotNet/BenchmarkCompetitionTask.cs
BenchmarkDotNet/BenchmarkCompetitionTask.cs
using System; namespace BenchmarkDotNet { public class BenchmarkCompetitionTask { public string Name { get; set; } public Action Initialize { get; set; } public Action Action { get; set; } public Action Clean { get; set; } public BenchmarkInfo Info { get; private set; ...
using System; namespace BenchmarkDotNet { public class BenchmarkCompetitionTask { public string Name { get; set; } public Action Initialize { get; set; } public Action Action { get; set; } public Action Clean { get; set; } public BenchmarkInfo Info { get; private set; ...
mit
C#
dcc236cca706e4962b9e0c88bde22b6a64419cc5
Update build.cake
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
Android/ExposureNotification/build.cake
Android/ExposureNotification/build.cake
var TARGET = Argument ("t", Argument ("target", "ci")); var NUGET_VERSION = "18.0.2-eap.6"; var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/174cf0dab62d0c7c5d2c5d1abe5bef595d0d4942/app/libs/play-services-nearby-18.0.2-eap.aar"; Task ("externals") .Does (() => { EnsureDirectoryExists ("./...
var TARGET = Argument ("t", Argument ("target", "ci")); var NUGET_VERSION = "18.0.2-eap.5"; var AAR_URL = "https://github.com/google/exposure-notifications-android/raw/174cf0dab62d0c7c5d2c5d1abe5bef595d0d4942/app/libs/play-services-nearby-18.0.2-eap.aar"; Task ("externals") .Does (() => { EnsureDirectoryExists ("./...
mit
C#
6be738109e8f27ef7a098576321b744a88b1649c
fix build
jacek-lapinski/winbot
src/Winbot/Infrastructure/Ninject/DesktopAppModule.cs
src/Winbot/Infrastructure/Ninject/DesktopAppModule.cs
using Ninject.Modules; using Winbot.Executors; using Winbot.Notifiers; using Winbot.Repositories; using Winbot.Utils; namespace Winbot.Infrastructure.Ninject { internal class DesktopAppModule : NinjectModule { public override void Load() { Bind<UserActionNotifier>().To<MouseClickNo...
using WindowsInput; using Ninject.Modules; using Winbot.Executors; using Winbot.Notifiers; using Winbot.Repositories; using Winbot.Utils; namespace Winbot.Infrastructure.Ninject { internal class DesktopAppModule : NinjectModule { public override void Load() { Bind<UserActionNotifie...
mit
C#
3a741affa325fac471a06febff810827a76f44d5
Remove whitespaces
NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu
osu.Game.Rulesets.Catch/Mods/CatchModMirror.cs
osu.Game.Rulesets.Catch/Mods/CatchModMirror.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 osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Catch.UI; using osu.Game.Rulesets.Objects; using osuTK; n...
// 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 osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Catch.UI; using osu.Game.Rulesets.Objects; using osuTK; n...
mit
C#
45adca17da95f3ff1179661a8d87e48e13145806
Make `DrumSamplePlayer` a `CompositeDrawable`
ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.cs
osu.Game.Rulesets.Taiko/UI/DrumSamplePlayer.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.Bindings; using osu.Framework.Input.Events; using osu.Game.Rulesets.Taiko...
// 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.Bindings; using osu.Framework.Input.Events; using osu.Game.Rulesets.Taiko...
mit
C#
4f697e2bd58c4e238c03918c0a2c4eedb9152174
Add licence header
smoogipoo/osu,smoogipooo/osu,johnneijzen/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,EVA...
osu.Game/Screens/Select/FooterButtonOptions.cs
osu.Game/Screens/Select/FooterButtonOptions.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.Extensions.Color4Extensions; using osu.Game.Graphics; using osuTK.Input; namespace osu.Game.Screens.Select { publ...
using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Game.Graphics; using osuTK.Input; namespace osu.Game.Screens.Select { public class FooterButtonOptions : FooterButton { [BackgroundDependencyLoader] private void load(OsuColour colours) { ...
mit
C#
f59585bbdd8247e46c1e06ce1c9790f17fcdec9a
Use DeclaringType instead of ReflectedType to find interface implementations within the NodaTime assembly. (Not sure why the mapping code behaves differently in .NET to in Mono anyway, but...)
jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime
src/NodaTime.Test/Annotations/SecurityTest.cs
src/NodaTime.Test/Annotations/SecurityTest.cs
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NUnit.Framework; using System.Collections.Generic; using System.Linq; using System.Security; namespace NodaTime.Test.Annotations { [TestFixtur...
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using NUnit.Framework; using System.Collections.Generic; using System.Linq; using System.Security; namespace NodaTime.Test.Annotations { [TestFixtur...
apache-2.0
C#
368eaa42777928df824f59940542faaac76fe45a
Mark PackageSourceTests as integration tests
filipw/dotnet-script,filipw/dotnet-script
src/Dotnet.Script.Tests/PackageSourceTests.cs
src/Dotnet.Script.Tests/PackageSourceTests.cs
using Xunit; namespace Dotnet.Script.Tests { [Collection("IntegrationTests")] public class PackageSourceTests : IClassFixture<ScriptPackagesFixture> { [Fact] public void ShouldHandleSpecifyingPackageSource() { var fixture = "ScriptPackage/WithNoNuGetConfig"; ...
using Xunit; namespace Dotnet.Script.Tests { public class PackageSourceTests : IClassFixture<ScriptPackagesFixture> { [Fact] public void ShouldHandleSpecifyingPackageSource() { var fixture = "ScriptPackage/WithNoNuGetConfig"; var pathToScriptPackages = TestPathU...
mit
C#
3e64aadefc95578b8ca80a8f2c96d03a168dbdf2
Add powershell filter
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/FrancoisxavierCat.cs
src/Firehose.Web/Authors/FrancoisxavierCat.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 FrancoisxavierCat : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Francois-Xav...
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 FrancoisxavierCat : IAmAMicrosoftMVP { public string FirstName => "Francois-Xavier"; public...
mit
C#
56ca12a35c23a5d5335b61e278d6ed2a549a0c38
Change assembly version to 2.3.0
Zeugma440/atldotnet
ATL/Properties/AssemblyInfo.cs
ATL/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
mit
C#
86d17131658fa845445b1d4655b6cab676d3dcf0
Add code to start generating the methods.
AlexGhiondea/SmugMug.NET
src/SmugMugCodeGen/CodeGen/CodeGen.Methods.cs
src/SmugMugCodeGen/CodeGen/CodeGen.Methods.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 System.Collections.Generic; using System.Text; namespace SmugMugCodeGen { public partial class CodeGen { p...
// 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 System.Collections.Generic; using System.Text; namespace SmugMugCodeGen { public partial class CodeGen { p...
mit
C#
bb233916175d4fee28fc67755be605a55c46fa42
fix MonthlySalaryReport calculation issue
tonyqus/npoi,JesseQin/npoi,antony-liu/npoi,jcridev/npoi,vinod1988/npoi,xl1/npoi,akrisiun/npoi,tkalubi/npoi-1,Yijtx/npoi,stuartwmurray/npoi
examples/xssf/MonthlySalaryReport/Program.cs
examples/xssf/MonthlySalaryReport/Program.cs
using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace MonthlySalaryReport { class Program { public static void Main(string[] args) { IWorkbook wb = new XSSFWorkbook(); ...
using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace MonthlySalaryReport { class Program { public static void Main(string[] args) { IWorkbook wb = new XSSFWorkbook(); ...
apache-2.0
C#
2513f4ee196419b62c7f59f9d4bee61811b0be3f
Remove bad unit tests.
jmezach/NuGet2,chocolatey/nuget-chocolatey,xoofx/NuGet,zskullz/nuget,jholovacs/NuGet,indsoft/NuGet2,RichiCoder1/nuget-chocolatey,indsoft/NuGet2,oliver-feng/nuget,mono/nuget,jmezach/NuGet2,antiufo/NuGet2,jholovacs/NuGet,GearedToWar/NuGet2,mrward/NuGet.V2,indsoft/NuGet2,oliver-feng/nuget,pratikkagda/nuget,pratikkagda/nug...
test/Core.Test/NetPortableProfileTableTest.cs
test/Core.Test/NetPortableProfileTableTest.cs
using System.Runtime.Versioning; using Xunit; namespace NuGet.Test { public class NetPortableProfileTableTest { [Fact] public void LoadSupportedFrameworkCorrectsTheWP7Framework() { // Arrange string content = @" <Framework Identifier=""Silverlight"" Prof...
using System.Runtime.Versioning; using Xunit; namespace NuGet.Test { public class NetPortableProfileTableTest { [Fact] public void LoadSupportedFrameworkCorrectsTheWP7Framework() { // Arrange string content = @" <Framework Identifier=""Silverlight"" Prof...
apache-2.0
C#
48284c7ffdb08d2fe63809da0667ac3206bfcb41
Add "mine" arg to Program.cs
quantumagi/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,DogaOztuzun/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Aprogiena/Strati...
Stratis.BitcoinD/Program.cs
Stratis.BitcoinD/Program.cs
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Console; using Stratis.Bitcoin; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Stratis.BitcoinD...
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Console; using Stratis.Bitcoin; using Stratis.Bitcoin.Configuration; using Stratis.Bitcoin.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Stratis.BitcoinD...
mit
C#
b87b640578c2038339963ecc841c473c08db58fd
Format document and add missing script
edwardinubuntu/Roguelike2D
Assets/Scripts/Player.cs
Assets/Scripts/Player.cs
using UnityEngine; using System.Collections; public class Player : MovingObject { public int wallDamage = 1; public int pointsPerFood = 10; public int pointsPerSoda = 20; public float restartLevelDelay = 1f; private Animator animator; private int food; // Use this for initialization protected override vo...
using UnityEngine; using System.Collections; public class Player : MovingObject { public int wallDamage = 1; public int pointsPerFood = 10; public int pointsPerSoda = 20; public float restartLevelDelay = 1f; private Animator animator; private int food; // Use this for initialization protected override vo...
mit
C#
440e64b5f5a84e9df776fda17abbf469f7834a94
Fix error on recent APIs
RelistenNet/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,RelistenNet/RelistenApi,alecgorge/RelistenApi,alecgorge/RelistenApi
RelistenApi/Controllers/RecentController.cs
RelistenApi/Controllers/RecentController.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Relisten.Api; using Relisten.Api.Models; using Relisten.Api.Models.Api; using Relisten.Data; namespace Relisten.Controllers { [Route("api/v2")] public clas...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Relisten.Api; using Relisten.Api.Models; using Relisten.Api.Models.Api; using Relisten.Data; namespace Relisten.Controllers { public class RecentController : RelistenBaseController { public SourceSe...
mit
C#
eb944c4e242503cf91d20f419d401ca96ae62ea6
Change default to be once per month for a year
mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection
src/Cash-Flow-Projection/Models/RepeatingEntry.cs
src/Cash-Flow-Projection/Models/RepeatingEntry.cs
using System; using System.ComponentModel.DataAnnotations; namespace Cash_Flow_Projection.Models { public class RepeatingEntry { [DataType(DataType.Date)] public DateTime FirstDate { get; set; } = DateTime.Today; public String Description { get; set; } public Decimal Amount {...
using System; using System.ComponentModel.DataAnnotations; namespace Cash_Flow_Projection.Models { public class RepeatingEntry { [DataType(DataType.Date)] public DateTime FirstDate { get; set; } = DateTime.Today; public String Description { get; set; } public Decimal Amount {...
mit
C#
c3730a954a4f507bcdd3b1e1a8036b9ac24dae0b
Add debug property
KuriharaJun/MvcDI
TestApplication/MvcDI/ImplementAttribute.cs
TestApplication/MvcDI/ImplementAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MvcDI { /// <summary> /// Serviceクラス注入対象識別用属性 /// </summary> [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)] public sealed class ImplementAttribute : Attribute { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MvcDI { /// <summary> /// Serviceクラス注入対象識別用属性 /// </summary> [AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)] public sealed class ImplementAttribute : Attribute { ...
apache-2.0
C#
6cebf82c84cb39353df11c2f14fce6be910e9949
Fix Import-Bytes not using --offset.
Prof9/PixelPet
PixelPet/CLI/Commands/ImportBytesCmd.cs
PixelPet/CLI/Commands/ImportBytesCmd.cs
using LibPixelPet; using System; using System.IO; namespace PixelPet.CLI.Commands { internal class ImportBytesCmd : CliCommand { public ImportBytesCmd() : base("Import-Bytes", new Parameter(true, new ParameterValue("path")), new Parameter("offset", "o", false, new ParameterValue("count", "0")), new ...
using LibPixelPet; using System; using System.IO; namespace PixelPet.CLI.Commands { internal class ImportBytesCmd : CliCommand { public ImportBytesCmd() : base("Import-Bytes", new Parameter(true, new ParameterValue("path")), new Parameter("offset", "o", false, new ParameterValue("count", "0")), new ...
mit
C#
70f0213288fc178584e1be38a7c3242518adfc42
Include comments
diksito/url-shortner,diksito/url-shortner
ShortURLService/Infrastructure/Constants.cs
ShortURLService/Infrastructure/Constants.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShortURLService.Infrastructure { /// <summary> /// Constants values that are often used. /// </summary> class Constants { public const string UNKNOWN = "Unknown"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ShortURLService.Infrastructure { class Constants { public const string UNKNOWN = "Unknown"; } }
mit
C#
c31fbfdef06938c63023edef2a480a6d058c47ed
fix typo
fumitoito/RsRx
RsRx/Extensions/PoseStreamExtensions.cs
RsRx/Extensions/PoseStreamExtensions.cs
using SharpSenses.Poses; using System; using System.Reactive.Linq; using RsRx.EventArgs; using RsRx.Enums; namespace RsRx.Extensions { public static class PoseStreamExtensions { public static IObservable<HandPoseEventArgs> PeaceAsObservable(this IPoseSensor poses) { var start = Obs...
using SharpSenses.Poses; using System; using System.Reactive.Linq; using RsRx.EventArgs; using RsRx.Enums; namespace RsRx.Extensions { public static class PoseStreamExtensions { public static IObservable<HandPoseEventArgs> PeaseAsObservable(this IPoseSensor poses) { var start = Obs...
mit
C#
f546fb1ab299ecdb739780df1d0528c6adc5c39a
Update parameters of BitBlt, add StretchBlt and add all the raster operations
eightlittlebits/elbgb
elbgb_ui/NativeMethods.cs
elbgb_ui/NativeMethods.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace elbgb_ui { static class NativeMethods { [StructLayout(LayoutKind.Sequential)] internal struct Message { public IntPtr hWn...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace elbgb_ui { static class NativeMethods { [StructLayout(LayoutKind.Sequential)] internal struct Message { public IntPtr hWn...
mit
C#
90f84d9019cea2c1149978bd5429950adfc2faa3
Set version 1.2.6
Rambalac/AmazonCloudDriveApi
AmazonCloudDriveApi/Properties/AssemblyInfo.cs
AmazonCloudDriveApi/Properties/AssemblyInfo.cs
// <copyright file="AssemblyInfo.cs" company="Rambalac"> // Copyright (c) Rambalac. All rights reserved. // </copyright> 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 m...
// <copyright file="AssemblyInfo.cs" company="Rambalac"> // Copyright (c) Rambalac. All rights reserved. // </copyright> 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 m...
mit
C#
9ed0b4864c673111eb650c79da7a3ff394cb3950
Use camelCase and string enums with YAML serialization
halforbit/data-stores
FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Implementation/YamlSerializer.cs
FileStores/Serialization/Yaml/Halforbit.DataStores.FileStores.Serialization.Yaml/Implementation/YamlSerializer.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; using System.Dynamic; using System.Text; using System.Threading.Tasks; using YamlDotNet.Serialization; using ISerializer = Halforbit.DataStores.FileStores.Interface.ISerializer; namespac...
using Halforbit.DataStores.FileStores.Serialization.Json.Implementation; using Newtonsoft.Json.Linq; using System.Dynamic; using System.Text; using System.Threading.Tasks; using YamlDotNet.Serialization; using ISerializer = Halforbit.DataStores.FileStores.Interface.ISerializer; namespace Halforbit.DataStores....
mit
C#
1e90a3dfdfa4a54eaa3667a8308e0a465e9208f4
clean up of output
jogibear9988/fluentmigrator,wolfascu/fluentmigrator,fluentmigrator/fluentmigrator,schambers/fluentmigrator,fluentmigrator/fluentmigrator,lcharlebois/fluentmigrator,swalters/fluentmigrator,mstancombe/fluentmigrator,eloekset/fluentmigrator,akema-fr/fluentmigrator,DefiSolutions/fluentmigrator,wolfascu/fluentmigrator,Karao...
src/FluentMigrator.Runner/Initialization/RunnerContext.cs
src/FluentMigrator.Runner/Initialization/RunnerContext.cs
using System; using System.Configuration; using System.IO; using System.Linq; using FluentMigrator.Runner.Processors; namespace FluentMigrator.Runner.Initialization { public class RunnerContext : IRunnerContext { private string ConnectionString; private string ConfigFile; private IMigrationProcessor _processor;...
using System; using System.Configuration; using System.IO; using System.Linq; using FluentMigrator.Runner.Processors; namespace FluentMigrator.Runner.Initialization { public class RunnerContext : IRunnerContext { private string ConnectionString; private bool NotUsingConfig = true; private IMigrationProcessor _p...
apache-2.0
C#
0324afd7032fd8dc462023e5c7e817420c23d7d2
优化函数“空转”效率
topameng/tolua
Assets/ToLua/Injection/LuaInjectionStation.cs
Assets/ToLua/Injection/LuaInjectionStation.cs
using System; using System.Collections; using System.Collections.Generic; namespace LuaInterface { [Flags] public enum InjectType { None = 0, After = 1, Before = 1 << 1, Replace = 1 << 2, ReplaceWithPreInvokeBase = 1 << 3, ReplaceWithPostInvokeBase = 1 << 4 ...
using System; using System.Collections; using System.Collections.Generic; namespace LuaInterface { [Flags] public enum InjectType { None = 0, After = 1, Before = 1 << 1, Replace = 1 << 2, ReplaceWithPreInvokeBase = 1 << 3, ReplaceWithPostInvokeBase = 1 << 4 ...
mit
C#
7f673ddfd909dbd4e384be4f0eab1f55357a05a1
remove blank
FDUdannychen/AgileSwitch
AgileSwitch/Switchable.cs
AgileSwitch/Switchable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgileSwitch { class Switchable<T> : ISwitchable<T> { private T _value; private bool _break = false; private bool _passCase = false; public Switchable(T value) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgileSwitch { class Switchable<T> : ISwitchable<T> { private T _value; private bool _break = false; private bool _passCase = false; public Switchable(T value) { ...
mit
C#
8fdb34899085bf2d8e2406443d5cb683f74a4194
Update TrueFalseOrNull.cs
mcintyre321/OneOf
OneOf/Types/TrueFalseOrNull.cs
OneOf/Types/TrueFalseOrNull.cs
namespace OneOf.Types { public class TrueFalseOrNull : OneOf.OneOfBase<TrueFalseOrNull.True, TrueFalseOrNull.False, TrueFalseOrNull.Null> { public class True : TrueFalseOrNull { } public class False : TrueFalseOrNull { } public class Null : TrueFalseOrNull { } public static impl...
namespace OneOf.Types { public class TrueFalseOrNull : OneOf.OneOf<True, False, Null> { public class True : TrueFalseOrNull { } public class False : TrueFalseOrNull { } public class Null : TrueFalseOrNull { } public static implicit operator TrueFalseOrNull(bool? value) {...
mit
C#
5967fd80c91d0d06a217cd4cfed5987ac16fac4f
Add template for Visual Studio C++ resource files
fwinkelbauer/Bumpy
Source/Bumpy/Template.cs
Source/Bumpy/Template.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bumpy { internal sealed class Template { private static readonly Dictionary<string, Template> Templates = new Dictionary<string, Template>() { { ".csproj", new Template(@"<(?<marker>[Vv]...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bumpy { internal sealed class Template { private static readonly Dictionary<string, Template> Templates = new Dictionary<string, Template>() { { ".csproj", new Template(@"<(?<marker>[Vv]...
mit
C#
2991e7c4c0f7e4f130b2795f4c17f92a5360cab3
Fix logging, create random number gen
DMagic1/Orbital-Science,Kerbas-ad-astra/Orbital-Science
Source/DMConfigLoader.cs
Source/DMConfigLoader.cs
 using System; using System.Collections.Generic; using UnityEngine; namespace DMagic { [KSPAddon(KSPAddon.Startup.MainMenu, true)] internal class DMConfigLoader: MonoBehaviour { private void Start() { DMUtils.rand = new System.Random(); DMUtils.DebugLog("Generating Global Random Number Generator"); c...
 using System.Collections.Generic; using UnityEngine; namespace DMagic { [KSPAddon(KSPAddon.Startup.MainMenu, true)] internal class DMConfigLoader: MonoBehaviour { internal static Dictionary<string, DMcontractScience> availableScience = new Dictionary<string, DMcontractScience>(); internal static float science...
bsd-3-clause
C#
8a693ba3c705901dca9b92bc01af76244cc0aaf1
Add test for preserving empty paragraphs
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; namespace Mammoth.Tests { public class DocumentConverterTests { [Fact] public void DocxContainingOneParagraphIsConvertedToSingleParagraphElement() { assertSuccessfulConversion( ConvertToHtml("single-paragraph.docx"), "<p>Walking on imported air</p>"); }...
bsd-2-clause
C#
e28b029f6075da7703f03947c95387da94db659f
remove IImplyFixture
agray/nunit,danielmarbach/nunit,JohanO/nunit,agray/nunit,danielmarbach/nunit,ChrisMaddock/nunit,mjedrzejek/nunit,cPetru/nunit-params,nunit/nunit,pflugs30/nunit,mikkelbu/nunit,Suremaker/nunit,jadarnel27/nunit,ggeurts/nunit,mjedrzejek/nunit,danielmarbach/nunit,OmicronPersei/nunit,mikkelbu/nunit,ChrisMaddock/nunit,Suremak...
src/NUnitFramework/framework/Attributes/OrderAttribute.cs
src/NUnitFramework/framework/Attributes/OrderAttribute.cs
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; namespace NUnit.Framework { public class OrderAttribute : NUnitAttribute, IApplyToTest { /// <summary> /// Defines the order that the test will run in ...
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; namespace NUnit.Framework { public class OrderAttribute : NUnitAttribute, IImplyFixture, IApplyToTest { /// <summary> /// Defines the order that the test will...
mit
C#
1de76f20290ad9a03ba4b769dba634514d58f5e2
Make namespace optional in xmlextensions AddLink
gmartin7/libpalaso,mccarthyrb/libpalaso,JohnThomson/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,chrisvire/libpalaso,glasseyes/libpalaso,darcywong00/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,mccarthyrb/libpalaso,andrew-po...
Palaso/Xml/XmlDomExtensions.cs
Palaso/Xml/XmlDomExtensions.cs
using System; using System.IO; using System.Xml; namespace Palaso.Xml { public static class XmlDomExtensions { public static XmlDocument StripXHtmlNameSpace(this XmlDocument node) { XmlDocument x = new XmlDocument(); x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered")); return x; } public st...
using System; using System.IO; using System.Xml; namespace Palaso.Xml { public static class XmlDomExtensions { public static XmlDocument StripXHtmlNameSpace(this XmlDocument node) { XmlDocument x = new XmlDocument(); x.LoadXml(node.OuterXml.Replace("xmlns", "xmlnsNeutered")); return x; } public st...
mit
C#
b87eb96b850ddf758b406858f87d9e6863563e0e
Add a couple of friend assemblies
tmds/Tmds.DBus
AssemblyInfo.cs
AssemblyInfo.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
mit
C#
8af623ac62c878b8860d8227aca472c84fe4b403
Update version to 0.2.1
elcattivo/CloudFlareUtilities
CloudFlareUtilities/Properties/AssemblyInfo.cs
CloudFlareUtilities/Properties/AssemblyInfo.cs
using System; 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 ...
using System; 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 ...
mit
C#
05bf322920d8a21f950b98698399ea0f16980a37
reset program.cs
OdeToCode/linqsamples
Cars/Program.cs
Cars/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cars { class Program { static void Main(string[] args) { } } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cars { class Program { static void Main(string[] args) { var cars = LoadCarsFromFile("fuel.csv"); foreach (var car in cars) ...
mit
C#
a140fd640e40b4ada8cad6d054acc2e016fe01ff
fix param prefix in OracleParameterFactory
davidwest/FluidDbClient
FluidDbClient.Oracle/OracleParameterFactory.cs
FluidDbClient.Oracle/OracleParameterFactory.cs
using System; using Oracle.ManagedDataAccess.Client; namespace FluidDbClient.Oracle { public static class OracleParameterFactory { public static OracleParameter CreateParameter(string name, object value) { return value == null ? new OracleParameter(name, DBNull.Val...
using System; using Oracle.ManagedDataAccess.Client; namespace FluidDbClient.Oracle { public static class OracleParameterFactory { public static OracleParameter CreateParameter(string name, object value) { var effectiveName = GetEffectiveParameterName(name); if (value ...
mit
C#
089833408af2def117fe7d7c8298bbb744bf13eb
Add new file userAuth.cpl/Droid/Properties/AssemblyInfo.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
userAuth.cpl/Droid/Properties/AssemblyInfo.cs
userAuth.cpl/Droid/Properties/AssemblyInfo.cs
�using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("userAuth.cpl.Droid")] [assembly: AssemblyDescription ("")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using Android.App; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("userAuth.cpl.Droid")] [assembly: AssemblyDescription ("")] [assembly: Assemb...
mit
C#
dd76f72d51de5cb3a54464159da90a52aa66a73c
Add marker service and check for it before adding the middleware.
khellang/Middleware,khellang/Middleware
src/ProblemDetails/ProblemDetailsExtensions.cs
src/ProblemDetails/ProblemDetailsExtensions.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; namespace Hellang.Middleware.ProblemDetails { public static class ProblemDetailsExtensions { public static IS...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; namespace Hellang.Middleware.ProblemDetails { public static class ProblemDetailsExtensions { public static IS...
mit
C#
af71f99596ae086b3d73542001c853a3805ac7e0
Create Child works
rnmisrahi/storage-infrastructure,rnmisrahi/storage-infrastructure
JwtSample.Server/Controllers/DataController.cs
JwtSample.Server/Controllers/DataController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace JwtSample.Server.Controllers { //[Route("api/[controller]")] public class DataController : Controller { [Authorize] ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace JwtSample.Server.Controllers { [Route("api/[controller]")] public class DataController : Controller { [Authorize] ...
mit
C#
bc3b1d51940ba36df6c8ea2c6bb49612ef127c06
Allow specifying a default localizer.
mios-fi/mios.localization
Localization/Localizers/DictionaryLocalizer.cs
Localization/Localizers/DictionaryLocalizer.cs
using System; using System.Collections.Generic; namespace Mios.Localization.Localizers { public class DictionaryLocalizer { private readonly IDictionary<string, string> source; private readonly Localizer defaultLocalizer; public DictionaryLocalizer(IDictionary<string, string> source) : this(source, ...
using System; using System.Collections.Generic; namespace Mios.Localization.Localizers { public class DictionaryLocalizer { private readonly IDictionary<string, string> source; public DictionaryLocalizer(IDictionary<string,string> source) { this.source = source; } public LocalizedString Localize(...
bsd-2-clause
C#
97bb4c1e53f640c5a853ef56f979ad679ee74cc6
Update SimpleWavSplitterApp.xaml.cs
wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter
SimpleWavSplitter/SimpleWavSplitterApp.xaml.cs
SimpleWavSplitter/SimpleWavSplitterApp.xaml.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. namespace SimpleWavSplitter { #region References using System.Windows; #endregion #region SimpleWavSplitterApp /// <summary> /// Main ...
/* * SimpleWavSplitter * Copyright © Wiesław Šoltés 2010. All Rights Reserved */ namespace SimpleWavSplitter { #region References using System.Windows; #endregion #region SimpleWavSplitterApp /// <summary> /// Main application /// </summary> public partial class SimpleWavSplitte...
mit
C#
77b9d81840fac01f6c51042149496fde12d76678
Adjust button press handler.
OSVR/OSVR-Unity,grobm/OSVR-Unity,DuFF14/OSVR-Unity,JeroMiya/OSVR-Unity,grobm/OSVR-Unity
OSVR-Unity/Assets/scripts/HandleButtonPress.cs
OSVR-Unity/Assets/scripts/HandleButtonPress.cs
using UnityEngine; using System.Collections; public class HandleButtonPress : MonoBehaviour { public void Start() { GetComponent<OSVR.Unity.InterfaceCallbacks> ().RegisterCallback (handleButton); } public void handleButton(string path, bool state) { Debug.Log ("Got button: " + path + " state is " + state); }...
using UnityEngine; using System.Collections; public class HandleButtonPress : MonoBehaviour { public OSVR.Unity.OSVRClientKit clientKit; public OSVR.Unity.InterfaceCallbacks cb; public void Start() { GetComponent<OSVR.Unity.InterfaceCallbacks> ().RegisterCallback (handleButton); } public void handleButton(...
apache-2.0
C#
743d27325ccd5ada772368a4aaebece7bbff4d65
Fix nullability
nikeee/HolzShots
src/HolzShots.Capture.Video/Capture/Video/FFmpeg/StreamExtensions.cs
src/HolzShots.Capture.Video/Capture/Video/FFmpeg/StreamExtensions.cs
using System; using System.IO; using System.Threading.Tasks; using System.Threading; namespace HolzShots.Capture.Video.FFmpeg { /// <summary> Ref: https://stackoverflow.com/a/46497896 </summary> public static class StreamExtensions { public static async Task CopyToAsync(this Stream source, Stream d...
using System; using System.IO; using System.Threading.Tasks; using System.Threading; namespace HolzShots.Capture.Video.FFmpeg { /// <summary> Ref: https://stackoverflow.com/a/46497896 </summary> public static class StreamExtensions { public static async Task CopyToAsync(this Stream source, Stream d...
agpl-3.0
C#
62b5457bffcc7b7eb0cdde8cea90c69ae5978046
Fix getting current screen for windows (use actual width/height)
PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Platform.Wpf/Forms/ScreenHandler.cs
Source/Eto.Platform.Wpf/Forms/ScreenHandler.cs
using System; using Eto.Forms; using sw = System.Windows; using sd = System.Drawing; using swm = System.Windows.Media; using swf = System.Windows.Forms; using Eto.Drawing; namespace Eto.Platform.Wpf.Forms { public class ScreenHandler : WidgetHandler<swf.Screen, Screen>, IScreen { float scale; public ScreenHandl...
using System; using Eto.Forms; using sw = System.Windows; using sd = System.Drawing; using swm = System.Windows.Media; using swf = System.Windows.Forms; using Eto.Drawing; namespace Eto.Platform.Wpf.Forms { public class ScreenHandler : WidgetHandler<swf.Screen, Screen>, IScreen { float scale; public ScreenHandl...
bsd-3-clause
C#
269bb3d3a24dd783a2aebb70d5e679b84cbf2cbf
Add DeleteJob to ScheduleManagement contract
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISchedulerManagementService.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISchedulerManagementService.cs
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.SchedulerManagement; using PS.Mothership.Core.Common.Template.Gen; using System.ServiceModel; namespace PS.Mothership.Core.Common.Contracts { [ServiceContract(Name = "SchedulerManage...
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.SchedulerManagement; using PS.Mothership.Core.Common.Template.Gen; using System.ServiceModel; namespace PS.Mothership.Core.Common.Contracts { [ServiceContract(Name = "SchedulerManage...
mit
C#
9085193623e65b9f77fa3894d77ec9ed346b5c1a
Add check in OverlayCrit for null shroudImg reference.
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,Necromu...
UnityProject/Assets/Scripts/UI/OverlayCrits.cs
UnityProject/Assets/Scripts/UI/OverlayCrits.cs
using System; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; /// <summary> /// To control the critical overlays (unconscious, dying, oxygen loss etc) /// </summary> public class OverlayCrits : MonoBehaviour { public ShroudPreference critcalSettings; public OverlayState currentSt...
using System; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; /// <summary> /// To control the critical overlays (unconscious, dying, oxygen loss etc) /// </summary> public class OverlayCrits : MonoBehaviour { public ShroudPreference critcalSettings; public OverlayState currentSt...
agpl-3.0
C#
cc80d4e97294462063cd10cc54eb0d0f4a892d88
Verify that LoginCommand#Execute asks for username and password
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/LoginCommandTest.cs
src/AppHarbor.Tests/Commands/LoginCommandTest.cs
using System; using System.IO; using AppHarbor.Commands; using Xunit; namespace AppHarbor.Tests.Commands { public class LoginCommandTest { public void ShouldAskForUsernameAndPassword() { using (var writer = new StringWriter()) { Console.SetOut(writer); using (var reader = new StringReader(string....
namespace AppHarbor.Tests.Commands { public class LoginCommandTest { } }
mit
C#
c0595e083771e96710b39dfe62f1ba6f12a42550
Fix incorrect handling of null value by setter of ScopeDefinitionAttribute.ContainingClass property
YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata/Attributes/ScopeDefinitionAttribute.cs
src/Atata/Attributes/ScopeDefinitionAttribute.cs
using System; using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute class for component scope definition. /// The basic definition is represented with XPath. /// </summary> [AttributeUsage(AttributeTargets.Class)] public abstract class ScopeDefinitionAtt...
using System; using System.Linq; namespace Atata { /// <summary> /// Represents the base attribute class for component scope definition. /// The basic definition is represented with XPath. /// </summary> [AttributeUsage(AttributeTargets.Class)] public abstract class ScopeDefinitionAtt...
apache-2.0
C#