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
990fa53bf04f8c5e88d2740ac5c1af43d543d5e6
Add processing projects in solution folders
lionsoft/t4ts,lionsoft/t4ts
T4TS/Traversal/ProjectTraverser.cs
T4TS/Traversal/ProjectTraverser.cs
using EnvDTE; using System; using System.Linq; namespace T4TS { public class ProjectTraverser { public Action<CodeNamespace> WithNamespace { get; private set; } public ProjectTraverser(Project project, Action<CodeNamespace> withNamespace) { if (project == null) ...
using EnvDTE; using System; using System.Linq; namespace T4TS { public class ProjectTraverser { public Action<CodeNamespace> WithNamespace { get; private set; } public ProjectTraverser(Project project, Action<CodeNamespace> withNamespace) { if (project == null) ...
apache-2.0
C#
d9dcadf7cf3084fe07e4a9b9bebb95435eac6095
Update DatabaseProvider.cs
tiksn/TIKSN-Exchange
TIKSN.Exchange/DatabaseProvider.cs
TIKSN.Exchange/DatabaseProvider.cs
using Microsoft.Extensions.Configuration; using TIKSN.Data.LiteDB; using TIKSN.FileSystem; namespace TIKSN.Exchange { public class DatabaseProvider : LiteDbDatabaseProvider { public DatabaseProvider(IConfigurationRoot configuration, IKnownFolders knownFolders) : base(configuration, ConnectionStringNam...
using Microsoft.Extensions.Configuration; using TIKSN.Data.LiteDB; using TIKSN.FileSystem; namespace TIKSN.Exchange { public class DatabaseProvider : LiteDbDatabaseProvider { public DatabaseProvider(IConfigurationRoot configuration, IKnownFolders knownFolders) : base(configuration, "Main", knownFolder...
mit
C#
42a6191adb825aef797f902e34854d81081e5296
Remove obsoleted & Unenforced PermissionSet
denfromufa/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,dmitriyse/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,vmuriart/pythonnet,Konstantin-Posudevskiy/pythonnet,vmuriart/pythonnet,QuantConnect/pythonnet,Konstantin-Posudevskiy/pythonnet,pytho...
src/console/AssemblyInfo.cs
src/console/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Security.Permissions; [assembly: AssemblyProduct("Python for .NET")] [assembly: AssemblyVersion("2.4.2.7")] [assembly: AssemblyTitle("Python Console")] [assembly: AssemblyDefaultAlias("python.exe")] [assem...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Security.Permissions; [assembly: AssemblyProduct("Python for .NET")] [assembly: AssemblyVersion("2.4.2.7")] [assembly: AssemblyTitle("Python Console")] [assembly: AssemblyDefaultAlias("python.exe")] [assem...
mit
C#
7e6d5a28b1bd2bb93a1a629f0988d7ecef60cc48
Scale up TestCaseHitObjects so detail is a bit more visible.
peppy/osu,ppy/osu,Damnae/osu,ppy/osu,ZLima12/osu,DrabWeb/osu,peppy/osu-new,RedNesto/osu,DrabWeb/osu,UselessToucan/osu,Drezi126/osu,smoogipooo/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,tacchinotacchi/osu,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,osu-RP/osu-RP,default0/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ny...
osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs
osu.Desktop.VisualTests/Tests/TestCaseHitObjects.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Beatmaps.Objects; using osu.G...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework; using osu.Framework.GameModes.Testing; using osu.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Beatmaps.Objects; using osu.G...
mit
C#
dce85ed1ee6f600c71cb3803b8dde059166a028c
Change default exception to CallNotReceivedException and CallReceivedException in NSubtitute adapter.
machine/machine.fakes,machine/machine.fakes
Source/Machine.Fakes.Adapters.NSubstitute/NSubstituteMethodCallOccurance.cs
Source/Machine.Fakes.Adapters.NSubstitute/NSubstituteMethodCallOccurance.cs
using System; using System.Linq; using System.Linq.Expressions; using Machine.Fakes.Sdk; using NSubstitute; using NSubstitute.Exceptions; namespace Machine.Fakes.Adapters.NSubstitute { internal class NSubstituteMethodCallOccurance<TFake> : IMethodCallOccurance where TFake : class { private readonly TF...
using System; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Machine.Fakes.Sdk; using NSubstitute; namespace Machine.Fakes.Adapters.NSubstitute { internal class NSubstituteMethodCallOccurance<TFake> : IMethodCallOccurance where TFake : class { ...
mit
C#
b5e688f25f015f58e9b9df58acc016387d294842
Add fog to RockModel.
saschb2b/mugo
mugo/RockModel.cs
mugo/RockModel.cs
using System; using Engine.cgimin.material.simpletexture; using Engine.cgimin.object3d; using Engine.cgimin.texture; using OpenTK; using Engine.cgimin.material.normalmapping; using Engine.cgimin.material.normalmappingfog; namespace Mugo { class RockModel : ClonedObject<RockModelInternal>, ITunnelSegementElementModel...
using System; using Engine.cgimin.material.simpletexture; using Engine.cgimin.object3d; using Engine.cgimin.texture; using OpenTK; using Engine.cgimin.material.normalmapping; namespace Mugo { class RockModel : ClonedObject<RockModelInternal>, ITunnelSegementElementModel { private static readonly NormalMappingMate...
mit
C#
d36e669cfeb0ff30452e99a44bd4237fce71c798
fix NRE in ChildProcessImpl.Dispose
KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin
src/Kirkin/Diagnostics/ChildProcess.cs
src/Kirkin/Diagnostics/ChildProcess.cs
#if !__MOBILE__ && !NETSTANDARD2_0 using System; using System.Diagnostics; using Kirkin.Windows; namespace Kirkin.Diagnostics { /// <summary> /// Utilities for creating associated processes. /// </summary> public static class ChildProcess { /// <summary> /// Starts a process whos...
#if !__MOBILE__ && !NETSTANDARD2_0 using System; using System.Diagnostics; using Kirkin.Windows; namespace Kirkin.Diagnostics { /// <summary> /// Utilities for creating associated processes. /// </summary> public static class ChildProcess { /// <summary> /// Starts a process whos...
mit
C#
920d577bb289d01af876d012828d4dfcf10151c8
Update HttpContextAccessor.cs
OrchardCMS/Orchard,mvarblow/Orchard,jagraz/Orchard,jersiovic/Orchard,ehe888/Orchard,phillipsj/Orchard,Dolphinsimon/Orchard,geertdoornbos/Orchard,IDeliverable/Orchard,Lombiq/Orchard,armanforghani/Orchard,jtkech/Orchard,LaserSrl/Orchard,omidnasri/Orchard,fassetar/Orchard,phillipsj/Orchard,ehe888/Orchard,SzymonSel/Orchard...
src/Orchard/Mvc/HttpContextAccessor.cs
src/Orchard/Mvc/HttpContextAccessor.cs
using System; using System.Web; using Autofac; namespace Orchard.Mvc { public class HttpContextAccessor : IHttpContextAccessor { readonly ILifetimeScope _lifetimeScope; private HttpContextBase _httpContext; private IWorkContextAccessor _wca; public HttpContextAccessor(ILifetimeScop...
using System; using System.Web; using Autofac; namespace Orchard.Mvc { public class HttpContextAccessor : IHttpContextAccessor { readonly ILifetimeScope _lifetimeScope; private HttpContextBase _httpContext; private IWorkContextAccessor _wca; public HttpContextAccessor(ILifetimeScop...
bsd-3-clause
C#
7f7419120f41b23a541019ab001ca87dd01c2ee4
Fix Aspect Ratio Bug
ZeBobo5/Vlc.DotNet,xue-blood/wpfVlc,jeremyVignelles/Vlc.DotNet,marcomeyer/Vlc.DotNet,xue-blood/wpfVlc,marcomeyer/Vlc.DotNet
src/Vlc.DotNet.Core/VideoManagement.cs
src/Vlc.DotNet.Core/VideoManagement.cs
using Vlc.DotNet.Core.Interops; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { internal class VideoManagement : IVideoManagement { private readonly VlcManager myManager; private readonly VlcMediaPlayerInstance myMediaPlayer; public VideoManagement(VlcManager ma...
using Vlc.DotNet.Core.Interops; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core { internal class VideoManagement : IVideoManagement { private readonly VlcManager myManager; private readonly VlcMediaPlayerInstance myMediaPlayer; public VideoManagement(VlcManager ma...
mit
C#
72b1e0cd31f1cf21e8df7277893db0ff0c7a3abe
remove IEventBaseWithType, add EventBaseExtensions
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Event/EventBase.cs
src/WeihanLi.Common/Event/EventBase.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using WeihanLi.Extensions; namespace WeihanLi.Common.Event { public interface IEventBase { /// <summary> /// Event publish time /// </summary> DateTimeOffset EventAt { get; } /// <summary> /// eve...
using Newtonsoft.Json; using System; namespace WeihanLi.Common.Event { public interface IEventBase { /// <summary> /// Event publish time /// </summary> DateTimeOffset EventAt { get; } /// <summary> /// eventId /// </summary> string EventId { ge...
mit
C#
9bfacbc552176f1eed9f2503f18ec1a0b3450f80
Fix encoding on quickstart
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
kms/api/Kms.Samples/Quickstart.cs
kms/api/Kms.Samples/Quickstart.cs
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
C#
62156d6bdd9d31c594185712ae8cfd7c00e2c335
Fix IIS integration (#15)
dukeofharen/wolk,dukeofharen/wolk,dukeofharen/wolk,dukeofharen/wolk,dukeofharen/wolk,dukeofharen/wolk
src/Ducode.Wolk.Api/Program.cs
src/Ducode.Wolk.Api/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Ducode.Wolk.Api { public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; namespace Ducode.Wolk.Api { public cla...
mit
C#
7fa863b241212f4472cb5847ef6f2a51dfec97f0
Add library credits to "About" text
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/AboutHelper.cs
DesktopWidgets/Helpers/AboutHelper.cs
using System.Collections.Generic; using System.Linq; using System.Text; using DesktopWidgets.Classes; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class AboutHelper { public static string AboutText { get { var stringB...
using System.Text; using DesktopWidgets.Classes; using DesktopWidgets.Properties; namespace DesktopWidgets.Helpers { public static class AboutHelper { public static string AboutText { get { var stringBuilder = new StringBuilder(); string...
apache-2.0
C#
9d8f936e38c267756c96d803ec56f5943822ab77
rename class
SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Perspex,Super...
src/Avalonia.Dialogs/ManagedFileDialogExtensions.cs
src/Avalonia.Dialogs/ManagedFileDialogExtensions.cs
using System; using System.Linq; using System.Threading.Tasks; using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia.Dialogs; using Avalonia.Platform; namespace Avalonia.Dialogs { public static class ManagedFileDialogExtensions { class ManagedSystemDialogImpl<T> : ISystemD...
using System; using System.Linq; using System.Threading.Tasks; using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Platform; using Avalonia.Dialogs; using Avalonia.Platform; namespace Avalonia.Dialogs { public static class ManagedFileDialogExtensions { class CustomWindowManagedSystemDialogImpl<T...
mit
C#
cf1c9c813d7e67f3fd3c1db41fb5aba54936eee8
Handle missing nxlog.log file errors
modulexcite/LogSearchShipper,cityindex/LogSearchShipper
src/LogsearchShipper.Core/NxLog/NxLogFileWatcher.cs
src/LogsearchShipper.Core/NxLog/NxLogFileWatcher.cs
using System; using System.IO; using System.Linq; using System.Threading; using log4net; namespace LogSearchShipper.Core.NxLog { public class NxLogFileWatcher { private static readonly ILog _log = LogManager.GetLogger(typeof (NxLogFileWatcher)); private readonly NxLogProcessManager _nxLogProcessManager; priv...
using System; using System.IO; using System.Linq; using System.Threading; using log4net; namespace LogSearchShipper.Core.NxLog { public class NxLogFileWatcher { private static readonly ILog _log = LogManager.GetLogger(typeof (NxLogFileWatcher)); private readonly NxLogProcessManager _nxLogProcessManager; priv...
apache-2.0
C#
f35eeabb50eaea966b0a54c9d834d7e72f7142a9
Extend the generics test
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
tests/generics/generics.cs
tests/generics/generics.cs
using System; public interface IConsoleWriteable { void WriteToConsole(); } public class ConsoleWriteableInt : IConsoleWriteable { public ConsoleWriteableInt(int value) { this.value = value; } private int value; public void WriteToConsole() { Console.Write(value); ...
using System; public class Box<T> { public Box(T value) { this.value = value; } public T value; } public static class Program { public static void Main() { var box = new Box<int>(14); Console.Write(box.value); Console.Write(' '); box.value = 42; ...
mit
C#
caaa84d381a200d6f3ef9b57b5eb68d89b08b5ae
Use queue instead of recursion
xPaw/adventofcode-solutions,xPaw/adventofcode-solutions,xPaw/adventofcode-solutions
2021/Answers/Solutions/Day9.cs
2021/Answers/Solutions/Day9.cs
using System; using System.Collections.Generic; using System.Linq; namespace AdventOfCode2021; [Answer(9)] class Day9 : IAnswer { int MaxY; int MaxX; public (string Part1, string Part2) Solve(string input) { var locations = input .Split('\n') .Select(l => { var numbers = new int[l.Length]; fo...
using System; using System.Collections.Generic; using System.Linq; namespace AdventOfCode2021; [Answer(9)] class Day9 : IAnswer { int MaxY; int MaxX; public (string Part1, string Part2) Solve(string input) { var locations = input .Split('\n') .Select(l => { var numbers = new int[l.Length]; fo...
unlicense
C#
db0c365bc2dc3ffc1933b58620df2584530189f4
Fix nullreference when try to call disabled component
NataliaDSmirnova/CGAdvanced2017
Assets/Scripts/ClipPlane.cs
Assets/Scripts/ClipPlane.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClipPlane : MonoBehaviour { // input objects public Slider slider; public Material clipPlaneMaterial; // private objects private Renderer cube; private float clipX; void Star...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ClipPlane : MonoBehaviour { // input objects public Slider slider; public Material clipPlaneMaterial; // private objects private Renderer cube; private float clipX; void Star...
mit
C#
02b557e3900ee347f4f4b236cd8202413cfd9afc
Add code to create XML file
fredatgithub/GetQuote
CreateXMLFile/Program.cs
CreateXMLFile/Program.cs
using System; using System.Collections.Generic; using System.IO; namespace CreateXMLFile { internal static class Program { private static void Main() { const string fileName = "quotes-cleaned.txt"; const string XmlFileName = "quotes-XML.txt"; Dictionary<string, string> dicoQuotes = new D...
using System; using System.Collections.Generic; using System.IO; namespace CreateXMLFile { internal static class Program { private static void Main() { const string fileName = "quotes.txt"; Dictionary<string, string> dicoQuotes = new Dictionary<string, string>(); List<string> quotesList ...
mit
C#
c19681c914cbcc99b4211aff21d03c14716327b7
Add wallet journal and transaction endpoints.
wranders/ESISharp
ESISharp/Path/Character/Wallet.cs
ESISharp/Path/Character/Wallet.cs
using ESISharp.Web; namespace ESISharp.ESIPath.Character { /// <summary>Authenticated Character Wallet paths</summary> public class CharacterWallet { protected ESIEve EasyObject; internal CharacterWallet(ESIEve EasyEve) { EasyObject = EasyEve; } /// <s...
using ESISharp.Web; namespace ESISharp.ESIPath.Character { /// <summary>Authenticated Character Wallet paths</summary> public class CharacterWallet { protected ESIEve EasyObject; internal CharacterWallet(ESIEve EasyEve) { EasyObject = EasyEve; } /// <s...
mit
C#
db3a6087c1e943e9c3c2c2d65f91c265a9576f06
Delete unsupported flag.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
src/MySqlConnector/Serialization/HandshakeResponse41Packet.cs
src/MySqlConnector/Serialization/HandshakeResponse41Packet.cs
namespace MySql.Data.Serialization { internal sealed class HandshakeResponse41Packet { private static PayloadWriter CreateCapabilitiesPayload(ProtocolCapabilities serverCapabilities, ConnectionSettings cs, bool useCompression, ProtocolCapabilities additionalCapabilities=0) { var writer = new PayloadWriter(); ...
namespace MySql.Data.Serialization { internal sealed class HandshakeResponse41Packet { private static PayloadWriter CreateCapabilitiesPayload(ProtocolCapabilities serverCapabilities, ConnectionSettings cs, bool useCompression, ProtocolCapabilities additionalCapabilities=0) { var writer = new PayloadWriter(); ...
mit
C#
46087a61ad5a6746e588ad16ef9278ae4eaecb3f
allow empty table prefix
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/Config/SqlPersistenceConfig_TablePrefix.cs
src/SqlPersistence/Config/SqlPersistenceConfig_TablePrefix.cs
using NServiceBus.Configuration.AdvanceExtensibility; using NServiceBus.Persistence.Sql; using NServiceBus.Settings; namespace NServiceBus { public static partial class SqlPersistenceConfig { public static void TablePrefix(this PersistenceExtensions<SqlPersistence> configuration, string tablePrefix) ...
using NServiceBus.Configuration.AdvanceExtensibility; using NServiceBus.Persistence.Sql; using NServiceBus.Settings; namespace NServiceBus { public static partial class SqlPersistenceConfig { public static void TablePrefix(this PersistenceExtensions<SqlPersistence> configuration, string tablePrefix) ...
mit
C#
47bd1e1f1446f20e50ed4e40446224b7dff0f90a
remove hanging <
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> <h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 4 - 6 weeks.</h3> <strong> ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> <h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 4 - 6 weeks.</h3> <strong> ...
mit
C#
5bddc15b5111af1a5bd628ec2abfb9c3160cff7c
order properties base type first
kevinphelps/base-rest
BaseWeb/WebApiContractResolver.cs
BaseWeb/WebApiContractResolver.cs
using BaseService.General; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; using System.Linq; using System.Reflection; using System; namespace BaseWeb { public class WebApiContractResolver : CamelCasePropertyNamesContractResolver { protected override JsonP...
using BaseService.General; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Linq; using System.Reflection; namespace BaseWeb { public class WebApiContractResolver : CamelCasePropertyNamesContractResolver { protected override JsonProperty CreateProperty(MemberInfo member, Member...
mit
C#
fba9e9c085838ef54417893f6be7d91c810662ff
Add xmldoc for `Repeat`
smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework/Input/Events/KeyBindingPressEvent.cs
osu.Framework/Input/Events/KeyBindingPressEvent.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.States; namespace osu.Framework.Input.Events { /// <summary> /// An event representing a press of a key binding combination. /// </...
// 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.States; namespace osu.Framework.Input.Events { /// <summary> /// An event representing a press of a key binding combination. /// </...
mit
C#
2300c7a8273cd16cf8e6548bac8895ddb0b9a773
Reduce SDL logging verbosity on GetProcAddress()
ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Platform/SDL2/SDL2GraphicsBackend.cs
osu.Framework/Platform/SDL2/SDL2GraphicsBackend.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 SDL2; namespace osu.Framework.Platform.SDL2 { /// <summary> /// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op...
// 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 SDL2; namespace osu.Framework.Platform.SDL2 { /// <summary> /// Implementation of <see cref="PassthroughGraphicsBackend"/> that uses SDL's Op...
mit
C#
b5043f2f6f22a6a5329b20cbfefb92a2e6f4b2f9
Fix comment spacing
EMarshal/LockShowWindowContents
LockShowWindowContents/Program.cs
LockShowWindowContents/Program.cs
// <copyright file="Program.cs" company="Éli Marshal"> // Copyright (c) Éli Marshal. All rights reserved. // </copyright> namespace LockShowWindowContents { using LockShowWindowContents.Helpers; using System; /// <summary> /// The main class to set "Show window contents while dragging" console-st...
// <copyright file="Program.cs" company="Éli Marshal"> // Copyright (c) Éli Marshal. All rights reserved. // </copyright> namespace LockShowWindowContents { using LockShowWindowContents.Helpers; using System; /// <summary> /// The main class to set "Show window contents while dragging" console-style....
isc
C#
2f251be9bd91aa39f0bb5df453801444f18b4bdc
Clean up ToComment so it handles a few edge cases a bit better
SamSaffron/DataExplorerPG,SamSaffron/DataExplorerPG,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer
App/StackExchange.DataExplorer/Models/Query.cs
App/StackExchange.DataExplorer/Models/Query.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
mit
C#
27057ed1804a61861ff6c5910a87cbcbffe21de7
Fix navbar toggle
azyobuzin/NuGetCalcWeb,azyobuzin/NuGetCalcWeb
NuGetCalcWeb/Views/_Layout.cshtml
NuGetCalcWeb/Views/_Layout.cshtml
@using NuGetCalcWeb.ViewModels @inherits AppTemplateBase<dynamic> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>@ViewBag.Title</title> @if (ViewBag.NoIndex != null && (bool)ViewBag.NoIndex) { <meta name="robots" content="noindex" /> } <meta name="viewport" content="width...
@using NuGetCalcWeb.ViewModels @inherits AppTemplateBase<dynamic> <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>@ViewBag.Title</title> @if (ViewBag.NoIndex != null && (bool)ViewBag.NoIndex) { <meta name="robots" content="noindex" /> } <meta name="viewport" content="width...
mit
C#
e66f4a6616edf66f5c3735057213a3a24dca8424
Add new test case for Range.Ints()
henrikfroehling/RangeIt
Source/Tests/RangeIt.Tests/Ranges/Range_Ints_Tests.cs
Source/Tests/RangeIt.Tests/Ranges/Range_Ints_Tests.cs
namespace RangeIt.Tests.Ranges { using FluentAssertions; using RangeIt.Ranges; using Xunit; [Collection("Range.Ints.Tests")] public class Range_Ints_Tests { [Fact] public void Test_Range_Ints() { var range = Range.Ints(10); range.Should().NotBeN...
namespace RangeIt.Tests.Ranges { using FluentAssertions; using RangeIt.Ranges; using Xunit; [Collection("Range.Ints.Tests")] public class Range_Ints_Tests { [Fact] public void Test_Range_Ints() { var range = Range.Ints(10); range.Should().NotBeN...
mit
C#
dc7e6da36f6d7dea97da811ac22d56adab389ea4
Change StartServer signature to take mainprocess's id as parameter
ramik/ChildProcessUtil
ChildProcessUtil/Program.cs
ChildProcessUtil/Program.cs
using System; using System.Collections.Generic; using System.Threading; using Nancy; using Nancy.Hosting.Self; namespace ChildProcessUtil { public class Program { private const string HttpAddress = "http://localhost:"; private static NancyHost host; private static void Main(string[] ar...
using System; using System.Collections.Generic; using Nancy; using Nancy.Hosting.Self; namespace ChildProcessUtil { public class Program { private const string HttpAddress = "http://localhost:"; private static NancyHost host; private static void Main(string[] args) { ...
mit
C#
06f107f8274fdd679c2b9047edc58d143f45f35d
Update MonkeyKing.cs
metaphorce/leaguesharp
MetaSmite/Champions/MonkeyKing.cs
MetaSmite/Champions/MonkeyKing.cs
using System; using LeagueSharp; using LeagueSharp.Common; namespace MetaSmite.Champions { public static class MonkeyKing { internal static Spell champSpell; private static Menu Config = MetaSmite.Config; private static double totalDamage; private static double spellDamage; ...
using System; using LeagueSharp; using LeagueSharp.Common; namespace MetaSmite.Champions { public static class MonkeyKing { internal static Spell champSpell; private static Menu Config = MetaSmite.Config; private static double totalDamage; private static double spellDamage; ...
mit
C#
f53c8fa4e93859ff946f2a4b072ce9092121c469
Fix typo in PercentToNextTier
glitch100/Halo-API
HaloEzAPI/Model/Response/Stats/CSR.cs
HaloEzAPI/Model/Response/Stats/CSR.cs
namespace HaloEzAPI.Model.Response.Stats { public class CSR { public int Tier { get; set; } public int DesignationId { get; set; } public int Csr { get; set; } public int PercentToNextTier { get; set; } public int? Rank { get; set; } } }
namespace HaloEzAPI.Model.Response.Stats { public class CSR { public int Tier { get; set; } public int DesignationId { get; set; } public int Csr { get; set; } public int PercentTotNextTier { get; set; } public int? Rank { get; set; } } }
mit
C#
95579ba722214276c5163f87792fbe83a7839a93
refactor test
StefanBertels/language-ext,StanJav/language-ext,louthy/language-ext
LanguageExt.Tests/EitherAsyncTests.cs
LanguageExt.Tests/EitherAsyncTests.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using static LanguageExt.Prelude; namespace LanguageExt.Tests { using Xunit; public class EitherAsyncTests { [Fact] public async Task ToAsyncExtensionLeftTest() { var eithe...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using static LanguageExt.Prelude; namespace LanguageExt.Tests { using Xunit; public class EitherAsyncTests { [Fact] public async Task ToAsyncExtensionLeftTest() { var eithe...
mit
C#
f76c0c751aad48e47fbf0037f8ff0fd9e60b1d50
mark unchanging fields as readonly
Kingloo/Pingy
src/Gui/App.xaml.cs
src/Gui/App.xaml.cs
using System; using System.IO; using System.Windows; using System.Windows.Threading; using Pingy.Common; namespace Pingy.Gui { public partial class App : Application { private readonly static string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); private re...
using System; using System.IO; using System.Windows; using System.Windows.Threading; using Pingy.Common; namespace Pingy.Gui { public partial class App : Application { private static string defaultDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments); private static stri...
unlicense
C#
860d0123e159b6e86a269bd6541b2a5111ee8de0
Add missing properties
davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/Containers/Column.cs
SurveyMonkey/Containers/Column.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Column { public long? Id { get; set; } public int? Position { get; set; } public string Text { get; set; } public bool? V...
using System.Collections.Generic; using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class Column { public long? Id { get; set; } public int? Position { get; set; } public string Text { get; set; } public bool? V...
mit
C#
505a492bc7eb81a5932a0cbb18ad0a0ce9704ea3
Fix verbossing
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LMP.Tests/XmlConverterTests.cs
LMP.Tests/XmlConverterTests.cs
using LunaCommon.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace LMP.Tests { [TestClass] public class XmlConverterTests { private static readonly string XmlExamplePath = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "XmlExampleFiles"); [Test...
using LunaCommon.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace LMP.Tests { [TestClass] public class XmlConverterTests { private static readonly string XmlExamplePath = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "XmlExampleFiles"); [Test...
mit
C#
044baa46dbfc3e6329516e433b7423cc3f272068
Update UnitOfWorkBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/UnitOfWorkBase.cs
TIKSN.Core/Data/UnitOfWorkBase.cs
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public abstract class UnitOfWorkBase : IUnitOfWork { public abstract Task CompleteAsync(CancellationToken cancellationToken); public abstract Task DiscardAsync(CancellationToken cancellationToken); ...
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public abstract class UnitOfWorkBase : IUnitOfWork { public abstract Task CompleteAsync(CancellationToken cancellationToken); public abstract Task DiscardAsync(CancellationToken cancellationToken); ...
mit
C#
b216a90ffda5d26d32c6e68a94ab4e1968027491
Handle bad feature footprint values without exceptions
MHeasell/Mappy,MHeasell/Mappy
Mappy/Data/FeatureRecord.cs
Mappy/Data/FeatureRecord.cs
namespace Mappy.Data { using System; using Mappy.Util; using TAUtil.Tdf; public class FeatureRecord { public string Name { get; set; } public string World { get; set; } public string Category { get; set; } public int FootprintX { get; set; } ...
namespace Mappy.Data { using System; using Mappy.Util; using TAUtil.Tdf; public class FeatureRecord { public string Name { get; set; } public string World { get; set; } public string Category { get; set; } public int FootprintX { get; set; } ...
mit
C#
7f37e810e2489b059ee2b52997e9655711b33012
Rearrange query string parameters limit and cursor
Krusen/PinSharp
PinSharp/Api/PathBuilder.cs
PinSharp/Api/PathBuilder.cs
using System.Linq; namespace PinSharp.Api { internal class PathBuilder { public static string BuildPath(string basePath, RequestOptions options) { var path = basePath; if (!path.EndsWith("/")) path += "/"; if (options?.SearchQuery != null) ...
using System.Linq; namespace PinSharp.Api { internal class PathBuilder { public static string BuildPath(string basePath, RequestOptions options) { var path = basePath; if (!path.EndsWith("/")) path += "/"; if (options?.SearchQuery != null) ...
unlicense
C#
563855d44479cd820376905127add5bd4842a95e
bump version
RainwayApp/warden
Warden/Properties/AssemblyInfo.cs
Warden/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: AssemblyTit...
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: AssemblyTit...
apache-2.0
C#
b8e9d2a3d6ca35c02299ace0564ec112d3f1dc74
Remove unused methods
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/ViewModels/AchievementTypeViewModel.cs
R7.University/ViewModels/AchievementTypeViewModel.cs
// // AchievementTypeViewModel.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // ...
// // AchievementTypeViewModel.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015-2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // ...
agpl-3.0
C#
2753c57ad5d662c46a033acaffdfb912c8f2b880
Implement properties
charlenni/Mapsui,charlenni/Mapsui
Mapsui/MRect2.cs
Mapsui/MRect2.cs
namespace Mapsui; public class MRect2 { public MPoint Max { get; } public MPoint Min { get; } public double MaxX => Max.X; public double MaxY => Max.Y; public double MinX => Min.X; public double MinY => Min.Y; MPoint Centroid => new MPoint(Max.X - Min.X, Max.Y - Min.Y); double Widt...
namespace Mapsui; public class MRect2 { //double Bottom { get; } //MPoint BottomLeft { get; } //MPoint BottomRight { get; } //MPoint Centroid { get; } //double Height { get; } //double Left { get; } //MPoint Max { get; set; } //double MaxX { get; } //double MaxY { get; } //MPoi...
mit
C#
a17744421780b4da5b348a70d9c2540f260335fe
Add new test for TreeView
TheBrainTech/xwt,directhex/xwt,steffenWi/xwt,iainx/xwt,mminns/xwt,mono/xwt,residuum/xwt,sevoku/xwt,mminns/xwt,hamekoz/xwt,akrisiun/xwt,antmicro/xwt,hwthomas/xwt,lytico/xwt,cra0zy/xwt
Testing/Tests/TreeViewTests.cs
Testing/Tests/TreeViewTests.cs
// // TreeViewTests.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 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 restriction...
// // TreeViewTests.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 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 restriction...
mit
C#
c5a7ea1618ecc50c218b4ef3657374ccc365719f
Rearrange ObjModule declarations and move comments to correct place
robotii/Wren.NET,robotii/Wren.NET,robotii/Wren.NET,robotii/Wren.NET,robotii/Wren.NET
Wren.Core/Objects/ObjModule.cs
Wren.Core/Objects/ObjModule.cs
using System.Collections.Generic; using Wren.Core.VM; namespace Wren.Core.Objects { // A loaded module and the top-level variables it defines. public class ObjModule: Obj { public const int MaxModuleVars = 65536; // The currently defined top-level variables. public List<ModuleVari...
using System.Collections.Generic; using Wren.Core.VM; namespace Wren.Core.Objects { // A loaded module and the top-level variables it defines. public class ObjModule: Obj { public const int MaxModuleVars = 65536; // The currently defined top-level variables. // The name of the mo...
mit
C#
0b4e7bc6194fb90a4297d72528b304f0f944ffd0
Allow null check of FetchID
gatzka/cs-jet,gatzka/SharpJet,leistner/SharpJet
SharpJet/FetchId.cs
SharpJet/FetchId.cs
// <copyright file="FetchId.cs" company="Hottinger Baldwin Messtechnik GmbH"> // // SharpJet, a library to communicate with Jet IPC. // // The MIT License (MIT) // // Copyright (C) Hottinger Baldwin Messtechnik GmbH // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software ...
// <copyright file="FetchId.cs" company="Hottinger Baldwin Messtechnik GmbH"> // // SharpJet, a library to communicate with Jet IPC. // // The MIT License (MIT) // // Copyright (C) Hottinger Baldwin Messtechnik GmbH // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software ...
mit
C#
fa10139ad42fcd6f6fb99475a34d6fbe428289e9
check all block heights in blockchain constructor in debug
ArsenShnurkov/BitSharp
BitSharp.Data/Blockchain.cs
BitSharp.Data/Blockchain.cs
using BitSharp.Common; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data { public struct Blockchain { //TODO use ...
using BitSharp.Common; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data { public struct Blockchain { //TODO use ...
unlicense
C#
6b4bebfa8ff81d7324a0e8594af5b68663a8e121
Solve helper scripts warnings
uulltt/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/Helper/ParticleHelper.cs
Assets/Scripts/Helper/ParticleHelper.cs
using UnityEngine; using System.Collections; public class ParticleHelper { /// <summary> /// Sets the emission rate (single float only) /// </summary> /// <param name="particleSystem"></param> /// <param name="rate"></param> public static void setEmissionRate(ParticleSystem particleSystem, float rate) { Part...
using UnityEngine; using System.Collections; public class ParticleHelper { /// <summary> /// Sets the emission rate (single float only) /// </summary> /// <param name="particleSystem"></param> /// <param name="rate"></param> public static void setEmissionRate(ParticleSystem particleSystem, float rate) { Part...
mit
C#
c7f43db0ab8fa9309435fb7ea2606b90ec428977
add error message when shader is not found
Elringus/SpriteGlow,Elringus/SpriteGlow
Assets/SpriteGlow/SpriteGlowMaterial.cs
Assets/SpriteGlow/SpriteGlowMaterial.cs
using System.Collections.Generic; using UnityEngine; public class SpriteGlowMaterial : Material { public Texture SpriteTexture { get { return mainTexture; } } public bool DrawOutside { get { return IsKeywordEnabled(OUTSIDE_MATERIAL_KEYWORD); } } public bool InstancingEnabled { get { return enableInstancin...
using System.Collections.Generic; using UnityEngine; public class SpriteGlowMaterial : Material { public Texture SpriteTexture { get { return mainTexture; } } public bool DrawOutside { get { return IsKeywordEnabled(OUTSIDE_MATERIAL_KEYWORD); } } public bool InstancingEnabled { get { return enableInstancin...
mit
C#
c8fb0f1df3a3e8f5788bcff8f54900e8bec5d2a2
Fix wrong method info for RaiseSelectionEvents
punker76/Controlz,ControlzEx/ControlzEx
src/ControlzEx/Internal/SelectorAutomationPeerExtensions.cs
src/ControlzEx/Internal/SelectorAutomationPeerExtensions.cs
namespace ControlzEx.Internal { using System.Reflection; using System.Windows.Automation.Peers; using System.Windows.Controls; internal static class SelectorAutomationPeerExtensions { private static readonly MethodInfo RaiseSelectionEventsMethodInfo = typeof(SelectorAutomationPeer).GetMeth...
namespace ControlzEx.Internal { using System.Reflection; using System.Windows.Automation.Peers; using System.Windows.Controls; internal static class SelectorAutomationPeerExtensions { private static readonly MethodInfo RaiseSelectionEventsMethodInfo = typeof(SelectorAutomationPeer).GetMeth...
mit
C#
f7bddf45f85f4b09898a1c40f50dc438c146940d
Use ModernHttpClient for the message stream
flagbug/UnofficialGitterApp
Gitter/Gitter/IGitterApi.cs
Gitter/Gitter/IGitterApi.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Text; using System.Threading; using System.Threading.Tasks; using Gitter.Models; using ModernHttpClient; using Newtonsoft.Jso...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Text; using System.Threading; using System.Threading.Tasks; using Gitter.Models; using ModernHttpClient; using Newtonsoft.Jso...
mit
C#
b485d35a421d62e090347134f03a138ec0ebab7c
Fix the Italy test
martinjw/Holiday
tests/PublicHolidayTests/TestItalyPublicHoliday.cs
tests/PublicHolidayTests/TestItalyPublicHoliday.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using PublicHoliday; using System; namespace PublicHolidayTests { [TestClass] public class TestItalyPublicHoliday { [DataTestMethod] [DataRow(1, 1,"New year")] [DataRow(1, 6, "Epiphany")] [DataRow(4, 17, "Easter Monday")] ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using PublicHoliday; using System; namespace PublicHolidayTests { [TestClass] public class TestItalyPublicHoliday { [DataTestMethod] [DataRow(1, 1,"New year")] [DataRow(1, 6, "Epiphany")] [DataRow(4, 17, "Easter Monday")] ...
mit
C#
6377e565fb206c5d2a524d17a8940f880bebc143
Add last disposed drawable to global statistics
peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework
osu.Framework/Allocation/AsyncDisposalQueue.cs
osu.Framework/Allocation/AsyncDisposalQueue.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 System.Threading.Tasks; using osu.Framework.Statistics; namespace osu.Framework.Allocation { /// <summary> ...
// 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 System.Threading.Tasks; namespace osu.Framework.Allocation { /// <summary> /// A queue which batches object...
mit
C#
760f7d02d9f757fb47002a4ea1c2b34699ccca84
Remove AlwaysPresent (not actually required)
smoogipoo/osu,smoogipoo/osu,ZLima12/osu,DrabWeb/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,peppy/osu,smoogipooo/osu,naoey/osu,ppy/osu,Nabile-Rahmani/...
osu.Game/Graphics/UserInterface/HoverSounds.cs
osu.Game/Graphics/UserInterface/HoverSounds.cs
// Copyright (c) 2007-2017 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.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Extensions; using ...
// Copyright (c) 2007-2017 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.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework.Extensions; using ...
mit
C#
05e4499bc11890090477cbe8d027996399a9c60a
Update FooterButtonOptions to comply with the changes in FooterButton
UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu
osu.Game/Screens/Select/FooterButtonOptions.cs
osu.Game/Screens/Select/FooterButtonOptions.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Game.Graphics; using osu.Game.Input.Bindings; namespace osu.Game.Screens.Selec...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Game.Graphics; using osuTK.Input; namespace osu.Game.Screens.Select { publ...
mit
C#
7520efef83e1ab49263888b416b49402655bf2ca
Bump Version Updated Versioning system added some console logging for key redemption.
blackpanther989/ArchiSteamFarm,blackpanther989/ArchiSteamFarm
ArchiSteamFarm/SharedInfo.cs
ArchiSteamFarm/SharedInfo.cs
/* _ _ _ ____ _ _____ / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |...
/* _ _ _ ____ _ _____ / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |...
apache-2.0
C#
724701c91f56e05499a1bc27c70332855b4efe95
Add WW2BGM, reduce music volume
DoubleDeez/heirloom
Assets/Scripts/BGMManager.cs
Assets/Scripts/BGMManager.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class BGMManager : MonoBehaviour { public Player teenager; public Player grandpa; private string[] scene_list = { "KidHouseBGM", "WW2BGM", "WW2BarBGM", "NightStreetBGM", "GrandpaH...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class BGMManager : MonoBehaviour { public Player teenager; public Player grandpa; private string[] scene_list = { "KidHouseBGM", "WW2BGM", "WW2BarBGM", "NightStreetBGM", "GrandpaH...
mit
C#
3e0125f0d57fbd86e7f501ec852782c215bffaff
add Result.ToString explicitly for nullability annotation
acple/ParsecSharp
ParsecSharp/Core/Result/Result.cs
ParsecSharp/Core/Result/Result.cs
using System; namespace ParsecSharp { public abstract class Result<TToken, T> { public abstract T Value { get; } protected IParsecStateStream<TToken> Rest { get; } protected Result(IParsecStateStream<TToken> state) { this.Rest = state; } internal a...
using System; namespace ParsecSharp { public abstract class Result<TToken, T> { public abstract T Value { get; } protected IParsecStateStream<TToken> Rest { get; } protected Result(IParsecStateStream<TToken> state) { this.Rest = state; } internal a...
mit
C#
86f4f273f146bbe427f169b55771c2f3ad7ac5f9
Update Simple-Calculator.cs
DeanCabral/Code-Snippets
Console/Simple-Calculator.cs
Console/Simple-Calculator.cs
class Calculator { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { string input = ""; Console.Write("Enter calculation: "); input = Console.ReadLine(); Console.WriteLine("{0} = {1}...
class Calculator { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { string input = ""; Console.Write("Enter calculation: "); input = Console.ReadLine(); Console.WriteLine("{0} = {1}...
mit
C#
87bffd12a667aff394b4e40a2aaa5b4ad197bbd5
Update TravelToQuestZone
TheNoobCompany/LevelingQuestsTNB,F0rTh3H0rd3/LevelingQuestsTNB
Profiles/Quester/Scripts/27237.cs
Profiles/Quester/Scripts/27237.cs
/* UseItem HotSpots (ClickToMove)! */ /* Check if there is HotSpots in the objective */ if (questObjective.Hotspots.Count <= 0) { /* Objective CSharpScript with script InteractWithHotSpots requires valid "Hotspots" */ Logging.Write("InteractWithHotSpots requires valid 'HotSpots'."); questObjective.IsObjectiveComplet...
/* UseItem HotSpots (ClickToMove)! */ /* Check if there is HotSpots in the objective */ if (questObjective.Hotspots.Count <= 0) { /* Objective CSharpScript with script InteractWithHotSpots requires valid "Hotspots" */ Logging.Write("InteractWithHotSpots requires valid 'HotSpots'."); questObjective.IsObjectiveComplet...
mit
C#
af5359e811d14c4be442fb5ae063cd22642bcda0
Fix to use ActiveInHierarchy.
skahal/SpaceInvadersRemake
src/SpaceInvadersRemake/Assets/Scripts/ShooterBase.cs
src/SpaceInvadersRemake/Assets/Scripts/ShooterBase.cs
using UnityEngine; using System.Collections; public abstract class ShooterBase: MonoBehaviour { private Projectile m_projectile; protected virtual void Awake() { SetupShooter (); } protected virtual void Update() { Shoot (); } void SetupShooter() { m_projectile = transform.FindChild("Projectile") .GetC...
using UnityEngine; using System.Collections; public abstract class ShooterBase: MonoBehaviour { private Projectile m_projectile; protected virtual void Awake() { SetupShooter (); } protected virtual void Update() { Shoot (); } void SetupShooter() { m_projectile = transform.FindChild("Projectile") .GetC...
mit
C#
edda62061ddffe84096d359a5d3d655e7effb2d2
Remove unused field.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex.Domain.Apps.Core.Model/Contents/Status.cs
src/Squidex.Domain.Apps.Core.Model/Contents/Status.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
mit
C#
8098c95fe8cc0a70ac88c0787af5ca892d3355e9
Fix reassignment
rc1/BowieCode
Components/Editor/GridRepeaterEditor.cs
Components/Editor/GridRepeaterEditor.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace BowieCode { [CustomEditor(typeof(GridRepeater))] public class GridRepeaterEditor : Editor { public override void OnInspectorGUI() { GridRepeater gridRepeater = (GridRepeater)target; DrawDefaultInsp...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace BowieCode { [CustomEditor(typeof(GridRepeater))] public class GridRepeaterEditor : Editor { public override void OnInspectorGUI() { GridRepeater target = (GridRepeater)target; DrawDefaultInspector ...
mit
C#
419c0a6659f8cad2c2dd5e89c0fc27cc88425638
Refactor to use card extensions
Dootrix/Hearts
Hearts/Extensions/CardListExtensions.cs
Hearts/Extensions/CardListExtensions.cs
using Hearts.Model; using System; using System.Collections.Generic; using System.Linq; using Hearts.Scoring; namespace Hearts.Extensions { public static class CardListExtensions { public static void Log(this IEnumerable<Card> self, string name) { int padToLength = 38; L...
using Hearts.Model; using System; using System.Collections.Generic; using System.Linq; using Hearts.Scoring; namespace Hearts.Extensions { public static class CardListExtensions { public static void Log(this IEnumerable<Card> self, string name) { int padToLength = 38; L...
mit
C#
2b2aba9b072baf3cf89d4f47f719d46ddea7c8ff
Add radix to parseInt
ritterim/AspNetBrowserLocale,kendaleiv/AspNetBrowserLocale
src/Core/HtmlHelpers.cs
src/Core/HtmlHelpers.cs
using System; using System.Web.Mvc; namespace AspNetBrowserLocale.Core { public static class HtmlHelpers { public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper) { return MvcHtmlString.Create( @"<script> var elements = document.querySelectorAll('[data-...
using System; using System.Web.Mvc; namespace AspNetBrowserLocale.Core { public static class HtmlHelpers { public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper) { return MvcHtmlString.Create( @"<script> var elements = document.querySelectorAll('[data-...
mit
C#
e01102543fb7278468f6a65ffcc6026449f3b712
Use `TestCase` attribute in parser tests.
mrward/Pash,sburnicki/Pash,mrward/Pash,Jaykul/Pash,Jaykul/Pash,sburnicki/Pash,JayBazuzi/Pash,ForNeVeR/Pash,Jaykul/Pash,ForNeVeR/Pash,Jaykul/Pash,JayBazuzi/Pash,mrward/Pash,WimObiwan/Pash,ForNeVeR/Pash,mrward/Pash,WimObiwan/Pash,ForNeVeR/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,sburnicki/Pash,sillvan/Pash,JayBazuzi...
Source/ParserTests/ParserTests.cs
Source/ParserTests/ParserTests.cs
using NUnit.Framework; using Pash.ParserIntrinsics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ParserTests { [TestFixture] public class ParserTests { [Test] [TestCase(@"if ($true) {} else {}")] [TestCase(@"if ($true) {} elseif ($...
using NUnit.Framework; using Pash.ParserIntrinsics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ParserTests { [TestFixture] public class ParserTests { [Test] public void IfTest() { var parseTree = PowerShellGrammar.Par...
bsd-3-clause
C#
8b14068712528e1253ff1d46d07656c4926109f9
Fix icons on session details page
anurse/ConferencePlanner,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,anurse/ConferencePlanner,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,jongalloway/aspnetcore-app-...
src/FrontEnd/Pages/Session.cshtml
src/FrontEnd/Pages/Session.cshtml
@page "{id}" @model SessionModel <ol class="breadcrumb"> <li><a asp-page="/Index">Agenda</a></li> <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li> <li class="active">@Model.Session.Title</li> </ol> <h1>@Model.Session.Title</h1> <span class="label label-default"...
@page "{id}" @model SessionModel <ol class="breadcrumb"> <li><a asp-page="/Index">Agenda</a></li> <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li> <li class="active">@Model.Session.Title</li> </ol> <h1>@Model.Session.Title</h1> <span class="label label-default"...
mit
C#
aaaebe8c1c42c19a890b6fb06f707ff0eecc3cf6
Add PublishRequestAsync method with ContextConfigurator overload
SanSYS/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit,jacobpovar/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit
src/MassTransit/TaskExtensions.cs
src/MassTransit/TaskExtensions.cs
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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...
// Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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#
bcd4f9ad5dbf609041ff0f4523b60e6360ef4883
Comment fix
Dafeesh/Unity_RequiredField
RequiredField.cs
RequiredField.cs
using UnityEngine; using System; using System.Reflection; using System.Collections.Generic; using System.Linq; using System.Collections; #if UNITY_EDITOR using UnityEditor; using UnityEditor.Callbacks; #endif [ #if UNITY_EDITOR InitializeOnLoad, #endif AttributeUsage(AttributeTargets.Field) ] public class Re...
using UnityEngine; using System; using System.Reflection; using System.Collections.Generic; using System.Linq; using System.Collections; #if UNITY_EDITOR using UnityEditor; using UnityEditor.Callbacks; #endif [ #if UNITY_EDITOR InitializeOnLoad, #endif AttributeUsage(AttributeTargets.Field) ] public class Re...
mit
C#
adb3bca307e0876fe57fcd58013ca79e76ad7f3b
Fix parameter name
ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates
Source/GraphQLTemplate/Source/GraphQLTemplate/Repositories/IDroidRepository.cs
Source/GraphQLTemplate/Source/GraphQLTemplate/Repositories/IDroidRepository.cs
namespace GraphQLTemplate.Repositories { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GraphQLTemplate.Models; public interface IDroidRepository { Task<Droid> GetDroid(Guid id, CancellationToken cancellationToken); ...
namespace GraphQLTemplate.Repositories { using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GraphQLTemplate.Models; public interface IDroidRepository { Task<Droid> GetDroid(Guid id, CancellationToken cancellationToken); ...
mit
C#
37f954690032dbecfc424c43d13c42256b76385c
Add ProcessSelect event binding in MainForm
CodeBlueDev/IMP
src/CodeBlueDev.Imp.WinForms/Forms/MainForm.cs
src/CodeBlueDev.Imp.WinForms/Forms/MainForm.cs
using System; using System.Diagnostics; using System.Windows.Forms; namespace CodeBlueDev.Imp.WinForms.Forms { public partial class MainForm : Form { private readonly ProcessSelectorForm _processSelectorForm; private Process _selectedProcess; public MainForm() { I...
using System; using System.Diagnostics; using System.Windows.Forms; namespace CodeBlueDev.Imp.WinForms.Forms { public partial class MainForm : Form { private readonly ProcessSelectorForm _processSelectorForm; private Process _selectedProcess; public MainForm() { I...
mit
C#
157337c764798bc5e870cc3826ff25a1d5e68f41
修复当本机有未准备就绪的光驱,导致的获取驱动器卷标的异常未处理。
MetSystem/Zongsoft.CoreLibrary,Zongsoft/Zongsoft.CoreLibrary,huoxudong125/Zongsoft.CoreLibrary
src/IO/LocalPath.cs
src/IO/LocalPath.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2010-2014 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2010-2014 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
lgpl-2.1
C#
2d3a06c450df5497971dca020ac922ae633bbec8
Rename test shim method name
mattolenik/winston,mattolenik/winston,mattolenik/winston
Winston.Test/DebuggerShim.cs
Winston.Test/DebuggerShim.cs
using System.Linq; using System.Reflection; using NSpec; using NSpec.Domain; using NSpec.Domain.Formatters; using Microsoft.VisualStudio.TestTools.UnitTesting; /* * Howdy, * * This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run * NSpec tests that are in the sa...
using System.Linq; using System.Reflection; using NSpec; using NSpec.Domain; using NSpec.Domain.Formatters; using Microsoft.VisualStudio.TestTools.UnitTesting; /* * Howdy, * * This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run * NSpec tests that are in the sa...
mit
C#
44a331fbe5c96c8c41d87e5bd06b159ab476e2a3
Add version-id to Constants.Version
JKarathiya/Lean,Jay-Jay-D/LeanSTP,Phoenix1271/Lean,young-zhang/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,FrancisGauthier/Lean,mabeale/Lean,StefanoRaggi/Lean,kaffeebrauer/Lean,Phoenix1271/Lean,andrewhart098/Lean,JKarathiya/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,Jay-Jay-D/LeanSTP,devalkeralia/Lean,AnObfuscator/Lean,mabe...
Common/Constants.cs
Common/Constants.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
apache-2.0
C#
7c3ccdfb040be04ea397cb939888cd6937a189f9
add item with HiLo sequence compatibility
dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing,dotnet-architecture/eShopModernizing
src/eShopCatalogMVC/Services/CatalogService.cs
src/eShopCatalogMVC/Services/CatalogService.cs
using eShopCatalogMVC.Models; using System.Collections.Generic; using System.Data.Entity; using System.Data.SqlClient; using System.Linq; namespace eShopCatalogMVC.Services { public class CatalogService : ICatalogService { private CatalogDBContext db = new CatalogDBContext(); public List<Cata...
using eShopCatalogMVC.Models; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace eShopCatalogMVC.Services { public class CatalogService : ICatalogService { private CatalogDBContext db = new CatalogDBContext(); public List<CatalogItem> GetCatalogItems() ...
mit
C#
d8da65396648278d2dfef4d9318189204de14d73
use the correct textLength to calculate remaining
terrajobst/git-istage,terrajobst/git-istage
src/git-istage/Label.cs
src/git-istage/Label.cs
using System; namespace GitIStage { internal sealed class Label { private readonly int _top; private readonly int _left; private readonly int _width; private readonly char[] _whitespace; private ConsoleColor _foreground = Console.ForegroundColor; private Console...
using System; namespace GitIStage { internal sealed class Label { private readonly int _top; private readonly int _left; private readonly int _width; private readonly char[] _whitespace; private ConsoleColor _foreground = Console.ForegroundColor; private Console...
mit
C#
82a277fff9c08f7550f5b1d73e52ef8d6a7c9881
Update Formatter.GetCurrentSettings implementation
daviwil/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer
Engine/Formatter.cs
Engine/Formatter.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Management.Automation.Runspaces; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { public class Formatter ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Management.Automation.Runspaces; using Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer { public class Formatter ...
mit
C#
cfe6a44c66c57313742889f3a66785a8485e7293
Format error message
muntashir/Pingo
Pingo/Classes/IO.cs
Pingo/Classes/IO.cs
using System; using System.Diagnostics; using System.IO; using System.Windows; namespace Pingo { //Handles IO public class IO { protected HostList hostList; //Constuctor to get hostList from MainWindow public IO(HostList hostList) { this.hostList = hostList; ...
using System; using System.Diagnostics; using System.IO; using System.Windows; namespace Pingo { //Handles IO public class IO { protected HostList hostList; //Constuctor to get hostList from MainWindow public IO(HostList hostList) { this.hostList = hostList; ...
mit
C#
529c9ae5710e9b8f45e41b67d1312053aa8f9723
Add documentation to ICopy interface.
Xevle/Xevle.Core
Interfaces/ICopy.cs
Interfaces/ICopy.cs
using System; namespace Xevle.Core { /// <summary> /// Interface for a generic copy method /// </summary> public interface ICopy<T> { /// <summary> /// Copy the instance of T and with all internals. /// </summary> T Copy(); } }
using System; namespace Xevle.Core { /// <summary> /// Interface for a generic copy method /// </summary> public interface ICopy<T> { T Copy(); } }
mit
C#
d0fe6d68c5fb8729a71bbc23f9b46a7ae0ec17a3
Add logging for Notifications.ServiceSender and timings
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/ServiceSender.cs
CertiPay.Common.Notifications/Notifications/ServiceSender.cs
using CertiPay.Common.Logging; using CertiPay.Common.Notifications; using RestSharp.Serializers; using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace CertiPay.Notifications { public class ServiceSender : INotificationSender<EmailNotification>, INotificationSender<SMSNoti...
using CertiPay.Common.Notifications; using RestSharp.Serializers; using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace CertiPay.Notifications { public class ServiceSender : INotificationSender<EmailNotification>, INotificationSender<SMSNotification> { public ...
mit
C#
f98657566fbc3761c0674f032a453b1e61159d43
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
154a9a542da7a6f310a5105e182b40b18c5992b6
move monitor enter readlock outside of try (#2780)
CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net
src/Elasticsearch.Net/ConnectionPool/SniffingConnectionPool.cs
src/Elasticsearch.Net/ConnectionPool/SniffingConnectionPool.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Elasticsearch.Net { public class SniffingConnectionPool : StaticConnectionPool { private readonly ReaderWriterLockSlim _readerWriter = new ReaderWriterLockSlim(); /// <inheritdoc/> public override bool Support...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Elasticsearch.Net { public class SniffingConnectionPool : StaticConnectionPool { private readonly ReaderWriterLockSlim _readerWriter = new ReaderWriterLockSlim(); /// <inheritdoc/> public override bool Support...
apache-2.0
C#
faebd90cd520b26b47a553e02e0670bb2935cfa6
Change dropdown href
yyankov/club-challange,yyankov/club-challange,yyankov/club-challange
ClubChallengeBeta/Views/Shared/_DropdownPartial.cshtml
ClubChallengeBeta/Views/Shared/_DropdownPartial.cshtml
@using Microsoft.AspNet.Identity <ul class="nav navbar-nav navbar-right"> @if (Request.IsAuthenticated) { <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">@User.Identity.GetUserName()<span class="caret"></span></a> ...
@using Microsoft.AspNet.Identity <ul class="nav navbar-nav navbar-right"> @if (Request.IsAuthenticated) { <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">@User.Identity.GetUserName()<span class="caret"></span></a> ...
mit
C#
2d7e695eb09674fe277094aeef8fde1334bc134f
Remove unused field
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-yaml/src/Psi/Parsing/YamlTokenType.GenericTokenNodeType.cs
resharper/resharper-yaml/src/Psi/Parsing/YamlTokenType.GenericTokenNodeType.cs
using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree; using JetBrains.ReSharper.Psi.Parsing; using JetBrains.Text; namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing { public static partial class YamlTokenType { private sealed class GenericTokenNodeType : YamlTokenNodeType {...
using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree; using JetBrains.ReSharper.Psi.Parsing; using JetBrains.Text; namespace JetBrains.ReSharper.Plugins.Yaml.Psi.Parsing { public static partial class YamlTokenType { private sealed class GenericTokenNodeType : YamlTokenNodeType {...
apache-2.0
C#
000c288f83ba2114cdc6ec0d335c33de438c4296
Update EmbeddedFileProvider to reflect project name change
oconics/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,oconics/Ahoy,domaindrivendev/Ahoy
src/Swashbuckle.AspNetCore.SwaggerUi/Application/SwaggerUiBuilderExtensions.cs
src/Swashbuckle.AspNetCore.SwaggerUi/Application/SwaggerUiBuilderExtensions.cs
using System; using System.Reflection; using Microsoft.AspNetCore.StaticFiles; using Microsoft.Extensions.FileProviders; using Swashbuckle.AspNetCore.SwaggerUi; namespace Microsoft.AspNetCore.Builder { public static class SwaggerUiBuilderExtensions { public static IApplicationBuilder UseSwaggerUi( ...
using System; using System.Reflection; using Microsoft.AspNetCore.StaticFiles; using Microsoft.Extensions.FileProviders; using Swashbuckle.AspNetCore.SwaggerUi; namespace Microsoft.AspNetCore.Builder { public static class SwaggerUiBuilderExtensions { public static IApplicationBuilder UseSwaggerUi( ...
mit
C#
0dce155f59cad97e448eb2e2f7aa51d2e8f2302a
Drop unused streaming write option.
modulexcite/lokad-cqrs
Framework/Lokad.Cqrs.Portable/Feature.StreamingStorage/StreamingWriteOptions.cs
Framework/Lokad.Cqrs.Portable/Feature.StreamingStorage/StreamingWriteOptions.cs
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; namespace Lokad.Cqrs.Feature.StreamingStorage { [Flags] public e...
#region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License // Copyright (c) Lokad 2010-2011, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; namespace Lokad.Cqrs.Feature.StreamingStorage { [Flags] public e...
bsd-3-clause
C#
40076cfcfc322da532ab2d5bc611b47e9c48ad3e
fix nuspec directory in cake script
predictive-technology-laboratory/Xamarin.Plugins,monostefan/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins
Settings/build.cake
Settings/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Refractored.XamPlugins.Settings.sln"; const string cfg = "Release"; NuGetRes...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Refractored.XamPlugins.Settings.sln"; const string cfg = "Release"; NuGetRes...
mit
C#
dae977e3df7b321acb963490b692024af8c9a508
Add reserved constants
martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet
AIMP.SDK/MusicLibrary/DataStorage/IAimpDataField.cs
AIMP.SDK/MusicLibrary/DataStorage/IAimpDataField.cs
using System; namespace AIMP.SDK.MusicLibrary.DataStorage { public enum AimpDataFieldType { None = 0, AIMPML_FIELDTYPE_INT32 = 1, AIMPML_FIELDTYPE_INT64 = 2, AIMPML_FIELDTYPE_FLOAT = 3, AIMPML_FIELDTYPE_STRING = 4, AIMPML_FIELDTYPE_DATETIME = 10, AIMPML_...
using System; namespace AIMP.SDK.MusicLibrary.DataStorage { public enum AimpDataFieldType { None = 0, AIMPML_FIELDTYPE_INT32 = 1, AIMPML_FIELDTYPE_INT64 = 2, AIMPML_FIELDTYPE_FLOAT = 3, AIMPML_FIELDTYPE_STRING = 4, AIMPML_FIELDTYPE_DATETIME = 10, AIMPML_...
apache-2.0
C#
a5e74b0bb3e2a4ef7a21bf34deeb5c2ac6061c19
Fix field overwrite issue
csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay
CSF.Screenplay.NUnit/ScreenplayAssemblyAttribute.cs
CSF.Screenplay.NUnit/ScreenplayAssemblyAttribute.cs
using System; using CSF.Screenplay.Integration; using NUnit.Framework; using NUnit.Framework.Interfaces; namespace CSF.Screenplay.NUnit { /// <summary> /// Indicates that the assembly contains Screenplay tests. /// </summary> [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] public class Sc...
using System; using CSF.Screenplay.Integration; using NUnit.Framework; using NUnit.Framework.Interfaces; namespace CSF.Screenplay.NUnit { /// <summary> /// Indicates that the assembly contains Screenplay tests. /// </summary> [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)] public class Sc...
mit
C#
4beb1c601ee3506b1a44be536c622307d9d78c57
Add shutdown command
Iwuh/Wycademy
WycademyV2/src/WycademyV2/Commands/Modules/SettingsModule.cs
WycademyV2/src/WycademyV2/Commands/Modules/SettingsModule.cs
using Discord.Commands; using Discord.WebSocket; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WycademyV2.Commands.Preconditions; using WycademyV2.Commands.Services; namespace WycademyV2.Commands.Modules { public class SettingsModule { [Group("...
using Discord.Commands; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using WycademyV2.Commands.Services; namespace WycademyV2.Commands.Modules { public class SettingsModule { [Group("sys")] public class SystemGroup : ModuleBase { ...
mit
C#
584905ce21fb9d7f3b2e09f44dc488088178dab7
Correct Logging
BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce,15below/Ensconce
src/Ensconce/TextRendering.cs
src/Ensconce/TextRendering.cs
using System; using System.Collections.Generic; using System.IO; using FifteenBelow.Deployment.Update; namespace Ensconce { internal static class TextRendering { private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5))); ...
using System; using System.Collections.Generic; using System.IO; using FifteenBelow.Deployment.Update; namespace Ensconce { internal static class TextRendering { private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5))); ...
mit
C#
3ba6517a39ac97aaa392f9024797941a52596ef4
Bring CoreText
dlech/monomac,PlayScriptRedux/monomac
src/Foundation/NSObjectMac.cs
src/Foundation/NSObjectMac.cs
// // Copyright 2010, Novell, 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 restriction, including // without limitation the rights to use, copy, modify, merge, publish, ...
// // Copyright 2010, Novell, 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 restriction, including // without limitation the rights to use, copy, modify, merge, publish, ...
apache-2.0
C#
b6b131a16531ef5322127358454ed1e0d07d34a3
Improve naming of tests to clearly indicate the feature to be tested
oliverzick/Delizious-Filtering
src/Library.Test/NullTests.cs
src/Library.Test/NullTests.cs
#region Copyright and license // // <copyright file="NullTests.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not ...
#region Copyright and license // // <copyright file="NullTests.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not ...
apache-2.0
C#
182945a209fcd6b05c1829e21b983b0890072f06
Update the extension method test case
jonathanvdc/ecsc
tests/cs/extension-methods/ExtensionMethods.cs
tests/cs/extension-methods/ExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; public class Herp { public Herp(int X) { this.X = X; } public int X { get; private set; } } public static class HerpExtensions { public static void PrintX(this Herp Value) { Console.WriteLine(Value.X); } } ...
using System; public class Herp { public Herp(int X) { this.X = X; } public int X { get; private set; } } public static class HerpExtensions { public static void PrintX(this Herp Value) { Console.WriteLine(Value.X); } } public static class Program { public static void...
mit
C#
acb7e2668be16f429400a783c0c273ebb8c9d84e
refactor HasHardsuit method
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation
UnityProject/Assets/Scripts/Clothing/StepChanger.cs
UnityProject/Assets/Scripts/Clothing/StepChanger.cs
using UnityEngine; using static Sound.Footsteps; /// <summary> /// Handles the change of StepType when players equip or unequip this item /// </summary> public class StepChanger : MonoBehaviour, IServerInventoryMove { [SerializeField] private WearType wearType = WearType.shoes; public void OnInventoryMoveServer(I...
using UnityEngine; using static Sound.Footsteps; /// <summary> /// Handles the change of StepType when players equip or unequip this item /// </summary> public class StepChanger : MonoBehaviour, IServerInventoryMove { [SerializeField] private WearType wearType = WearType.shoes; public void OnInventoryMoveServer(I...
agpl-3.0
C#
f8649c6152681c3b41b2e7afb2ee9d896cc8e2a8
Update WPMComtrols FuncWrapper
pugachAG/univ,pugachAG/univ,pugachAG/univ
WienerProcessModel/WPMControls/Drawing/IFunction.cs
WienerProcessModel/WPMControls/Drawing/IFunction.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPMControls.Drawing { public interface IFunction { double GetValue(double x); } public class FuncWrapper<T, TResult> : IFunction { private Func<T, TResult>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WPMControls.Drawing { public interface IFunction { double GetValue(double x); } public class FuncWrapper<T, TResult> : IFunction { private Func<T, TResult>...
mit
C#
a01fb728c26674e8ac71115c22294c96771126d1
Change Logger accessor to internal
LibertyLocked/webscripthook,LibertyLocked/webscripthook,LibertyLocked/webscripthook,LibertyLocked/webscripthook
webscripthook-plugin/Logger.cs
webscripthook-plugin/Logger.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace WebScriptHook { class Logger { public static bool Enable = false; public static void Log(object message) { if (Enable) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace WebScriptHook { public static class Logger { public static bool Enable = false; public static void Log(object message) { if (Enabl...
mit
C#
7d1bd7ba39929b5a6b60789558c23454d990e2ca
Update AssemblyVersion
eWAYPayment/eway-rapid-net
eWAY.Rapid/Properties/AssemblyInfo.cs
eWAY.Rapid/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("eW...
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("eW...
mit
C#
116290e88a36cddc3711d99dbf137169496791b5
Make AdvertisedCategorySettingsViewModel public
File-New-Project/EarTrumpet
EarTrumpet/UI/ViewModels/AdvertisedCategorySettingsViewModel.cs
EarTrumpet/UI/ViewModels/AdvertisedCategorySettingsViewModel.cs
using EarTrumpet.UI.Helpers; namespace EarTrumpet.UI.ViewModels { public class AdvertisedCategorySettingsViewModel : SettingsCategoryViewModel { string _link; public AdvertisedCategorySettingsViewModel(string title, string glyph, string description, string id, string link) : base...
using EarTrumpet.UI.Helpers; namespace EarTrumpet.UI.ViewModels { class AdvertisedCategorySettingsViewModel : SettingsCategoryViewModel { string _link; public AdvertisedCategorySettingsViewModel(string title, string glyph, string description, string id, string link) : base(title,...
mit
C#
9a62b3653f335f4e066b4dc542cd45aaf1a9a41f
Set dialog flag as Router.NavigationStack.CollectionChanged observable in blocked by _isClosing
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs
using System; using System.Reactive; using System.Reactive.Linq; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class DialogScreenViewModel : ViewModelBase, IScreen { private bool _isClosing; private bool _isDialogVisible; public DialogScreenView...
using System; using System.Reactive; using System.Reactive.Linq; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class DialogScreenViewModel : ViewModelBase, IScreen { private bool _isClosing; private bool _isDialogVisible; public DialogScreenView...
mit
C#