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
6bf6bac507211efd4f49a828418d40c26602fc8d
remove unused using.
Mahifernando/GaugesNet
GaugesNet/Entity/ApiClients.cs
GaugesNet/Entity/ApiClients.cs
// ------------------------------------------------------------------------------ // | // Copyright 2012 Mahi Fernando. | // ...
using System.Collections.Generic; using Newtonsoft.Json; namespace GaugesNet.Entity { public class ApiClients { [JsonProperty("client")] public Client Client { get; set; } [JsonProperty("clients")] public Clients Clients { get; set; } } public class Client { ...
apache-2.0
C#
a3160f3b6e00de54f5d3aafab1a0e3fd7688f6ca
Use .NET 6.
FacilityApi/Facility
tools/Build/Build.cs
tools/Build/Build.cs
using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgenfsd"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.GetEnvironmentVariable("BUILD_BOT_PASSWORD") ?? ""); var dotNetBuildSett...
using Faithlife.Build; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; return BuildRunner.Execute(args, build => { var codegen = "fsdgenfsd"; var gitLogin = new GitLoginInfo("FacilityApiBot", Environment.GetEnvironmentVariable("BUILD_BOT_PASSWORD") ?? ""); var dotNetBuildSett...
mit
C#
331c7cf67bbc48e950c4539872b08f00c62f0d7c
Fix ex to torex
nopara73/DotNetTor
src/DotNetTor/SocksPort/Net/NetworkHandler.cs
src/DotNetTor/SocksPort/Net/NetworkHandler.cs
using System; using System.Net.Http; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace DotNetTor.SocksPort.Net { /// <summary>Gets a connected socket for the provided request.</summary> /// <param name="request">The HTTP request message.</param> /// <returns>The connected so...
using System; using System.Net.Http; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; namespace DotNetTor.SocksPort.Net { /// <summary>Gets a connected socket for the provided request.</summary> /// <param name="request">The HTTP request message.</param> /// <returns>The connected so...
mit
C#
cf16faa17ec1d2be4a5eb539a39f48c1959b64f9
Fix test
LordMike/TMDbLib
TMDbLibTests/UtilityTests/CustomDatetimeFormatConverterTest.cs
TMDbLibTests/UtilityTests/CustomDatetimeFormatConverterTest.cs
using System; using Newtonsoft.Json; using TMDbLib.Objects.Authentication; using TMDbLib.Utilities.Converters; using TMDbLibTests.Helpers; using TMDbLibTests.JsonHelpers; using Xunit; namespace TMDbLibTests.UtilityTests { public class CustomDatetimeFormatConverterTest : TestBase { [Fact] public...
using System; using Newtonsoft.Json; using TMDbLib.Objects.Authentication; using TMDbLib.Utilities.Converters; using TMDbLibTests.Helpers; using TMDbLibTests.JsonHelpers; using Xunit; namespace TMDbLibTests.UtilityTests { public class CustomDatetimeFormatConverterTest : TestBase { [Fact] public...
mit
C#
4027c4c883f6b52967de00ecec9b9e10a59d977d
remove syntax errors on unmodified rows
SeriousM/Typewriter,coolkev/Typewriter,frhagn/Typewriter
Typewriter/TemplateEditor/Controllers/SyntaxErrorController.cs
Typewriter/TemplateEditor/Controllers/SyntaxErrorController.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; namespace Typewriter.TemplateEditor.Controllers { [Export(typeof(ITaggerProvider))] ...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Tagging; using Microsoft.VisualStudio.Utilities; namespace Typewriter.TemplateEditor.Controllers { [Export(typeof(ITaggerProvider))] ...
apache-2.0
C#
c69711db8bb2ad8557ce23b7a2f3cb6c00d41494
Update Program.cs
pfrendo/orleans.dojo
PF.Dojo.Console/Program.cs
PF.Dojo.Console/Program.cs
using System; using System.Threading; using System.Threading.Tasks; using Orleans; using Orleans.Runtime; using Orleans.Runtime.Configuration; using PF.Dojo.User.Interfaces; namespace PF.Dojo.Console { internal class Program { private static int Main(string[] args) { System.Console.WriteLine("Initializing Co...
using System; using System.Threading; using System.Threading.Tasks; using Orleans; using Orleans.Runtime; using Orleans.Runtime.Configuration; using PF.Dojo.User.Interfaces; namespace PF.Dojo.Console { internal class Program { private static int Main(string[] args) { System.Console.WriteLine("Initializing Co...
mit
C#
760cbcdcb658915abb190530bf089612d2d9ff36
Bump to 2.4.0
dreadnought-friends/support-tool,iltar/support-tool
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Dreadnought Communi...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Dreadnought Communi...
mit
C#
056483d5f8b515c8cfbb2855cefacfa0f58eec54
Refactor a code
kawatan/Milk
Megalopolis/ActivationFunctions/Sigmoid.cs
Megalopolis/ActivationFunctions/Sigmoid.cs
using System; namespace Megalopolis { namespace ActivationFunctions { public class Sigmoid : IActivationFunction { public double Function(double x) { return 1.0 / (1.0 + Math.Exp(-x)); } public double Derivative(double x) ...
using System; namespace Megalopolis { namespace ActivationFunctions { public class Sigmoid : IActivationFunction { public double Function(double x) { return 1.0 / (1.0 + Math.Exp(-x)); } public double Derivative(double x) ...
apache-2.0
C#
6f4ea944d949892761ac32e3019c078ac72d4fe2
fix build
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/ScriptBuilderTask.Tests/InnerTaskTests.cs
src/ScriptBuilderTask.Tests/InnerTaskTests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using ObjectApproval; [TestFixture] class InnerTaskTests { [Test] public void IntegrationTest() { var testDirectory = TestContext.CurrentContext.TestDirectory; var temp = Path.Combine(testDirectory, "InnerTaskTemp"); ...
using System; using System.IO; using System.Linq; using NUnit.Framework; using ObjectApproval; [TestFixture] class InnerTaskTests { [Test] public void IntegrationTest() { var testDirectory = TestContext.CurrentContext.TestDirectory; var temp = Path.Combine(testDirectory, "InnerTaskTemp"); ...
mit
C#
07969ddad706ebe8edd04ad712412831045b1614
Refactor CopyIconsToGizmosFolder()
bartlomiejwolk/AnimationPathAnimator
PathAnimatorComponent/Editor/GizmoIcons.cs
PathAnimatorComponent/Editor/GizmoIcons.cs
using System.IO; using UnityEditor; using UnityEngine; namespace ATP.SimplePathAnimator.PathAnimatorComponent { public sealed class GizmoIcons { private PathAnimatorSettings Settings { get; set; } public GizmoIcons(PathAnimatorSettings settings) { Settings = settings; } ...
using System.IO; using UnityEditor; using UnityEngine; namespace ATP.SimplePathAnimator.PathAnimatorComponent { public sealed class GizmoIcons { private PathAnimatorSettings Settings { get; set; } public GizmoIcons(PathAnimatorSettings settings) { Settings = settings; } ...
mit
C#
4a475911666b538689b382e28d95564010b93858
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
mit
C#
938c682f2574705b263bae05080d769a979245d1
add an overload to avoid nesting
vkhorikov/CSharpFunctionalExtensions
CSharpFunctionalExtensions/Result/Extensions/MapAsyncRight.cs
CSharpFunctionalExtensions/Result/Extensions/MapAsyncRight.cs
using System; using System.Threading.Tasks; namespace CSharpFunctionalExtensions { public static partial class AsyncResultExtensionsRightOperand { /// <summary> /// Creates a new result from the return value of a given function. If the calling Result is a failure, a new failure result is re...
using System; using System.Threading.Tasks; namespace CSharpFunctionalExtensions { public static partial class AsyncResultExtensionsRightOperand { /// <summary> /// Creates a new result from the return value of a given function. If the calling Result is a failure, a new failure result is re...
mit
C#
3c1f8370f8bafa96eb4aa2ff9d33f217bb7e35ae
return as soon as a match is found
whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016
Assets/Scripts/RoomNavigationManager.cs
Assets/Scripts/RoomNavigationManager.cs
using UnityEngine; using System.Collections; public class RoomNavigationManager : MonoBehaviour { public GameObject PlayerGameObject; public GameObject[] RoomPrefabs; private GameObject activeRoomPrefab; void Awake() { activeRoomPrefab = Instantiate(RoomPrefabs[0]); activeRoomPre...
using UnityEngine; using System.Collections; public class RoomNavigationManager : MonoBehaviour { public GameObject PlayerGameObject; public GameObject[] RoomPrefabs; private GameObject activeRoomPrefab; void Awake() { activeRoomPrefab = Instantiate(RoomPrefabs[0]); activeRoomPre...
mit
C#
151e52ccd1b309ee21718a8358b70a78f149edeb
fix InboxDirective: shutdown is no longer equal to combination of Pause + StayInQueue
louthy/echo-process,louthy/echo-process
Echo.Process/Strategy/InboxDirective.cs
Echo.Process/Strategy/InboxDirective.cs
using System; namespace Echo { [Flags] public enum InboxDirective { Default = 0, PushToFrontOfQueue = 1, Pause = 2, Shutdown = 4 } }
using System; namespace Echo { [Flags] public enum InboxDirective { Default = 0, PushToFrontOfQueue = 1, Pause = 2, Shutdown = 3 } }
mit
C#
6019e3d6c98b6a9471096b595a3dbe7b85c1221c
fix completion bug.
hecomi/uREPL
Assets/uREPL/Scripts/GuiParts/CompletionItem.cs
Assets/uREPL/Scripts/GuiParts/CompletionItem.cs
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using System.Linq; namespace uREPL { public class CompletionItem : MonoBehaviour { public Text markText; public Text completionText; public Image colorIndicator; public Color32 hasDescriptionColor = new Color32(200, 30, 70, 255); public...
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; using System.Linq; namespace uREPL { public class CompletionItem : MonoBehaviour { public Text markText; public Text completionText; public Image colorIndicator; public Color32 hasDescriptionColor = new Color32(200, 30, 70, 255); public...
mit
C#
659f52e89bcdcb92de1ebba90548b713c399dc1b
Implement random walk for 3D
sakapon/Samples-2016,sakapon/Samples-2016
MathSample/RandomWalkConsole/Program.cs
MathSample/RandomWalkConsole/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using static System.Console; using static System.Math; namespace RandomWalkConsole { class Program { const int Trials = 1 * 1000; const int MaxSteps = 100 * 1000 * 1000; const int ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace RandomWalkConsole { class Program { static void Main(string[] args) { var unfinished = Enumerable.Range(0, 1000) .Select(_ => Walk2()) ...
mit
C#
c315c8690b723a0dc7040ade60ccd5d414977276
Fix incorrect hit object type.
DrabWeb/osu,peppy/osu-new,ZLima12/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,peppy/osu,tacchinotacchi/osu,smoogipoo/osu,UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,nyaamara/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,naoey/osu,ppy/osu,smoogipooo/os...
osu.Game/Modes/Objects/Types/LegacyHitObjectType.cs
osu.Game/Modes/Objects/Types/LegacyHitObjectType.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; namespace osu.Game.Modes.Objects.Types { [Flags] public enum HitObjectType { Circle = 1 << 0, Slider = 1 << 1, ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; namespace osu.Game.Modes.Objects.Types { [Flags] public enum HitObjectType { Circle = 1 << 0, Slider = 1 << 1, ...
mit
C#
8360cbc9c5472dad1ed10397e8711fbcf230c2b2
Fix drop failure
larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening...
MatterControlLib/Library/OnDemandLibraryItem.cs
MatterControlLib/Library/OnDemandLibraryItem.cs
/* Copyright (c) 2018, 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 the following ...
/* Copyright (c) 2018, 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 the following ...
bsd-2-clause
C#
4e1a9ece359a931d7a26d02467005ad74b2287f5
Remove debugging code
Haraguroicha/CefSharp,illfang/CefSharp,zhangjingpu/CefSharp,yoder/CefSharp,haozhouxu/CefSharp,haozhouxu/CefSharp,battewr/CefSharp,Livit/CefSharp,Livit/CefSharp,gregmartinhtc/CefSharp,AJDev77/CefSharp,battewr/CefSharp,rover886/CefSharp,AJDev77/CefSharp,dga711/CefSharp,Haraguroicha/CefSharp,Haraguroicha/CefSharp,Octopus-...
CefSharp.BrowserSubprocess/Program.cs
CefSharp.BrowserSubprocess/Program.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using CefSharp.Internals; namespace CefSharp.Brows...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using CefSharp.Internals; namespace CefSharp.Brows...
bsd-3-clause
C#
dd279f55bd9ec763a85e0388eaed40b44f57b187
Add a test to confirm down migrations are run in reverse order of up migrations
itn3000/fluentmigrator,FabioNascimento/fluentmigrator,fluentmigrator/fluentmigrator,eloekset/fluentmigrator,spaccabit/fluentmigrator,itn3000/fluentmigrator,igitur/fluentmigrator,amroel/fluentmigrator,schambers/fluentmigrator,schambers/fluentmigrator,FabioNascimento/fluentmigrator,lcharlebois/fluentmigrator,lcharlebois/...
src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs
src/FluentMigrator.Tests/Unit/AutoReversingMigrationTests.cs
using NUnit.Framework; using FluentMigrator.Infrastructure; namespace FluentMigrator.Tests.Unit { using System.Collections.ObjectModel; using System.Linq; using FluentMigrator.Expressions; using Moq; [TestFixture] public class AutoReversingMigrationTests { private Mock<IMigrationCo...
using NUnit.Framework; using FluentMigrator.Infrastructure; namespace FluentMigrator.Tests.Unit { using System.Collections.ObjectModel; using System.Linq; using FluentMigrator.Expressions; using Moq; [TestFixture] public class AutoReversingMigrationTests { private Mock<IMigrationCo...
apache-2.0
C#
8bfb0058c95e99c1a0ad1b7f94c2519f611c74a8
Update KeepWordsTokenFilter.cs
mac2000/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,KodrAus/elasticsearch-net,jonyadamit/elasticsearch-net,ststeiger/elasticsearch-net,starckgates/elasticsearch-net,cstlaurent/elasticsearch-net,UdiBen/elasticsearch-net,KodrAus/elasticsearch-net,wawrzyn/elasticsearch-net,faisal00813/elastics...
src/Nest/Domain/Analysis/TokenFilter/KeepWordsTokenFilter.cs
src/Nest/Domain/Analysis/TokenFilter/KeepWordsTokenFilter.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// A token filter of type keep that only keeps tokens with text contained in a predefined set of words. /// </summary> public class KeepWordsTokenFilter : TokenFilterBase { public KeepWordsTokenFilter() : bas...
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// A token filter of type keep that only keeps tokens with text contained in a predefined set of words. /// </summary> public class KeepWordsTokenFilter : TokenFilterBase { public KeepWordsTokenFilter() : bas...
apache-2.0
C#
604e8a87c59420a3d315ea9a13046238bebba626
Change Pad-Palettes behavior to be more like the old version.
Prof9/PixelPet
PixelPet/CLI/Commands/PadPalettesCmd.cs
PixelPet/CLI/Commands/PadPalettesCmd.cs
using LibPixelPet; using System; namespace PixelPet.CLI.Commands { internal class PadPalettesCmd : CliCommand { public PadPalettesCmd() : base("Pad-Palettes", new Parameter(true, new ParameterValue("width", "0")) ) { } public override void Run(Workbench workbench, ILogger logger) { int width = Find...
using LibPixelPet; using System; namespace PixelPet.CLI.Commands { internal class PadPalettesCmd : CliCommand { public PadPalettesCmd() : base("Pad-Palettes", new Parameter(true, new ParameterValue("width", "0")) ) { } public override void Run(Workbench workbench, ILogger logger) { int width = Find...
mit
C#
f165fe365b1e5201b7619999ad9c34dc0baac118
fix JsonConverter
signumsoftware/framework,avifatal/framework,AlejandroCano/framework,AlejandroCano/framework,avifatal/framework,signumsoftware/framework
Signum.Web/Signum/Controllers/JsonConverters.cs
Signum.Web/Signum/Controllers/JsonConverters.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Script.Serialization; using Signum.Entities; using Signum.Engine; using Signum.Utilities; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Signum.Web.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Script.Serialization; using Signum.Entities; using Signum.Engine; using Signum.Utilities; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Signum.Web.Controllers { ...
mit
C#
b6af93911cef8edb3228618069cca64873600ac7
Disable another failing Net.Security test
cydhaselton/corefx,JosephTremoulet/corefx,krytarowski/corefx,tijoytom/corefx,billwert/corefx,dotnet-bot/corefx,zhenlan/corefx,ravimeda/corefx,cydhaselton/corefx,BrennanConroy/corefx,gkhanna79/corefx,ViktorHofer/corefx,stephenmichaelf/corefx,seanshpark/corefx,Jiayili1/corefx,stone-li/corefx,ravimeda/corefx,rjxby/corefx,...
src/System.Net.Security/tests/FunctionalTests/LoggingTest.cs
src/System.Net.Security/tests/FunctionalTests/LoggingTest.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.Collections.Concurrent; using System.Diagnostics; using System.Diagnostics.Tracing; using Xunit; names...
// 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.Collections.Concurrent; using System.Diagnostics; using System.Diagnostics.Tracing; using Xunit; names...
mit
C#
88527ca8e8c431e5aeeb675cdf24649517212733
Fix copywrite date
alecgorge/adzerk-dot-net
StackExchange.Adzerk/Properties/AssemblyInfo.cs
StackExchange.Adzerk/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("St...
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("St...
mit
C#
6534f5db18e63c8868b2c67bc7f119cabffe0149
make circle radius available
dev-zzo/Spritesse,dev-zzo/Spritesse
ThreeSheeps.Spritesse/Physics/PhysicalCircle.cs
ThreeSheeps.Spritesse/Physics/PhysicalCircle.cs
using Microsoft.Xna.Framework; namespace ThreeSheeps.Spritesse.Physics { public sealed class PhysicalCircle : PhysicalShape { public new sealed class CreationInfo : PhysicalShape.CreationInfo { public float Radius; } public PhysicalCircle(ICollisionResolverService ...
using Microsoft.Xna.Framework; namespace ThreeSheeps.Spritesse.Physics { public sealed class PhysicalCircle : PhysicalShape { public new sealed class CreationInfo : PhysicalShape.CreationInfo { public float Radius; } public PhysicalCircle(ICollisionResolverService ...
unlicense
C#
50312544f0173436ec756233ab4f5502762c9696
Add LocationViewTypes repo to unit of work
cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings
DynThings.Data.Repositories/Core/UnitOfWork.cs
DynThings.Data.Repositories/Core/UnitOfWork.cs
///////////////////////////////////////////////////////////////// // Created by : Caesar Moussalli // // TimeStamp : 31-1-2016 // // Content : Associate Repositories to the Unit of Work // // Notes : Send DB context to repositories to redu...
///////////////////////////////////////////////////////////////// // Created by : Caesar Moussalli // // TimeStamp : 31-1-2016 // // Content : Associate Repositories to the Unit of Work // // Notes : Send DB context to repositories to redu...
mit
C#
501284ea6bbd1b65acb8763e3fade77a1352ca40
Normalize strings before Assert
cskeppstedt/t4ts,AkosLukacs/t4ts,cskeppstedt/t4ts,AkosLukacs/t4ts,dolly22/t4ts,bazubii/t4ts,bazubii/t4ts,dolly22/t4ts
T4TS.Tests/Fixtures/Inheritance/Test.cs
T4TS.Tests/Fixtures/Inheritance/Test.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using T4TS.Example.Models; using T4TS.Tests.Fixtures.Basic; using T4TS.Tests.Utils; namespace T4TS.Tests.Fixtures.Inheritance { [TestClass] public class Test { [TestMethod] public void InheritanceModelHasExpectedOutput(...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using T4TS.Example.Models; using T4TS.Tests.Fixtures.Basic; using T4TS.Tests.Utils; namespace T4TS.Tests.Fixtures.Inheritance { [TestClass] public class Test { [TestMethod] public void InheritanceModelHasExpectedOutput(...
apache-2.0
C#
98926cc5c9233574e541f0c2c67007e3fa25e992
bump to version 1.2.5
Terradue/DotNetTep,Terradue/DotNetTep
Terradue.Tep/Properties/AssemblyInfo.cs
Terradue.Tep/Properties/AssemblyInfo.cs
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.2.5 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
/*! \namespace Terradue.Tep @{ Terradue.Tep Software Package provides with all the functionalities specific to the TEP. \xrefitem sw_version "Versions" "Software Package Version" 1.2.4 \xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep) \xref...
agpl-3.0
C#
7028767e50cf248272d3b34f83d6df8f987a45f4
Fix regression in HoldFocus behaviour
DrabWeb/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,peppy/osu...
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; using osu.Game.Input.Bindings; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; using osu.Game.Input.Bindings; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A ...
mit
C#
62cef3471a796ce1c56f492e08ac093a9129da32
Make sure daemon password console works on Windows 7
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/PasswordConsole.cs
WalletWasabi/Helpers/PasswordConsole.cs
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Helpers { public static class PasswordConsole { /// <summary> /// Gets the console password. /// </summary> public static string ReadPassword() { try { var sb = new StringBuilder(); while (true) { ...
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Helpers { public static class PasswordConsole { /// <summary> /// Gets the console password. /// </summary> public static string ReadPassword() { var sb = new StringBuilder(); while (true) { ConsoleKeyInf...
mit
C#
7d117da3d1c2589a3727257e5e75e71eddaf6027
Update OneApiExamples/Scenarios/GetInboundMessages.cs
infobip/oneapi-dot-net
OneApiExamples/Scenarios/GetInboundMessages.cs
OneApiExamples/Scenarios/GetInboundMessages.cs
using System; using System.IO; using log4net.Config; using OneApi.Config; using OneApi.Client.Impl; using OneApi.Model; using OneApi.Exceptions; namespace OneApi.Scenarios { /** * To run this example follow these 3 steps: * * 1.) Download 'OneApiExample' project - available at www.github.com/parse...
using System; using System.IO; using log4net.Config; using OneApi.Config; using OneApi.Client.Impl; using OneApi.Model; using OneApi.Exceptions; namespace OneApi.Scenarios { /** * To run this example follow these 3 steps: * * 1.) Download 'OneApiExample' project - available at www.github.com/parse...
apache-2.0
C#
a70efd1fdf6a8de57e8129a27fbc8ba94535b2ab
create the first attempted mysql test. This only runs locally if you have a database configured as opensim-nunit with user opensim-nunit / password opensim-nunit that has full perms on the database.
N3X15/VoxelSim,AlphaStaxLLC/taiga,TomDataworks/opensim,Michelle-Argus/ArribasimExtract,bravelittlescientist/opensim-performance,AlphaStaxLLC/taiga,ft-/arribasim-dev-tests,ft-/arribasim-dev-extras,zekizeki/agentservice,AlexRa/opensim-mods-Alex,BogusCurry/arribasim-dev,M-O-S-E-S/opensim,allquixotic/opensim-autobackup,Bog...
OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs
OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
1c7d709388bc7782fcfac490d30626211e7675b0
Update ExampleListener.cs
hengineer/CaptainsMess
Assets/CaptainsMess/Example/ExampleListener.cs
Assets/CaptainsMess/Example/ExampleListener.cs
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; public class ExampleListener : CaptainsMessListener { public enum NetworkState { Init, Offline, Connecting, Connected, Disrupted }; [HideInInspector] public NetworkState networkState =...
using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; public class ExampleListener : CaptainsMessListener { public enum NetworkState { Init, Offline, Connecting, Connected, Disrupted }; public NetworkState networkState = NetworkState.Init;...
mit
C#
02cc3358191673d481b0c6085be27203653a8e30
Simplify Markdown value converter
stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH
SH.Site/PropertyValueConverters/MarkdownEditorValueConverter.cs
SH.Site/PropertyValueConverters/MarkdownEditorValueConverter.cs
using CommonMark; using System.Web; using Umbraco.Core; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.PropertyEditors; namespace SH.Site.PropertyValueConverters { [PropertyValueType(typeof(IHtmlString))] public class MarkdownEditorValueConverter : PropertyValueConverterBase { publ...
using CommonMark; using System.Web; using Umbraco.Core; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.PropertyEditors; using Umbraco.Web.Templates; namespace SH.Site.PropertyValueConverters { [PropertyValueType(typeof(IHtmlString))] [PropertyValueCache(PropertyCacheValue.All, PropertyCacheLev...
mit
C#
8c98a4cdb3f721ac2ddeb83e86553b6b8e072024
Read PolicyId from settings
manuelmeyer1/AzureDeveloperBootcamp,manuelmeyer1/AzureDeveloperBootcamp,manuelmeyer1/AzureDeveloperBootcamp,Trivadis/AzureDeveloperBootcamp,Trivadis/AzureDeveloperBootcamp,Trivadis/AzureDeveloperBootcamp,Trivadis/AzureDeveloperBootcamp,manuelmeyer1/AzureDeveloperBootcamp
Trivadis.AzureBootcamp.WebApp/Authentication/PolicyAuthorize.cs
Trivadis.AzureBootcamp.WebApp/Authentication/PolicyAuthorize.cs
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using Microsoft.Owin.Security; using Microsoft.Owin.Security.OpenIdConnect; namespace Trivadis.AzureBootcamp.WebApp.Authentication { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = tr...
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using Microsoft.Owin.Security; using Microsoft.Owin.Security.OpenIdConnect; namespace Trivadis.AzureBootcamp.WebApp.Authentication { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = tr...
mit
C#
394be77badd02895bd472111fd1cd6a6a3b8318d
Fix Run Issue
thesecretlab/NonCombativeFPS
Solitude/Assets/Scripts/Hacking/CountDownTimer.cs
Solitude/Assets/Scripts/Hacking/CountDownTimer.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.SceneManagement; using System; public class CountDownTimer { float timeLeft = 50.0f; float closetime = 3.0f; bool Gameover = false; public Text text; void Update() { if (!Gameover) { ...
using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.SceneManagement; using System; public class CountDownTimer : Terminal { float timeLeft = 50.0f; float closetime = 3.0f; bool Gameover = false; public Text text; protected override void doUpdate() { i...
mit
C#
30dde364ba71cb8e86a4521fb6a2d06e7c7888bf
Fix bug with IB instrument addition window
leo90skk/qdms,Jumaga2015/qdms,qusma/qdms,leo90skk/qdms,underwater/qdms,qusma/qdms,underwater/qdms
QDMSServer/Windows/AddInstrumentInteractiveBrokersWindow.xaml.cs
QDMSServer/Windows/AddInstrumentInteractiveBrokersWindow.xaml.cs
// ----------------------------------------------------------------------- // <copyright file="AddInstrumentInteractiveBrokersWindow.xaml.cs" company=""> // Copyright 2016 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using MahApps.Metro.Contr...
// ----------------------------------------------------------------------- // <copyright file="AddInstrumentInteractiveBrokersWindow.xaml.cs" company=""> // Copyright 2016 Alexander Soffronow Pagonidis // </copyright> // ----------------------------------------------------------------------- using MahApps.Metro.Contr...
bsd-3-clause
C#
0edd4cf3b96ec717e5eba44ae834c8a72d85838e
Allow Factory4 creation using CreateDXGIFactory2 with debug flag.
sharpdx/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX
Source/SharpDX.DXGI/Factory4.cs
Source/SharpDX.DXGI/Factory4.cs
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modi...
mit
C#
a0646acea9eef785d04eefabca685e5ec259ae86
Remove extra method.
PaulTrampert/PTrampert.AspNetCore.Identity.MongoDB
PTrampert.AspNetCore.Identity.MongoDB/ServiceCollectionExtensions.cs
PTrampert.AspNetCore.Identity.MongoDB/ServiceCollectionExtensions.cs
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using PTrampert.AspNetCore.Identity.MongoDB.Configuration; namespace PTrampert.AspNetCore.Identity.Mon...
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using PTrampert.AspNetCore.Identity.MongoDB.Configuration; namespace PTrampert.AspNetCore.Identity.Mon...
mit
C#
41ee82e4a5d6864dae832b219a25cb17458d8054
Add zero ptr check to UrhoTypeRegistryGenerator
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
SharpieBinder/UrhoTypeRegistryGenerator.cs
SharpieBinder/UrhoTypeRegistryGenerator.cs
using System.IO; namespace SharpieBinder { public class UrhoTypeRegistryGenerator { string appendedLines = string.Empty; readonly string outputDir; const string SwitchCasesPlaceholder = "%CASES%"; const string CsTemplate = @"// WARNING - AUTOGENERATED - DO NOT EDIT // // Generated using `sharpie urho...
using System.IO; namespace SharpieBinder { public class UrhoTypeRegistryGenerator { string appendedLines = string.Empty; readonly string outputDir; const string SwitchCasesPlaceholder = "%CASES%"; const string CsTemplate = @"// WARNING - AUTOGENERATED - DO NOT EDIT // // Generated using `sharpie urho...
mit
C#
9d0311b7d8d73af7f84b07923d6fb612273f67f1
Update JsonSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/JsonSerializer.cs
TIKSN.Core/Serialization/JsonSerializer.cs
using Newtonsoft.Json; namespace TIKSN.Serialization { public class JsonSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) => JsonConvert.SerializeObject(obj); } }
using Newtonsoft.Json; namespace TIKSN.Serialization { public class JsonSerializer : SerializerBase<string> { protected override string SerializeInternal<T>(T obj) { return JsonConvert.SerializeObject(obj); } } }
mit
C#
fedc68bad2fb399a5c9a742cbcdfbcb2c626957a
Simplify VoidResult to a value type
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers/Helpers/SpecializedTasks.cs
StyleCop.Analyzers/StyleCop.Analyzers/Helpers/SpecializedTasks.cs
namespace StyleCop.Analyzers.Helpers { using System.Threading.Tasks; internal static class SpecializedTasks { internal static Task CompletedTask { get; } = Task.FromResult(default(VoidResult)); private struct VoidResult { } } }
namespace StyleCop.Analyzers.Helpers { using System.Threading.Tasks; internal static class SpecializedTasks { internal static Task CompletedTask { get; } = Task.FromResult(default(VoidResult)); private sealed class VoidResult { private VoidResult() { ...
mit
C#
6f00561edd10133b93cb1d5def98ca9db46b819d
Add a comment
ytabuchi/Teachathon
XF_Stopwatch/XF_Stopwatch/XF_Stopwatch/Views/MainPageXaml.xaml.cs
XF_Stopwatch/XF_Stopwatch/XF_Stopwatch/Views/MainPageXaml.xaml.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using XF_Stopwatch.Models; using XF_Stopwatch.ViewModels; namespace XF_Stopwatch.Views { public partial class MainPageXaml : ContentPage ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using XF_Stopwatch.Models; using XF_Stopwatch.ViewModels; namespace XF_Stopwatch.Views { public partial class MainPageXaml : ContentPage ...
mit
C#
8c22ec3cb3be608475216cd33b548f43fb7e8794
Fix license.
modern-dev/dice
ModernDev.Dice.Tests/MersenneTwisterTest.cs
ModernDev.Dice.Tests/MersenneTwisterTest.cs
// // This file\code is part of InTouch project. // // InTouch - is a .NET wrapper for the vk.com API. // https://github.com/virtyaluk/InTouch // // Copyright (c) 2016 Bohdan Shtepan // http://modern-dev.com/ // // Licensed under the MIT license. // using NUnit.Framework; using static NUnit.Framework.Assert; namespa...
// // This file\code is part of InTouch project. // // InTouch - is a .NET wrapper for the vk.com API. // https://github.com/virtyaluk/InTouch // // Copyright (c) 2016 Bohdan Shtepan // http://modern-dev.com/ // // Licensed under the GPLv3 license. // using NUnit.Framework; using static NUnit.Framework.Assert; names...
mit
C#
98e239f6bfbd1e25998b128806de53d18784248f
Bump version.
wasker/nsight.piwik.api
Nsight.Piwik.Api/Properties/AssemblyInfo.cs
Nsight.Piwik.Api/Properties/AssemblyInfo.cs
using System.Resources; 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 assembl...
using System.Resources; 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 assembl...
mit
C#
ee34c5ccb457e582868ced659a6d0f952cb98665
Add a flip step to mania placement test scenes
ZLima12/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,peppy/osu,EVAST9919/osu,johnn...
osu.Game.Rulesets.Mania.Tests/ManiaPlacementBlueprintTestScene.cs
osu.Game.Rulesets.Mania.Tests/ManiaPlacementBlueprintTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework...
mit
C#
380cd1e03619e45ad580356342f99498c0f59592
Add test coverage for lack of customisation on free mod select
peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneFreeModSelectScreen.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; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Framework.Testing; using osu.Game.Overlays.Mods; using osu.Game.Rulesets.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.Linq; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Framework.Testing; using osu.Game.Overlays.Mods; using osu.Game.Screens.Onlin...
mit
C#
22bbee088b433b764fc54511c4999a8358b8f634
use up to 16 threads for benchmarks
etishor/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,MetaG8/Metrics....
Samples/Metrics.StupidBenchmarks/Program.cs
Samples/Metrics.StupidBenchmarks/Program.cs
 using System; using Metrics.Core; using Metrics.Utils; namespace Metrics.StupidBenchmarks { class Program { static void Main(string[] args) { Clock.TestClock clock = new Clock.TestClock(); Timer timer = new TimerMetric(SamplingType.FavourRecent, clock); //C...
 using System; using Metrics.Core; using Metrics.Utils; namespace Metrics.StupidBenchmarks { class Program { static void Main(string[] args) { Clock.TestClock clock = new Clock.TestClock(); Timer timer = new TimerMetric(SamplingType.FavourRecent, clock); //C...
apache-2.0
C#
6023fdea80e0a12ddbf92a0241aab2a3a11c187b
Add offline sync.
ijufumi/garbage_calendar
garbage_calendar/Repository/GarbageDay.cs
garbage_calendar/Repository/GarbageDay.cs
using System; namespace garbage_calendar.Repository { public class GarbageDay { public int Year { get; set; } public int Month { get; set; } public int Type { get; set; } public DateTime CreatedAt { get; set; } public DateTime? UpdatedAt { get; set; } } }
namespace garbage_calendar.Repository { public class GarbageDay { } }
mit
C#
52ba2fa75298ce27b6a2c9724b1f168b7c5f08c0
Fix chunk loading for negative co-ordinates.
LambdaSix/InfiniMap,LambdaSix/InfiniMap
InfiniMap/Map.cs
InfiniMap/Map.cs
using System; using System.Collections.Generic; namespace InfiniMap { public class Map { public IDictionary<Tuple<int, int>, Chunk> Chunks; private int _chunkWidth; private int _chunkHeight; public Map(int chunkHeight, int chunkWidth) { _chunkHeight = chunk...
using System; using System.Collections.Generic; namespace InfiniMap { public class Map { public IDictionary<Tuple<int, int>, Chunk> Chunks; private int _chunkWidth; private int _chunkHeight; public Map(int chunkHeight, int chunkWidth) { _chunkHeight = chunk...
mit
C#
db1a8fc9291b73f4324a0531ecb5e6dbd5e971b2
Make IPlasma IEnumerable<IAether>
tainicom/Aether
Source/Elementary/IPlasma.cs
Source/Elementary/IPlasma.cs
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
apache-2.0
C#
19ea11c993b625b487553474f4ec9df7fd58bd85
fix TimeoutNotifyProducerConsumer not start bug
sdgdsffdsfff/hermes.net
Arch.CMessaging.Client/Core/Collections/TimeoutNotifyProducerConsumer.cs
Arch.CMessaging.Client/Core/Collections/TimeoutNotifyProducerConsumer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arch.CMessaging.Client.Core.Collections { public class TimeoutNotifyProducerConsumer<TItem> : AbstractProducerConsumer<SequentialNode<TItem>, TimeoutNotifyQueue<TItem>> { priva...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arch.CMessaging.Client.Core.Collections { public class TimeoutNotifyProducerConsumer<TItem> : AbstractProducerConsumer<SequentialNode<TItem>, TimeoutNotifyQueue<TItem>> { priva...
apache-2.0
C#
11f22c9475f917764a6ae1af582a25758c538691
Update SharedAssemblyInfo.cs
wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2016")] [assembly: AssemblyTradema...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyCopyright("Copyright © Wiesław Šoltés 2016")] [assembly: AssemblyTradema...
mit
C#
0b50d3ec6ff9fa62e980b46015b3980b76cf400b
Remove not used
YAFNET/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET
yafsrc/YAF.Types/Constants/InfoMessage.cs
yafsrc/YAF.Types/Constants/InfoMessage.cs
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * dist...
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * dist...
apache-2.0
C#
13ea95032e4e9fa53b6e354bbebd99232a014cdf
Add AuthString() override to UnixMonoTransport
Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp
src/UnixMonoTransport.cs
src/UnixMonoTransport.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.IO; using System.Net; using System.Net.Sockets; using Mono.Unix; using Mono.Unix.Native; namespace NDesk.DBus.Transports { class UnixMonoTransport : UnixTranspo...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.IO; using System.Net; using System.Net.Sockets; using Mono.Unix; using Mono.Unix.Native; namespace NDesk.DBus.Transports { class UnixMonoTransport : UnixTranspo...
mit
C#
372010684d7d4dfa305f7e3e3cd56f9bda41ac79
Change port of urls in multi tenant admin
huoxudong125/Orchard,spraiin/Orchard,escofieldnaxos/Orchard,ericschultz/outercurve-orchard,AndreVolksdorf/Orchard,Codinlab/Orchard,jaraco/orchard,KeithRaven/Orchard,AndreVolksdorf/Orchard,jchenga/Orchard,alejandroaldana/Orchard,enspiral-dev-academy/Orchard,armanforghani/Orchard,geertdoornbos/Orchard,LaserSrl/Orchard,as...
src/Orchard.Web/Modules/Orchard.MultiTenancy/Extensions/UrlHelperExtensions.cs
src/Orchard.Web/Modules/Orchard.MultiTenancy/Extensions/UrlHelperExtensions.cs
using System.Web.Mvc; using Orchard.Environment.Configuration; namespace Orchard.MultiTenancy.Extensions { public static class UrlHelperExtensions { public static string Tenant(this UrlHelper urlHelper, ShellSettings tenantShellSettings) { //info: (heskew) might not keep the port inserti...
using System.Web.Mvc; using Orchard.Environment.Configuration; namespace Orchard.MultiTenancy.Extensions { public static class UrlHelperExtensions { public static string Tenant(this UrlHelper urlHelper, ShellSettings tenantShellSettings) { return string.Format( "http://{...
bsd-3-clause
C#
e713d72f4fb02fa8d1157f471e7799ce81e32146
Add cqrs installer
generik0/Rik.CodeCamp
Src/Hosts/Rik.CodeCamp.Host/Bootstrapper.cs
Src/Hosts/Rik.CodeCamp.Host/Bootstrapper.cs
using System.Linq; using System.Text; using Castle.Core.Logging; using Castle.MicroKernel; using Castle.MicroKernel.Handlers; using Castle.Windsor; using Castle.Windsor.Diagnostics; using GAIT.Utilities; using Rik.CodeCamp.Core.Installers; using Rik.CodeCamp.Data; namespace Rik.CodeCamp.Host { internal class Boot...
using System.Linq; using System.Text; using Castle.Core.Logging; using Castle.MicroKernel; using Castle.MicroKernel.Handlers; using Castle.Windsor; using Castle.Windsor.Diagnostics; using GAIT.Utilities; using Rik.CodeCamp.Core.Installers; using Rik.CodeCamp.Data; namespace Rik.CodeCamp.Host { internal class Boot...
mit
C#
33fd1555f23a45c4d325c4db4d4d2aa643a6c0c1
Update `TestSceneRoundedButton` with new colour assertions
peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Visual/UserInterface/TestSceneRoundedButton.cs
osu.Game.Tests/Visual/UserInterface/TestSceneRoundedButton.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; using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Testin...
// 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; using NUnit.Framework; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Graphics.UserInterfaceV...
mit
C#
0c4291def6a452961c51eb1b59239fe40543f96c
use debug message writer in factory
Simply360/tSQLt.NET
Tsqlt/TestEnvironmentFactory.cs
Tsqlt/TestEnvironmentFactory.cs
using System.Reflection; namespace Tsqlt { public static class TestEnvironmentFactory { public static ITestEnvironment Create(string connectionString, Assembly testAssembly, string testResourcePath, IDbMigrator dbMigrator = null) { // Poor-man's Dependency Injection var...
using System.Reflection; namespace Tsqlt { public static class TestEnvironmentFactory { public static ITestEnvironment Create(string connectionString, Assembly testAssembly, string testResourcePath, IDbMigrator dbMigrator = null) { // Poor-man's Dependency Injection var...
mit
C#
3b5948f6552defe0e220b6fc768a8c4eb2f046a3
Update src/Abc.Zebus.Tests/Dispatch/DispatchMessages/ExecutableEvent.cs
Abc-Arbitrage/Zebus
src/Abc.Zebus.Tests/Dispatch/DispatchMessages/ExecutableEvent.cs
src/Abc.Zebus.Tests/Dispatch/DispatchMessages/ExecutableEvent.cs
using System; using System.Threading; using Abc.Zebus.Dispatch; using Abc.Zebus.Testing.Dispatch; using Abc.Zebus.Util; using ProtoBuf; namespace Abc.Zebus.Tests.Dispatch.DispatchMessages { [ProtoContract] public class ExecutableEvent : ICommand, IExecutableMessage { private readonly ManualResetEv...
using System; using System.Threading; using Abc.Zebus.Dispatch; using Abc.Zebus.Testing.Dispatch; using Abc.Zebus.Util; using ProtoBuf; namespace Abc.Zebus.Tests.Dispatch.DispatchMessages { [ProtoContract] public class ExecutableEvent : ICommand, IExecutableMessage { private readonly ManualResetEv...
mit
C#
0a2bf1bb0a537f1c1c7d1510a8a80538dddfe23a
revert the version bump
Brightspace/D2L.Security.OAuth2
src/D2L.Security.OAuth2.TestFramework/Properties/AssemblyInfo.cs
src/D2L.Security.OAuth2.TestFramework/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: AssemblyTit...
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: AssemblyTit...
apache-2.0
C#
5648532e982c624084c8ce6dc100d0904a9a12c6
Update version
AlegriGroup/FeatureSwitcher.VstsConfiguration
src/FeatureSwitcher.VstsConfiguration/Properties/AssemblyInfo.cs
src/FeatureSwitcher.VstsConfiguration/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("Fea...
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("Fea...
mit
C#
3a238d1b88d41fc1ca4db5405503cbc525e23b40
Address PR feedback
naveensrinivasan/VisualStudio,GProulx/VisualStudio,yovannyr/VisualStudio,GuilhermeSa/VisualStudio,mariotristan/VisualStudio,github/VisualStudio,ChristopherHackett/VisualStudio,shaunstanislaus/VisualStudio,SaarCohen/VisualStudio,bradthurber/VisualStudio,8v060htwyc/VisualStudio,nulltoken/VisualStudio,modulexcite/VisualSt...
src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs
src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs
using System; using System.Globalization; using System.Windows; using System.Windows.Data; using NullGuard; namespace GitHub.VisualStudio.Converters { /// <summary> /// Convert a count to visibility based on the following rule: /// * If count == 0, return Visibility.Visible /// * If count > 0, return ...
using System; using System.Globalization; using System.Windows; using System.Windows.Data; using NullGuard; namespace GitHub.VisualStudio.Converters { /// <summary> /// Convert a count to visibility based on the following rule: /// * If count == 0, return Visibility.Visible /// * If count > 0, return ...
mit
C#
76ca7668406f6d51292deff75512e38ad1150b20
Fix kebab-case in ids and classes.
Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions
Views/BootstrapAccordion.cshtml
Views/BootstrapAccordion.cshtml
@using Lombiq.HelpfulExtensions.Models @using OrchardCore.Mvc.Utilities @{ var additionalClasses = Model.AdditionalClasses?.ToString() ?? string.Empty; } <div class="card-accordion @additionalClasses"> @foreach (BootstrapAccordionItem items in Model.Children) { var id = items.Title.Valu...
@using Lombiq.HelpfulExtensions.Models @using OrchardCore.Mvc.Utilities @{ var additionalClasses = Model.AdditionalClasses?.ToString() ?? string.Empty; } <div class="card-accordion @additionalClasses"> @foreach (BootstrapAccordionItem items in Model.Children) { var id = items.Title.Valu...
bsd-3-clause
C#
6f599cf10da6c9cf444521a9cec95b37b6aaa58f
Fix #1240 by disabling Glimpse rendering for non-Admin local users
mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,ScottShingler/NuGetGallery,KuduApps/NuGetGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,skbkontur/NuGetGallery,KuduApps/NuGetGaller...
Website/Diagnostics/GlimpseRuntimePolicy.cs
Website/Diagnostics/GlimpseRuntimePolicy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Glimpse.Core.Extensibility; using Glimpse.Core.Policy; using NuGetGallery.Configuration; namespace NuGetGallery.Diagnostics { public class GlimpseRuntimePolicy : IRuntimePolicy { public IAppConfiguration Configu...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Glimpse.Core.Extensibility; using Glimpse.Core.Policy; using NuGetGallery.Configuration; namespace NuGetGallery.Diagnostics { public class GlimpseRuntimePolicy : IRuntimePolicy { public IAppConfiguration Configu...
apache-2.0
C#
c84943aaf6773d5c239d8c99d8a7b910b230fb15
Increment assembly version
ZacMarcus/YahooFinance.NET
YahooFinance.NET/Properties/AssemblyInfo.cs
YahooFinance.NET/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("Ya...
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("Ya...
mit
C#
06d552bd08c2db95b67604d7c42a57d5d01e7a54
Implement AppHarborClient#CreateApplication
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
namespace AppHarbor { public class AppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(AuthInfo authInfo) { _authInfo = authInfo; } public void CreateApplication(string name, string regionIdentifier) { var appHarborApi = new AppHarborApi(_authInfo); appHarborApi.Creat...
namespace AppHarbor { public class AppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(AuthInfo authInfo) { _authInfo = authInfo; } } }
mit
C#
e94aa47040e874a14a350fc5b60606f0fc736d92
Add SetComparison to the default build
jamesfoster/DeepEqual
src/DeepEquals/DeepComparison.cs
src/DeepEquals/DeepComparison.cs
namespace DeepEquals { using System.Collections; public class DeepComparison { public static IEqualityComparer CreateComparer() { return new ComparisonComparer(Create()); } public static CompositeComparison Create() { var root = new CompositeComparison(); root.AddRange( new DefaultComparis...
namespace DeepEquals { using System.Collections; public class DeepComparison { public static IEqualityComparer CreateComparer() { return new ComparisonComparer(Create()); } public static CompositeComparison Create() { var root = new CompositeComparison(); root.AddRange( new DefaultComparis...
mit
C#
5da5249e6979564325f40bbe3c49411df66084d1
Fix csharp video codecs argument
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets
video/rest/rooms/create-group-room-with-h264/create-group-room.5.x.cs
video/rest/rooms/create-group-room-with-h264/create-group-room.5.x.cs
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp using System; using Twilio; using Twilio.Rest.Video.V1; class Example { static void Main (string[] args) { // Find your Account SID and Auth Token at twilio.com/console const string apiKeySid = "SKXXXXXXXXXXXXXXXXXXXXXX...
// Download the twilio-csharp library from twilio.com/docs/libraries/csharp using System; using Twilio; using Twilio.Rest.Video.V1; class Example { static void Main (string[] args) { // Find your Account SID and Auth Token at twilio.com/console const string apiKeySid = "SKXXXXXXXXXXXXXXXXXXXXXX...
mit
C#
5fc473e33c518b151135c8ce8f5673e62d4ebe45
Update the docs here, too.
kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,darrencauthon/csharp-sparkpost,SparkPost/csharp-sparkpost,kirilsi/csharp-sparkpost
src/SparkPost/IRecipientLists.cs
src/SparkPost/IRecipientLists.cs
using System.Collections.Generic; using System.Threading.Tasks; namespace SparkPost { public interface IRecipientLists { /// <summary> /// Creates a recipient list. /// </summary> /// <param name="recipientList">The properties of the recipientList to create.</param> ///...
using System.Collections.Generic; using System.Threading.Tasks; namespace SparkPost { public interface IRecipientLists { /// <summary> /// Creates a recipient list. /// </summary> /// <param name="recipientList">The properties of the recipientList to create.</param> ///...
apache-2.0
C#
d5f24c40baa45798e5a768d8ce7398fed0880807
Fix the Additional solver throwing a cast exception
samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/AdditionComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/AdditionComponentSolver.cs
using System; using System.Collections; using UnityEngine; public class AdditionComponentSolver : ComponentSolver { public AdditionComponentSolver(TwitchModule module) : base(module) { _component = module.BombComponent.GetComponent(ComponentType); numberSelectables = _component.GetValue<KMSelectable[]>("butto...
using System; using System.Collections; using UnityEngine; public class AdditionComponentSolver : ComponentSolver { public AdditionComponentSolver(TwitchModule module) : base(module) { _component = module.BombComponent.GetComponent(ComponentType); numberSelectables = _component.GetValue<KMSelectable[]>("butto...
mit
C#
db1c6cd3735075979c80126ca1e4b577db237cf5
Update Path2DLineEffect.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D.ViewModels/Style/PathEffects/Path2DLineEffect.cs
src/Draw2D.ViewModels/Style/PathEffects/Path2DLineEffect.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Runtime.Serialization; namespace Draw2D.ViewModels.Style.PathEffects { [DataContract(IsReference = true)] p...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Runtime.Serialization; namespace Draw2D.ViewModels.Style.PathEffects { [DataContract(IsReference = true)] p...
mit
C#
d3b6283ed129929ad758229d2c157d320bd26aae
Add note for cookies
codingoutloud/azuremap-aspnet,codingoutloud/azuremap-aspnet
AzureMap/Views/Home/Index.cshtml
AzureMap/Views/Home/Index.cshtml
@{ ViewBag.Title = ""; } <div class="jumbotron"> <p class="lead">Map of <b>Windows Azure Data Centers</b> around the world</p> @if (!Request.Browser.Cookies) { <h4>&rArr; The map is static when cookies are not enabled, but becomes interactive with cookies.</h4> } </div> <div id='d...
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <p class="lead">Map of <b>Windows Azure Data Centers</b> around the world</p> </div> <div id='dcMap' style="position:relative; width:100%; height:600px;"></div> <ul> <li>Some data centers are in Production already (4 in North America, 2 in Europe,...
apache-2.0
C#
ed0aa7f14ab30035ac2f7e642e59bb7061e57ed3
Use DetectIsJson string extension as opposed to a horrible try/catch
robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,madsoulswe/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleh...
src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml
src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Embed.cshtml
@model dynamic @using Umbraco.Web.Templates @{ string embedValue = Convert.ToString(Model.value); embedValue = embedValue.DetectIsJson() ? Model.value.preview : Model.value; } <div class="video-wrapper"> @Html.Raw(embedValue) </div>
@model dynamic @using Umbraco.Web.Templates @{ var embedValue = string.Empty; try { embedValue = Model.value.preview; } catch(Exception ex) { embedValue = Model.value; } } <div class="video-wrapper"> @Html.Raw(embedValue) </div>
mit
C#
b89486410113d4d8e45b30d6c64fff0ee150e5a2
Fix `AsNonNull` not working on release configuration
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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.Diagnostics; using System.Diagnostics.CodeAnalysis; using NUnit.Framework; namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// E...
// 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.Diagnostics; using System.Diagnostics.CodeAnalysis; namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to...
mit
C#
8b815296a0b72ceba8645c57443266d1b7826d09
Fix for plan settings.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex/Areas/Api/Controllers/Plans/Models/AppPlansDto.cs
src/Squidex/Areas/Api/Controllers/Plans/Models/AppPlansDto.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
mit
C#
b6f307420d37e2d3c01e5804ee097cdc6ea42d21
Tweak to `DittoMultiProcessorAttribute` constructors
leekelleher/umbraco-ditto,rasmusjp/umbraco-ditto
src/Our.Umbraco.Ditto/ComponentModel/Attributes/DittoMultiProcessorAttribute.cs
src/Our.Umbraco.Ditto/ComponentModel/Attributes/DittoMultiProcessorAttribute.cs
using System; using System.Collections.Generic; using System.Linq; namespace Our.Umbraco.Ditto { /// <summary> /// Represents a multi-ditto processor capable of wrapping multiple attributes into a single attribute definition /// </summary> [AttributeUsage(Ditto.ProcessorAttributeTargets, AllowMultiple...
using System; using System.Collections.Generic; using System.Linq; namespace Our.Umbraco.Ditto { /// <summary> /// Represents a multi-ditto processor capable of wrapping multiple attributes into a single attribute definition /// </summary> [AttributeUsage(Ditto.ProcessorAttributeTargets, AllowMultiple...
mit
C#
d1eeba90af85dd203aa27adbb30a28e45b54e23d
Add test for IComponent typeconverter register in TypeDescriptor (#40959)
ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,shimingsg/corefx,ericstj/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg...
src/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.netcoreapp.cs
src/System.ComponentModel.TypeConverter/tests/TypeDescriptorTests.netcoreapp.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 Xunit; namespace System.ComponentModel.Tests { public partial class TypeDescriptorTests { [Th...
// 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 Xunit; namespace System.ComponentModel.Tests { public partial class TypeDescriptorTests { [Th...
mit
C#
5df2f4e01031475c5338d6009c0a5637eab37357
Add message possibility for InsufficientBalanceException
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
MagicalCryptoWallet/Exceptions/InsufficientBalanceException.cs
MagicalCryptoWallet/Exceptions/InsufficientBalanceException.cs
using System; using System.Collections.Generic; using System.Text; namespace MagicalCryptoWallet.Exceptions { public class InsufficientBalanceException : Exception { public InsufficientBalanceException(string message = "") : base(message) { } } }
using System; using System.Collections.Generic; using System.Text; namespace MagicalCryptoWallet.Exceptions { public class InsufficientBalanceException : Exception { public InsufficientBalanceException() { } } }
mit
C#
e79969ac28940ebf9b0421246ffc478b27744217
Add function for get the center of mass
dummer/HarbourCraneHelper
ControlInterface/NonClassicLogic/Expert.cs
ControlInterface/NonClassicLogic/Expert.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NonClassicLogic { class ExpertPoint //точки на графике { public double x, y; public ExpertPoint(double x, double y) { this.x = x; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NonClassicLogic { class Expert { double cargoSquare = 31589.472; // м^2 double cargoWeight = 30.4; // кг private double windStrenght ( double windSpeed ) ...
mit
C#
3628797c73e26dae6e8070e88b0ebdd77e31068c
Update delete signature to use only id
tvanfosson/dapper-integration-testing
DapperTesting/Core/Data/IUserRepository.cs
DapperTesting/Core/Data/IUserRepository.cs
using System.Collections.Generic; using DapperTesting.Core.Model; namespace DapperTesting.Core.Data { public interface IUserRepository { void Create(User user); void Delete(int id); User Get(int id); User Get(string email); List<User> GetAll(); void Update(User...
using System.Collections.Generic; using DapperTesting.Core.Model; namespace DapperTesting.Core.Data { public interface IUserRepository { void Create(User user); void Delete(User user); User Get(int id); User Get(string email); List<User> GetAll(); void Update(U...
mit
C#
0b8bc1c269aa906ab2bb13ba575c7c6e8fda2fc7
Fix where embedded file provider looks for resources by default
peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype
src/Glimpse.Server.Dnx/Internal/Resources/EmbeddedFileResource.cs
src/Glimpse.Server.Dnx/Internal/Resources/EmbeddedFileResource.cs
using System; using System.Collections.Generic; using System.Reflection; using Glimpse.Server.Resources; using Microsoft.AspNet.Builder; using Microsoft.AspNet.FileProviders; using Microsoft.AspNet.StaticFiles; namespace Glimpse.Server.Internal.Resources { public abstract class EmbeddedFileResource : IResourceSta...
using System; using System.Collections.Generic; using System.Reflection; using Glimpse.Server.Resources; using Microsoft.AspNet.Builder; using Microsoft.AspNet.FileProviders; using Microsoft.AspNet.StaticFiles; namespace Glimpse.Server.Internal.Resources { public abstract class EmbeddedFileResource : IResourceSta...
mit
C#
a683a2b6607bb5cac986ef08d81edad4ce692b4e
Update ValueChangedTriggerBehavior.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs
src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs
using System; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Custom { /// <summary> /// A behavior that performs actions when the bound data produces new value. /// </summary> public class ValueChangedTriggerBehavior : Trigger { static ValueChangedTriggerBehavior()...
using System; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Custom { /// <summary> /// A behavior that performs actions when the bound data produces new value. /// </summary> public class ValueChangedTriggerBehavior : Trigger { static ValueChangedTriggerBehavior()...
mit
C#
decd49117fa4eb3cf410f4f86ec83b238e6a9417
stop adding TraceSource to DI container
RadicalFx/Radical.Windows
src/Radical.Windows/Presentation/Boot/Installers/DefaultInstaller.cs
src/Radical.Windows/Presentation/Boot/Installers/DefaultInstaller.cs
using Microsoft.Extensions.DependencyInjection; using Radical.ComponentModel; using Radical.ComponentModel.Messaging; using Radical.Linq; using Radical.Messaging; using Radical.Windows.Presentation.Boot.Features; using Radical.Windows.Presentation.ComponentModel; using Radical.Windows.Threading; using System; using Sy...
using Microsoft.Extensions.DependencyInjection; using Radical.ComponentModel; using Radical.ComponentModel.Messaging; using Radical.Linq; using Radical.Messaging; using Radical.Windows.Presentation.Boot.Features; using Radical.Windows.Presentation.ComponentModel; using Radical.Windows.Threading; using System; using Sy...
mit
C#
d7e6890e531151227201e3d504e21367f829de16
fix indentation
aliyeysides/Rosie
Rosie/Program.cs
Rosie/Program.cs
using System; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; namespace Rosie { public class Program { private readonly DiscordSocketClient _client; public static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); ...
using System; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; namespace Rosie { public class Program { private readonly DiscordSocketClient _client; public static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); ...
mit
C#
41e1cc136087274b2219c13343b2a4809ae17658
Fix formatting
ViktorHofer/corefx,ptoonen/corefx,ravimeda/corefx,ptoonen/corefx,Jiayili1/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,shimingsg/corefx,Ermiar/corefx,axelheer/corefx,ptoonen/corefx,mmitche/corefx,ericstj/corefx,ViktorHofer/corefx,wtgodbe/corefx,Ermiar/corefx,mmitche/corefx,seanshpark/corefx,seanshpark/corefx,s...
src/System.Diagnostics.PerformanceCounter/src/misc/EnvironmentHelpers.cs
src/System.Diagnostics.PerformanceCounter/src/misc/EnvironmentHelpers.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.ComponentModel; using System.Security; using System.Security.Principal; namespace System { interna...
// 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.ComponentModel; using System.Security; using System.Security.Principal; namespace System { interna...
mit
C#
0c3a097c0f482c63e0f813a272cba3226c4392ac
Update IComplier.Extension.cs
NMSLanX/Natasha
src/Natasha/Core/Engine/ComplierModule/IComplier.Extension.cs
src/Natasha/Core/Engine/ComplierModule/IComplier.Extension.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Formatting; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Natasha.Complier { public static class IComplierExtension { ...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Formatting; using System.Collections.Generic; using System.Linq; namespace Natasha.Complier { public static class IComplierExtension { private readonly static A...
mpl-2.0
C#
c4a7383349dfe0c47c5ae18f7828f12113c389a5
Use static import for repeated EditorGUI.* calls
mysticfall/Alensia
Assets/Editor/Alensia/Core/I18n/TranslatableTextPropertyDrawer.cs
Assets/Editor/Alensia/Core/I18n/TranslatableTextPropertyDrawer.cs
using UnityEditor; using UnityEngine; using static UnityEditor.EditorGUI; namespace Alensia.Core.I18n { [CustomPropertyDrawer(typeof(TranslatableText))] public class TranslatableTextPropertyDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent ...
using UnityEditor; using UnityEngine; namespace Alensia.Core.I18n { [CustomPropertyDrawer(typeof(TranslatableText))] public class TranslatableTextPropertyDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { var tex...
apache-2.0
C#
6fd18d1cec8b3162a0e700ad8afefbf5e09de100
Remove the second Unitypackage being generated, since it's now unneeded.
grobm/OSVR-Unity,JeroMiya/OSVR-Unity,DuFF14/OSVR-Unity,grobm/OSVR-Unity,OSVR/OSVR-Unity
OSVR-Unity/Assets/Editor/OSVRUnityBuild.cs
OSVR-Unity/Assets/Editor/OSVRUnityBuild.cs
using UnityEditor; using System.Collections; public class OSVRUnityBuild { static void build() { string[] assets = { "Assets/OSVRUnity", "Assets/Plugins" }; AssetDatabase.ExportPackage(assets, "OSVR-Unity.unitypackage", ExportPackageOptions.Inc...
using UnityEditor; using System.Collections; public class OSVRUnityBuild { static void build() { string[] assets = { "Assets/OSVRUnity", "Assets/Plugins" }; AssetDatabase.ExportPackage(assets, "OSVR-Unity.unitypackage", ExportPackageOptions.Inc...
apache-2.0
C#
7a38ce2c691a188e9dc805f6180e51e40353da2f
Update UI
seksarn/ParkingSpace,seksarn/ParkingSpace,seksarn/ParkingSpace
ParkingSpace.Web/Views/GateIn/Index.cshtml
ParkingSpace.Web/Views/GateIn/Index.cshtml
@using ParkingSpace.Models; @{ ViewBag.Title = "Index"; var t = (ParkingTicket)TempData["NewTicket"]; } <h2>Gate In</h2> <div class="well well-sm"> @ViewBag.GateID </div> @using (Html.BeginForm("CreateTicket", "GateIn")) { <div> Plate No.:<br /> @Html.TextBox("plateNo")<br /> <b...
@using ParkingSpace.Models; @{ ViewBag.Title = "Index"; var t = (ParkingTicket)TempData["NewTicket"]; } <h2>Gate In [@ViewBag.GateID]</h2> @using (Html.BeginForm("CreateTicket", "GateIn")) { <div> Plate No.:<br /> @Html.TextBox("plateNo")<br /> <br /> <button type="submit" class=...
mit
C#
0df4aed0964362aceb190a86d2888c8dd6871231
Update AssemblyVersionInfo.cs
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.AspNetCore/Properties/AssemblyVersionInfo.cs
Mindscape.Raygun4Net.AspNetCore/Properties/AssemblyVersionInfo.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [asse...
mit
C#
9027c99171e710ad93647b1ffa17798e590a9657
simplify check for headers and content type
watson-developer-cloud/dotnet-standard-sdk,watson-developer-cloud/dotnet-standard-sdk
src/IBM.WatsonDeveloperCloud/Http/Filters/ErrorFilter.cs
src/IBM.WatsonDeveloperCloud/Http/Filters/ErrorFilter.cs
/** * Copyright 2017 IBM Corp. 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 applic...
/** * Copyright 2017 IBM Corp. 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 applic...
apache-2.0
C#
dfe41f09118996474addae842da666f690e9c8b5
Move TestEnvironmentSetUpFixture into project root namespace
ulrichb/ImplicitNullability,ulrichb/ImplicitNullability,ulrichb/ImplicitNullability
Src/ImplicitNullability.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs
Src/ImplicitNullability.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs
using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.TestFramework; using JetBrains.TestFramework; using JetBrains.TestFramework.Application.Zones; using NUnit.Framework; [assembly: RequiresSTA] namespace ImplicitNullability.Plugin.Tests { [ZoneDefinition] public interface IIm...
using ImplicitNullability.Plugin.Tests; using JetBrains.Application.BuildScript.Application.Zones; using JetBrains.ReSharper.TestFramework; using JetBrains.TestFramework; using JetBrains.TestFramework.Application.Zones; using NUnit.Framework; [assembly: RequiresSTA] namespace ImplicitNullability.Plugin.Tests { [...
mit
C#
8f66e64e2a6046cbd5cf4215b1303bbda4c17cf6
simplify test
Fody/Fody,GeertvanHorrik/Fody
Tests/Fody/ProjectWeaversReaderTests/ProjectWeaversReaderTests.cs
Tests/Fody/ProjectWeaversReaderTests/ProjectWeaversReaderTests.cs
using ApprovalTests; using Fody; using Xunit; public class ProjectWeaversReaderTests : TestBase { [Fact] public void Invalid() { var path = @"Fody\ProjectWeaversReaderTests\Invalid.txt"; var exception = Assert.Throws<WeavingException>(() => XDocumentEx.Load(path)); Approvals.Verif...
using System.IO; using ApprovalTests; using Fody; using Xunit; public class ProjectWeaversReaderTests : TestBase { [Fact] public void Invalid() { var currentDirectory = AssemblyLocation.CurrentDirectory; var path = Path.Combine(currentDirectory, @"Fody\ProjectWeaversReaderTests\Invalid.txt"...
mit
C#
70454454ed41aac93370cd19655713b1f49633ca
add properties to interface
marcoaoteixeira/NEventStore,paritoshmmmec/NEventStore,gael-ltd/NEventStore,NEventStore/NEventStore,chris-evans/NEventStore,D3-LucaPiombino/NEventStore,nerdamigo/NEventStore,jamiegaines/NEventStore,adamfur/NEventStore,deltatre-webplu/NEventStore,AGiorgetti/NEventStore
src/proj/EventStore.Persistence.SqlPersistence/ISqlDialect.cs
src/proj/EventStore.Persistence.SqlPersistence/ISqlDialect.cs
namespace EventStore.Persistence.SqlPersistence { using System; using System.Data; using System.Transactions; public interface ISqlDialect { string InitializeStorage { get; } string PurgeStorage { get; } string GetCommitsFromStartingRevision { get; } string GetCommitsFromInstant { get; } string GetComm...
namespace EventStore.Persistence.SqlPersistence { using System; using System.Data; using System.Transactions; public interface ISqlDialect { string InitializeStorage { get; } string PurgeStorage { get; } string GetCommitsFromStartingRevision { get; } string GetCommitsFromInstant { get; } string Persis...
mit
C#
a20cd1413a2ef5b8d0881b164a973401e1d35da6
Add a 60 sec pause before SQL Server connection
lecaillon/Evolve
test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs
test/Evolve.Core.Test.Driver/CoreReflectionBasedDriverTest.cs
using System.Data; using System.Threading; using Evolve.Driver; using Xunit; namespace Evolve.Core.Test.Driver { public class CoreReflectionBasedDriverTest { [Fact(DisplayName = "MicrosoftDataSqliteDriver_works")] public void MicrosoftDataSqliteDriver_works() { var driver = ...
using System.Data; using System.Threading; using Evolve.Driver; using Xunit; namespace Evolve.Core.Test.Driver { public class CoreReflectionBasedDriverTest { [Fact(DisplayName = "MicrosoftDataSqliteDriver_works")] public void MicrosoftDataSqliteDriver_works() { var driver = ...
mit
C#
cdccb0a42b75c88015c63429a08863c5d9ff9643
Fix format and switch to HTML message
elanderson/ASP.NET-Core-Email,elanderson/ASP.NET-Core-Email,elanderson/ASP.NET-Core-Email
ASP.NET-Core-Email/src/ASP.NET-Core-Email/Services/MessageServices.cs
ASP.NET-Core-Email/src/ASP.NET-Core-Email/Services/MessageServices.cs
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using ASP.NET_Core_Email.Configuration; using Microsoft.Extensions.Options; namespace ASP.NET_Core_Email.Services { // This class is used by the application to sen...
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using System.Threading.Tasks; using ASP.NET_Core_Email.Configuration; using Microsoft.Extensions.Options; namespace ASP.NET_Core_Email.Services { // This class is used by the application to sen...
mit
C#
af29f9cfe3392fc145e898e19673303cd29af7a4
Use CVOptionFlags in CVPixelBuffer.Lock: * Fixes 39794
xamarin/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples
MediaCapture/MediaCapture/CaptureManager/VideoFrameSamplerDelegate.cs
MediaCapture/MediaCapture/CaptureManager/VideoFrameSamplerDelegate.cs
using System; using UIKit; using AVFoundation; using CoreVideo; using CoreMedia; using CoreGraphics; namespace MediaCapture { public class VideoFrameSamplerDelegate : AVCaptureVideoDataOutputSampleBufferDelegate { #region events public EventHandler<ImageCaptureEventArgs> ImageCaptured; void OnImageCaptured (U...
using System; using UIKit; using AVFoundation; using CoreVideo; using CoreMedia; using CoreGraphics; namespace MediaCapture { public class VideoFrameSamplerDelegate : AVCaptureVideoDataOutputSampleBufferDelegate { #region events public EventHandler<ImageCaptureEventArgs> ImageCaptured; void OnImageCaptured (U...
mit
C#
7ba69105e1fcd16557247797a2b313871f6d23eb
update DwzProxy
ranta-library/Ranta.Proxy
Ranat.Proxy/ShortUrl/DwzProxy.cs
Ranat.Proxy/ShortUrl/DwzProxy.cs
using Newtonsoft.Json; using Ranta.Utility; using System; using System.Collections.Generic; using System.Text; namespace Ranat.Proxy.ShortUrl { /// <summary> /// dwz.cn提供的短网址服务 /// </summary> public static class DwzProxy { private const string DwzHost = "http://dwz.cn/create.php"; ...
using Newtonsoft.Json; using Ranta.Utility; using System; using System.Collections.Generic; using System.Text; namespace Ranat.Proxy.ShortUrl { /// <summary> /// dwz.cn提供的短网址服务 /// </summary> public static class DwzProxy { private const string DwzHost = "http://dwz.cn/create.php"; ...
mit
C#