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
80d81c30440594e4aa92d62812504086f82a95da
Reword taiko easy mod description to fit others better
peppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ppy/osu,smoogipoo/osu
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.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.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mods { public class TaikoModEasy : ModEasy { public override string Description => @"Bea...
// 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.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mods { public class TaikoModEasy : ModEasy { public override string Description => @"Bea...
mit
C#
e827b14abf5212aa0809256b4830456acda994e8
Add LayeredHitSamples skin config lookup
ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu
osu.Game/Skinning/GlobalSkinConfiguration.cs
osu.Game/Skinning/GlobalSkinConfiguration.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. namespace osu.Game.Skinning { public enum GlobalSkinConfiguration { AnimationFramerate, LayeredHitSounds, } }
// 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. namespace osu.Game.Skinning { public enum GlobalSkinConfiguration { AnimationFramerate } }
mit
C#
ea965af1c0d363412a1cd91b9cea87fe6ed1235c
Add comment for GetAsync
ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-fr...
osu.Framework/IO/Stores/IResourceStore.cs
osu.Framework/IO/Stores/IResourceStore.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.IO; using System.Threading.Tasks; namespace osu.Framework.IO.Stores { public interface IResourceStore<T> : IDisposable { ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.IO; using System.Threading.Tasks; namespace osu.Framework.IO.Stores { public interface IResourceStore<T> : IDisposable { ...
mit
C#
ec241352f852765e76d1f11c21d6aac44256203c
fix bug in dxf table writing
IxMilia/BCad,IxMilia/BCad
BCad.Dxf/Tables/DxfViewPortTable.cs
BCad.Dxf/Tables/DxfViewPortTable.cs
using BCad.Dxf.Sections; using System.Collections.Generic; using System.Linq; namespace BCad.Dxf.Tables { public class DxfViewPortTable : DxfTable { public override DxfTableType TableType { get { return DxfTableType.ViewPort; } } public List<DxfViewPort> ViewPorts ...
using BCad.Dxf.Sections; using System.Collections.Generic; using System.Linq; namespace BCad.Dxf.Tables { public class DxfViewPortTable : DxfTable { public override DxfTableType TableType { get { return DxfTableType.ViewPort; } } public List<DxfViewPort> ViewPorts ...
apache-2.0
C#
4d5a9dad88febc7bd888132a7c43eb03a13b70f8
Fix the order of the connect section
github/VisualStudio,github/VisualStudio,github/VisualStudio,HeadhunterXamd/VisualStudio,luizbon/VisualStudio
src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs
src/GitHub.VisualStudio/TeamExplorer/Connect/GitHubConnectSection1.cs
using GitHub.Api; using GitHub.Models; using GitHub.Services; using Microsoft.TeamFoundation.Controls; using System.ComponentModel.Composition; namespace GitHub.VisualStudio.TeamExplorer.Connect { [TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 10)] [PartCreationPolicy(CreationPolic...
using GitHub.Api; using GitHub.Models; using GitHub.Services; using Microsoft.TeamFoundation.Controls; using System.ComponentModel.Composition; namespace GitHub.VisualStudio.TeamExplorer.Connect { [TeamExplorerSection(GitHubConnectSection1Id, TeamExplorerPageIds.Connect, 11)] [PartCreationPolicy(CreationPolic...
mit
C#
b441b56fa7fc89df7af05bb23ec6207d486969d6
rename extensions static class
xatzipe/BatchEnumerable
Xatzipe.BatchEnumerable/Xatzipe.BatchEnumerable/Enumerable.cs
Xatzipe.BatchEnumerable/Xatzipe.BatchEnumerable/Enumerable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Xatzipe.BatchEnumerable { /// <summary> /// IEnumerable extension to iterate in batches /// </summary> public static class Enumerable { ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Xatzipe.BatchEnumerable { /// <summary> /// IEnumerable extension to iterate in batches /// </summary> public static class BatchEnumerableExtensi...
mit
C#
85e9f3843ea612656513fe962c5ed0e7f8cdc77d
add experiment note
LayoutFarm/PixelFarm
a_mini/projects/Tests/WinFormTestBed/Interfaces/Interfaces.cs
a_mini/projects/Tests/WinFormTestBed/Interfaces/Interfaces.cs
//Apache2, 2017, WinterDev namespace PaintLab { //this is an optional*** interface //that bridge our platform to another app world //with this interface, //the app dose not know about the backend engine. //suite for general client public interface IAppHost { } public interface IV...
//Apache2, 2017, WinterDev namespace PaintLab { public interface IAppHost { } public interface IViewport { IAppHost AppHost { get; } IUIRootElement Root { get; } } public interface IUIEvent { } public interface IUIElement { } public interface...
bsd-2-clause
C#
e7853cc3a052ecdc9d645b95d05ef2c7dcb6e3c6
Simplify TypeContainer class
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
csharp/extractor/Semmle.Extraction.CIL/Entities/TypeContainer.cs
csharp/extractor/Semmle.Extraction.CIL/Entities/TypeContainer.cs
using System; using Microsoft.CodeAnalysis; using System.Collections.Generic; using System.IO; namespace Semmle.Extraction.CIL.Entities { /// <summary> /// Base class for all type containers (namespaces, types, methods). /// </summary> public abstract class TypeContainer : LabelledEntity, IGenericConte...
using System; using Microsoft.CodeAnalysis; using System.Collections.Generic; using System.IO; namespace Semmle.Extraction.CIL.Entities { /// <summary> /// Base class for all type containers (namespaces, types, methods). /// </summary> public abstract class TypeContainer : IGenericContext, IExtractedEn...
mit
C#
8db90056f545ca73e4ae2f561d04499f29ea7e3d
create temp drectory for home directory in integration test
OlegKleyman/IntegrationFtpServer
tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs
tests/integration/Omego.SimpleFtp.Tests.Integration/FtpServerTests.cs
namespace Omego.SimpleFtp.Tests.Integration { using System.IO; using System.IO.Abstractions; using NUnit.Framework; [TestFixture] public class FtpServerTests { private readonly string ftpHomeDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName()); [OneTimeSetUp...
namespace Omego.SimpleFtp.Tests.Integration { using System.IO.Abstractions; using NUnit.Framework; [TestFixture] public class FtpServerTests { [Test] public void FilesShouldBeListed() { var server = GetFtpServer(); server.Start(); } ...
unlicense
C#
3785458459d62f8c533ef1fa26527595dd7b5813
fix for updated sdk
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/src/resharper-unity/ShaderLab/Feature/Services/QuickFixes/ShaderLabRedundantPreprocessorCharQuickFix.cs
resharper/src/resharper-unity/ShaderLab/Feature/Services/QuickFixes/ShaderLabRedundantPreprocessorCharQuickFix.cs
using System; using System.Collections.Generic; using JetBrains.Application.Progress; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Bulbs; using JetBrains.ReSharper.Feature.Services.Intentions; using JetBrains.ReSharper.Feature.Services.QuickFixes; using JetBrains.ReSharper.Plugins.Unity.Shad...
using System; using System.Collections.Generic; using JetBrains.Application.Progress; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Bulbs; using JetBrains.ReSharper.Feature.Services.Intentions; using JetBrains.ReSharper.Feature.Services.QuickFixes; using JetBrains.ReSharper.Plugins.Unity.Shad...
apache-2.0
C#
917c55fdb49d914e02c8fa04f7a5c5994b08e139
Fix JValue
AndriyVolkov/JSReader
Src/JSReader/src/obj/JValue.cs
Src/JSReader/src/obj/JValue.cs
using System; namespace JSReader { public class JValue : JArrayItem { public JValue(string _value) { Value = _value; } public override string LazyJson { get { return $"{Value}"; } } public override bool IsValid { get { return true; } } public string Value { get; internal set...
using System; namespace JSReader { public class JValue : JArrayItem { public JValue(string _value) { Value = _value; } public override string JText { get { return $"\"{Value}\""; } } public override string JTextLight { get { return $"{Value}"; } } public override...
mit
C#
fe0c6475c0b4ceb7e1d7a5be9e637bda6402549b
Make example more readable
rdelhommer/MainPower.Com0com.Redirector
examples/Com0Com.CSharp.Examples/Program.cs
examples/Com0Com.CSharp.Examples/Program.cs
using System; using System.Collections.Generic; namespace Com0Com.CSharp.Examples { class Program { private static readonly Com0ComSetupCFacade SetupCFacade = new Com0ComSetupCFacade(); static void Main(string[] args) { Console.WriteLine("Pre-existing virtual crossover por...
using System; using System.Collections.Generic; namespace Com0Com.CSharp.Examples { class Program { private static readonly Com0ComSetupCFacade SetupCFacade = new Com0ComSetupCFacade(); static void Main(string[] args) { // Get all the pre existing virtual com port pairs ...
mit
C#
10dffba7e6502bda6bf2637338a740a45c446303
Implement IComparable interface
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
TheCollection.Domain/Period.cs
TheCollection.Domain/Period.cs
namespace TheCollection.Domain { using System; using Newtonsoft.Json; using NodaTime; public class Period : IComparable<Period> { private static DateTime DefaultDate = DateTime.MinValue; [JsonConstructor] public Period(int year, int month) { Year = year; ...
namespace TheCollection.Domain { using System; using Newtonsoft.Json; using NodaTime; public class Period { private static DateTime DefaultDate = DateTime.MinValue; [JsonConstructor] public Period(int year, int month) { Year = year; Month = month; ...
apache-2.0
C#
aa6d0c6217a846301502be1b4a48a521e367d5a1
Add missing comment
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MRTK/SDK/Experimental/InteractiveElement/Examples/Scripts/CustomStateExample/KeyboardState/KeyboardReceiver.cs
Assets/MRTK/SDK/Experimental/InteractiveElement/Examples/Scripts/CustomStateExample/KeyboardState/KeyboardReceiver.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine.Events; using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.Examples { /// <summary> /// Example receiver class for the Keyboard state /// </summary> pu...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEngine.Events; using UnityEngine.EventSystems; namespace Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.Examples { /// <summary> /// Example receiver class for the Keyboard state /// </summary> pu...
mit
C#
2c1f4d0b306aec3a95670b83d283be65b340f2fe
Convert search term to lower case on user search
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Data/UserRepository.cs
Oogstplanner.Data/UserRepository.cs
using System.Linq; using System.Collections.Generic; using Oogstplanner.Common; using Oogstplanner.Models; namespace Oogstplanner.Data { public class UserRepository : EntityFrameworkRepository<User>, IUserRepository { public UserRepository(IOogstplannerContext db) : base(db) { } ...
using System.Linq; using System.Collections.Generic; using Oogstplanner.Common; using Oogstplanner.Models; namespace Oogstplanner.Data { public class UserRepository : EntityFrameworkRepository<User>, IUserRepository { public UserRepository(IOogstplannerContext db) : base(db) { } ...
mit
C#
63aa2c11f25f0dde75ce64029e3db84aa5f628ff
Fix namespace-directory mismatch (#403)
DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data
net/DevExtreme.AspNet.Data/RemoteGrouping/RemoteAvgAggregator.cs
net/DevExtreme.AspNet.Data/RemoteGrouping/RemoteAvgAggregator.cs
using DevExtreme.AspNet.Data.Aggregation; using DevExtreme.AspNet.Data.Helpers; using DevExtreme.AspNet.Data.Types; using System; using System.Linq; namespace DevExtreme.AspNet.Data.RemoteGrouping { class RemoteAvgAggregator<T> : Aggregator<T> { Aggregator<T> _countAggregator; SumAggregator<T> _v...
using DevExtreme.AspNet.Data.Helpers; using DevExtreme.AspNet.Data.Types; using System; using System.Linq; namespace DevExtreme.AspNet.Data.Aggregation { class RemoteAvgAggregator<T> : Aggregator<T> { Aggregator<T> _countAggregator; SumAggregator<T> _valueAggregator; public RemoteAvgAggr...
mit
C#
c54e2b57339b094a7e1849329f1deaaa2335ba0e
Update version number to 0.5.0.
beppler/trayleds
TrayLeds/Properties/AssemblyInfo.cs
TrayLeds/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("TrayLeds")] [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("TrayLeds")] [assembly: AssemblyDescription...
mit
C#
dbead4dfbed42350f8dc61f6170b8728700be54d
Make it harder to accidentally reset prod database
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Controllers/SystemController.cs
Anlab.Mvc/Controllers/SystemController.cs
using System; using AnlabMvc.Models.Roles; using AnlabMvc.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace AnlabMvc.Controllers { [Authorize(Roles = RoleCodes.Admin)] public class SystemController : ApplicationController ...
using System; using AnlabMvc.Models.Roles; using AnlabMvc.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace AnlabMvc.Controllers { [Authorize(Roles = RoleCodes.Admin)] public class SystemController : ApplicationController ...
mit
C#
cfec20bbe3db1240c172926f7dc5c9f80905dd63
Update IAction.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactivity/IAction.cs
src/Avalonia.Xaml.Interactivity/IAction.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Avalonia.Xaml.Interactivity { /// <summary> /// Interface implemented by all custom actions. /// </summary> public interface IAction ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Avalonia.Xaml.Interactivity { /// <summary> /// Interface implemented by all custom actions. /// </summary> public interface IAction ...
mit
C#
ee384edd7420aa0b3fbbd1d594a2c762e133c946
Use UTC dates for CircuitBreaker for invariance.
Whiteknight/Acquaintance,Whiteknight/Acquaintance
Acquaintance/Utility/CircuitBreaker.cs
Acquaintance/Utility/CircuitBreaker.cs
using System; using System.Threading; namespace Acquaintance.Utility { // TODO: Mode where we count the number of failures in the last N requests // TODO: Mode where we count the number of failures in the last unit of time public class CircuitBreaker { private readonly int _breakMs; pr...
using System; using System.Threading; namespace Acquaintance.Utility { public class CircuitBreaker { private readonly int _breakMs; private readonly int _maxFailedRequests; private volatile int _failedRequests; private long _restartTime; public CircuitBreaker(int brea...
apache-2.0
C#
2d81ea9aa0d375fa2c31ee552c7cca36c7362c24
fix to create directory if not exists
WojcikMike/docs.particular.net
samples/custom-transport/Version_6/Shared/Dispatcher.cs
samples/custom-transport/Version_6/Shared/Dispatcher.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using NServiceBus.Extensibility; using NServiceBus.Transports; #region Dispatcher class Dispatcher : IDispatchMessages { public Task Dispatch(TransportOperations outgoingMessages, ContextBag context) { forea...
using System; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using NServiceBus.Extensibility; using NServiceBus.Transports; #region Dispatcher class Dispatcher : IDispatchMessages { public Task Dispatch(TransportOperations outgoingMessages, ContextBag context) { forea...
apache-2.0
C#
32fe8a44812205c2cd4504cfb151f0389f9b5db2
Use HTML helper extension method for outputting an <input type="hidden"/> element
stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing
src/RestfulRouting/HtmlHelperExtensions.cs
src/RestfulRouting/HtmlHelperExtensions.cs
using System.Web.Mvc; using System.Web.Mvc.Html; namespace RestfulRouting { public static class HtmlHelperExtensions { public static MvcHtmlString PutOverrideTag(this HtmlHelper html) { return html.Hidden("_method", "put"); } public static MvcHtmlString...
using System.Web.Mvc; namespace RestfulRouting { public static class HtmlHelperExtensions { public static MvcHtmlString PutOverrideTag(this HtmlHelper html) { return MvcHtmlString.Create("<input type=\"hidden\" name=\"_method\" value=\"put\" />"); } publ...
mit
C#
93bbfbe05f582f9b4e12dd8c8e3243b9153c8c67
Downgrade version to 0.6.0 again -- only update version upon actual release
electroly/sqlnotebook,electroly/sqlnotebook,electroly/sqlnotebook
src/SqlNotebook/Properties/AssemblyInfo.cs
src/SqlNotebook/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("SQ...
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("SQ...
mit
C#
d329714521d395c496dec0adad34fa04c465e9ce
Bump version
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Properties/AssemblyInfo.cs
src/SyncTrayzor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
d6aae8084cfb49dbc4dc286d5ad14882df08f394
configure services ordering from Populate-method in Maestro.Microsoft.DependencyInjection
JonasSamuelsson/Maestro
src/Maestro.Microsoft.DependencyInjection/Extensions.cs
src/Maestro.Microsoft.DependencyInjection/Extensions.cs
using System; using System.Collections.Generic; using Maestro.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Maestro.Microsoft.DependencyInjection { public static class Extensions { /// <summary> /// Populates the container using the specified service descriptors. /// </summary> //...
using System; using System.Collections.Generic; using Maestro.Configuration; using Microsoft.Extensions.DependencyInjection; namespace Maestro.Microsoft.DependencyInjection { public static class Extensions { /// <summary> /// Populates the container using the specified service descriptors. /// </summary> //...
mit
C#
802ea221bde2a2aa96511add6f5bbb69bdbc0021
Put name on top
PoESkillTree/PoESkillTree,Ttxman/PoESkillTree,mihailim/PoESkillTree,nikibobi/PoESkillTree,brather1ng/PoESkillTree,EmmittJ/PoESkillTree,BlueManiac/PoESkillTreeSource,l0g0sys/PoESkillTree,Yskuma/PoESkillTree,MLanghof/PoESkillTree
WPFSKillTree/ViewModels/PoEBuild.cs
WPFSKillTree/ViewModels/PoEBuild.cs
using System.Xml.Serialization; namespace POESKillTree.ViewModels { public class PoEBuild { public string Name { get; set; } public string Class { get; set; } public string PointsUsed { get; set; } public string Url { get; set; } public string Note { get; set; } ...
using System.Xml.Serialization; namespace POESKillTree.ViewModels { public class PoEBuild { public string Class { get; set; } public string PointsUsed { get; set; } public string Name { get; set; } public string Url { get; set; } public string Note { get; set; } ...
mit
C#
63468dc29f9b2182ab2a87b228b51a6e90b3a715
Add check for path to PHP dir on build agent
rmunn/lfmerge-autosrtests,rmunn/lfmerge-autosrtests
LfMerge.AutomatedSRTests/LfMergeHelper.cs
LfMerge.AutomatedSRTests/LfMergeHelper.cs
// Copyright (c) 2017 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.Diagnostics; using System.IO; using Palaso.IO; namespace LfMerge.AutomatedSRTests { public static class LfMergeHelper { public static string BaseDir => Path.Com...
// Copyright (c) 2017 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.Diagnostics; using System.IO; using Palaso.IO; namespace LfMerge.AutomatedSRTests { public static class LfMergeHelper { public static string BaseDir => Path.Com...
mit
C#
bcbe3bbd0e05efb413bf493ceaeaa78075e8ce2a
Update AeroListView.cs
stefan-baumann/AeroSuite
AeroSuite/Controls/AeroListView.cs
AeroSuite/Controls/AeroListView.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AeroSuite.Controls { /// <summary> /// An aero-styled ListView. /// </summary> /// <remarks> /// A ListView with the "Explo...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AeroSuite.Controls { /// <summary> /// An aero-styled ListView. /// </summary> /// <remarks> /// A ListView with the "Explo...
mit
C#
a43b53d77dcdafd806eee7ed90716a77dc2d73c4
change tab size
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Plugins/Voxelgon/Manager.cs
Assets/Plugins/Voxelgon/Manager.cs
using UnityEngine; using System.Collections; namespace Voxelgon { public class Manager : MonoBehaviour { public void Start() { Voxelgon.Asset.Import(); } } }
using UnityEngine; using System.Collections; namespace Voxelgon { public class Manager : MonoBehaviour { public void Start() { Voxelgon.Asset.Import(); } } }
apache-2.0
C#
0261c8de6cb5b71206d4eae5a8541efb55599872
Change Paddle direction to a float.
dirty-casuals/LD38-A-Small-World
Assets/Scripts/PaddleController.cs
Assets/Scripts/PaddleController.cs
using UnityEngine; public class PaddleController : MonoBehaviour { [SerializeField] private float _speed; [SerializeField] private Planet _planet; [SerializeField] private float _orbitAngle; [SerializeField] private float _orbitDistance; [SerializeField, Range( -1, 1 )] pri...
using UnityEngine; public class PaddleController : MonoBehaviour { [SerializeField] private float _speed; [SerializeField] private Planet _planet; [SerializeField] private float _orbitAngle; [SerializeField] private float _orbitDistance; public enum MoveDirection { Left...
mit
C#
64e5b6603f3746e2b7ddbf2a0949c3517a86a918
Fix stack overflow in TestSceneDrawVisualiser (#2764)
smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs
osu.Framework.Tests/Visual/Testing/TestSceneDrawVisualiser.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Visualisation; using osu.Framew...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Visualisation; using osu.Framew...
mit
C#
9657e299084d8cb77e361f42a076221acebaf00a
Hide more documentation classes
chtoucas/Narvalo.NET,chtoucas/Narvalo.NET
src/Narvalo.Core/NamespaceDoc.cs
src/Narvalo.Core/NamespaceDoc.cs
// Copyright (c) 2014, Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo { #if DOCUMENTATION class NamespaceDoc { } #endif }
// Copyright (c) 2014, Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo { using System.Runtime.CompilerServices; [CompilerGeneratedAttribute] class NamespaceDoc { } }
bsd-2-clause
C#
f6efdb16d428144cd959e046a07c7fa052467f60
Add API to get a user's active consultations.
dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk
SnapMD.ConnectedCare.Sdk/EncountersApi.cs
SnapMD.ConnectedCare.Sdk/EncountersApi.cs
// Copyright 2015 SnapMD, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or ag...
// Copyright 2015 SnapMD, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or ag...
apache-2.0
C#
23269ab16d4c85316feb7b759ff5765e388c990e
Tag to 8.4.1
jgoode/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jthorpe4/EDDiscovery
EDDiscovery/Properties/AssemblyInfo.cs
EDDiscovery/Properties/AssemblyInfo.cs
/* * Copyright © 2015 - 2017 EDDiscovery development team * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright © 2015 - 2017 EDDiscovery development team * * 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#
c370ab7ffd76e507df90d70203c39ee3b65d01a0
Add Sample operator
emoacht/Monitorian
Source/Monitorian.Core/Helper/Throttle.cs
Source/Monitorian.Core/Helper/Throttle.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; namespace Monitorian.Core.Helper { /// <summary> /// Rx Throttle like operator /// </summary> public class Throttle { protec...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Threading; namespace Monitorian.Core.Helper { internal class Throttle { private readonly Action _action; private readonly DispatcherTimer ...
mit
C#
479905c47d455a33ba484ae9430e8149cd0b85ee
fix errorhandling pass trim
RobinHerbots/NCDO,RobinHerbots/NCDO
src/NCDO/CDORequest.cs
src/NCDO/CDORequest.cs
using System; using System.Collections.Generic; using System.Json; using System.Net.Http; using System.Text; using NCDO.Extensions; using NCDO.Interfaces; using Newtonsoft.Json; namespace NCDO { public class CDORequest : ICDORequest { public IEnumerable<ICDORequest> Batch { get; internal set; } ...
using System; using System.Collections.Generic; using System.Json; using System.Net.Http; using System.Text; using NCDO.Extensions; using NCDO.Interfaces; using Newtonsoft.Json; namespace NCDO { public class CDORequest : ICDORequest { public IEnumerable<ICDORequest> Batch { get; internal set; } ...
mit
C#
240e7b4e4814e7a6b689ff57eb94451fc6beeeba
fix non-passing unit test
ParagonTruss/UnitClassLibrary
UnitClassLibrary/Force/ForceConversion.cs
UnitClassLibrary/Force/ForceConversion.cs
using System; namespace UnitClassLibrary { public partial class Force { /// <summary>Converts one unit of Force to another</summary> /// <param name="typeConvertingTo">input unit type</param> /// <param name="passedValue"></param> /// <param name="typeConvertingFrom">desired output unit type</param> /// ...
using System; namespace UnitClassLibrary { public partial class Force { /// <summary>Converts one unit of Force to another</summary> /// <param name="typeConvertingTo">input unit type</param> /// <param name="passedValue"></param> /// <param name="typeConvertingFrom">desired output unit type</param> /// ...
lgpl-2.1
C#
22261ee9349ebf028a0fe9b853c02a3988da94d5
fix swagger to OpenApi rename in NSwag
amweiss/WeatherLink
src/WeatherLink/Startup.cs
src/WeatherLink/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsof...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsof...
mit
C#
60f4520669aa0b688183199e65bbd15b0791cac9
Use msbuild path from config.json if present
OmniSharp/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,corngood/omnisharp-server,svermeulen/omnisharp-server
OmniSharp/Build/BuildCommandBuilder.cs
OmniSharp/Build/BuildCommandBuilder.cs
using System.IO; using OmniSharp.Solution; namespace OmniSharp.Build { public class BuildCommandBuilder { private readonly ISolution _solution; private readonly OmniSharpConfiguration _config; public BuildCommandBuilder( ISolution solution, OmniSharpConfigurati...
using System.IO; using OmniSharp.Solution; namespace OmniSharp.Build { public class BuildCommandBuilder { private readonly ISolution _solution; public BuildCommandBuilder(ISolution solution) { _solution = solution; } public string Executable { ...
mit
C#
b39fe0a93279cb8a9bec6c7e8f3f6a8ed073ed52
Fix typo in data object cloning.
eatskolnikov/mobile,ZhangLeiCharles/mobile,peeedge/mobile,masterrr/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile
Phoebe/Data/DataObjects/ProjectData.cs
Phoebe/Data/DataObjects/ProjectData.cs
using System; using SQLite; namespace Toggl.Phoebe.Data.DataObjects { [Table ("Project")] public class ProjectData : CommonData { public ProjectData () { } public ProjectData (ProjectData other) : base (other) { Name = other.Name; Color = oth...
using System; using SQLite; namespace Toggl.Phoebe.Data.DataObjects { [Table ("Project")] public class ProjectData : CommonData { public ProjectData () { } public ProjectData (ProjectData other) : base (other) { Name = other.Name; Color = oth...
bsd-3-clause
C#
3ef53099e0608be7eb35aeb3b949426e60c9ac4e
Update RxRadialLookup.cs
ADAPT/ADAPT
source/ADAPT/Prescriptions/RxRadialLookup.cs
source/ADAPT/Prescriptions/RxRadialLookup.cs
/******************************************************************************* * Copyright (C) 2015, 2018 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public Li...
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
epl-1.0
C#
9e18bf5309191ab7f680002afa062ebd43dba16d
rename home page title
Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject
EntertainmentSystem/Web/EntertainmentSystem.Web/Views/Home/Index.cshtml
EntertainmentSystem/Web/EntertainmentSystem.Web/Views/Home/Index.cshtml
@using EntertainmentSystem.Web.Controllers @{ ViewBag.Title = "For free time !"; } <div id="es-home"> <h1> @ViewBag.Title </h1> <div class="row"> <section class="col-md-4"> @(Html.Action<HomeController>(c => c.GetMusic(), new { area = string.Empty })) </section> ...
@using EntertainmentSystem.Web.Controllers @{ ViewBag.Title = "For yours free time !"; } <div id="es-home"> <h1> @ViewBag.Title </h1> <div class="row"> <section class="col-md-4"> @(Html.Action<HomeController>(c => c.GetMusic(), new { area = string.Empty })) </sect...
mit
C#
298a862373bb422a1af60e92644d63de7f6ee050
fix for unwanted headers
museumvictoria/collections-online,museumvictoria/collections-online,museumvictoria/collections-online,museumsvictoria/collections-online,museumsvictoria/collections-online,museumsvictoria/collections-online
src/CollectionsOnline.WebSite/Global.asax.cs
src/CollectionsOnline.WebSite/Global.asax.cs
using System; using System.Web; using CollectionsOnline.WebSite.Extensions; using Nancy; using Serilog; namespace CollectionsOnline.WebSite { public class Global : HttpApplication { protected void Application_PreSendRequestHeaders(object sender, EventArgs e) { Response.Headers.Remo...
using System; using System.Web; using CollectionsOnline.WebSite.Extensions; using Nancy; using Serilog; namespace CollectionsOnline.WebSite { public class Global : HttpApplication { protected void Application_EndRequest(object sender, EventArgs e) { // Remove headers that are not n...
mit
C#
04ae344bf46bb0772e5637a1911ce77737ac6a0c
Bump version info
NightmareX1337/LF2.IDE
LF2.IDE/Properties/AssemblyInfo.cs
LF2.IDE/Properties/AssemblyInfo.cs
using LF2.IDE; 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: As...
using LF2.IDE; 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: As...
mit
C#
59fa56b1f446495561d55a4fbaa419e6aaf08657
Fix for getting the email addresses the wrong way round
Red-Folder/red-folder.com,Red-Folder/red-folder.com,Red-Folder/red-folder.com
src/Red-Folder.com/Services/SendGridEmail.cs
src/Red-Folder.com/Services/SendGridEmail.cs
using RedFolder.Models; using RedFolder.ViewModels; using SendGrid; using SendGrid.Helpers.Mail; using System.Net; using System.Threading.Tasks; using System.Web; namespace RedFolder.Services { public class SendGridEmail : IEmail { private const string CONTACT_THANK_YOU_TEMPLATE = "d-b7898a39f2c441d68...
using RedFolder.Models; using RedFolder.ViewModels; using SendGrid; using SendGrid.Helpers.Mail; using System.Net; using System.Threading.Tasks; using System.Web; namespace RedFolder.Services { public class SendGridEmail : IEmail { private const string CONTACT_THANK_YOU_TEMPLATE = "d-b7898a39f2c441d68...
mit
C#
c49bcfb04700914d1ba95bc4ba837ecc8d354263
Add regional fallback mechanic
Xeeynamo/KingdomHearts
OpenKh.Tools.ModsManager/Services/OperationDispatcher.cs
OpenKh.Tools.ModsManager/Services/OperationDispatcher.cs
using OpenKh.Common; using System.IO; namespace OpenKh.Tools.ModsManager.Services { public class OperationDispatcher : IOperationDispatcher { private static readonly string[] _regionFallback = new[] { "us", "fm", "jp", "uk", "it", "fr", "es", "de" }; public bool Loa...
using OpenKh.Common; using System.IO; namespace OpenKh.Tools.ModsManager.Services { public class OperationDispatcher : IOperationDispatcher { public bool LoadFile(Stream outStream, string fileName) { var realFileName = Path.Combine(ConfigurationService.GameModPath, fileName); ...
mit
C#
d3e717d2227bcc66ced2d6cd8d1f88e442783211
Simplify first Xmas Ball behaviour.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasBall/XmasBallBehaviour1.cs
Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasBall/XmasBallBehaviour1.cs
using System; using Microsoft.Xna.Framework; using XmasHell.BulletML; namespace XmasHell.Entities.Bosses.XmasBall { class XmasBallBehaviour1 : AbstractBossBehaviour { private TimeSpan _newPositionTime; private TimeSpan _bulletFrequence; public XmasBallBehaviour1(Boss boss) : base(boss)...
using System; using Microsoft.Xna.Framework; using XmasHell.BulletML; namespace XmasHell.Entities.Bosses.XmasBall { class XmasBallBehaviour1 : AbstractBossBehaviour { private TimeSpan _newPositionTime; private TimeSpan _bulletFrequence; public XmasBallBehaviour1(Boss boss) : base(boss)...
mit
C#
26accb12e4e63237bbee85f876f42c68c4444016
add metas and github link
shearnie/UrlPrettyPrint
UrlPrettyPrint/Views/Home/Index.cshtml
UrlPrettyPrint/Views/Home/Index.cshtml
@{ ViewBag.Title = "Url Pretty Print"; } @section meta { <meta name="description" content="Url Pretty Print" /> <meta name="keywords" content="url pretty print, url parameters, pretty, print" /> <meta name="expires" content="never" /> <meta name="language" content="english" /> <meta name="distribution" content="...
@{ ViewBag.Title = "Url Pretty Print"; } <div class="row"> <div class="col-md-6 col-md-offset-3"> <h1>Url Pretty Print</h1> <hr /> <p> A basic pretty printer for breaking up a one line url into parameters. </p> <p> Paste the Url in the text are...
mit
C#
40def7afa13ca08f88b653bf5018263c43cbe67f
Throw command exception if configuration variable already exists
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AppHarborApi _api; public AppHarborClient(string AccessToken) { var authInfo = new AuthInfo { AccessToken = AccessToken }; try { _api = ...
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AppHarborApi _api; public AppHarborClient(string AccessToken) { var authInfo = new AuthInfo { AccessToken = AccessToken }; try { _api = ...
mit
C#
56e03d8cfcc78e97fba609a71c2b73361d9d41b7
Improve ToString() formatting for Intervals
marsop/ephemeral
Interval.cs
Interval.cs
using System; namespace seasonal { /// <summary> /// Immutable Interval Base class /// </summary> public class Interval : IInterval { private readonly DateTimeOffset _start; public DateTimeOffset Start => _start; private readonly DateTimeOffset _end; public DateTime...
using System; namespace seasonal { /// <summary> /// Immutable Interval Base class /// </summary> public class Interval : IInterval { private readonly DateTimeOffset _start; public DateTimeOffset Start => _start; private readonly DateTimeOffset _end; public DateTime...
mit
C#
bbbaa386882473e05ad11912fb523c672a5e42c0
Increment version
R-Smith/vmPing
vmPing/Properties/AssemblyInfo.cs
vmPing/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
43126c1a007a9723949c18cc2de2b24d2b9044fb
Add some code documentation
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api.Win/PInvoke/Combridge.cs
RepoZ.Api.Win/PInvoke/Combridge.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace RepoZ.Api.Win.PInvoke { /// <summary> /// Wraps calls to COM objects to make sure that these objects are released properly. /...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace RepoZ.Api.Win.PInvoke { public class Combridge : IDisposable { private Lazy<Type> _comType; public Combridge(object comObj...
mit
C#
1f20c55d8ed44c51fdb83917eb512fbda91669a5
Update SaveFileInExcel97-2003format.cs
asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-sha...
Examples/CSharp/Files/Handling/SaveFileInExcel97-2003format.cs
Examples/CSharp/Files/Handling/SaveFileInExcel97-2003format.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Files.Handling { public class SaveFileInExcel97-2003format { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examp...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Files.Handling { public class SavingFiles { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetData...
mit
C#
44133a6857682a9a030eda03d3a3853cd5273962
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/CallSequenceNotFoundException.cs
Source/NSubstitute/Exceptions/CallSequenceNotFoundException.cs
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class CallSequenceNotFoundException : SubstituteException { public CallSequenceNotFoundException(string message) : base(message) { } protected CallSequenceNotFoundException(SerializationInfo info, ...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class CallSequenceNotFoundException : SubstituteException { public CallSequenceNotFoundException(string message) : base(message) { } protected CallSequenceNotFoundException(SerializationInfo info, StreamingContext co...
bsd-3-clause
C#
5e763c90eec6b84f5ee25d3b6e9cfb1b413f4e05
Fix tabs
twilio/twilio-csharp
Twilio/Exceptions/RestException.cs
Twilio/Exceptions/RestException.cs
using Newtonsoft.Json; namespace Twilio.Exceptions { [JsonObject(MemberSerialization.OptIn)] public class RestException : TwilioException { [JsonProperty("code")] public int Code { get; private set; } [JsonProperty("status")] public int Status { get; private set; } ...
using System.Runtime.Serialization; using Newtonsoft.Json; namespace Twilio.Exceptions { [JsonObject(MemberSerialization.OptIn)] public class RestException : TwilioException { [JsonProperty("code")] public int Code { get; private set; } [JsonProperty("status")] public int Status { get; private...
mit
C#
cab11cd54675801881250dd7f7ac84eadd7c4c98
Update WpfBrushCache.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.Wpf/Renderers/WpfBrushCache.cs
src/Draw2D.Wpf/Renderers/WpfBrushCache.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Media; using Draw2D.Core.Style; namespace Draw2D.Wpf.Renderers { public struct WpfBrushCache : IDisposable { public readonly ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Windows.Media; using Draw2D.Core.Style; namespace Draw2D.Wpf.Renderers { public struct WpfBrushCache { public readonly Brush Stroke; ...
mit
C#
5c86a5122ae9a45d561f825d5d219352d1be8004
Update MergeConflict.cs
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/MergeConflict.cs
src/Firehose.Web/Authors/MergeConflict.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MergeConflict : IAmACommunityMember { public string FirstName => "Merge"; public string LastName => "Conflict"; public string StateOrRegion => "Seattle, WA...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MergeConflict : IAmACommunityMember { public string FirstName => "Merge"; public string LastName => "Conflict"; public string StateOrRegion => "Seattle, WA...
mit
C#
b353277fa09f1b6f96ba6152830154fcb56f5715
Add default rootpathprovider
thesheps/lemonade,thesheps/lemonade,thesheps/lemonade
src/Lemonade.Web/LemonadeBooststrapper.cs
src/Lemonade.Web/LemonadeBooststrapper.cs
using System; using System.Collections.Generic; using Lemonade.Web.Modules; using Nancy; using Nancy.Bootstrapper; using Nancy.Hosting.Aspnet; using Nancy.TinyIoc; using Nancy.ViewEngines; using Nancy.ViewEngines.Razor; namespace Lemonade.Web { public abstract class LemonadeBootstrapper : DefaultNancyBootstrapper...
using System; using System.Collections.Generic; using Lemonade.Web.Modules; using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; using Nancy.ViewEngines; using Nancy.ViewEngines.Razor; namespace Lemonade.Web { public abstract class LemonadeBootstrapper : DefaultNancyBootstrapper { protected ove...
mit
C#
5b0010a95f4aede0b163c06a0e801ad3b3a746d4
fix timing project
wallymathieu/with
src/Timing/Copy_update_single_property.cs
src/Timing/Copy_update_single_property.cs
using System; using With; using BenchmarkDotNet.Attributes; using With.Lenses; namespace Timing { public class Copy_update_single_property { private static readonly Customer _myClass = new Customer(1, "2", new[] { "t" }); private static readonly DataLens<Customer, string> _myClassPreparedCopy ...
using System; using With; using BenchmarkDotNet.Attributes; namespace Timing { public class Copy_update_single_property { private static readonly Customer _myClass = new Customer(1, "2", new[] { "t" }); private static readonly IPreparedCopy<Customer, string> _myClassPreparedCopy = ...
mit
C#
e7d07bd4172ff8cf552adc735748c2bb48248864
Refactor pagination to a common base class
simonray/Acme.Helpers,simonray/Acme.Helpers
src/Acme.Helpers/Alignment.cs
src/Acme.Helpers/Alignment.cs
 namespace Acme.Helpers { /// <summary> /// Horizontal alignment options. /// </summary> public enum HorizontalAlignment { Left, Right, } }
 namespace Acme.Helpers { /// <summary> /// Horizontal alignment options. /// </summary> public enum HorizontalAlignment { Left, Right, } public enum PagerVerticalAlignment { Top, Bottom, Both } }
mit
C#
60d59e458c3ae503a0b53e9bbcb42531adfdfd56
Fix sniper rifle projectile impact sound.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
ethernet/server/scripts/weapons/sniperrifle/sniperrifle.sfx.cs
ethernet/server/scripts/weapons/sniperrifle/sniperrifle.sfx.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2009, mEthLab Interactive //------------------------------------------------------------------------------ //--------------------------------------------------------------------------...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2009, mEthLab Interactive //------------------------------------------------------------------------------ //--------------------------------------------------------------------------...
lgpl-2.1
C#
665153ab0cdb06d8227e5b8e0bbd0e0a5bf429ca
Fix pragma warning restore (dotnet/coreclr#26389)
ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,wtgodbe/corefx,shimingsg...
src/Common/src/CoreLib/System/ByReference.cs
src/Common/src/CoreLib/System/ByReference.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System { // ByReference<T> is...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System { // ByReference<T> is...
mit
C#
4fe77646cd5bfcbc6c17e80f926684bec43c8331
Replace registered type if someone tries to register the type again
simonbaas/EasyZMq,simonbaas/EasyZMq
src/EasyZMq/Infrastructure/SuperSimpleIoC.cs
src/EasyZMq/Infrastructure/SuperSimpleIoC.cs
using System; using System.Collections.Generic; using System.Linq; namespace EasyZMq.Infrastructure { internal class SuperSimpleIoC { private readonly Dictionary<Type, RegisteredObject> _configItems = new Dictionary<Type, RegisteredObject>(); public void Register<T, TU>() where TU : T ...
using System; using System.Collections.Generic; using System.Linq; namespace EasyZMq.Infrastructure { internal class SuperSimpleIoC { private readonly Dictionary<Type, RegisteredObject> _configItems = new Dictionary<Type, RegisteredObject>(); public void Register<T, TU>() where TU : T ...
apache-2.0
C#
2e274dd721d1f281f401c2bdde7767d9bf1e331b
Set improved ThreadPool values for nancy
raziel057/FrameworkBenchmarks,nbrady-techempower/FrameworkBenchmarks,ratpack/FrameworkBenchmarks,mfirry/FrameworkBenchmarks,markkolich/FrameworkBenchmarks,jaguililla/FrameworkBenchmarks,waiteb3/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,zloster/FrameworkBenchmarks,yunspace/FrameworkBenchmarks,hperadin/FrameworkBe...
nancy/src/Global.asax.cs
nancy/src/Global.asax.cs
using System; using System.Collections.Generic; using System.Web; using Nancy; using Nancy.ErrorHandling; using System.Threading; namespace NancyBenchmark { public class Global : HttpApplication { protected void Application_Start() { var threads = 40 * Environment.ProcessorCount; ...
using System; using System.Collections.Generic; using System.Web; using Nancy; using Nancy.ErrorHandling; namespace NancyBenchmark { public class Global : HttpApplication { protected void Application_Start() { } } }
bsd-3-clause
C#
d50679ff2152e91f24dd086104426327d2503297
Update CSharpSyntaxBase.cs
NMSLanX/Natasha
src/Natasha.CSharpSyntax/CSharpSyntaxBase.cs
src/Natasha.CSharpSyntax/CSharpSyntaxBase.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Formatting; using Natasha.Framework; namespace Natasha.CSharpSyntax { public abstract class CSharpSyntaxBase : SyntaxBase { private readonly static AdhocWorkspace _workSpace; private readon...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Formatting; using Natasha.Error.Model; using Natasha.Framework; namespace Natasha.CSharpSyntax { public abstract class CSharpSyntaxBase : SyntaxBase { private readonly static AdhocWorkspace _workSp...
mpl-2.0
C#
ab353428fe94a8106249ed61f637958de624890f
Add new type of devices
wangkanai/Detection
src/Wangkanai.Detection.Device/DeviceType.cs
src/Wangkanai.Detection.Device/DeviceType.cs
// Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. namespace Wangkanai.Detection { public enum DeviceType { Desktop, Tablet, Mobile, Tv, Console, Car } }
// Copyright (c) 2018 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. namespace Wangkanai.Detection { public enum DeviceType { Desktop, Tablet, Mobile } }
apache-2.0
C#
3342d41a128c53a6868805ed589f6e716ed1eedf
fix ios stub.
SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalo...
src/iOS/Avalonia.iOS/Stubs.cs
src/iOS/Avalonia.iOS/Stubs.cs
using System; using System.IO; using Avalonia.Input; using Avalonia.Platform; namespace Avalonia.iOS { class CursorFactoryStub : ICursorFactory { public ICursorImpl CreateCursor(IBitmapImpl cursor, PixelPoint hotSpot) => new CursorImplStub(); ICursorImpl ICursorFactory.GetCursor(StandardCursorT...
using System; using System.IO; using Avalonia.Input; using Avalonia.Platform; namespace Avalonia.iOS { class CursorFactoryStub : ICursorFactory { public ICursorImpl CreateCursor(IBitmapImpl cursor, PixelPoint hotSpot) => new CursorImplStub(); ICursorImpl ICursorFactory.GetCursor(StandardCursorT...
mit
C#
8b5de7403f317cd87be9315976632d08873b021a
Fix android usage of obsoleted VersionCode
ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu
osu.Android/OsuGameAndroid.cs
osu.Android/OsuGameAndroid.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 Android.App; using osu.Game; using osu.Game.Updater; namespace osu.Android { public class OsuGameAndroid : OsuGame { public override...
// 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 Android.App; using osu.Game; using osu.Game.Updater; namespace osu.Android { public class OsuGameAndroid : OsuGame { public override...
mit
C#
8c10d31af947d8ace2265952bfa2bbbea62e2d43
Make accuracy formatting more consistent
smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ppy/osu,ppy/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,EVAST9919/osu
osu.Game/Utils/FormatUtils.cs
osu.Game/Utils/FormatUtils.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. namespace osu.Game.Utils { public static class FormatUtils { /// <summary> /// Turns the provided accuracy into a percentage with 2 decimal places...
// 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. namespace osu.Game.Utils { public static class FormatUtils { /// <summary> /// Turns the provided accuracy into a percentage with 2 decimal places...
mit
C#
07ee1b4d0b73edebaaffc632acd13dc993f0871c
Make power status properties abstract
peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new
osu.Game/Utils/PowerStatus.cs
osu.Game/Utils/PowerStatus.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. namespace osu.Game.Utils { /// <summary> /// Provides access to the system's power status. /// Currently implemented on iOS and Android only. /// </summar...
// 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. namespace osu.Game.Utils { /// <summary> /// Provides access to the system's power status. /// Currently implemented on iOS and Android only. /// </summar...
mit
C#
297105e370079570d3650fb92b3862c60c7e17a5
Add New Exception *() saftynet
OfficialLucky/jRace,OfficialLucky/jRace
inject.cs
inject.cs
using RestSharp; using jRace.PrivateClass.Main; Namespace Inject { public class Inject { file = new jRace.PrivateClass.Main(); brows = new jRace.PrivateClass.Brows(); private main() { var browser = brows.runproc(get()); var bID = brows.getID(browser()); brows.Select(bID, int); i...
using RestSharp; using jRace.PrivateClass.Main; Namespace Inject { public class Inject { file = new jRace.PrivateClass.Main(); brows = new jRace.PrivateClass.Brows(); private main() { var browser = brows.runproc(get()); brows.getID(browser); brows.Select(ID); return(load); ...
mpl-2.0
C#
e907a4bc6361b0f06d3d5d43c88ec14454a37850
Allow attribute without options
dnnsoftware/Dnn.Platform,dnnsoftware/Dnn.Platform,robsiera/Dnn.Platform,robsiera/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Library,RichardHowells/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,nvisionative/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,valadas/Dnn....
src/Dnn.PersonaBar.Library/Prompt/Attributes/ConsoleCommandAttribute.cs
src/Dnn.PersonaBar.Library/Prompt/Attributes/ConsoleCommandAttribute.cs
using System; namespace Dnn.PersonaBar.Library.Prompt.Attributes { [AttributeUsage(AttributeTargets.Class)] #pragma warning disable CS3015 // Type has no accessible constructors which use only CLS-compliant types public class ConsoleCommandAttribute : Attribute #pragma warning restore CS3015 // Type has no ac...
using System; namespace Dnn.PersonaBar.Library.Prompt.Attributes { [AttributeUsage(AttributeTargets.Class)] #pragma warning disable CS3015 // Type has no accessible constructors which use only CLS-compliant types public class ConsoleCommandAttribute : Attribute #pragma warning restore CS3015 // Type has no ac...
mit
C#
c980aaaf5ed1671a4fa1db3c0fbdd9e8877e3475
添加GetHmacSha256()方法单元测试
JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.WeixinTests/Helpers/EncryptHelperTests.cs
src/Senparc.Weixin.MP/Senparc.WeixinTests/Helpers/EncryptHelperTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using Senparc.Weixin.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Senparc.Weixin.Helpers.Tests { [TestClass()] public class EncryptHelperTests { string ency...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Senparc.Weixin.Helpers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Senparc.Weixin.Helpers.Tests { [TestClass()] public class EncryptHelperTests { string ency...
apache-2.0
C#
9b15b987fea2e90204eaf36087893aa654f65158
test request to identityServer4 (console)
FlorinskiyDI/coremanage,FlorinskiyDI/coremanage,FlorinskiyDI/coremanage,FlorinskiyDI/coremanage
coremanage/ClientResourceOwner/Program.cs
coremanage/ClientResourceOwner/Program.cs
using IdentityModel.Client; using Newtonsoft.Json.Linq; using System; using System.Net.Http; using System.Threading.Tasks; namespace ResourceOwnerClient { public class Program { public static void Main(string[] args) { MainAsync(args).GetAwaiter().GetResult(); Console.R...
using System; namespace ClientResourceOwner { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
apache-2.0
C#
89468ef329c8a78031a40d4543e3ea87386ee7ec
use env name in jobs dashboard. Closes ##171
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
src/Server/Bit.Hangfire/JobSchedulerMiddlewareConfiguration.cs
src/Server/Bit.Hangfire/JobSchedulerMiddlewareConfiguration.cs
using System.Collections.Generic; using Bit.Core.Models; using Bit.Hangfire.Contracts; using Bit.Owin.Contracts; using Hangfire; using Hangfire.Dashboard; using Owin; #if DotNetCore using Bit.OwinCore.Contracts; using Microsoft.AspNetCore.Builder; #endif namespace Bit.Hangfire { public class JobSchedulerMiddlewar...
using System.Collections.Generic; using Bit.Core.Models; using Bit.Hangfire.Contracts; using Bit.Owin.Contracts; using Hangfire; using Hangfire.Dashboard; using Owin; #if DotNetCore using Bit.OwinCore.Contracts; using Microsoft.AspNetCore.Builder; #endif namespace Bit.Hangfire { public class JobSchedulerMiddlewar...
mit
C#
f42f2c684e4c448cd2053fd0e2d7bf851ccd49c1
Fix async behavior of console program.
maxcutler/wp-api-csharp
ApiConsole/Program.cs
ApiConsole/Program.cs
using System; using System.Net.Http; using System.Threading.Tasks; using PortableWordPressApi; namespace ApiConsole { class Program { static void Main(string[] args) { Task.WaitAll(AsyncMain()); Console.WriteLine("Press any key to close."); Console.Read(); } private static async Task AsyncMain() ...
using System; using System.Net.Http; using System.Threading.Tasks; using PortableWordPressApi; namespace ApiConsole { class Program { static void Main(string[] args) { Task.WhenAll(AsyncMain()); Console.WriteLine("Press any key to close."); Console.Read(); } private static async Task AsyncMain() ...
mit
C#
5602e971450676aaafe39380fd8db65b93473806
Update to release 2.1.0
ndouthit/Certify,Prerequisite/Certify,Marcus-L/Certify,webprofusion/Certify
src/Certify.Core/Properties/AssemblyInfo.cs
src/Certify.Core/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("...
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("...
mit
C#
3c502af6178bbcb6db75d57385ee89ab0838f861
修复Literal表达式构造函数内未更新text参数的错误。 :strawberry:
Zongsoft/Zongsoft.Data
src/Common/Expressions/LiteralExpression.cs
src/Common/Expressions/LiteralExpression.cs
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(Popeye Zhong) <zongs...
/* * _____ ______ * /_ / ____ ____ ____ _________ / __/ /_ * / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/ * / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_ * /____/\____/_/ /_/\__ /____/\____/_/ \__/ * /____/ * * Authors: * 钟峰(Popeye Zhong) <zongs...
lgpl-2.1
C#
728b8b8bf9765683c22be04b19df0f3cbf4c3740
Raise incoming event on the ThreadPool
loraderon/nvents
src/Nvents/Services/Network/EventService.cs
src/Nvents/Services/Network/EventService.cs
using System; using System.ServiceModel; using System.Threading; namespace Nvents.Services.Network { [ServiceBehavior( InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)] public class EventService : IEventService { public event EventHandler<EventPublishedE...
using System; using System.ServiceModel; namespace Nvents.Services.Network { [ServiceBehavior( InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)] public class EventService : IEventService { public event EventHandler<EventPublishedEventArgs> EventPublished;...
mit
C#
4e66dcc183e7775356ed07e03a11facff54b3632
fix bug in ef7 data layer
joeaudette/cloudscribe.Logging
src/cloudscribe.Logging.EF/DbInitializer.cs
src/cloudscribe.Logging.EF/DbInitializer.cs
// Copyright (c) Source Tree Solutions, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Author: Joe Audette // Created: 2015-12-26 // Last Modified: 2015-12-26 // using Microsoft.Data.Entity; using Microsoft.Exten...
// Copyright (c) Source Tree Solutions, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Author: Joe Audette // Created: 2015-12-26 // Last Modified: 2015-12-26 // using Microsoft.Data.Entity; using Microsoft.Exten...
apache-2.0
C#
4e5f13b29fcc0027f5e5abbe46fad3cd3a8df674
update instance for litedb v3 concurrency
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Services/Database/DatabaseAccessService.cs
KQAnalytics3/src/KQAnalytics3/Services/Database/DatabaseAccessService.cs
using LiteDB; namespace KQAnalytics3.Services.Database { public static class DatabaseAccessService { public static string LoggedRequestDataKey => "lrequests"; private static LiteDatabase _dbInstance; public static LiteDatabase OpenOrCreateDefault() { if (_dbInstan...
using LiteDB; namespace KQAnalytics3.Services.Database { public static class DatabaseAccessService { public static string LoggedRequestDataKey => "lrequests"; public static LiteDatabase OpenOrCreateDefault() { //kqanalytics3.lidb return new LiteDatabase("kqanal...
agpl-3.0
C#
fa18bd9a6953f9054f66d706eed72d1fd713ec77
allow nav layout for store to not have a main title specified
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Shared/_NavLayout.cshtml
BTCPayServer/Views/Shared/_NavLayout.cshtml
@{ Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.ShowMenu = ViewBag.ShowMenu ?? true; if (!ViewData.ContainsKey("NavPartialName")) { ViewData["NavPartialName"] = "_Nav"; } var title = $"{(ViewData.ContainsKey("MainTitle")? $"{ViewData["MainTitle"]}:" : String.Empty)} {ViewData["Titl...
@{ Layout = "/Views/Shared/_Layout.cshtml"; ViewBag.ShowMenu = ViewBag.ShowMenu ?? true; } <section> <div class="container"> <div class="row"> <div class="col-lg-12"> <h4 class="section-heading">@ViewData["MainTitle"]: @ViewData["Title"]</h4> <hr class="primary ...
mit
C#
bc08bd7dc22d6605f3b4cbd1be9cf747ba4652b5
Fix #22: PluginWebViewPage ReferenceNullException
garysharp/Disco,garysharp/Disco,garysharp/Disco
Disco.Services/Plugins/PluginWebViewPage.cs
Disco.Services/Plugins/PluginWebViewPage.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Disco.Services.Plugins { public abstract class PluginWebViewPage<T> : Disco.Services.Web.WebViewPage<T> { private Lazy<WebPageHelper<T>> _plugin; public PluginManifest...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Disco.Services.Plugins { public abstract class PluginWebViewPage<T> : Disco.Services.Web.WebViewPage<T> { public WebPageHelper<T> Plugin { get; private set; } public P...
agpl-3.0
C#
4ab254b90a367ff4a66b80d6cc7b22bb5c7bcdd2
Revert "Triggering new build"
Teleopti/Stardust
Node/NodeTest.JobHandlers/FailingJobCode.cs
Node/NodeTest.JobHandlers/FailingJobCode.cs
using System; using System.Threading; using log4net; using Stardust.Node.Extensions; namespace NodeTest.JobHandlers { public class FailingJobCode { private static readonly ILog Logger = LogManager.GetLogger(typeof (FailingJobCode)); public FailingJobCode() { Logger.DebugWithLineNumber("'Failing Job Code' ...
using System; using System.Threading; using log4net; using Stardust.Node.Extensions; namespace NodeTest.JobHandlers { public class FailingJobCode { private static readonly ILog Logger = LogManager.GetLogger(typeof (FailingJobCode)); public FailingJobCode() { Logger.DebugWithLineNumber("'Failing Job Code' ...
mit
C#
c0289fb7f67fb2f6ff83f2b26a7f477d467fb763
Add NET Standard 1.6 API dependency
ranterle/XamarinTest,ranterle/XamarinTest
Droid/MainActivity.cs
Droid/MainActivity.cs
using Android.App; using Android.Widget; using Android.OS; using System.Security.Cryptography; namespace MatXiTest.Droid { [Activity(Label = "MatXiTest", MainLauncher = true, Icon = "@mipmap/icon")] public class MainActivity : Activity { int count = 1; protected override void OnCreate(Bundle savedInstanceStat...
using Android.App; using Android.Widget; using Android.OS; namespace MatXiTest.Droid { [Activity(Label = "MatXiTest", MainLauncher = true, Icon = "@mipmap/icon")] public class MainActivity : Activity { int count = 1; protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanc...
mit
C#
f8b1e4f06e9c796c24709e96538b31a8e012d17e
Improve drive selection.
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
src/HelloCoreClrApp/Health/DiskMonitor.cs
src/HelloCoreClrApp/Health/DiskMonitor.cs
using System; using System.IO; using System.Linq; using Humanizer.Bytes; using Serilog; namespace HelloCoreClrApp.Health { public class DiskMonitor : IMonitor { private static readonly ILogger Log = Serilog.Log.ForContext<DiskMonitor>(); public void LogUsage() { var summar...
using System; using System.IO; using System.Linq; using Humanizer.Bytes; using Serilog; namespace HelloCoreClrApp.Health { public class DiskMonitor : IMonitor { private static readonly ILogger Log = Serilog.Log.ForContext<DiskMonitor>(); public void LogUsage() { var summar...
mit
C#
cf6595f78200b1b7134cdccff4538c0d9ea5b55d
bump ver
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.68")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.1.0.67")]
mit
C#
c106c416d30ea744e359323822152ecd53086082
Fix issue where quad was not visible
bastuijnman/open-park
Assets/Scripts/LocalGrid.cs
Assets/Scripts/LocalGrid.cs
using UnityEngine; using System.Collections; public class LocalGrid : MonoBehaviour { private float tileSize = 1.0f; private float width; private float height; private float x; private float z; private bool active = true; private GameObject tile; // Use this for initialization void Start () { Vector3...
using UnityEngine; using System.Collections; public class LocalGrid : MonoBehaviour { private float tileSize = 1.0f; private float width; private float height; private float x; private float z; private bool active = true; private GameObject tile; // Use this for initialization void Start () { Vector3...
mit
C#
da0159f5eb10ed22ebc23d9d2c0c2a4528296de5
Change Namespace
muhammedikinci/FuzzyCore
FuzzyCore/ConsoleMessage.cs
FuzzyCore/ConsoleMessage.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FuzzyCore.Server { public class ConsoleMessage { public enum MessageType { ERROR, SUCCESS, CONNECT, DISCONNECT, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace fuzzyControl.Server { class ConsoleMessage { public enum MessageType { ERROR, SUCCESS, CONNECT, DISCONNECT, ...
mit
C#
3ba00a8475a6de3ccceebc6f36377a53842c3f5b
Fix abstract class unaryExpressionConverterBase
quartz-software/kephas,quartz-software/kephas
src/Kephas.Data.Client/Queries/Conversion/ExpressionConverters/UnaryExpressionConverterBase.cs
src/Kephas.Data.Client/Queries/Conversion/ExpressionConverters/UnaryExpressionConverterBase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UnaryExpressionConverterBase.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Implements the unary...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="UnaryExpressionConverterBase.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Implements the unary...
mit
C#
6d7f1616b768d04f96ede8068686a8e47ce7c8a4
Fix transparent config skipping bugs
kamsar/Unicorn,kamsar/Unicorn
src/Unicorn/ControlPanel/Pipelines/UnicornControlPanelRequest/SyncVerb.cs
src/Unicorn/ControlPanel/Pipelines/UnicornControlPanelRequest/SyncVerb.cs
using System; using System.Linq; using System.Web; using Kamsar.WebConsole; using Unicorn.Configuration; using Unicorn.ControlPanel.Headings; using Unicorn.ControlPanel.Responses; using Unicorn.Logging; using Sitecore.Diagnostics; // ReSharper disable RedundantArgumentNameForLiteralExpression // ReSharper disable Red...
using System; using System.Linq; using System.Web; using Kamsar.WebConsole; using Unicorn.Configuration; using Unicorn.ControlPanel.Headings; using Unicorn.ControlPanel.Responses; using Unicorn.Logging; using Sitecore.Diagnostics; // ReSharper disable RedundantArgumentNameForLiteralExpression // ReSharper disable Red...
mit
C#
dd34453f3e72c47b5b7e63f396ed4b4789981187
Add Enabled = true, Exported = false
CrossGeeks/FirebasePushNotificationPlugin
Plugin.FirebasePushNotification/PushNotificationDeletedReceiver.android.cs
Plugin.FirebasePushNotification/PushNotificationDeletedReceiver.android.cs
using System.Collections.Generic; using Android.Content; namespace Plugin.FirebasePushNotification { [BroadcastReceiver(Enabled = true, Exported = false)] public class PushNotificationDeletedReceiver : BroadcastReceiver { public override void OnReceive(Context context, Intent intent) { ...
using System.Collections.Generic; using Android.Content; namespace Plugin.FirebasePushNotification { [BroadcastReceiver] public class PushNotificationDeletedReceiver : BroadcastReceiver { public override void OnReceive(Context context, Intent intent) { IDictionary<string, objec...
mit
C#
93b92cd27b0c6cf7bb30a3123c0f0a86dac36c77
Fix code analysis
jkonecki/T4MVC,payini/T4MVC,jkonecki/T4MVC,scott-xu/T4MVC,M1chaelTran/T4MVC,scott-xu/T4MVC,T4MVC/T4MVC,payini/T4MVC,T4MVC/T4MVC,M1chaelTran/T4MVC
T4MVCHostMvcApp/Areas/FeatureFolderArea/FeatureFoo/FeatureFooController.cs
T4MVCHostMvcApp/Areas/FeatureFolderArea/FeatureFoo/FeatureFooController.cs
using System.Web.Mvc; namespace T4MVCHostMvcApp.Areas.FeatureFolderArea.FeatureFoo { public partial class FeatureFooController : Controller { public virtual ActionResult Index() { return View(); } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming",...
using System.Web.Mvc; namespace T4MVCHostMvcApp.Areas.FeatureFolderArea.FeatureFoo { public partial class FeatureFooController : Controller { public virtual ActionResult Index() { return View(); } public virtual ActionResult Foobar(string param) { ...
apache-2.0
C#
54bd545a843ae4ea88468639aaa57f409d5e02fa
Add doc comment to BenchmarkAttribute
visia/xunit-performance,Microsoft/xunit-performance,pharring/xunit-performance,ericeil/xunit-performance,ianhays/xunit-performance,Microsoft/xunit-performance,mmitche/xunit-performance
xunit.performance.core/BenchmarkAttribute.cs
xunit.performance.core/BenchmarkAttribute.cs
using System; using Xunit; using Xunit.Sdk; namespace Microsoft.Xunit.Performance { /// <summary> /// Attribute that is applied to a method to indicate that it is a performance test that /// should be run and measured by the performance test runner. /// </summary> [XunitTestCaseDiscoverer("Microso...
using System; using Xunit; using Xunit.Sdk; namespace Microsoft.Xunit.Performance { [XunitTestCaseDiscoverer("Microsoft.Xunit.Performance.BenchmarkDiscoverer", "xunit.performance.execution.{Platform}")] [TraitDiscoverer("Microsoft.Xunit.Performance.BenchmarkTraitDiscoverer", "xunit.performance.execution.{Plat...
mit
C#
5c5391506450d53eadbbe9527969a2eb5188dd22
increase LineParserTest timeout
alexvictoor/BrowserLog,alexvictoor/BrowserLog,alexvictoor/BrowserLog
BrowserLog.Tests/TinyServer/LineParserTest.cs
BrowserLog.Tests/TinyServer/LineParserTest.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using BrowserLog.TinyServer; using NFluent; using NUnit.Framework; namespace BrowserLog.TinyServer { public class LineParserTest { [Test] ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using BrowserLog.TinyServer; using NFluent; using NUnit.Framework; namespace BrowserLog.TinyServer { public class LineParserTest { [Test] ...
apache-2.0
C#
e4c414a99d362d93eed30949727a719f05387bbc
Fix Injector saving
SnpM/Lockstep-Framework,yanyiyun/LockstepFramework,erebuswolf/LockstepFramework
Core/Utility/Serialization/Editor/Injector.cs
Core/Utility/Serialization/Editor/Injector.cs
using UnityEngine; using System.Collections; using UnityEditor; namespace Lockstep { public static class Injector { public static void SetTarget (UnityEngine.Object target) { Target = target; } public static Object Target{ get; private set;} static SerializedObject ...
using UnityEngine; using System.Collections; using UnityEditor; namespace Lockstep { public static class Injector { public static void SetTarget (UnityEngine.Object target) { Target = target; } public static Object Target{ get; private set;} public static Serialized...
mit
C#
2dc328727a20bd7e72f570c31a0974b4bd30b780
Fix logic fail with IsNoFlip
AngelDE98/FEZMod,AngelDE98/FEZMod
FezEngine.Mod.mm/FezEngine/Structure/Level.cs
FezEngine.Mod.mm/FezEngine/Structure/Level.cs
using System; namespace FezEngine.Structure { public class Level { public static bool IsNoFlat = false; public bool orig_get_Flat() { return false; } public bool get_Flat() { return orig_get_Flat() && !IsNoFlat; } } }
using System; namespace FezEngine.Structure { public class Level { public static bool IsNoFlat = false; public bool orig_get_Flat() { return false; } public bool get_Flat() { return orig_get_Flat() || !IsNoFlat; } } }
mit
C#
8dd4271c475feb14496fe88b0720f55f64aafe06
revert unwanted change
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia
src/Android/Avalonia.AndroidTestApplication/Resources/Resource.Designer.cs
src/Android/Avalonia.AndroidTestApplication/Resources/Resource.Designer.cs
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
mit
C#
0f9f762cc5b154b6790c6f5f1e4ac326de86537f
Update StudentCreateViewModel to restrict the size of the Grade input.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Models/StudentViewModels/StudentCreateViewModel.cs
src/Open-School-Library/Models/StudentViewModels/StudentCreateViewModel.cs
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.StudentViewModels { public class StudentCreateViewModel { public int StudentID { ...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.StudentViewModels { public class StudentCreateViewModel { public int StudentID { ...
mit
C#
1643d0229415479f66bf2830f0c3a0e255882cb4
Include email possibility on server error page
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/Views/Shared/Error.cshtml
Oogstplanner.Web/Views/Shared/Error.cshtml
@{ ViewBag.Title = "Er is iets fout gegaan"; } <div id="top"></div> <div class="row"> <div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div> <div class="col-lg-4 col-md-6 col-sm-8 col-xs-8"> <div class="panel panel-default dark"> <div class="panel-heading"> <h1 class...
@{ ViewBag.Title = "Er is iets fout gegaan"; } <div id="top"></div> <div class="row"> <div class="col-lg-4 col-md-3 col-sm-2 col-xs-2"></div> <div class="col-lg-4 col-md-6 col-sm-8 col-xs-8"> <div class="panel panel-default dark"> <div class="panel-heading"> <h1 class...
mit
C#