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
0e82ec449df2f476792df8ccd1a762be3c04407b
Update minor version
rafd123/PowerBridge
src/PowerBridge/Properties/AssemblyInfo.cs
src/PowerBridge/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; [assembly: CLSCompliant(true)] [assembly: ComVisible(false)] [assembly: AssemblyTitle("PowerBridge")] [assembly: AssemblyDescription("Build tasks that enable running Pow...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; [assembly: CLSCompliant(true)] [assembly: ComVisible(false)] [assembly: AssemblyTitle("PowerBridge")] [assembly: AssemblyDescription("Build tasks that enable running Pow...
mit
C#
d0a17d17ed92b55183e441a5c6c2e89d40c97592
Refactor TrimControllerFromTypeName
danmalcolm/RezRouting.Net,danmalcolm/RezRouting.Net,danmalcolm/RezRouting.Net
src/RezRouting/Utility/RouteValueHelper.cs
src/RezRouting/Utility/RouteValueHelper.cs
using System; namespace RezRouting.Utility { internal static class RouteValueHelper { public static string TrimControllerFromTypeName(Type controllerType) { string value = controllerType.Name; if (value.EndsWith("controller", StringComparison.InvariantCultureIgnoreCase)...
using System; namespace RezRouting.Utility { internal static class RouteValueHelper { public static string TrimControllerFromTypeName(Type controllerType) { string value = controllerType.Name; int index = value.LastIndexOf("Controller", StringComparison.InvariantCulture...
mit
C#
1c74e56bab1679e7d42a52b7cc84126e66a10dad
Increase the point at which normal keys start in ManiaAction
ppy/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu-new,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,Frontear/osuKyzer,2yangk23/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,Nabile-Rahmani/osu,DrabWeb/osu,naoey/osu,ZLima12/osu,ppy/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,johnn...
osu.Game.Rulesets.Mania/ManiaInputManager.cs
osu.Game.Rulesets.Mania/ManiaInputManager.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.ComponentModel; using osu.Framework.Input.Bindings; using osu.Game.Rulesets.UI; namespace osu.Game.Rulesets.Mania { public class ManiaInputMa...
// 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.ComponentModel; using osu.Framework.Input.Bindings; using osu.Game.Rulesets.UI; namespace osu.Game.Rulesets.Mania { public class ManiaInputMa...
mit
C#
4b62ae94105f8fc33a2aa10ce6a854cbef88ee1c
Remove code form C# OpenCL code generator.
unstope/Brahma.FSharp,ksmirenko/Brahma.FSharp,gsvgit/Brahma.FSharp,YaccConstructor/Brahma.FSharp,gsvgit/Brahma.FSharp,VaseninaAnna/Brahma.FSharp,ksmirenko/Brahma.FSharp,YaccConstructor/Brahma.FSharp,VaseninaAnna/Brahma.FSharp,VaseninaAnna/Brahma.FSharp,unstope/Brahma.FSharp,gsvgit/Brahma.FSharp,YaccConstructor/Brahma.F...
Source/Brahma.OpenCL/CLCodeGenerator.cs
Source/Brahma.OpenCL/CLCodeGenerator.cs
#region License and Copyright Notice // Copyright (c) 2010 Ananth B. // All rights reserved. // // The contents of this file are made available under the terms of the // Eclipse Public License v1.0 (the "License") which accompanies this // distribution, and is available at the following URL: // http://www.open...
#region License and Copyright Notice // Copyright (c) 2010 Ananth B. // All rights reserved. // // The contents of this file are made available under the terms of the // Eclipse Public License v1.0 (the "License") which accompanies this // distribution, and is available at the following URL: // http://www.open...
epl-1.0
C#
46234df1e66946273a8e89b93ecdcda625c3f5f6
Disable parallel tests again
PlayFab/consuldotnet
Consul.Test/Properties/AssemblyInfo.cs
Consul.Test/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Xunit; // 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("ConsulTest")] [assembly: Ass...
using System.Reflection; using System.Runtime.InteropServices; using Xunit; // 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("ConsulTest")] [assembly: Ass...
apache-2.0
C#
40910dbe4ffa868557fff7b50a2d07e3ee1c22e7
Use flags for environments for being able to do bit wise operations
mattgwagner/CertiPay.Common
CertiPay.Common/EnvUtil.cs
CertiPay.Common/EnvUtil.cs
using CertiPay.Common.Logging; using System; using System.Configuration; namespace CertiPay.Common { /// <summary> /// A mechanism for determining the current execution environment based on a configuration setting. /// Useful for executing different code paths if running locally our outside of production. ...
using CertiPay.Common.Logging; using System; using System.Configuration; namespace CertiPay.Common { /// <summary> /// A mechanism for determining the current execution environment based on a configuration setting. /// Useful for executing different code paths if running locally our outside of production. ...
mit
C#
a465d5afcfa44c262c0f0490a145458104e0ea2b
fix build problems
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
benchmark/WeihanLi.Common.Benchmark/Program.cs
benchmark/WeihanLi.Common.Benchmark/Program.cs
using System; using BenchmarkDotNet.Running; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace WeihanLi.Common.Benchmark { public class Program { public static void Main(string[] args) { var configurationBuilder = new ConfigurationB...
using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace WeihanLi.Common.Benchmark { public class Program { public static void Main(string[] args) { var configurationBuilder = new ConfigurationBuilder(); configura...
mit
C#
64c04e2f4c7367f12e7227772b5acd0d3a018cf6
Enable CLR Thread Pool via a MSBuild flag (default enabled on Unix)
mmitche/corefx,wtgodbe/corefx,mmitche/corefx,ptoonen/corefx,Jiayili1/corefx,shimingsg/corefx,zhenlan/corefx,Ermiar/corefx,Ermiar/corefx,ravimeda/corefx,ravimeda/corefx,Ermiar/corefx,zhenlan/corefx,shimingsg/corefx,ericstj/corefx,mmitche/corefx,zhenlan/corefx,ptoonen/corefx,ptoonen/corefx,ericstj/corefx,Ermiar/corefx,sh...
src/Common/src/CoreLib/Interop/Windows/Interop.Errors.cs
src/Common/src/CoreLib/Interop/Windows/Interop.Errors.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. internal partial class Interop { // As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. internal partial class Interop { // As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window...
mit
C#
59a95f43a3846e7077783cec7f914755c7ec5bf2
Set NoDelay as default
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs
src/Microsoft.AspNet.Server.Kestrel/KestrelServerInformation.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.Server.Features; using Microsoft.AspNet.Server.Kestrel.Filter; using Microsoft.Ex...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNet.Server.Features; using Microsoft.AspNet.Server.Kestrel.Filter; using Microsoft.Ex...
apache-2.0
C#
41664d11c1369c7d88d0bf7030653a2706e782d2
remove using not required
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Program.cs
WalletWasabi.Gui/Program.cs
using Avalonia; using AvalonStudio.Shell; using AvalonStudio.Shell.Extensibility.Platforms; using NBitcoin; using System; using System.IO; using System.Threading.Tasks; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Logging; namespace WalletWasabi.Gui { internal class Program { #pragma warning disable IDE100...
using Avalonia; using AvalonStudio.Shell; using AvalonStudio.Shell.Extensibility.Platforms; using NBitcoin; using System; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; using WalletWasabi.Gui.ViewModels; using WalletWasabi.Logging; namespace WalletWasabi.Gui { internal class Pro...
mit
C#
2fd2d0a852232c55602fa3dc2f2556546ffba97a
Remove unused field, for now
github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,mpOzelot/Unity
src/UnityExtension/Assets/Editor/GitHub.Unity/UI/LoadingView.cs
src/UnityExtension/Assets/Editor/GitHub.Unity/UI/LoadingView.cs
using System; using System.Linq; using System.Threading.Tasks; using Octokit; using Rackspace.Threading; using UnityEditor; using UnityEngine; namespace GitHub.Unity { class LoadingView : Subview { private static readonly Vector2 viewSize = new Vector2(300, 250); private const string WindowTi...
using System; using System.Linq; using System.Threading.Tasks; using Octokit; using Rackspace.Threading; using UnityEditor; using UnityEngine; namespace GitHub.Unity { class LoadingView : Subview { private static readonly Vector2 viewSize = new Vector2(300, 250); private bool isBusy; ...
mit
C#
a6e2bea1d9714f0defe26b34f365255384b78c00
Remove unnecessary code.
jcouv/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,jeffanders/roslyn,balajikris/roslyn,gafter/roslyn,KevinH-MS/roslyn,drognanar/roslyn,vslsnap/roslyn,AmadeusW/roslyn,weltkante/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,heejaechang/roslyn,dpoeschl/roslyn,Shiney/roslyn,sharwell/roslyn,ErikSchierboom/roslyn,jaredpar/ro...
src/Workspaces/Core/Portable/Workspace/Host/ILanguageService.cs
src/Workspaces/Core/Portable/Workspace/Host/ILanguageService.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. namespace Microsoft.CodeAnalysis.Host { /// <summary> /// Empty interface just to mark language services. /// </summary> public interface ILa...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.Host { /// <summary> /// Empty interface just to mark language services. ///...
mit
C#
ca4c9ff43084f90f715f0ca4eb44c7d397fb39ea
Handle physical back button in result view
Bigsby/Xamarin.Forms.OAuth
src/Xamarin.Forms.OAuth/OAuthTestApp/OAuthTestApp/ResultPage.cs
src/Xamarin.Forms.OAuth/OAuthTestApp/OAuthTestApp/ResultPage.cs
using System; using Xamarin.Forms; using Xamarin.Forms.OAuth; using Xamarin.Forms.OAuth.Views; namespace OAuthTestApp { public class ResultPage : ContentPage, IBackHandlingView { private readonly Action _returnCallback; public ResultPage(AuthenticatonResult result, Action returnCallb...
using System; using Xamarin.Forms; using Xamarin.Forms.OAuth; namespace OAuthTestApp { public class ResultPage : ContentPage { public ResultPage(AuthenticatonResult result, Action returnCallback) { var stack = new StackLayout { VerticalOptions = LayoutOp...
mit
C#
e0f5f6b7ec13295ddf9b78d3178041e771247bbc
Bump minor version
robvdlv/OwinHttpMessageHandler,Jonne/OwinHttpMessageHandler,damianh/OwinHttpMessageHandler
src/SharedAssemblyInfo.cs
src/SharedAssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <Copyright company="BEAM Financial Solutions Ltd" file="SharedAssemblyInfo.cs"> // Copyright © 2009-2012 BEAM Financial Solutions Ltd // </Copyright> // -----------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <Copyright company="BEAM Financial Solutions Ltd" file="SharedAssemblyInfo.cs"> // Copyright © 2009-2012 BEAM Financial Solutions Ltd // </Copyright> // -----------------------------------------...
mit
C#
ae4233f77225eacc8ea44092c76974f83e8722da
Update BatchEmailParameter.cs
marmind/MailChimp.NET-APIv2,danesparza/MailChimp.NET
MailChimp/Lists/BatchEmailParameter.cs
MailChimp/Lists/BatchEmailParameter.cs
using System.Runtime.Serialization; using MailChimp.Helper; namespace MailChimp.Lists { [DataContract] public class BatchEmailParameter { public BatchEmailParameter() { this.EmailType = "html"; } /// <summary> /// Email information for the customer ...
using System.Runtime.Serialization; using MailChimp.Helper; namespace MailChimp.Lists { [DataContract] public class BatchEmailParameter { public BatchEmailParameter() { this.EmailType = "html"; } /// <summary> /// Email information for the customer ...
mit
C#
cbdbb4172cc9cdd783a6527668a4fd18f12a08e2
remove version from assembly info
bdukes/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn.Platform,EPTamminga/Dnn.Platform,svdv71/Dnn.Platform,RichardHowells/Dnn.Platform,wael101/Dnn.Platform,mitchelsellers/Dnn.Platform,robsiera/Dnn.Platform,robsiera/Dnn.Platform,wael101/Dnn.Platform,dnnsoftware/Dnn.Platform,nvisionative/Dnn.Platform,wael101/Dnn.Platform,...
SolutionInfo.cs
SolutionInfo.cs
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restrict...
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // 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 restrict...
mit
C#
75f88f087620ac0609f5dd852a85b1094b602c8a
Move input block for thread safe
Deliay/osuSync,Deliay/Sync
Sync/Program.cs
Sync/Program.cs
using Sync.Command; using Sync.MessageFilter; using Sync.Plugins; using Sync.Source; using Sync.Tools; using System; using System.Diagnostics; using static Sync.Tools.IO; namespace Sync { public static class Program { //public static I18n i18n; static void Main(string[] args) { ...
using Sync.Command; using Sync.MessageFilter; using Sync.Plugins; using Sync.Source; using Sync.Tools; using System; using System.Diagnostics; using static Sync.Tools.IO; namespace Sync { public static class Program { //public static I18n i18n; static void Main(string[] args) { ...
mit
C#
0e3c62a264e8ee089d536c7fd5dfc34707a72ac6
Update Commit Class as subclass of Project class
pfjason/GitLab-dot-NET
Types/Commit.cs
Types/Commit.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using unirest_net.http; using System.Web; namespace GitLab { public partial class GitLab { public partial class Project { public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using unirest_net.http; using System.Web; namespace GitLab { public partial class GitLab { class Commit { } } }
mit
C#
b8a1e173d1c577e80186e4d19656b741da4800f2
Update dictionary tests
cjlpowers/TypeScripter,cjlpowers/TypeScripter
Src/TypeScripter.Tests/Dictionaries.cs
Src/TypeScripter.Tests/Dictionaries.cs
using System.Collections.Generic; using NUnit.Framework; using TypeScripter.Tests; namespace TypeScripter { #region Example Constructs public class Order { public Dictionary<string, OrderLineItem> OrderLines { get; set; } public Dictionary<int, OrderLineItem> LinesByIndex { get; set; } ...
using System.Collections.Generic; using NUnit.Framework; using TypeScripter.Tests; namespace TypeScripter { #region Example Constructs public class Order { public Dictionary<string, OrderLineItem> OrderLines { get; set; } public Dictionary<int, OrderLineItem> LinesByIndex { get; set; } ...
mit
C#
90a079bf5a56426b69cc13f4a50b3cf8cc5efdf0
edit tariffs repo
VladTsiukin/AirlineTicketOffice
AirlineTicketOffice.Repository/Repositories/TariffsRepository.cs
AirlineTicketOffice.Repository/Repositories/TariffsRepository.cs
using AirlineTicketOffice.Data; using AirlineTicketOffice.Model.IRepository; using AirlineTicketOffice.Model.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AirlineTicketOffice.Repository.Repositories { public sealed class TariffsRepository : BaseModelReposi...
using AirlineTicketOffice.Data; using AirlineTicketOffice.Model.IRepository; using AirlineTicketOffice.Model.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AirlineTicketOffice.Repository.Repositories { public sealed class TariffsRepository : BaseModelReposi...
mit
C#
55c5155b92d7216413e138b668b99222f53e3a89
Make TorControlClient disposable
JSkimming/TorSharp,joelverhagen/TorSharp
TorSharp/Tools/Tor/TorControlClient.cs
TorSharp/Tools/Tor/TorControlClient.cs
using System; using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Knapcode.TorSharp.Tools.Tor { public class TorControlClient : IDisposable { private const string SuccessResponse = "250 OK"; private const int BufferSize = 256; private ...
using System.IO; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace Knapcode.TorSharp.Tools.Tor { public class TorControlClient { private const string SuccessResponse = "250 OK"; private const int BufferSize = 256; private TcpClient _tcpClient; ...
mit
C#
0346d99da23d457b513620d236de02bbfb85bbaf
Add comment
tigrouind/LifeDISA,tigrouind/LifeDISA
Shared/DosBox.cs
Shared/DosBox.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace Shared { public class DosBox { public static int SearchProcess() { int? processId = Process.GetProcesses() .Where(x => GetProcessName(x).StartsWith("DOSBOX", StringComparison.Invarian...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace Shared { public class DosBox { public static int SearchProcess() { int? processId = Process.GetProcesses() .Where(x => GetProcessName(x).StartsWith("DOSBOX", StringComparison.Invarian...
mit
C#
045a611730a253c43330e932eb661f7fe262a2ad
Disable UWP C++ (for now)
Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs
AzureIoTHubConnectedServiceLibrary/Handler.VisualC.WAC.cs
AzureIoTHubConnectedServiceLibrary/Handler.VisualC.WAC.cs
using Microsoft.VisualStudio.ConnectedServices; namespace AzureIoTHubConnectedService { #if false // Disabled to a bug: https://github.com/Azure/azure-iot-sdks/issues/289 [ConnectedServiceHandlerExport("Microsoft.AzureIoTHubService", AppliesTo = "VisualC+WindowsAppContainer")] #endif internal class CppHan...
using Microsoft.VisualStudio.ConnectedServices; namespace AzureIoTHubConnectedService { [ConnectedServiceHandlerExport("Microsoft.AzureIoTHubService", AppliesTo = "VisualC+WindowsAppContainer")] internal class CppHandlerWAC : GenericAzureIoTHubServiceHandler { protected override HandlerManifes...
mit
C#
ec2182e6437a162c6df7fbdd12b96f6ff4fb0acc
Add missing documentation
tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs
src/Tgstation.Server.Host/Configuration/ControlPanelConfiguration.cs
using System.Collections.Generic; namespace Tgstation.Server.Host.Configuration { /// <summary> /// Configuration options for the web control panel /// </summary> public sealed class ControlPanelConfiguration { /// <summary> /// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSecti...
using System.Collections.Generic; namespace Tgstation.Server.Host.Configuration { /// <summary> /// Configuration options for the web control panel /// </summary> public sealed class ControlPanelConfiguration { /// <summary> /// The key for the <see cref="Microsoft.Extensions.Configuration.IConfigurationSecti...
agpl-3.0
C#
6d8bed051c3bab1899e9793c23f1fde6ec9bd2b7
Update User.cs
jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,XeroAPI/XeroAPI.Net
source/XeroApi/Model/User.cs
source/XeroApi/Model/User.cs
using System; namespace XeroApi.Model { public class User : EndpointModelBase { [ItemId] public Guid? UserID { get; set; } public string EmailAddress { get; set; } public string FirstName { get; set; } public string LastName { get; set; }...
using System; namespace XeroApi.Model { public class User : EndpointModelBase { [ItemId] public Guid? UserID { get; set; } public string FirstName { get; set; } public string LastName { get; set; } [ReadOnly] public DateTime UpdatedDateU...
mit
C#
045e26d1ebac6a462f1031d4725361cd57d01cae
Update Gravatar downloader to HttpClient and cancellation tokens.
Cheesebaron/xamarin-store-app
Shared/Data/Gravatar.cs
Shared/Data/Gravatar.cs
using System; using System.IO; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Security.Cryptography; #if __IOS__ using MonoTouch.Foundation; #endif using ModernHttpClient; namespace XamarinStore { class Gravatar { public enum Rating { G, PG, R, X } c...
using System; using System.IO; using System.Net; using System.Text; using System.Threading.Tasks; using System.Security.Cryptography; #if __IOS__ using MonoTouch.Foundation; #endif namespace XamarinStore { class Gravatar { public enum Rating { G, PG, R, X } const string _url = "http://www.gravatar.com/avatar.p...
mit
C#
f35fafbb48978000194877d602554214edf0fb73
Adjust Kevin's bio
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/KevinMarquette.cs
src/Firehose.Web/Authors/KevinMarquette.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 KevinMarquette : IAmAMicrosoftMVP { public string FirstName => "Kevin"; public string Last...
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 KevinMarquette : IAmAMicrosoftMVP { public string FirstName => "Kevin"; public string Last...
mit
C#
5b8511bda1bcacc5f9f148c5ba91fdc782451973
Increment version to v1.1.0.13
XeroAPI/XeroAPI.Net,TDaphneB/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,jcvandan/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDescription...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XeroApi")] [assembly: AssemblyDescription...
mit
C#
93502792300a1c92b67cb9c093b2acf1e22e1983
Send close message when close connection to the EchoLogger server.
zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui
src/ImGui/Development/Logger/EchoLogger.cs
src/ImGui/Development/Logger/EchoLogger.cs
using System; using System.Diagnostics; using System.Net.Sockets; namespace ImGui { public class EchoLogger : ILogger { private static TcpClient client; private static NetworkStream stream; public static void Show() { client = new TcpClient("127.0.0.1", 13000); ...
using System; using System.Diagnostics; using System.Net.Sockets; namespace ImGui { public class EchoLogger : ILogger { private static TcpClient client; private static NetworkStream stream; public static void Show() { client = new TcpClient("127.0.0.1", 13000); ...
agpl-3.0
C#
44da8e5fd7c8255eff2aeabb142fa6d204b3fe66
add thumbnail path for video messages
spkl/3ma-backup-viewer
src/3maBackupReader/Messages/VideoMessage.cs
src/3maBackupReader/Messages/VideoMessage.cs
using System.IO; namespace LateNightStupidities.IIImaBackupReader.Messages { /// <summary> /// A message with an attached video. /// </summary> public class VideoMessage : MediaMessage { /// <summary> /// Gets the file name of the thumbnail in the backup folder. /// </summa...
namespace LateNightStupidities.IIImaBackupReader.Messages { /// <summary> /// A message with an attached video. /// </summary> public class VideoMessage : MediaMessage { internal VideoMessage() { } } }
mit
C#
0058f42127d040ac20934e55225699234fd744a7
add default timeout configuration for kafka client.
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.cs
src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.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 System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace DotNetC...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace DotNetC...
mit
C#
b6620de6ecb38ecf54dff008daeaabfaa69e2a0a
fix regression
nerai/CMenu
src/ExampleMenu/Procedures/ProcManager.cs
src/ExampleMenu/Procedures/ProcManager.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu.Procedures { public class ProcManager { private class Proc { public readonly List<string> Commands = new List<string> (); public readonly Dictionary<string, int> ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu.Procedures { public class ProcManager { private class Proc { public readonly List<string> Commands = new List<string> (); public readonly Dictionary<string, int> ...
mit
C#
838a7d90e716d2352253cb1c638fdde2ba466a19
Add specs for implicit byte array to version conversion where byte array is invalid.
jagrem/msg
src/Msg.UnitTests/VersionSpecs.cs
src/Msg.UnitTests/VersionSpecs.cs
using NUnit.Framework; using Msg.Domain; using FluentAssertions; using System; using Version = Msg.Domain.Version; namespace Msg.UnitTests { [TestFixture] public class VersionSpecs { static readonly Func<byte[],Version> convertByteArray = b => b; [Test] public void Given_any_version_When_converting_to_a_byt...
using NUnit.Framework; using Msg.Domain; using FluentAssertions; namespace Msg.UnitTests { [TestFixture] public class VersionSpecs { [Test] public void Given_any_version_When_converting_to_a_byte_array_Then_AMQP_followed_by_zero_are_the_first_five_bytes() { var subject = new Version (1, 2, 3); byte[] r...
apache-2.0
C#
334fb7d4753386c6d534efe27e80e421a3b8a94f
Add additional params to index request
UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu
osu.Game/Online/Multiplayer/IndexPlaylistScoresRequest.cs
osu.Game/Online/Multiplayer/IndexPlaylistScoresRequest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Framework.IO.Network; using osu.Game.Extensions; using osu.Game.Online.API; using osu.Game.Online.API.R...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Online.API; namespace osu.Game.Online.Multiplayer { public class IndexPlaylistScoresRequest :...
mit
C#
168a7a588b62b3f087e1d6e9785b7e8eeb2f9959
Add xmldoc to ctor also
peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu
osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.cs
osu.Game/Rulesets/Difficulty/TimedDifficultyAttributes.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.Rulesets.Difficulty { /// <summary> /// Wraps a <see cref="DifficultyAttributes"/> object and adds a time value for which the at...
// 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.Rulesets.Difficulty { /// <summary> /// Wraps a <see cref="DifficultyAttributes"/> object and adds a time value for which the at...
mit
C#
4507fb0c641f87978c8bcff4cd1682ae03c26ab0
Use an ordinal string comparer to sort the parameters for validation
syntaxtree/SyntaxTree.FastSpring
FastSpringFormValidator.cs
FastSpringFormValidator.cs
using System; using System.Collections.Specialized; using System.Linq; using System.Security.Cryptography; using System.Text; namespace SyntaxTree.FastSpring { internal static class FastSpringFormValidator { public static bool IsValidNotification(this NameValueCollection form, string privateKey) { ...
using System.Collections.Specialized; using System.Linq; using System.Security.Cryptography; using System.Text; namespace SyntaxTree.FastSpring { internal static class FastSpringFormValidator { public static bool IsValidNotification(this NameValueCollection form, string privateKey) { const string d...
mit
C#
71c6b3c044ec13f6b60cebaffe8fc604a06b21c2
Add descriptive comments to CreatubblesConfiguration
creatubbles/ctb-api-unity
Assets/Scripts/CreatubblesConfiguration.cs
Assets/Scripts/CreatubblesConfiguration.cs
// // CreatubblesApiClientConfiguration.cs // CreatubblesApiClient // // Copyright (c) 2016 Creatubbles Pte. Ltd. // // 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, i...
// // CreatubblesApiClientConfiguration.cs // CreatubblesApiClient // // Copyright (c) 2016 Creatubbles Pte. Ltd. // // 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, i...
mit
C#
a5498b2ff5d8a4b33c9ffab0a7a65a2386ead0e4
test masking matrix rows/cols
Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818
Diner/MathNetTests/MathNetTests/Program.cs
Diner/MathNetTests/MathNetTests/Program.cs
using MathNet.Numerics.LinearAlgebra; using MathNet.Numerics.LinearAlgebra.Complex; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MathNetTests { class Program { static void Main(string[] args) { var mat...
using MathNet.Numerics.LinearAlgebra; using MathNet.Numerics.LinearAlgebra.Complex; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MathNetTests { class Program { static void Main(string[] args) { var mat...
mit
C#
82cb85bba1c0ba0e2ac8343f9f6716a6afbf9f82
Fix concurrency issue accessing Dictionary instance
li0803/Orchard,xiaobudian/Orchard,austinsc/Orchard,smartnet-developers/Orchard,hbulzy/Orchard,harmony7/Orchard,m2cms/Orchard,Ermesx/Orchard,bigfont/orchard-continuous-integration-demo,qt1/Orchard,kouweizhong/Orchard,armanforghani/Orchard,OrchardCMS/Orchard,omidnasri/Orchard,MetSystem/Orchard,tobydodds/folklife,mgrowan/...
src/Orchard/Caching/Cache.cs
src/Orchard/Caching/Cache.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Orchard.Caching { public class Cache<TKey, TResult> : ICache<TKey, TResult> { private readonly ConcurrentDictionary<TKey, CacheEntry> _entries; public Cache() { ...
using System; using System.Collections.Generic; using System.Linq; namespace Orchard.Caching { public class Cache<TKey, TResult> : ICache<TKey, TResult> { private readonly Dictionary<TKey, CacheEntry> _entries; public Cache() { _entries = new Dictionary<TKey, CacheEntry>(); ...
bsd-3-clause
C#
d9521343fb8dcf5d1aea7958463ff186ec7abbf5
Use local user when not in domain
pecosk/football,pecosk/football
FootballLeague/Services/UsersADSearcher.cs
FootballLeague/Services/UsersADSearcher.cs
using System.Linq; using System.Web; using FootballLeague.Models; using System.DirectoryServices; namespace FootballLeague.Services { public class UsersADSearcher : IUsersADSearcher { public User LoadUserDetails(string userName) { var entry = new DirectoryEntry(); var s...
using FootballLeague.Models; using System.DirectoryServices; namespace FootballLeague.Services { public class UsersADSearcher : IUsersADSearcher { public User LoadUserDetails(string userName) { var entry = new DirectoryEntry(); var searcher = new DirectorySearcher(entry...
mit
C#
377039400fa0456f15382a024020d43d061fc9ae
Use a set of defines, and some generics
GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity,GoCarrot/teak-unity
Assets/Teak/Editor/TeakPreProcessDefiner.cs
Assets/Teak/Editor/TeakPreProcessDefiner.cs
using UnityEditor; using UnityEditor.Build; #if UNITY_2018_1_OR_NEWER using UnityEditor.Build.Reporting; #endif using UnityEngine; using System.Collections.Generic; class TeakPreProcessDefiner : #if UNITY_2018_1_OR_NEWER IPreprocessBuildWithReport #else IPreprocessBuild #endif { public int callbackOrder {...
using UnityEditor; using UnityEditor.Build; #if UNITY_2018_1_OR_NEWER using UnityEditor.Build.Reporting; #endif using UnityEngine; class TeakPreProcessDefiner : #if UNITY_2018_1_OR_NEWER IPreprocessBuildWithReport #else IPreprocessBuild #endif { public int callbackOrder { get { return 0; } } public sta...
apache-2.0
C#
05edb2cddbc49d597e782106f668c50d8ddafe14
Remove status edit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Evaluations/Edit.cshtml
Battery-Commander.Web/Views/Evaluations/Edit.cshtml
@model Evaluation @using (Html.BeginForm("Save", "Evaluations", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) @Html.HiddenFor(model => model.Status) @Html.ValidationSummary() <div class="form-group form-group-lg"...
@model Evaluation @using (Html.BeginForm("Save", "Evaluations", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) @Html.ValidationSummary() <div class="form-group form-group-lg"> @Html.DisplayNameFor(model => mod...
mit
C#
82c585a74f207e3c8b4ccd01c1fe2454fa70637d
Fix helloworld library usage.
roblillack/monoberry,roblillack/monoberry,roblillack/monoberry,roblillack/monoberry
samples/helloworld/Main.cs
samples/helloworld/Main.cs
using System; using System.Threading; using BlackBerry; using BlackBerry.Screen; namespace helloworld { class MainClass { public static void Main (string[] args) { using (var nav = new Navigator ()) using (var ctx = Context.GetInstance (ContextType.Application)) using (var win = new Window (ctx, WindowT...
using System; using System.Threading; using BlackBerry; using BlackBerry.Screen; namespace helloworld { class MainClass { public static void Main (string[] args) { using (var nav = new Navigator ()) using (var ctx = new Context ()) using (var win = new Window (ctx, WindowType.SCREEN_APPLICATION_WINDOW))...
mit
C#
c1254c650f1b70cb31fcb58ce9aa7be5736e68ee
Add comments about SelectMany
inputfalken/Sharpy
GeneratorAPI/Generation.cs
GeneratorAPI/Generation.cs
using System; using System.Collections.Generic; using System.Linq; namespace GeneratorAPI { public class Generation<T> { private static IEnumerable<TResult> InfiniteEnumerable<TResult>(Func<TResult> fn) { while (true) yield return fn(); } private readonly IEnumerable<T> _infin...
using System; using System.Collections.Generic; using System.Linq; namespace GeneratorAPI { public class Generation<T> { private static IEnumerable<TResult> InfiniteEnumerable<TResult>(Func<TResult> fn) { while (true) yield return fn(); } private readonly IEnumerable<T> _infin...
mit
C#
5e9cb97b0f4378012652f6f9868bc02b652abe91
update Action response for embedded Region object
vevix/DigitalOcean.API
DigitalOcean.API/Models/Responses/Action.cs
DigitalOcean.API/Models/Responses/Action.cs
using System; namespace DigitalOcean.API.Models.Responses { /// <summary> /// Actions are records of events that have occurred on the resources in your account. These can be things like rebooting a /// Droplet, or transferring an image to a new region. /// </summary> public class Action { ...
using System; namespace DigitalOcean.API.Models.Responses { /// <summary> /// Actions are records of events that have occurred on the resources in your account. These can be things like rebooting a /// Droplet, or transferring an image to a new region. /// </summary> public class Action { ...
mit
C#
7822dc83f8c7052f3ce74a2751698cdecc387140
Bump Tilemaps Sample Package
SirePi/duality,AdamsLair/duality,RockyTV/duality,Barsonax/duality,BraveSirAndrew/duality,YMRYMR/duality,mfep/duality
DualityPlugins/Tilemaps/Sample/CorePlugin.cs
DualityPlugins/Tilemaps/Sample/CorePlugin.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Duality; namespace Duality.Plugins.Tilemaps.Sample { public class TilemapsSampleCorePlugin : CorePlugin {} }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Duality; namespace Duality.Plugins.Tilemaps.Sample { public class TilemapsSampleCorePlugin : CorePlugin {} }
mit
C#
c5928450ba7e56a07f4b2e148de5e3fccb265dca
add test scenario
UNOPS/nofy
Nofy.EntityFrameworkCore.Tests/MagicTest.cs
Nofy.EntityFrameworkCore.Tests/MagicTest.cs
namespace Nofy.EntityFrameworkCore.Tests { using System.ComponentModel.DataAnnotations; using Nofy.Core; using Nofy.Core.Model; using Xunit; [Collection(nameof(DatabaseCollectionFixture))] public class MagicTest { public MagicTest(DatabaseFixture dbFixture) { this.repository = new NotificationRepository...
namespace Nofy.EntityFrameworkCore.Tests { using System.ComponentModel.DataAnnotations; using Nofy.Core; using Nofy.Core.Model; using Xunit; [Collection(nameof(DatabaseCollectionFixture))] public class MagicTest { public MagicTest(DatabaseFixture dbFixture) { this.repository = new NotificationRepository...
mit
C#
cc1c95639691dfe89d381471e6b9690b75ef7c09
fix doubling namespaces in FindSymbolsHandler.FindAllSymbols()
x335/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server
OmniSharp/FindSymbols/FindSymbolsHandler.cs
OmniSharp/FindSymbols/FindSymbolsHandler.cs
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.Common; using OmniSharp.Solution; namespace OmniSharp.FindSymbols { public class FindSymbolsHandler { private readonly ISolution _solution; public FindSymbolsHandler(ISolution solutio...
using System.Collections.Generic; using System.Linq; using ICSharpCode.NRefactory.TypeSystem; using OmniSharp.Common; using OmniSharp.Solution; namespace OmniSharp.FindSymbols { public class FindSymbolsHandler { private readonly ISolution _solution; public FindSymbolsHandler(ISolution solutio...
mit
C#
1b2b6618e5555f8dc88037a0e5bf1638b827021e
Update Xwt.WPF/Xwt.WPFBackend/ImageViewBackend.cs
residuum/xwt,mminns/xwt,sevoku/xwt,directhex/xwt,TheBrainTech/xwt,mminns/xwt,akrisiun/xwt,mono/xwt,cra0zy/xwt,lytico/xwt,antmicro/xwt,hwthomas/xwt,iainx/xwt,steffenWi/xwt,hamekoz/xwt
Xwt.WPF/Xwt.WPFBackend/ImageViewBackend.cs
Xwt.WPF/Xwt.WPFBackend/ImageViewBackend.cs
// // ImageViewBackend.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // 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 res...
// // ImageViewBackend.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // 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 res...
mit
C#
c5bc56ade78567347b7213efc0d8e4230cf8e62b
Update copyright notice
zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder
Zbu.ModelsBuilder/Properties/CommonInfo.cs
Zbu.ModelsBuilder/Properties/CommonInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013-2015")] [assembly: AssemblyTrademark(...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013-2014")] [assembly: AssemblyTrademark(...
mit
C#
c3229827342ee9d80165e17bd0750f5a49cf557f
Add planet arriving effect
aornelas/Tiny-Planets,aornelas/Tiny-Planets
Assets/Scripts/GameController.cs
Assets/Scripts/GameController.cs
using UnityEngine; using System.Collections; public class GameController : MonoBehaviour { public GameObject currentPlanet; private int collectiblesNeeded = 3; private PlanetController planetController; private int collectedCount; private bool portalOpened; private bool teleporting; private bool arriving; pr...
using UnityEngine; using System.Collections; public class GameController : MonoBehaviour { public GameObject currentPlanet; private int collectiblesNeeded = 3; private PlanetController planetController; private int collectedCount; private bool portalOpened; private bool teleporting; private bool invokedSwapPl...
mit
C#
34bdd2f83e8fe03c519e7af5d251818195a4ee8d
Fix unit test
pdelvo/Pdelvo.Minecraft
Pdelvo.Minecraft.Protocol/Packets/PlayerListPing.cs
Pdelvo.Minecraft.Protocol/Packets/PlayerListPing.cs
using Pdelvo.Minecraft.Network; using System; namespace Pdelvo.Minecraft.Protocol.Packets { /// <summary> /// /// </summary> /// <remarks></remarks> [PacketUsage(PacketUsage.ClientToServer)] public class PlayerListPing : Packet { public byte MagicByte { get; set; } /// <su...
using Pdelvo.Minecraft.Network; using System; namespace Pdelvo.Minecraft.Protocol.Packets { /// <summary> /// /// </summary> /// <remarks></remarks> [PacketUsage(PacketUsage.ClientToServer)] public class PlayerListPing : Packet { public byte MagicByte { get; set; } /// <su...
mit
C#
892d61a2837590723e2d1a2d97c72a19e825eb43
Fix HelixToolkitException
jotschgl/helix-toolkit,JeremyAnsel/helix-toolkit,Iluvatar82/helix-toolkit,holance/helix-toolkit,helix-toolkit/helix-toolkit,chrkon/helix-toolkit,smischke/helix-toolkit
Source/HelixToolkit.Shared/HelixToolkitException.cs
Source/HelixToolkit.Shared/HelixToolkitException.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HelixToolkitException.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Represents errors that occurs in the Helix ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HelixToolkitException.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Represents errors that occurs in the Helix ...
mit
C#
d1fb324a68eadc921c3a78b7156a0e2dd90bc17d
Check that blob container exists, if not create it
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Web/Services/ImageAzureBlobService.cs
TheCollection.Web/Services/ImageAzureBlobService.cs
using Microsoft.WindowsAzure.Storage; using System; using System.Drawing; using System.IO; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Blob; namespace TheCollection.Web.Services { // https://blogs.msdn.microsoft.com/premier_developer/2017/03/14/building-a-simple-photo-album-using-azure-bl...
using Microsoft.WindowsAzure.Storage; using System; using System.Drawing; using System.IO; using System.Threading.Tasks; namespace TheCollection.Web.Services { // https://blogs.msdn.microsoft.com/premier_developer/2017/03/14/building-a-simple-photo-album-using-azure-blob-storage-with-net-core/ // https://docs...
apache-2.0
C#
86f674d09e7af065690e22de0df61396f8692de9
Remove the UpdateAll implementation of TriggerAction and add DeleteTableObject method
Dav2070/UniversalSoundBoard
UniversalSoundBoard/Common/TriggerAction.cs
UniversalSoundBoard/Common/TriggerAction.cs
using davClassLibrary.Common; using davClassLibrary.Models; using UniversalSoundBoard; using UniversalSoundBoard.DataAccess; using Windows.ApplicationModel.Core; using Windows.UI.Core; namespace UniversalSoundboard.Common { public class TriggerAction : ITriggerAction { public void UpdateAllOfTable(int...
using davClassLibrary.Common; using UniversalSoundBoard; using UniversalSoundBoard.DataAccess; using Windows.ApplicationModel.Core; using Windows.UI.Core; namespace UniversalSoundboard.Common { public class TriggerAction : ITriggerAction { public void UpdateAll() { } ...
mit
C#
82dd3048c826cd92cb129bcb362edd6937430951
change link from aspnet5 to aspnet core
mperdeck/jsnlog.AspNet5Demo,mperdeck/jsnlog.AspNet5Demo
WebSite/src/WebSite/Views/Home/Index.cshtml
WebSite/src/WebSite/Views/Home/Index.cshtml
<h1>ASP.NET CORE demo for JSNLog</h1> <ul> <li> Your log message will appear in the debug window, so run this site in the debugger (F5). </li> <li> To create a log message, click the button below. </li> <li> The click handler is in js/site.js. It uses JSNLog to create the l...
<h1>ASP.NET CORE demo for JSNLog</h1> <ul> <li> Your log message will appear in the debug window, so run this site in the debugger (F5). </li> <li> To create a log message, click the button below. </li> <li> The click handler is in js/site.js. It uses JSNLog to create the l...
mit
C#
196b086ddcc8d89a4340921af040f5f2a5b6f94f
Refactor Outcome.cs as flag
Ackara/Daterpillar
src/Daterpillar.Core/Management/Outcome.cs
src/Daterpillar.Core/Management/Outcome.cs
using System; namespace Gigobyte.Daterpillar.Management { [Flags] public enum Outcome { Equal = 2, NotEqual = 4, SourceEmpty = 8, TargetEmpty = 16 } }
using System; namespace Gigobyte.Daterpillar.Management { public enum Outcome { Equal, NotEqual, SourceEmpty, TargetEmpty } }
mit
C#
cdab80877851a5ab03b36ca4452a358404a5b9f7
Change to allow params array for setting queue behaviors
FoundatioFx/Foundatio,exceptionless/Foundatio
src/Foundatio/Queues/SharedQueueOptions.cs
src/Foundatio/Queues/SharedQueueOptions.cs
using System; using System.Collections.Generic; using System.Linq; namespace Foundatio.Queues { public class SharedQueueOptions<T> : SharedOptions where T : class { public string Name { get; set; } = typeof(T).Name; public int Retries { get; set; } = 2; public TimeSpan WorkItemTimeout { ge...
using System; using System.Collections.Generic; using System.Linq; namespace Foundatio.Queues { public class SharedQueueOptions<T> : SharedOptions where T : class { public string Name { get; set; } = typeof(T).Name; public int Retries { get; set; } = 2; public TimeSpan WorkItemTimeout { ge...
apache-2.0
C#
b8e8c161f554f1d464465d944ea7472b87e31388
Remove Result from Example again
picklesdoc/pickles,irfanah/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/pickles,magicmonty/pickles,picklesdoc/pickles,magicmonty/pickles,irfanah/pickles,magicmonty/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dir...
src/Pickles/Pickles/ObjectModel/Example.cs
src/Pickles/Pickles/ObjectModel/Example.cs
#region License /* Copyright [2011] [Jeffrey Cameron] 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...
#region License /* Copyright [2011] [Jeffrey Cameron] 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#
8783c703d8cbdf19d9b98b58b0d51f53512b0df4
Add a detailed comment to explain why we test this
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.Tests.XUnit/coupons/_fixture.cs
src/Stripe.Tests.XUnit/coupons/_fixture.cs
using System; using System.Collections.Generic; namespace Stripe.Tests.Xunit { public class coupons_fixture : IDisposable { public StripeCouponCreateOptions CouponCreateOptions { get; set; } public StripeCouponUpdateOptions CouponUpdateOptions { get; set; } public StripeCoupon Coupon {...
using System; using System.Collections.Generic; namespace Stripe.Tests.Xunit { public class coupons_fixture : IDisposable { public StripeCouponCreateOptions CouponCreateOptions { get; set; } public StripeCouponUpdateOptions CouponUpdateOptions { get; set; } public StripeCoupon Coupon {...
apache-2.0
C#
e35059265c5529410f2ac3ab40ec4dea10a5e33a
Apply improved formatting.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Services/IBotCredentials.cs
src/NadekoBot/Services/IBotCredentials.cs
using System.Collections.Immutable; using Discord; using Mitternacht.Common; namespace Mitternacht.Services { public interface IBotCredentials { ulong ClientId { get; } string Token { get; } ImmutableArray<ulong> OwnerIds { get; } DbConfig ...
using System.Collections.Immutable; using Discord; using Mitternacht.Common; namespace Mitternacht.Services { public interface IBotCredentials { ulong ClientId { get; } string Token { get; } string GoogleApiKey { get; } ImmutableArray<ulong> OwnerIds { get; } string Ma...
mit
C#
4c8df5c1de7da17934ff20bc9ed574a6e7bcf10e
Enable nullable: System.Management.Automation.Tracing.IEtwActivityReverter (#14154)
PaulHigin/PowerShell,TravisEz13/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,PaulHigin/PowerShell,...
src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs
src/System.Management.Automation/utils/tracing/EtwActivityReverter.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #nullable enable #if !UNIX namespace System.Management.Automation.Tracing { using System; /// <summary> /// An object that can be used to revert the ETW activity ID of the current thread /// to its original value. ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #if !UNIX namespace System.Management.Automation.Tracing { using System; /// <summary> /// An object that can be used to revert the ETW activity ID of the current thread /// to its original value. /// </summary> ...
mit
C#
c00e6e29a6f2c32da0ae882f98344afb94770812
Remove `static` usage
NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu
osu.Game.Rulesets.Taiko/Edit/Blueprints/HitPlacementBlueprint.cs
osu.Game.Rulesets.Taiko/Edit/Blueprints/HitPlacementBlueprint.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.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Taiko.Objects; using osu.Game.Rulesets.Taiko.UI; using osuTK; using osuTK.Input; ...
// 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.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Taiko.Objects; using osu.Game.Rulesets.Taiko.UI; using osuTK; using osuTK.Input; ...
mit
C#
861323c4838adf46ee5f95ab78837721ff7e2343
Fix particle plugin.
RichardRanft/Torque6,andr3wmac/Torque6,RichardRanft/Torque6,lukaspj/Torque6,ktotheoz/Torque6,lukaspj/Torque6,andr3wmac/Torque6,lukaspj/Torque6,ktotheoz/Torque6,ktotheoz/Torque6,ktotheoz/Torque6,lukaspj/Torque6,RichardRanft/Torque6,RichardRanft/Torque6,JeffProgrammer/Torque6,JeffProgrammer/Torque6,ktotheoz/Torque6,lukas...
projects/shared-modules/Particles/1/main.cs
projects/shared-modules/Particles/1/main.cs
function Particles::create(%this) { Plugins::load("./Particles"); } function Particles::destroy( %this ) { // }
function Particles::create(%this) { Plugins::load("./Particles.dll"); } function Particles::destroy( %this ) { // }
mit
C#
2bee275d8439f4da0ec5d839bd7c70255d42d207
fix disco doc custom entry serialization
siyo-wang/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,IdentitySe...
src/IdentityServer4/Endpoints/Results/DiscoveryDocumentResult.cs
src/IdentityServer4/Endpoints/Results/DiscoveryDocumentResult.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 IdentityServer4.Hosting; using IdentityServer4.Models; using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http; using Newtonsoft.Js...
// 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 IdentityServer4.Hosting; using IdentityServer4.Models; using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http; using Newtonsoft.Js...
apache-2.0
C#
35f0980f18f2fd5d14a31ceeee99be961f683e05
fix connection
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/PostgreSqlAcceptanceTests/ConfigureEndpointSqlPersistence.cs
src/PostgreSqlAcceptanceTests/ConfigureEndpointSqlPersistence.cs
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.AcceptanceTesting.Support; using NServiceBus.Persistence.Sql; using NServiceBus.Persistence.Sql.ScriptBuilder; public class ConfigureEndpointSqlPersistence : IConfigureEndpointTestExecution { ConfigureEndpointHelper endpointHelper; ...
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.AcceptanceTesting.Support; using NServiceBus.Persistence.Sql; using NServiceBus.Persistence.Sql.ScriptBuilder; public class ConfigureEndpointSqlPersistence : IConfigureEndpointTestExecution { ConfigureEndpointHelper endpointHelper; ...
mit
C#
bb59ffcba2fcbe3f0154572b61c5c17602b3afbd
Fix exception for loading WAV objects which has been failed to load.
JLChnToZ/BMP-U
Assets/Scripts/BMS/DataObject.cs
Assets/Scripts/BMS/DataObject.cs
using UnityEngine; using UnityObject = UnityEngine.Object; using ManagedBass; namespace BMS { public enum ResourceType { Unknown, bmp, wav, bpm, stop, bga, } public class ResourceObject { readonly int index; internal readonly ResourceType t...
using UnityEngine; using UnityObject = UnityEngine.Object; using ManagedBass; namespace BMS { public enum ResourceType { Unknown, bmp, wav, bpm, stop, bga, } public class ResourceObject { readonly int index; internal readonly ResourceType t...
artistic-2.0
C#
685259e5aae2abaf410613ec6a5b58c7948e0e23
Improve matching bonus tracks
zumicts/Audiotica
Audiotica.Data/Mp3MatchEngine.cs
Audiotica.Data/Mp3MatchEngine.cs
#region using System.Threading.Tasks; using Audiotica.Data.Model.Spotify.Models; using Audiotica.Data.Mp3Providers; using IF.Lastfm.Core.Objects; #endregion namespace Audiotica.Data { public static class Mp3MatchEngine { private static readonly IMp3Provider[] Providers = { new Ne...
#region using System.Threading.Tasks; using Audiotica.Data.Model.Spotify.Models; using Audiotica.Data.Mp3Providers; using IF.Lastfm.Core.Objects; #endregion namespace Audiotica.Data { public static class Mp3MatchEngine { private static readonly IMp3Provider[] Providers = { new Ne...
apache-2.0
C#
d070e356e9f86d4e7a3c2ecf640d8bf5976cf908
Add constructor overload
rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary
CSharpGameLibrary/PinnedArray.cs
CSharpGameLibrary/PinnedArray.cs
using System; using System.Runtime.InteropServices; using System.Collections.Generic; namespace CSGL { public class PinnedArray<T> : IDisposable where T : struct { T[] array; GCHandle handle; bool disposed = false; int count; public PinnedArray(T[] array) { thi...
using System; using System.Runtime.InteropServices; namespace CSGL { public class PinnedArray<T> : IDisposable where T : struct { T[] array; GCHandle handle; bool disposed = false; int count; public PinnedArray(T[] array) { this.array = array; if (a...
mit
C#
248b79b0ba6329f7e03876758319b0641852a238
correct url for organization list
FacturAPI/facturapi-net
facturapi-net/Router/OrganizationRouter.cs
facturapi-net/Router/OrganizationRouter.cs
using System; using System.Collections.Generic; namespace Facturapi { internal static partial class Router { public static string ListOrganizations(Dictionary<string, object> query = null) { return UriWithQuery("organizations", query); } public static string Retriev...
using System; using System.Collections.Generic; namespace Facturapi { internal static partial class Router { public static string ListOrganizations(Dictionary<string, object> query = null) { return UriWithQuery("organization", query); } public static string Retrieve...
mit
C#
3fd58809536aca01aafe610d62a55e21f6951fc5
fix compiler warning
abock/conservatorio,abock/conservatorio,abock/conservatorio
Conservatorio.Mac/AppDelegate.cs
Conservatorio.Mac/AppDelegate.cs
// // AppDelegate.cs // // Author: // Aaron Bockover <aaron.bockover@gmail.com> // // Copyright 2015 Aaron Bockover. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softw...
// // AppDelegate.cs // // Author: // Aaron Bockover <aaron.bockover@gmail.com> // // Copyright 2015 Aaron Bockover. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softw...
mit
C#
3eebc2f70f6f904c8f6a7801dee703e6b3ba7d3f
Update GameLoopView based on feedback
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Diagnostics/GameLoopView.cs
src/OpenSage.Game/Diagnostics/GameLoopView.cs
using System; using System.Globalization; using ImGuiNET; namespace OpenSage.Diagnostics { internal sealed class GameLoopView : DiagnosticView { public GameLoopView(DiagnosticViewContext context) : base(context) { } public override string DisplayName => "Game loop"; ...
using ImGuiNET; namespace OpenSage.Diagnostics { internal class GameLoopView : DiagnosticView { public GameLoopView(DiagnosticViewContext context) : base(context) { } public override string DisplayName => "Game loop"; protected override void DrawOverride(ref bool isG...
mit
C#
9fcb1e9c256a6cd07208687a98b546126a7f761b
rebase change, add NotEmpty
ritterim/releases,ritterim/releases,ritterim/releases
src/Site/ViewModels/Releases/ShowViewModel.cs
src/Site/ViewModels/Releases/ShowViewModel.cs
using System.Collections.Generic; using RimDev.Releases.Models; using System.Linq; namespace RimDev.Releases.ViewModels.Releases { public class ShowViewModel { public ShowViewModel(GitHubRepository currentRepository) { Releases = new List<ReleaseViewModel>(); CurrentRep...
using System.Collections.Generic; using RimDev.Releases.Models; using System.Linq; namespace RimDev.Releases.ViewModels.Releases { public class ShowViewModel { public ShowViewModel(GitHubRepository currentRepository) { Releases = new List<ReleaseViewModel>(); CurrentRep...
mit
C#
450bf23c3bf39fb77edcb98a792c3c4da006d76a
Add CurrentSubTreeIndex and CurrentSubTree
yishn/GTPWrapper
GTPWrapper/DataTypes/ListTree.cs
GTPWrapper/DataTypes/ListTree.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GTPWrapper.DataTypes { public class ListTree<T> { /// <summary> /// Gets or sets the list of elements of this tree. /// </summary> public List<T> Elements { get; set; } /// <summ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GTPWrapper.DataTypes { public class ListTree<T> { /// <summary> /// Gets or sets the list of elements of this tree. /// </summary> public List<T> Elements { get; set; } /// <summ...
mit
C#
ff97f554cdbb3ff10a52254ba6caa3b6111a822b
Check scale every minute
jefking/King.Service
Worker/Scalable/DynamicScaler.cs
Worker/Scalable/DynamicScaler.cs
namespace Worker.Scalable { using King.Service; using System.Collections.Generic; using System.Diagnostics; public class DynamicScaler : AutoScaler<Configuration> { public DynamicScaler(Configuration config) : base(config, 1, 15, 1) { Trace.TraceInformation(...
namespace Worker.Scalable { using King.Service; using System.Collections.Generic; using System.Diagnostics; public class DynamicScaler : AutoScaler<Configuration> { public DynamicScaler(Configuration config) : base(config, 1, 15) { Trace.TraceInformation("Sc...
mit
C#
c62779b03739388c3ada79a6a030531cb36486f5
Enable NesZord.Tests to se internal members of NesZord.Core
rmterra/NesZord
src/NesZord.Core/Properties/AssemblyInfo.cs
src/NesZord.Core/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
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 assembly. [ass...
apache-2.0
C#
f1117eb95074884465d7964acb6115797dded84e
Add support for nested anonymous models
toddams/RazorLight,toddams/RazorLight
src/RazorLight/Extensions/TypeExtensions.cs
src/RazorLight/Extensions/TypeExtensions.cs
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; namespace RazorLight.Extensions { public static class TypeExtensions { public static ExpandoObject ToExpando(this object anonymousObject) { ...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; namespace RazorLight.Extensions { public static class TypeExtensions { public static ExpandoObject ToExpando(this object anonymousObject) { ...
apache-2.0
C#
85502570a37faaf83f0792fe22a52c21b3c9d297
Update #9
lucasdavid/Gamedalf,lucasdavid/Gamedalf
Gamedalf.Tests/Testdata/DevelopersTestData.cs
Gamedalf.Tests/Testdata/DevelopersTestData.cs
using Gamedalf.Core.Models; using Gamedalf.Tests.Infrastructure; using System.Collections.Generic; namespace Gamedalf.Tests.Testdata { public class DevelopersTestData : ITestData<Developer> { public ICollection<Developer> Data { get; set; } public DevelopersTestData() { ...
using Gamedalf.Core.Models; using Gamedalf.Tests.Infrastructure; using System.Collections.Generic; namespace Gamedalf.Tests.Testdata { public class DevelopersTestData : ITestData<Developer> { public ICollection<Developer> Data { get; set; } public DevelopersTestData() { ...
mit
C#
74d724bb076a82e39b423f4d29ec3457ebf63c77
Allow translation of boolean filtering text.
neitsa/PrepareLanding,neitsa/PrepareLanding
src/Core/Extensions/FilterBooleanExtensions.cs
src/Core/Extensions/FilterBooleanExtensions.cs
using UnityEngine; using Verse; namespace PrepareLanding.Core.Extensions { public static class FilterBooleanExtensions { public static string ToStringHuman(this FilterBoolean filterBool) { switch (filterBool) { case FilterBoolean.AndFiltering: ...
using UnityEngine; namespace PrepareLanding.Core.Extensions { public static class FilterBooleanExtensions { public static string ToStringHuman(this FilterBoolean filterBool) { switch (filterBool) { case FilterBoolean.AndFiltering: ret...
mit
C#
83301ce13be9024b8e1139c2a408d6a53e2bf844
Update PngRenderer.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Screenshot/Renderers/PngRenderer.cs
src/Core2D/Screenshot/Renderers/PngRenderer.cs
using System.IO; using Avalonia; using Avalonia.Controls; using Avalonia.Media.Imaging; namespace Core2D.Screenshot.Renderers; public static class PngRenderer { public static void Render(Control target, Size size, Stream stream, double dpi = 96) { var pixelSize = new PixelSize((int)size.Width, (int)si...
using Avalonia; using Avalonia.Controls; using Avalonia.Media.Imaging; namespace Core2D.Screenshot.Renderers; public static class PngRenderer { public static void Render(Control target, Size size, string path, double dpi = 96) { var pixelSize = new PixelSize((int)size.Width, (int)size.Height); ...
mit
C#
2e926ddd05d7cacb1eed9a6519dc92d5388c14db
Change AssemblyVersion and AssemblyFileVersion to 0.0.1
lydonchandra/visualstudio-wakatime,CodeCavePro/visualstudio-wakatime,wakatime/visualstudio-wakatime,crushjz/visualstudio-wakatime,CodeCavePro/wakatime-sharp,gandarez/visualstudio-wakatime,iwhp/visualstudio-wakatime,pritianka/VS
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; 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.Reflection; using System.Resources; 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 ...
bsd-3-clause
C#
d8b3ffa06e72f5ae415e8e402ace4a6839aa0ae3
Use correct Gnome3 default DPI
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Utilities/PlatformUtility.cs
src/OpenSage.Game/Utilities/PlatformUtility.cs
using System; using System.Runtime.InteropServices; namespace OpenSage.Utilities { public static class PlatformUtility { /// <summary> /// Check if current platform is windows /// </summary> /// <returns></returns> public static bool IsWindowsPlatform() { ...
using System; using System.Runtime.InteropServices; namespace OpenSage.Utilities { public static class PlatformUtility { /// <summary> /// Check if current platform is windows /// </summary> /// <returns></returns> public static bool IsWindowsPlatform() { ...
mit
C#
5e4f83b80b158cdf0ddadd60db430a0fc1d83a15
Add more correct catch playfield sizing
ZLima12/osu,UselessToucan/osu,naoey/osu,2yangk23/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,naoey/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,smoogip...
osu.Game.Rulesets.Catch/UI/CatchRulesetContainer.cs
osu.Game.Rulesets.Catch/UI/CatchRulesetContainer.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 osu.Framework.Input; using osu.Game.Beatmaps; using osu.Game.Input.Handlers; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Catch.Objects.Drawable...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Input; using osu.Game.Beatmaps; using osu.Game.Input.Handlers; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Catch.Objects.Drawable...
mit
C#
6106f1b494df2660d9b2285a39d61bc2cb56bca6
Refactor KendoComboBox test
atata-framework/atata-kendoui,atata-framework/atata-kendoui
src/Atata.KendoUI.Tests/KendoComboBoxTest.cs
src/Atata.KendoUI.Tests/KendoComboBoxTest.cs
using NUnit.Framework; namespace Atata.KendoUI.Tests { public class KendoComboBoxTest : UITestFixture { private ComboBoxPage page; protected override void OnSetUp() { page = Go.To<ComboBoxPage>(); } [Test] public void KendoComboBox() ...
using NUnit.Framework; namespace Atata.KendoUI.Tests { public class KendoComboBoxTest : UITestFixture { private ComboBoxPage page; protected override void OnSetUp() { page = Go.To<ComboBoxPage>(); } [Test] public void KendoComboBox() ...
apache-2.0
C#
91d572235eaf43a2ca9eb1ad562849322cd43468
Make $id and $token properties in plugin objects unmodifiable
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Plugins/PluginScriptGenerator.cs
Plugins/PluginScriptGenerator.cs
using System.Globalization; using TweetDuck.Plugins.Enums; namespace TweetDuck.Plugins{ static class PluginScriptGenerator{ public static string GenerateConfig(PluginConfig config){ return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"]...
using System.Text; using TweetDuck.Plugins.Enums; namespace TweetDuck.Plugins{ static class PluginScriptGenerator{ public static string GenerateConfig(PluginConfig config){ return config.AnyDisabled ? "window.TD_PLUGINS.disabled = [\""+string.Join("\",\"", config.DisabledPlugins)+"\"];" : stri...
mit
C#
634a77748ab4fc326e4d227ec84d7404d21f0b7d
Make ApplyChangesTogether automatically filled to false if not present.
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Abstractions/Models/Request.cs
src/OmniSharp.Abstractions/Models/Request.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace OmniSharp.Models { public class Request : SimpleFileRequest { [JsonConverter(typeof(ZeroBasedIndexConverter))] public int Line { get; set; } [JsonConverter(typeof(ZeroBasedIndexConverter))] public int Column { ge...
using System.Collections.Generic; using Newtonsoft.Json; namespace OmniSharp.Models { public class Request : SimpleFileRequest { [JsonConverter(typeof(ZeroBasedIndexConverter))] public int Line { get; set; } [JsonConverter(typeof(ZeroBasedIndexConverter))] public int Column { ge...
mit
C#
615e9e712ba1a3717da270c3e557e499a90d472c
Fix delete page dialog resizing (BL-769)
andrew-polk/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDeskt...
src/BloomExe/Edit/ConfirmRemovePageDialog.cs
src/BloomExe/Edit/ConfirmRemovePageDialog.cs
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace Bloom.Edit { public partial class ConfirmRemovePageDialog : Form { public string LabelForThingBeingDeleted { get; set; } public ConfirmRemovePageDialog() { InitializeComponent(); _messageLabel...
using System; using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace Bloom.Edit { public partial class ConfirmRemovePageDialog : Form { public string LabelForThingBeingDeleted { get; set; } public ConfirmRemovePageDialog() { InitializeComponent(); _messageLabel...
mit
C#
69c740d6f2adbbc6ca123831ad9ec113c43d34ce
Optimize IsValidResourceName function
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/Framework/Framework/Utils/NamingUtils.cs
src/Framework/Framework/Utils/NamingUtils.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using DotVVM.Framework.Controls; namespace DotVVM.Framework.Utils { public static class NamingUtils { // It would be nice to have validation methods for all named things here ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DotVVM.Framework.Utils { public static class NamingUtils { // It would be nice to have validation methods for all named things here public static bool IsValid...
apache-2.0
C#
fdc898d8f7797cf53cdde862793f100197c8308b
Use the message variable
bbqchickenrobot/VisualStudio,github/VisualStudio,pwz3n0/VisualStudio,radnor/VisualStudio,AmadeusW/VisualStudio,naveensrinivasan/VisualStudio,luizbon/VisualStudio,amytruong/VisualStudio,bradthurber/VisualStudio,yovannyr/VisualStudio,Dr0idKing/VisualStudio,shaunstanislaus/VisualStudio,nulltoken/VisualStudio,github/Visual...
src/GitHub.Exports.Reactive/Helpers/Guard.cs
src/GitHub.Exports.Reactive/Helpers/Guard.cs
using System; using System.Diagnostics; using System.Globalization; using Splat; namespace GitHub { public static class Guard { /// <summary> /// Validates that the string is not empty. /// </summary> /// <param name="value"></param> public static void ArgumentNotEmptyS...
using System; using System.Diagnostics; using System.Globalization; using Splat; namespace GitHub { public static class Guard { /// <summary> /// Validates that the string is not empty. /// </summary> /// <param name="value"></param> public static void ArgumentNotEmptyS...
mit
C#
426498a203d65c664829f8a255c5589ea9234782
Fix JSON file locking issue
stevedesmond-ca/dotnet-libyear
src/LibYear.Lib/FileTypes/ProjectJsonFile.cs
src/LibYear.Lib/FileTypes/ProjectJsonFile.cs
using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json.Linq; namespace LibYear.Lib.FileTypes { public class ProjectJsonFile : IProjectFile { private string _fileContents; public string FileName { get; } public IDictionary<string, PackageVersion> Packages { get; } private ...
using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json.Linq; namespace LibYear.Lib.FileTypes { public class ProjectJsonFile : IProjectFile { private string _fileContents; public string FileName { get; } public IDictionary<string, PackageVersion> Pack...
mit
C#
235239b3fd81d26b269149c0f6dcf70b5bb77119
Replace `InvocationShape.Method` property with field
ocoanet/moq4,Moq/moq4
src/Moq/InvocationShape.cs
src/Moq/InvocationShape.cs
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace Moq { /// <summary> /// Describes the ...
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace Moq { /// <summary> /// Describes the ...
bsd-3-clause
C#
d14f12075059e0358c39eeccce86079475e93024
Remove unused functions
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
ThScoreFileConverterTests/Models/Th15/Stubs/ClearDataPerGameModeStub.cs
ThScoreFileConverterTests/Models/Th15/Stubs/ClearDataPerGameModeStub.cs
using System.Collections.Generic; using System.Collections.Immutable; using ThScoreFileConverter.Models; using ThScoreFileConverter.Models.Th13; using ThScoreFileConverter.Models.Th15; namespace ThScoreFileConverterTests.Models.Th15.Stubs { internal class ClearDataPerGameModeStub : IClearDataPerGameMode { ...
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using ThScoreFileConverter.Extensions; using ThScoreFileConverter.Models; using ThScoreFileConverter.Models.Th13; using ThScoreFileConverter.Models.Th15; namespace ThScoreFileConverterTests.Models.Th15.Stubs { internal class ...
bsd-2-clause
C#
d04567127c768ccb331b1e139cee7ba3e8a14e4c
Order DownloadLicenses after Compile
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
build/Build.Licenses.cs
build/Build.Licenses.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using Nuke.Common; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Nuke.Common.IO; using Nuke.Components; using Serilog; using static Nuke.Com...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using Nuke.Common; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Nuke.Common.IO; using Nuke.Components; using Serilog; using static Nuke.Com...
mit
C#
f0558a7b59d2a5904176a69f57834ca639d4850b
Add example for state init option to quick-start guide example project.
Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; // static LearnositySDK.Credentials; namespace LearnosityDemo.Pages { public class Ite...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; // static LearnositySDK.Credentials; namespace LearnosityDemo.Pages { public class Ite...
apache-2.0
C#
756b65d2ea4559f09a71ac7480c5b844a33814d9
Add test case to test StartDateEndDateFinder
wongjiahau/TTAP-UTAR,wongjiahau/TTAP-UTAR
NUnit.Tests2/Test_StartDateEndDateFinder.cs
NUnit.Tests2/Test_StartDateEndDateFinder.cs
using NUnit.Framework; using System; using System.IO; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; namespace NUnit.Tests2 { [TestFixture] public class Test_StartDateEndDateFinder { string input1 = Helper.RawStringOfTestFile("SampleData-FAM-2017-2ndSem.html"); s...
using NUnit.Framework; using System; using System.IO; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; namespace NUnit.Tests2 { [TestFixture] public class Test_StartDateEndDateFinder { string input = Helper.RawStringOfTestFile("SampleData-FAM-2017-2ndSem.html"); [...
agpl-3.0
C#
8a956c8a70c1bd1a721d28ab75872d71ed6f1ed2
make sure we don't pass bad data to clipboard.
mmoening/agg-sharp,larsbrubaker/agg-sharp,mmoening/agg-sharp,MatterHackers/agg-sharp,mmoening/agg-sharp,jlewin/agg-sharp
Gui/Clipboard/Clipboard.cs
Gui/Clipboard/Clipboard.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MatterHackers.Agg.UI { public static class Clipboard { private static ISystemClipboard clipboard { get; set; } public static bool IsInitialized { get { return clipboard != null; } } public static String GetT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MatterHackers.Agg.UI { public static class Clipboard { private static ISystemClipboard clipboard { get; set; } public static bool IsInitialized { get { return clipboard != null; } } public static String GetT...
bsd-2-clause
C#
3c0724cc734cadca28b4c3c97512c33d20aaa844
implement yes and games url
YesAndGames/four-friends
Assets/Scripts/StateManagement/MainMenu.cs
Assets/Scripts/StateManagement/MainMenu.cs
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; /// <summary> /// Manages the main menu state. /// </summary> public class MainMenu : IGameState { /// <summary> /// Initialize this component. /// </summary> public override void OnInitializeState () { base.OnInitializeState (); AddHi...
using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; /// <summary> /// Manages the main menu state. /// </summary> public class MainMenu : IGameState { /// <summary> /// Initialize this component. /// </summary> public override void OnInitializeState () { base.OnInitializeState (); AddHi...
mit
C#
dc3c4915b91581c482d2f005217f6f2e7d29b1db
add missing metadata for release
alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog
BrowserLog.NLog/Properties/AssemblyInfo.cs
BrowserLog.NLog/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("Bro...
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("Bro...
apache-2.0
C#
80eec6c020d3f87dda8c6facaecd340acd23d351
Add caching key secrets
patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity
src/Assets/Scripts/Licensing/KeyLicenseValidator.cs
src/Assets/Scripts/Licensing/KeyLicenseValidator.cs
using System.Net; using PatchKit.Api; using UnityEngine; namespace PatchKit.Unity.Patcher.Licensing { public class KeyLicenseValidator : ILicenseValidator { private readonly KeysApiConnection _keysApiConnection; private readonly string _appSecret; public KeyLicenseValidator(string ap...
using System.Net; using PatchKit.Api; namespace PatchKit.Unity.Patcher.Licensing { public class KeyLicenseValidator : ILicenseValidator { private readonly KeysApiConnection _keysApiConnection; private readonly string _appSecret; public KeyLicenseValidator(string appSecret, KeysApiCon...
mit
C#
7ac6b9011d9d0b5685de721d79097876c3283f86
Change doc comment
heejaechang/roslyn,MichalStrehovsky/roslyn,KirillOsenkov/roslyn,diryboy/roslyn,paulvanbrenk/roslyn,xasx/roslyn,KevinRansom/roslyn,lorcanmooney/roslyn,paulvanbrenk/roslyn,jkotas/roslyn,VSadov/roslyn,aelij/roslyn,tvand7093/roslyn,tmat/roslyn,mattscheffer/roslyn,mattscheffer/roslyn,stephentoub/roslyn,agocke/roslyn,orthoxe...
src/Compilers/Core/Portable/Operations/IArgument.cs
src/Compilers/Core/Portable/Operations/IArgument.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. namespace Microsoft.CodeAnalysis.Semantics { /// <summary> /// Represents an argument in a method invocation. /// </summary> /// <remarks> ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.Semantics { /// <summary> /// Represents an argument in a method invocation. /// </summary> /// <remarks> ...
mit
C#