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
3e164ee40d265bb36379973668c8ccfa622660cc
make case insensitive on url comparisons
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/UrlRewriteMiddlware.cs
NuCache/UrlRewriteMiddlware.cs
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Owin; using Serilog; namespace NuCache { public class UrlRewriteMiddlware : OwinMiddleware { private static readonly ILogger Log = Serilog.Log.ForContext<UrlRewriteMiddlware>(); public UrlRewriteMiddlware(OwinMid...
using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Owin; using Serilog; namespace NuCache { public class UrlRewriteMiddlware : OwinMiddleware { private static readonly ILogger Log = Serilog.Log.ForContext<UrlRewriteMiddlware>(); public UrlRewriteMiddlware(OwinMid...
lgpl-2.1
C#
faa42e9fc0ef349d6c79c374863f2a73686a8f3c
Add DoFeature2
seyedk/Staffing
Staffing/Staffing/Program.cs
Staffing/Staffing/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Staffing { class Program { static void Main(string[] args) { } static void DoSomthing() { Console.WriteLine("I'm doing ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Staffing { class Program { static void Main(string[] args) { } static void DoSomthing() { Console.WriteLine("I'm doing ...
mit
C#
6f4ef03682525aa65b7cf8bccdff3c8afddd1486
Fix parsing of command line arguments when invoking service from commandline w/o mono-service wrapping us.
NoesisLabs/Topshelf.Linux,pruiz/Topshelf.Linux
Topshelf.Linux/MonoHelper.cs
Topshelf.Linux/MonoHelper.cs
#region license // Copyright 2013 - Pablo Ruiz Garcia <pablo.ruiz at gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0...
#region license // Copyright 2013 - Pablo Ruiz Garcia <pablo.ruiz at gmail.com> // // 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#
2e329c0eb9a651bbe0523703a128997726d4262f
Update LogReplacedAttribute.cs
destructurama/attributed
src/Destructurama.Attributed/Attributed/LogReplacedAttribute.cs
src/Destructurama.Attributed/Attributed/LogReplacedAttribute.cs
// Copyright 2015-2020 Destructurama Contributors, Serilog Contributors // // 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 // // Unle...
// Copyright 2015-2020 Destructurama Contributors, Serilog Contributors // // 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 // // Unle...
apache-2.0
C#
9c5d931f25dd81d4d8445f31142506872e5c62d3
fix test
rflechner/LinqToSalesforce,rflechner/LinqToSalesforce,rflechner/LinqToSalesforce
tests/LinqToSalesforce.CsharpTests/TranslationTests.cs
tests/LinqToSalesforce.CsharpTests/TranslationTests.cs
using System; using System.Linq; using Newtonsoft.Json; using NUnit.Framework; namespace LinqToSalesforce.CsharpTests { [TestFixture] public class TranslationTests { [Test] public void WhenSelectBirthAsBornDateAndIdCustomerWhereFirstnameIsPopoAndBirthGreatherOrEqualThan02Feb1985OrderByDate_...
using System; using System.Linq; using Newtonsoft.Json; using NUnit.Framework; namespace LinqToSalesforce.CsharpTests { [TestFixture] public class TranslationTests { [Test] public void WhenSelectBirthAsBornDateAndIdCustomerWhereFirstnameIsPopoAndBirthGreatherOrEqualThan02Feb1985OrderByDate_...
unlicense
C#
46daffe36fe4b6f707075c1306d10db202286ef7
Update to ConnectedMethod.IsComplete method.
jozilla/Uiml.net
Uiml/Gummy/Kernel/Services/ApplicationGlue/ConnectedMethod.cs
Uiml/Gummy/Kernel/Services/ApplicationGlue/ConnectedMethod.cs
using System; using System.Collections.Generic; using System.Text; using Uiml.Gummy.Domain; namespace Uiml.Gummy.Kernel.Services.ApplicationGlue { public class ConnectedMethod { private MethodModel m_method; public MethodModel Method { get { return m_method; ...
using System; using System.Collections.Generic; using System.Text; using Uiml.Gummy.Domain; namespace Uiml.Gummy.Kernel.Services.ApplicationGlue { public class ConnectedMethod { private MethodModel m_method; public MethodModel Method { get { return m_method; ...
lgpl-2.1
C#
fb60fa195281aa4c6d701eb777a4d196e8101c3a
Update ModelManager.cs
wangyaron/VRProject
TestGit/Assets/ModelManager.cs
TestGit/Assets/ModelManager.cs
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 3; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
using UnityEngine; using System.Collections; public class ModelManager : MonoBehaviour { private int tag = 0; private string model_name = "hello"; void Start () { Debug.Log("git测试"); } // Update is called once per frame void Update () { transform.Rotate(Vector3.up, T...
apache-2.0
C#
c1b92926876ea7454d33fd442fd9dcaf9f556f74
Verify model constructors.
eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,peeedge/mobile,peeedge/mobile,ZhangLeiCharles/mobile
Tests/Data/Models/ModelTest.cs
Tests/Data/Models/ModelTest.cs
using System; using System.Linq; using System.Reflection; using NUnit.Framework; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { public abstract class ModelTest<T> : Test where T : IModel { protected static readonly string[] ExemptProperties = { "Data" }; ...
using System; using System.Linq; using System.Reflection; using NUnit.Framework; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { public abstract class ModelTest<T> : Test where T : IModel { protected static readonly string[] ExemptProperties = { "Data" }; ...
bsd-3-clause
C#
f6456b511339cf1a411e78661655335b0d833a54
Update ContextController.cs
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
services/api/Tweek.ApiService.NetCore/Controllers/ContextController.cs
services/api/Tweek.ApiService.NetCore/Controllers/ContextController.cs
using System; using Engine.DataTypes; using Engine.Drivers.Context; using FSharpUtils.Newtonsoft; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Tweek.ApiService.NetCore.Security; namespace Tweek.ApiService.NetCore.Control...
using System; using Engine.DataTypes; using Engine.Drivers.Context; using FSharpUtils.Newtonsoft; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Tweek.ApiService.NetCore.Security; namespace Tweek.ApiService.NetCore.Control...
mit
C#
101e6466d6872efe2704651ead12fe3cb93d1bd6
Include faction info in the RedeemVoucher event
jgoode/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,mwerle/EDDiscovery,jthorpe4/EDDiscovery
EDDiscovery/EliteDangerous/JournalEvents/JournalRedeemVoucher.cs
EDDiscovery/EliteDangerous/JournalEvents/JournalRedeemVoucher.cs
/* * Copyright © 2016 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 applicable law...
/* * Copyright © 2016 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 applicable law...
apache-2.0
C#
5d48da15ec7217c55559c86b53aa861b81409ac2
Fix bug in Array converter
Jericho/CakeMail.RestClient
CakeMail.RestClient/Utilities/CakeMailArrayConverter.cs
CakeMail.RestClient/Utilities/CakeMailArrayConverter.cs
using Newtonsoft.Json; using System; namespace CakeMail.RestClient.Utilities { /// <summary> /// The Json for an array returned by CakeMail looks like this: /// { /// name_of_array_property: [ { ... item 1 ...} { ... item 2... } ] /// } /// The goal of this JsonConverter is to ignore the "array property" and t...
using Newtonsoft.Json; using System; namespace CakeMail.RestClient.Utilities { /// <summary> /// The Json for an array returned by CakeMail looks like this: /// { /// name_of_array_property: [ { ... item 1 ...} { ... item 2... } ] /// } /// The goal of this JsonConverter is to ignore the "array property" and t...
mit
C#
e06a1c7a4b12e6b5bcde0f339854979cd7afce1e
adjust assembly version for first release
lehmamic/undo-manager
trunc/src/UndoManager/Properties/AssemblyInfo.cs
trunc/src/UndoManager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
0bfd7579362d55a258163c70ba1a8640b1e11eff
Make OsuTextBox use BasicTextBox
ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,peppy/osu,johnneijzen/osu,peppy/osu-new
osu.Game/Graphics/UserInterface/OsuTextBox.cs
osu.Game/Graphics/UserInterface/OsuTextBox.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; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.S...
// 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; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.UserInterface; using osu.Game.Graphics.S...
mit
C#
58feba72a30824e7d5624dbf20bf6a0e2acc0666
Fix scheduled events not running on previous drawables
ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,smo...
osu.Game/Skinning/SkinReloadableDrawable.cs
osu.Game/Skinning/SkinReloadableDrawable.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 osu.Framework.Allocation; using osu.Framework.Graphics.Containers; namespace osu.Game.Skinning { /// <summary> /// A drawable which has a cal...
// 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 osu.Framework.Allocation; using osu.Framework.Graphics.Containers; namespace osu.Game.Skinning { /// <summary> /// A drawable which has a cal...
mit
C#
67044093265452be16aa2eae09612097c9af07e1
Add more information to reported exceptions
ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab
source/Server/Integration/Azure/ApplicationInsightsMonitor.cs
source/Server/Integration/Azure/ApplicationInsightsMonitor.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Metrics; using MirrorSharp.Advanced; using SharpLab.Server...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Metrics; using MirrorSharp.Advanced; using SharpLab.Server...
bsd-2-clause
C#
19e9304f216107052c7b193eeddaeffabe9d9659
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
4b28045371170657ed77a9ce00a4c73b521da02c
fix demo test
amiralles/contest,amiralles/contest
src/Contest.Demo/Demo.cs
src/Contest.Demo/Demo.cs
namespace Contest.Demo { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using _ = System.Action<Contest.Core.Runner>; // ReSharper disable UnusedMember.Local class Contest101 { _ this_is_a_passing_test = assert => asse...
namespace Contest.Demo { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using _ = System.Action<Contest.Core.Runner>; class Contest101 { _ this_is_a_passing_test = assert => assert.Equal(4, 2 + 2); _ this_is_a_faili...
mit
C#
1bac3dcb52abe127caecc2e3fb867d0e7e86e071
Remove unnecessary using
agens-no/PolyglotUnity
Assets/Polyglot/Scripts/SaveLanguagePreference.cs
Assets/Polyglot/Scripts/SaveLanguagePreference.cs
#if UNITY_5 using JetBrains.Annotations; #endif using UnityEngine; namespace Polyglot { public class SaveLanguagePreference : MonoBehaviour, ILocalize { [SerializeField] private string preferenceKey = "Polyglot.SelectedLanguage"; #if UNITY_5 [UsedImplicitly] #endif public void...
#if UNITY_5 using JetBrains.Annotations; #endif using UnityEngine; using System.Collections; namespace Polyglot { public class SaveLanguagePreference : MonoBehaviour, ILocalize { [SerializeField] private string preferenceKey = "Polyglot.SelectedLanguage"; #if UNITY_5 [UsedImplicitly] ...
mit
C#
0020196e4818f9ef60f1511204dc95d72b9919b1
Comment List Extension method.
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
uSync8.Core/Extensions/ListExtensions.cs
uSync8.Core/Extensions/ListExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace uSync8.Core.Extensions { public static class ListExtensions { /// <summary> /// Add item to list if the item is not null /// </summary> public static vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace uSync8.Core.Extensions { public static class ListExtensions { public static void AddNotNull<TObject>(this List<TObject> list, TObject item) { if (item == nu...
mpl-2.0
C#
cf21f1d8080a418e128232926fff21a8866367f1
Update server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
using System.Collections.Generic; using Promact.Trappist.DomainModel.Models.Question; using System.Linq; using Promact.Trappist.DomainModel.DbContext; namespace Promact.Trappist.Repository.Questions { public class QuestionRepository : IQuestionRepository { private readonly TrappistDbContext _dbContext...
mit
C#
2f18e5ca18ad73bbd1b804d0b9b48f5a92d3a3e9
test for xml converter
Happi-cat/Untech.SharePoint
Untech.SharePoint.Common.Test/Converters/Custom/XmlFieldConverterTest.cs
Untech.SharePoint.Common.Test/Converters/Custom/XmlFieldConverterTest.cs
using System.Runtime.Serialization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Untech.SharePoint.Common.Converters; using Untech.SharePoint.Common.Converters.Custom; namespace Untech.SharePoint.Common.Test.Converters.Custom { [TestClass] public class XmlFieldConverterTest : BaseConverterTest { [Te...
using System.Runtime.Serialization; using Microsoft.VisualStudio.TestTools.UnitTesting; using Untech.SharePoint.Common.Converters; using Untech.SharePoint.Common.Converters.Custom; namespace Untech.SharePoint.Common.Test.Converters.Custom { [TestClass] public class XmlFieldConverterTest : BaseConverterTest { [Te...
mit
C#
87891f8ba59b800c73115116b2dea1ff37c484bd
Fix grammar
martincostello/project-euler
src/ProjectEuler/Puzzle.cs
src/ProjectEuler/Puzzle.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler { using System; using System.Collections.Generic; /// <summary> /// The base class for pu...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler { using System; using System.Collections.Generic; /// <summary> /// The base class for pu...
apache-2.0
C#
90062b534228582c42cceaec18aacb0b7459046a
tidy up some more
Syntronian/cbabb,Syntronian/cbabb
source/CBA/Views/Home/Index.cshtml
source/CBA/Views/Home/Index.cshtml
@{ ViewBag.Title = "CBA Travel Companion"; } @section scripts { <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css"> @*<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script>*@ } <header class...
@{ ViewBag.Title = "CBA Travel Companion"; } @section scripts { <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/css/bootstrap.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.min.js"></script> } <header class="ba...
mit
C#
bea5d1d6ae1caa51b38369bf89c4c5430704b795
修复单元测试升级CO2NET之后的代码
JeffreySu/WxOpen,JeffreySu/WxOpen
src/Senparc.Weixin.WxOpen.Tests/Containers/SessionContainerTests.cs
src/Senparc.Weixin.WxOpen.Tests/Containers/SessionContainerTests.cs
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
apache-2.0
C#
83a4fb6f37f0fe725e52771e1d762cd407a56e2c
Remove empty lines
ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.cs
osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.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.Bindables; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using ...
// 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.Bindables; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using ...
mit
C#
eae23784662e89b9d1bdc4d5b0710afe77d41303
Add WIP to search filters
peppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu
osu.Game/Overlays/BeatmapListing/SearchCategory.cs
osu.Game/Overlays/BeatmapListing/SearchCategory.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.ComponentModel; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { public enum Se...
// 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.ComponentModel; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { public enum Se...
mit
C#
87f404c23b9938a81a6604c96344aaef34711f38
Move logging lambda to its own method
LassieME/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net,Confruggy/Discord.Net
docs/guides/samples/logging.cs
docs/guides/samples/logging.cs
using Discord; using Discord.Rest; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); public async Task Start() { _client = new DiscordSocketClient(new DiscordSocketConfig() { LogLevel = LogSever...
using Discord; using Discord.Rest; public class Program { private DiscordSocketClient _client; static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); public async Task Start() { _client = new DiscordSocketClient(new DiscordSocketConfig() { LogLevel = LogSever...
mit
C#
ba3d6e77c27a1cac091762d78e765944faa24d0a
Refactor SaveOptions
igitur/ClosedXML,ClosedXML/ClosedXML
ClosedXML/Excel/SaveOptions.cs
ClosedXML/Excel/SaveOptions.cs
// Keep this file CodeMaid organised and cleaned using System; namespace ClosedXML.Excel { public class SaveOptions { public SaveOptions() { #if DEBUG this.ValidatePackage = true; #else this.ValidatePackage = false; #endif } public Boolean EvaluateFormu...
using System; namespace ClosedXML.Excel { public sealed class SaveOptions { public SaveOptions() { #if DEBUG this.ValidatePackage = true; #else this.ValidatePackage = false; #endif this.EvaluateFormulasBeforeSaving = false; this.GenerateCalculat...
mit
C#
07d28d9dda070285cfbbcb7dce804d4d3f029beb
fix typo in Foldable documentation
StanJav/language-ext,louthy/language-ext,StefanBertels/language-ext
LanguageExt.Core/TypeClasses/Foldable/Foldable.cs
LanguageExt.Core/TypeClasses/Foldable/Foldable.cs
using System; using System.Diagnostics.Contracts; using LanguageExt.Attributes; namespace LanguageExt.TypeClasses { [Typeclass] public interface Foldable<FA, A> : Foldable<Unit, FA, A> { } [Typeclass] public interface Foldable<Env, FA, A> : Typeclass { /// <summary> /// In...
using System; using System.Diagnostics.Contracts; using LanguageExt.Attributes; namespace LanguageExt.TypeClasses { [Typeclass] public interface Foldable<FA, A> : Foldable<Unit, FA, A> { } [Typeclass] public interface Foldable<Env, FA, A> : Typeclass { /// <summary> /// In...
mit
C#
d61d8bfa40cc0a823795844d78adec2e260326e3
Remove erroneous "$" symbol from "bling string."
brendanjbaker/Bakery
src/Bakery/Configuration/Properties/PropertyNotFoundException.cs
src/Bakery/Configuration/Properties/PropertyNotFoundException.cs
namespace Bakery.Configuration.Properties { using System; public class PropertyNotFoundException : Exception { private readonly String propertyName; public PropertyNotFoundException(String propertyName) { this.propertyName = propertyName; } public override String Message { get...
namespace Bakery.Configuration.Properties { using System; public class PropertyNotFoundException : Exception { private readonly String propertyName; public PropertyNotFoundException(String propertyName) { this.propertyName = propertyName; } public override String Message { get...
mit
C#
98126f71d90585991deb860bf60ec584472f24ba
use extension method to cleanup cookie path
18098924759/IdentityServer3,EternalXw/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,charoco/IdentityServer3,jackswei/IdentityServer3,angelapper/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,codeice/IdentityServer3,delloncba/IdentityServer3,18098924759/IdentityServer3,olohmann/IdentityServer3,delloncba/...
source/Core/Configuration/Hosting/SessionCookie.cs
source/Core/Configuration/Hosting/SessionCookie.cs
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 2014, 2015 Dominick Baier, Brock Allen * * 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#
a3f18af8714361e51d055e8cf33312e0fe90aa4d
Remove unused progressSection calculation
jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterC...
PartPreviewWindow/View3D/SliceProgressReporter.cs
PartPreviewWindow/View3D/SliceProgressReporter.cs
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
faf12a94d064a301c226b321eb201df04df0836c
Fix directory
KrzysztofCwalina/corefxlab,stephentoub/corefxlab,stephentoub/corefxlab,benaadams/corefxlab,tarekgh/corefxlab,whoisj/corefxlab,benaadams/corefxlab,adamsitnik/corefxlab,ahsonkhan/corefxlab,ericstj/corefxlab,ericstj/corefxlab,ericstj/corefxlab,KrzysztofCwalina/corefxlab,stephentoub/corefxlab,tarekgh/corefxlab,adamsitnik/c...
src/System.IO.FileSystem.Watcher.Polling/System/IO/FileChange.cs
src/System.IO.FileSystem.Watcher.Polling/System/IO/FileChange.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; namespace System.IO.FileSystem { public struct FileChange { string _directory; string _path; ChangeType _cha...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Diagnostics; namespace System.IO.FileSystem { public struct FileChange { string _directory; string _path; ChangeType _cha...
mit
C#
92ccdd61b9a2dbaa32c922812542ef9061892e85
Update version
webprofusion/Certify,Prerequisite/Certify,Marcus-L/Certify,ndouthit/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#
7fa0e75288a7124a55728feecb140ef02140b133
Change default Search URL Prefix
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/Search/Settings.cs
DesktopWidgets/Widgets/Search/Settings.cs
using System.ComponentModel; using System.Windows; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.Search { public class Settings : WidgetSettingsBase { public Settings() { Style.Width = 150; Style.FramePadding = new Thickness(0); } ...
using System.ComponentModel; using System.Windows; using DesktopWidgets.WidgetBase.Settings; namespace DesktopWidgets.Widgets.Search { public class Settings : WidgetSettingsBase { public Settings() { Style.Width = 150; Style.FramePadding = new Thickness(0); } ...
apache-2.0
C#
f9f53041b9da87946b63230b362691ff30b2bc36
Fix encoding issue while the query string parameters contains Chinese characters
exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless
src/Exceptionless.Core/Extensions/UriExtensions.cs
src/Exceptionless.Core/Extensions/UriExtensions.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; namespace Exceptionless.Core.Extensions { public static class UriExtensions { public static string ToQueryString(this NameValueCollection collection) { return collection.AsKeyValuePairs().T...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; namespace Exceptionless.Core.Extensions { public static class UriExtensions { public static string ToQueryString(this NameValueCollection collection) { return collection.AsKeyValuePairs().T...
apache-2.0
C#
5b41465266ca6aaef58c8be5b9b659e4a40671f2
remove unneeded reflection schema stuff (for now)
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Data/Schema/JsonSchemaGenerator.cs
src/FilterLists.Data/Schema/JsonSchemaGenerator.cs
using System; using System.IO; using FilterLists.Data.Models.Implementations; using Newtonsoft.Json.Schema.Generation; namespace FilterLists.Data.Schema { public static class JsonSchemaGenerator { public static void WriteSchemaToFiles() { WriteSchemaToFile(typeof(List)); } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using FilterLists.Data.Models.Implementations; using Newtonsoft.Json.Schema.Generation; namespace FilterLists.Data.Schema { public static class JsonSchemaGenerator { public static void WriteSch...
mit
C#
12131d92390a208b7f6189269a21f17774c97d17
Make TestUserProfile service more derivation friendly
jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,jbijlsma/Identity...
src/IdentityServer4/Test/TestUserProfileService.cs
src/IdentityServer4/Test/TestUserProfileService.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer4.Services; using Microsoft.Extensions.Logging; using Sys...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityServer4.Extensions; using IdentityServer4.Models; using IdentityServer4.Services; using Microsoft.Extensions.Logging; using Sys...
apache-2.0
C#
14361cb59bf4170866a711dcfa5f7edecbdf972e
fix name
mzrimsek/resume-site-api
Integration.EntityFramework/Models/Job.cs
Integration.EntityFramework/Models/Job.cs
using System; using System.ComponentModel.DataAnnotations; namespace Integration.EntityFramework.Models { public class Job { [Key] public int Id { get; set; } [Required] public string Name { get; set; } [Required] public string City { get; set; } [Required] public string State { get...
using System; using System.ComponentModel.DataAnnotations; namespace Integration.EntityFramework.Models { public class JobDatabaseModel { [Key] public int Id { get; set; } [Required] public string Name { get; set; } [Required] public string City { get; set; } [Required] public strin...
mit
C#
00b784618caa58b2efe38b9d54cf8fc57bbc93da
hide Register link from navigation #102
FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray
src/Fan.Web/Views/Shared/_LoginPartial.cshtml
src/Fan.Web/Views/Shared/_LoginPartial.cshtml
@using Microsoft.AspNetCore.Identity @using Fan.Models @inject SignInManager<User> SignInManager @inject UserManager<User> UserManager @if (SignInManager.IsSignedIn(User)) { <form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-right"> <ul class="nav n...
@using Microsoft.AspNetCore.Identity @using Fan.Models @inject SignInManager<User> SignInManager @inject UserManager<User> UserManager @if (SignInManager.IsSignedIn(User)) { <form asp-area="" asp-controller="Account" asp-action="Logout" method="post" id="logoutForm" class="navbar-right"> <ul class="nav n...
apache-2.0
C#
d62349c945e99df935d5970f882ba1bd81e1d613
Fix bug in IQuery interface
csf-dev/CSF.Security
CSF/Data/IQuery.cs
CSF/Data/IQuery.cs
// // IQuery.cs // // Author: // Craig Fowler <craig@craigfowler.me.uk> // // Copyright (c) 2016 Craig Fowler // // 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,...
// // IQuery.cs // // Author: // Craig Fowler <craig@craigfowler.me.uk> // // Copyright (c) 2016 Craig Fowler // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction,...
mit
C#
e2e3423966dd80c9dbb9aa326bbb2aae7bef9a95
fix hoe breaking objects on untilled dirt
Pathoschild/StardewMods
TractorMod/Framework/Attachments/HoeAttachment.cs
TractorMod/Framework/Attachments/HoeAttachment.cs
using Microsoft.Xna.Framework; using StardewValley; using StardewValley.TerrainFeatures; using StardewValley.Tools; using SFarmer = StardewValley.Farmer; using SObject = StardewValley.Object; namespace Pathoschild.Stardew.TractorMod.Framework.Attachments { /// <summary>An attachment for the hoe.</summary> inte...
using Microsoft.Xna.Framework; using StardewValley; using StardewValley.TerrainFeatures; using StardewValley.Tools; using SFarmer = StardewValley.Farmer; using SObject = StardewValley.Object; namespace Pathoschild.Stardew.TractorMod.Framework.Attachments { /// <summary>An attachment for the hoe.</summary> inte...
mit
C#
1a26658ba4d3ab18ce3661bb4f1ec4b8405d825d
Add description for mania special style
NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game.Rulesets.Mania/Edit/Setup/ManiaSetupSection.cs
osu.Game.Rulesets.Mania/Edit/Setup/ManiaSetupSection.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; using osu.Game.Graphics.UserInterfaceV2; using osu.Game.Screens.Edit.Setup; namespace osu.Game.Rulesets.Man...
// 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; using osu.Game.Graphics.UserInterfaceV2; using osu.Game.Screens.Edit.Setup; namespace osu.Game.Rulesets.Man...
mit
C#
f647ba703fef8a0af85dedc12c60ce936f56fa7c
Clean up formatting
ballance/QuickTest
QuickTest/CompressionTester.cs
QuickTest/CompressionTester.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuickTest { public class CompressionTester { public static int bufferSize = 32768; public string Compress(string uncompres...
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QuickTest { public class CompressionTester { public static int bufferSize = 32768; public string Compress(string uncompre...
mit
C#
0925586c22d4961e18f0352c5e12fc4905cc952a
Implement messenger
sakapon/Samples-2017
Network/UdpSample/UdpMessenger/Program.cs
Network/UdpSample/UdpMessenger/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace UdpMessenger { class Program { static void Main(string[] args) { try { var localPort = int.Parse(GetInput("Local Port: ", "8100")); var remoteHost =...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UdpMessenger { class Program { static void Main(string[] args) { } } }
mit
C#
788c94f11e451706df6b6685e781c1fb8812b8c6
Update AssemblyRedirects.cs
mgoertz-msft/roslyn,bkoelman/roslyn,physhi/roslyn,mattscheffer/roslyn,MichalStrehovsky/roslyn,stephentoub/roslyn,jeffanders/roslyn,leppie/roslyn,brettfo/roslyn,AmadeusW/roslyn,KevinH-MS/roslyn,physhi/roslyn,stephentoub/roslyn,tmeschter/roslyn,KevinH-MS/roslyn,aelij/roslyn,AArnott/roslyn,weltkante/roslyn,yeaicc/roslyn,a...
src/VisualStudio/Setup/AssemblyRedirects.cs
src/VisualStudio/Setup/AssemblyRedirects.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
mit
C#
fec14977533f862213401bd915683bd44e416208
handle the 404 error - for angular routes
krzyhook/aspnet-core-angular2-starter,krzyhook/aspnet-core-angular2-starter,krzyhook/aspnet-core-angular2-starter,krzyhook/aspnet-core-angular2-starter
src/aspnet-core-angular2-starter/Startup.cs
src/aspnet-core-angular2-starter/Startup.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namesp...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace AspNetCoreAng...
mit
C#
071c98f12d6c93ebba0f33835df910ac05ce751c
Change version to 1.8
Seddryck/NBi,Seddryck/NBi
AssemblyInfo.cs
AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
using System.Reflection; using System.Runtime.CompilerServices; // 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: AssemblyCompany("NBi Team - Cédric L. Charlier")]...
apache-2.0
C#
2203465c2f43187d1be43a1c61d554ea67f94ede
Refactor away property setter usages to allow Color to be immutable.
dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless
src/dotless.Core/Plugins/ColorSpinPlugin.cs
src/dotless.Core/Plugins/ColorSpinPlugin.cs
namespace dotless.Core.Plugins { using Parser.Infrastructure.Nodes; using Parser.Tree; using Utils; using System.ComponentModel; [Description("Automatically spins all colors in a less file"), DisplayName("ColorSpin")] public class ColorSpinPlugin : VisitorPlugin { public double Spi...
namespace dotless.Core.Plugins { using System; using Parser.Infrastructure.Nodes; using Parser.Tree; using Utils; using System.ComponentModel; [Description("Automatically spins all colors in a less file"), DisplayName("ColorSpin")] public class ColorSpinPlugin : VisitorPlugin { ...
apache-2.0
C#
75f04f6f93b31431fc396cd299738f2907a99dc2
Add [HideInInspector] to isCustomProfile
killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Definitions/BaseMixedRealityProfile.cs
Assets/MixedRealityToolkit/Definitions/BaseMixedRealityProfile.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit { public abstract class BaseMixedRealityProfile : ScriptableObject { [SerializeField] ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace Microsoft.MixedReality.Toolkit { public abstract class BaseMixedRealityProfile : ScriptableObject { [SerializeField] ...
mit
C#
c7e8221b15578596ff16881555155286bd790118
Update dll version for storage
naveedaz/azure-powershell,atpham256/azure-powershell,atpham256/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,hungmai-msft/azure-powershell,Clogen...
src/Storage/Commands.Storage/Properties/AssemblyInfo.cs
src/Storage/Commands.Storage/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
62c28f41feed8818c31de6c69a79b1b419f60a1d
Fix event lookup
l8s/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto
Source/Eto/EventLookup.cs
Source/Eto/EventLookup.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; namespace Eto { static class EventLookup { static readonly Dictionary<Type, List<EventDeclaration>> registeredEvents = new Dictionary<Type, List<EventDeclaration>>(); static readonly Assembly etoAssembly = typeof(EventLoo...
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; namespace Eto { static class EventLookup { static readonly Dictionary<Type, List<EventDeclaration>> registeredEvents = new Dictionary<Type, List<EventDeclaration>>(); static readonly Assembly etoAssembly = typeof(EventLoo...
bsd-3-clause
C#
b26b9ae3630710c1a02c361f05dd7003176d7cea
Update Tests/AssemblyLocation.cs
SimonCropp/CaptureSnippets
Tests/AssemblyLocation.cs
Tests/AssemblyLocation.cs
using System.IO; public static class AssemblyLocation { static AssemblyLocation() { var assembly = typeof(AssemblyLocation).Assembly; var path = assembly.CodeBase .Replace("file:///", "") .Replace("file://", "") .Replace(@"file:\\\", "") .Replace...
using System.IO; public static class AssemblyLocation { static AssemblyLocation() { var assembly = typeof(AssemblyLocation).Assembly; var path = assembly.CodeBase .Replace("file:///", "") .Replace("file://", "") .Replace(@"file:\\\", "") .Replace...
mit
C#
b4f191cd47e2111278f624233a9e46b7cfae6bbd
Add Func`3 doc
AMDL/CommonMark.NET,AMDL/CommonMark.NET
CommonMark/Func.cs
CommonMark/Func.cs
using System; namespace CommonMark { #if v2_0 /// <summary>An alternative to <c>System.Func</c> which is not present in .NET 2.0.</summary> public delegate TResult Func<in T, out TResult>(T arg); /// <summary>An alternative to <c>System.Func</c> which is not present in .NET 2.0.</summary> public dele...
using System; namespace CommonMark { #if v2_0 /// <summary>An alternative to <c>System.Func</c> which is not present in .NET 2.0.</summary> public delegate TResult Func<in T, out TResult>(T arg); public delegate TResult Func<in T1, in T2, out TResult>(T1 arg1, T2 arg2); /// <summary>An alternative to...
bsd-3-clause
C#
5a5037b4cf609b2e25935021411d8895a675fbe6
use var
pardeike/Harmony
HarmonyTests/IL/Instructions.cs
HarmonyTests/IL/Instructions.cs
using Harmony; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Reflection.Emit; namespace HarmonyTests.IL { [TestClass] public class Instructions { [TestMethod] public void TestMalformedStringOperand() { var expectedOperand = "this should not fail {4}"; var inst = new CodeInstruction(Op...
using Harmony; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Reflection.Emit; namespace HarmonyTests.IL { [TestClass] public class Instructions { [TestMethod] public void TestMalformedStringOperand() { string expectedOperand = "this should not fail {4}"; var inst = new CodeInstr...
mit
C#
090808d3c1de878382bea5ed7e27304e67721e49
Refactor UnblindedSignature class
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/UnblindedSignature.cs
WalletWasabi/Crypto/UnblindedSignature.cs
using System; using NBitcoin.DataEncoders; using NBitcoin.Secp256k1; namespace WalletWasabi.Crypto { #nullable enable public class UnblindedSignature { internal UnblindedSignature(in Scalar c, in Scalar s) { C = c; S = s; } internal Scalar C { get; } internal Scalar S { get; } public static bool...
using System; using NBitcoin.DataEncoders; using NBitcoin.Secp256k1; namespace WalletWasabi.Crypto { #nullable enable public class UnblindedSignature { internal Scalar C { get; } internal Scalar S { get; } internal UnblindedSignature(in Scalar c, in Scalar s) { C = c; S = s; } public static bool...
mit
C#
5b3ee1de430b3fd5781fec356b1b73fef4245f6a
Update RemovingWorksheetsUsingSheetName.cs
aspose-cells/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,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-....
Examples/CSharp/Worksheets/Management/RemovingWorksheetsUsingSheetName.cs
Examples/CSharp/Worksheets/Management/RemovingWorksheetsUsingSheetName.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Management { public class RemovingWorksheetsUsingSheetName { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Management { public class RemovingWorksheetsUsingSheetName { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.Get...
mit
C#
de22589499de4462c1bd194bc927a92e7fa8504a
Add UNITY_EDITOR_LINUX check in Packsize
rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET
com.rlabrecque.steamworks.net/Runtime/Packsize.cs
com.rlabrecque.steamworks.net/Runtime/Packsize.cs
// This file is provided under The MIT License as part of Steamworks.NET. // Copyright (c) 2013-2022 Riley Labrecque // Please see the included LICENSE.txt for additional information. // This file is automatically generated. // Changes to this file will be reverted when you update Steamworks.NET #if !(UNITY_STANDALON...
// This file is provided under The MIT License as part of Steamworks.NET. // Copyright (c) 2013-2022 Riley Labrecque // Please see the included LICENSE.txt for additional information. // This file is automatically generated. // Changes to this file will be reverted when you update Steamworks.NET #if !(UNITY_STANDALON...
mit
C#
85a4b2188881aaea531757bbb19f2684aa7bff40
Add support of Patch Creator 1.0.0.9
dsolovay/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager
src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs
src/SIM.Tool.Windows/MainWindowComponents/CreateSupportPatchButton.cs
namespace SIM.Tool.Windows.MainWindowComponents { using System; using System.IO; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Core; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; [UsedImplicitly] public clas...
namespace SIM.Tool.Windows.MainWindowComponents { using System.IO; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Core; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; [UsedImplicitly] public class CreateSupportP...
mit
C#
69c41b953ec2fda7b6393e9bc30f7ac78e283615
Fix typo in EntityPostion handler
SharpUmbrella/RustInterceptor
RustInterceptor/Data/Entity.cs
RustInterceptor/Data/Entity.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Rust_Interceptor.Data { public class Entity { /* BaseNetworkable */ public uint UID { get { return protobuf.baseNetworkable.uid; } } public uint Group { get { return protobuf.baseNetworkable.group; } } public ui...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Rust_Interceptor.Data { public class Entity { /* BaseNetworkable */ public uint UID { get { return protobuf.baseNetworkable.uid; } } public uint Group { get { return protobuf.baseNetworkable.group; } } public ui...
mit
C#
2b01faf218e99d31e40e481865cdc0aeb11c7a30
Disable running on codecov
vCipher/Cake.Hg
setup.cake
setup.cake
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "Cak...
#load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease Environment.SetVariableNames(); BuildParameters.SetParameters(context: Context, buildSystem: BuildSystem, sourceDirectoryPath: "./src", title: "Cak...
mit
C#
86da1a96f6d0303b4f2666bd05fbc6d3caf0a13a
bump version
Fody/Freezable
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.3.0.0")] [assembly: AssemblyFileVersion("0.3.0.0")]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.2.0.0")] [assembly: AssemblyFileVersion("0.2.0.0")]
mit
C#
17ad6648d1e837a7a85f57792a9185377b37bd52
Fix new test failing on headless runs
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Visual/SongSelect/TestSceneDifficultyRangeFilterControl.cs
osu.Game.Tests/Visual/SongSelect/TestSceneDifficultyRangeFilterControl.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. #nullable disable using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Screens.Select; using osuTK; namespace osu.Game.Tests.Visual.SongSelect { publi...
// 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. #nullable disable using NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Screens.Select; using osuTK; namespace osu.Game.Tests.Visual.SongSelect { publi...
mit
C#
f2c3577463323f7def4c5356fc18cc5fd3e27172
Update vuokaavio 3
JuusoLo/Programming-basics
Conditional-Statements/conditional-statement/loop_example_2/Program.cs
Conditional-Statements/conditional-statement/loop_example_2/Program.cs
using System; namespace loop_example_2 { class Program { static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; Console.WriteLine("Ohjelma laskee. Anna luku, mistä summa lasketaan:"); string userInput = Console.ReadLine(); ...
using System; namespace loop_example_2 { class Program { static void Main(string[] args) { Console.OutputEncoding = System.Text.Encoding.UTF8; Console.WriteLine("Ohjelma laskee. Anna luku, jonka mistä summa lasketaan:"); string userInput = Console.ReadLine()...
mit
C#
a5f866d95ce0a6e97c8620b22266b5bf3f470173
Test updates
smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.cs
osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.cs
using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects.Dra...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Osu.Objects; using os...
mit
C#
477e45365d09f11ff6df8ffccef15618f6d9e91f
Allow only Tor endpoints (#673)
NicolasDorier/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin
NBitcoin/Protocol/Connectors/DefaultEndpointConnector.cs
NBitcoin/Protocol/Connectors/DefaultEndpointConnector.cs
#if !NOSOCKET using NBitcoin.Protocol.Behaviors; using NBitcoin.Socks; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace NBitcoin.Protocol.Connectors { public class DefaultE...
#if !NOSOCKET using NBitcoin.Protocol.Behaviors; using NBitcoin.Socks; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace NBitcoin.Protocol.Connectors { public class DefaultE...
mit
C#
6c6b13db945fbd350fdcf82062bde5017bd5c073
Use Index initializers
ms-iot/UniversalMediaEngine
samples/speechSynthesisSample/speechSynthesisSample/MainPage.xaml.cs
samples/speechSynthesisSample/speechSynthesisSample/MainPage.xaml.cs
 using Microsoft.Maker.Media.UniversalMediaEngine; using System; using System.Diagnostics; using Windows.Media.SpeechSynthesis; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace speechSynthesisSa...
 using Microsoft.Maker.Media.UniversalMediaEngine; using System; using System.Diagnostics; using Windows.Media.SpeechSynthesis; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace speechSynthesisSa...
mit
C#
786f2ecbe5d3528595438f2154b2c3e719c0fc48
Remove trait from commontraits.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Items/Traits/CommonTraits.cs
UnityProject/Assets/Scripts/Items/Traits/CommonTraits.cs
using UnityEngine; /// <summary> /// Singleton, provides common ItemTraits with special purposes (such as components /// used on many prefabs which automatically cause an object to have particular traits) so they can be easily used /// in components without needing to be assigned in editor. /// </summary> [CreateAsse...
using UnityEngine; /// <summary> /// Singleton, provides common ItemTraits with special purposes (such as components /// used on many prefabs which automatically cause an object to have particular traits) so they can be easily used /// in components without needing to be assigned in editor. /// </summary> [CreateAsse...
agpl-3.0
C#
f023251170fd98f683433993165643b9bae6884e
Update QuoteRepository.cs
ShadowNoire/NadekoBot,miraai/NadekoBot,shikhir-arora/NadekoBot,Youngsie1997/NadekoBot,PravEF/EFNadekoBot,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,powered-by-moe/MikuBot,ScarletKuro/NadekoBot,Midnight-Myth/Mitternacht-NEW,WoodenGlaze/NadekoBot,Nielk1/NadekoBot,halitalf/Na...
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs
using NadekoBot.Services.Database.Models; using NadekoBot.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace NadekoBot.Services.Database.Repositories.Impl { public class QuoteRepository : Repository<Quote>, IQu...
using NadekoBot.Services.Database.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace NadekoBot.Services.Database.Repositories.Impl { public class QuoteRepository : Repository<Quote>, IQuoteRepository { ...
mit
C#
d475f9827359324174962016176b33be2c3db9cb
Implement `BinaryExpression.ToString()`
ForNeVeR/Pash,ForNeVeR/Pash,sillvan/Pash,mrward/Pash,ForNeVeR/Pash,mrward/Pash,sillvan/Pash,WimObiwan/Pash,mrward/Pash,mrward/Pash,sillvan/Pash,WimObiwan/Pash,sillvan/Pash,Jaykul/Pash,sburnicki/Pash,sburnicki/Pash,Jaykul/Pash,JayBazuzi/Pash,JayBazuzi/Pash,JayBazuzi/Pash,JayBazuzi/Pash,Jaykul/Pash,Jaykul/Pash,WimObiwan/...
Source/Pash.System.Management/Pash/ParserIntrinsics/BinaryExpressionAst.cs
Source/Pash.System.Management/Pash/ParserIntrinsics/BinaryExpressionAst.cs
using System; using System.Collections.Generic; using System.Management.Automation; namespace System.Management.Automation.Language { public class BinaryExpressionAst : ExpressionAst { public BinaryExpressionAst(IScriptExtent extent, ExpressionAst left, TokenKind @operator, ExpressionAst right, IScrip...
using System; using System.Collections.Generic; using System.Management.Automation; namespace System.Management.Automation.Language { public class BinaryExpressionAst : ExpressionAst { public BinaryExpressionAst(IScriptExtent extent, ExpressionAst left, TokenKind @operator, ExpressionAst right, IScrip...
bsd-3-clause
C#
199bd7cf38c925527a923f1470ebdbf965ab2e8b
Fix typo in DirectoryTransferContext.cs
Azure/azure-storage-net-data-movement
lib/DirectoryTransferContext.cs
lib/DirectoryTransferContext.cs
//------------------------------------------------------------------------------ // <copyright file="DirectoryTransferContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //------------------------------------------------------------------------------ namespace Microsoft.WindowsA...
//------------------------------------------------------------------------------ // <copyright file="DirectoryTransferContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //------------------------------------------------------------------------------ namespace Microsoft.WindowsA...
mit
C#
4e53e57b5c034fedb4c0d081b11eccb2cbc793db
Add version information
cd01/sudo-in-windows,cd01/sudo-in-windows
sudo.cs
sudo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; [assembly: AssemblyVersion("0.0.0.1")] [assembly: AssemblyCopyright("Copyright cd01 2014")] [assembly: AssemblyDescription("Elevate UAC")] class sudo { static void Main(string[] args) { var st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace sudo { class Program { static void Main(string[] args) { var startInfo = new System.Diagnostics.ProcessStartInfo() { FileName =...
mit
C#
c7ca84ff53e265c9125c766153471346d9a291ee
Update RestVerb.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/Rest/RestVerb.cs
TIKSN.Core/Web/Rest/RestVerb.cs
namespace TIKSN.Web.Rest { public enum RestVerb { Get, Delete, Put, Post } }
namespace TIKSN.Web.Rest { public enum RestVerb { Get, Delete, Put, Post } }
mit
C#
93441272cdef1a8c1a8890d88c6f608b49d11fa7
Rename from Path to Extension of IMediaFile.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.MediaServices/IMediaFile.cs
client/BlueMonkey/BlueMonkey.MediaServices/IMediaFile.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlueMonkey.MediaServices { public interface IMediaFile : IDisposable { /// <summary> /// Extension of media file. Start with a period. /// </su...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlueMonkey.MediaServices { public interface IMediaFile : IDisposable { /// <summary> /// Path to file. /// </summary> string Path { get...
mit
C#
1a6d39cb5fbe115c20a1e267c6a210446830d422
Use external console when running DNX apps.
mrward/monodevelop-dnx-addin
src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxProjectConfiguration.cs
src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxProjectConfiguration.cs
// // DnxProjectConfiguration.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 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 without re...
// // DnxProjectConfiguration.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 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 without re...
mit
C#
1882c825e1f53e8c377084716b78dac15893ec72
Change route name to be unique (#835)
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Api/Controllers/EmployerAgreementController.cs
src/SFA.DAS.EAS.Api/Controllers/EmployerAgreementController.cs
using System.Threading.Tasks; using System.Web.Http; using NLog; using SFA.DAS.EAS.Api.Attributes; using SFA.DAS.EAS.Api.Orchestrators; namespace SFA.DAS.EAS.Api.Controllers { [RoutePrefix("api/accounts/{hashedAccountId}/legalEntities/{hashedlegalEntityId}/agreements")] public class EmployerAgreementControlle...
using System.Threading.Tasks; using System.Web.Http; using NLog; using SFA.DAS.EAS.Api.Attributes; using SFA.DAS.EAS.Api.Orchestrators; namespace SFA.DAS.EAS.Api.Controllers { [RoutePrefix("api/accounts/{hashedAccountId}/legalEntities/{hashedlegalEntityId}/agreements")] public class EmployerAgreementControlle...
mit
C#
974101624b560bdb4cb6a2fd084e075176ffee4e
fix text
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Account/LoginWithU2F.cshtml
BTCPayServer/Views/Account/LoginWithU2F.cshtml
@model BTCPayServer.U2F.Models.LoginWithU2FViewModel <form id="u2fForm" asp-action="LoginWithU2F" method="post" asp-route-returnUrl="@ViewData["ReturnUrl"]"> <input type="hidden" asp-for="Version" /> <input type="hidden" asp-for="Challenge" /> <input type="hidden" asp-for="AppId" /> <input type="hidden...
@model BTCPayServer.U2F.Models.LoginWithU2FViewModel <form id="u2fForm" asp-action="LoginWithU2F" method="post" asp-route-returnUrl="@ViewData["ReturnUrl"]"> <input type="hidden" asp-for="Version" /> <input type="hidden" asp-for="Challenge" /> <input type="hidden" asp-for="AppId" /> <input type="hidden...
mit
C#
ac44e1d6e2ab4a81eee12d55fd291eb714b3f635
Update PERSTATReportJob.cs
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/PERSTATReportJob.cs
Battery-Commander.Web/Jobs/PERSTATReportJob.cs
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using FluentEmail.Core; using FluentEmail.Core.Models; using FluentScheduler; using System.Collections.Generic; using System.IO; namespace BatteryCommander.Web.Jobs { public class PERSTATReportJob : IJob { private static IList<Add...
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using FluentEmail.Core; using FluentEmail.Core.Models; using FluentScheduler; using System.Collections.Generic; using System.IO; namespace BatteryCommander.Web.Jobs { public class PERSTATReportJob : IJob { private static IList<Add...
mit
C#
e8d74ba067d1495b7a1724febbb473203c39affa
Remove 'Beta' from version
Jericho/CakeMail.RestClient
CakeMail.RestClient/Properties/AssemblyInfo.cs
CakeMail.RestClient/Properties/AssemblyInfo.cs
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
using System.Reflection; // 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("CakeMail.RestClient")] [assembly: AssemblyDescription("CakeMail.RestClient is a...
mit
C#
6fc5f5c904d37d2be643e2a91b6310948a0808d5
Make AudioSource mandatory for AudioObject.
dimixar/audio-controller-unity
AudioController/Assets/Source/AudioObject.cs
AudioController/Assets/Source/AudioObject.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(AudioSource))] public class AudioObject : MonoBehaviour { public System.Action<AudioObject> OnFinishedPlaying; #region private fields private string _id; private AudioClip _clip; private AudioSour...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioObject : MonoBehaviour { public System.Action<AudioObject> OnFinishedPlaying; #region private fields private string _id; private AudioClip _clip; private AudioSource _source; private Coroutine _...
mit
C#
4882137ffb2127fd9dd6c5dbb7af18e9e44c4b30
Add indicator to APFT list
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/APFT/List.cshtml
Battery-Commander.Web/Views/APFT/List.cshtml
@model IEnumerable<APFT> <div class="page-header"> <h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <thead> <tr> <th>Soldier</th> <th>Date</th> <th>Score</th> ...
@model IEnumerable<APFT> <div class="page-header"> <h1>APFT @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <thead> <tr> <th>Soldier</th> <th>Date</th> <th>Score</th> ...
mit
C#
a1f26a74ec68f492065cc99bdb7812d1f4bc48ea
Fix sending
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Systems/VesselFlightStateSys/VesselFlightStateMessageSender.cs
Client/Systems/VesselFlightStateSys/VesselFlightStateMessageSender.cs
using LunaClient.Base; using LunaClient.Base.Interface; using LunaClient.Network; using LunaClient.Systems.TimeSyncer; using LunaClient.Systems.Warp; using LunaClient.VesselStore; using LunaCommon.Message.Client; using LunaCommon.Message.Data.Vessel; using LunaCommon.Message.Interface; namespace LunaClient.Systems.Ve...
using LunaClient.Base; using LunaClient.Base.Interface; using LunaClient.Network; using LunaClient.Systems.TimeSyncer; using LunaClient.VesselStore; using LunaCommon.Message.Client; using LunaCommon.Message.Data.Vessel; using LunaCommon.Message.Interface; namespace LunaClient.Systems.VesselFlightStateSys { public...
mit
C#
240401a3baca6ac857c399ff9821cbc0f0f5edf0
Remove unnecessary using
danielmarbach/nunit,JustinRChou/nunit,Therzok/nunit,dicko2/nunit,JohanO/nunit,mikkelbu/nunit,michal-franc/nunit,zmaruo/nunit,jhamm/nunit,NarohLoyahl/nunit,jnm2/nunit,Green-Bug/nunit,jadarnel27/nunit,akoeplinger/nunit,cPetru/nunit-params,pcalin/nunit,ggeurts/nunit,NikolayPianikov/nunit,nivanov1984/nunit,mikkelbu/nunit,O...
NUnitConsole/src/nunit-console/OutputWriters/NUnit3XmlOutputWriter.cs
NUnitConsole/src/nunit-console/OutputWriters/NUnit3XmlOutputWriter.cs
// *********************************************************************** // Copyright (c) 2011 Charlie Poole // // 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, incl...
// *********************************************************************** // Copyright (c) 2011 Charlie Poole // // 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, incl...
mit
C#
24302020bc0bc975c5767c538e464e97b13a5630
Remove file header
Spreads/Spreads
tests/Spreads.Extensions.Tests/Storage/SQLite/SqlitePerformanceTest.cs
tests/Spreads.Extensions.Tests/Storage/SQLite/SqlitePerformanceTest.cs
using System; using System.Data; using System.IO; using System.Reflection; using System.Diagnostics; using Dapper; //using Dapper; using NUnit.Framework; using Microsoft.Data.Sqlite.Utilities; using static Microsoft.Data.Sqlite.TestUtilities.Constants; namespace Microsoft.Data.Sqlite { [TestFixture] public cl...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Data; using System.IO; using System.Reflection; using System.Diagnostics; using Dapper; //using Dapper; using NUnit.Framework...
mpl-2.0
C#
5b64903e9b0f1da283a4b0e704534d01d27e6eab
Fix null deref in NetInfo (#477)
lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows
ReactWindows/ReactNative/Modules/NetInfo/DefaultNetworkInformation.cs
ReactWindows/ReactNative/Modules/NetInfo/DefaultNetworkInformation.cs
using Windows.Networking.Connectivity; namespace ReactNative.Modules.NetInfo { class DefaultNetworkInformation : INetworkInformation { public event NetworkStatusChangedEventHandler NetworkStatusChanged; public void Start() { NetworkInformation.NetworkStatusChanged += OnNet...
using Windows.Networking.Connectivity; namespace ReactNative.Modules.NetInfo { class DefaultNetworkInformation : INetworkInformation { public event NetworkStatusChangedEventHandler NetworkStatusChanged; public void Start() { NetworkInformation.NetworkStatusChanged += OnNet...
mit
C#
aabe669444c16383c39a74f376e93e2385dfd199
Update copyright
aarondemarre/DRLeagueParser
DRNumberCrunchers/Properties/AssemblyInfo.cs
DRNumberCrunchers/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; // 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("DRNumberCrunchers")] [assembly: AssemblyDescription("")...
using System.Resources; using System.Reflection; // 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("DRNumberCrunchers")] [assembly: AssemblyDescription("")...
mit
C#
c678a24f0fa6fec80436d8846b36056b63ad27d8
Fix a failing test
rockfordlhotka/csla,rockfordlhotka/csla,JasonBock/csla,MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla
Source/csla.netcore.test/DataPortal/ServiceProviderInvocationTests.cs
Source/csla.netcore.test/DataPortal/ServiceProviderInvocationTests.cs
//----------------------------------------------------------------------- // <copyright file="ServiceProviderMethodCallerTests.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>no summary</summary> //-----------------------...
//----------------------------------------------------------------------- // <copyright file="ServiceProviderMethodCallerTests.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>no summary</summary> //-----------------------...
mit
C#
c1fc6e038baca7301769192236b2053a5f352b98
Fix enum GroupingTreeNodeFlags
martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet,martin211/aimp_dotnet
AIMP.SDK/MusicLibrary/DataStorage/IAimpGroupingTreeDataProviderSelection.cs
AIMP.SDK/MusicLibrary/DataStorage/IAimpGroupingTreeDataProviderSelection.cs
using System; namespace AIMP.SDK.MusicLibrary.DataStorage { [Flags] public enum GroupingTreeNodeFlags { AIMPML_GROUPINGTREENODE_FLAG_HASCHILDREN = 1, AIMPML_GROUPINGTREENODE_FLAG_STANDALONE = 2 } public enum FieldImageIndex { AIMPML_FIELDIMAGE_FOLDER = 0, AIMPM...
namespace AIMP.SDK.MusicLibrary.DataStorage { public enum GroupingTreeNodeFlags { AIMPML_GROUPINGTREENODE_FLAG_HASCHILDREN = 1, AIMPML_GROUPINGTREENODE_FLAG_STANDALONE = 2 } public enum FieldImageIndex { AIMPML_FIELDIMAGE_FOLDER = 0, AIMPML_FIELDIMAGE_ARTIST = 1, ...
apache-2.0
C#
4bd846f89267f964e00c71674ee5176f57d46c8e
Update InsertDeleteRows.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose...
Examples/CSharp/Articles/InsertDeleteRows.cs
Examples/CSharp/Articles/InsertDeleteRows.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class InsertDeleteRows { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Ref...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class InsertDeleteRows { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCu...
mit
C#
491b83b394968d3e8a9b84f7801d97ff2e84f9de
Update Program.cs
grzesiek-galezowski/component-based-test-tool
ComponentBasedTestTool/Playground/Program.cs
ComponentBasedTestTool/Playground/Program.cs
using Flurl.Http; using Playground; string AuthorizationHeaderValue() { var personalAccessToken = File.ReadAllText("C:\\Users\\HYPERBOOK\\Documents\\__KEYS\\azure-pipelines.txt"); var base64String = Convert.ToBase64String( System.Text.Encoding.ASCII.GetBytes( $":{personalAccessToken}")); return $"Basi...
using Flurl.Http; using Playground; string AuthorizationHeaderValue() { var personalAccessToken = File.ReadAllText("C:\\Users\\HYPERBOOK\\Documents\\__KEYS\\azure-pipelines.txt"); var base64String = Convert.ToBase64String( System.Text.Encoding.ASCII.GetBytes( $":{personalAccessToken}")); return $"Basi...
mit
C#
48c525f50f5712ce74343cfd480e31e5553b092f
Bump version number
CSIS/EnrollmentStation
EnrollmentStation/Properties/AssemblyInfo.cs
EnrollmentStation/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("EnrollmentStation")] [assembly: AssemblyD...
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("EnrollmentStation")] [assembly: AssemblyD...
mit
C#
80fc10e23efa7e3eba4450291b1555179e2002f1
Remove excess code
wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample
environment/Assets/Scripts/OneDimTask2.cs
environment/Assets/Scripts/OneDimTask2.cs
using UnityEngine; public class OneDimTask2 : OneDimTaskBase { public GameObject reward; bool rewardShown = false; public override string Name() { return "One Dimensional Task 2"; } void Update() { float z = agent.transform.position.z; if(11.5F <= z && z <= 15.5F) { if(...
using UnityEngine; public class OneDimTask2 : OneDimTaskBase { public GameObject reward; bool rewardShown = false; public override string Name() { return "One Dimensional Task 2"; } public override bool Success() { return rewardCount > 1; } void Update() { float z = agent.t...
apache-2.0
C#
45914cf0542e456ef6149a34f03d52286948e52e
Update ModuleHelpData - use var as standard, add Ordinal comparison type
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Services/CommandHelp/ModuleHelpData.cs
Modix.Services/CommandHelp/ModuleHelpData.cs
using System.Collections.Generic; using System.Linq; using Discord.Commands; using Humanizer; namespace Modix.Services.CommandHelp { using System; public class ModuleHelpData { public string Name { get; set; } public string Summary { get; set; } public List<CommandHelpData> Comman...
using System.Collections.Generic; using System.Linq; using Discord.Commands; using Humanizer; namespace Modix.Services.CommandHelp { public class ModuleHelpData { public string Name { get; set; } public string Summary { get; set; } public List<CommandHelpData> Commands { get; set; } = ...
mit
C#
faa40d4b0120e74ca31cfca6bdb6d27d41bbd4ab
Convert XmlLicenseTransformTest
krk/corefx,gkhanna79/corefx,twsouthwick/corefx,alexperovich/corefx,marksmeltzer/corefx,JosephTremoulet/corefx,billwert/corefx,ericstj/corefx,wtgodbe/corefx,Petermarcu/corefx,stone-li/corefx,rahku/corefx,Ermiar/corefx,gkhanna79/corefx,stephenmichaelf/corefx,rubo/corefx,richlander/corefx,mazong1123/corefx,ViktorHofer/cor...
src/System.Security.Cryptography.Xml/tests/XmlLicenseTransformTest.cs
src/System.Security.Cryptography.Xml/tests/XmlLicenseTransformTest.cs
// // XmlLicenseTransformTest.cs - Test Cases for XmlLicenseTransform // // Author: // original: // Sebastien Pouliot <sebastien@ximian.com> // Aleksey Sanin (aleksey@aleksey.com) // this file: // Gert Driesen <drieseng@users.sourceforge.net> // // (C) 2003 Aleksey Sanin (aleksey@aleksey.com) // (C) 2004 Novell (http...
// // XmlLicenseTransformTest.cs - NUnit Test Cases for XmlLicenseTransform // // Author: // original: // Sebastien Pouliot <sebastien@ximian.com> // Aleksey Sanin (aleksey@aleksey.com) // this file: // Gert Driesen <drieseng@users.sourceforge.net> // // (C) 2003 Aleksey Sanin (aleksey@aleksey.com) // (C) 2004 Novell...
mit
C#
94683d2743ba66ab386e039ca958b1a762d640c0
Update MainWindow
HunterStanton/SOE-SRAM-Editor
SOE_SRAM_Editor/Forms/MainWindow.Designer.cs
SOE_SRAM_Editor/Forms/MainWindow.Designer.cs
namespace SOE_SRAM_Editor { partial class MainWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
namespace SOE_SRAM_Editor { partial class MainWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
mit
C#
8ca8893c8e4eb8f8d9c223131ef79b037c291fb1
Remove unused code
benjamin-hodgson/Pidgin
Pidgin/ExpectedUtil.cs
Pidgin/ExpectedUtil.cs
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Pidgin { internal static class ExpectedUtil { public static ImmutableSortedSet<T> Union<T>(ref PooledList<ImmutableSortedSet<T>> input) { var builder = ImmutableSortedSet.CreateBuilder...
using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; namespace Pidgin { internal static class ExpectedUtil { public static ImmutableSortedSet<T> Union<T>(params ImmutableSortedSet<T>[] input) => Union(input.AsEnumerable()); public static Immutable...
mit
C#
66b5ae93fef2a6249ef2860913ee94d3e4432820
Add throws and doesnotthrow
aikeru/quack.csx,aikeru/quack.csx
RapidTesting/Assert.cs
RapidTesting/Assert.cs
public class Assert { public static void IsTrue(bool exp) { if(!exp) { throw new Exception("Expected true but was false."); } } public static void IsFalse(bool exp) { if(exp) { throw new Exception("Expected false but was true."); } } public static void IsNull(object obj) { ...
public class Assert { public static void IsTrue(bool exp) { if(!exp) { throw new Exception("Expected true but was false."); } } public static void IsFalse(bool exp) { if(exp) { throw new Exception("Expected false but was true."); } } public static void IsNull(object obj) { ...
mit
C#
f5497ba80186a58739e437fb8e138bc392f5b93d
fix bug
xuanbg/Utility
Utils/Entity/Region.cs
Utils/Entity/Region.cs
namespace Insight.Utils.Entity { /// <summary> /// 行政区划基础数据实体类 /// </summary> public class Region { /// <summary> /// 行政区划唯一ID /// </summary> public string id { get; set; } /// <summary> /// 父级ID /// </summary> public string parentId ...
namespace Insight.Utils.Entity { /// <summary> /// 行政区划基础数据实体类 /// </summary> public class Region { /// <summary> /// 行政区划唯一ID /// </summary> public string id { get; set; } /// <summary> /// 父级ID /// </summary> public string parentId ...
mit
C#
095ba54bc94b7602484c3105c3724de100def981
Fix showing dialog centred to another modal dialog
PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto
Source/Eto.Platform.Wpf/Forms/DialogHandler.cs
Source/Eto.Platform.Wpf/Forms/DialogHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Eto.Forms; using sw = System.Windows; using swc = System.Windows.Controls; using Eto.Platform.Wpf.Forms.Controls; namespace Eto.Platform.Wpf.Forms { public class DialogHandler : WpfWindow<sw.Window, Dialog>, IDialog { Butt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Eto.Forms; using sw = System.Windows; using swc = System.Windows.Controls; using Eto.Platform.Wpf.Forms.Controls; namespace Eto.Platform.Wpf.Forms { public class DialogHandler : WpfWindow<sw.Window, Dialog>, IDialog { Butt...
bsd-3-clause
C#
5058fa3bc28c74be80afec60ab3fee686b5ec25e
Move IsDialogOpen = false outside
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs
using System; using System.Reactive; using System.Reactive.Linq; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class DialogScreenViewModel : ViewModelBase, IScreen { private bool _isClosing; private bool _isDialogOpen; public DialogScreenViewMod...
using System; using System.Reactive; using System.Reactive.Linq; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class DialogScreenViewModel : ViewModelBase, IScreen { private bool _isClosing; private bool _isDialogOpen; public DialogScreenViewMod...
mit
C#