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
c45e794b74fc0b342e89dafa8422c15317f2e0e8
Disable test parallelization for now
Fredi/NetIRC
tests/NetIRC.Tests/ClientConnectionTests.cs
tests/NetIRC.Tests/ClientConnectionTests.cs
using NetIRC.Extensions; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)] namespace NetIRC.Tests { public class ClientConnectionTests { private static User FakeUser = new User("tes...
using NetIRC.Extensions; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Xunit; namespace NetIRC.Tests { public class ClientConnectionTests { private static User FakeUser = new User("test", "test"); [Fact] public async Task WhenConnecti...
mit
C#
f3177166aa87d47e4750540964c65a0a6c498506
Revert MixedRealityRaycastHit
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Definitions/InputSystem/MixedRealityRaycastHit.cs
Assets/MixedRealityToolkit/Definitions/InputSystem/MixedRealityRaycastHit.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// The resulting hit information from an IMixedRealityRayca...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // Including lightmap coord has a performance cost so we've disabled it by default. // Uncomment the define to enable lightmap coords. // #define MRTK_ENABLE_LIGHTMA...
mit
C#
5afe9b73d2736c6563826916c1056fcdf285bf17
Fix invalid cref
peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu
osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyHitObjectRhythm.cs
osu.Game.Rulesets.Taiko/Difficulty/Preprocessing/TaikoDifficultyHitObjectRhythm.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing { /// <summary> /// Represents a rhythm change in a taiko map. /// </summary> public class Tai...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Rulesets.Taiko.Difficulty.Preprocessing { /// <summary> /// Represents a rhythm change in a taiko map. /// </summary> public class Tai...
mit
C#
27152c1a716ca8077bac636d14149e96ad15e049
Tweak drag drop demo.
JohanLarsson/Gu.Wpf.Adorners
Gu.Wpf.Adorners.Demo/DragAdornerView.xaml.cs
Gu.Wpf.Adorners.Demo/DragAdornerView.xaml.cs
namespace Gu.Wpf.Adorners.Demo { using System.Windows; using System.Windows.Controls; using System.Windows.Input; public partial class DragAdornerView : UserControl { public DragAdornerView() { this.InitializeComponent(); } private void OnMouseLeftButto...
namespace Gu.Wpf.Adorners.Demo { using System.Windows; using System.Windows.Controls; using System.Windows.Input; public partial class DragAdornerView : UserControl { public DragAdornerView() { this.InitializeComponent(); } private void OnMouseLeftButto...
mit
C#
5c59a9bbcf80525b3d7b910e33114e1fc9d8796a
Fix compilation error in PopularityContestModule
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Bot/Modules/PopularityContestModule.cs
Modix.Bot/Modules/PopularityContestModule.cs
using Discord; using Discord.Commands; using Discord.WebSocket; using Modix.Services.PopularityContest; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modix.Modules { [Name("Popularity Contest")] [Group("contest")] [Summary("Co...
using Discord; using Discord.Commands; using Discord.WebSocket; using Microsoft.AspNetCore.Authorization; using Modix.Services.PopularityContest; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Modix.Modules { [Name("Popularity Contest"...
mit
C#
958eef2316133d4f318291b4c49195fe63b864b1
Add the tests executable as a resource store
ppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,default0/osu-framework,ZLima12/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,ppy/o...
osu.Framework.Tests/VisualTestGame.cs
osu.Framework.Tests/VisualTestGame.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Framework.IO.Stores; using osu.Framework.P...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Framework.Platform; using osu.Framework.Te...
mit
C#
e0d434b89fc51a91301cc0bbb953b4457b8386cf
Remove unused using statement
NeoAdonis/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu
osu.Game/Rulesets/Mods/ModAutoplay.cs
osu.Game/Rulesets/Mods/ModAutoplay.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.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Replays; using osu....
// 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.Graphics.Sprites; using osu.Framework.Logging; using osu.Game.Beatmaps; using osu.Game.Graphics; using...
mit
C#
e622725d9d978f4e47c55aef87778af0b7a0663d
Update assembly info
sakapon/Blaze
Blaze/Blaze/Properties/AssemblyInfo.cs
Blaze/Blaze/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Blaze")] [assembly: AssemblyDescription("The library for basic mathematics.")] ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Blaze")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly...
mit
C#
7821146c4eba9c6cc52b9226e79630785fb66fa8
Fix the check of DAC & CoreCLR versions when they are not versioned (#930)
cshung/clrmd,Microsoft/clrmd,cshung/clrmd,Microsoft/clrmd
src/Microsoft.Diagnostics.Runtime/src/Utilities/Platform/PlatformFunctions.cs
src/Microsoft.Diagnostics.Runtime/src/Utilities/Platform/PlatformFunctions.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 System.Text; namespace Microsoft.Diagnostics.Runtime { /// <summary> /// A set of help...
// 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 System.Text; namespace Microsoft.Diagnostics.Runtime { /// <summary> /// A set of help...
mit
C#
ac0c9502ce60db727e25ca26f6af6b11676fc341
Change the console experimental app to load schemas.
jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode
Drums/VDrumExplorer.Console/Program.cs
Drums/VDrumExplorer.Console/Program.cs
// Copyright 2019 Jon Skeet. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Sanford.Multimedia.Midi; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System....
// Copyright 2019 Jon Skeet. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Sanford.Multimedia.Midi; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System....
apache-2.0
C#
b0ea5de8343fa100da14b43142ce5034421daae4
Fix webview reload on rotation
LibertyLocked/webscripthook-android
webscripthook-android/WebActivity.cs
webscripthook-android/WebActivity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Runtime; using Android.Views; using Android.Webkit; using Android.Widget; namespace webscripthook_android { [Activity(Label = "GT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.PM; using Android.OS; using Android.Runtime; using Android.Views; using Android.Webkit; using Android.Widget; namespace webscripthook_android { [Activity(Label = "GT...
mit
C#
60c2b90afebeb586ba5ea8e47e52c4718949e5fa
Update test thing
Aux/NTwitch,Aux/NTwitch
tests/NTwitch.Tests/Program.cs
tests/NTwitch.Tests/Program.cs
using NTwitch; using NTwitch.Chat; using System.Threading.Tasks; using System; class Program { static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); private TwitchChatClient _client; public async Task Start() { _client = new TwitchChatClient(new TwitchCha...
using NTwitch; using NTwitch.Chat; using System.Threading.Tasks; class Program { static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult(); private TwitchChatClient _client; public async Task Start() { _client = new TwitchChatClient(new TwitchChatConfig() ...
mit
C#
d3ba19118734220b40cb0d8b0f1e8144278f9605
Update NamespaceConverter.cs
NMSLanX/Natasha
src/Natasha/Template/Utils/NamespaceConverter.cs
src/Natasha/Template/Utils/NamespaceConverter.cs
using System; using System.Reflection; namespace Natasha.CSharp { /// <summary> /// 为快速委托提供显式转换类,可以对: /// Assembly/Assembly[]/Type/Type[]/string/string[] /// 等类型进行显式的赋值,将自动解析 using /// 例如 NDelegate.xxx.Action(code,"System",typeof(int),type.Assembly.....) /// </summary> public class Namesp...
using System; using System.Reflection; namespace Natasha.CSharp { public class NamespaceConverter { public Assembly NamespaceAssembly; public Type NamespaceType; public string NamespaceString; public Type[] NamespaceTypes; public string[] NamespaceStrings; pub...
mpl-2.0
C#
0ced379ed63419258947370b0d9b57e5ae89e813
fix extra newline on games that are not completed
reillysiemens/jogos,reillysiemens/jogos,reillysiemens/jogos,reillysiemens/jogos,reillysiemens/jogos
c#/jogos/Program.cs
c#/jogos/Program.cs
using System; class Program{ static void Main(string[] args){ foreach (var e in System.Web.Helpers.Json.Decode((string)(new System.Net.WebClient()).DownloadString("http://worldcup.sfg.io/matches"))) Console.Write((e.status == "completed") ? " {0} {1} vs {2} {3}\n":"", e.home_team.country, e...
using System; class Program{ static void Main(string[] args){ foreach (var e in System.Web.Helpers.Json.Decode((string)(new System.Net.WebClient()).DownloadString("http://worldcup.sfg.io/matches"))) Console.WriteLine((e.status == "completed") ? " {0} {1} vs {2} {3}":"", e.home_team.country,...
mit
C#
74ba503290725481289c7699093ae618543b9cfa
bump version
Fody/Obsolete
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("4.2.2")] [assembly: AssemblyFileVersion("4.2.2")]
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("4.2.1")] [assembly: AssemblyFileVersion("4.2.1")]
mit
C#
d74949570c3771a49218f73ec566ef34f9a8f626
Remove unecessary const string
tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
src/Tgstation.Server.Host/Database/Migrations/20200511162912_SLRemoveSoftColumns.cs
src/Tgstation.Server.Host/Database/Migrations/20200511162912_SLRemoveSoftColumns.cs
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Tgstation.Server.Host.Database.Migrations { /// <summary> /// Removes various defunct columns for SQLite. /// </summary> public partial class SLRemoveSoftColumns : Migration { /// <inheritdoc /> protected override void Up(MigrationBuilde...
using Microsoft.EntityFrameworkCore.Migrations; using System; namespace Tgstation.Server.Host.Database.Migrations { /// <summary> /// Removes various defunct columns for SQLite. /// </summary> public partial class SLRemoveSoftColumns : Migration { const string MigratedColumns = "Id,AllowWebClient,SecurityLevel...
agpl-3.0
C#
13f8c776f034538e456a2e0d873c9d7095f2d25c
remove old debug code
ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer
FTAnalyser/Program.cs
FTAnalyser/Program.cs
using System; using System.Collections.Generic; using System.Windows.Forms; namespace FTAnalyzer { static class Program { private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); /// <summary> //...
using System; using System.Collections.Generic; using System.Windows.Forms; namespace FTAnalyzer { static class Program { private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); /// <summary> //...
apache-2.0
C#
8e639d74c992915ed33832fd0ff8fd768a356774
comment change
pozyx/CAE,pozyx/CAE
Pozyx.CAE/Pozyx.CAE.TestApp/Program.cs
Pozyx.CAE/Pozyx.CAE.TestApp/Program.cs
using Pozyx.CAE.Test; using System; using System.IO; namespace Pozyx.CAE.TestApp { class Program { static void Main() { RunnerTest.Initialize(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Pozyx.CAE")); // 47k (20s) // ...
using Pozyx.CAE.Test; using System; using System.IO; namespace Pozyx.CAE.TestApp { class Program { static void Main() { RunnerTest.Initialize(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Pozyx.CAE")); // 47k (20s) // ...
mit
C#
465888793cfd9cfc67bd0e45b1703d13677626c2
Switch to allow system bus monitoring
arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp
src/Monitor.cs
src/Monitor.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { string addr = Addr...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTest { public static void Main (string[] args) { //TODO: allow sele...
mit
C#
d83345260a7d5f991ccd2878c6f84d6599769db5
Improve ArgsProcessor a bit.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Packager/ArgsProcessor.cs
WalletWasabi.Packager/ArgsProcessor.cs
#nullable enable using System; namespace WalletWasabi.Packager { /// <summary> /// Class for processing program's command line arguments. /// </summary> public class ArgsProcessor { public ArgsProcessor(string[] args) { Args = args; } public string[] Args { get; } public bool IsReduceOnionsMode() ...
#nullable enable using System; namespace WalletWasabi.Packager { /// <summary> /// Class for processing program's command line arguments. /// </summary> public class ArgsProcessor { public ArgsProcessor(string[] args) { Args = args; } public string[] Args { get; } public bool IsReduceOnionsMode() ...
mit
C#
893be5932a2efe2e0c10bf1efe71adaf7644a49a
Fix version wildcarding
mj1856/TimeZoneNames
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.0.0.*")] [assembly: AssemblyInformationalVersion("1.0.0")]
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyFileVersion("1.0.0.*")] [assembly: AssemblyInformationalVersion("1.0.0")]
mit
C#
6f373f18cff37f0547b45d7c826476c7e9fd04d8
bump version
Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.7.3.5")] [assembly: AssemblyFileVersion("0.7.3.5")]
using System.Reflection; [assembly: AssemblyVersion("0.7.3.4")] [assembly: AssemblyFileVersion("0.7.3.4")]
unlicense
C#
3c8faba5af113e6015919c6b00078a725a7bd170
Refactor pause check
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs
projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs
//----------------------------------------------------------------------- // <copyright file="LoopingScheduler.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace EventHandlerSample { us...
//----------------------------------------------------------------------- // <copyright file="LoopingScheduler.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace EventHandlerSample { us...
unlicense
C#
d7d3d42e4958193e3f921bca7a9075574bd4e909
Delete obsolete property in IRecurrable #24
rianjs/ical.net
v3/ical.NET/Interfaces/Evaluation/IRecurrable.cs
v3/ical.NET/Interfaces/Evaluation/IRecurrable.cs
using System.Collections.Generic; using Ical.Net.DataTypes; using Ical.Net.Interfaces.DataTypes; using IServiceProvider = Ical.Net.Interfaces.General.IServiceProvider; namespace Ical.Net.Interfaces.Evaluation { public interface IRecurrable : IGetOccurrences, IServiceProvider { /// <summary> //...
using System; using System.Collections.Generic; using Ical.Net.DataTypes; using Ical.Net.Interfaces.DataTypes; using IServiceProvider = Ical.Net.Interfaces.General.IServiceProvider; namespace Ical.Net.Interfaces.Evaluation { public interface IRecurrable : IGetOccurrences, IServiceProvider { [Obsolete(...
mit
C#
3788e57a20cb1e42754c0965d3524fa07ad8f317
Update version to 3.4.1.0
illfelder/compute-image-windows,illfelder/compute-image-windows,GoogleCloudPlatform/compute-image-windows,adjackura/compute-image-windows,ning-yang/compute-image-windows,ning-yang/compute-image-windows,GoogleCloudPlatform/compute-image-windows,adjackura/compute-image-windows
agent/Common/Properties/VersionInfo.cs
agent/Common/Properties/VersionInfo.cs
/* * Copyright 2015 Google 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 * * Unless required by applica...
/* * Copyright 2015 Google 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 * * Unless required by applica...
apache-2.0
C#
b0c93f3475dc0b100f55c759e53ea5bbb62ce19b
Update JobScheduleTests.cs
ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azur...
src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.cs
src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/JobScheduleTests.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#
fa58f049dda4af7b3b4fdb472b8f4c9515e8449d
Set up some caching in json conversion (#785)
Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport
src/lib/Microsoft.Fx.Portability/Utils/JsonConverters/JsonToStringConverter.cs
src/lib/Microsoft.Fx.Portability/Utils/JsonConverters/JsonToStringConverter.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Concurrent; namespace Microsoft.Fx.Portability.Utils.JsonConverters { in...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; namespace Microsoft.Fx.Portability.Utils.JsonConverters { internal class JsonToStringConverter<T>...
mit
C#
efb2d3618b8bd8fb7cb19fcd309b6a06c6907494
Remove email address from BasicSetup.cs
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.DomainModel/ApplicationClasses/BasicSetup/BasicSetup.cs
Trappist/src/Promact.Trappist.DomainModel/ApplicationClasses/BasicSetup/BasicSetup.cs
using System.ComponentModel.DataAnnotations; namespace Promact.Trappist.DomainModel.ApplicationClasses.BasicSetup { public class BasicSetup { [Required] [StringLength(150)] [Display(Name = "Name")] public string Name { get; set; } [Required] [StringLength(255)] ...
using System.ComponentModel.DataAnnotations; namespace Promact.Trappist.DomainModel.ApplicationClasses.BasicSetup { public class BasicSetup { [Required] [StringLength(150)] [EmailAddress] [Display(Name = "Name")] public string Name { get; set; } [Required] ...
mit
C#
96215a8d585045cac6b302a288a36be31d2a0db5
Make type parameter covariant
InfiniteSoul/Azuria
Azuria/ErrorHandling/IProxerResult.cs
Azuria/ErrorHandling/IProxerResult.cs
using System; using System.Collections.Generic; namespace Azuria.ErrorHandling { /// <summary> /// </summary> public interface IProxerResult<out T> : IProxerResult { #region Properties /// <summary> /// </summary> T Result { get; } #endregion } /// <s...
using System; using System.Collections.Generic; namespace Azuria.ErrorHandling { /// <summary> /// </summary> public interface IProxerResult<T> : IProxerResult { #region Properties /// <summary> /// </summary> T Result { get; } #endregion } /// <summa...
mit
C#
657babba6f96643274841ed9e13924e9291c327c
Address nullability warnings in PipeStreamExtensions.
fixie/fixie
src/Fixie/Internal/Listeners/PipeStreamExtensions.cs
src/Fixie/Internal/Listeners/PipeStreamExtensions.cs
namespace Fixie.Internal.Listeners { using System; using System.IO; using System.IO.Pipes; using System.Text; using static Serialization; static class PipeStreamExtensions { public static TMessage Receive<TMessage>(this PipeStream pipe) { return Deserialize<TMes...
namespace Fixie.Internal.Listeners { using System; using System.IO; using System.IO.Pipes; using System.Text; using static Serialization; static class PipeStreamExtensions { public static TMessage Receive<TMessage>(this PipeStream pipe) { return Deserialize<TMes...
mit
C#
b47d1643d638978ca2ed5bb5299975c2978f5381
Fix docs
dotnet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/ro...
src/Workspaces/Remote/Core/ISolutionAssetProvider.cs
src/Workspaces/Remote/Core/ISolutionAssetProvider.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.IO.Pipelines; using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis....
// 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.IO.Pipelines; using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis....
mit
C#
b0a238d715f2054b36deb0d5dc0c00766daac0af
revert main
thing-nacho/slua,yaukeywang/slua,pangweiwei/slua,yaukeywang/slua,luzexi/slua-3rd,soulgame/slua,yaukeywang/slua,angeldnd/slua,chiuan/slua,jiangzhhhh/slua,jiangzhhhh/slua,Roland0511/slua,LacusCon/slua,LacusCon/slua,Roland0511/slua,haolly/slua_source_note,Salada/slua,Roland0511/slua,luzexi/slua-3rd-lib,haolly/slua_source_...
Assets/Slua/example/Main.cs
Assets/Slua/example/Main.cs
using UnityEngine; using System.Collections; using SLua; using UnityEngine.UI; using System.Collections.Generic; public class Main : MonoBehaviour { LuaSvr l; public Text logText; int progress=0; // Use this for initialization void Start() { #if UNITY_5 Application.logMessageReceived += this.log; #else App...
using UnityEngine; using System.Collections; using SLua; using UnityEngine.UI; using System.Collections.Generic; using LuaInterface; public class Main : MonoBehaviour { LuaSvr l; public Text logText; int progress=0; // Use this for initialization void Start() { #if UNITY_5 Application.logMessageReceived += th...
mit
C#
ec6ee635637bb42b7ae681233308d4ff0193c575
Call Insights.Save when reporting a crash
punker76/Espera,flagbug/Espera
Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs
Espera.Core/Analytics/XamarinAnalyticsEndpoint.cs
using System; using System.Collections.Generic; using Xamarin; namespace Espera.Core.Analytics { internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint { private Guid id; public void Dispose() { // Xamarin Insights can only be terminated if it has been started before...
using System; using System.Collections.Generic; using Xamarin; namespace Espera.Core.Analytics { internal class XamarinAnalyticsEndpoint : IAnalyticsEndpoint { private Guid id; public void Dispose() { // Xamarin Insights can only be terminated if it has been started before...
mit
C#
45219eb2f9c6b4d5b00b63be1073cd26a3a9b4fb
switch from /nologo to --nologo
xbehave/xbehave.net,adamralph/xbehave.net
targets/Program.cs
targets/Program.cs
using System; using System.Threading.Tasks; using SimpleExec; using static Bullseye.Targets; using static SimpleExec.Command; internal class Program { public static Task Main(string[] args) { Target("default", DependsOn("pack", "test")); Target("build", () => RunAsync("dotnet", $"b...
using System; using System.Threading.Tasks; using SimpleExec; using static Bullseye.Targets; using static SimpleExec.Command; internal class Program { public static Task Main(string[] args) { Target("default", DependsOn("pack", "test")); Target("build", () => RunAsync("dotnet", $"b...
mit
C#
5631b3aa009ad3d1f20b40b12106ac8342a2c12f
Create VM in MVVM app template.
AvaloniaUI/PerspexVS
templates/AvaloniaMvvmApplicationTemplate/Program.cs
templates/AvaloniaMvvmApplicationTemplate/Program.cs
using System; using Avalonia; using Avalonia.Logging.Serilog; using $safeprojectname$.ViewModels; using $safeprojectname$.Views; namespace $safeprojectname$ { class Program { // Initialization code. Don't use any Avalonia, third-party APIs or any // SynchronizationContext-reliant code before A...
using System; using Avalonia; using Avalonia.Logging.Serilog; using $safeprojectname$.ViewModels; using $safeprojectname$.Views; namespace $safeprojectname$ { class Program { // Initialization code. Don't use any Avalonia, third-party APIs or any // SynchronizationContext-reliant code before A...
mit
C#
86d8aa2915e73aa33e06315bf72015380faeec0b
Exclude compiler generated types by default
JakeGinnivan/TestStack.ConventionTests,TestStack/TestStack.ConventionTests
TestStack.ConventionTests/ConventionData/Types.cs
TestStack.ConventionTests/ConventionData/Types.cs
namespace TestStack.ConventionTests.ConventionData { using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; /// <summary> /// This is where we set what our convention is all about. /// </summary> public class Types : ICon...
namespace TestStack.ConventionTests.ConventionData { using System; using System.Collections.Generic; using System.Linq; /// <summary> /// This is where we set what our convention is all about. /// </summary> public class Types : IConventionData { public Types(str...
mit
C#
632449859df06d6ba581b0b5d1e1401b50e87a19
Fix date time parsing. Closes #273
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer
Server/System/TimeSystem.cs
Server/System/TimeSystem.cs
using LmpCommon.Time; using Server.Context; using Server.Log; using System; using System.Globalization; using System.IO; using System.Linq; namespace Server.System { public static class TimeSystem { private static string StartTimeFile { get; } = Path.Combine(ServerContext.UniverseDirectory, "StartTime...
using LmpCommon.Time; using Server.Context; using Server.Log; using System; using System.IO; using System.Linq; namespace Server.System { public static class TimeSystem { private static string StartTimeFile { get; } = Path.Combine(ServerContext.UniverseDirectory, "StartTime.txt"); public stat...
mit
C#
8410171da9c73d2ae9839f6d21b0cf2c821312f3
Update MicroTweet assembly info
misenhower/MicroTweet
MicroTweet/Properties/AssemblyInfo.cs
MicroTweet/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("Mic...
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("Mic...
apache-2.0
C#
972d78f0b42ef731b087619b9c5c30a0965b338b
Fix : Null ttl value
Cybermaxs/Redists
src/Redists/Core/TimeSeriesWriter.cs
src/Redists/Core/TimeSeriesWriter.cs
using StackExchange.Redis; using System; using System.Collections.Concurrent; using System.Threading.Tasks; namespace Redists.Core { internal class TimeSeriesWriter : ITimeSeriesWriter { private readonly IDatabaseAsync dbAsync; private TimeSpan? ttl; private IDataPointParser parser; ...
using StackExchange.Redis; using System; using System.Collections.Concurrent; using System.Threading.Tasks; namespace Redists.Core { internal class TimeSeriesWriter : ITimeSeriesWriter { private readonly IDatabaseAsync dbAsync; private TimeSpan? ttl; private IDataPointParser parser; ...
mit
C#
a1f60a476adf6d7fdd442d86b46119ae171c4b8d
Tweak regex to pick up forward slash in channel name
hubbardgary/TaskScheduler,hubbardgary/TaskScheduler,hubbardgary/TaskScheduler
TaskScheduler.Core/TaskTypes/Recording/Extensions/RecordingBaseTaskExtensions.cs
TaskScheduler.Core/TaskTypes/Recording/Extensions/RecordingBaseTaskExtensions.cs
using System; using System.Text.RegularExpressions; using TaskScheduler.Core.Models.Recording; using TaskScheduler.Core.TaskTypes.Base; namespace TaskScheduler.Core.TaskTypes.Recording.Extensions { public static class RecordingBaseTaskExtensions { public static int GetDuration(this BaseTask task) ...
using System; using System.Text.RegularExpressions; using TaskScheduler.Core.Models.Recording; using TaskScheduler.Core.TaskTypes.Base; namespace TaskScheduler.Core.TaskTypes.Recording.Extensions { public static class RecordingBaseTaskExtensions { public static int GetDuration(this BaseTask task) ...
mit
C#
6bb9baf58437e7ffab54996fb4f470e4a2073a0d
integrate new fields
IUMDPI/IUMediaHelperApps
Packager/Models/PodMetadataModels/DigitalAudioFile.cs
Packager/Models/PodMetadataModels/DigitalAudioFile.cs
using System.Xml.Linq; using Packager.Extensions; using Packager.Providers; using Packager.Validators.Attributes; namespace Packager.Models.PodMetadataModels { public class DigitalAudioFile : AbstractDigitalFile { [Required] public string SpeedUsed { get; set; } public string Reference...
using System.Xml.Linq; using Packager.Extensions; using Packager.Providers; using Packager.Validators.Attributes; namespace Packager.Models.PodMetadataModels { public class DigitalAudioFile : AbstractDigitalFile { [Required] public string SpeedUsed { get; set; } public string TapeFluxi...
apache-2.0
C#
868d2c651d2e59d9062ba61d80c809e21d6d467a
add ToDouble
acple/ParsecSharp
ParsecSharp/Parser/Text/Text.Combinator.Extensions.cs
ParsecSharp/Parser/Text/Text.Combinator.Extensions.cs
using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> AsString(this Parser<char, cha...
using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Runtime.CompilerServices; namespace ParsecSharp { public static partial class Text { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Parser<char, string> AsString(this Parser<char, cha...
mit
C#
8e041146e54e6dfdfff5de6056536b4ff69a6acb
Revert "Removing the assembly version attribute since appveyor doesn't seem to respect custom version format"
nayanshah/UtilsDotNet
src/Utils/Properties/AssemblyInfo.cs
src/Utils/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("Ut...
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("Ut...
mit
C#
1ce3b187a5397d7de558811b2c7f359a8eaa3c90
test commit for AppVeyor
Coilz/BandWebsite,Coilz/BandWebsite,Coilz/BandWebsite
Source/Repositories.UnitTests/RepositoriesTestBase.cs
Source/Repositories.UnitTests/RepositoriesTestBase.cs
using Ewk.BandWebsite.UnitTests; namespace Ewk.BandWebsite.Repositories.UnitTests { public abstract class RepositoriesTestBase : UnitTestBase { } }
using Ewk.BandWebsite.UnitTests; namespace Ewk.BandWebsite.Repositories.UnitTests { public abstract class RepositoriesTestBase : UnitTestBase { } }
mit
C#
ae87d65bf497a6c5bb4e9fd256c10a953de474e0
Update DatabaseConfigurationBase.cs
tiksn/TIKSN-Framework
TIKSN.Core/Configuration/DatabaseConfigurationBase.cs
TIKSN.Core/Configuration/DatabaseConfigurationBase.cs
using Microsoft.Extensions.Configuration; namespace TIKSN.Configuration { public abstract class DatabaseConfigurationBase { private readonly IConfigurationRoot _configurationRoot; protected DatabaseConfigurationBase(IConfigurationRoot configurationRoot) => this._configurationRoot ...
using Microsoft.Extensions.Configuration; namespace TIKSN.Configuration { public abstract class DatabaseConfigurationBase { private readonly IConfigurationRoot _configurationRoot; protected DatabaseConfigurationBase(IConfigurationRoot configurationRoot) { _configurationRoo...
mit
C#
26fe36f4602b25c66668e917c68a78b6b31ba30a
Allow multiple KnownGeneric attributes
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer
src/FreecraftCore.Serializer.Metadata/Attributes/Serialization/KnownGenericAttribute.cs
src/FreecraftCore.Serializer.Metadata/Attributes/Serialization/KnownGenericAttribute.cs
using System; using System.Collections.Generic; using System.Text; using JetBrains.Annotations; namespace FreecraftCore.Serializer { /// <summary> /// Attribute that marks a generic serializable type /// as having a specific known/forward declared closed generic Type. /// (Ex. Type{T} having a type T of TypeStub ...
using System; using System.Collections.Generic; using System.Text; using JetBrains.Annotations; namespace FreecraftCore.Serializer { /// <summary> /// Attribute that marks a generic serializable type /// as having a specific known/forward declared closed generic Type. /// (Ex. Type{T} having a type T of TypeStub ...
agpl-3.0
C#
6dfeaef8fa96631a1301d5f25199119a28872a03
undo comment
BD-IATI/edi,BD-IATI/edi,BD-IATI/edi,BD-IATI/edi
AIMS_BD_IATI.Service/Program.cs
AIMS_BD_IATI.Service/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using AIMS_BD_IATI.Library; using AIMS_BD_IATI.Library.Parser; using AIMS_BD_IATI.Library.Parser.ParserIATIv1; using AIMS_BD_IATI.Library.Parser.ParserIATIv2; namespace AIMS_BD_IATI.Se...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using AIMS_BD_IATI.Library; using AIMS_BD_IATI.Library.Parser; using AIMS_BD_IATI.Library.Parser.ParserIATIv1; using AIMS_BD_IATI.Library.Parser.ParserIATIv2; namespace AIMS_BD_IATI.Se...
agpl-3.0
C#
e15e8068d3bd33170fd19497f2d2d3a4a73f8365
Reword StableDirectoryLocationDialog.
UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu
osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.cs
osu.Game/Overlays/Settings/Sections/Maintenance/StableDirectoryLocationDialog.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.Threading.Tasks; using osu.Framework.Allocation; using osu.Framework.Graphics.Sprites; using osu.Framework.Screens; using osu.Game.Overlays.Dialog; namespa...
// 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.Threading.Tasks; using osu.Framework.Allocation; using osu.Framework.Graphics.Sprites; using osu.Framework.Screens; using osu.Game.Overlays.Dialog; namespa...
mit
C#
841dbbc1cb2282e58d8fdd87f897733bea95b498
fix maxDistance
fanmingfei/HitTMBigTree
Assets/Scripts/EnemyMovement.cs
Assets/Scripts/EnemyMovement.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class EnemyMovement : MonoBehaviour { GameObject[] players; UnityEngine.AI.NavMeshAgent nav; public float maxDistance; public float frozenTime = 5f; void Awake () { nav = GetComponent <U...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = UnityEngine.Random; public class EnemyMovement : MonoBehaviour { GameObject[] players; UnityEngine.AI.NavMeshAgent nav; public float maxDistance; public float frozenTime = 5f; void Awake () { nav = GetComponent <U...
mpl-2.0
C#
1476cd4069f6f722b88c1f554cb95f74a1708ac8
Update AssemblyInfo.cs
tiksn/TIKSN-Framework
TIKSN.Core/Properties/AssemblyInfo.cs
TIKSN.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("TIKSN.Core")] [assembly: NeutralResourcesLanguage("en")] [assembly: InternalsVisibleTo("TIKSN.Framework.Tests")] [assembly: InternalsVisibleTo("TIKSN.Core.Explorables")]
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("TIKSN.Core")] [assembly: NeutralResourcesLanguage("en")] [assembly: InternalsVisibleTo("TIKSN.Framework.Tests")] [assembly: InternalsVisibleTo("TIKSN.Core.Explorables")]
mit
C#
b2470cbcb47fc51e38a1b1b18aa5e972276880da
use lazy runtime check
titanium007/Titanium-Web-Proxy,titanium007/Titanium,justcoding121/Titanium-Web-Proxy
Titanium.Web.Proxy/Helpers/RunTime.cs
Titanium.Web.Proxy/Helpers/RunTime.cs
using System; using System.Runtime.InteropServices; namespace Titanium.Web.Proxy.Helpers { /// <summary> /// Run time helpers /// </summary> internal class RunTime { /// <summary> /// cache for mono runtime check /// </summary> /// <returns></returns> privat...
using System; using System.Runtime.InteropServices; namespace Titanium.Web.Proxy.Helpers { /// <summary> /// Run time helpers /// </summary> internal class RunTime { /// <summary> /// cache for mono runtime check /// </summary> /// <returns></returns> privat...
mit
C#
cf7ac6d5e38aa036cbea9b14fc618f607dd29de1
Remove import
peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu-new,ppy/osu
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mo...
// 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 Humanizer; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Configuration; using osu.Game...
mit
C#
3c5be4d85609b8be8c2f33c45efe6aed92c8d584
Make sure AcrValues is not null
charoco/IdentityServer3,mvalipour/IdentityServer3,IdentityServer/IdentityServer3,yanjustino/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,remunda/IdentityServer3,openbizgit/IdentityServer3,tbitowner/IdentityServer3,jackswei/IdentityServer3,delloncba/IdentityServer3,SonOfSam/IdentityServer3,feanz/Thinktecture....
source/Core/Models/SignInMessage.cs
source/Core/Models/SignInMessage.cs
/* * Copyright 2014 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 applicable la...
/* * Copyright 2014 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 applicable la...
apache-2.0
C#
fe9dff9fd832b2b854e3e4df75e23709bdb1ffde
Update file ver to 3.0.3.0
amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps
Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs
Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs
using System; namespace Xamarin.Forms.GoogleMaps.Internals { internal class ProductInformation { public const string Author = "amay077"; public const string Name = "Xamarin.Forms.GoogleMaps"; public const string Copyright = "Copyright © amay077. 2016 - 2018"; public const string...
using System; namespace Xamarin.Forms.GoogleMaps.Internals { internal class ProductInformation { public const string Author = "amay077"; public const string Name = "Xamarin.Forms.GoogleMaps"; public const string Copyright = "Copyright © amay077. 2016 - 2018"; public const string...
mit
C#
67b783c66fbbe12daaa58c559c0a19d4b97f9b2a
reduce placeholder length and set truncate style
PlayScriptRedux/monomac,dlech/monomac
samples/macdoc/BookmarkPopover.cs
samples/macdoc/BookmarkPopover.cs
using System; using System.Collections.Generic; using System.Linq; using MonoMac.Foundation; using MonoMac.AppKit; namespace macdoc { public partial class BookmarkPopover : MonoMac.AppKit.NSView { public class BookmarkEventArgs : EventArgs { public string Name { get; set; } public string Notes { get; set; ...
using System; using System.Collections.Generic; using System.Linq; using MonoMac.Foundation; using MonoMac.AppKit; namespace macdoc { public partial class BookmarkPopover : MonoMac.AppKit.NSView { public class BookmarkEventArgs : EventArgs { public string Name { get; set; } public string Notes { get; set; ...
apache-2.0
C#
47e33eb7c30a74c13cc29ade90634bd35e9a3d22
Fix up tests
rmillikin/MetaMorpheus,XRSHEERAN/MetaMorpheus,lonelu/MetaMorpheus,lschaffer2/MetaMorpheus,zrolfs/MetaMorpheus,smith-chem-wisc/MetaMorpheus,hoffmann4/MetaMorpheus
Test/Class1.cs
Test/Class1.cs
using FragmentGeneration; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { [TestFixture] public class Class1 { [Test] public void FirstTest() { int a = 1; ...
using FragmentGeneration; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { [TestFixture] public class Class1 { [Test] public void FirstTest() { Assert.Equals(1, 1)...
mit
C#
9db8f2392790da33483b313d1ddbca419c948603
Format SqsMessage
carbon/Amazon
src/Amazon.Sqs/JsonEncodedMessage.cs
src/Amazon.Sqs/JsonEncodedMessage.cs
using System.Text.Json; using System.Text.Json.Serialization; using Carbon.Messaging; namespace Amazon.Sqs { public sealed class JsonEncodedMessage<T> : IQueueMessage<T> where T : notnull { private static readonly JsonSerializerOptions jso = new () { DefaultIgnoreCondit...
using System.Text.Json; using System.Text.Json.Serialization; using Carbon.Messaging; namespace Amazon.Sqs { public sealed class JsonEncodedMessage<T> : IQueueMessage<T> where T : notnull { private static readonly JsonSerializerOptions jso = new () { DefaultIgnoreCondit...
mit
C#
06295c73e59d4ec1eed0a77ce23e015f6fbf17ab
add comment to clarify when CreateDelegate is used
nrjohnstone/AmbientContext
src/AmbientContext/AmbientService.cs
src/AmbientContext/AmbientService.cs
using System; namespace AmbientContext { public abstract class AmbientService<T> where T : class { public delegate T CreateDelegate(); private T _instance; /// <summary> /// Delegate used to construct the initial instance of T /// when Instance is null ...
using System; namespace AmbientContext { public abstract class AmbientService<T> where T : class { public delegate T CreateDelegate(); private T _instance; public static CreateDelegate Create { get; set; } protected virtual T DefaultCreate() { ...
mit
C#
34fcc3c6ca63b7116dea2512572f384281832859
remove unuse code
wanlitao/FCP.Common
src/FCP.Util/Log/LogFormatHelper.cs
src/FCP.Util/Log/LogFormatHelper.cs
using System; namespace FCP.Util { /// <summary> /// 记录异常 /// </summary> public static class LogFormatHelper { /// <summary> /// 格式化异常信息 /// </summary> /// <param name="ex">异常对象</param> /// <returns></returns> public static string FormatLogMessage(th...
using System; using System.IO; namespace FCP.Util { /// <summary> /// 记录异常 /// </summary> public static class LogFormatHelper { private static string LogPrefix = "Log"; /// <summary> /// 格式化异常信息 /// </summary> /// <param name="ex">异常对象</param> /// <...
apache-2.0
C#
fd7e48947eaca6fb77295b6d75c0d5c1a2cdb309
Remove cruft.
izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp
FbxPrint/Program.cs
FbxPrint/Program.cs
using System; using FbxSharp; using System.Text; using System.Collections.Generic; using System.Linq; namespace FbxPrint { class MainClass { public static void Main(string [] args) { if (args == null || args.Length < 1) { Console.Error.WriteLine("Usage: ...
using System; using FbxSharp; using System.Text; using System.Collections.Generic; using System.Linq; namespace FbxPrint { class MainClass { public static void Main(string [] args) { if (args == null || args.Length < 1) { Console.Error.WriteLine("Usage: ...
lgpl-2.1
C#
a77bc27a1525667c48eef65c419da755c822abb7
Remove lines
martijn00/ExoPlayerXamarin,martijn00/ExoPlayerXamarin
Exoplayer.Droid/MainActivity.cs
Exoplayer.Droid/MainActivity.cs
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Com.Google.Android.Exoplayer; namespace Exoplayer.Droid { [Activity (Label = "Exoplayer.Droid", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Com.Google.Android.Exoplayer; namespace Exoplayer.Droid { [Activity (Label = "Exoplayer.Droid", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity...
mit
C#
b7bdf6abdee89b1adf1dd8137db9d9d72c4307ec
Fix typo ContentDeletedEvent constructor (#6222)
OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Or...
src/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/ContentDeletedEvent.cs
src/OrchardCore.Modules/OrchardCore.Contents/Workflows/Activities/ContentDeletedEvent.cs
using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement; using OrchardCore.Workflows.Services; namespace OrchardCore.Contents.Workflows.Activities { public class ContentDeletedEvent : ContentEvent { public ContentDeletedEvent(IContentManager contentManager, IWorkflowScriptEvaluator...
using Microsoft.Extensions.Localization; using OrchardCore.ContentManagement; using OrchardCore.Workflows.Services; namespace OrchardCore.Contents.Workflows.Activities { public class ContentDeletedEvent : ContentEvent { public ContentDeletedEvent(IContentManager contentManager, IWorkflowScriptEvaluator...
bsd-3-clause
C#
df269c4ab5af880efcf8a7b6c0eec6ef8180b493
Make field readonly
TheEadie/LazyStorage,TheEadie/LazyLibrary,TheEadie/LazyStorage
src/LazyStorage/Json/JsonStorage.cs
src/LazyStorage/Json/JsonStorage.cs
using System.Collections.Generic; using LazyStorage.Interfaces; namespace LazyStorage.Json { internal class JsonStorage : IStorage { private readonly string _storageFolder; private readonly Dictionary<string, IRepository> _repos; public JsonStorage(string storageFolder) { ...
using System.Collections.Generic; using LazyStorage.Interfaces; namespace LazyStorage.Json { internal class JsonStorage : IStorage { private readonly string _storageFolder; private Dictionary<string, IRepository> _repos; public JsonStorage(string storageFolder) { _...
mit
C#
afd3897afd5b8fc9db14b5561be717089b3e0b8c
Update Table.cs
SixLabors/Fonts
src/SixLabors.Fonts/Tables/Table.cs
src/SixLabors.Fonts/Tables/Table.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts.Tables { internal abstract class Table { } }
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.Fonts.Tables { internal abstract class Table { } }
apache-2.0
C#
48d4fe81d7b3a2178b5960ac448086d065872ce2
Add account link APIs
pierre3/LineMessagingApi,pierre3/LineMessagingApi
Line.Messaging/Webhooks/Link.cs
Line.Messaging/Webhooks/Link.cs
namespace Line.Messaging.Webhooks { /// <summary> /// Link Object /// </summary> public class Link { /// <summary> /// One of the following values to indicate whether the link was successful or not. /// <list type="bullet"> /// <item> /// <description>ok: Ind...
namespace Line.Messaging.Webhooks { /// <summary> /// Link Object /// </summary> public class Link { /// <summary> /// One of the following values to indicate whether the link was successful or not. /// <list type="bullet"> /// <item> /// <description>ok: Ind...
mit
C#
4239a02bcd8995a7c197f1ade1479db94301776a
Fix db context issue
CodeComb/YuukoBlog,CodeComb/YuukoBlog,CodeComb/YuukoBlog
src/YuukoBlog/Models/BlogContext.cs
src/YuukoBlog/Models/BlogContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Data.Entity; using CodeComb.AspNet.Upload.Models; namespace YuukoBlog.Models { public class BlogContext : DbContext, IFileUploadDbContext { public DbSet<Post> Posts { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Data.Entity; using CodeComb.AspNet.Upload.Models; namespace YuukoBlog.Models { public class BlogContext : DbContext, IFileUploadDbContext { public DbSet<Post> Posts { get; set; }...
mit
C#
94379907094706d657fd7af372f0056d08e36cfa
Create release candidate
aabenoja/Cake.Parallel,aabenoja/Cake.Parallel
src/Cake.Parallel/Properties/AssemblyInfo.cs
src/Cake.Parallel/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Cake.Core.Annotations; using Cake.Parallel.Module; // 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:...
using System.Reflection; using System.Runtime.InteropServices; using Cake.Core.Annotations; using Cake.Parallel.Module; // 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:...
mit
C#
434942cecc0bc1ea5b5c3c7cd8cff843257bb778
fix parameters order
cbovar/ConvNetSharp
src/ConvNetSharp.Core/Layers/DropoutLayer.cs
src/ConvNetSharp.Core/Layers/DropoutLayer.cs
using System; using System.Collections.Generic; using ConvNetSharp.Volume; namespace ConvNetSharp.Core.Layers { public class DropoutLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable { public DropoutLayer(Dictionary<string, object> data) : base(data) { this.DropP...
using System; using System.Collections.Generic; using ConvNetSharp.Volume; namespace ConvNetSharp.Core.Layers { public class DropoutLayer<T> : LayerBase<T> where T : struct, IEquatable<T>, IFormattable { public DropoutLayer(Dictionary<string, object> data) : base(data) { this.DropP...
mit
C#
f4afbe2ac5979bb396de642969833c0931dd1808
Change how we find a local port. Connecting to a local port and releasing it is flaky and slow. use network info to find what port is available
zhdusurfin/HttpMock,oschwald/HttpMock,mattolenik/HttpMock,hibri/HttpMock
src/HttpMock.Integration.Tests/PortHelper.cs
src/HttpMock.Integration.Tests/PortHelper.cs
using System; using System.Linq; using System.Net.NetworkInformation; using System.Security; namespace HttpMock.Integration.Tests { internal static class PortHelper { internal static int FindLocalAvailablePortForTesting () { IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties(...
using System.Linq; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Security; namespace HttpMock.Integration.Tests { internal static class PortHelper { internal static int FindLocalAvailablePortForTesting () { for (var i = 1025; i <= 65000; i++) { if (!ConnectTo...
mit
C#
c56471d9cfa2663a0fd08b60ed4dd7d0b2db050a
Fix nuget version
simplic-systems/simplic-lexer
src/Simplic.Lexer/Properties/AssemblyInfo.cs
src/Simplic.Lexer/Properties/AssemblyInfo.cs
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 mit einer Assembly verknüpft sind. [asse...
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 mit einer Assembly verknüpft sind. [asse...
mit
C#
cb65c90ab786a70405c5f8ca4d6768182f265f0b
fix typo
YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site
src/MathSite.Facades/Users/UsersFacade.cs
src/MathSite.Facades/Users/UsersFacade.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using MathSite.Common.Specifications; using MathSite.Entities; using MathSite.Repository.Core; using Microsoft.Extensions.Caching.Memory; namespace MathSite.Facades.Users { public class UsersFacade : BaseFacade, IUsersFacade { ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using MathSite.Common.Specifications; using MathSite.Entities; using MathSite.Repository.Core; using Microsoft.Extensions.Caching.Memory; namespace MathSite.Facades.Users { public class UsersFacade : BaseFacade, IUsersFacade { ...
mit
C#
890ebad693a77f5213b0cc45c82add2a65f4608f
Add IgnoredParameterizedTest
peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs
osu.Framework.Tests/Visual/Testing/TestSceneIgnore.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 NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing { public class TestSceneIgnore : FrameworkTestScene { [Test] [...
// 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 NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing { public class TestSceneIgnore : FrameworkTestScene { [Test] [...
mit
C#
cede87cfeb36b708e79705ae922c0ad672c8046d
Fix regression
ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,default0/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,default0/osu-framework,peppy/osu-framework,DrabWe...
osu.Framework/Graphics/Containers/OverlayContainer.cs
osu.Framework/Graphics/Containers/OverlayContainer.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Input; using OpenTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Input; using OpenTK; namespace osu.Framework.Graphics.Containers { /// <summary> /// ...
mit
C#
430d5cf23eedcae09d0eb7d602da7dec69114f30
Change sniper rifle projectile explosion sound.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
game/server/weapons/sniperrifle.sfx.cs
game/server/weapons/sniperrifle.sfx.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ ...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ ...
lgpl-2.1
C#
e3cf64e862adb86c0cc53940fb821551d6f36a60
Update TrimmedBlock.cs (#2304)
AntShares/AntShares
src/neo/SmartContract/Native/TrimmedBlock.cs
src/neo/SmartContract/Native/TrimmedBlock.cs
using Neo.IO; using Neo.Network.P2P.Payloads; using Neo.VM; using Neo.VM.Types; using System; using System.IO; using System.Linq; namespace Neo.SmartContract.Native { public class TrimmedBlock : IInteroperable, ISerializable { public Header Header; public UInt256[] Hashes; public UInt2...
using Neo.IO; using Neo.Network.P2P.Payloads; using Neo.VM; using Neo.VM.Types; using System; using System.IO; using System.Linq; namespace Neo.SmartContract.Native { public class TrimmedBlock : IInteroperable, ISerializable { public Header Header; public UInt256[] Hashes; public UInt2...
mit
C#
f98c1cd73a8b8bb2dee6f7ed7ba4f7a6e8c8be63
Fix null reference bug introduced by simplification of HelpAttribute
Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint
src/EntryPoint/HelpAttribute.cs
src/EntryPoint/HelpAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EntryPoint { /// <summary> /// Used to provide additional information to display in the --help Option. May be applied to: /// Class: for a description of the utility /// Property: for a descript...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace EntryPoint { /// <summary> /// Used to provide additional information to display in the --help Option. May be applied to: /// Class: for a description of the utility /// Property: for a descript...
mit
C#
39aad8a6b1bbca3beb80af9c2c9cf27a0bd1afa4
Change Feed Uri
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ChrisHunt.cs
src/Firehose.Web/Authors/ChrisHunt.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class ChrisHunt : IAmACommunityMember { public string FirstName => "Chris"; public string LastN...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class ChrisHunt : IAmACommunityMember { public string FirstName => "Chris"; public string LastN...
mit
C#
38de2d6a1e3fb8f4fdddaf6c78dd7d3a3f645b92
Fix NH-2343
nkreipke/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibe...
src/NHibernate/Type/GenericBagType.cs
src/NHibernate/Type/GenericBagType.cs
using System; using System.Collections.Generic; using NHibernate.Collection; using NHibernate.Collection.Generic; using NHibernate.Engine; using NHibernate.Persister.Collection; namespace NHibernate.Type { /// <summary> /// An <see cref="IType"/> that maps an <see cref="IList{T}"/> collection /// to the database us...
using System; using System.Collections.Generic; using NHibernate.Collection; using NHibernate.Collection.Generic; using NHibernate.Engine; using NHibernate.Persister.Collection; namespace NHibernate.Type { /// <summary> /// An <see cref="IType"/> that maps an <see cref="IList{T}"/> collection /// to the database us...
lgpl-2.1
C#
76339c5acdb66eaa74062e530b030f952a5ba9d5
fix scoping of the twitter API to reduce reauths
jskrepnek/pbd-dashboard,jskrepnek/pbd-dashboard
src/PBP.TwitterHud.Web/Global.asax.cs
src/PBP.TwitterHud.Web/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Autofac; using Autofac.Core; using Autofac.Integration.Mvc; using PBP.Twitter; using PBP.TwitterHud.Web.App_Start; using PBP.TwitterHud.Web.Properties; using PBP.TwitterHud.Web.Ser...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Autofac; using Autofac.Core; using Autofac.Integration.Mvc; using PBP.Twitter; using PBP.TwitterHud.Web.App_Start; using PBP.TwitterHud.Web.Properties; using PBP.TwitterHud.Web.Ser...
mit
C#
14c24c044968e70e09e381093869f8a7be9d53c9
drop analytics implementation
RadicalFx/radical
src/Radical/AnalyticsService.cs
src/Radical/AnalyticsService.cs
using System; using System.Collections.Generic; namespace Radical { namespace ComponentModel { public interface IAnalyticsServices { Boolean IsEnabled { get; set; } void TrackUserActionAsync(Analytics.AnalyticsEvent action); } } namespace Analytics ...
using System; using System.Security.Principal; using System.Threading; namespace Radical { namespace ComponentModel { public interface IAnalyticsServices { Boolean IsEnabled { get; set; } void TrackUserActionAsync(Analytics.AnalyticsEvent action); } } n...
mit
C#
a9a95890d816e14de03551014d638ec11e195e08
Remove unused bundles
mg6/spectre,mg6/spectre,spectre-team/spectre,spectre-team/spectre,mg6/spectre,spectre-team/spectre
src/Spectre/App_Start/BundleConfig.cs
src/Spectre/App_Start/BundleConfig.cs
using System.Web.Optimization; namespace Spectre { /// <summary> /// Configures bundle /// </summary> public class BundleConfig { /// <summary> /// Registers the bundles. /// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 /// <...
using System.Web; using System.Web.Optimization; namespace Spectre { /// <summary> /// Configures bundle /// </summary> public class BundleConfig { /// <summary> /// Registers the bundles. /// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=30...
apache-2.0
C#
d3f55998f647c2146e5780e70e1900c1918adfc2
Return url fix
projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,skbkontur/NuGetG...
src/NuGetGallery/Infrastructure/SafeRedirectResult.cs
src/NuGetGallery/Infrastructure/SafeRedirectResult.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using System.Web.WebPages; namespace NuGetGallery { public class SafeRedirectResult : ActionResult { public string Url { get; private set; } public string SafeUrl { get; private set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Mvc; using System.Web.WebPages; namespace NuGetGallery { public class SafeRedirectResult : ActionResult { public string Url { get; private set; } public string SafeUrl { get; private set; } ...
apache-2.0
C#
acc37ad4ef933f91b0622575c5dabdf7800cd71a
Add Reduce<T,TMemo>(TMemo,Func<TMemo,T,TMemo>) extension
jcracknell/emd,jcracknell/emd
cs/src/markdom.cs/ExtensionMethods.cs
cs/src/markdom.cs/ExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace markdom.cs { internal static class ExtensionMethods { public static string JoinStrings(this IEnumerable<string> parts) { return JoinStrings(parts, ""); } public static string JoinStrings(this IEnumera...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace markdom.cs { internal static class ExtensionMethods { public static string JoinStrings(this IEnumerable<string> parts) { return JoinStrings(parts, ""); } public static string JoinStrings(this IEnumera...
mit
C#
4d6166e3cc3975f53724d276016b4fc9986c1921
make class internal.
grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wiesla...
src/Windows/Avalonia.Win32/Win32TypeExtensions.cs
src/Windows/Avalonia.Win32/Win32TypeExtensions.cs
using static Avalonia.Win32.Interop.UnmanagedMethods; namespace Avalonia.Win32 { internal static class Win32TypeExtensions { public static PixelRect ToPixelRect(this RECT rect) { return new PixelRect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rec...
using static Avalonia.Win32.Interop.UnmanagedMethods; namespace Avalonia.Win32 { public static class Win32TypeExtensions { internal static PixelRect ToPixelRect(this RECT rect) { return new PixelRect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rec...
mit
C#
07da1c5043a1a1ec1337fdc026771192caf450e1
Customize Codabar start/stop character. (default: A)
karronoli/tiny-sato
TinySato/Barcode.cs
TinySato/Barcode.cs
 namespace TinySato { using System.Linq; public class Barcode { protected Printer printer; internal Barcode(Printer printer) { this.printer = printer; } public void AddCODE128(int narrow_bar_width, int barcode_height, string print_data) ...
 namespace TinySato { using System.Linq; public class Barcode { protected Printer printer; internal Barcode(Printer printer) { this.printer = printer; } public void AddCODE128(int narrow_bar_width, int barcode_height, string print_data) ...
apache-2.0
C#
46eb99f8e4a0e8bd0f269d2afb8aba3f47ae2322
add successful and failing test
j2ghz/IntranetGJAK,j2ghz/IntranetGJAK
UnitTests/Class1.cs
UnitTests/Class1.cs
using IntranetGJAK.Controllers; using Xunit; namespace UnitTests { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build". public class Home { ...
using IntranetGJAK.Controllers; using Xunit; namespace UnitTests { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build". public class Home { ...
agpl-3.0
C#
0e98224138ce1df4bfdcdb962ea3f32493266b96
Remove unused MismatchedParameterDefaultValue enum value (#65472)
dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn
src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/LambdaConversionResult.cs
src/Compilers/CSharp/Portable/Binder/Semantics/Conversions/LambdaConversionResult.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. namespace Microsoft.CodeAnalysis.CSharp { internal enum LambdaConversionResult { Success, B...
// 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. namespace Microsoft.CodeAnalysis.CSharp { internal enum LambdaConversionResult { Success, B...
mit
C#
a391ce84c984a4251c81cd926336cf8c79cc93d2
Edit it
jogibear9988/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,2Toad/websocket-sharp
websocket-sharp/WebSocketState.cs
websocket-sharp/WebSocketState.cs
#region License /* * WebSocketState.cs * * The MIT License * * Copyright (c) 2010-2015 sta.blockhead * * 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 ...
#region License /* * WebSocketState.cs * * The MIT License * * Copyright (c) 2010-2015 sta.blockhead * * 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 ...
mit
C#
acaaba938e600da88349f2890abc7cfcc2d7f5eb
Bump to 2.4.6
kcjuntunen/ArchivePDF
ArchivePDF/Properties/AssemblyInfo.cs
ArchivePDF/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("Ar...
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("Ar...
bsd-3-clause
C#
4131e2c3e64495387a1952b4b2e37c04d25ce62d
Edit it
jogibear9988/websocket-sharp,2Toad/websocket-sharp,2Toad/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,2Toad/websocket-sharp
websocket-sharp/CompressionMethod.cs
websocket-sharp/CompressionMethod.cs
#region License /* * CompressionMethod.cs * * The MIT License * * Copyright (c) 2013-2015 sta.blockhead * * 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, includi...
#region License /* * CompressionMethod.cs * * The MIT License * * Copyright (c) 2013-2015 sta.blockhead * * 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, includi...
mit
C#
46248c06b5b2313652dbd26eb779d8245a404679
fix IReadOnlyDictionary.TryFind() availability on .NET 6
vkhorikov/CSharpFunctionalExtensions
CSharpFunctionalExtensions/Maybe/Extensions/TryFind.cs
CSharpFunctionalExtensions/Maybe/Extensions/TryFind.cs
using System.Collections.Generic; namespace CSharpFunctionalExtensions { public static partial class MaybeExtensions { #if !NET45_OR_GREATER && !NETSTANDARD && !NETCORE && !NET public static Maybe<V> TryFind<K, V>(this IDictionary<K, V> dict, K key) { if (dict.ContainsKey(key)) ret...
using System.Collections.Generic; namespace CSharpFunctionalExtensions { public static partial class MaybeExtensions { #if !NETCORE || !NET45_OR_GREATER || !NETSTANDARD public static Maybe<V> TryFind<K, V>(this IDictionary<K, V> dict, K key) { if (dict.ContainsKey(key)) return dict...
mit
C#
e06792bda811e0843a1c58ed04e091161310d44a
Change title on Reset password email template. issue #31
loconomics/loconomics,loconomics/loconomics,samwa/loconomics,samwa/loconomics,loconomics/loconomics,samwa/loconomics,samwa/loconomics,loconomics/loconomics
en_US/Email/EmailResetPassword.cshtml
en_US/Email/EmailResetPassword.cshtml
@using WebMatrix.Data; @{ LcMessaging.SecureTemplate(); Layout = UrlUtil.LangPath + "_EmailLayout.cshtml"; Page.Title = "Loconomics.com - Reset Password"; var thisUserID = Request["UserID"].AsInt(); var thisUser = DashboardFunctions.GetUserRow(thisUserID); var resetURL = Request[...
@using WebMatrix.Data; @{ LcMessaging.SecureTemplate(); Layout = UrlUtil.LangPath + "_EmailLayout.cshtml"; Page.Title = "Welcome to Loconomics.com"; var thisUserID = Request["UserID"].AsInt(); var thisUser = DashboardFunctions.GetUserRow(thisUserID); var resetURL = Request["Reset...
mpl-2.0
C#
f354659bcfe4b043d69b7812cc69c63c26676da9
add unit test that prevents from adding using statements to the code, fixes #1010
Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig...
tests/BenchmarkDotNet.Tests/CodeGeneratorTests.cs
tests/BenchmarkDotNet.Tests/CodeGeneratorTests.cs
using System; using System.Linq; using System.Reflection; using Xunit; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Code; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using BenchmarkDotNet.Parameters; using System.IO; namespace BenchmarkDotNet.Tests { public...
using System; using System.Linq; using System.Reflection; using Xunit; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Code; using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; namespace BenchmarkDotNet.Tests { public class CodeGeneratorTests { [Fact] ...
mit
C#
5ff5a0e3be0b5d491aa53b8ef99650fb0aaf47c9
Access change.
cliftonm/clifton,cliftonm/clifton,cliftonm/clifton
Clifton.Core/Clifton.Core.ThreadQueue/ThreadedQueue.cs
Clifton.Core/Clifton.Core.ThreadQueue/ThreadedQueue.cs
using System; using System.Collections.Concurrent; using System.Threading; namespace Clifton.Core.ThreadQueue { public class ThreadedQueue<T> { protected Action<T> processAction; protected ConcurrentQueue<T> queue; protected Thread thread; protected Semaphore sem; public ThreadedQueue(Action<T> processor...
using System; using System.Collections.Concurrent; using System.Threading; namespace Clifton.Core.ThreadQueue { public class ThreadedQueue<T> { protected Action<T> processAction; protected ConcurrentQueue<T> queue; protected Thread thread; protected Semaphore sem; public ThreadedQueue(Action<T> processor...
mit
C#
d52f39debfa4078f4f7b726863191452a1215857
add WithUniqueIndex includeFields
AlejandroCano/framework,signumsoftware/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,avifatal/framework
Signum.Engine/Schema/FluentInclude.cs
Signum.Engine/Schema/FluentInclude.cs
using Signum.Engine.Maps; using Signum.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Signum.Engine.Maps { public class FluentInclude<T> where T : Entity { public Schema...
using Signum.Engine.Maps; using Signum.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Signum.Engine.Maps { public class FluentInclude<T> where T : Entity { public Schema...
mit
C#
3fe478349df267023b38f9734e8e8840fba722e3
set synced rev. nr. 2218 in assembly info
dawidcieszynski/ZXing.Net,dawidcieszynski/ZXing.Net
Source/lib/Properties/AssemblyInfo.cs
Source/lib/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. #if NET20 [assembly:...
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. #if NET20 [assembly:...
apache-2.0
C#
03b8c5dcf2e216fed8ca081d4abd8d8d0ab461d8
use an array instead of List in IndexedSentence
pdonald/latvian
Latvian/Tagging/Perceptron/IndexedSentence.cs
Latvian/Tagging/Perceptron/IndexedSentence.cs
// Copyright 2014 Pēteris Ņikiforovs // // 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 2014 Pēteris Ņikiforovs // // 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#
58c31deea50326e90ce2a58059f6a941d500df67
Remove commented line
wyldphyre/KaomojiTray
KaomojiTray/Program.cs
KaomojiTray/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace KaomojiTray { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace KaomojiTray { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
apache-2.0
C#
63a851fcdee47f43f81c2c678a9bb19de98b24e1
Update Main.cs
neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu...
POH7/SantaFuku/Main.cs
POH7/SantaFuku/Main.cs
// Try POH // author: Leonardone @ NEETSDKASU using System; using System.Collections.Generic; using System.Linq; public class Solver { public static void Main() { int x, y, z, n; Bv(Gis(), out x, out y, out z, out n); var xs = Arr(0, x).ToList(); var ys = Arr(0, y).ToList(); foreach...
// Try POH // author: Leonardone @ NEETSDKASU using System; using System.Collections.Generic; using System.Linq; public class Solver { public static void Main() { int x, y, z, n; Ib(Gis(), out x, out y, out z, out n); var xs = Arr(0, x).ToList(); var ys = Arr(0, y).ToList(); foreach...
mit
C#
63c6cf9a65e9d430fe2a76dd194a3e91e01b3c2d
Add InGame flag to API
leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Controllers/XGameApi/CharacterApiController.cs
Joinrpg/Controllers/XGameApi/CharacterApiController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Web.Filter; using JoinRpg.Web.Models.Characters; namespace JoinRpg.Web.Controllers.XGameApi { [RoutePrefix("x-game-api/{projectId...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web.Http; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Web.Filter; using JoinRpg.Web.Models.Characters; namespace JoinRpg.Web.Controllers.XGameApi { [RoutePrefix("x-game-api/{projectId...
mit
C#