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
da5481919be794d8cd9a738d7a7f176bc7078229
Add namning convention for dead letter exchange
pardahlman/RawRabbit,northspb/RawRabbit
src/RawRabbit/Common/NamingConvetions.cs
src/RawRabbit/Common/NamingConvetions.cs
using System; namespace RawRabbit.Common { public interface INamingConvetions { Func<Type, string> ExchangeNamingConvention { get; set; } Func<Type, string> QueueNamingConvention { get; set; } Func<Type, Type, string> RpcExchangeNamingConvention { get; set; } Func<string> ErrorExchangeNamingConvention { get...
using System; namespace RawRabbit.Common { public interface INamingConvetions { Func<Type, string> ExchangeNamingConvention { get; set; } Func<Type, string> QueueNamingConvention { get; set; } Func<Type, Type, string> RpcExchangeNamingConvention { get; set; } Func<string> ErrorExchangeNamingConvention { get...
mit
C#
99d847f037462bcd54e293371a4b6fe49b5b475b
Simplify hotkey.
bojanrajkovic/GifWin
src/GifWin/App.xaml.cs
src/GifWin/App.xaml.cs
using System; using System.Windows; using System.Windows.Forms; using System.Linq; using GifWin.Properties; using Application = System.Windows.Application; using System.Windows.Input; namespace GifWin { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Applicat...
using System; using System.Windows; using System.Windows.Forms; using System.Linq; using GifWin.Properties; using Application = System.Windows.Application; using System.Windows.Input; namespace GifWin { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Applicat...
mit
C#
f78d7099332fba3337fde56a2ece9cd074263d40
Fix toggle-subfloor visual bugs (#11239)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/SubFloor/SubFloorHideSystem.cs
Content.Client/SubFloor/SubFloorHideSystem.cs
using Content.Shared.SubFloor; using Robust.Client.GameObjects; namespace Content.Client.SubFloor; public sealed class SubFloorHideSystem : SharedSubFloorHideSystem { [Dependency] private readonly AppearanceSystem _appearanceSystem = default!; private bool _showAll; [ViewVariables(VVAccess.ReadWrite)] ...
using Content.Shared.SubFloor; using Robust.Client.GameObjects; namespace Content.Client.SubFloor; public sealed class SubFloorHideSystem : SharedSubFloorHideSystem { [Dependency] private readonly AppearanceSystem _appearanceSystem = default!; private bool _showAll; [ViewVariables(VVAccess.ReadWrite)] ...
mit
C#
966507db5285d5c144e9e24626589d5f5e656bec
Make MutableLinkedListItem public (#97)
beardgame/utilities
src/Collections/MutableLinkedListItem.cs
src/Collections/MutableLinkedListItem.cs
namespace Bearded.Utilities.Collections { /// <summary> /// This type can be used to have a class be both the value as well as the node in a linked list to prevent unneeded allocations. /// Usage: /// MyClass : MutableLinkedListItem&lt;MyClass&gt; /// MutableLinkedList&lt;MyClass&gt; /// Make s...
namespace Bearded.Utilities.Collections { /// <summary> /// This type can be used to have a class be both the value as well as the node in a linked list to prevent unneeded allocations. /// Usage: /// MyClass : MutableLinkedListItem&lt;MyClass&gt; /// MutableLinkedList&lt;MyClass&gt; /// Make s...
mit
C#
84ea2bd23d98a7dc63f962e8844672b91040382b
Fix GetKerning by overriding Equals and GetHashCode
cyotek/Cyotek.Drawing.BitmapFont
src/Cyotek.Drawing.BitmapFont/Kerning.cs
src/Cyotek.Drawing.BitmapFont/Kerning.cs
/* AngelCode bitmap font parsing using C# * http://www.cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp * * Copyright © 2012-2015 Cyotek Ltd. * * Licensed under the MIT License. See license.txt for the full text. */ namespace Cyotek.Drawing.BitmapFont { /// <summary> /// Represents the font kernin...
/* AngelCode bitmap font parsing using C# * http://www.cyotek.com/blog/angelcode-bitmap-font-parsing-using-csharp * * Copyright © 2012-2015 Cyotek Ltd. * * Licensed under the MIT License. See license.txt for the full text. */ namespace Cyotek.Drawing.BitmapFont { /// <summary> /// Represents the font kernin...
mit
C#
cab1685971614020d0d31faf85536ba8a98a6513
Move some handy methods to `MenuBase` for sharing across menus
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio/Base/MenuBase.cs
src/GitHub.VisualStudio/Base/MenuBase.cs
using System; using System.Globalization; using System.Linq; using GitHub.Extensions; using GitHub.Models; using GitHub.Primitives; using GitHub.Services; using GitHub.UI; using System.Diagnostics; namespace GitHub.VisualStudio { public abstract class MenuBase { readonly IServiceProvider serviceProvid...
using System; namespace GitHub.VisualStudio { public abstract class MenuBase { readonly IServiceProvider serviceProvider; protected IServiceProvider ServiceProvider { get { return serviceProvider; } } protected MenuBase() { } protected MenuBase(IServiceProvide...
mit
C#
65dd436da6874baa3704d65d830b397ab5fdee20
Bump build script to nuget 2.14
foxbot/Discord.Addons.Paginator,foxbot/Discord.Addons.Paginator,SubZero0/Discord.Addons.Paginator,SubZero0/Discord.Addons.Paginator
build.cake
build.cake
#addin nuget:?package=NuGet.Core&version=2.14.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
#addin nuget:?package=NuGet.Core&version=2.12.0 #addin "Cake.ExtendedNuGet" var MyGetKey = EnvironmentVariable("MYGET_KEY"); string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER"); string Branch = EnvironmentVariable("TRAVIS_BRANCH"); ReleaseNotes Notes = null; Task("Restore") .Does(() => { var setti...
isc
C#
64d310a7a661c4e4c3c373babe39245903e8861e
remove ILRepack reference
SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore
build.cake
build.cake
#tool "nuget:?package=xunit.runner.console&version=2.1.0" #addin "Cake.FileHelpers" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var artifactsDir = Directory("./artifacts"); var solution = "./src/SqlStreamStore.sln"; var buildNumber = s...
#tool "nuget:?package=xunit.runner.console&version=2.1.0" #tool "nuget:?package=ILRepack&Version=2.0.12" #addin "Cake.FileHelpers" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var artifactsDir = Directory("./artifacts"); var solution = "./s...
mit
C#
d7ac94038a1d01e5240e0340cf15bb6890f8a6a1
Update `GetBeatmapRequest` to use `AddParameter`
NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu
osu.Game/Online/API/Requests/GetBeatmapRequest.cs
osu.Game/Online/API/Requests/GetBeatmapRequest.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.IO.Network; using osu.Game.Beatmaps; using osu.Game.Online.API.Requests.Responses; #nullable enable namespace osu.Game.Online.API.Requests { pu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Online.API.Requests.Responses; #nullable enable namespace osu.Game.Online.API.Requests { public class GetBeatmapRequest : A...
mit
C#
f084ec1e304541905526bf851e78ae17423917bd
Update IShellCommandContextStore.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/IShellCommandContextStore.cs
TIKSN.Core/Shell/IShellCommandContextStore.cs
namespace TIKSN.Shell { public interface IShellCommandContextStore { void SetCommandName(string commandName); } }
namespace TIKSN.Shell { public interface IShellCommandContextStore { void SetCommandName(string commandName); } }
mit
C#
714fa6c2fc6b22cfb23f4a2ae1f43e2cebf197ed
Move log files to local application data.
GeorgeAlexandria/CoCo
CoCo/NLog.cs
CoCo/NLog.cs
using System; using System.IO; using NLog; using NLog.Config; using NLog.Targets; namespace CoCo { internal static class NLog { internal static void Initialize() { string appDataLocal = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\CoCo"; ...
using NLog; using NLog.Config; using NLog.Targets; namespace CoCo { internal static class NLog { internal static void Initialize() { LoggingConfiguration config = new LoggingConfiguration(); FileTarget fileTarget = new FileTarget("File"); FileTarget fileDebu...
mit
C#
6d27cea40565b452abaf672b333554e7c63e2a72
Add thumbsmall property
paralin/D2Moddin
D2MPMaster/Model/Mod.cs
D2MPMaster/Model/Mod.cs
using ClientCommon.Data; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace D2MPMaster.Model { /// <summary> /// An addon stored in the database. /// </summary> public class Mod { public string Id { get; set; } public string name { get; set; } public...
using ClientCommon.Data; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace D2MPMaster.Model { /// <summary> /// An addon stored in the database. /// </summary> public class Mod { public string Id { get; set; } public string name { get; set; } public...
apache-2.0
C#
ac1bed420a2978b620205bc8639f6f24a83d6a86
Update TransformPlus.cs
xxmon/unity
Editor/TransformPlus.cs
Editor/TransformPlus.cs
using UnityEngine; using System.Collections; using UnityEditor; [CustomEditor (typeof(Transform))] public class TransformPlus : Editor { Transform myTarget; float inch = 2.54f / 100.0f; float foot = 30.48f / 100.0f; bool showPosition = true; bool showRotation = true; bool showScale = true; public override ...
using UnityEngine; using System.Collections; using UnityEditor; [CustomEditor (typeof(Transform))] public class TransformPlus : Editor { Transform myTarget; float inch = 2.54f / 100.0f; float foot = 30.48f / 100.0f; bool showPosition = true; bool showRotation = true; bool showScale = true; public override vo...
mit
C#
d98cd89a0ebea3d99c708095d72d478b411ee96e
implement IEquatable in ZoomItem
TakeAsh/cs-WpfUtility
ImageViewer/ZoomItem.cs
ImageViewer/ZoomItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TakeAshUtility; namespace ImageViewer { public struct ZoomItem : IEquatable<ZoomItem> { public ZoomItem(double value) : this() { Value = value; Title = va...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TakeAshUtility; namespace ImageViewer { public struct ZoomItem { public ZoomItem(double value) : this() { Value = value; Title = value > 0 ? value...
mit
C#
439ee14954e230d88a8950a30ae2958cccc1556f
Add debugger display for RefSpec
ethomson/libgit2sharp,Skybladev2/libgit2sharp,jeffhostetler/public_libgit2sharp,jamill/libgit2sharp,mono/libgit2sharp,OidaTiftla/libgit2sharp,github/libgit2sharp,GeertvanHorrik/libgit2sharp,psawey/libgit2sharp,AArnott/libgit2sharp,psawey/libgit2sharp,whoisj/libgit2sharp,Skybladev2/libgit2sharp,nulltoken/libgit2sharp,ol...
LibGit2Sharp/RefSpec.cs
LibGit2Sharp/RefSpec.cs
using System; using System.Diagnostics; using System.Globalization; using LibGit2Sharp.Core; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp { /// <summary> /// A push or fetch reference specification /// </summary> [DebuggerDisplay("{DebuggerDisplay,nq}")] public class RefSpec { ...
using System; using LibGit2Sharp.Core; using LibGit2Sharp.Core.Handles; namespace LibGit2Sharp { /// <summary> /// A push or fetch reference specification /// </summary> public class RefSpec { private RefSpec(string refSpec, RefSpecDirection direction, string source, string destination, bo...
mit
C#
381bc7d8c2ecfb5c24c75520480ad67983139e3e
Update grubconfig according to osdev.org
CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos
source/Cosmos.Build.Tasks/CreateGrubConfig.cs
source/Cosmos.Build.Tasks/CreateGrubConfig.cs
using System.Diagnostics; using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Cosmos.Build.Tasks { public class CreateGrubConfig: Task { [Required] public string TargetDirectory { get; set; } [Required] public string BinName { get; set;...
using System.Diagnostics; using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; namespace Cosmos.Build.Tasks { public class CreateGrubConfig: Task { [Required] public string TargetDirectory { get; set; } [Required] public string BinName { get; set;...
bsd-3-clause
C#
02bcfd53c1b79e84b1eaf00fff4dcb382672fcd5
Add init method to unit tests
protyposis/Aurio,protyposis/Aurio
AudioAlign/AudioAlign.PFFFT.UnitTest/PffftTest.cs
AudioAlign/AudioAlign.PFFFT.UnitTest/PffftTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AudioAlign.PFFFT.UnitTest { [TestClass] public class PffftTest { [ClassInitialize] public static void ClassInitialize(TestContext testContext) { // Init the class before the tests run, so DLLs get loaded a...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AudioAlign.PFFFT.UnitTest { [TestClass] public class PffftTest { [TestMethod] public void TestSimdSize() { int size = PFFFT.SimdSize; Console.WriteLine("simd size: " + size); Assert...
agpl-3.0
C#
1ce78d5523f515af19365c9b5be0b63e0c2bdea3
Add a cache to RandomWeapon containing all weapons
Davipb/GreatTextAdventures
GreatTextAdventures/Items/Weapons/RandomWeapon.cs
GreatTextAdventures/Items/Weapons/RandomWeapon.cs
using Newtonsoft.Json.Linq; using System.IO; using System.Linq; namespace GreatTextAdventures.Items.Weapons { public class RandomWeapon : Weapon { public static JObject AllWeapons { get; private set; } protected RandomWeapon(string name, string nameMod, int attack, int attackMod) { baseName = name; na...
using Newtonsoft.Json.Linq; using System.IO; using System.Linq; namespace GreatTextAdventures.Items.Weapons { public class RandomWeapon : Weapon { public RandomWeapon(string name, string nameModifier, int attack, int attackModifier) { this.baseName = name; this.nameModifier = nameModifier; this.baseA...
mit
C#
c1384a6392e90e2ed3baee9a858c1057cb86a148
Fix Race.Description limit max
webSportENIProject/webSport,webSportENIProject/webSport
WUI/Models/RaceModel.cs
WUI/Models/RaceModel.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Web.Mvc; using WUI.Models.Attributes; namespace WUI.Models { /// <summary> /// Course /// </summary> public class RaceModel { [Display(Name = "Id...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Web.Mvc; using WUI.Models.Attributes; namespace WUI.Models { /// <summary> /// Course /// </summary> public class RaceModel { [Display(Name = "Id...
apache-2.0
C#
6800e53b2f3bfc40ff66ea268c9a63afb380960f
Upgrade version to 0.8.0.0
Erikvl87/KNKVPlugin
KNKVPlugin/Properties/AssemblyInfo.cs
KNKVPlugin/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("KN...
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("KN...
mit
C#
03a48ca3e2d00d82d858ece49b54219c9475642c
fix missing namespace
volak/Aggregates.NET,volak/Aggregates.NET
src/Aggregates.NET/ContextExtensions.cs
src/Aggregates.NET/ContextExtensions.cs
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text; using System.Threading.Tasks; using Aggregates.Contracts; namespace Aggregates { [ExcludeFromCodeCoverage] public static class ContextExtensions { public static TUnitOfWork App<TUnitOfWork>(t...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Aggregates.Contracts; namespace Aggregates { [ExcludeFromCodeCoverage] public static class ContextExtensions { public static TUnitOfWork App<TUnitOfWork>(this IServiceContext context) where TUni...
mit
C#
6b6e92fb965691fac5b7095c5a53d926b11d62a3
Improve logging format
patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity
src/Assets/Scripts/Debug/DebugLogger.cs
src/Assets/Scripts/Debug/DebugLogger.cs
using System; namespace PatchKit.Unity.Patcher.Debug { public class DebugLogger { private readonly string _context; public DebugLogger(Type context) { _context = context.FullName; } private static string FormatMessage(string type, string message) {...
using System; namespace PatchKit.Unity.Patcher.Debug { public class DebugLogger { private readonly string _context; public DebugLogger(Type context) { _context = context.FullName; } // TODO: Unify logging format and add date time. private static s...
mit
C#
22301aa38601a25e6ecd64adb96fdf0cbc1c8038
Fix repl sometimes leaking values on the eval stack
SirTony/Mond,SirTony/Mond,SirTony/Mond,Rohansi/Mond,Rohansi/Mond,Rohansi/Mond
Mond/MondProgram.cs
Mond/MondProgram.cs
using System; using System.Collections.Generic; using System.Linq; using Mond.Compiler; using Mond.Compiler.Expressions; using Mond.VirtualMachine; namespace Mond { public sealed class MondProgram { internal readonly byte[] Bytecode; internal readonly List<MondValue> Numbers; internal ...
using System; using System.Collections.Generic; using System.Linq; using Mond.Compiler; using Mond.Compiler.Expressions; using Mond.VirtualMachine; namespace Mond { public sealed class MondProgram { internal readonly byte[] Bytecode; internal readonly List<MondValue> Numbers; internal ...
mit
C#
a523cfcd2b0dc8dd89444dfe3fb105bf4b5cddc1
Revert "Removed app config code from ServiceClientAdapter"
devigned/azure-powershell,naveedaz/azure-powershell,AzureRT/azure-powershell,rohmano/azure-powershell,hovsepm/azure-powershell,zhencui/azure-powershell,yantang-msft/azure-powershell,shuagarw/azure-powershell,nemanja88/azure-powershell,AzureAutomationTeam/azure-powershell,nemanja88/azure-powershell,shuagarw/azure-powers...
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.ServiceClientAdapter/ServiceClientAdapter.cs
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.ServiceClientAdapter/ServiceClientAdapter.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#
95b1997c14bb6fb7e2e68dd156f4feee3d139fec
Simplify Hosting's shutdown handling. Don't require a TTY on Unix.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Hosting/Program.cs
src/Microsoft.AspNet.Hosting/Program.cs
// 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.IO; using Microsoft.AspNet.Hosting.Internal; using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.Dependen...
// 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.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Hosting.Internal; using Microsoft.Framework....
apache-2.0
C#
23f7710ff746c8731b2b4fed021fcffe799db1b3
Simplify ternary operation (not !)
serilog/serilog,CaioProiete/serilog,merbla/serilog,serilog/serilog,merbla/serilog
src/Serilog/Core/ForContextExtension.cs
src/Serilog/Core/ForContextExtension.cs
using System; using Serilog.Events; namespace Serilog { /// <summary> /// Extension method 'ForContext' for ILogger. /// </summary> public static class ForContextExtension { /// <summary> /// Create a logger that enriches log events with the specified property based on log event le...
using System; using Serilog.Events; namespace Serilog { /// <summary> /// Extension method 'ForContext' for ILogger. /// </summary> public static class ForContextExtension { /// <summary> /// Create a logger that enriches log events with the specified property based on log event le...
apache-2.0
C#
36e963dd4738e241cc2e123c5bcc89f51902c297
Fix inverted condition
ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-fr...
osu.Framework/Lists/WeakList.cs
osu.Framework/Lists/WeakList.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; namespace osu.Framework.Lists { /// <summary> /// A list maintaining weak reference of object...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; namespace osu.Framework.Lists { /// <summary> /// A list maintaining weak reference of object...
mit
C#
451ab41583ea2b9f144939f75994281402dbd61f
Fix text input for SDL
ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework
osu.Framework/Input/GameWindowTextInput.cs
osu.Framework/Input/GameWindowTextInput.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.Extensions; using osu.Framework.Platform; namespace osu.Framework.Input { public class GameWindowTextInput : ITextInputSource ...
// 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.Extensions; using osu.Framework.Platform; namespace osu.Framework.Input { public class GameWindowTextInput : ITextInputSource ...
mit
C#
2aab6f8ea2a8911b4a0789a328ea10de3683e4ad
Add weapon enum
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/IWQ.cs
Battery-Commander.Web/Models/IWQ.cs
using System; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public partial class Soldier { //[DataType(DataType.Date), DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")] //public DateTime? IwqQualificationDate { get; set; } //public TimeSpan? Iw...
using System; using System.ComponentModel.DataAnnotations; namespace BatteryCommander.Web.Models { public partial class Soldier { //[DataType(DataType.Date), DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}")] //public DateTime? IwqQualificationDate { get; set; } //public TimeSpan? Iw...
mit
C#
7f12f87e78073917594e46b5b32425ad1a863196
Fix console application window title
kappa7194/otp
Albireo.Otp.ConsoleApplication/Program.cs
Albireo.Otp.ConsoleApplication/Program.cs
namespace Albireo.Otp.ConsoleApplication { using System; public static class Program { public static void Main() { Console.Title = "C# One-Time Password"; } } }
namespace Albireo.Otp.ConsoleApplication { using System; public static class Program { public static void Main() { Console.Title = "One-Time Password Generator"; } } }
mit
C#
bb7e10e378ff0e14a1a36db7b93797f778e30246
Set Version 0.0.2
hazzik/Tail.Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Tail")] [assembly: AssemblyProduct("Tail")] [assembly: AssemblyVersion("0.0.2")] [assembly: AssemblyFileVersion("0.0.2")]
using System.Reflection; [assembly: AssemblyTitle("Tail")] [assembly: AssemblyProduct("Tail")] [assembly: AssemblyVersion("0.0.1")] [assembly: AssemblyFileVersion("0.0.1")]
mit
C#
a445454d9fc3ed73aceb079676ceafbbd1146b54
Bump version to 0.10.10.
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
75458b313f6e4e8a874c123865c9388c9879df42
Update AlexDunn.cs
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/AlexDunn.cs
src/Firehose.Web/Authors/AlexDunn.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AlexDunn : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Alex"; public string LastN...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AlexDunn : IAmACommunityMember { public string FirstName => "Alex"; public string LastName => "Dunn"; ...
mit
C#
bd4662f635217c373ca8297876887e10e10baa03
Fix the bug in the binary search
cschen1205/cs-algorithms,cschen1205/cs-algorithms
Algorithms/Search/BinarySearch.cs
Algorithms/Search/BinarySearch.cs
using System; using System.Security.Cryptography; using Algorithms.Utils; namespace Algorithms.Search { public class BinarySearch { public static int IndexOf<T>(T[] a, T v) where T: IComparable<T> { var lo = 0; var hi = a.Length - 1; int comparison(T a1, T a...
using System; using System.Security.Cryptography; using Algorithms.Utils; namespace Algorithms.Search { public class BinarySearch { public static int IndexOf<T>(T[] a, T v) where T: IComparable<T> { var lo = 0; var hi = a.Length - 1; int comparison(T a1, T a...
mit
C#
8b0b29717b8ba1c5cd0142c9975040260b105bac
Read reviews from the database.
otac0n/GitReview,otac0n/GitReview,otac0n/GitReview
GitReview/Controllers/ReviewController.cs
GitReview/Controllers/ReviewController.cs
// ----------------------------------------------------------------------- // <copyright file="ReviewController.cs" company="(none)"> // Copyright © 2015 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.md for more information. // </copyright> // -----------...
// ----------------------------------------------------------------------- // <copyright file="ReviewController.cs" company="(none)"> // Copyright © 2015 John Gietzen. All Rights Reserved. // This source is subject to the MIT license. // Please see license.md for more information. // </copyright> // -----------...
mit
C#
06f5356ebf0ed9f5b148c71b650c79a5a4079c68
Delete unused namespaces
HiP-App/HiP-Achievements,HiP-App/HiP-Achievements,HiP-App/HiP-Achievements
HIP-Achievements.Model/Rest/ActionArgs.cs
HIP-Achievements.Model/Rest/ActionArgs.cs
using PaderbornUniversity.SILab.Hip.Achievements.Model.Entity; using System.ComponentModel.DataAnnotations; namespace PaderbornUniversity.SILab.Hip.Achievements.Model.Rest { public class ActionArgs { [Required] public ActionType Type { get; set; } /// <summary> /// Id of entit...
using PaderbornUniversity.SILab.Hip.Achievements.Model.Entity; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace PaderbornUniversity.SILab.Hip.Achievements.Model.Rest { public class ActionArgs { [Required] public ActionTyp...
apache-2.0
C#
14dde0dad389d8e49d360befafabdf0f6e61a8cc
add explain.
nabehiro/HttpAuthModule,nabehiro/HttpAuthModule
HttpAuthModule/Properties/AssemblyInfo.cs
HttpAuthModule/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("HttpAuthModule")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("HttpAuthModule")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
apache-2.0
C#
52f68831e4c4a3a4fba85e510d1f975b949e7703
Clean code
cd01/sudo-in-windows,cd01/sudo-in-windows
sudo.cs
sudo.cs
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 =...
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(); startInfo.FileName = args[0]; startInfo.UseShe...
mit
C#
8e467301c8c313d1a475a20d5f7b3068785c2909
Add IIS integration
agilepartner/SandTigerShark
GameServer/Program.cs
GameServer/Program.cs
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace SandTigerShark.GameServer { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) => WebHo...
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace SandTigerShark.GameServer { public class Program { public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) => WebHo...
mit
C#
3dec14b89d8c36911a6f6c4e505f61c360e5f237
Fix secondary login view
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml
BTCPayServer/Views/UIAccount/SecondaryLogin.cshtml
@model SecondaryLoginViewModel @{ ViewData["Title"] = "Two-factor/U2F authentication"; } @if (Model.LoginWith2FaViewModel != null && Model.LoginWithFido2ViewModel != null&& Model.LoginWithLNURLAuthViewModel != null) { <div asp-validation-summary="ModelOnly" class="text-danger"></div> } else if (Model.LoginWit...
@model SecondaryLoginViewModel @{ ViewData["Title"] = "Two-factor/U2F authentication"; } @if (Model.LoginWith2FaViewModel != null && Model.LoginWithFido2ViewModel != null&& Model.LoginWithLNURLAuthViewModel != null) { <div asp-validation-summary="ModelOnly" class="text-danger"></div> ...
mit
C#
195e51cf04dfff05275118567156dcc21bd66a68
Fix for batch build
theraot/Theraot
Core/Theraot/Core/NewOperationCanceledException.cs
Core/Theraot/Core/NewOperationCanceledException.cs
using System; #if NET20 || NET30 || NET35 using System.Threading; #endif #if NET40 || NET45 using System.Runtime.Serialization; #endif namespace Theraot.Core { [Serializable] public partial class NewOperationCanceledException : OperationCanceledException { public NewOperationCanceledExceptio...
using System; using System.Threading; namespace Theraot.Core { [Serializable] public partial class NewOperationCanceledException : OperationCanceledException { public NewOperationCanceledException() { //Empty } } public partial class NewOperationCanceledExcepti...
mit
C#
24264aabc78e0282bb12093d83a16ecd8ea5fcfa
Improve markdown (allow img) (#72)
leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Helpers.Web/HtmlSanitizeHelper.cs
JoinRpg.Helpers.Web/HtmlSanitizeHelper.cs
using System; using System.Web; using Vereyon.Web; namespace JoinRpg.Helpers.Web { public static class HtmlSanitizeHelper { private static readonly Lazy<HtmlSanitizer> SimpleHtml5Sanitizer = new Lazy<HtmlSanitizer>(InitHtml5Sanitizer); private static readonly Lazy<HtmlSanitizer> RemoveAllHtmlSanitizer = n...
using System; using System.Web; using Vereyon.Web; namespace JoinRpg.Helpers.Web { public static class HtmlSanitizeHelper { private static readonly Lazy<HtmlSanitizer> SimpleHtml5Sanitizer = new Lazy<HtmlSanitizer>(InitHtml5Sanitizer); private static readonly Lazy<HtmlSanitizer> RemoveAllHtmlSanitizer = n...
mit
C#
f2902508d9d3ecb2260a8fa167f8d122d039bcab
Update NativeShareTest.cs
yasirkula/UnityNativeShare
NativeShareDemo/Assets/NativeShareTest.cs
NativeShareDemo/Assets/NativeShareTest.cs
using System.Collections; using System.IO; using UnityEngine; public class NativeShareTest : MonoBehaviour { void Update() { transform.Rotate( 0, 90 * Time.deltaTime, 0 ); if( Input.GetMouseButtonDown( 0 ) ) StartCoroutine( TakeSSAndShare() ); } private IEnumerator TakeSSAndShare() { yi...
using System.Collections; using System.IO; using UnityEngine; public class NativeShareTest : MonoBehaviour { void Update() { transform.Rotate( 0, 90 * Time.deltaTime, 0 ); if( Input.GetMouseButtonDown( 0 ) ) StartCoroutine( TakeSSAndShare() ); } private IEnumerator TakeSSAndShare() { yi...
mit
C#
b0d21cdd8fd5cd4773e389e12cc0bb7c11864d8b
change gameFiled numbers to match numPad keyboard
nmarazov/Team-Sazerac
OOPTeamwork/OOPTeamwork/Core/GameField.cs
OOPTeamwork/OOPTeamwork/Core/GameField.cs
using System; namespace OOPTeamwork.Core { public struct GameField { // array on ints - the numbers indicate the position of the current player public static char[] InputSelection = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; public static void PrintFieldBorders() { ...
using System; namespace OOPTeamwork.Core { public struct GameField { // array on ints - the numbers indicate the position of the current player public static char[] InputSelection = { '1', '2', '3', '4', '5', '6', '7', '8', '9' }; public static void PrintFieldBorders() { ...
mit
C#
1408cc2b818d3c536a98a4f54953d08b5aac83d9
add .forEach() and .orBlank()
Pondidum/OctopusStore,Pondidum/OctopusStore
OctopusStore/Infrastructure/Extensions.cs
OctopusStore/Infrastructure/Extensions.cs
using System; using System.Collections.Generic; using System.Text; namespace OctopusStore.Infrastructure { public static class Extensions { public static bool EqualsIgnore(this string self, string value) { return self.Equals(value, StringComparison.OrdinalIgnoreCase); } public static void DoFirst<T>(thi...
using System; using System.Collections.Generic; using System.Text; namespace OctopusStore.Infrastructure { public static class Extensions { public static bool EqualsIgnore(this string self, string value) { return self.Equals(value, StringComparison.OrdinalIgnoreCase); } public static void DoFirst<T>(thi...
lgpl-2.1
C#
3df103d804677206fe0669bc22b5fe5500fe9212
Remove offending and non-serializable SPContentTypeId member from BaseEntity. - Any property on an Entity should be easy to serialize, that's the whole point. - Down the road, we should implement a ContentTypeIdValue value type and its own converters so that we can expose this in an easily serializable fashion - As a c...
AkechiNEET/Dynamite,GSoft-SharePoint/Dynamite-2010,NunoEdgarGub1/Dynamite,GSoft-SharePoint/Dynamite,NunoEdgarGub1/Dynamite,GSoft-SharePoint/Dynamite-2010,GSoft-SharePoint/Dynamite,AkechiNEET/Dynamite
Source/GSoft.Dynamite/BaseEntity.cs
Source/GSoft.Dynamite/BaseEntity.cs
using System; using GSoft.Dynamite.Binding; using Microsoft.SharePoint; namespace GSoft.Dynamite { /// <summary> /// Base class for SPListItem-mapped entities /// </summary> public class BaseEntity { /// <summary> /// Item identifier within its list /// </summary> [...
using System; using GSoft.Dynamite.Binding; using Microsoft.SharePoint; namespace GSoft.Dynamite { /// <summary> /// Base class for SPListItem-mapped entities /// </summary> public class BaseEntity { /// <summary> /// Item identifier within its list /// </summary> [...
mit
C#
b85e0eb653041baa7693a3573fcb6c237f29f93a
Fix player aiming
grimgrimoire/projectstickman
Assets/Scripts/UI/AimPad.cs
Assets/Scripts/UI/AimPad.cs
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class AimPad : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IDragHandler { static float MOVE_RANGE = 80; public GameObject player; PlayerMovement playerMove; public RectTransform joystickImage; float globalXDefault; ...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class AimPad : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IDragHandler { static float MOVE_RANGE = 80; public GameObject player; PlayerMovement playerMove; public RectTransform joystickImage; float globalXDefault; ...
apache-2.0
C#
a3e3b18663d62326559dd5a72a1c74921bacda3e
Set DoubleBuffered property via reflection
imasm/CSharpExtensions
CSharpEx.Forms/ControlEx.cs
CSharpEx.Forms/ControlEx.cs
using System; using System.Windows.Forms; namespace CSharpEx.Forms { /// <summary> /// Control extensions /// </summary> public static class ControlEx { /// <summary> /// Invoke action if Invoke is requiered. /// </summary> public static void InvokeIfRequired<T>(thi...
using System; using System.Windows.Forms; namespace CSharpEx.Forms { /// <summary> /// Control extensions /// </summary> public static class ControlEx { /// <summary> /// Invoke action if Invoke is requiered. /// </summary> public static void InvokeIfRequired<T>(thi...
apache-2.0
C#
04f61480cab638c4fb4f7087b4fa40056bbb48b5
Add remote rf enable function
Stok/EDMSuite,ColdMatter/EDMSuite,jstammers/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,ColdMatter/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite,Stok/EDMSuite,jstammers/EDMSuite,jstammers/EDMSuite
DAQ/Gigatronics7100Synth.cs
DAQ/Gigatronics7100Synth.cs
using System; using DAQ.Environment; namespace DAQ.HAL { /// <summary> /// This class represents a GPIB controlled Gigatronics 7100 arbitrary waveform generator. It conforms to the Synth /// interface. /// </summary> public class Gigatronics7100Synth : Synth { public Gigat...
using System; using DAQ.Environment; namespace DAQ.HAL { /// <summary> /// This class represents a GPIB controlled Gigatronics 7100 arbitrary waveform generator. It conforms to the Synth /// interface. /// </summary> class Gigatronics7100Synth : Synth { public Gigatronics7...
mit
C#
e29b05bce05861fc5dc36431abe8599b4d705dfc
Add constraint
sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014
VerificationSample/SortConsole/Program.cs
VerificationSample/SortConsole/Program.cs
/* * このプログラムには、架空の機能が含まれます。 */ using System; namespace SortConsole { class Program { static void Main(string[] args) { Console.WriteLine(Sort(new TwoValues(1, 1))); Console.WriteLine(Sort(new TwoValues(1, 2))); Console.WriteLine(Sort(new TwoValues(2, 1)))...
/* * このプログラムには、架空の機能が含まれます。 */ using System; namespace SortConsole { class Program { static void Main(string[] args) { Console.WriteLine(Sort(new TwoValues(1, 1))); Console.WriteLine(Sort(new TwoValues(1, 2))); Console.WriteLine(Sort(new TwoValues(2, 1)))...
mit
C#
bbc5feb07b1549fd1404534f9b758972112c6d25
Clear existing test cases before loading.
mthamil/TFSTestCaseAutomator
TestCaseAutomator/ViewModels/WorkItemsViewModel.cs
TestCaseAutomator/ViewModels/WorkItemsViewModel.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.TeamFoundation.TestManagement.Client; using TestCaseAutomator.TeamFoundation; using TestCaseAutomator.Utilities.Mvvm; using TestCaseAutomator.Ut...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.TeamFoundation.TestManagement.Client; using TestCaseAutomator.TeamFoundation; using TestCaseAutomator.Utilities.Mvvm; using TestCaseAutomator.Ut...
apache-2.0
C#
0bdcc590b384421e41c0a4ecf5fc7cc9d59e8948
fix wrong eq
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Rider/UnityEditorOccurrence.cs
resharper/resharper-unity/src/Rider/UnityEditorOccurrence.cs
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using JetBrains.Annotations; using JetBrains.Application.Progress; using JetBrains.Application.UI.PopupLayout; using JetBrains.IDE; using JetBrains.Platform.RdFramework.Base; using JetBrains.Platform.Unity.EditorPluginModel; using Jet...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using JetBrains.Annotations; using JetBrains.Application.Progress; using JetBrains.Application.UI.PopupLayout; using JetBrains.IDE; using JetBrains.Platform.RdFramework.Base; using JetBrains.Platform.Unity.EditorPluginModel; using Jet...
apache-2.0
C#
9adbca26d570442b5f0c5270368c7955953c1802
Fix Console.WriteLine conflict
runnersQueue/3minutes
SubFolderTest/TestGit/Program.cs
SubFolderTest/TestGit/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Urho; using Urho.Gui; using Urho.Resources; using Urho.Shapes; namespace TestGit { class Program : SimpleApplication { Program(ApplicationOptions options = null) :base(options) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Urho; using Urho.Gui; using Urho.Resources; using Urho.Shapes; namespace TestGit { class Program : SimpleApplication { Program(ApplicationOptions options = null) :base(options) { ...
mit
C#
4570dbac797f39317f855828ebca7413db02484f
add GetResourceManager()
TakeAsh/cs-TakeAshUtility
TakeAshUtility/AssemblyHelper.cs
TakeAshUtility/AssemblyHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Resources; using System.Text; using System.Text.RegularExpressions; namespace TakeAshUtility { public static class AssemblyHelper { private static readonly Regex regPropertyResources = ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; namespace TakeAshUtility { public static class AssemblyHelper { public static T GetAttribute<T>(this Assembly assembly) where T : Attribute { if (assembly ...
mit
C#
be885785d94413ddd03ce3c16d19d26c2d3a55f1
Add call to WaitForExit
chrarnoldus/VulkanRenderer,chrarnoldus/VulkanRenderer,chrarnoldus/VulkanRenderer
VulkanRendererApprovals/ApprovalTests.cs
VulkanRendererApprovals/ApprovalTests.cs
using ImageMagick; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using Xunit; namespace VulkanRendererApprovals { public class ApprovalTests { static void RenderModel(string modelPath, [CallerMemberName] string callerMemberName = null, [CallerFilePath] string callerF...
using ImageMagick; using System.Diagnostics; using System.IO; using System.Runtime.CompilerServices; using Xunit; namespace VulkanRendererApprovals { public class ApprovalTests { static void RenderModel(string modelPath, [CallerMemberName] string callerMemberName = null, [CallerFilePath] string callerF...
unlicense
C#
49adfc18f15b61c752d7889e41fc17ca0d5ae6b3
add tests for generating transform files.
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
test/Experiment.AutoFixtureUnitTest/AssemblyLevelTest.cs
using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { const string _productDirectory = @"..\..\..\..\src\Experiment.AutoFixture\"; const string _...
using System.Linq; using System.Reflection; using Xunit; using Xunit.Extensions; namespace Jwc.Experiment { public class AssemblyLevelTest { [Fact] public void SutReferencesOnlySpecifiedAssemblies() { var sut = typeof(AutoFixtureAdapter).Assembly; var specifiedA...
mit
C#
9a66325d3eb47a1810fcf80b20e2f35801807c93
Complete ChannelsArrangements class
Zeugma440/atldotnet
ATL/Entities/ChannelsArrangement.cs
ATL/Entities/ChannelsArrangement.cs
namespace ATL { public class ChannelsArrangements { public static ChannelsArrangement Mono = new ChannelsArrangement(1, "Mono (1/0)"); public static ChannelsArrangement DualMono = new ChannelsArrangement(2, "Dual Mono (1+1)"); public static ChannelsArrangement Stereo = new ChannelsArran...
namespace ATL { public class ChannelsArrangements { public static ChannelsArrangement Mono = new ChannelsArrangement(1, "Mono (1/0)"); public static ChannelsArrangement Stereo = new ChannelsArrangement(2, "Stereo (2/0)"); public class ChannelsArrangement { private int nbCha...
mit
C#
9917423b98aba4ee9fc5babe88d7f7182c0a318c
Fix C# sample
quicktype/quicktype,quicktype/quicktype,quicktype/quicktype,quicktype/quicktype,quicktype/quicktype
test/csharp/Program.cs
test/csharp/Program.cs
using System; using System.IO; namespace test { class Program { static void Main(string[] args) { var path = args[0]; var json = File.ReadAllText(path); var qt = QuickType.Convert.FromJson(json); var output = QuickType.Convert.ToJson(qt); ...
using System; using System.IO; namespace test { class Program { static void Main(string[] args) { var path = args[0]; var json = File.ReadAllText(path); var qt = TopLevel.Convert.FromJson(json); var output = TopLevel.Convert.ToJson(qt); ...
apache-2.0
C#
6bb7231796728a62edcefe1eb29972879ece0f27
Add INotifyPropertyChanged inheritance.
cube-soft/Cube.Core,cube-soft/Cube.Core
Libraries/Sources/Interfaces.cs
Libraries/Sources/Interfaces.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www....
apache-2.0
C#
2c463dd94531680bb4e8068c62c97747d284f45b
fix getting folder path
yar229/Mail.Ru-.net-cloud-client
MailRuCloudApi/SplittedCloud.cs
MailRuCloudApi/SplittedCloud.cs
using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MailRuCloudApi { public class SplittedCloud : MailRuCloud { public SplittedCloud(string login, string password) : base(login, password) { } public override async Task<Entry> GetIte...
using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MailRuCloudApi { public class SplittedCloud : MailRuCloud { public SplittedCloud(string login, string password) : base(login, password) { } public override async Task<Entry> GetIte...
mit
C#
1aa00247bded28fb7a065fccbd65ba80b133f872
Make sure the Connection string and the OwinAutomaticAppStartup are set in the Web.config #41
SevenSpikes/api-plugin-for-nopcommerce,SevenSpikes/api-plugin-for-nopcommerce
Nop.Plugin.Api/RouteProvider.cs
Nop.Plugin.Api/RouteProvider.cs
using System.Web.Mvc; using System.Web.Routing; using Nop.Web.Framework.Mvc.Routes; using Nop.Plugin.Api.Helpers; using Nop.Core.Infrastructure; namespace Nop.Plugin.Api { public class RouteProvider : IRouteProvider { public void RegisterRoutes(RouteCollection routes) { routes.MapR...
using System.Web.Mvc; using System.Web.Routing; using Nop.Web.Framework.Mvc.Routes; namespace Nop.Plugin.Api { public class RouteProvider : IRouteProvider { public void RegisterRoutes(RouteCollection routes) { routes.MapRoute("Plugin.Api.Settings", "Plugins/ApiAdmi...
mit
C#
2ba1ad1b17ca27220132976fe06287d678015892
Add security stamp validation
derrickcreamer/NoteFolder,derrickcreamer/NoteFolder
NoteFolder/App_Start/Startup.cs
NoteFolder/App_Start/Startup.cs
using System; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Owin; using NoteFolder.Models; namespace NoteFolder { public partial class Startup { public void Configuration(IAppBuilder app) { app.CreatePerOwinContext<AppDb...
using System; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.AspNet.Identity; using Owin; using NoteFolder.Models; namespace NoteFolder { public partial class Startup { public void Configuration(IAppBuilder app) { app.CreatePerOwinContext<AppDbContext>(AppDbContext.Create); app....
mit
C#
08aa5f0ebf17ff22c864837919cf63b416e481e7
Update RemoveRedundantEqualityTests.cs
stephentoub/roslyn,AmadeusW/roslyn,tmat/roslyn,jasonmalinowski/roslyn,AlekseyTs/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,eriawan/roslyn,tmat/roslyn,physhi/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,heejaechang/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,a...
src/Analyzers/CSharp/Tests/RemoveRedundantEquality/RemoveRedundantEqualityTests.cs
src/Analyzers/CSharp/Tests/RemoveRedundantEquality/RemoveRedundantEqualityTests.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.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.RemoveRedundantEquality; using Microsoft.CodeAnal...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.RemoveRedundantEquality; using Microsoft.CodeAnal...
mit
C#
cde429c47f66391942b4fa939275dc72240b01aa
Validate nullable attributes are set
meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework
tests/Meziantou.Framework.ResxSourceGenerator.GeneratorTests/ResxGeneratorTests.cs
tests/Meziantou.Framework.ResxSourceGenerator.GeneratorTests/ResxGeneratorTests.cs
#pragma warning disable CA1304 #pragma warning disable MA0011 using System.Globalization; using TestUtilities; using Xunit; namespace Meziantou.Framework.ResxSourceGenerator.GeneratorTests; public class ResxGeneratorTests { [RunIfFact(globalizationMode: FactInvariantGlobalizationMode.Disabled)] public void F...
#pragma warning disable CA1304 #pragma warning disable MA0011 using System.Globalization; using TestUtilities; using Xunit; namespace Meziantou.Framework.ResxSourceGenerator.GeneratorTests; public class ResxGeneratorTests { [RunIfFact(globalizationMode: FactInvariantGlobalizationMode.Disabled)] public void F...
mit
C#
e058defbc11f3a4cfb9e363ce6aaec8408fb194a
Make DataGridHelper internal
jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Perspex,Perspex/Perspex,grokys/Perspex,SuperJMN/Avalonia,wieslawso...
src/Avalonia.Controls.DataGrid/Utils/DataGridHelper.cs
src/Avalonia.Controls.DataGrid/Utils/DataGridHelper.cs
namespace Avalonia.Controls { internal static class DataGridHelper { internal static void SyncColumnProperty<T>(AvaloniaObject column, AvaloniaObject content, AvaloniaProperty<T> property) { SyncColumnProperty(column, content, property, property); } internal static ...
namespace Avalonia.Controls { public static class DataGridHelper { internal static void SyncColumnProperty<T>(AvaloniaObject column, AvaloniaObject content, AvaloniaProperty<T> property) { SyncColumnProperty(column, content, property, property); } internal static vo...
mit
C#
da864799e352775e4304a5d5543d61f52a2eb111
Add possibility to add department and DepartmentAddDto
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Controllers/DepartmentsController.cs
src/Diploms.WebUI/Controllers/DepartmentsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Diploms.Core; namespace Diploms.WebUI.Controllers { [Route("api/[controller]")] public class DepartmentsController : Controller { private readonly IRepository<Depar...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Diploms.Core; namespace Diploms.WebUI.Controllers { [Route("api/[controller]")] public class DepartmentsController : Controller { [HttpGet("")] public IEnum...
mit
C#
eb714c777043250bb3c929669e11f49eca4459c8
Make the test data more realistic
onovotny/GitVersion,dpurge/GitVersion,dpurge/GitVersion,dazinator/GitVersion,ParticularLabs/GitVersion,GitTools/GitVersion,pascalberger/GitVersion,pascalberger/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,onovotny/GitVersion,dpurge/GitVersion,Philo/GitVersion,FireHost/GitVersion,ermshiperete/GitVersion,JakeGinniv...
src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs
src/GitVersionCore.Tests/BuildServers/VsoAgentTests.cs
using System; using GitVersion; using GitVersionCore.Tests; using NUnit.Framework; using Shouldly; [TestFixture] public class VsoAgentTests { string key = "BUILD_BUILDNUMBER"; [SetUp] public void SetEnvironmentVariableForTest() { Environment.SetEnvironmentVariable(key, "Some Build_Value $(G...
using System; using GitVersion; using GitVersionCore.Tests; using NUnit.Framework; using Shouldly; [TestFixture] public class VsoAgentTests { string key = "BUILD_BUILDNUMBER"; [SetUp] public void SetEnvironmentVariableForTest() { Environment.SetEnvironmentVariable(key, "Some Build_Value $(G...
mit
C#
74dbe48598b11320bc95d13905b48adf17f1c80d
fix bug in LoggerFileScope
dotnet/docfx,superyyrrzz/docfx,LordZoltan/docfx,superyyrrzz/docfx,sergey-vershinin/docfx,DuncanmaMSFT/docfx,pascalberger/docfx,superyyrrzz/docfx,LordZoltan/docfx,928PJY/docfx,dotnet/docfx,pascalberger/docfx,sergey-vershinin/docfx,sergey-vershinin/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,pascalberger/docfx,LordZoltan/do...
src/Microsoft.DocAsCode.EntityModel/LoggerFileScope.cs
src/Microsoft.DocAsCode.EntityModel/LoggerFileScope.cs
namespace Microsoft.DocAsCode.EntityModel { using System; using System.Runtime.Remoting.Messaging; public sealed class LoggerFileScope : IDisposable { private readonly string _originFileName; public LoggerFileScope(string fileName) { if (string.IsNullOrWhiteSpace(f...
namespace Microsoft.DocAsCode.EntityModel { using System; using System.Runtime.Remoting.Messaging; public sealed class LoggerFileScope : IDisposable { private readonly string _originFileName; public LoggerFileScope(string fileName) { if (string.IsNullOrWhiteSpace(f...
mit
C#
f6c649ef0f8504a7c13b514b8cfbdbd79a5c4211
allow to make project without .ignores file
Erdroy/MySync,Erdroy/MySync,Erdroy/MySync
src/MySync.Shared/MySync.Shared/Utilities/FileUtils.cs
src/MySync.Shared/MySync.Shared/Utilities/FileUtils.cs
// MySync © 2016-2017 Damian 'Erdroy' Korczowski namespace MySync.Shared.Utilities { /// <summary> /// File utils class. /// </summary> public static class FileUtils { /// <summary> /// Checks if file is excluded using exclusion list. /// </summary> /// <param name=...
// MySync © 2016-2017 Damian 'Erdroy' Korczowski namespace MySync.Shared.Utilities { /// <summary> /// File utils class. /// </summary> public static class FileUtils { /// <summary> /// Checks if file is excluded using exclusion list. /// </summary> /// <param name=...
agpl-3.0
C#
beaefd3cb1f82cc5670610f0b61469b4a8a6320f
Test for large binary blobs (more than 8000 bytes), just to be sure it works.
livioc/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDela...
src/NHibernate.Test/TypesTest/BinaryBlobTypeFixture.cs
src/NHibernate.Test/TypesTest/BinaryBlobTypeFixture.cs
using System; using NHibernate; using NUnit.Framework; namespace NHibernate.Test.TypesTest { /// <summary> /// Summary description for BinaryBlobTypeFixture. /// </summary> [TestFixture] public class BinaryBlobTypeFixture : TypeFixtureBase { protected override string TypeName { get { return "BinaryBlob"...
using System; using NHibernate; using NUnit.Framework; namespace NHibernate.Test.TypesTest { /// <summary> /// Summary description for BinaryBlobTypeFixture. /// </summary> [TestFixture] public class BinaryBlobTypeFixture : TypeFixtureBase { protected override string TypeName { get { return "BinaryBlob"...
lgpl-2.1
C#
6ab4f1d9ff33788cfb15f930f2d48974cae93651
Rename status messages from Knots to Full Node
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/BitcoinCore/Monitoring/RpcStatus.cs
WalletWasabi/BitcoinCore/Monitoring/RpcStatus.cs
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.BitcoinCore.Monitoring { public class RpcStatus : IEquatable<RpcStatus> { public static RpcStatus Unresponsive = new RpcStatus(false, 0, 0, 0); private RpcStatus(bool success, ulong headers, ulong blocks, int peersCount) ...
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.BitcoinCore.Monitoring { public class RpcStatus : IEquatable<RpcStatus> { public static RpcStatus Unresponsive = new RpcStatus(false, 0, 0, 0); private RpcStatus(bool success, ulong headers, ulong blocks, int peersCount) ...
mit
C#
d61f4aeb8a043eca327f605075ebb732aaf2afde
Update GetCategoryResultJson.cs
jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK
src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeJson/GetCategoryResultJson.cs
src/Senparc.Weixin.Open/Senparc.Weixin.Open/WxaAPIs/Code/CodeJson/GetCategoryResultJson.cs
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2017 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 2017 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#
1f248b90ccef86e9030fe1001f085f1222b571cf
Set FTBPass to true by default
peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework
osu.Framework/Configuration/FrameworkDebugConfig.cs
osu.Framework/Configuration/FrameworkDebugConfig.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.Runtime; using osu.Framework.Caching; namespace osu.Framework.Configuration { public class FrameworkDebugConfigManager : IniConfigManager<DebugSetting>...
// 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.Runtime; using osu.Framework.Caching; namespace osu.Framework.Configuration { public class FrameworkDebugConfigManager : IniConfigManager<DebugSetting>...
mit
C#
6c478a5c55f9c860376fed426fa04bd4301ca93f
Copy over default repository actions if empty on Windows
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api.Common/Git/RepositoryActions/DefaultRepositoryActionConfigurationStore.cs
RepoZ.Api.Common/Git/RepositoryActions/DefaultRepositoryActionConfigurationStore.cs
using Newtonsoft.Json; using RepoZ.Api.IO; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace RepoZ.Api.Common.Git { public class DefaultRepositoryActionConfigurationStore : FileRepositoryStore, IRepositoryActionConfigurationStore { private objec...
using Newtonsoft.Json; using RepoZ.Api.IO; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace RepoZ.Api.Common.Git { public class DefaultRepositoryActionConfigurationStore : FileRepositoryStore, IRepositoryActionConfigurationStore { private object _lock = new object(); ...
mit
C#
14163f3276664e4d908f11886ec9bae867368968
make validator static
StanJav/language-ext,StefanBertels/language-ext,louthy/language-ext
Samples/Contoso/Contoso.Application/Departments/Commands/CreateDepartmentHandler.cs
Samples/Contoso/Contoso.Application/Departments/Commands/CreateDepartmentHandler.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Contoso.Core; using Contoso.Core.Interfaces.Repositories; using LanguageExt; using static LanguageExt.Prelude; using MediatR; using static Contoso.Validators; using Contoso.Core.Domain; names...
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Contoso.Core; using Contoso.Core.Interfaces.Repositories; using LanguageExt; using static LanguageExt.Prelude; using MediatR; using static Contoso.Validators; using Contoso.Core.Domain; names...
mit
C#
724d872ef59662568e70cd3350790630f0883f55
Order is everything in life
Willster419/RelhaxModpack,Willster419/RelhaxModpack,Willster419/RelicModManager
RelicModManager/DatabaseObject.cs
RelicModManager/DatabaseObject.cs
using System; using System.Collections.Generic; namespace RelhaxModpack { public abstract class DatabaseObject { public string name { get; set; } //the developer's version of the mod public string version { get; set; } public string zipFile { get; set; } public long tim...
using System; using System.Collections.Generic; namespace RelhaxModpack { public abstract class DatabaseObject { public string name { get; set; } //the developer's version of the mod public string version { get; set; } public string zipFile { get; set; } public long tim...
apache-2.0
C#
f11245eea49a6f5152c79ec6338eb24775c9cc97
revert RuleCount fix (broken)
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Services/FilterList/MappingProfiles/ListDetailsDtoMappingProfile.cs
src/FilterLists.Services/FilterList/MappingProfiles/ListDetailsDtoMappingProfile.cs
using System.Linq; using AutoMapper; using FilterLists.Services.FilterList.Models; using JetBrains.Annotations; namespace FilterLists.Services.FilterList.MappingProfiles { [UsedImplicitly] public class ListDetailsDtoMappingProfile : Profile { //TODO: fix UpdatedDate and RuleCount public Li...
using System.Linq; using AutoMapper; using FilterLists.Services.FilterList.Models; using JetBrains.Annotations; namespace FilterLists.Services.FilterList.MappingProfiles { [UsedImplicitly] public class ListDetailsDtoMappingProfile : Profile { //TODO: fix UpdatedDate and RuleCount public Li...
mit
C#
9296358cbe0f4718e6c352863aa77c68f4f56650
Update ImageProfilePartHandler.cs
Serlead/Orchard,TalaveraTechnologySolutions/Orchard,aaronamm/Orchard,Serlead/Orchard,hbulzy/Orchard,li0803/Orchard,hannan-azam/Orchard,ehe888/Orchard,grapto/Orchard.CloudBust,sfmskywalker/Orchard,AdvantageCS/Orchard,grapto/Orchard.CloudBust,IDeliverable/Orchard,jagraz/Orchard,Lombiq/Orchard,SzymonSel/Orchard,gcsuk/Orch...
src/Orchard.Web/Modules/Orchard.MediaProcessing/Handlers/ImageProfilePartHandler.cs
src/Orchard.Web/Modules/Orchard.MediaProcessing/Handlers/ImageProfilePartHandler.cs
using Orchard.Caching; using Orchard.ContentManagement; using Orchard.ContentManagement.Handlers; using Orchard.Data; using Orchard.MediaProcessing.Models; namespace Orchard.MediaProcessing.Handlers { public class ImageProfilePartHandler : ContentHandler { private readonly ISignals _signals; ...
using Orchard.Caching; using Orchard.ContentManagement; using Orchard.ContentManagement.Handlers; using Orchard.Data; using Orchard.MediaProcessing.Models; namespace Orchard.MediaProcessing.Handlers { public class ImageProfilePartHandler : ContentHandler { private readonly ISignals _signals; ...
bsd-3-clause
C#
a31b1095c7208754449fb6a6ffe1a2c572db84bb
Tweak the hello world test
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
tests/hello-world/hello-world.cs
tests/hello-world/hello-world.cs
public static unsafe class Program { public static extern void* malloc(ulong size); public static extern void free(void* data); public static extern int puts(byte* str); public static void FillString(byte* str) { *str = (byte)'h'; *(str + 1) = (byte)'i'; *(str + 2) = (byte)'...
public static unsafe class Program { public static extern void* malloc(ulong size); public static extern void free(void* data); public static extern int puts(byte* str); public static int Main() { byte* str = (byte*)malloc(3); *str = (byte)'h'; *(str + 1) = (byte)'i'; ...
mit
C#
228f87cf4c8fa6415bce8db85db0101fa49fa6c5
Change AssembyInfo
akormachev/gremlins.core
Source/Properties/AssemblyInfo.cs
Source/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#
f944126c237b726292c0900768cad6254ffab8f8
Use TLS v.1.2 for GitHub API call
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs
src/Arkivverket.Arkade/Util/GitHubReleaseInfoReader.cs
using System; using System.Net; using System.Reflection; using System.Text.RegularExpressions; using RestSharp; using Serilog; namespace Arkivverket.Arkade.Util { public class GitHubReleaseInfoReader : IReleaseInfoReader { private static readonly ILogger Log = Serilog.Log.ForContext(MethodBase.GetCurr...
using System; using System.Reflection; using System.Text.RegularExpressions; using RestSharp; using Serilog; namespace Arkivverket.Arkade.Util { public class GitHubReleaseInfoReader : IReleaseInfoReader { private static readonly ILogger Log = Serilog.Log.ForContext(MethodBase.GetCurrentMethod().Declar...
agpl-3.0
C#
387ef550ed6071d6113ffe719f50ed5e03a45e85
Disable error for invalid asmdef reference
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/src/resharper-unity/Json/Daemon/Stages/Resolve/UnresolvedReferenceErrorHandler.cs
resharper/src/resharper-unity/Json/Daemon/Stages/Resolve/UnresolvedReferenceErrorHandler.cs
using System.Collections.Generic; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.Json.Daemon.Errors; using JetBrains.ReSharper.Plugins.Unity.Json.Psi.Resolve; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JSon; using JetBrains.ReSharper...
using System.Collections.Generic; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.Json.Daemon.Errors; using JetBrains.ReSharper.Plugins.Unity.Json.Psi.Resolve; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JSon; using JetBrains.ReSharper...
apache-2.0
C#
2c4f71316f208dae8039a0f61e60eea56e867409
Add maxWidth Image API 2.1 property
digirati-co-uk/iiif-model,Riksarkivet/iiif-model
Digirati.IIIF/Model/Types/ImageApi/ImageServiceProfile.cs
Digirati.IIIF/Model/Types/ImageApi/ImageServiceProfile.cs
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types.ImageApi { public class ImageServiceProfile : IProfile { [JsonProperty(Order = 1, PropertyName = "formats")] public string[] Formats { get; set; } [JsonProperty(Order = 2, PropertyName = "qualities")] public string[] Q...
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types.ImageApi { public class ImageServiceProfile : IProfile { [JsonProperty(Order = 1, PropertyName = "formats")] public string[] Formats { get; set; } [JsonProperty(Order = 2, PropertyName = "qualities")] public string[] Q...
mit
C#
8762ae3507e4d3b4fcbd50de9803cecc19745e99
Improve ToolTips
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Converters/PrivacyLevelValueConverter.cs
WalletWasabi.Gui/Converters/PrivacyLevelValueConverter.cs
using Avalonia; using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Commands; using System; using System.Collections.Generic; using System.Composition; using System.Drawing; using System.Globalization; namespace WalletWasabi.Gui.Converters { public class PrivacyLevelValueConverter : IValueConver...
using Avalonia; using Avalonia.Data.Converters; using Avalonia.Media; using AvalonStudio.Commands; using System; using System.Collections.Generic; using System.Composition; using System.Drawing; using System.Globalization; namespace WalletWasabi.Gui.Converters { public class PrivacyLevelValueConverter : IValueConver...
mit
C#
2247050acd4891bb9b690a43ad1ac43a2d319d2a
Revert "tabs&spaces. Oh the joy"
IdentityServer/IdentityServer3,roflkins/IdentityServer3,IdentityServer/IdentityServer3,roflkins/IdentityServer3,johnkors/Thinktecture.IdentityServer.v3,johnkors/Thinktecture.IdentityServer.v3,johnkors/Thinktecture.IdentityServer.v3,IdentityServer/IdentityServer3,roflkins/IdentityServer3
source/Core/Resources/T4resx.cs
source/Core/Resources/T4resx.cs
 #pragma warning disable 1591 namespace IdentityServer3.Core.Resources { public class EventIds { public const string ClientPermissionsRevoked = "ClientPermissionsRevoked"; public const string CspReport = "CspReport"; public const string ExternalLoginError = "ExternalLoginError"; public const string Exte...
 #pragma warning disable 1591 namespace IdentityServer3.Core.Resources { public class EventIds { public const string ClientPermissionsRevoked = "ClientPermissionsRevoked"; public const string CspReport = "CspReport"; public const string ExternalLoginError = "ExternalLoginError"; public const string Exte...
apache-2.0
C#
40805bde902bb9be9dd2fb2e20343980d0a5b782
Add SpaceNotificationTestAsync
ats124/backlog4net
src/Backlog4net.Test/SpaceMethodsTest.cs
src/Backlog4net.Test/SpaceMethodsTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json; using Backlog4net.Internal...
using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Backlog4net.Internal.Json; using Backlog4net.Internal...
mit
C#
4de9aad469f44ebb60573881b61d1abade9b5108
Fix unity plugin after CodeCleanupModel refactoring
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.Core.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; ...
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.Core.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; ...
apache-2.0
C#
084595f5d87bca45c1ff20aa39f5364f6910ed04
change every StringTenantUrn to make its nss part to lower always
Elders/Cronus.DomainModeling,Elders/Cronus.DomainModeling
src/Elders.Cronus.DomainModeling/StringTenantUrn.cs
src/Elders.Cronus.DomainModeling/StringTenantUrn.cs
using System; namespace Elders.Cronus { public class StringTenantUrn : Urn { const string regex = @"\b(?<prefix>[urnURN]{3}):(?<tenant>[a-zA-Z0-9][a-zA-Z0-9-]{0,31}):(?<arname>[a-zA-Z][a-zA-Z_\-.]{0,100}):?(?<id>[a-zA-Z0-9()+,\-.=@;$_!:*'%\/?#]*[a-zA-Z0-9+=@$\/])"; public StringTenantUrn(stri...
using System; namespace Elders.Cronus { public class StringTenantUrn : Urn { const string regex = @"\b(?<prefix>[urnURN]{3}):(?<tenant>[a-zA-Z0-9][a-zA-Z0-9-]{0,31}):(?<arname>[a-zA-Z][a-zA-Z_\-.]{0,100}):?(?<id>[a-zA-Z0-9()+,\-.=@;$_!:*'%\/?#]*[a-zA-Z0-9+=@$\/])"; public StringTenantUrn(stri...
apache-2.0
C#
5fdf7fc796bb35d1a0c23c9814e984615279c8a6
Fix error when displaying ServerDistList-entity
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Scheduling/ComponentCollectors/AvailableContactSynchronizerComponents.cs
CalDavSynchronizer/Scheduling/ComponentCollectors/AvailableContactSynchronizerComponents.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
a224d9053649dd0bdb3c31bbdeeeef848f80eb7c
Add one method
fredatgithub/UsefulFunctions
FonctionsUtiles.Fred.Csharp/functionsControls.cs
FonctionsUtiles.Fred.Csharp/functionsControls.cs
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
mit
C#
d1ff1dc06c6c0ea6f23ce987e9da320f07ce2b24
add comment
StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis
service/DotNetApis.Storage/BatchOperation.cs
service/DotNetApis.Storage/BatchOperation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; namespace DotNetApis.Storage { /// <summary> /// Represents an action to be taken as part of a batch. /// </summary> public interface IBatchAc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; namespace DotNetApis.Storage { /// <summary> /// Represents an action to be taken as part of a batch. /// </summary> public interface IBatchAc...
mit
C#
44b31010d9393bc25e5f1926edf337004b8c5af9
Rename test dependency
DivineInject/DivineInject,DivineInject/DivineInject
DivineInject.Test/DivineInjectorTest.cs
DivineInject.Test/DivineInjectorTest.cs
using NUnit.Framework; using TestFirst.Net.Extensions.NUnit; using TestFirst.Net.Matcher; namespace DivineInject.Test { [TestFixture] public class DivineInjectorTest : AbstractNUnitScenarioTest { [Test] public void BindsInterfaceToImplementationAndInstantiates() { Divin...
using NUnit.Framework; using TestFirst.Net.Extensions.NUnit; using TestFirst.Net.Matcher; namespace DivineInject.Test { [TestFixture] public class DivineInjectorTest : AbstractNUnitScenarioTest { [Test] public void BindsInterfaceToImplementationAndInstantiates() { Divin...
mit
C#
fad9e7399940946d90f4314f9344d8871af68df6
Add null check in disposal clause
johnneijzen/osu,peppy/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,Useless...
osu.Game/Overlays/FullscreenOverlay.cs
osu.Game/Overlays/FullscreenOverlay.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Effects; using osu.Game.Graphi...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Effects; using osu.Game.Graphi...
mit
C#
fe90e194e37b977ebcd2232f0af0b5177efef571
Remove redundant qualifier
smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,ZLima12/osu,peppy/osu-new,2yangk23/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,Neo...
osu.Game/Skinning/PlaySkinComponent.cs
osu.Game/Skinning/PlaySkinComponent.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.Linq; namespace osu.Game.Skinning { public class PlaySkinComponent<T> : ISkinComponent where T : struct { public readonly T Component; ...
// 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.Linq; namespace osu.Game.Skinning { public class PlaySkinComponent<T> : ISkinComponent where T : struct { public readonly T Component; ...
mit
C#
043f1cdb3c44eb594ecb4a31594557e152953f01
Bump version number.
kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoClient.cs
src/Arango/Arango.Client/API/ArangoClient.cs
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
mit
C#
5abae917327223e788af8c305400837fc9dc325d
Bump lib version to 2.2.4
rickyah/ini-parser,rickyah/ini-parser
src/IniFileParser/Properties/AssemblyInfo.cs
src/IniFileParser/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("INIParser")] [assembly: AssemblyDescripti...
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("INIParser")] [assembly: AssemblyDescripti...
mit
C#
4b31aad22df608a7cd8682ba8a137042132a60b0
Remove unnecessary dynamic typing
malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime,BenJenkinson/nodatime,BenJenkinson/nodatime,malcolmr/nodatime
src/NodaTime.Test/Annotations/TrustedTest.cs
src/NodaTime.Test/Annotations/TrustedTest.cs
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Collections.Generic; using System.Linq; using System.Reflection; using NodaTime.Annotations; using NUnit.Framework; namespace NodaTime.Test....
// Copyright 2014 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System.Collections.Generic; using System.Linq; using System.Reflection; using NodaTime.Annotations; using NUnit.Framework; namespace NodaTime.Test....
apache-2.0
C#
eec1de8fc5a4e915052955416d0d9995cf06d889
Add test coverage of double disposal crashing
peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework
osu.Framework.Tests/Threading/ThreadedTaskSchedulerTest.cs
osu.Framework.Tests/Threading/ThreadedTaskSchedulerTest.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; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Threading; namespace osu.Framework.Tests.Threading { [TestFixture] ...
// 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; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Threading; namespace osu.Framework.Tests.Threading { [TestFixture] ...
mit
C#
c9cac33c0d2f490076e530c2c98f170aca080cb0
create ScriptableObjectWindowCollection by menu
shinji-yoshida/Ebis
Assets/Plugins/Ebis/ScriptableObjectWindowCollection.cs
Assets/Plugins/Ebis/ScriptableObjectWindowCollection.cs
using UnityEngine; using System.Linq; using System.Collections.Generic; namespace Ebis { [CreateAssetMenu] public class ScriptableObjectWindowCollection : ScriptableObject, WindowCollection { [SerializeField] List<Window> windows; public T FindPrefab<T> (string variation) where T : Window { if(variation == ...
using UnityEngine; using System.Linq; using System.Collections.Generic; namespace Ebis { public class ScriptableObjectWindowCollection : ScriptableObject, WindowCollection { [SerializeField] List<Window> windows; public T FindPrefab<T> (string variation) where T : Window { if(variation == null) return wi...
mit
C#
5d1ad1fe034eda0206917377afaeddcdeb259e30
Update Android
larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterC...
SetupWizard/AndroidNetworkTroubleshootingPage.cs
SetupWizard/AndroidNetworkTroubleshootingPage.cs
/* Copyright (c) 2017, Kevin Pope, 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 th...
/* Copyright (c) 2017, Kevin Pope, 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 th...
bsd-2-clause
C#