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
1358431f1987c556a3be6db439b033a02d33c64c
update program.cs to use default builder
RockSolidKnowledge/Samples.IdentityServer4.AdminUiIntegration,RockSolidKnowledge/Samples.IdentityServer4.AdminUiIntegration,RockSolidKnowledge/Samples.IdentityServer4.AdminUiIntegration
Rsk.Samples.IdentityServer4.AdminUiIntegration/Program.cs
Rsk.Samples.IdentityServer4.AdminUiIntegration/Program.cs
using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; namespace Rsk.Samples.IdentityServer4.AdminUiIntegration { public class Program { public static void Main(string[] args) { BuildWebHost(args).Build().Run(); } public static IHostBuilder BuildWe...
using System.IO; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace Rsk.Samples.IdentityServer4.AdminUiIntegration { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHo...
apache-2.0
C#
1c327e8f171881ffd92a06dd3cfb60668a86f2d2
remove spaces
kusl/Tree
VisualTree/TreeLibrary/BinarySearchTreeNode.cs
VisualTree/TreeLibrary/BinarySearchTreeNode.cs
namespace TreeLibrary { public sealed class BinarySearchTreeNode { public BinarySearchTreeNode LeftChild { get; set; } public BinarySearchTreeNode RightChild { get; set; } public int? Value { get; set; } public BinarySearchTreeNode() { LeftChild = null; ...
namespace TreeLibrary { public sealed class BinarySearchTreeNode { public BinarySearchTreeNode LeftChild { get; set; } public BinarySearchTreeNode RightChild { get; set; } public int? Value { get; set; } public BinarySearchTreeNode() { LeftChild = null; ...
agpl-3.0
C#
786b0b8b5593c2a17cc8bf273d92db6a9b9c8996
Fix is expanded
MistyKuu/bitbucket-for-visual-studio,MistyKuu/bitbucket-for-visual-studio
Source/GitClientVS.Contracts/Models/Tree/TreeDirectory.cs
Source/GitClientVS.Contracts/Models/Tree/TreeDirectory.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using ParseDiff; using ReactiveUI; namespace GitClientVS.Contracts.Models { public class TreeDirectory : ITreeFile, INotifyPropertyChanged { private bool _isSelected; private boo...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using ParseDiff; using ReactiveUI; namespace GitClientVS.Contracts.Models { public class TreeDirectory : ITreeFile, INotifyPropertyChanged { private bool _isSelected; public stri...
mit
C#
43fc33118f1daf54736f4e941bf3002caea78aa7
tidy up
quezlatch/Binky
Binky/Cache.cs
Binky/Cache.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Binky { public static class Jobby { } public sealed class Cache<TKey, TValue> : IDisposable { int _isProcessingTick; readonly ConcurrentDicti...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Binky { public sealed class Cache<TKey, TValue> : IDisposable { int Ticking; readonly ConcurrentDictionary<TKey, Item> _dictionary; readonly T...
mit
C#
5fa6a9fbfc79f1e97e243754b3c3bb919041a66d
添加一个 View 属性,该属性在用户控件的内部使用非常有价值。 :+1:
Zongsoft/Zongsoft.Web
src/Components/DataItemContainer.cs
src/Components/DataItemContainer.cs
using System; using System.Collections.Generic; using System.Web.UI; namespace Zongsoft.Web.Controls { public class DataItemContainer<TOwner> : Literal, IDataItemContainer where TOwner : CompositeDataBoundControl { #region 成员字段 private TOwner _owner; private object _dataItem; private int _index; private i...
using System; using System.Collections.Generic; using System.Web.UI; namespace Zongsoft.Web.Controls { public class DataItemContainer<TOwner> : Literal, IDataItemContainer where TOwner : CompositeDataBoundControl { #region 成员字段 private TOwner _owner; private object _dataItem; private int _index; private i...
lgpl-2.1
C#
b4e1b7c76a0644bb0abccd568d20bbfc48900f20
Update copyright
nunit/nunit3-vs-adapter
src/NUnitTestAdapter/Properties/AssemblyInfo.cs
src/NUnitTestAdapter/Properties/AssemblyInfo.cs
// **************************************************************** // Copyright (c) 2011 Charlie Poole. All rights reserved. // **************************************************************** using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTit...
// **************************************************************** // Copyright (c) 2011 Charlie Poole. All rights reserved. // **************************************************************** using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTit...
mit
C#
9588cf302179f60a5ad81430caac0523d0509f0c
Make internals in MSTest2 visible for JustMock dll in lite version
telerik/JustMockLite
Telerik.JustMock.MSTest2.Tests/Properties/AssemblyInfo.cs
Telerik.JustMock.MSTest2.Tests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("MigrateMSTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MigrateMSTest")] [assembly: AssemblyCopy...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("MigrateMSTest")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MigrateMSTest")] [assembly: AssemblyCopy...
apache-2.0
C#
f11b068dee2b58a0160c138cfcb811e6f18a2ec0
Allow faster roll speed selection in "Barrel Roll" mod
peppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
osu.Game.Rulesets.Osu/Mods/OsuModBarrelRoll.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Ru...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Rulesets.Mods; using osu.Game.Ru...
mit
C#
46caab6310d74a0b3d7ba36a3edea53aca6b17b0
Reorder arithmetic operation
ppy/osu,EVAST9919/osu,peppy/osu,Frontear/osuKyzer,2yangk23/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,johnneijzen/osu,johnneijzen/osu,ZLima12/osu,naoey/osu,smoogipooo/osu,NeoAdonis/osu,naoey/osu,peppy/osu-new,Useless...
osu.Game.Rulesets.Mania/Mods/ManiaModMirror.cs
osu.Game.Rulesets.Mania/Mods/ManiaModMirror.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Mania.UI; using osu.Game.Rulesets.Mods; usin...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Mania.UI; using osu.Game.Rulesets.Mods; usin...
mit
C#
8efd888b134cfbd8019630cfd8903a4fcbb2b65b
remove debug
losetear/nmap,linbozhang/polygon-map-unity
demo/Assets/Camera.cs
demo/Assets/Camera.cs
using UnityEngine; using System.Collections; using Assets.Map; public class Camera : MonoBehaviour { public Map Map; float _mousePosX; float _mousePosY; float _scrollSpeed = 0.2f; float _zoomSpeed = 1f; Vector2 _mouseLeftClick; void Update() { float deltaX = Input.mousePositio...
using UnityEngine; using System.Collections; using Assets.Map; public class Camera : MonoBehaviour { public Map Map; float _mousePosX; float _mousePosY; float _scrollSpeed = 0.2f; float _zoomSpeed = 1f; Vector2 _mouseLeftClick; void Update() { float deltaX = Input.mousePositio...
mit
C#
af5d06384ece596659efb6db4ee71a8dfb9e7024
Rephrase culture-neutral number format helper so that it can successfully compile against both the full .NET Framework and .NET Core.
fixie/fixie
src/Fixie.Tests/TestExtensions.cs
src/Fixie.Tests/TestExtensions.cs
namespace Fixie.Tests { using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using Fixie.Execution; public static class TestExtensions { const BindingFlags InstanceMetho...
namespace Fixie.Tests { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading; using Fixie.Execution; public static class TestExtensions { const BindingFlags InstanceMethods =...
mit
C#
fe320a2574da0a1b927ac8c58b66b37324e36f09
improve sample console app
denisroschinenko/vcap-client-v2
src/IronFoundryConsole/Program.cs
src/IronFoundryConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronFoundry.VcapClient.V2; using IronFoundry.VcapClient.V2.Models; namespace IronFoundryConsole { class Program { static void Main(string[] args) { Console.Writ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronFoundry.VcapClient.V2; using IronFoundry.VcapClient.V2.Models; namespace IronFoundryConsole { class Program { static void Main(string[] args) { VcapClient c...
apache-2.0
C#
43da36bb32e386595d43f9702aa97d437f3e04c0
Work on robot software - #13
henkmollema/MindstormR,henkmollema/MindstormR,henkmollema/MindstormR
src/MindstormR.EV3/Main.cs
src/MindstormR.EV3/Main.cs
using System; using System.Diagnostics; using MonoBrickFirmware; using MonoBrickFirmware.Display.Dialogs; using MonoBrickFirmware.Display; using MonoBrickFirmware.Movement; using System.Threading; using System.Net; namespace MonoBrickHelloWorld { class MainClass { private static int _id; publ...
using System; using MonoBrickFirmware; using MonoBrickFirmware.Display.Dialogs; using MonoBrickFirmware.Display; using MonoBrickFirmware.Movement; using System.Threading; using System.Net; namespace MonoBrickHelloWorld { class MainClass { private static int _id; public static void Main(string...
mit
C#
ac8634448e72602545e0c886403ab185b89d75d6
make command line host non blocking
lukaskabrt/Orchard2,lukaskabrt/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,yiji/Orchard2,alexbocharov/Orchard2,jtkech/Orchard2,petedavis/Orchard2,jtkech/Orchard2,lukaskabrt/Orchard2,alexbocharov/Orchard2,xkproject/Orchard2,alexbocharov/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,xkproject/Or...
src/Orchard.Web/Program.cs
src/Orchard.Web/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; using Orchard.Hosting; using Orchard.Web; namespace Orchard.Console { public class Program { public static void Main(string[] args) { var currentDirectory = Directory.GetCurrentDirectory(); var host = new WebHostBuil...
using System.IO; using Microsoft.AspNetCore.Hosting; using Orchard.Hosting; using Orchard.Web; namespace Orchard.Console { public class Program { public static void Main(string[] args) { var currentDirectory = Directory.GetCurrentDirectory(); var host = new WebHostBuil...
bsd-3-clause
C#
e878ebfc2f00ce48bdfe6710a9d739a8430bb43d
Update Back
IanEarnest/Unity-GUI
Assets/Back.cs
Assets/Back.cs
using UnityEngine; using System; // system is only used on standalone. using System.Collections; public class Back : MonoBehaviour { Rect backRect = new Rect(Screen.width-80, Screen.height-50, 80, 50); public GameObject welcomeScript; static bool isActive; void Start(){ welcomeScript = new GameObject("Script...
using UnityEngine; using System; // system is only used on standalone. using System.Collections; public class Back : MonoBehaviour { Rect backRect = new Rect(Screen.width-70, Screen.height-30, 70, 30); Rect backRect2 = new Rect(Screen.width-70, Screen.height-60, 70, 30); public GameObject welcomeScript; static ...
mit
C#
050dcc4f7aadb595d36e06e45a033bc811709bfd
Fix load
H-POPS/Slingshot
CustomFlatRide/FlatRideScript/Slingshot.cs
CustomFlatRide/FlatRideScript/Slingshot.cs
 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Slingshot : FlatRide { public bool getOut; public SpringJoint UpperLeft; public SpringJoint UpperRight; public SpringJoint Bottom; public float speedDown = .15f; public float strenghtDown = 20; p...
 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Slingshot : FlatRide { public bool getOut; public SpringJoint UpperLeft; public SpringJoint UpperRight; public SpringJoint Bottom; public float speedDown = .15f; public float strenghtDown = 20; p...
mit
C#
d12c44c21e7421ce499a4622527a8c207b757122
bump version number
charri/Font-Awesome-WPF,punker76/Font-Awesome-WPF
src/FontAwesome.WPF/Properties/AssemblyInfo.cs
src/FontAwesome.WPF/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; [assembly: AssemblyTitle("Font Awesome WPF")] [assembly: AssemblyDescription("Wpf components for the iconic font and CSS toolkit Font-Awesome")] [assembly: AssemblyConfiguration("")] [as...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; [assembly: AssemblyTitle("Font Awesome WPF")] [assembly: AssemblyDescription("Wpf components for the iconic font and CSS toolkit Font-Awesome")] [assembly: AssemblyConfiguration("")] [as...
mit
C#
4bc2c3ecd86288b95b6a778666edc8e9d01c2374
Fix interface members visibility (#2094)
JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm
ArchiSteamFarm/Helpers/ICrossProcessSemaphore.cs
ArchiSteamFarm/Helpers/ICrossProcessSemaphore.cs
// _ _ _ ____ _ _____ // / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ // / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ // / ___ \ | | | (__ | | | || | ___) || |_| __/| ...
// _ _ _ ____ _ _____ // / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ // / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ // / ___ \ | | | (__ | | | || | ___) || |_| __/| ...
apache-2.0
C#
a5eea9a6c57336b3f798179f8a1cac8240d92dd4
Change "Sidebar" "KeepOpenWithModifierKey" option default
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/Sidebar/Settings.cs
DesktopWidgets/Widgets/Sidebar/Settings.cs
using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows; using System.Windows.Input; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.Sidebar { public class Settings : WidgetSettingsBase { [DisplayName("Shortcuts")] public ObservableCol...
using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows; using System.Windows.Input; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.Sidebar { public class Settings : WidgetSettingsBase { [DisplayName("Shortcuts")] public ObservableCol...
apache-2.0
C#
26b75add730a27519cdcc5ede638682be4d760e2
Update DiscogsArtist.cs
David-Desmaisons/DiscogsClient
DiscogsClient/Data/Result/DiscogsArtist.cs
DiscogsClient/Data/Result/DiscogsArtist.cs
namespace DiscogsClient.Data.Result { public class DiscogsArtist : DiscogsEntity { public string name { get; set; } public string realname { get; set; } public DiscogsImage[] images { get; set; } public DiscogsGroupOrBandMember[] members { get; set; } public DiscogsGro...
namespace DiscogsClient.Data.Result { public class DiscogsArtist : DiscogsEntity { public string name { get; set; } public DiscogsImage[] images { get; set; } public DiscogsGroupOrBandMember[] members { get; set; } public DiscogsGroupOrBandMember[] groups { get; set; } ...
mit
C#
dbc856c632b83eb1580a0189caec821fd5c70851
Fix build issue
shuhari/Shuhari.Framework
Shuhari.Framework.Common/IO/StreamDecorator.cs
Shuhari.Framework.Common/IO/StreamDecorator.cs
using System.IO; using Shuhari.Framework.Utils; namespace Shuhari.Framework.IO { /// <summary> /// Decorate stream, delegate actual work to inner stream, but can also be overriden. /// Useful for Web filters and so on. /// </summary> public class StreamDecorator : Stream { /// <summary...
using System.IO; using Shuhari.Framework.Utils; namespace Shuhari.Framework.IO { /// <summary> /// Decorate stream, delegate actual work to inner stream, but can also be overriden. /// Useful for Web filters and so on. /// </summary> public class StreamDecorator : Stream { /// <summary...
apache-2.0
C#
d61ece3a85fb60af9701d0112471b1d9c346df9e
Use extension methods
hahoyer/reni.cs,hahoyer/reni.cs,hahoyer/reni.cs
src/ReniLanguagePackage/ReniLanguagePackage.cs
src/ReniLanguagePackage/ReniLanguagePackage.cs
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using System.Runtime.InteropServices; using System.Windows.Forms; using JetBrains.Annotations; using Microsoft.VisualStudio.Shell; using ReniUI.Formatting; namespace HoyerWare.ReniLanguagePackage { [ProvideServi...
using System; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using System.Runtime.InteropServices; using System.Windows.Forms; using JetBrains.Annotations; using Microsoft.VisualStudio.Shell; using ReniUI.Formatting; namespace HoyerWare.ReniLanguagePackage { [ProvideServi...
mit
C#
072394f8ca4e9bf653e4b0c4d6453c4be6a88742
Fix issue in IAttributeRegistry.GetAttribute<T>
vasily-kirichenko/SharpYaml,SiliconStudio/SharpYaml,vasily-kirichenko/SharpYaml
YamlDotNet/Serialization/IAttributeRegistry.cs
YamlDotNet/Serialization/IAttributeRegistry.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace YamlDotNet.Serialization { /// <summary> /// A registry for all attributes. /// </summary> public interface IAttributeRegistry { /// <summary> /// Gets the attributes associated with the specifi...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace YamlDotNet.Serialization { /// <summary> /// A registry for all attributes. /// </summary> public interface IAttributeRegistry { /// <summary> /// Gets the attributes associated with the specifi...
mit
C#
496626d8a37a8dba29cf060c43ff1e05eea5ef80
Fix transaction object unused
coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore
src/Miningcore/Persistence/Postgres/Repositories/MinerRepository.cs
src/Miningcore/Persistence/Postgres/Repositories/MinerRepository.cs
using System.Data; using AutoMapper; using Dapper; using Miningcore.Extensions; using Miningcore.Persistence.Model; using Miningcore.Persistence.Repositories; using NLog; namespace Miningcore.Persistence.Postgres.Repositories; public class MinerRepository : IMinerRepository { public MinerRepository(IMapper mapper...
using System.Data; using AutoMapper; using Dapper; using Miningcore.Extensions; using Miningcore.Persistence.Model; using Miningcore.Persistence.Repositories; using NLog; namespace Miningcore.Persistence.Postgres.Repositories; public class MinerRepository : IMinerRepository { public MinerRepository(IMapper mapper...
mit
C#
0241e3da583625ef2e6c462c9ff6fa0c3be8ab1b
Add a failing test that shows how FakeDb reuses a template from the previously added siblings even when it was not generated
sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb
src/Sitecore.FakeDb.Tests/Pipelines/AddDbItem/CreateTemplateTest.cs
src/Sitecore.FakeDb.Tests/Pipelines/AddDbItem/CreateTemplateTest.cs
namespace Sitecore.FakeDb.Tests.Pipelines.AddDbItem { using FluentAssertions; using NSubstitute; using Sitecore.Data; using Sitecore.FakeDb.Data.Engines; using Sitecore.FakeDb.Pipelines.AddDbItem; using Xunit; using Xunit.Extensions; public class CreateTemplateTest { private const string NullTem...
namespace Sitecore.FakeDb.Tests.Pipelines.AddDbItem { using FluentAssertions; using NSubstitute; using Sitecore.Data; using Sitecore.FakeDb.Data.Engines; using Sitecore.FakeDb.Pipelines.AddDbItem; using Xunit; using Xunit.Extensions; public class CreateTemplateTest { private const string NullTem...
mit
C#
86ca19686bd40a184ad322d705fdb0d2bda88f17
Implement the option to start the app when logging into Windows
IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
MultiMiner.Win/ApplicationConfiguration.cs
MultiMiner.Win/ApplicationConfiguration.cs
using Microsoft.Win32; using MultiMiner.Engine.Configuration; using System; using System.IO; using System.Windows.Forms; namespace MultiMiner.Win { public class ApplicationConfiguration { public ApplicationConfiguration() { this.StartupMiningDelay = 45; } public bo...
using MultiMiner.Engine.Configuration; using System; using System.IO; namespace MultiMiner.Win { public class ApplicationConfiguration { public ApplicationConfiguration() { this.StartupMiningDelay = 45; } public bool LaunchOnWindowsLogin { get; set; } publi...
mit
C#
91b90d10b9b8b1518ee80c7418e44ce4f902340c
Remove old code
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewLocator.cs
WalletWasabi.Fluent/ViewLocator.cs
using System; using Avalonia.Controls; using Avalonia.Controls.Templates; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent { [StaticViewLocator] public partial class ViewLocator : IDataTemplate { public bool SupportsRecycling => false; public IControl Build(object data) { var type = data.G...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Controls; using Avalonia.Controls.Templates; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent { [StaticView...
mit
C#
656cf0725ad22da1da3a7a39350d8ee928394dad
Add non-args constructor for serialization.
Mikuz/Battlezeppelins,Mikuz/Battlezeppelins
Battlezeppelins/Models/PlayerTable/GameTable.cs
Battlezeppelins/Models/PlayerTable/GameTable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Battlezeppelins.Models { public class GameTable { public const int TABLE_ROWS = 10; public const int TABLE_COLS = 10; public Game.Role role { get; private set; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Battlezeppelins.Models { public class GameTable { public const int TABLE_ROWS = 10; public const int TABLE_COLS = 10; public Game.Role role { get; private set; } publi...
apache-2.0
C#
a34e407999b381770bfe5a98c75758c461ec903d
Create a non-null functionality wrapper in the required test.
SeanFarrow/NBench.VisualStudio
tests/NBench.VisualStudio.TestAdapter.Tests.Unit/NBenchTestDiscoverer/NBenchTestDiscoverer/WhenTheNBenchFunctionalityWRapperIsNotNull.cs
tests/NBench.VisualStudio.TestAdapter.Tests.Unit/NBenchTestDiscoverer/NBenchTestDiscoverer/WhenTheNBenchFunctionalityWRapperIsNotNull.cs
namespace NBench.VisualStudio.TestAdapter.Tests.Unit.NBenchTestDiscoverer.NBenchTestDiscoverer { using JustBehave; using NBench.VisualStudio.TestAdapter; using NBench.VisualStudio.TestAdapter.Helpers; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoNSubstitute; using Xunit; public...
namespace NBench.VisualStudio.TestAdapter.Tests.Unit.NBenchTestDiscoverer.NBenchTestDiscoverer { using JustBehave; using NBench.VisualStudio.TestAdapter; using NBench.VisualStudio.TestAdapter.Helpers; using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoNSubstitute; using Xunit; public...
apache-2.0
C#
504a3fc2af3d8165ca4a55b6c6fd80671e71c259
fix 1056 point in emal
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Portal/Views/Account/ConfirmEmail.cshtml
JoinRpg.Portal/Views/Account/ConfirmEmail.cshtml
@{ ViewBag.Title = "Подтверждение Email"; } <h2>@ViewBag.Title</h2> <div> <p> Спасибо, что подтвердили свой email. <br/> @(Html.ActionLink("Нажмите здесь, чтобы войти", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })). </p> </div>
@{ ViewBag.Title = "Подтверждение Email"; } <h2>@ViewBag.Title.</h2> <div> <p> Спасибо, что подтвердили свой email. <br/> @Html.ActionLink("Нажмите здесь, чтобы войти", "Login", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" }) </p> </div>
mit
C#
6dd0479fd1dd5a3fd39dbe45fcede1ee42babc0f
Add several methods for Windows: IsAdmin
fredatgithub/UsefulFunctions
FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs
FonctionsUtiles.Fred.Csharp/FunctionsWindows.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Security.Principal; namespace FonctionsUtiles.Fred.Csharp { public class FunctionsWindows { public static bool IsInWinPath(string substring) { bool result = false; ...
using System; using System.Diagnostics; using System.Reflection; namespace FonctionsUtiles.Fred.Csharp { public class FunctionsWindows { public static bool IsInWinPath(string substring) { bool result = false; string winPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget...
mit
C#
a702aef0c8e5285901f02e50335596b43b941231
split test method to simplify.
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.IdiomsUnitTest/GuardClauseAssertionTestCasesTest.cs
test/Experiment.IdiomsUnitTest/GuardClauseAssertionTestCasesTest.cs
using System; using System.Linq; using Ploeh.Albedo.Refraction; using Xunit; namespace Jwc.Experiment.Idioms { public class GuardClauseAssertionTestCasesTest { [Fact] public void SutIsIdiomaticTestCases() { var sut = new GuardClauseAssertionTestCases(GetType()); ...
using System.Linq; using Ploeh.Albedo.Refraction; using Xunit; namespace Jwc.Experiment.Idioms { public class GuardClauseAssertionTestCasesTest { [Fact] public void SutIsIdiomaticTestCases() { var sut = new GuardClauseAssertionTestCases(GetType()); Assert.IsAssi...
mit
C#
d2b4f735f03564c67712f67a7b52d301e90a3d43
add samples to navigation and remove optional tags
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/Views/Shared/_Navigation.cshtml
WebAPI.API/Views/Shared/_Navigation.cshtml
<ul class="nav nav-pills nav-stacked"> <li class="nav-header">Endpoints <li class="active"><a href="#geocoding">Geocoding</a> <li><a href="#search">Searching</a> <li><a href="#info">SGID Information</a> <li class="nav-header">Resources <li>@Html.ActionLink("Console", "Dashboard", new ...
<ul class="nav nav-pills nav-stacked"> <li class="nav-header">Endpoints <li class="active"><a href="#geocoding">Geocoding</a> <li><a href="#search">Searching</a> <li><a href="#info">SGID Information</a> <li class="nav-header">Resources <li>@Html.ActionLink("Console", "Dashboard", new ...
mit
C#
ffcbc803a4d1721cc2f4b1f5721f5d74388bef1d
Clean up the Gtk LinkLabelBackend class
lytico/xwt,directhex/xwt,steffenWi/xwt,hwthomas/xwt,mminns/xwt,mminns/xwt,TheBrainTech/xwt,mono/xwt,cra0zy/xwt,akrisiun/xwt,antmicro/xwt,sevoku/xwt,hamekoz/xwt,iainx/xwt,residuum/xwt
Xwt.Gtk/Xwt.GtkBackend/LinkLabelBackend.cs
Xwt.Gtk/Xwt.GtkBackend/LinkLabelBackend.cs
// // LinkLabelBackend.cs // // Author: // Jérémie Laval <jeremie.laval@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software withou...
// // LinkLabelBackend.cs // // Author: // Jérémie Laval <jeremie.laval@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software withou...
mit
C#
12fe6a48f873ebcf1f9f6c6ce544ac1008cc4642
Update AssemblyInfo.cs
stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp
ZUGFeRDRenderer/Properties/AssemblyInfo.cs
ZUGFeRDRenderer/Properties/AssemblyInfo.cs
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
apache-2.0
C#
78103d07c408c8b275fc4c4b1e230cfc8cf1a7a6
Fix unit tests
charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui
Mapsui/Layers/MemoryLayer.cs
Mapsui/Layers/MemoryLayer.cs
using Mapsui.Geometries; using Mapsui.Providers; using System.Collections.Generic; using Mapsui.Fetcher; using Mapsui.Styles; namespace Mapsui.Layers { /// <summary> /// A layer to use, when DataSource doesn't fetch anything because it is already in memory /// </summary> public class MemoryLayer : Bas...
using Mapsui.Geometries; using Mapsui.Providers; using System.Collections.Generic; using Mapsui.Styles; namespace Mapsui.Layers { /// <summary> /// A layer to use, when DataSource doesn't fetch anything because it is already in memory /// </summary> public class MemoryLayer : BaseLayer { /...
mit
C#
5534bd860e64c30c97f40e621a45a35c882bc837
Refactor controller (shared code)
noocyte/hurdle-ri
WebAPI.Backend/Controllers/IncidentController.cs
WebAPI.Backend/Controllers/IncidentController.cs
using System; using System.Threading.Tasks; using System.Web.Http; using AutoMapper; using WebAPI.Backend.Models; namespace WebAPI.Backend.Controllers { public class IncidentController : ApiController { private readonly IncidentRepository _repository; public IncidentController() /...
using System.Threading.Tasks; using System.Web.Http; using AutoMapper; using WebAPI.Backend.Models; namespace WebAPI.Backend.Controllers { public class IncidentController : ApiController { private readonly IncidentRepository _repository; public IncidentController() // todo ninject ...
mit
C#
317a3dfdc327ca5dd11dd8cb4363359bf05c0ef4
Make IgnoreOnAdd member of IPropertyMetadataConfigurator.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq.Core/Models/Metadata/IPropertyMetadataConfigurator.cs
ExRam.Gremlinq.Core/Models/Metadata/IPropertyMetadataConfigurator.cs
using System; using System.Collections.Immutable; using System.Linq.Expressions; using System.Reflection; namespace ExRam.Gremlinq.Core { public interface IPropertyMetadataConfigurator<TElement> : IImmutableDictionary<MemberInfo, PropertyMetadata> { IPropertyMetadataConfigurator<TElement> IgnoreOnAdd<...
using System; using System.Collections.Immutable; using System.Linq.Expressions; using System.Reflection; namespace ExRam.Gremlinq.Core { public interface IPropertyMetadataConfigurator<TElement> : IImmutableDictionary<MemberInfo, PropertyMetadata> { IPropertyMetadataConfigurator<TElement> IgnoreOnUpda...
mit
C#
0d4b0f7e9c2b49df261891406b71deee76bcf506
Document the IAsyncSceneObjectGroupDeleter methods.
TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim
OpenSim/Region/Framework/Interfaces/IAsyncSceneObjectGroupDeleter.cs
OpenSim/Region/Framework/Interfaces/IAsyncSceneObjectGroupDeleter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenMetaverse; using OpenSim.Framework; using OpenSim.Region.Framework.Scenes; namespace OpenSim.Region.Framework.Interfaces { public interface IAsyncSceneObjectGroupDeleter { /// <summary> /// Deletes ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenMetaverse; using OpenSim.Framework; using OpenSim.Region.Framework.Scenes; namespace OpenSim.Region.Framework.Interfaces { public interface IAsyncSceneObjectGroupDeleter { void DeleteToInventory(DeRezAction...
bsd-3-clause
C#
5a89383ed6005d90ecd486fc7de9cdb4c87d9304
Add additional tests for EnumMatchToBooleanConverter
maxlmo/outlook-matters,maxlmo/outlook-matters,makmu/outlook-matters,makmu/outlook-matters
OutlookMatters.Core.Test/Settings/EnumMatchToBooleanConverterTest.cs
OutlookMatters.Core.Test/Settings/EnumMatchToBooleanConverterTest.cs
using System.Globalization; using System.Reflection; using FluentAssertions; using Microsoft.Office.Interop.Outlook; using Moq; using NUnit.Framework; using OutlookMatters.Core.Settings; namespace Test.OutlookMatters.Core.Settings { [TestFixture] public class EnumMatchToBooleanConverterTest { [Tes...
using System.Globalization; using System.Reflection; using FluentAssertions; using Microsoft.Office.Interop.Outlook; using Moq; using NUnit.Framework; using OutlookMatters.Core.Settings; namespace Test.OutlookMatters.Core.Settings { [TestFixture] public class EnumMatchToBooleanConverterTest { [Tes...
mit
C#
2bc17f2941863312957adbd1ee5f19b59056b2b3
Reset Chutes & Ladders demos to run demo 1 by default
bsstahl/AIDemos,bsstahl/AIDemos
ChutesAndLaddersDemo/Simulation/Chute/Program.cs
ChutesAndLaddersDemo/Simulation/Chute/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ChutesAndLadders.GamePlay; using ChutesAndLadders.Entities; using System.Diagnostics; namespace Chute { class Program { static void Main(string[] args) { var bo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ChutesAndLadders.GamePlay; using ChutesAndLadders.Entities; using System.Diagnostics; namespace Chute { class Program { static void Main(string[] args) { var bo...
mit
C#
1890e818f910c35e530150701c34141c9ea02088
Remove output on some tests
Dexiom/Dexiom.EPPlusExporter
Dexiom.EPPlusExporterTests/Helpers/TestHelper.cs
Dexiom.EPPlusExporterTests/Helpers/TestHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Bogus; using Dexiom.EPPlusExporter; using OfficeOpenXml; namespace Dexiom.EPPlusExporterTests.Helpers { public static class TestHelper { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Bogus; using Dexiom.EPPlusExporter; using OfficeOpenXml; namespace Dexiom.EPPlusExporterTests.Helpers { public static class TestHelper { ...
mit
C#
adf7c67a0ef94d6ab1b830fd0cc0265888ed239c
improve TheoremAttribute.
jwChung/Experimentalism,jwChung/Experimentalism
src/Experiment.AutoFixture/TheoremAttribute.cs
src/Experiment.AutoFixture/TheoremAttribute.cs
using System; using System.Linq; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.Experiment { /// <summary> /// 이 attribute는 method위에 선언되어 해당 method가 test case라는 것을 /// 지칭하게 되며, non-parameterized test 뿐 아니...
using System; using System.Linq; using System.Reflection; using Jwc.Experiment; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Kernel; using Ploeh.AutoFixture.Xunit; namespace Jwc.Experiment { /// <summary> /// 이 attribute는 method위에 선언되어 해당 method가 test case라는 것을 /// 지칭하게 되며, non-parameterized test 뿐 아니...
mit
C#
95eba4dd19d5bfcc933d5243bbbd81dcdabf0afe
Update src/Workspaces/MSBuildTest/MSBuildInstalled.cs
mavasani/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,dotnet/roslyn,weltkante/roslyn,bartdesmet/roslyn,diryboy/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,bartdesmet/ros...
src/Workspaces/MSBuildTest/MSBuildInstalled.cs
src/Workspaces/MSBuildTest/MSBuildInstalled.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; using Roslyn.Test.Utilities; namespace Microsoft.CodeAnalysis.MSBuild.UnitTests { /// <summary> ...
// 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; using Roslyn.Test.Utilities; namespace Microsoft.CodeAnalysis.MSBuild.UnitTests { /// <summary> ...
mit
C#
91f324f4f7f1f660fbf966ffddba31c507311d7f
Fix wrong define 7612b6f65cec4620d83117511d38e47a5456b468
stormleoxia/referencesource,ludovic-henry/referencesource,evincarofautumn/referencesource,directhex/referencesource,esdrubal/referencesource,mono/referencesource
mscorlib/system/threading/threadabortexception.cs
mscorlib/system/threading/threadabortexception.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // <OWNER>[....]</OWNER> /*============================================================================= ** ** Class: ThreadAbortException ** ** ** Purpose: An exception class which is thrown into a thread to cause it to ** ...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // <OWNER>[....]</OWNER> /*============================================================================= ** ** Class: ThreadAbortException ** ** ** Purpose: An exception class which is thrown into a thread to cause it to ** ...
mit
C#
d69a43e3e40e435e81bdbada481f1562e1e5cf4d
Add a few new flags to ApplicationOptions + add generic AdditionalFlags
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
bindings/src/ApplicationOptions.cs
bindings/src/ApplicationOptions.cs
using System.Text; namespace Urho { /// <summary> /// Application options, see full description at: /// http://urho3d.github.io/documentation/1.4/_running.html /// </summary> public class ApplicationOptions { /// <summary> /// Desktop only /// </summary> public int Width { get; set; } = 0; /// <summ...
using System.Text; namespace Urho { /// <summary> /// Application options, see full description at: /// http://urho3d.github.io/documentation/1.4/_running.html /// </summary> public class ApplicationOptions { /// <summary> /// Desktop only /// </summary> public int Width { get; set; } = 0; /// <summ...
mit
C#
fa872858b592278b7672c16fbd840825d8ac7a24
Remove unnecessary check
UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu
osu.Game/Screens/Play/HUD/HitErrorMeters/HitErrorMeter.cs
osu.Game/Screens/Play/HUD/HitErrorMeters/HitErrorMeter.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.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Scoring; us...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics.Containers; using osu.Game.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Scoring; us...
mit
C#
af129b3eaba1233654e87b6de4185876933ba033
Add siblings, will be used in generator branches.
osu-RP/osu-RP,DrabWeb/osu,johnneijzen/osu,ZLima12/osu,EVAST9919/osu,smoogipooo/osu,Frontear/osuKyzer,naoey/osu,ZLima12/osu,peppy/osu-new,Nabile-Rahmani/osu,ppy/osu,DrabWeb/osu,DrabWeb/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,Damnae/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,ppy/osu,naoey/osu,...
osu.Game.Rulesets.Mania/Objects/ManiaHitObject.cs
osu.Game.Rulesets.Mania/Objects/ManiaHitObject.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 osu.Game.Rulesets.Mania.Objects.Types; using osu.Game.Rulesets.Objects; namespace osu.Game.Rulesets.Mania.Objects { public abstract class ManiaHitObj...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Mania.Objects.Types; using osu.Game.Rulesets.Objects; namespace osu.Game.Rulesets.Mania.Objects { public abstract class ManiaHitObj...
mit
C#
c508e75124ee01bda66edea97e904cfd511609d0
Update CommandHelpService - mark fields as readonly
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Services/CommandHelp/CommandHelpService.cs
Modix.Services/CommandHelp/CommandHelpService.cs
using System.Collections.Generic; using System.Linq; using Discord.Commands; namespace Modix.Services.CommandHelp { public class CommandHelpService { private readonly CommandService _commandService; private List<ModuleHelpData> _cachedHelpData; public CommandHelpService(CommandService...
using System.Collections.Generic; using System.Linq; using Discord.Commands; namespace Modix.Services.CommandHelp { public class CommandHelpService { private CommandService _commandService; private List<ModuleHelpData> _cachedHelpData; public CommandHelpService(CommandService commandS...
mit
C#
69a0fbe7ac2782c787c7cc77e4245157168e695c
use appropriate Building ctor
AlexanderMazaletskiy/ProceduralBuildings,tkaretsos/ProceduralBuildings
Scripts/CityMapController.cs
Scripts/CityMapController.cs
using UnityEngine; using Thesis; using System.Linq; public class CityMapController : MonoBehaviour { Block block; void Awake () { ColorManager.Instance.Init(); TextureManager.Instance.Init(); MaterialManager.Instance.Init(); // the point Vector3.zero must _not_ be used // as starting point...
using UnityEngine; using Thesis; using System.Linq; public class CityMapController : MonoBehaviour { Block block; void Awake () { ColorManager.Instance.Init(); TextureManager.Instance.Init(); MaterialManager.Instance.Init(); // the point Vector3.zero must _not_ be used // as starting point...
mit
C#
890145fce9df3a0784ea236a0a9f3ff4d98202f8
fix Playground
Fangh/LoveLetter
Assets/Scripts/Playground.cs
Assets/Scripts/Playground.cs
using UnityEngine; using System.Collections; public class Playground : MonoBehaviour { OvrAvatarHand hand = null; public bool needHeadset = false; bool headsetPresent = false; public bool validGameState = false; Material mat; Color errorColor = new Color(1f, 0.3f, 0.3f); Color validColor ...
using UnityEngine; using System.Collections; public class Playground : MonoBehaviour { OvrAvatarHand hand = null; public bool needHeadset = false; bool headsetPresent = false; public bool validGameState = false; Material mat; Color errorColor = new Color(1f, 0.3f, 0.3f, 0.1f); Color valid...
unlicense
C#
9a9606fee075ab63f872098b5e88fa54d58c902d
Remove redundant code
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/ArchiveContentReader.cs
src/Arkivverket.Arkade/Core/ArchiveContentReader.cs
using System; using System.IO; using Arkivverket.Arkade.Resources; namespace Arkivverket.Arkade.Core { public class ArchiveContentReader : IArchiveContentReader { public Stream GetContentAsStream(Archive archive) { string fileName = archive.GetContentDescriptionFileName(); ...
using System; using System.IO; using Arkivverket.Arkade.Resources; using Arkivverket.Arkade.Util; namespace Arkivverket.Arkade.Core { public class ArchiveContentReader : IArchiveContentReader { public Stream GetContentAsStream(Archive archive) { string fileName = archive.GetContentD...
agpl-3.0
C#
a9bb7fd7f10d9b9170a5759620c3749357cb42e7
Make xunit logger warning by default instead of debug
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
src/Couchbase.Lite.Tests.Shared/Util/XunitLogger.cs
src/Couchbase.Lite.Tests.Shared/Util/XunitLogger.cs
// // XunitLogger.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // 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 // ...
// // XunitLogger.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // 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#
2e95db5f602037cdcb53d2db7dac75708dade96f
update AssemblyInfo
romansp/MiniProfiler.Elasticsearch
src/MiniProfiler.Elasticsearch/Properties/AssemblyInfo.cs
src/MiniProfiler.Elasticsearch/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("MiniProfiler.Elasticsearch")] [assembly: AssemblyDescription("Elasticsearch extensions for StackExchange.Profiling - http://miniprofiler.com")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("roman...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("MiniProfiler.Elasticsearch")] [assembly: AssemblyDescription("Elasticsearch extensions for StackExchange.Profiling - http://miniprofiler.com")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("roman...
mit
C#
4bdbc50719b6d87211b54ce5f7f01b6fa5cf1f47
fix SL builds
zbrad/NLog,littlesmilelove/NLog,zbrad/NLog,babymechanic/NLog,FeodorFitsner/NLog,campbeb/NLog,ajayanandgit/NLog,czema/NLog,sean-gilliam/NLog,breyed/NLog,luigiberrettini/NLog,ajayanandgit/NLog,bryjamus/NLog,michaeljbaird/NLog,AndreGleichner/NLog,RichiCoder1/NLog,bjornbouetsmith/NLog,RRUZ/NLog,MoaidHathot/NLog,rajeshgande...
src/NLog/LayoutRenderers/TraceActivityIdLayoutRenderer.cs
src/NLog/LayoutRenderers/TraceActivityIdLayoutRenderer.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above co...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above co...
bsd-3-clause
C#
735db74d21fbe0e4318d84fa00baf9d22d1488ce
remove null check already present in RabbitMqMessageBus
mdevilliers/SignalR.RabbitMq,slovely/SignalR.RabbitMq,mdevilliers/SignalR.RabbitMq,slovely/SignalR.RabbitMq
SignalR.RabbitMQ/DependencyResolverExtensions.cs
SignalR.RabbitMQ/DependencyResolverExtensions.cs
using System; using System.Threading; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Messaging; namespace SignalR.RabbitMQ { public static class DependencyResolverExtensions { public static IDependencyResolver UseRabbitMq(this IDependencyResolver resolver, RabbitMqScaleoutConf...
using System; using System.Threading; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Messaging; namespace SignalR.RabbitMQ { public static class DependencyResolverExtensions { public static IDependencyResolver UseRabbitMq(this IDependencyResolver resolver, RabbitMqScaleoutConf...
mit
C#
2c5ceac49ee2ea9f3fbcdd7ae7a1029acdfbba6d
Increment minor version
emoacht/SnowyImageCopy
Source/SnowyImageCopy/Properties/AssemblyInfo.cs
Source/SnowyImageCopy/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 // ass...
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 // ass...
mit
C#
4841457c10b1dcc15645c13dc9535b0f05e96696
Fix exception when typing in a decimal point for a number.
mrward/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin,chrisber/typescript-addin
src/TypeScriptBinding/TypeScriptCompletionItemProvider.cs
src/TypeScriptBinding/TypeScriptCompletionItemProvider.cs
// // TypeScriptCompletionItemProvider.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2013 Matthew Ward // // 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 w...
// // TypeScriptCompletionItemProvider.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2013 Matthew Ward // // 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 w...
mit
C#
9e308f42041e0baa1fd4c86c11b9fbb732c96001
embed and download media as additional UI Hint options
Riksarkivet/iiif-model,digirati-co-uk/iiif-model
Digirati.IxIF/UVExtensions/UserInterfaceHints.cs
Digirati.IxIF/UVExtensions/UserInterfaceHints.cs
using Digirati.IIIF.Model.Types; using Digirati.IxIF; using Newtonsoft.Json; namespace Digirati.IIIF.UVExtensions { public class UserInterfaceHints : GenericService { public override dynamic Context { get { return ExtensionUriPatterns.WdlExtensionsContext; } } publi...
using Digirati.IIIF.Model.Types; using Digirati.IxIF; using Newtonsoft.Json; namespace Digirati.IIIF.UVExtensions { public class UserInterfaceHints : GenericService { public override dynamic Context { get { return ExtensionUriPatterns.WdlExtensionsContext; } } publi...
mit
C#
76314fe193306f89b762d12657f57dd9f4748eab
Simplify property name for LineItemMembershipSubject
andyfmiller/LtiLibrary
LtiLibrary.Core/Outcomes/v2/LineItemContainer.cs
LtiLibrary.Core/Outcomes/v2/LineItemContainer.cs
using LtiLibrary.Core.Common; using Newtonsoft.Json; namespace LtiLibrary.Core.Outcomes.v2 { /// <summary> /// A LineItemContainer defines the endpoint to which clients POST new LineItem resources /// and from which they GET the list of LineItems associated with a a given learning context. /// </summ...
using LtiLibrary.Core.Common; using Newtonsoft.Json; namespace LtiLibrary.Core.Outcomes.v2 { /// <summary> /// A LineItemContainer defines the endpoint to which clients POST new LineItem resources /// and from which they GET the list of LineItems associated with a a given learning context. /// </summ...
apache-2.0
C#
19102bc48caddb9cd1e129a7364459a8620605e7
Update TestEngine
yishn/GTPWrapper
GTPWrapperTest/TestEngine.cs
GTPWrapperTest/TestEngine.cs
using GTPWrapper; using GTPWrapper.DataTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapperTest { public class TestEngine : Engine { public TestEngine() : base("GTP Test Engine", "1.0") { this.SupportedC...
using GTPWrapper; using GTPWrapper.DataTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapperTest { public class TestEngine : Engine { public TestEngine() : base("GTP Test Engine", "1.0") { this.SupportedC...
mit
C#
a93b22803dfb1384bb7055f0798b0f55f5212985
Fix wrong property mapping in SearchShard
KodrAus/elasticsearch-net,RossLieberman/NEST,starckgates/elasticsearch-net,gayancc/elasticsearch-net,amyzheng424/elasticsearch-net,CSGOpenSource/elasticsearch-net,mac2000/elasticsearch-net,abibell/elasticsearch-net,ststeiger/elasticsearch-net,DavidSSL/elasticsearch-net,jonyadamit/elasticsearch-net,DavidSSL/elasticsearc...
src/Nest/Domain/Responses/SearchShardsResponse.cs
src/Nest/Domain/Responses/SearchShardsResponse.cs
using Nest.Domain; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public interface ISearchShardsResponse : IResponse { [JsonProperty("shards")] IEnumerable<IEnumerable...
using System.Collections.Generic; using Nest.Domain; using Newtonsoft.Json; using System.Linq.Expressions; using System; using System.Linq; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public interface ISearchShardsResponse : IResponse { [JsonProperty("shards")] IEnumerable<IEnumerable<SearchShard...
apache-2.0
C#
076fc71a503aea40e942cc7de8f2d82f4a733693
Extend language service for RTL languages
emoacht/Monitorian
Source/Monitorian.Core/Models/LanguageService.cs
Source/Monitorian.Core/Models/LanguageService.cs
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Resources; using System.Text; using System.Threading; using System.Threading.Tasks; using Monitorian.Core.Properties; namespace Monitorian.Core.Models { public class La...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Monitorian.Core.Models { public class LanguageService { public static IReadOnlyCollection<string> Options => new[] { Option ...
mit
C#
aa5af1544726591c7af87e496f41bd32088be524
Add Discount property to Line class (#365)
brandonseydel/MailChimp.Net
MailChimp.Net/Models/Line.cs
MailChimp.Net/Models/Line.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace MailChimp.Net.Models { public class Line { public Line() { Links = new List<Link>(); } [JsonProperty("id")] public string Id { get; set; } [JsonProperty("product_id")] publi...
using System.Collections.Generic; using Newtonsoft.Json; namespace MailChimp.Net.Models { public class Line { public Line() { Links = new List<Link>(); } [JsonProperty("id")] public string Id { get; set; } [JsonProperty("product_id")] publi...
mit
C#
190d0522fc1180f260608cbe99529c9836b53b78
Clarify behaviour on non-Windows systems
SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake
src/Snowflake.Support.GraphQLFrameworkQueries/Queries/Filesystem/FilesystemQueries.cs
src/Snowflake.Support.GraphQLFrameworkQueries/Queries/Filesystem/FilesystemQueries.cs
using HotChocolate.Types; using Microsoft.DotNet.PlatformAbstractions; using Snowflake.Framework.Remoting.GraphQL.Model.Filesystem; using Snowflake.Framework.Remoting.GraphQL.Model.Filesystem.Contextual; using Snowflake.Framework.Remoting.GraphQL.Schema; using Snowflake.Services; using System; using System.Collections...
using HotChocolate.Types; using Snowflake.Framework.Remoting.GraphQL.Model.Filesystem; using Snowflake.Framework.Remoting.GraphQL.Model.Filesystem.Contextual; using Snowflake.Framework.Remoting.GraphQL.Schema; using Snowflake.Services; using System; using System.Collections.Generic; using System.IO; using System.Text;...
mpl-2.0
C#
5971e48c60201747ea30b9676f53fd171785fea6
update orders consts
angeldnd/dap.core.csharp
Scripts/DapCore/DapOrders.cs
Scripts/DapCore/DapOrders.cs
using System; namespace angeldnd.dap { public static class DapOrders { //Reserved for DapCore: <= -100 public const int Property = -130; public const int Context = -120; public const int Manner = -110; } }
using System; namespace angeldnd.dap { public static class DapOrders { public const int Property = -1003; public const int Context = -1002; public const int Manner = -1001; } }
mit
C#
303092ee332b4d3104c31cd8b03947ffb8cbceba
set up theme object
kade-robertson/SharpThemes
SharpThemes/Objects/Theme.cs
SharpThemes/Objects/Theme.cs
using System; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace SharpThemes.Objects { class Theme { [JsonProperty(PropertyName = "id")] public uint ID { get; } [JsonProperty(PropertyName = "name")] public string Name { get; } [Json...
using Newtonsoft.Json; namespace SharpThemes.Objects { class Theme { public readonly int ID; public readonly string Name; public readonly string Description; public readonly string CreatedBy; public readonly int Downloads; public readonly bool IsNSFW; p...
mit
C#
08d16b0d06240cee4886ead42e4f2e2bf68b1cba
Fix integration tests
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs
CalDavSynchronizer.IntegrationTests/Infrastructure/InMemoryGeneralOptionsDataAccess.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CalDavSynchronizer.Contracts; using CalDavSynchronizer.DataAccess; namespace CalDavSynchronizer.IntegrationTests.Infrastructure { class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CalDavSynchronizer.Contracts; using CalDavSynchronizer.DataAccess; namespace CalDavSynchronizer.IntegrationTests.Infrastructure { class InMemoryGeneralOptionsDataAccess : IGeneralOptionsDataAcce...
agpl-3.0
C#
f8802b3778ba30219b7415ed7037a2b8f419782c
Increase assembly version to 1.2.0
gering/Tiny-JSON
Tiny-JSON/Tiny-JSON/AssemblyInfo.cs
Tiny-JSON/Tiny-JSON/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Tiny-JSON")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Tiny-JSON")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
mit
C#
707911acac196e5c97ce6d6f5b95a0dbeb3dcdbc
Tidy up code formatting / variable naming
2yangk23/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu...
osu.Game.Rulesets.Osu/Mods/OsuModAutopilot.cs
osu.Game.Rulesets.Osu/Mods/OsuModAutopilot.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.Linq; using osu.Framework.Graphics.Sprites; using osu.Framework.Input.StateChanges; using osu.Game.Graphics;...
// 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.Linq; using osu.Framework.Graphics.Sprites; using osu.Framework.Input.StateChanges; using osu.Game.Graphics;...
mit
C#
4f19ab9a4b536fd8fe85ac7313b281103d4b55ae
fix peverify order
Fody/MethodTimer
Tests/Verifier.cs
Tests/Verifier.cs
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using NUnit.Framework; public static class Verifier { static string exePath; static Verifier() { var windowsSdk = Environment.ExpandEnvironmentVariables(@"%programfiles(x86)%\Microsof...
using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using NUnit.Framework; public static class Verifier { static string exePath; static Verifier() { var windowsSdk = Environment.ExpandEnvironmentVariables(@"%programfiles(x86)%\Microsof...
mit
C#
39b911d33c7c948fc94e647fa76dc7b59fbdd650
Update HeightCalculatorFromBones.cs
cwesnow/Net_Fiddle
2017oct/HeightCalculatorFromBones.cs
2017oct/HeightCalculatorFromBones.cs
// Original Source Information // Author: GitGub on Reddit // Link: https://www.reddit.com/r/learnprogramming/comments/77a49n/c_help_refactoring_an_ugly_method_with_lots_of_if/ // Refactored using .NET Fiddle - https://dotnetfiddle.net/F8UcJW using System; public class Program { static Random random = new Rando...
// Original Source Information // Author: GitGub on Reddit // Link: https://www.reddit.com/r/learnprogramming/comments/77a49n/c_help_refactoring_an_ugly_method_with_lots_of_if/ // Refactored using .NET Fiddle - https://dotnetfiddle.net/F8UcJW using System; public class Program { static Random random = new Rando...
mit
C#
39dcf8ee4a87041fc90ab19724bb01f2bd4503ba
Rename database
lukecahill/NutritionTracker
food_tracker/DAL/TrackerContext.cs
food_tracker/DAL/TrackerContext.cs
using System.Data.Entity; namespace food_tracker.DAL { public class TrackerContext : DbContext { public TrackerContext() : base("NutritionTracker") { Configuration.LazyLoadingEnabled = false; this.Database.Log = s => System.Diagnostics.Debug.WriteLine(s); } publi...
using System.Data.Entity; namespace food_tracker.DAL { public class TrackerContext : DbContext { public TrackerContext() : base() { Configuration.LazyLoadingEnabled = false; this.Database.Log = s => System.Diagnostics.Debug.WriteLine(s); } public IDbSet<WholeDay>...
mit
C#
0a93e602caaf5245da650544f010ad5980963dc2
Add missing space (#4281)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Speech/Components/SpanishAccentComponent.cs
Content.Server/Speech/Components/SpanishAccentComponent.cs
using Robust.Shared.GameObjects; namespace Content.Server.Speech.Components { [RegisterComponent] public class SpanishAccentComponent : Component, IAccentComponent { public override string Name => "SpanishAccent"; public string Accentuate(string message) { // Insert E ...
using Robust.Shared.GameObjects; namespace Content.Server.Speech.Components { [RegisterComponent] public class SpanishAccentComponent : Component, IAccentComponent { public override string Name => "SpanishAccent"; public string Accentuate(string message) { // Insert E ...
mit
C#
7750675757dca8bd6b2f8ae2a45dfe26a2e337d7
Add SoftMaxPlayers to status response for launcher use (#9365)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameTicking/GameTicker.StatusShell.cs
Content.Server/GameTicking/GameTicker.StatusShell.cs
using System.Text.Json.Nodes; using Content.Shared.CCVar; using Robust.Server.ServerStatus; using Robust.Shared.Configuration; namespace Content.Server.GameTicking { public sealed partial class GameTicker { /// <summary> /// Used for thread safety, given <see cref="IStatusHost.OnStatusReque...
using System.Text.Json.Nodes; using Robust.Server.ServerStatus; namespace Content.Server.GameTicking { public sealed partial class GameTicker { /// <summary> /// Used for thread safety, given <see cref="IStatusHost.OnStatusRequest"/> is called from another thread. /// </summary> ...
mit
C#
68370edf879934490ec235efd01d28de0ef4798c
Update Source/Libraries/openXDA.Model/Emails/DataSourceSetting.cs
GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Model/Emails/DataSourceSetting.cs
Source/Libraries/openXDA.Model/Emails/DataSourceSetting.cs
//****************************************************************************************************** // DataSourceSetting.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
//****************************************************************************************************** // DataSourceSetting.cs - Gbtc // // Copyright © 2017, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
mit
C#
212cba560530c3dc100e618c3bdcd4e655d136e4
Update AdminHelpChat.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/UI/AdminTools/AdminHelpChat.cs
UnityProject/Assets/Scripts/UI/AdminTools/AdminHelpChat.cs
using UnityEngine; namespace AdminTools { public class AdminHelpChat : MonoBehaviour { [SerializeField] private ChatScroll chatScroll = null; public void CloseWindow() { gameObject.SetActive(false); } private void OnEnable() { chatScroll.OnInputFieldSubmit += OnInputReceived; } private void...
using UnityEngine; using DatabaseAPI; using DiscordWebhook; namespace AdminTools { public class AdminHelpChat : MonoBehaviour { [SerializeField] private ChatScroll chatScroll = null; public void CloseWindow() { gameObject.SetActive(false); } private void OnEnable() { chatScroll.OnInputFieldSubmi...
agpl-3.0
C#
ae5b3d42f15bdf3f7bf79b8cf2537e96ef7ddb1f
Check the result with more precision
lionelrepellin/dojo-from-static-to-service
Business.Tests/UserServiceTests.cs
Business.Tests/UserServiceTests.cs
using DAL; using Entities; using Moq; using NFluent; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Tests { [TestFixture] public class UserServiceTests { private UserService _userService; private Mock...
using DAL; using Entities; using Moq; using NFluent; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Tests { [TestFixture] public class UserServiceTests { private UserService _userService; private Mock...
mit
C#
5c8511e3c01e3a7183a00ad1d04db4ea9e122bac
Change try remove key pair method semantics
Ben-Barron/Utility
Utility/Extensions/ConcurrentDictionaryExtensions.cs
Utility/Extensions/ConcurrentDictionaryExtensions.cs
using System.Collections.Concurrent; using System.Collections.Generic; namespace Utility.Extensions { public static class ConcurrentDictionaryExtensions { public static bool TryRemove<TKey, TValue>(this ConcurrentDictionary<TKey, TValue> dictionary, TKey key) { TValue value; ...
using System.Collections.Concurrent; using System.Collections.Generic; namespace Utility.Extensions { public static class ConcurrentDictionaryExtensions { public static bool TryRemove<TKey, TValue>(this ConcurrentDictionary<TKey, TValue> dictionary, TKey key) { TValue value; ...
mit
C#
ea932963c48930f1471c2320f7263bbfc699d5dd
Update SimpleEntryAlert.cs
Clancey/iOSHelpers
iOSHelpers/SimpleEntryAlert.cs
iOSHelpers/SimpleEntryAlert.cs
using System; using System.Threading.Tasks; using UIKit; namespace iOSHelpers { public class SimpleEntryAlert : IDisposable { readonly string title; readonly string details; readonly string placeholder; private readonly string defaultValue; private readonly string okString; private readonly string cance...
using System; using System.Threading.Tasks; using UIKit; namespace iOSHelpers { public class SimpleEntryAlert : IDisposable { readonly string title; readonly string details; readonly string placeholder; private readonly string defaultValue; private readonly string okString; private readonly string cance...
apache-2.0
C#
bfb17fc521566c59d114d945bcf5f965137ec9be
Add our own vessel to the proto store as when in KSC the flighglobals will be cleared
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Systems/VesselProtoSys/VesselProtoEvents.cs
Client/Systems/VesselProtoSys/VesselProtoEvents.cs
using LunaClient.Base; using LunaClient.Systems.Lock; using LunaClient.VesselUtilities; using System; namespace LunaClient.Systems.VesselProtoSys { public class VesselProtoEvents: SubSystem<VesselProtoSystem> { /// <summary> /// Sends our vessel just when we start the flight /// </summ...
using LunaClient.Base; using LunaClient.Systems.Lock; using System; namespace LunaClient.Systems.VesselProtoSys { public class VesselProtoEvents: SubSystem<VesselProtoSystem> { /// <summary> /// Sends our vessel just when we start the flight /// </summary> public void FlightRea...
mit
C#
3e84eef304435656c9f6047e23fe36b61880d30a
Update AGameManager.cs
Nicolas-Constanty/UnityTools
Assets/UnityTools/MonoBehaviour/AGameManager.cs
Assets/UnityTools/MonoBehaviour/AGameManager.cs
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
mit
C#
ef7436bfd6891557bfb9b97854bdb7d4030ffb03
Support all http methods
andreArtelt/SimpleRESTServer
SimpleRESTServer/RoutingAttribute.cs
SimpleRESTServer/RoutingAttribute.cs
using System; using System.Net.Http; namespace SimpleRESTServer { public class RoutingAttribute : Attribute { public string Path; public HttpMethod Method; public string Role; /// <summary> /// Initializes a new instance of the <see cref="SimpleRESTServer.RoutingAttribute"/> class. /// </summary> ///...
using System; using System.Net.Http; namespace SimpleRESTServer { public class RoutingAttribute : Attribute { public string Path; public HttpMethod Method; public string Role; /// <summary> /// Initializes a new instance of the <see cref="SimpleRESTServer.RoutingAttribute"/> class. /// </summary> ///...
mit
C#
53a852bd9318d74493049c9a7c7c50c5d3774268
Bump version
EricZimmerman/AppCompatCacheParser
AppCompatCacheParser/Properties/AssemblyInfo.cs
AppCompatCacheParser/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("AppCompatCacheParser")] [assembly: Assem...
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("AppCompatCacheParser")] [assembly: Assem...
mit
C#
325a5cff5326f75e330e944bf293ab3eaf5c17aa
test case
jefking/King.Azure
King.Azure.Integration.Test/Data/FileShareTests.cs
King.Azure.Integration.Test/Data/FileShareTests.cs
namespace King.Azure.Integration.Test.Data { using System; using System.Threading.Tasks; using King.Azure.Data; using NUnit.Framework; [TestFixture] public class FileShareTests { private const string ConnectionString = "DefaultEndpointsProtocol=https;AccountName=kingdottest;Account...
namespace King.Azure.Integration.Test.Data { using King.Azure.Data; using NUnit.Framework; using System; using System.Threading.Tasks; [TestFixture] public class FileShareTests { private const string ConnectionString = "DefaultEndpointsProtocol=https;AccountName=kingtesting;Account...
apache-2.0
C#
52a3484a4bcd488423031376abcc4deeaae25190
Split out 3.5 and 4.0 builds and tests
refractalize/bounce,socialdotcom/bounce,socialdotcom/bounce,sreal/bounce,sreal/bounce,socialdotcom/bounce,sreal/bounce,socialdotcom/bounce,refractalize/bounce,refractalize/bounce
Build/Build.cs
Build/Build.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bounce.Framework; namespace Build { public class Build { [Targets] public static object Targets(IParameters parameters) { var v4 = new VisualStudioSolution {SolutionPath...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Bounce.Framework; namespace Build { public class Build { [Targets] public static object Targets(IParameters parameters) { var v4 = new VisualStudioSolution {SolutionPath...
bsd-2-clause
C#
ffad42aaa0bb586c07509d626a99155a15f6697f
Undo accidental 2.0 -> 2.1 renames (dotnet/corert#5981)
ericstj/corefx,mmitche/corefx,ViktorHofer/corefx,BrennanConroy/corefx,mmitche/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,ericstj/corefx,ericstj/corefx,mmitche/corefx,ptoonen/corefx,wtgodbe/corefx,ptoonen/corefx,ericstj/corefx,ViktorHofer/corefx,Jiayili1/corefx,mmitche/corefx,BrennanConroy/corefx,wtgodbe/...
src/Common/src/CoreLib/System/Collections/Generic/NonRandomizedStringEqualityComparer.cs
src/Common/src/CoreLib/System/Collections/Generic/NonRandomizedStringEqualityComparer.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.Serialization; namespace System.Collections.Generic { // NonRandomizedStringEqualityCompar...
// 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.Serialization; namespace System.Collections.Generic { // NonRandomizedStringEqualityCompar...
mit
C#
fdf77f14acf09fa5105a44a4d9234f889984f079
add selection test that now fails (issue with anchor and caret not on selection border)
Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor
src/CodeEditor.Text.UI.Tests/SelectionTest.cs
src/CodeEditor.Text.UI.Tests/SelectionTest.cs
using Moq; using NUnit.Framework; namespace CodeEditor.Text.UI { [TestFixture] public class SelectionTest { Selection GetSelectionWithCaretPos (int row, int column) { var documentMock = new Mock<ICaret>(); documentMock.SetupGet(o => o.Row).Returns(row); documentMock.SetupGet(o => o.Column).Returns(colu...
using Moq; using NUnit.Framework; namespace CodeEditor.Text.UI { [TestFixture] public class SelectionTest { Selection GetSelectionWithCaretPos (int row, int column) { var documentMock = new Mock<ICaret>(); documentMock.SetupGet(o => o.Row).Returns(row); documentMock.SetupGet(o => o.Column).Returns(colu...
mit
C#
6c928ace917c525c84b685fdc27df48679337f2a
Use the in-memory database for testing the home controller
rprouse/IdeaWeb,rprouse/IdeaWeb
IdeaWeb.Test/Controllers/HomeControllerTests.cs
IdeaWeb.Test/Controllers/HomeControllerTests.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdeaWeb.Controllers; using IdeaWeb.Data; using IdeaWeb.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using NUnit.Framework; namespace IdeaWeb.Test { [TestFixture] public class HomeController...
using IdeaWeb.Controllers; using Microsoft.AspNetCore.Mvc; using NUnit.Framework; namespace IdeaWeb.Test { [TestFixture] public class HomeControllerTests { HomeController _controller; [SetUp] public void SetUp() { _controller = new HomeController(); } ...
mit
C#
079871f6d3ebdde7eeac7273f58cc2790cdcac85
Add code task
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Skins/SkinObjects/FooterContent.ascx.cs
R7.Epsilon/Skins/SkinObjects/FooterContent.ascx.cs
// // FooterContent.ascx.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 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 // the Free Software Fo...
// // FooterContent.ascx.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2015 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 // the Free Software Fo...
agpl-3.0
C#
f25b0767f0b69f513aabdc18b918c16f776d8fc5
Update RemoteNLogViewerOptionsPartialConfigurationValidator.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs
TIKSN.Core/Analytics/Logging/NLog/RemoteNLogViewerOptionsPartialConfigurationValidator.cs
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Analytics.Logging.NLog { public class RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<RemoteNLogViewerOptions> { public RemoteNLogViewerOptionsPartialConfigurationValidator() ...
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Analytics.Logging.NLog { public class RemoteNLogViewerOptionsPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<RemoteNLogViewerOptions> { public RemoteNLogViewerOptionsPartialConfigurationValidator() ...
mit
C#
67ef68a612f407b375dc3751bd76657ebccd0cfd
Update IPlayerFramework.cs
SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud,SwiftAusterity/NetMud
NetMud.DataStructure/Player/IPlayerFramework.cs
NetMud.DataStructure/Player/IPlayerFramework.cs
using NetMud.DataStructure.Administrative; using NetMud.DataStructure.Architectural.ActorBase; using NetMud.DataStructure.System; using System.Collections.Generic; namespace NetMud.DataStructure.Player { /// <summary> /// Backing data for player characters /// </summary> public interface IPlayerFramewo...
using NetMud.DataStructure.Administrative; using NetMud.DataStructure.Architectural.ActorBase; using NetMud.DataStructure.Combat; using NetMud.DataStructure.System; using System.Collections.Generic; namespace NetMud.DataStructure.Player { /// <summary> /// Backing data for player characters /// </summary>...
mit
C#
9d07230b047d9b44434f9648255870c8ea687997
fix applicant names
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Parsing/Messages/S_SHOW_CANDIDATE_LIST.cs
TCC.Core/Parsing/Messages/S_SHOW_CANDIDATE_LIST.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.Data; using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_SHOW_CANDIDATE_LIST : ParsedMessage { public List...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.Data; using TCC.TeraCommon.Game.Messages; using TCC.TeraCommon.Game.Services; namespace TCC.Parsing.Messages { public class S_SHOW_CANDIDATE_LIST : ParsedMessage { public List...
mit
C#
aa5c49926d950c203ebbc6aaf159364e50feea58
Fix error at level end when target has been intercepted
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/Interactive/Interactive.cs
Proto/Assets/Scripts/Interactive/Interactive.cs
using UnityEngine; abstract public class Interactive : MonoBehaviour { protected Renderer[] m_Renderers; protected Material m_SelectMat; protected Material[] m_TargetMaterials; protected Material[][] m_TargetDefaultMaterial; protected HUD m_HUD; protected bool m_IsActivated = false; prot...
using UnityEngine; abstract public class Interactive : MonoBehaviour { protected Renderer[] m_Renderers; protected Material m_SelectMat; protected Material[] m_TargetMaterials; protected Material[][] m_TargetDefaultMaterial; protected HUD m_HUD; protected bool m_IsActivated = false; prot...
mit
C#
4a263e12ffee4de8bade20184193f3f08e05cdff
Adjust initial size to look nicer
jcrang/dependency-injection-kata-series,mjac/dependency-injection-kata-series
src/DependencyInjection.Console/PatternApp.cs
src/DependencyInjection.Console/PatternApp.cs
namespace DependencyInjection.Console { internal class PatternApp { private readonly PatternWriter _patternWriter; private readonly PatternGenerator _patternGenerator; public PatternApp(bool useColours) { _patternWriter = new PatternWriter(useColours); _...
namespace DependencyInjection.Console { internal class PatternApp { private readonly PatternWriter _patternWriter; private readonly PatternGenerator _patternGenerator; public PatternApp(bool useColours) { _patternWriter = new PatternWriter(useColours); _...
mit
C#
750d409066fd9d16a61d59e0134080383357a999
Disable test paralellization
nopara73/HBitcoin
src/HBitcoin.Tests/Properties/AssemblyInfo.cs
src/HBitcoin.Tests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Xunit; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Assem...
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: AssemblyConfigurat...
mit
C#
7da198431ea592076f58159a212c00ac0d62181a
Change namespace
tugberkugurlu/Owin.Limits,damianh/LimitsMiddleware,damianh/LimitsMiddleware
src/Owin.Limits.Tests/AppBuilderExtensions.cs
src/Owin.Limits.Tests/AppBuilderExtensions.cs
namespace Owin { using System; using Owin.Limits; internal static class AppBuilderExtensions { internal static Action<MidFunc> Use(this IAppBuilder builder) { return middleware => builder.Use(middleware); } internal static IAppBuilder Use(this Action<MidFun...
namespace Owin.Limits { using System; internal static class AppBuilderExtensions { internal static Action<MidFunc> Use(this IAppBuilder builder) { return middleware => builder.Use(middleware); } internal static IAppBuilder Use(this Action<MidFunc> middleware, I...
mit
C#
27fa2c930ac36fd20edeaa7a7de466e560377d3d
Increment version to 0.13
whampson/cascara,whampson/bft-spec
Src/WHampson.Cascara/Properties/AssemblyInfo.cs
Src/WHampson.Cascara/Properties/AssemblyInfo.cs
#region License /* Copyright (c) 2017 Wes Hampson * * 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, ...
#region License /* Copyright (c) 2017 Wes Hampson * * 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, ...
mit
C#
f7fb160b896e2619f6693e44ed109ef84d3a6042
Document method
Liwoj/Metrics.NET,Recognos/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET
Src/Metrics/Reporters/MetricsEndpointReports.cs
Src/Metrics/Reporters/MetricsEndpointReports.cs
using System; using System.Collections.Generic; using System.Net; using Metrics.MetricData; using Metrics.Visualization; namespace Metrics.Reports { public sealed class MetricsEndpointReports : Utils.IHideObjectMembers { private readonly MetricsDataProvider metricsDataProvider; private readonl...
using System; using System.Collections.Generic; using System.Net; using Metrics.MetricData; using Metrics.Visualization; namespace Metrics.Reports { public sealed class MetricsEndpointReports : Utils.IHideObjectMembers { private readonly MetricsDataProvider metricsDataProvider; private readonl...
apache-2.0
C#
5c6aed889194147895c53baa910e057990a26fd5
Split test into two separate tests
Felsig/Emotion-API
src/EmotionAPI.Tests/EmotionAPIClientTests.cs
src/EmotionAPI.Tests/EmotionAPIClientTests.cs
using Xunit; namespace EmotionAPI.Tests { public class EmotionAPIClientTests : EmotionAPITestsBase { [Fact] public void Can_Create_EmotionAPIClient_Class() { var sut = new EmotionAPIClient(mockOcpApimSubscriptionKey); Assert.NotNull(sut); } ...
using Xunit; namespace EmotionAPI.Tests { public class EmotionAPIClientTests : EmotionAPITestsBase { [Fact] public void Can_Create_EmotionAPIClient_Controller() { var controller = new EmotionAPIClient(mockOcpApimSubscriptionKey); Assert.NotNull(cont...
mit
C#