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
52a82316f8f647160f11eec699f5749f570d6c16
fix unix time
fengyhack/csharp-sdk,qiniu/csharp-sdk
Qiniu/RS/GetPolicy.cs
Qiniu/RS/GetPolicy.cs
using System; using System.Linq; using Qiniu.Auth.digest; using Qiniu.Conf; namespace Qiniu.RS { /// <summary> /// GetPolicy /// </summary> public class GetPolicy { public static string MakeRequest (string baseUrl, UInt32 expires = 3600, Mac mac = null) { if (mac == null) { mac = new Mac (Config.ACCES...
using System; using System.Linq; using Qiniu.Auth.digest; using Qiniu.Conf; namespace Qiniu.RS { /// <summary> /// GetPolicy /// </summary> public class GetPolicy { public static string MakeRequest (string baseUrl, UInt32 expires = 3600, Mac mac = null) { if (mac == null) { mac = new Mac (Config.ACCES...
mit
C#
53248f86664bc06888859527e9dad388220adce4
Test not relevant anymore
codingseb/TranslateMe
TranslateMe.WPF.Tests/TranslateMeWPFTests.cs
TranslateMe.WPF.Tests/TranslateMeWPFTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Should; namespace TranslateMe.WPF.Tests { [TestFixture] public class TranslateMeWPFTests { [OneTimeSetUp] public void LoadTranslations() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Should; namespace TranslateMe.WPF.Tests { [TestFixture] public class TranslateMeWPFTests { [OneTimeSetUp] public void LoadTranslations() ...
mit
C#
a66ad7969a3f3903c50443ee191ef204bc506b1f
Rework ZipFileTest sample
McNeight/SharpZipLib
samples/cs/zipfiletest/ZipFileTest.cs
samples/cs/zipfiletest/ZipFileTest.cs
using System; using System.Text; using System.Collections; using System.IO; using ICSharpCode.SharpZipLib.Zip; class MainClass { static public void Main(string[] args) { if ( args.Length < 1 ) { Console.WriteLine("Usage: ZipList file"); return; } if ( !File.Exists(args[0]) ) { Console.WriteLine("C...
using System; using System.Text; using System.Collections; using System.IO; using ICSharpCode.SharpZipLib.Zip; class MainClass { static public void Main(string[] args) { ZipFile zFile = new ZipFile(args[0]); Console.WriteLine("Listing of : " + zFile.Name); Console.WriteLine(""); Console.WriteLine("Raw Size ...
mit
C#
af0e9624b90b7717e632e10f1dc22476210f6b37
reduce trigger time again down to 1 min
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Scheduler/QuartzScheduler.cs
src/StockportWebapp/Scheduler/QuartzScheduler.cs
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
mit
C#
24eebcbcccec4ac7011ee69f73725d1ee1d48d65
Add Bigsby Jobs was here
Bigsby/NetCore,Bigsby/NetCore,Bigsby/NetCore
consoleApp/Program.cs
consoleApp/Program.cs
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!"); Console.WriteLine("Bigsby Gates was here!"); Co...
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello World, I was created by my father, Bigsby, in an unidentified evironment!"); Console.WriteLine("Bigsby Gates was here!"); Co...
apache-2.0
C#
4981713f5567d4e49ec571dbfd994f7baa603604
fix AixsLineFormatRecord Test cases
tonyqus/npoi,antony-liu/npoi
testcases/main/HSSF/Record/Chart/TestAxisLineRecord.cs
testcases/main/HSSF/Record/Chart/TestAxisLineRecord.cs
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to ...
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to ...
apache-2.0
C#
812898de85b3e412c1a29ce1c6cf38dbff6fe980
improve cart
lderache/LeTruck,lderache/LeTruck,lderache/LeTruck
src/mvc5/TheTruck.Web/Views/Cart/ShowCart.cshtml
src/mvc5/TheTruck.Web/Views/Cart/ShowCart.cshtml
@model IEnumerable<TheTruck.Web.Models.CartViewModel> <h2>Shopping cart</h2> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Category) </th> <th> @Html.DisplayNameFor(model => model.Name) </th> <th> @Html.DisplayNameF...
@model IEnumerable<TheTruck.Web.Models.CartViewModel> <table class="table"> <tr> <th> @Html.DisplayNameFor(model => model.Category) </th> <th> @Html.DisplayNameFor(model => model.Name) </th> <th> @Html.DisplayNameFor(model => model.Price)...
mit
C#
3f9fcc0e033019cc7c3742ece2ecd8d7ee09a11e
Fix build error
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
src/DotNetCore.CAP/CAP.Builder.cs
src/DotNetCore.CAP/CAP.Builder.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using DotNetCore.CAP.Filter; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace DotNetCore.CAP {...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace DotNetCore.CAP { /// <summary> /// Us...
mit
C#
bd26932eae38e5cab8539d775312c9ed678a621c
Fix for issue #28
chriscamplejohn/React.NET,alexsoftua/React.NET,chriscamplejohn/React.NET,chriscamplejohn/React.NET,chriscamplejohn/React.NET,SaltyDH/React.NET,reactjs/React.NET,IveWong/React.NET,IveWong/React.NET,IveWong/React.NET,reactjs/React.NET,reactjs/React.NET,rickbeerendonk/React.NET,radnor/React.NET,ShikiGami/React.NET,radnor/...
src/React/AssemblyRegistration.cs
src/React/AssemblyRegistration.cs
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using JavaSc...
/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ using JavaSc...
mit
C#
c19e0ab4bc5b95263c7bf0fd50657593586427bd
tweak routing
jaredthirsk/Machine,jaredthirsk/Machine,jaredthirsk/Machine
LionFire.Machine.Api/Controllers/ProcessesController.cs
LionFire.Machine.Api/Controllers/ProcessesController.cs
using LionFire.Machine.Processes.Linux; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LionFire.Machine.Api.Controllers { [Route("[controller]")] public class ProcessesController : Controller { [HttpGet("[actio...
using LionFire.Machine.Processes.Linux; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LionFire.Machine.Api.Controllers { [Route("[controller]")] public class ProcessesController : Controller { //[HttpGet("[act...
mit
C#
65c1297a821c2a1715a984dfc1f0ea764828c85a
add job project route enum
mzrimsek/resume-site-api
Test.Integration/ControllerTests/ControllerRouteEnum.cs
Test.Integration/ControllerTests/ControllerRouteEnum.cs
namespace Test.Integration.ControllerTests { public class ControllerRouteEnum { public static string JOB = new ControllerRouteEnum("job").Route; public static string SCHOOL = new ControllerRouteEnum("school").Route; public static string JOB_PROJECT = new ControllerRouteEnum("jobProject")...
namespace Test.Integration.ControllerTests { public class ControllerRouteEnum { public static string JOB = new ControllerRouteEnum("job").Route; public static string SCHOOL = new ControllerRouteEnum("school").Route; public string Route { get; private set; } public ControllerRout...
mit
C#
800949b78528df842c2773fed74ca268a5a25c4c
Update Variable.cs
irtezasyed007/CSC523-Game-Project
Algorithms/Variable.cs
Algorithms/Variable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { class Variable { private char var; private bool truthValue; public Variable(char c) { var = c; this.truthValue = true; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSC_523_Game { class Variable { private char var; private bool truthValue; public Variable(char c) { var = c; this.truthValue = true; } publi...
mit
C#
4440ce255c072c1e6caf16fd79a7ffbddcbbfa89
Update version.
Grabacr07/SylphyHorn,yas-mnkornym/SylphyHorn,mntone/SylphyHorn
source/SylphyHorn/Properties/AssemblyInfo.cs
source/SylphyHorn/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("SylphyHorn")] [assembly: AssemblyDescription("Virtual Desktop Tools for Windows 10")] [assembly: AssemblyCompany("grabacr.net")] [assembly: AssemblyProduct("SylphyHorn")] [assembly: AssemblyCopyright...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("SylphyHorn")] [assembly: AssemblyDescription("Virtual Desktop Tools for Windows 10")] [assembly: AssemblyCompany("grabacr.net")] [assembly: AssemblyProduct("SylphyHorn")] [assembly: AssemblyCopyright...
mit
C#
a05e9284ab7485966a6a629c0e446e4e1446dbeb
Update XML comments of FindItemByParentContentAttribute
YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata/Attributes/Behaviors/FindItemByParentContentAttribute.cs
src/Atata/Attributes/Behaviors/FindItemByParentContentAttribute.cs
namespace Atata { /// <summary> /// Represents the behavior to find an item of <see cref="OptionList{T, TOwner}"/> control by parent element content. /// </summary> public class FindItemByParentContentAttribute : FindItemByRelativeElementContentAttribute { public const string ParentElementX...
namespace Atata { /// <summary> /// Represents the behavior to find an item of <see cref="OptionList{T, TOwner}"/> control by parent element content using its XPath. /// </summary> public class FindItemByParentContentAttribute : FindItemByRelativeElementContentAttribute { public const strin...
apache-2.0
C#
f88d2e4d6cbe0f240c072355c7791d37d91f6116
fix connection factory bug
grj1046/DotNetBlog,grj1046/DotNetBlog,grj1046/DotNetBlog,grj1046/DotNetBlog
src/DotNetBlog/Models/DbConnectionFactory.cs
src/DotNetBlog/Models/DbConnectionFactory.cs
using Microsoft.Extensions.Configuration; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading.Tasks; namespace DotNetBlog.Models { public interface IDbConnectionFactory { MySqlConnection Ac...
using Microsoft.Extensions.Configuration; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; using System.Threading.Tasks; namespace DotNetBlog.Models { public interface IDbConnectionFactory { MySqlConnection Ac...
mit
C#
9ff68569f75dbad454d5a24bc49914f8d9381dcd
Rename Exception parameter on CommandLineException
grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,JetBra...
src/NuGetGallery.Operations/Common/CommandLineException.cs
src/NuGetGallery.Operations/Common/CommandLineException.cs
using System; using System.Globalization; using System.Runtime.Serialization; namespace NuGetGallery.Operations { [Serializable] public class CommandLineException : Exception { public CommandLineException() { } public CommandLineException(string message) : base(...
using System; using System.Globalization; using System.Runtime.Serialization; namespace NuGetGallery.Operations { [Serializable] public class CommandLineException : Exception { public CommandLineException() { } public CommandLineException(string message) : base(...
apache-2.0
C#
1938e49c61589776711c0fbfa43c98e290e7ae49
Fix `Math.Pow` order
GGG-KILLER/GUtils.NET
GUtils.IO/FileSizes.cs
GUtils.IO/FileSizes.cs
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const U...
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const U...
mit
C#
2490cce007f2dadaa591fd6d92c72a6be6bcee7e
Split FailedToSend log so the full exception is logged at debug
LightningQueues/LightningQueues,LightningQueues/LightningQueues
src/LightningQueues/Logging/NLogLogger.cs
src/LightningQueues/Logging/NLogLogger.cs
using System; using System.Collections.Generic; using System.Linq; using FubuCore; using LightningQueues.Model; using LightningQueues.Protocol; using NLog; namespace LightningQueues.Logging { public class NLogLogger : ILogger { private readonly Logger _logger; public NLogLogger(...
using System; using System.Collections.Generic; using System.Linq; using FubuCore; using LightningQueues.Model; using LightningQueues.Protocol; using NLog; namespace LightningQueues.Logging { public class NLogLogger : ILogger { private readonly Logger _logger; public NLogLogger(...
mit
C#
8c0888970e7d0ed93688178e33a5e834bfadcd40
Implement GetValidMoves for Queen
ProgramFOX/Chess.NET
ChessDotNet/Pieces/Queen.cs
ChessDotNet/Pieces/Queen.cs
using System.Linq; using System.Collections.ObjectModel; namespace ChessDotNet.Pieces { public class Queen : Piece { public override Player Owner { get; set; } public Queen(Player owner) { Owner = owner; } public ove...
using System; namespace ChessDotNet.Pieces { public class Queen : Piece { public override Player Owner { get; set; } public Queen(Player owner) { Owner = owner; } public override char GetFenCharacter() { ...
mit
C#
60d0d1f74ace1c8d0c547fe158776d83b4ea353f
Fix exception message.
drewnoakes/dasher
Dasher/UnionTagAttribute.cs
Dasher/UnionTagAttribute.cs
#region License // // Dasher // // Copyright 2015-2016 Drew Noakes // // 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 // // ...
#region License // // Dasher // // Copyright 2015-2016 Drew Noakes // // 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#
beee091f135774e54f10944d5f83cfa122700b93
Change IntervalReached event to contain duration position.
jcheng31/IntervalTimer
IntervalReachedEventArgs.cs
IntervalReachedEventArgs.cs
using System; using Microsoft.SPOT; namespace IntervalTimer { public class IntervalReachedEventArgs : EventArgs { public int DurationNumber { get; set; } public IntervalReachedEventArgs(int durationNumber) { DurationNumber = durationNumber; } } }
using System; using Microsoft.SPOT; namespace IntervalTimer { public class IntervalReachedEventArgs : EventArgs { public String Message { get; set; } public IntervalReachedEventArgs(String message) { Message = message; } } }
mit
C#
7e50c35d612bc0a8ad97cfc9869a368d6debe497
Make daemon dispose properly on exit
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
using Avalonia; using Avalonia.Threading; using AvalonStudio.Shell; using AvalonStudio.Shell.Extensibility.Platforms; using Mono.Options; using NBitcoin; using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Gui.CommandLine; using...
using Avalonia; using Avalonia.Threading; using AvalonStudio.Shell; using AvalonStudio.Shell.Extensibility.Platforms; using Mono.Options; using NBitcoin; using System; using System.IO; using System.Reflection; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Gui.CommandLine; using...
mit
C#
2a886827175ae2d4aef6865bbfb1f8d8218a94c7
Update AssemblyInfo.cs
vcliment89/GridViewEX,vcliment89/GridViewEX
src/GridViewEx/Properties/AssemblyInfo.cs
src/GridViewEx/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("GridViewEX")] [assembly: AssemblyDescription(".NET extended Gridview lot more functional and powerful than the original")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("V...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("GridViewEX")] [assembly: AssemblyDescription(".NET extended Gridview lot more functional and powerful than the original")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("V...
apache-2.0
C#
032041def64aa31950355d327f50485531a756c8
Tweak TerrainLogic
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Terrain/TerrainLogic.cs
src/OpenSage.Game/Terrain/TerrainLogic.cs
using System.IO; using OpenSage.Data.Sav; namespace OpenSage.Terrain { public sealed class TerrainLogic { internal void Load(SaveFileReader reader) { reader.ReadVersion(1); reader.ReadVersion(2); var unknown = reader.ReadInt32(); if (unknown !=...
using System.IO; using OpenSage.Data.Sav; namespace OpenSage.Terrain { public sealed class TerrainLogic { internal void Load(SaveFileReader reader) { reader.ReadVersion(2); var unknown = reader.ReadInt32(); if (unknown != 2u) { t...
mit
C#
add5bc9e8125f80c273266376807cecc6fd98a86
Use string.Concat in TypeExtensions.
peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,Nabile-Rahmani/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framew...
osu.Framework/Extensions/TypeExtensions/TypeExtensions.cs
osu.Framework/Extensions/TypeExtensions/TypeExtensions.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using System.Linq; namespace osu.Framework.Extensions.TypeExtensions { public static class TypeE...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using System.Linq; namespace osu.Framework.Extensions.TypeExtensions { public static class TypeE...
mit
C#
9be62c0e75f2ae47fe40f3c95a342ae9aa64e056
fix updater error
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Updater/Program.cs
TCC.Updater/Program.cs
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Windows; namespace TCC.Updater { internal class Program { private static readonly string SourcePath = AppDomain.CurrentDomain.BaseDirectory + "/tmp"; private static readonly string ...
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Threading; using System.Windows; namespace TCC.Updater { internal class Program { private static readonly string SourcePath = AppDomain.CurrentDomain.BaseDirectory + "/tmp"; private static readonly string ...
mit
C#
744681806cb920f6205a4d8f49560cdd3cf58efb
fix gameobject name completion.
hecomi/uREPL
Assets/uREPL/Scripts/Completion/GameObjectNameCompletion.cs
Assets/uREPL/Scripts/Completion/GameObjectNameCompletion.cs
using UnityEngine; using System.Linq; namespace uREPL { public class GameObjectNameCompletion : CompletionPlugin { static private string[] allGameObjectNames_; protected override void Awake() { allGameObjectNames_ = GameObject.FindObjectsOfType<GameObject>() .Select(go => go.name) .ToArray(); base.Awa...
using UnityEngine; using System.Linq; namespace uREPL { public class GameObjectNameCompletion : CompletionPlugin { static private string[] allGameObjectNames_; protected override void Awake() { allGameObjectNames_ = GameObject.FindObjectsOfType<GameObject>() .Select(go => go.name) .ToArray(); base.Awa...
mit
C#
d11c898cc20eded97fc8131b06d703508bb12a7e
fix tests
ziyasal/EntityFramework.InterceptorEx
EntityFramework.InterceptorEx/WithTransactionInterceptor.cs
EntityFramework.InterceptorEx/WithTransactionInterceptor.cs
using System; using System.Data.Common; using System.Data.Entity.Infrastructure.Interception; namespace EntityFramework.InterceptorEx { public class WithTransactionInterceptor : DbCommandInterceptor { private static string Wrapped_Query_Tpl = @" DECLARE @v{1} INT ...
using System; using System.Data.Common; using System.Data.Entity.Infrastructure.Interception; namespace EntityFramework.InterceptorEx { public class WithTransactionInterceptor : DbCommandInterceptor { private static string Wrapped_Query_Tpl = @" DECLARE @p{1} INT ...
mit
C#
426fbaec97ee006545b4c52144b1e8104a4b531d
add internal visible to for test
runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty
Source/ReactiveProperty.Core/Internals/InternalVisibleTo.cs
Source/ReactiveProperty.Core/Internals/InternalVisibleTo.cs
using System.Runtime.CompilerServices; [assembly:InternalsVisibleTo("ReactiveProperty, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a17d9f6e0d29671569d60841092ca470fd3105e6df77bbf6be713ace63c959e0d199dc7c16310a698bffb5133a6ffce1c87646f1f2b20e79b6c51a4dc4a44c8efcc5fbf0063353254d1cf9c094fbe...
using System.Runtime.CompilerServices; [assembly:InternalsVisibleTo("ReactiveProperty, PublicKey=0024000004800000940000000602000000240000525341310004000001000100a17d9f6e0d29671569d60841092ca470fd3105e6df77bbf6be713ace63c959e0d199dc7c16310a698bffb5133a6ffce1c87646f1f2b20e79b6c51a4dc4a44c8efcc5fbf0063353254d1cf9c094fbe...
mit
C#
d6c7e04418e83157e4aca2d1b6d4ea85d4f48dc0
Update assembly info to v1.2.3
degdigital/DEG.Social
src/DEG.ServiceCore/Properties/AssemblyInfo.cs
src/DEG.ServiceCore/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
7d97566595e9f9afdc722cea408176ae776d42cc
fix #11
nerai/Unlog
src/Unlog.AdditionalTargets/WpfRtfLogTarget.cs
src/Unlog.AdditionalTargets/WpfRtfLogTarget.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using Unlog; using Unlog.Util; namespace Unlog.AdditionalTargets { public class WpfRtfLogTarget : ILogTarget { private readonly RichTextB...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using Unlog; using Unlog.Util; namespace Unlog.AdditionalTargets { public class WpfRtfLogTarget : ILogTarget { private readonly RichTextB...
mit
C#
4f3f95540be8836006ce2bffee47f51efa987617
Check for zero rate to prevent crashes on unpause
UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Utils; using osu.Game.Graphics; u...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Utils; using osu.Game.Graphics; u...
mit
C#
38441759a78b448313729a2b6b8bf9464f4c1f94
Use angle projections
naoey/osu,peppy/osu,ppy/osu,johnneijzen/osu,ppy/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,naoey/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,EVAST9919/osu,ZLima12/osu,NeoAdonis/osu,smoogipooo/osu,2yangk...
osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.cs
osu.Game.Rulesets.Osu/Difficulty/Skills/Aim.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 osu.Game.Rulesets.Osu.Difficulty.Preprocessing; using osuTK; namespace osu.Game.Rulesets.Osu.Difficulty.Skills { /// <summary> /// Represen...
// 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 osu.Game.Rulesets.Osu.Difficulty.Preprocessing; using osuTK; namespace osu.Game.Rulesets.Osu.Difficulty.Skills { /// <summary> /// Represen...
mit
C#
362a5a39d0068d3a143fd245ef80a053995c6a8c
Scale the playfield to avoid off-screen objects
ppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.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.Bindables; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.UI; using osu....
// 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.Bindables; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.UI; namespace osu.Game.Rulesets.Osu.Mods { public ...
mit
C#
270c48152e64f9e1703ed49d9963fb403b463737
remove log
sebastus/AzureFunctionForSplunk
shared/sendToSplunk.csx
shared/sendToSplunk.csx
#load "unpackMessages.csx" #load "addStandardProperties.csx" #load "getEnvironmentVariable.csx" #load "obRelay.csx" #load "obHEC.csx" #load "newEvent.csx" using System; using System.Collections.Generic; using System.Dynamic; using System.Threading; using System.Threading.Tasks; public static async Task SendMessages...
#load "unpackMessages.csx" #load "addStandardProperties.csx" #load "getEnvironmentVariable.csx" #load "obRelay.csx" #load "obHEC.csx" #load "newEvent.csx" using System; using System.Collections.Generic; using System.Dynamic; using System.Threading; using System.Threading.Tasks; public static async Task SendMessages...
mit
C#
9afd9a81c1b68993f075faf66a1f33528f575601
Fix async tests (#115)
chadly/Geocoding.net
test/Geocoding.Tests/AsyncGeocoderTest.cs
test/Geocoding.Tests/AsyncGeocoderTest.cs
using System.Globalization; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Geocoding.Tests { public abstract class AsyncGeocoderTest { readonly IGeocoder asyncGeocoder; protected readonly SettingsFixture settings = new SettingsFixture(); public AsyncGeocoderTest() { ...
using System.Linq; using System.Threading.Tasks; using Xunit; namespace Geocoding.Tests { public abstract class AsyncGeocoderTest { readonly IGeocoder asyncGeocoder; protected readonly SettingsFixture settings = new SettingsFixture(); public AsyncGeocoderTest() { //Thread.CurrentThread.Curre...
mit
C#
4e5a1f27a8c35f462385dfecdeffe9e11d8c14b6
Initialise `Simple{Triple,Quadruple}` only once ever rather than create every time
ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu
osu.Game/Beatmaps/Timing/TimeSignature.cs
osu.Game/Beatmaps/Timing/TimeSignature.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; namespace osu.Game.Beatmaps.Timing { /// <summary> /// Stores the time signature of a track. /// For now, the lower numeral can only be 4; supp...
// 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; namespace osu.Game.Beatmaps.Timing { /// <summary> /// Stores the time signature of a track. /// For now, the lower numeral can only be 4; supp...
mit
C#
134b585e640601d6ebc4cb735c5feb40eaee7289
Make characterset serialisation test explicit
Codesleuth/esendex-dotnet-sdk
test/messaging/SmsMessageSerializationTests.cs
test/messaging/SmsMessageSerializationTests.cs
using com.esendex.sdk.core; using com.esendex.sdk.messaging; using com.esendex.sdk.utilities; using NUnit.Framework; namespace com.esendex.sdk.test.messaging { [TestFixture] public class SmsMessageSerializationTests { [TestCase(CharacterSet.Auto, @"<?xml version=""1.0"" encoding=""utf-8"...
using System.Dynamic; using System.Xml.Serialization; using com.esendex.sdk.core; using com.esendex.sdk.messaging; using com.esendex.sdk.utilities; using NUnit.Framework; namespace com.esendex.sdk.test.messaging { [TestFixture] public class SmsMessageSerializationTests { [Test] ...
bsd-3-clause
C#
850c7860d656eec1bc002ed7728557bbabde7cc7
Add USStream.Read() method
picrap/dnlib,Arthur2e5/dnlib,ilkerhalil/dnlib,jorik041/dnlib,yck1509/dnlib,ZixiangBoy/dnlib,kiootic/dnlib,0xd4d/dnlib,modulexcite/dnlib
src/DotNet/MD/USStream.cs
src/DotNet/MD/USStream.cs
using dot10.IO; namespace dot10.DotNet.MD { /// <summary> /// Represents the #US stream /// </summary> public class USStream : DotNetStream { /// <inheritdoc/> public USStream(IImageStream imageStream, StreamHeader streamHeader) : base(imageStream, streamHeader) { } /// <summary> /// Reads a unicode...
using dot10.IO; namespace dot10.DotNet.MD { /// <summary> /// Represents the #US stream /// </summary> public class USStream : DotNetStream { /// <inheritdoc/> public USStream(IImageStream imageStream, StreamHeader streamHeader) : base(imageStream, streamHeader) { } } }
mit
C#
4b88b4a9467e8af1ccfd5f8c36efc8d7f9cb90c3
Fix for Scene Switcher negative wraparound
momo-the-monster/workshop-trails
Assets/MMM/Trails/Scripts/SceneSwitcher.cs
Assets/MMM/Trails/Scripts/SceneSwitcher.cs
using UnityEngine; using System.Collections; /** * Use Keyboard to switch between all scenes in build * Wraps from last Scene back to first and vice versa */ namespace mmm { public class SceneSwitcher : MonoBehaviour { public KeyCode keyNext = KeyCode.Equals; public KeyCode keyPrevious = Key...
using UnityEngine; using System.Collections; /** * Use Keyboard to switch between all scenes in build * Wraps from last Scene back to first and vice versa */ namespace mmm { public class SceneSwitcher : MonoBehaviour { public KeyCode keyNext = KeyCode.Equals; public KeyCode keyPrevious = Key...
mit
C#
cd1d18d3652f2fb70da40b69b974c9dd3dff8d8f
修复文件夹路径拼写问题,单反斜杠(Windows),单斜杠(Linux)
antony-liu/npoi
main/Util/TempFile.cs
main/Util/TempFile.cs
namespace NPOI.Util { using System; using System.IO; using System.Threading; public class TempFile { private static string dir; /** * Creates a temporary file. Files are collected into one directory and by default are * deleted on exit from the VM. Files can be...
 namespace NPOI.Util { using System; using System.IO; using System.Threading; public class TempFile { private static string dir; /** * Creates a temporary file. Files are collected into one directory and by default are * deleted on exit from the VM. Files can b...
apache-2.0
C#
e102330cc45c513c0b2a349d1a7e90d5a349c9d5
bump to pre-release 3
Zutatensuppe/DiabloInterface,Zutatensuppe/DiabloInterface
src/DiabloInterface/Properties/AssemblyInfo.cs
src/DiabloInterface/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Dia...
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("Dia...
mit
C#
57b3b252eafc7c87400d3f0b933408f6aad5dc06
bump 1.0.8
crunchie84/HaagsTranslator
src/HaagsTranslator/Properties/AssemblyInfo.cs
src/HaagsTranslator/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ha...
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("Ha...
mit
C#
3a5bc4ddf695c2376135c566b44c4229c1c50be2
Call SetWidth and SetHeight method
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
QueueDataGraphic/QueueDataGraphic/Form1.cs
QueueDataGraphic/QueueDataGraphic/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace QueueDataGraphic { public partial class Form1 : Form { public Form1() { InitializeCom...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace QueueDataGraphic { public partial class Form1 : Form { public Form1() { InitializeCom...
apache-2.0
C#
9b8fb7e1d10508900c8a1bf8cfaf0398a1315012
Add a xmldoc for IMouseState.IsPositionValid
DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framewor...
osu.Framework/Input/IMouseState.cs
osu.Framework/Input/IMouseState.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using OpenTK.Input; namespace osu.Framework.Input { public interface IMouseState { IMouseState NativeState { get; } Bu...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using OpenTK.Input; namespace osu.Framework.Input { public interface IMouseState { IMouseState NativeState { get; } Bu...
mit
C#
7ce308793936eb3ab5a064b34ecf4a4c3b38f4c9
Update version number.
spacechase0/StardewValleyMP,blommers/StardewValleyMP
StardewValleyMP/Properties/AssemblyInfo.cs
StardewValleyMP/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("St...
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("St...
mit
C#
35197ed4515711edeff772b303042265363b588c
Test fix
Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet
Test/TestFramework/Shared/StubTelemetry.cs
Test/TestFramework/Shared/StubTelemetry.cs
namespace Microsoft.ApplicationInsights.TestFramework { using System; using System.Collections.Generic; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.ApplicationInsights.Extensib...
namespace Microsoft.ApplicationInsights.TestFramework { using System; using System.Collections.Generic; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility; using Microsoft.ApplicationInsights.Extensib...
mit
C#
0055e6ff6859c776c4b5ef0a785e57edf96a8cd5
Test for nuspec
ArxOne/Persistence
ArxOne.Persistence/Properties/AssemblyInfo.cs
ArxOne.Persistence/Properties/AssemblyInfo.cs
#region Arx One Persistence // Arx One Persistence // The one who keeps you alive after death // https://github.com/ArxOne/Persistence // MIT License #endregion using System; using System.Reflection; using System.Resources; [assembly: AssemblyTitle("ArxOne Persistence")] [assembly:AssemblyDescription...
#region Arx One Persistence // Arx One Persistence // The one who keeps you alive after death // https://github.com/ArxOne/Persistence // MIT License #endregion using System; using System.Reflection; using System.Resources; [assembly: AssemblyTitle("ArxOne Persistence")] [assembly:AssemblyDescription...
mit
C#
d6e3fbaf18bc1575de09f37e1573f20d19666df7
Change the TextBoxControl class, the Textbox will be localized only once in the constructor, it will help in performance.
quintelab/CodedUIAgilityPack,quintelab/CodedUIAgilityPack
CodedUIAgilityPack/Controls/TextBoxControl.cs
CodedUIAgilityPack/Controls/TextBoxControl.cs
using CodedUIAgilityPack.Controls.Interfaces; using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls; using System; namespace CodedUIAgilityPack.Controls { /// <summary> /// Class representing TextBox control /// </summary> public class TextBoxControl : BaseControl, ITextBoxControls { ...
using CodedUIAgilityPack.Controls.Interfaces; using Microsoft.VisualStudio.TestTools.UITesting.HtmlControls; using System; namespace CodedUIAgilityPack.Controls { /// <summary> /// Class representing TextBox control /// </summary> public class TextBoxControl : ITextBoxControls { private st...
mit
C#
b632545993b08ad872ad6fd6e6bf3999cebfb4fe
add indentation to split headers from details.
joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Views/Shared/DisplayTemplates/ISearchResult.cshtml
Joinrpg/Views/Shared/DisplayTemplates/ISearchResult.cshtml
@using System.Text.RegularExpressions @using Joinrpg.Markdown @using JoinRpg.Web.Helpers @using JoinRpg.Web.Models @model TargetedSearchResultViewModel <style type="text/css"> <!-- .searchResultDetails { margin-left: 20px; } --> </style> <div> <h4> @{ var gameObjectLin...
@using System.Text.RegularExpressions @using Joinrpg.Markdown @using JoinRpg.Web.Helpers @using JoinRpg.Web.Models @model TargetedSearchResultViewModel <div> <h4> @{ var gameObjectLinkViewModel = Model.SearchResult.AsObjectLink(); } @Html.DisplayFor(model => gameObjectLinkViewMod...
mit
C#
34a533607fe37ea61aada8470cc0509e8989af27
Handle archs mismatch.
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Desktop/DesktopUrhoInitializer.cs
Bindings/Desktop/DesktopUrhoInitializer.cs
using System; using System.IO; using System.Reflection; namespace Urho.Desktop { public static class DesktopUrhoInitializer { static string assetsDirectory; /// <summary> /// Path to a folder containing "Data" folder. CurrentDirectory if null /// </summary> public static string AssetsDirectory { get...
using System; using System.IO; using System.Reflection; namespace Urho.Desktop { public static class DesktopUrhoInitializer { static string assetsDirectory; /// <summary> /// Path to a folder containing "Data" folder. CurrentDirectory if null /// </summary> public static string AssetsDirectory { get...
mit
C#
d79506ce1115c411a14132720b5a7fff81532658
Improve comment.
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
test/HelloCoreClrApp.Test/Data/DatabaseOptionsBuilderFactoryTest.cs
test/HelloCoreClrApp.Test/Data/DatabaseOptionsBuilderFactoryTest.cs
using System; using FluentAssertions; using HelloCoreClrApp.Data; using Microsoft.EntityFrameworkCore; using Xunit; namespace HelloCoreClrApp.Test.Data { public class DatabaseOptionsBuilderFactoryTest { [Fact] public void SqliteConnectionstringShouldReturnConfguredBuilderTest() { ...
using System; using FluentAssertions; using HelloCoreClrApp.Data; using Microsoft.EntityFrameworkCore; using Xunit; namespace HelloCoreClrApp.Test.Data { public class DatabaseOptionsBuilderFactoryTest { [Fact] public void SqliteConnectionstringShouldReturnConfguredBuilderTest() { ...
mit
C#
97664247526450b0e0f7bd24e8b9864bfb285334
Allow http
bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity
test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs
test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs
using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using UnityEditor.Callbacks; public class Builder : MonoBehaviour { // Generates mazerunner.apk public static void AndroidBuild() { Debug.Log("Building Android app..."); PlayerSettings.SetApplicationIdentifier(Build...
using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using UnityEditor.Callbacks; public class Builder : MonoBehaviour { // Generates mazerunner.apk public static void AndroidBuild() { Debug.Log("Building Android app..."); PlayerSettings.SetApplicationIdentifier(Build...
mit
C#
b46f1930c7ef20e2ef35f3f7a87041f0865764ab
Update _Layout.cshtml
OfficeDev/O365-AspNetMVC-Unified-API-Connect,OfficeDev/O365-AspNetMVC-Unified-API-Connect,OfficeDev/O365-AspNetMVC-Microsoft-Graph-Connect
UnifiedApiConnect/Views/Shared/_Layout.cshtml
UnifiedApiConnect/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Connect Sample</title> <link href="~/Content/Site.css" rel="stylesheet" type="text/css" /> <link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" /...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Unified API Connect Sample</title> <link href="~/Content/Site.css" rel="stylesheet" type="text/css" /> <link href="~/Content/bootstrap.min.css" rel="stylesheet" type=...
mit
C#
9a5d8ec218989cc162834bf941727401b0827270
set InvariantCulture
dpesheva/QuizFactory,dpesheva/QuizFactory
QuizFactory/QuizFactory.MVC/Global.asax.cs
QuizFactory/QuizFactory.MVC/Global.asax.cs
namespace QuizFactory.Mvc { using System; using System.Globalization; using System.Linq; using System.Threading; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using QuizFactory.App_Start.Mvc; using QuizFactory.Mvc.Mapping; public class MvcApplic...
namespace QuizFactory.Mvc { using System; using System.Linq; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using QuizFactory.App_Start.Mvc; using QuizFactory.Mvc.Mapping; public class MvcApplication : System.Web.HttpApplication { protected v...
mit
C#
27f2efa37a58717e63882649ddd1789097308cc6
Read client auth from file, closes #34
GeorgeHahn/SOVND
SOVND.Client/Settings/SovndMqttSettings.cs
SOVND.Client/Settings/SovndMqttSettings.cs
using SOVND.Lib; using SOVND.Lib.Settings; namespace SOVND.Client.Settings { public class SovndMqttSettings : IMQTTSettings { private readonly ISettingsProvider _settings; public SovndMqttSettings(ISettingsProvider settings) { _settings = settings; } publi...
using SOVND.Lib; namespace SOVND.Client.Settings { public class SovndMqttSettings : IMQTTSettings { public string Broker { get { return "104.131.87.42"; } } public int Port { get { return 8883; } } public string Username { get { return "georgehahn"; } } ...
epl-1.0
C#
81915b8d3f6529099ea5f9e61b950c2c1565cbd2
Remove duplicate attribute that fails the build
clariuslabs/clide,clariuslabs/clide,clariuslabs/clide,tondat/clide,tondat/clide,tondat/clide
src/Clide.Vsix/Properties/AssemblyInfo.cs
src/Clide.Vsix/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo ("Clide.IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d9776e258bdf5f7c38f3c880404b9861ebbd235d8198315cdfda0f0c25b18608bdfd03e34bac9d0ec95766e8c3928140c6eda581a9448066af7dfaf88d3b...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyDescription ("Clide.Vsix")] [assembly: InternalsVisibleTo ("Clide.IntegrationTests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d9776e258bdf5f7c38f3c880404b9861ebbd235d8198315cdfda0f0c25b18608bdfd03e34bac9...
mit
C#
8de4ed5be4df9b457f0926aa40de936a6d8dd066
Add IP address on set people
descomplica/Mixpanel.NET
src/Mixpanel.NET/Engage/MixpanelEngage.cs
src/Mixpanel.NET/Engage/MixpanelEngage.cs
using System; using System.Collections.Generic; using System.Web.Script.Serialization; using Mixpanel.NET.Events; namespace Mixpanel.NET.Engage { public class MixpanelEngage : MixpanelClientBase, IEngage { private readonly EngageOptions _options; /// <summary> /// Creates a new Mixpanel Engage...
using System; using System.Collections.Generic; using System.Web.Script.Serialization; using Mixpanel.NET.Events; namespace Mixpanel.NET.Engage { public class MixpanelEngage : MixpanelClientBase, IEngage { private readonly EngageOptions _options; /// <summary> /// Creates a new Mixpanel Engage...
apache-2.0
C#
ed9feebf716474e4e777d492a33cec861c920fbe
Update summary for ProxyException. Fixes issue #163.
Bloomcredit/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET
src/Renci.SshNet/Common/ProxyException.cs
src/Renci.SshNet/Common/ProxyException.cs
using System; #if FEATURE_BINARY_SERIALIZATION using System.Runtime.Serialization; #endif // FEATURE_BINARY_SERIALIZATION namespace Renci.SshNet.Common { /// <summary> /// The exception that is thrown when a proxy connection cannot be established. /// </summary> #if FEATURE_BINARY_SERIALIZATION [Seria...
using System; #if FEATURE_BINARY_SERIALIZATION using System.Runtime.Serialization; #endif // FEATURE_BINARY_SERIALIZATION namespace Renci.SshNet.Common { /// <summary> /// The exception that is thrown when SCP error occurred. /// </summary> #if FEATURE_BINARY_SERIALIZATION [Serializable] #endif // FEA...
mit
C#
7044c9e33db0df05eef5a91815e446293b76c212
Add some sauce :)
evgeniyosipov/ancbe,evgeniyosipov/ancbe,evgeniyosipov/ancbe
src/ANCBE/Startup.cs
src/ANCBE/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace ANCBE { public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace ANCBE { public cla...
mit
C#
5d9ee2382388908e7cc852a74107c60be2815a89
Fix incorrect control display key
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Stage/ControlDisplay.cs
Assets/Scripts/Stage/ControlDisplay.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ControlDisplay : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private SpriteRenderer controlRenderer; [SerializeField] private Text controlText; #pr...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ControlDisplay : MonoBehaviour { #pragma warning disable 0649 //Serialized Fields [SerializeField] private SpriteRenderer controlRenderer; [SerializeField] private Text controlText; #pr...
mit
C#
7b868962f246cb27b1c18320decea369744c7eb3
Fix buld version
GAnatoliy/ViewModelLoader
ViewModelLoader/Properties/AssemblyInfo.cs
ViewModelLoader/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Vi...
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("Vi...
mit
C#
05544fc56c30eaf6bb8de98a1aa5595f74bbcdf5
Update KpsHandler.cs
yugecin/osukps
osukps/KpsHandler.cs
osukps/KpsHandler.cs
using System.Drawing; using System.Windows.Forms; namespace osukps { class KpsHandler { private Label lblKps; private Label lblTotal; private byte index; private byte[] kps; private int total; private int max=0; public KpsHandler( Label lblKps, Label lblTotal ) { this.lblKps = lblKps; t...
using System.Drawing; using System.Windows.Forms; namespace osukps { class KpsHandler { private Label lblKps; private Label lblTotal; private byte index; private byte[] kps; private int total; public KpsHandler( Label lblKps, Label lblTotal ) { this.lblKps = lblKps; this.lblTotal = lblTotal; ...
mit
C#
bc3903497e125b8137c832105af995ecdb4cc437
clean syntax a little
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/PackageSources/ProxyingPackageSource.cs
NuCache/PackageSources/ProxyingPackageSource.cs
using System; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Xml.Linq; using NuCache.Infrastructure; using NuCache.Rewriters; namespace NuCache.PackageSources { public class ProxyingPackageSource : IPackageSource { private reado...
using System; using System.IO; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using System.Xml.Linq; using NuCache.Infrastructure; using NuCache.Rewriters; namespace NuCache.PackageSources { public class ProxyingPackageSource : IPackageSource { private reado...
lgpl-2.1
C#
641bcfb73c5d5ff1ebe54c4fcdfd2d2aaf512b6e
update index creation discovery
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Common/Tests/RavenEmbeddableTest.cs
WebAPI.Common/Tests/RavenEmbeddableTest.cs
using NUnit.Framework; using Raven.Client; using Raven.Client.Embedded; using Raven.Client.Indexes; using WebAPI.Common.Indexes; namespace WebAPI.Common.Tests { public abstract class RavenEmbeddableTest { public IDocumentStore DocumentStore { get; set; } [SetUp] public virtual void Set...
using NUnit.Framework; using Raven.Client; using Raven.Client.Embedded; using Raven.Client.Indexes; using WebAPI.Common.Indexes; namespace WebAPI.Common.Tests { public abstract class RavenEmbeddableTest { public IDocumentStore DocumentStore { get; set; } [SetUp] public virtual void Set...
mit
C#
d5c6baa6473c397ce18e27119da475f26feda5b4
Remove debug.console
hay-espacio-en-el-taco/Alerta-Minerva,lordzero0000/Alerta-Minerva
Assets/Scripts/monstruo/Monster.cs
Assets/Scripts/monstruo/Monster.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; public class Monster : MonoBehaviour { /// <summary> /// Daño por segundo /// </summary> public float Damage = 18; public Transform target; public int moveSpeed = 30; public int rotationSpeed = 5;...
using UnityEngine; using System.Collections; using System.Collections.Generic; using System; public class Monster : MonoBehaviour { /// <summary> /// Daño por segundo /// </summary> public float Damage = 18; public Transform target; public int moveSpeed = 30; public int rotationSpeed = 5;...
mit
C#
ad37acafbff3b6ad23a6d52892a5a6aae4afabdd
Bump version to 0.30.0 - beta 1
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
4720883574fd3bd6821cdb8696d24d445363e0bf
Remove not needed step variable
emazzotta/unity-tower-defense
Assets/Scripts/Enemies/MetallKeferController.cs
Assets/Scripts/Enemies/MetallKeferController.cs
using UnityEngine; using System.Collections; public class MetallKeferController : MonoBehaviour { public GameObject gameControllerObject; private GameController gameController; private GameObject[] towerBasesBuildable; private GameObject nextWaypiont; private int currentWaypointIndex = 0; private int movementS...
using UnityEngine; using System.Collections; public class MetallKeferController : MonoBehaviour { public GameObject gameControllerObject; private GameController gameController; private GameObject[] towerBasesBuildable; private GameObject nextWaypiont; private int currentWaypointIndex = 0; private int movementS...
mit
C#
7293a2d2b302cdaaaee7824ccd318a43b2729ec6
Update the paragraphing.
bigfont/sweet-water-revolver
mvcWebApp/Views/Home/_Bio.cshtml
mvcWebApp/Views/Home/_Bio.cshtml
<div class="container"> <p> In 2003 Ashton found 21 year old Rama performing solo at an eclectic independent coffee house in Tampa Florida and invited Rama to come to see her next show. The rest is history. </p> <p> Sweet Water Revolver was formed in 2005 by band members Ashton and Rama ...
<div class="container"> <p>In 2003 Ashton found 21 year old Rama performing solo at an eclectic independent coffee house in Tampa Florida and invited Rama to come to see her next show. The rest is history. Sweet Water Revolver was formed in 2005 by band members Ashton and Rama Cheromaya. Later graced by the robus...
mit
C#
349ae443a302a726ebf8ca3da207738a486a6a55
Fix incorrect default view names
stormpath/stormpath-dotnet-owin-middleware
src/Stormpath.Owin.Common.Views.Precompiled/ViewResolver.cs
src/Stormpath.Owin.Common.Views.Precompiled/ViewResolver.cs
// <copyright file="ViewResolver.cs" company="Stormpath, Inc."> // Copyright (c) 2016 Stormpath, 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/lic...
// <copyright file="ViewResolver.cs" company="Stormpath, Inc."> // Copyright (c) 2016 Stormpath, 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/lic...
apache-2.0
C#
e594efb278b1e2c5073936d1f71bb3bf395c4d7c
refactor lookups to use a dictionary
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Static/StaticContentProvider.cs
Dashen/Static/StaticContentProvider.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Dashen.Static { public class StaticContentProvider { private readonly Dictionary<string, Func<Stream>> _validPaths; public StaticContentProvider() { var type = GetType(); var assembly = type.Assembly; var...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace Dashen.Static { public class StaticContentProvider { private readonly Assembly _assembly; private readonly string _prefix; private readonly Dictionary<string, string> _validPaths; public S...
lgpl-2.1
C#
0dfa01ee05f6d1c5f960889e1643f3bbbb3e79a2
Rebuild NAND NCSD header
evandixon/DotNet3dsToolkit
DotNet3dsToolkit/Ctr/NandNcsdHeader.cs
DotNet3dsToolkit/Ctr/NandNcsdHeader.cs
using System; using System.Collections.Generic; using System.Text; namespace DotNet3dsToolkit.Ctr { public class NandNcsdHeader : NcsdHeader { public NandNcsdHeader(byte[] header) : base(header) { Unknown = new byte[0x5e]; Array.Copy(header, 0x160, Unknown, 0, 0x5e); ...
using System; using System.Collections.Generic; using System.Text; namespace DotNet3dsToolkit.Ctr { public class NandNcsdHeader : NcsdHeader { public NandNcsdHeader(byte[] header) : base(header) { Unknown = new byte[0x5e]; Array.Copy(header, 0x160, Unknown, 0, 0x5e); ...
mit
C#
0cf40d7def8518affe287cfede82605f409397a6
use newer of mdb/pdb
Fody/Fody,GeertvanHorrik/Fody,jasonholloway/Fody,furesoft/Fody,ichengzi/Fody,distantcam/Fody,ColinDabritzViewpoint/Fody,huoxudong125/Fody,PKRoma/Fody
FodyIsolated/SymbolsFinder.cs
FodyIsolated/SymbolsFinder.cs
using System.IO; using Mono.Cecil.Cil; using Mono.Cecil.Mdb; using Mono.Cecil.Pdb; public partial class InnerWeaver { bool pdbFound; bool mdbFound; ISymbolReaderProvider debugReaderProvider; ISymbolWriterProvider debugWriterProvider; string mdbPath; string pdbPath; void GetSymbolProviders(...
using System.IO; using Mono.Cecil.Cil; using Mono.Cecil.Mdb; using Mono.Cecil.Pdb; public partial class InnerWeaver { bool pdbFound; bool mdbFound; ISymbolReaderProvider debugReaderProvider; ISymbolWriterProvider debugWriterProvider; string mdbPath; string pdbPath; void GetSymbolProviders(...
mit
C#
04cdcd559333fb252c014c20c158cd07979fc02e
add support for more single options
splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net
IPTables.Net/IpUtils/Utils/IpRouteController.cs
IPTables.Net/IpUtils/Utils/IpRouteController.cs
using System; using System.Collections.Generic; using SystemInteract; namespace IPTables.Net.IpUtils.Utils { public class IpRouteController : IpController { public IpRouteController(ISystemFactory system) : base("route", system) { } protected override bool IsSingle(string key)...
using System; using System.Collections.Generic; using SystemInteract; namespace IPTables.Net.IpUtils.Utils { public class IpRouteController : IpController { public IpRouteController(ISystemFactory system) : base("route", system) { } protected override bool IsSingle(string key)...
apache-2.0
C#
a41e5236f4900fc831bc515b98a7d841b7d3fc7b
Fix semantic version comparison
dukemiller/anime-downloader
anime-downloader/Models/SemanticVersion.cs
anime-downloader/Models/SemanticVersion.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace anime_downloader.Models { public class SemanticVersion { public int Major { get; set; } public int Minor { get; set; } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace anime_downloader.Models { public class SemanticVersion { public int Major { get; set; } public int Minor { get; set; } p...
apache-2.0
C#
ad6f43ca4519f3f908270892f595762dc1bc2584
edit CustomerController.
robertzml/Phoebe
Phoebe.WebAPI/Controllers/CustomerController.cs
Phoebe.WebAPI/Controllers/CustomerController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Phoebe.Core.BL; using Phoebe.Core.Entity; namespace Phoebe.WebAPI.Controllers { [Route("api/[controller]/[action]")] [ApiController] public class CustomerController : Cont...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Phoebe.Core.BL; using Phoebe.Core.Entity; namespace Phoebe.WebAPI.Controllers { [Route("api/[controller]/[action]")] [ApiController] public class CustomerController : Cont...
mit
C#
094590dd450b7bd914257fee15323df0c86fe5a0
Implement SourceMember in DefaultMemberMap
AutoMapper/AutoMapper,lbargaoanu/AutoMapper,AutoMapper/AutoMapper,BlaiseD/AutoMapper
src/AutoMapper/DefaultMemberMap.cs
src/AutoMapper/DefaultMemberMap.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { /// <summary> /// Member maps with default values. Used in dynamic/dictionary scenarios when source/destination members do not exist. /// </summary> public c...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { /// <summary> /// Member maps with default values. Used in dynamic/dictionary scenarios when source/destination members do not exist. /// </summary> public c...
mit
C#
2178dd08b8998c8443e766e5d4c07e861ad8e9fb
Fix ImageButton UI issues
pleonex/Ninokuni,pleonex/Ninokuni,pleonex/Ninokuni
Programs/NinoPatcher/NinoPatcher/ImageButton.cs
Programs/NinoPatcher/NinoPatcher/ImageButton.cs
// // ImageButton.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Founda...
// // ImageButton.cs // // Author: // Benito Palacios Sánchez <benito356@gmail.com> // // Copyright (c) 2015 Benito Palacios Sánchez // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Founda...
apache-2.0
C#
093359c13bc05d590e227a9db7615f4dc287be57
fix incorrect json property
EVAST9919/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,johnneijzen/osu,ppy/osu...
osu.Game/Online/API/Requests/Responses/APIKudosuHistory.cs
osu.Game/Online/API/Requests/Responses/APIKudosuHistory.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 Newtonsoft.Json; namespace osu.Game.Online.API.Requests.Responses { public class APIKudosuHistory { [JsonProperty("id")] pub...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Newtonsoft.Json; namespace osu.Game.Online.API.Requests.Responses { public class APIKudosuHistory { [JsonProperty("id")] pub...
mit
C#
97618e563c2e9aa28bf8093700645af2e1f0494f
Implement TrySaveToFile() by using File.WriteAllText().
PenguinF/sandra-three
Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs
Sandra.UI.WF.Chess/SettingsTextBox.UIActions.cs
/********************************************************************************* * SettingsTextBox.UIActions.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
/********************************************************************************* * SettingsTextBox.UIActions.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
apache-2.0
C#
b048d825d67084b3846dd50c336be4670e299254
add issuer & value type to claim comparer
IdentityModel/IdentityModelv2,IdentityModel/IdentityModel,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel,IdentityModel/IdentityModel2,IdentityModel/IdentityModel2
src/IdentityModel/ClaimComparer.cs
src/IdentityModel/ClaimComparer.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Security.Claims; namespace IdentityModel { public class ClaimComparer : IEqu...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Security.Claims; namespace IdentityModel { public class ClaimComparer : IEqu...
apache-2.0
C#
79acb861bf489c5609acf5f1c79845855b3dc805
Add WIP and Labels to MergeRequest model
Xarlot/NGitLab,Scooletz/NGitLab,Franklin89/NGitLab
NGitLab/NGitLab/Models/MergeRequest.cs
NGitLab/NGitLab/Models/MergeRequest.cs
using System; using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class MergeRequest { public const string Url = "/merge_requests"; [DataMember(Name = "id")] public int Id; [DataMember(Name = "iid")] public int Iid; [Data...
using System; using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class MergeRequest { public const string Url = "/merge_requests"; [DataMember(Name = "id")] public int Id; [DataMember(Name = "iid")] public int Iid; [Data...
mit
C#
8ddc84d8b4dc737dc52c976bd6fe8508bd254ab3
Fix dotnet pathExecutable.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/DotNet/DotNetSettings.cs
source/Nuke.Common/Tools/DotNet/DotNetSettings.cs
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/matkoch/Nuke/blob/master/LICENSE using System; using Nuke.Core.Tooling; namespace Nuke.Common.Tools.DotNet { [Serializable] public class DotNetSettings : ToolSettings { public override string ToolPath => ...
// Copyright Matthias Koch 2017. // Distributed under the MIT License. // https://github.com/matkoch/Nuke/blob/master/LICENSE using System; using Nuke.Core.Tooling; namespace Nuke.Common.Tools.DotNet { [Serializable] public class DotNetSettings : ToolSettings { public override string ToolPath => ...
mit
C#
d78c2f8a8dd178004db3e006b110d66f674c9149
use a more optimizable pattern
drslump/boo,KidFashion/boo,Unity-Technologies/boo,BITechnologies/boo,KingJiangNet/boo,wbardzinski/boo,BillHally/boo,BITechnologies/boo,BITechnologies/boo,scottstephens/boo,rmartinho/boo,bamboo/boo,rmboggs/boo,BitPuffin/boo,hmah/boo,boo-lang/boo,wbardzinski/boo,KidFashion/boo,rmboggs/boo,rmboggs/boo,Unity-Technologies/b...
src/Boo.Lang.Compiler/TypeSystem/Core/Entities.cs
src/Boo.Lang.Compiler/TypeSystem/Core/Entities.cs
#region license // Copyright (c) 2003, 2004, 2005 Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain...
#region license // Copyright (c) 2003, 2004, 2005 Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain...
bsd-3-clause
C#
1b4cae12ce1bb19df72933a8b3497ee36b4c1260
Drop unnecessary stuff.
VesaKarvonen/Infers,polytypic/Infers,Infers/Infers,VesaKarvonen/Infers,Infers/Infers,polytypic/Infers
Libs/Infers.Core/StaticMap.cs
Libs/Infers.Core/StaticMap.cs
// Copyright (C) by Vesa Karvonen using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; using System; namespace Infers.Core { /// public abstract class Box { /// public volatile bool Ready; /// public abstract Object Get(); /// public abstract void Set(O...
// Copyright (C) by Vesa Karvonen using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; using System; namespace Infers.Core { /// public abstract class Box { /// public volatile bool Ready; /// public abstract Object Get(); /// public abstract void Set(O...
mit
C#
a73adfce47cf9c1638d1ff83011574243594f9f6
Fix remaining overflow
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.Diagnostics; using System.Linq; using System.Security; using System.Threading; namespace WalletWasabi.Wallets { public static class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, strin...
using NBitcoin; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Security; using System.Threading; namespace WalletWasabi.Wallets { public static class PasswordFinder { public static readonly Dictionary<string, string> Charsets = new Dictionary<string, strin...
mit
C#
29518d60fdb183daa0104bd9e7ad88ed761bb31e
Revert "Add option for allowed user roles"
mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimp...
src/Glimpse.Server.Web/GlimpseServerWebOptions.cs
src/Glimpse.Server.Web/GlimpseServerWebOptions.cs
using System; namespace Glimpse.Server { public class GlimpseServerWebOptions { public bool AllowRemote { get; set; } } }
using System; using System.Collections.Generic; namespace Glimpse.Server { public class GlimpseServerWebOptions { public GlimpseServerWebOptions() { AllowedUserRoles = new List<string>(); } public bool AllowRemote { get; set; } public IList<string> Allowed...
mit
C#
4fef047dc7f33c83c6c6899e86ca9cc6e06b1cd8
Fix typo (#344)
MetacoSA/NBitcoin,MetacoSA/NBitcoin,lontivero/NBitcoin,NicolasDorier/NBitcoin
NBitcoin/Protocol/Versions.cs
NBitcoin/Protocol/Versions.cs
namespace NBitcoin.Protocol { /// <summary> /// Network protocol versioning /// </summary> public enum ProtocolVersion : uint { PROTOCOL_VERSION = 70012, /// <summary> /// Initial protocol version, to be increased after version/verack negotiation /// </summary> INIT_PROTO_VERSION = 209, ...
namespace NBitcoin.Protocol { /// <summary> /// Network protocol versioning /// </summary> public enum ProtocolVersion : uint { PROTOCOL_VERSION = 70012, /// <summary> /// Initial protocol version, to be increased after version/verack negotiation /// </summary> INIT_PROTO_VERSION = 209, ...
mit
C#
f487bdb175212d7e2a302c79d56c22e22679a936
Remove unused code
wvdd007/roslyn,mgoertz-msft/roslyn,abock/roslyn,jasonmalinowski/roslyn,nguerrera/roslyn,wvdd007/roslyn,tmat/roslyn,tmat/roslyn,AlekseyTs/roslyn,weltkante/roslyn,sharwell/roslyn,gafter/roslyn,jmarolf/roslyn,physhi/roslyn,sharwell/roslyn,davkean/roslyn,genlu/roslyn,stephentoub/roslyn,stephentoub/roslyn,heejaechang/roslyn...
src/Workspaces/Core/Portable/Log/LogAggregator.cs
src/Workspaces/Core/Portable/Log/LogAggregator.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 System.Threading; namespace Microsoft.CodeAnalysis.Internal.Log { internal class LogAggregator : AbstractLogAggregator<LogAggregator.Counter> ...
// 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.Threading; namespace Microsoft.CodeAnalysis.Internal.Log { internal class LogAggregator : AbstractLogAggregator<LogAggregator.Counter> ...
mit
C#
266af1de126f28089d6f303426a87bd8df0d7e6f
Update src/Umbraco.Core/Configuration/Models/BasicAuthSettings.cs
arknu/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Um...
src/Umbraco.Core/Configuration/Models/BasicAuthSettings.cs
src/Umbraco.Core/Configuration/Models/BasicAuthSettings.cs
// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; using System.Net; namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for basic authentication settings. /// </summary> [UmbracoOptions(Constants.Configuration.ConfigBasi...
// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; using System.Net; namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for security settings. /// </summary> [UmbracoOptions(Constants.Configuration.ConfigBasicAuth)] ...
mit
C#
01cdffc58c11c800fb2f876718da9c166794e5cc
add set compare tests
kaosborn/KaosCollections
Test462/TestRsSetCompare.cs
Test462/TestRsSetCompare.cs
// // Library: KaosCollections // File: TestRsSetCompare.cs // using Microsoft.VisualStudio.TestTools.UnitTesting; #if TEST_BCL using System.Collections.Generic; #else using Kaos.Collections; #endif namespace Kaos.Test.Collections { public partial class TestBtree { #if TEST_BCL SortedSet<string> s...
// // Library: KaosCollections // File: TestRsSetCompare.cs // using System; using Microsoft.VisualStudio.TestTools.UnitTesting; #if TEST_BCL using System.Collections.Generic; #else using Kaos.Collections; #endif namespace Kaos.Test.Collections { public partial class TestBtree { #if TEST_BCL Sorte...
mit
C#
7b94fd9c888571d4a3336ee02311565fc2a2b694
Update ProjectSettings.cs
GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core,GHPReporter/Ghpr.Core
Ghpr.Core.Core/Settings/ProjectSettings.cs
Ghpr.Core.Core/Settings/ProjectSettings.cs
using Newtonsoft.Json; namespace Ghpr.Core.Settings { [JsonObject(MemberSerialization.OptIn)] public class ProjectSettings { [JsonProperty(PropertyName = "outputPath")] public string OutputPath { get; set; } [JsonProperty(PropertyName = "dataServiceFile")] public string Da...
using Newtonsoft.Json; namespace Ghpr.Core.Settings { [JsonObject(MemberSerialization.OptIn)] public class ProjectSettings { [JsonProperty(PropertyName = "outputPath")] public string OutputPath { get; set; } [JsonProperty(PropertyName = "dataServiceFile")] public string Da...
mit
C#
e01d344a7a6daf4334ee890dcf016709f242d588
Add dumping of solution based on dummy data
victoria92/university-program-generator,victoria92/university-program-generator
UniProgramGen/ResultsTab.cs
UniProgramGen/ResultsTab.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using UniProgramGen.Data; namespace UniProgramGen { public partial class ResultsTab : UserControl { public ResultsTab() { InitializeComponent(); } private List<Teacher> t...
using System; using System.Collections.Generic; using System.Windows.Forms; using UniProgramGen.Data; namespace UniProgramGen { public partial class ResultsTab : UserControl { public ResultsTab() { InitializeComponent(); } private List<Teacher> teachers; pr...
bsd-2-clause
C#
0473183ae251e6c80fdf3c995a37a76e0804ccd0
Improve json conversion: support more types + cleanup code
tdesmet/template-designer
src/JsonToDictionaryConverter.cs
src/JsonToDictionaryConverter.cs
using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; namespace template_designer { public class JsonToDictionaryConverter { public static Dictionary<string, object> DeserializeJsonToDictionary(string json) { var jObject = JObject.Parse(json); ...
using System.Collections.Generic; using Newtonsoft.Json.Linq; namespace template_designer { public class JsonToDictionaryConverter { public static Dictionary<string, object> DeserializeJsonToDictionary(string json) { var jObject = JObject.Parse(json); var dict = Parse...
mit
C#
97c7951e081c32087f607a85abed7c3fa1fa8318
Fix bug in Game model
CSGO-Analysis/CSGO-Analyzer
DemoParser-Model/Game.cs
DemoParser-Model/Game.cs
using Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoParser_Model { public class Game : Stringify { public DateTime Date { get; set; } public string Map { get; set; } public float Duration { get; set; } public List<T...
using Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoParser_Model { public class Game : Stringify { public DateTime Date { get; set; } public string Map { get; set; } public float Duration { get; set; } public List<T...
mit
C#
ef36fc7b099ea3bdbe7ce667bff27897652f5f4e
fix #14
chiguniiita/Playground
src/Playground.Sample/Program.cs
src/Playground.Sample/Program.cs
using Playground.Core; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Playground.Sample { class Program { static void Main(string[] args) { Console.WriteLi...
using Playground.Core; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Playground.Sample { class Program { static void Main(string[] args) { Console.WriteLi...
mit
C#
df555a32c9282c20d7a3de2231bebd1b94bbaa13
Allow Deeplinking detector, tool or analysis
EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu
Kudu.Services.Web/Detectors/Default.cshtml
Kudu.Services.Web/Detectors/Default.cshtml
@{ var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? ""; var subscriptionId = ownerName; var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? ""; var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? ""; var hostName = Envi...
@{ var ownerName = Environment.GetEnvironmentVariable("WEBSITE_OWNER_NAME") ?? ""; var subscriptionId = ownerName; var resourceGroup = Environment.GetEnvironmentVariable("WEBSITE_RESOURCE_GROUP") ?? ""; var siteName = Environment.GetEnvironmentVariable("WEBSITE_SITE_NAME") ?? ""; var hostName = Envi...
apache-2.0
C#
56ca1988b4e254044a413bdaf0633f5e62c71cfe
Change sigHash from sha256 to sha1 (windows xp)
lontivero/DreamBot,lontivero/vinchuca
Crypto/Signature.cs
Crypto/Signature.cs
using System; using System.Security.Cryptography; using Vinchuca.Network; using Vinchuca.Utils; namespace Vinchuca.Crypto { class Signature { private static readonly RSACryptoServiceProvider PubRsa = RsaUtils.LoadPublicKey(Convert.FromBase64String(@"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEuMdX757iaBkr...
using System; using System.Security.Cryptography; using Vinchuca.Network; using Vinchuca.Utils; namespace Vinchuca.Crypto { class Signature { private static readonly RSACryptoServiceProvider PubRsa = RsaUtils.LoadPublicKey(Convert.FromBase64String(@"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEuMdX757iaBkr...
mit
C#
af5c0fe74f9d3d649c99f394804c96ae41e4c222
convert the input to proper enumtype format(top->Top)
Baloons-Pop-3/Baloons-Pop-Three
Source/Common/Validators/CommandValidator.cs
Source/Common/Validators/CommandValidator.cs
namespace BalloonsPop { using System; using System.Linq; internal class CommandValidator { public CommandType Type { get; set; } internal static bool IsValidCommand(string input) { input = input.First().ToString().ToUpper() + String.Join("", input.Skip(1)); ...
namespace BalloonsPop { using System; internal class CommandValidator { private CommandType type; public CommandValidator() { } public CommandType Type { get { return this.type; } set ...
mit
C#
2a61b231d9ea1f2280a17426e4d919ad474c27f2
Add AssemblyInformationalVersion attribute to match semantic versioning
Fewzion/ObjectComparer,rexcfnghk/ObjectComparer
Voyagers.Utilities.ObjectComparer/Properties/AssemblyInfo.cs
Voyagers.Utilities.ObjectComparer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Vo...
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("Vo...
apache-2.0
C#