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
cfa1b2c99f2485a262c5564ec1fb432280d928b1
Remove console write
i-e-b/SevenDigital.Messaging
src/SevenDigital.Messaging/Cooldown.cs
src/SevenDigital.Messaging/Cooldown.cs
using System; using System.Threading; using SignalHandling; namespace SevenDigital.Messaging { public class Cooldown { static int calls; public static void Activate() { if (Interlocked.CompareExchange(ref calls, 1, 0) == 0) { CrossPlatformSignalDispatch.Instance.TerminateEvent += Inst...
using System; using System.Threading; using SignalHandling; namespace SevenDigital.Messaging { public class Cooldown { static int calls; public static void Activate() { if (Interlocked.CompareExchange(ref calls, 1, 0) == 0) { Console.WriteLine("Activating cooldown capture"); Cros...
bsd-3-clause
C#
b4ceebb50a9329451ffd95b6ea2579a821d6a6fc
Update Envelope.cs
Narvalex/SimpleEmailSender,Narvalex/SimpleEmailSender
src/SimpleEmailSender.Core/Envelope.cs
src/SimpleEmailSender.Core/Envelope.cs
using System.Net.Mail; namespace SimpleEmailSender { public class Envelope { public Envelope( Contact from, Contact[] to, Contact[] carbonCopies, Contact[] blindCarbonCopies, Contact[] replyToList, string subject, strin...
using System.Net.Mail; namespace SimpleEmailSender { public class Envelope { public Envelope( Contact from, Contact[] to, Contact[] carbonCopies, Contact[] blindCarbonCopies, Contact[] replyToList, string subject, stri...
mit
C#
0f414d839177d34317fb4d87d9b12332ab45a8dd
Fix unit tests.
SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,A...
src/Skia/Avalonia.Skia/SkiaPlatform.cs
src/Skia/Avalonia.Skia/SkiaPlatform.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Platform; namespace Avalonia.Skia { /// <summary> /// Skia platform initializer. /// </summary> public static class SkiaPl...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Avalonia.Platform; namespace Avalonia.Skia { /// <summary> /// Skia platform initializer. /// </summary> public static class SkiaPl...
mit
C#
672f112f1db36f72794fd3194d26eb47e39b878a
fix it up a bit
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Domain/StringExtensions.cs
src/Tugberk.Domain/StringExtensions.cs
using System; using System.Text; using System.Text.RegularExpressions; namespace Tugberk.Domain { public static class StringExtensions { /// <remarks> /// Does not allow leading or trailing hypens or whitespace. /// </remarks> public static readonly Regex SlugRegex = new Regex(@...
using System; using System.Text; using System.Text.RegularExpressions; namespace Tugberk.Domain { public static class StringExtensions { /// <summary> /// A regular expression for validating slugs. /// Does not allow leading or trailing hypens or whitespace. /// </summary> ...
agpl-3.0
C#
6ef208bde9e86c1a1e296aebcff54274faf3d57b
Fix XLCFColorScaleConverter for indexed and theme colors
igitur/ClosedXML,ClosedXML/ClosedXML,b0bi79/ClosedXML
ClosedXML/Excel/ConditionalFormats/Save/XLCFColorScaleConverter.cs
ClosedXML/Excel/ConditionalFormats/Save/XLCFColorScaleConverter.cs
using System; using DocumentFormat.OpenXml.Spreadsheet; namespace ClosedXML.Excel { internal class XLCFColorScaleConverter : IXLCFConverter { public ConditionalFormattingRule Convert(IXLConditionalFormat cf, Int32 priority, XLWorkbook.SaveContext context) { var conditionalFormatting...
using System; using DocumentFormat.OpenXml.Spreadsheet; namespace ClosedXML.Excel { internal class XLCFColorScaleConverter : IXLCFConverter { public ConditionalFormattingRule Convert(IXLConditionalFormat cf, Int32 priority, XLWorkbook.SaveContext context) { var conditionalFormatting...
mit
C#
a0d47c5293a97a47a96f77e2f25d1b0fc733e564
Increment version for new 'skip' querystring support
XeroAPI/XeroAPI.Net,MatthewSteeples/XeroAPI.Net,TDaphneB/XeroAPI.Net,jcvandan/XeroAPI.Net
source/XeroApi/Properties/AssemblyInfo.cs
source/XeroApi/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("XeroApi")] [assembly: AssemblyDescription...
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("XeroApi")] [assembly: AssemblyDescription...
mit
C#
a66fe8e489568e15bd526a811186f771f12e5b31
Fix PrinterChooserHonorsWhitelist test
unlimitedbacon/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterContr...
Tests/MatterControl.Tests/MatterControl/PrinterChooserUnitTests.cs
Tests/MatterControl.Tests/MatterControl/PrinterChooserUnitTests.cs
using System.Collections.Generic; using System.Linq; using MatterHackers.Agg; using MatterHackers.Agg.Platform; using MatterHackers.Agg.UI; using MatterHackers.MatterControl; using MatterHackers.MatterControl.SettingsManagement; using MatterHackers.MatterControl.Tests.Automation; using NUnit.Framework; namespace Matt...
using System.Collections.Generic; using System.Linq; using MatterHackers.Agg; using MatterHackers.Agg.Platform; using MatterHackers.MatterControl; using MatterHackers.MatterControl.SettingsManagement; using MatterHackers.MatterControl.Tests.Automation; using NUnit.Framework; namespace MatterControl.Tests.MatterContro...
bsd-2-clause
C#
a8ac88233788dfe9c925a60fa16082b11f367043
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#
d7ee85743e728139ba7cfbd9b40837520eb27344
Change access of Write() to internal
turtle-box-games/leaf-csharp
Leaf/Leaf/Nodes/Node.cs
Leaf/Leaf/Nodes/Node.cs
using System.IO; namespace Leaf.Nodes { /// <summary> /// Base class for all node types. /// </summary> public abstract class Node { /// <summary> /// Writes the data of the node to a stream. /// </summary> /// <param name="writer">Writer to use for putting data in ...
using System.IO; namespace Leaf.Nodes { /// <summary> /// Base class for all node types. /// </summary> public abstract class Node { /// <summary> /// Writes the data of the node to a stream. /// </summary> /// <param name="writer">Writer to use for putting data in ...
mit
C#
45ea7b7a718fa6274ee0f993f2493c6a09a0e174
Allow playing non-positioned sound & don't dispose sounds before they stop.
Zalewa/LostSoulSquasher
LostSoul/AudioSystem.cs
LostSoul/AudioSystem.cs
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Media; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LostSoul { class SoundRequest { public SoundEffect Sound { get; set; } public Vector2? Positi...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Media; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LostSoul { class SoundRequest { public SoundEffect Sound { get; set; } public Vector2 Positio...
bsd-3-clause
C#
1693a9458e148b5ccc8af4d7b866b61c3bf554a9
Change accommodation ordering
ahmedmatem/vs-bgb,ahmedmatem/vs-bgb,ahmedmatem/vs-bgb
BGB.WebAPI/Controllers/AccommodationsController.cs
BGB.WebAPI/Controllers/AccommodationsController.cs
namespace BGB.WebAPI.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Data.Common.Repository; using Models; using ViewModels; using System.Data.Entity; using Data; [R...
namespace BGB.WebAPI.Controllers { using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Data.Common.Repository; using Models; using ViewModels; using System.Data.Entity; using Data; [R...
mit
C#
5bac954c2058fd33ed83b41701a78e85c651e21d
Update PrivacyAct.cshtml
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Home/PrivacyAct.cshtml
Battery-Commander.Web/Views/Home/PrivacyAct.cshtml
<h1>Privacy Statement</h1> <h2>Controlled Unclassified Information (CUI)</h2> <p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p> <p>Be able to recognize PII and safeguard it.</p> <p>Collect PII only when authorized.</p> <p>Collect only necessary information.</p> ...
<h1>Privacy Statement</h1> <h2>For Official Use Only (FOUO)</h2> <p>By using this system, you have a responsibility to safeguard the information entrusted to you.</p> <p>Be able to recognize PII and safeguard it.</p> <p>Collect PII only when authorized.</p> <p>Collect only necessary information.</p> <p>Keep the ...
mit
C#
2bb269a934b4a84ef9cc3f6da9646f39aa099f09
Update fb-usertoken grant to reuser Facebook id
ankodu/nether,navalev/nether,navalev/nether,stuartleeks/nether,stuartleeks/nether,navalev/nether,stuartleeks/nether,navalev/nether,MicrosoftDX/nether,vflorusso/nether,ankodu/nether,krist00fer/nether,stuartleeks/nether,stuartleeks/nether,vflorusso/nether,vflorusso/nether,oliviak/nether,ankodu/nether,ankodu/nether,vfloru...
src/Nether.Data/Identity/LoginProvider.cs
src/Nether.Data/Identity/LoginProvider.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Nether.Data.Identity { public static class LoginProvide...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Nether.Data.Identity { public static class LoginProvide...
mit
C#
dd864202b2a4b1a4512afa02ee50cb63f62f796a
Fix writing of shorter uints
haefele/PalmDB
src/PalmDB/Serialization/UintPalmValue.cs
src/PalmDB/Serialization/UintPalmValue.cs
using System; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Represents a <see cref="uint"/> value inside a palm database. /// </summary> internal class UIntPalmValue : IPalmValue<uint> { /// <summary> /// Gets the length of this uint block. ...
using System; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Represents a <see cref="uint"/> value inside a palm database. /// </summary> internal class UIntPalmValue : IPalmValue<uint> { /// <summary> /// Gets the length of this uint block. ...
mit
C#
b1ffd81bf6a0bc67a9c2dee87b5737ec8d391d0e
bump version
rabbit-link/rabbit-link,rabbit-link/rabbit-link
src/RabbitLink/Properties/AssemblyInfo.cs
src/RabbitLink/Properties/AssemblyInfo.cs
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
mit
C#
c1d2a5a8cbbb4333180986345dd34699964fe55a
add default parameters.
geffzhang/equeue,tangxuehua/equeue,Aaron-Liu/equeue,Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,tangxuehua/equeue
src/EQueue/Broker/BrokerController.cs
src/EQueue/Broker/BrokerController.cs
using EQueue.Broker.LongPolling; using EQueue.Broker.Processors; using EQueue.Infrastructure.IoC; using EQueue.Remoting; namespace EQueue.Broker { public class BrokerController { private readonly IMessageService _messageService; private readonly SocketRemotingServer _remotingServer; pu...
using EQueue.Broker.LongPolling; using EQueue.Broker.Processors; using EQueue.Infrastructure.IoC; using EQueue.Remoting; namespace EQueue.Broker { public class BrokerController { private readonly IMessageService _messageService; private readonly SocketRemotingServer _remotingServer; pu...
mit
C#
574fe631a40de988e988d8814b4287424873a929
Add comment about how IDiscoverableCollection is treated
zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,p...
src/Glimpse.Common/GlimpseServices.cs
src/Glimpse.Common/GlimpseServices.cs
using Glimpse; using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; using System; using System.Reflection; namespace Glimpse { public class GlimpseServices { public sta...
using Glimpse; using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; using System; using System.Reflection; namespace Glimpse { public class GlimpseServices { public sta...
mit
C#
76dff8f0dc25fa768dd573a01865401698e6ce76
revise functional test for min/max
kflu/kfl.utils
test/FunctionalTests.cs
test/FunctionalTests.cs
namespace test { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using static Kfl.Utils.Functional.Functional; public class FunctionalTests { [Xunit.Fact] public void TestMinMax() ...
namespace test { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using static Kfl.Utils.Functional.Functional; public class FunctionalTests { [Xunit.Fact] public void TestMinMax() ...
mit
C#
9efce73750172e0c48e9b2d7db3613b1e40b9972
Create a temporary library file and rename it to reduce the chance of library corruption
punker76/Espera,flagbug/Espera
Espera/Espera.Core/Management/LibraryFileWriter.cs
Espera/Espera.Core/Management/LibraryFileWriter.cs
using Rareform.Validation; using System; using System.Collections.Generic; using System.IO; namespace Espera.Core.Management { public class LibraryFileWriter : ILibraryWriter { private readonly string targetPath; public LibraryFileWriter(string targetPath) { if (targetPath...
using Rareform.Validation; using System.Collections.Generic; using System.IO; namespace Espera.Core.Management { public class LibraryFileWriter : ILibraryWriter { private readonly string targetPath; public LibraryFileWriter(string targetPath) { if (targetPath == null) ...
mit
C#
2b8506a2bbe368fd740e2d682185175c26088df8
Add TaskHelper.ToTask
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Helpers/TaskHelper.cs
src/WeihanLi.Common/Helpers/TaskHelper.cs
// Copyright (c) Weihan Li. All rights reserved. // Licensed under the Apache license. namespace WeihanLi.Common.Helpers; public static class TaskHelper { #if ValueTaskSupport /// <summary> /// A cached completed value task /// </summary> public static ValueTask CompletedValueTask => #if NET6_0_OR_GR...
// Copyright (c) Weihan Li. All rights reserved. // Licensed under the Apache license. namespace WeihanLi.Common.Helpers; public static class TaskHelper { #if ValueTaskSupport /// <summary> /// A cached completed value task /// </summary> public static ValueTask CompletedValueTask => #if NET6_0_OR_GR...
mit
C#
da011a4a7a6456eb380be3b0db0e80793b267be6
fix tests for NUnit
ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-framework,Tom94/osu-framewor...
osu.Framework.Tests/Visual/TestCaseFullscreen.cs
osu.Framework.Tests/Visual/TestCaseFullscreen.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Drawing; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics.Con...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Fr...
mit
C#
d5d696f9333b5ade0439ea7ba805272a20a72422
Update in line with merge
ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework
osu.Framework/IO/Stores/TimedExpiryGlyphStore.cs
osu.Framework/IO/Stores/TimedExpiryGlyphStore.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. // 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....
// 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. // 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....
mit
C#
165da3204454999cd8497d0f55987d871774b34c
Fix dropdown crash on collection name collisions
NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,smoogipoo/osu
osu.Game/Collections/CollectionFilterMenuItem.cs
osu.Game/Collections/CollectionFilterMenuItem.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 JetBrains.Annotations; using osu.Framework.Bindables; namespace osu.Game.Collections { /// <summary> /// A <see cref="BeatmapCollection"/> fi...
// 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 JetBrains.Annotations; using osu.Framework.Bindables; namespace osu.Game.Collections { /// <summary> /// A <see cref="BeatmapCollection"/> fi...
mit
C#
ef3b19a2725a3dad30ddec626649ebd59d280d6b
Add missing copyright name
markembling/MarkEmbling.Utils,markembling/MarkEmbling.Utilities
MarkEmbling.Utils.Forms/Properties/AssemblyInfo.cs
MarkEmbling.Utils.Forms/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("Mar...
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("Mar...
mit
C#
159525feec67ef2de534ea3216827e84f8385827
Add saftey around the Properties Dialog
Mataniko/IV-Play
Forms/Propertiesview.cs
Forms/Propertiesview.cs
#region using IV_Play.Data; using System; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; #endregion namespace IV_Play { /// <summary> /// Rom Properties view /// </summary> public partial class PropertiesView : Form { private Game _game; public P...
#region using IV_Play.Data; using System; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; #endregion namespace IV_Play { /// <summary> /// Rom Properties view /// </summary> public partial class PropertiesView : Form { private Game _game; public P...
mit
C#
60da952d4b9215c6fe8b06d89184f7497d1fecb7
Change Teamupdate time interval to 180s.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Common/TimeConstants.cs
src/NadekoBot/Common/TimeConstants.cs
namespace Mitternacht.Common { public class TimeConstants { public const int WaitForForum = 500; public const int TeamUpdate = 3 * 60 * 1000; public const int Birthday = 60 * 1000; } }
namespace Mitternacht.Common { public class TimeConstants { public const int WaitForForum = 500; public const int TeamUpdate = 60 * 1000; public const int Birthday = 60 * 1000; } }
mit
C#
fb60ccb9a72c337cfbc3316b7ca62c7d8c457f37
Handle null jsonProperty.UnderlyingName values
Cussa/Swashbuckle,henning-krause/Swashbuckle,Driedas/Swashbuckle,kredinor/Swashbuckle,davetransom/Swashbuckle,gliljas/Swashbuckle,bdhess/Swashbuckle,tareq-s/Swashbuckle,gliljas/Swashbuckle,domaindrivendev/Swashbuckle,bigtlb/Swashbuckle,kredinor/Swashbuckle,gliljas/Swashbuckle,enkafan/Swashbuckle,Rolive0712/Swashbuckle,...
Swashbuckle.Core/Swagger/JsonPropertyExtensions.cs
Swashbuckle.Core/Swagger/JsonPropertyExtensions.cs
using System; using System.ComponentModel.DataAnnotations; using System.Reflection; using Newtonsoft.Json.Serialization; namespace Swashbuckle.Swagger { public static class JsonPropertyExtensions { public static bool IsRequired(this JsonProperty jsonProperty) { return jsonProperty....
using System; using System.ComponentModel.DataAnnotations; using System.Reflection; using Newtonsoft.Json.Serialization; namespace Swashbuckle.Swagger { public static class JsonPropertyExtensions { public static bool IsRequired(this JsonProperty jsonProperty) { return jsonProperty....
bsd-3-clause
C#
1e2d8e764fbfbce35e8eb85a4b302e8547796092
Call GetBaseException instead of manually unwrapping exception types.
mdavid/nuget,mdavid/nuget
src/Core/Utility/ExceptionUtility.cs
src/Core/Utility/ExceptionUtility.cs
using System; using System.Reflection; namespace NuGet { public static class ExceptionUtility { public static Exception Unwrap(Exception exception) { if (exception == null) { throw new ArgumentNullException("exception"); } if (exception.InnerE...
using System; using System.Reflection; namespace NuGet { public static class ExceptionUtility { public static Exception Unwrap(Exception exception) { if (exception == null) { throw new ArgumentNullException("exception"); } if (exception.InnerE...
apache-2.0
C#
21f4ced2c41b29752c00b3bcd0a754a69ea65caa
Remove a semicolon
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Compiler/ProjectLoader.cs
src/DotVVM.Compiler/ProjectLoader.cs
using System; using System.IO; using System.Reflection; namespace DotVVM.Compiler { public static class ProjectLoader { public static ICompilerExecutor GetExecutor(string assemblyPath) { #if NETCOREAPP3_1 var dependencyResolver = new System.Runtime.Loader.AssemblyDependencyResolver(...
using System; using System.IO; using System.Reflection; namespace DotVVM.Compiler { public static class ProjectLoader { public static ICompilerExecutor GetExecutor(string assemblyPath) { #if NETCOREAPP3_1 var dependencyResolver = new System.Runtime.Loader.AssemblyDependencyResolver(...
apache-2.0
C#
6c37893afe6cdf6312eb45148d8d37f2ff17eb68
Add Condition.And() that can operate over a collection of conjunctions
terrajobst/nquery-vnext
src/NQuery/Optimization/Condition.cs
src/NQuery/Optimization/Condition.cs
using System; using System.Collections.Generic; using System.Linq; using NQuery.Binding; namespace NQuery.Optimization { internal static class Condition { public static BoundExpression And(BoundExpression left, BoundExpression right) { if (left == null) return righ...
using System; using System.Collections.Generic; using NQuery.Binding; namespace NQuery.Optimization { internal static class Condition { public static BoundExpression And(BoundExpression left, BoundExpression right) { if (left == null) return right; if ...
mit
C#
04b2cb63d2902b980f344849b95f2bdc355b25d7
Remove obsolete comment about NestedLoops
fsateler/MoreLINQ,morelinq/MoreLINQ,ddpruitt/morelinq,morelinq/MoreLINQ,ddpruitt/morelinq,fsateler/MoreLINQ
MoreLinq/NestedLoops.cs
MoreLinq/NestedLoops.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2010 Leopold Bushkin. 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 // // ...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2010 Leopold Bushkin. 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 // // ...
apache-2.0
C#
341df045f24af59afaf5eab494e555df2408f9fb
Add Client.Read and Client.Send methods
ashfordl/netlib
NetLib/Client/Client.cs
NetLib/Client/Client.cs
// Client.cs using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; namespace NetLib.Client { public class Client { private TcpClient tcp; private NetworkStream stream; private Thread readThread; ...
// Client.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NetLib.Client { class Client { } }
mit
C#
ccca5ee317f05e712d782e6f0a4a3f9420ff601e
Add Included property to Document model
huysentruitw/simple-json-api
src/SimpleJsonApi/Models/Document.cs
src/SimpleJsonApi/Models/Document.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace SimpleJsonApi.Models { internal sealed class Document { [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public IDictionary<string, string> Links { get; set; } /// <summary> /// Data is either a <se...
using System.Collections.Generic; using Newtonsoft.Json; namespace SimpleJsonApi.Models { internal sealed class Document { [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public IDictionary<string, string> Links { get; set; } /// <summary> /// Data is either a <se...
apache-2.0
C#
26746c4034bbe76d1ef8eba06cf0ef1a68365991
add parameter to map generator
rustamserg/mogate
mogate/Layers/MapGridLayer.cs
mogate/Layers/MapGridLayer.cs
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace mogate { public class MapGridLayer: DrawableGameComponent { Texture2D m_wall; Texture2D m_tile; Texture2D m_ladder; SpriteBatch m_spriteBatch; public MapGridLayer (Game game) : base(game) { ...
using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace mogate { public class MapGridLayer: DrawableGameComponent { Texture2D m_wall; Texture2D m_tile; Texture2D m_ladder; SpriteBatch m_spriteBatch; public MapGridLayer (Game game) : base(game) { ...
mit
C#
e09570c31bf18af340d529fc59448b1b694db270
Implement best-name-finding helper method
peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu
osu.Game/Utils/NamingUtils.cs
osu.Game/Utils/NamingUtils.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.Collections.Generic; using System.Text.RegularExpressions; namespace osu.Game.Utils { public static class NamingUtils { /// <summary> ...
// 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.Collections.Generic; namespace osu.Game.Utils { public static class NamingUtils { public static string GetNextBestName(IEnumerable<string> e...
mit
C#
f7f09736d35dd4bda4a3e5387b067cf2f15bc5d8
Update Recents.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D.Editor/Recent/Recents.cs
src/Core2D.Editor/Recent/Recents.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.Immutable; namespace Core2D.Editor.Recent { /// <summary> /// Recent files. /// </summary> public class Recents : Observ...
// 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. namespace Core2D.Editor.Recent { /// <summary> /// Recent file. /// </summary> public class RecentFile : ObservableObject { private st...
mit
C#
5bf58a08e9664c63bf153c09b8f3f1b7dd7d5e33
Remove redundant AddOptions which is now a default hosting service
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Cors/CorsServiceCollectionExtensions.cs
src/Microsoft.AspNet.Cors/CorsServiceCollectionExtensions.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 Microsoft.AspNet.Cors.Infrastructure; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.Dep...
// 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 Microsoft.AspNet.Cors.Infrastructure; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.Dep...
apache-2.0
C#
b2d8d42793eedc21eb02d1e50d5d6a30bc5d62c0
Patch support added.
nseckinoral/xomni-sdk-dotnet
src/XOMNI.SDK.Private/Passbook/PassbookTemplateManagement.cs
src/XOMNI.SDK.Private/Passbook/PassbookTemplateManagement.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XOMNI.SDK.Core.ApiAccess; using XOMNI.SDK.Core.Management; using XOMNI.SDK.Core.Providers; namespace XOMNI.SDK.Private.Passbook { public class PassbookTemplate : ApiAccessBase { pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XOMNI.SDK.Core.Management; namespace XOMNI.SDK.Private.Passbook { public class PassbookTemplateManagement : BaseCRUDPSkipTakeManagement<XOMNI.SDK.Model.Private.Passbook.PassbookTemplate> {...
mit
C#
9c98000b4151088411fcd0f20d0556d95fb05425
Add comment to demo teamcity
JakeGinnivan/fixie,Duohong/fixie,EliotJones/fixie,fixie/fixie,KevM/fixie,bardoloi/fixie,bardoloi/fixie
src/Fixie/Behaviors/CaseBehavior.cs
src/Fixie/Behaviors/CaseBehavior.cs
namespace Fixie.Behaviors { public interface CaseBehavior { void Execute(Case @case, object instance); //comment to demo teamcity } }
namespace Fixie.Behaviors { public interface CaseBehavior { void Execute(Case @case, object instance); } }
mit
C#
741d258fab2165edb09721a4fe5b0910e8938bb4
remove WhenTerminated.Wait
InventoryLab/lighthouse,InventoryLab/lighthouse
src/Lighthouse/LighthouseService.cs
src/Lighthouse/LighthouseService.cs
// Copyright 2014-2015 Aaron Stannard, Petabridge LLC // // 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 b...
// Copyright 2014-2015 Aaron Stannard, Petabridge LLC // // 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 b...
apache-2.0
C#
fdc290a6a927d5603d612c13039e1fef587ebfb9
call commit after adding a document to lucene
mvbalaw/MvbaCore
src/MvbaCore/Lucene/LuceneWriter.cs
src/MvbaCore/Lucene/LuceneWriter.cs
// * ************************************************************************** // * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C. // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this distributio...
// * ************************************************************************** // * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C. // * This source code is subject to terms and conditions of the MIT License. // * A copy of the license can be found in the License.txt file // * at the root of this distributio...
mit
C#
9ae6bb92ba0062065b27281cabdb39820b412221
Rename DefaultComputerCharacteristics to WindowsComputerCharacteristics
JanDotNet/ThinkSharp.Licensing
ThinkSharp.Licensing/Licensing/DefaultComputerCharacteristics.cs
ThinkSharp.Licensing/Licensing/DefaultComputerCharacteristics.cs
// Copyright (c) Jan-Niklas Schäfer. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Management; using System.Runtime.Versioning; using System.Text; namespace T...
// Copyright (c) Jan-Niklas Schäfer. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Management; using System.Text; namespace ThinkSharp.Licensing.Licensing { ...
mit
C#
9df4ff13577d2a7aa64864bdf51f5d679bc1c12e
Allow web query from https://babelmark.github.io and http://johnmacfarlane.net
babelmark/babelmark-proxy
src/BabelMark/Startup.cs
src/BabelMark/Startup.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Ex...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Ex...
bsd-2-clause
C#
4b41becb8affbe9270034e9a0291ec5226f41b14
transform component use degrees
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/Scenes/TransformComponent.cs
CSharpGL/Scenes/TransformComponent.cs
using System; namespace CSharpGL { /// <summary> /// Description of TransformComponent. /// </summary> public partial class TransformComponent : Component { public vec3 Position { get; set; } public vec3 Rotation { get; set; } public vec3 Scale { get; set; } public...
using System; namespace CSharpGL { /// <summary> /// Description of TransformComponent. /// </summary> public partial class TransformComponent : Component { public vec3 Position { get; set; } public vec3 Rotation { get; set; } public vec3 Scale { get; set; } public...
mit
C#
633e9efb9b3847a0692cbd7193ffcaec7153ef9d
Increase the base timeout for TaskTest
PKRoma/kafka-net,martijnhoekstra/kafka-net,EranOfer/KafkaNetClient,BDeus/KafkaNetClient,nightkid1027/kafka-net,geffzhang/kafka-net,Jroland/kafka-net,CenturyLinkCloud/kafka-net,aNutForAJarOfTuna/kafka-net,bridgewell/kafka-net,gigya/KafkaNetClient
src/kafka-tests/Helpers/TaskTest.cs
src/kafka-tests/Helpers/TaskTest.cs
using System; using System.Diagnostics; using System.Threading; namespace kafka_tests.Helpers { public static class TaskTest { public static bool WaitFor(Func<bool> predicate, int milliSeconds = 3000) { var sw = Stopwatch.StartNew(); while (predicate() != true) ...
using System; using System.Diagnostics; using System.Threading; namespace kafka_tests.Helpers { public static class TaskTest { public static bool WaitFor(Func<bool> predicate, int milliSeconds = 1000) { var sw = Stopwatch.StartNew(); while (predicate() != true) ...
apache-2.0
C#
5cdc131ab4d1391fa5069d65c39b8a272ac945e8
Add comments.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
bootstrapping/Build.cs
bootstrapping/Build.cs
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using...
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using...
mit
C#
36853547007f2cfe5079f1660c4453edf1513efd
Add line breaks.
CyrusNajmabadi/roslyn,aelij/roslyn,wvdd007/roslyn,tmeschter/roslyn,reaction1989/roslyn,swaroop-sridhar/roslyn,genlu/roslyn,nguerrera/roslyn,xasx/roslyn,dpoeschl/roslyn,physhi/roslyn,VSadov/roslyn,mavasani/roslyn,panopticoncentral/roslyn,mavasani/roslyn,bkoelman/roslyn,jcouv/roslyn,KirillOsenkov/roslyn,bartdesmet/roslyn...
src/Workspaces/Core/Portable/EmbeddedLanguages/Json/JsonHelpers.cs
src/Workspaces/Core/Portable/EmbeddedLanguages/Json/JsonHelpers.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.EmbeddedLanguages.Common; using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; name...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.EmbeddedLanguages.Common; using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; name...
mit
C#
4c59750e00e2ca780483d6a8ca964c9716d9d9c9
Make default value of SignedPetitions as array.
enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api
Infopulse.EDemocracy.Model/BusinessEntities/UserDetailInfo.cs
Infopulse.EDemocracy.Model/BusinessEntities/UserDetailInfo.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Infopulse.EDemocracy.Model.BusinessEntities { public class UserDetailInfo : BaseEntity { [JsonIgnore] public int UserID { get; set; } [Required] public string FirstName { get; set; }...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Infopulse.EDemocracy.Model.BusinessEntities { public class UserDetailInfo : BaseEntity { [JsonIgnore] public int UserID { get; set; } [Required] public string FirstName { get; set; }...
cc0-1.0
C#
8dd2b259ee42d40338f8fc8669ce0cd0ca398531
Add missing error categories
libgit2/libgit2sharp,red-gate/libgit2sharp,AMSadek/libgit2sharp,red-gate/libgit2sharp,AMSadek/libgit2sharp,Zoxive/libgit2sharp,Zoxive/libgit2sharp,PKRoma/libgit2sharp
LibGit2Sharp/Core/GitErrorCategory.cs
LibGit2Sharp/Core/GitErrorCategory.cs
namespace LibGit2Sharp.Core { internal enum GitErrorCategory { Unknown = -1, None, NoMemory, Os, Invalid, Reference, Zlib, Repository, Config, Regex, Odb, Index, Object, Net, Tag, Tree...
namespace LibGit2Sharp.Core { internal enum GitErrorCategory { Unknown = -1, None, NoMemory, Os, Invalid, Reference, Zlib, Repository, Config, Regex, Odb, Index, Object, Net, Tag, Tree...
mit
C#
1f6acc6d5197ecc3a9b0195e4f9237ea71d596f4
Update assembly informational version
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Properties/AssemblyInfo.cs
R7.Epsilon/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("R7.Epsilon")] [assembly: AssemblyDescription ("Responsive skin for DNN Platform")] [asse...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("R7.Epsilon")] [assembly: AssemblyDescription ("Responsive skin for DNN Platform")] [asse...
agpl-3.0
C#
ef5b6b8d4c98e9bb154a8b237d6d232e5d558d0e
Write out the r4mvc.generated.cs file when running on coreclr
T4MVC/R4MVC,wwwlicious/R4MVC,artiomchi/R4MVC,wwwlicious/R4MVC,artiomchi/R4MVC,wwwlicious/R4MVC
src/R4Mvc/R4MVCCompilerModule.cs
src/R4Mvc/R4MVCCompilerModule.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Runtime; using Microsoft.Framework.Runtime.Roslyn; using R4Mvc.Extensions; using R4Mvc.Ioc; using R4Mvc.Locators; n...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Runtime; using Microsoft.Framework.Runtime.Roslyn; using R4Mvc.Extensions; using R4Mvc.Ioc; using R4Mvc.Locators; n...
apache-2.0
C#
93d84484046548a6c76006f83fb8552ed285ec51
Update CubicNoise_Unity.cs
jobtalle/CubicNoise,jobtalle/CubicNoise,jobtalle/CubicNoise,jobtalle/CubicNoise,jobtalle/CubicNoise,jobtalle/CubicNoise
c#/CubicNoise_Unity.cs
c#/CubicNoise_Unity.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public sealed class CubicNoise { private static readonly int RND_A = 134775813; private static readonly int RND_B = 1103515245; private int seed; private int octave; private int periodx = int.MaxValue; private int periody = int.MaxV...
using System.Collections; using System.Collections.Generic; using UnityEngine; public sealed class CubicNoise { private static readonly int RND_A = 134775813; private static readonly int RND_B = 1103515245; private int seed; private int octave; private int periodx = int.MaxValue; private int periody = int.MaxV...
unlicense
C#
93f9d1549e6d3f7c854b23530f4063c019ed0e8b
Revert "Bump version"
o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter
Properties/AssemblyInfo.cs
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("We...
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("We...
mit
C#
c5b2e78112efabb67facc5cfaf5695c8a118ee37
fix paren
ucdavis/Namster,ucdavis/Namster,ucdavis/Namster
src/Namster/Services/SearchService.cs
src/Namster/Services/SearchService.cs
using System; using System.Threading.Tasks; using Microsoft.Azure; using Namster.Models; using Nest; namespace Namster.Services { public interface ISearchService { Task<ISearchResponse<DataNam>> FindByMatchAsync(string term, int size); } public class SearchService : ISearchService { ...
using System; using System.Threading.Tasks; using Microsoft.Azure; using Namster.Models; using Nest; namespace Namster.Services { public interface ISearchService { Task<ISearchResponse<DataNam>> FindByMatchAsync(string term, int size); } public class SearchService : ISearchService { ...
mit
C#
77d81624a1ac60e3881fb3a5561468ef01264718
fix consts
timiles/DependencyMap,timiles/DependencyMap,timiles/DependencyMap
Sample/WebView.DataUpdater/Program.cs
Sample/WebView.DataUpdater/Program.cs
using System.Diagnostics; using System.IO; using System.Linq; using DependencyMap.Analysis; using DependencyMap.Scanning; using DependencyMap.SourceRepositories; using Newtonsoft.Json; namespace WebView.DataUpdater { class Program { static void Main(string[] args) { const string we...
using System.Diagnostics; using System.IO; using System.Linq; using DependencyMap.Analysis; using DependencyMap.Scanning; using DependencyMap.SourceRepositories; using Newtonsoft.Json; namespace WebView.DataUpdater { class Program { static void Main(string[] args) { var sourceDir =...
mit
C#
e2d27083415d2e30ac25bec1ae1440c7d3ac666e
Update tests with new specifications of Mapping
rcdmk/EntityFramework.Extended
Source/Samples/net45/Tracker.SqlServer.Test/MappingObjectContext.cs
Source/Samples/net45/Tracker.SqlServer.Test/MappingObjectContext.cs
using System; using EntityFramework.Mapping; using Xunit; using Tracker.SqlServer.CodeFirst; using Tracker.SqlServer.CodeFirst.Entities; using Tracker.SqlServer.Entities; using EntityFramework.Extensions; using Task = Tracker.SqlServer.Entities.Task; namespace Tracker.SqlServer.Test { /// <summary> /// Summar...
using System; using EntityFramework.Mapping; using Xunit; using Tracker.SqlServer.CodeFirst; using Tracker.SqlServer.CodeFirst.Entities; using Tracker.SqlServer.Entities; using EntityFramework.Extensions; using Task = Tracker.SqlServer.Entities.Task; namespace Tracker.SqlServer.Test { /// <summary> /// Summar...
bsd-3-clause
C#
769eaed104584b3c5793188cf6494dcca3b21b5a
remove 'info' config fields (expanded info added to readme).
Pathoschild/StardewMods
TractorMod/Framework/TractorConfig.cs
TractorMod/Framework/TractorConfig.cs
using Microsoft.Xna.Framework.Input; namespace TractorMod.Framework { /// <summary>The mod configuration model.</summary> internal class TractorConfig { /********* ** Accessors *********/ /// <summary>The enabled tools.</summary> public ToolConfig[] Tool { get; set; ...
using Microsoft.Xna.Framework.Input; namespace TractorMod.Framework { /// <summary>The mod configuration model.</summary> internal class TractorConfig { /********* ** Accessors *********/ public string Info1 = "Add tool with exact name you would like to use with Tractor Mode...
mit
C#
bbd7c483681587696df8f3d4c986825c9c8bd068
Fix a comment
DotNetKit/DotNetKit.Wpf.Printing
DotNetKit.Wpf.Printing/Windows/Documents/Paginators/IPaginator.cs
DotNetKit.Wpf.Printing/Windows/Documents/Paginators/IPaginator.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace DotNetKit.Windows.Documents { /// <summary> /// Represents a function to paginate a printable. /// </summary> public interface I...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace DotNetKit.Windows.Documents { /// <summary> /// Provides <see cref="Paginate(Size)"/>. /// </summary> public interface IPaginato...
mit
C#
ed9fe0ad317f17c09c04a136543bdf01e63fd221
Remove in-code resharper disable statement
NeerajW/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,out-of-pixel/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,paseb/HoloToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
Assets/HoloToolkit/Utilities/Scripts/CameraCache.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace HoloToolkit.Unity { /// <summary> /// The purpose of this class is to provide a cached reference to the main camera. Calling Ca...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace HoloToolkit.Unity { /// <summary> /// The purpose of this class is to provide a cached reference to the main camera. Calling Ca...
mit
C#
0090efd702e5eee71a9509316d42edf09db10311
remove UWP extension method
MeilCli/CrossFormattedText
Source/Plugin.CrossFormattedText.UWP/SpannableStringExtensions.cs
Source/Plugin.CrossFormattedText.UWP/SpannableStringExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Plugin.CrossFormattedText.Abstractions; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Documents; namespace Plugin.CrossFormattedText { public static class SpannableStringExtensions { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Plugin.CrossFormattedText.Abstractions; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Documents; namespace Plugin.CrossFormattedText { public static class SpannableStringExtensions { ...
mit
C#
1dae2b3f588d05a4cf13d05bff1f74c4693db32d
Change Jit_GenericsMethod benchmark to reproduce on x64 both Legacy & RuyJit
Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,redknightlois/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDot...
BenchmarkDotNet.Samples/JIT/Jit_GenericsMethod.cs
BenchmarkDotNet.Samples/JIT/Jit_GenericsMethod.cs
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Tasks; namespace BenchmarkDotNet.Samples.JIT { // See: https://alexandrnikitin.github.io/blog/dotnet-generics-under-the-hood/ [BenchmarkTask(platform: BenchmarkPlatform.X86, jitVersion: BenchmarkJitVersion.LegacyJit)] [BenchmarkTas...
using System.Collections.Generic; using System.Linq; using BenchmarkDotNet.Tasks; namespace BenchmarkDotNet.Samples.JIT { // See: https://alexandrnikitin.github.io/blog/dotnet-generics-under-the-hood/ [BenchmarkTask(platform: BenchmarkPlatform.X86, jitVersion: BenchmarkJitVersion.LegacyJit)] [BenchmarkTas...
mit
C#
20f9e5e4611cc5b38505def9d532553f1f9753af
Fix warning.
JohanLarsson/Gu.Wpf.ToolTips
Gu.Wpf.ToolTips.UiTests/Images/ScriptAttribute.cs
Gu.Wpf.ToolTips.UiTests/Images/ScriptAttribute.cs
namespace Gu.Wpf.ToolTips.UiTests { using NUnit.Framework; [System.Diagnostics.Conditional("DEBUG")] public sealed class ScriptAttribute : TestAttribute { } }
namespace Gu.Wpf.ToolTips.UiTests { using NUnit.Framework; [System.Diagnostics.Conditional("DEBUG")] public class ScriptAttribute : TestAttribute { } }
mit
C#
7e3878deae3f86e905b7a244981bb371abc2dca7
Increment versions
SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk
SnapMD.ConnectedCare.Sdk/Properties/AssemblyInfo.cs
SnapMD.ConnectedCare.Sdk/Properties/AssemblyInfo.cs
// Copyright 2015 SnapMD, 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.org/licenses/LICENSE-2.0 // Unless required by applicable law or ag...
// Copyright 2015 SnapMD, 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.org/licenses/LICENSE-2.0 // Unless required by applicable law or ag...
apache-2.0
C#
d245cf7a1c3aaf83059b1ac126e5546d9fbdf9dd
Implement king movement logic in NormalKingMovement.cs
totkov/ChessGameEngine
Source/Chess.Source/Movements/NormalKingMovement.cs
Source/Chess.Source/Movements/NormalKingMovement.cs
namespace Chess.Source.Movements { using System; using Chess.Source.Board.Contracts; using Chess.Source.Common; using Chess.Source.Figures.Contracts; using Chess.Source.Movements.Contracts; public class NormalKingMovement : IMovement { public void VlidateMove(IFigure figure, IBoar...
namespace Chess.Source.Movements { using Chess.Source.Board.Contracts; using Chess.Source.Common; using Chess.Source.Figures.Contracts; using Chess.Source.Movements.Contracts; public class NormalKingMovement : IMovement { public void VlidateMove(IFigure figure, IBoard board, Move move)...
mit
C#
a56906b83f14787cbfdc967b3fa787433e9ea453
Adjust collection editor to list by milestone
NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
Assets/Editor/MicrogameCollectionEditor.cs
Assets/Editor/MicrogameCollectionEditor.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using System.Linq; [CustomEditor(typeof(MicrogameCollection))] public class MicrogameCollectionEditor : Editor { MicrogameCollection collection; private List<MicrogameList> microgames; private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(MicrogameCollection))] public class MicrogameCollectionEditor : Editor { public override void OnInspectorGUI() { MicrogameCollection collection = (MicrogameCollection)target; if (GUILayout.Butt...
mit
C#
1b44f870097bf51b378c61c3442c0e139b8babbd
fix standalone
soulgame/slua,luzexi/slua-3rd-lib,jiangzhhhh/slua,luzexi/slua-3rd-lib,soulgame/slua,soulgame/slua,yaukeywang/slua,haolly/slua_source_note,jiangzhhhh/slua,yaukeywang/slua,yaukeywang/slua,haolly/slua_source_note,soulgame/slua,haolly/slua_source_note,yaukeywang/slua,soulgame/slua,yaukeywang/slua,luzexi/slua-3rd,jiangzhhhh...
Assets/Plugins/Slua_Managed/SLuaSetting.cs
Assets/Plugins/Slua_Managed/SLuaSetting.cs
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // 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 right...
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // 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...
mit
C#
d88d08532ee7259edd65d77659180430ab340da3
fix Quit menu option.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/Commands/SystemCommands.cs
WalletWasabi.Gui/Shell/Commands/SystemCommands.cs
using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using AvalonStudio.Commands; using ReactiveUI; using System; using System.Composition; using WalletWasabi.Helpers; using WalletWasabi.Logging; namespace WalletWasabi.Gui.Shell.Commands { internal class SystemCommands { public Global Global { get; } [...
using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using AvalonStudio.Commands; using ReactiveUI; using System; using System.Composition; using WalletWasabi.Helpers; using WalletWasabi.Logging; namespace WalletWasabi.Gui.Shell.Commands { internal class SystemCommands { public Global Global { get; } [...
mit
C#
e4004e80beea1d0a38ba93083a5685203886e12f
Use coroutine for recharge
ne1ro/desperation
Assets/Scripts/Shot.cs
Assets/Scripts/Shot.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Shot : MonoBehaviour { public float fireRate = 1.5f; // Battle fire rate is 40 per minute for single shots public int cartridgeCount = 30; public float chargeInterval = 3.5f; public int distance = 1500; // Penetration distance, us...
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Shot : MonoBehaviour { public float fireRate = 1.5f; // Battle fire rate is 40 per minute for single shots public int cartridgeCount = 30; public float chargeInterval = 3.5f; public int distance = 1500; // Penetration distance, us...
mit
C#
daed20f1acba30d1a4603f6ed4b1528187b283eb
Update version string to 4.4.1
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
/******* Copyright 2017-2021 FUJITSU CLOUD TECHNOLOGIES LIMITED 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 requir...
/******* Copyright 2017-2021 FUJITSU CLOUD TECHNOLOGIES LIMITED 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 requir...
apache-2.0
C#
fef2581d4d854bfd0f4a232fc25e1c31fe64e3ae
Change password view reimplementation
SpaceTrafficDevelopers/SpaceTraffic,SpaceTrafficDevelopers/SpaceTraffic,SpaceTrafficDevelopers/SpaceTraffic,SpaceTrafficDevelopers/SpaceTraffic
GameUi/Views/Account/ChangePassword.cshtml
GameUi/Views/Account/ChangePassword.cshtml
@model SpaceTraffic.GameUi.Models.ChangePasswordModel @{ ViewBag.Title = "Změna hesla"; } <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script> <div class="ajax" ...
@model SpaceTraffic.GameUi.Models.ChangePasswordModel @{ ViewBag.Title = "Change Password"; } <h2>Change Password</h2> <p> Use the form below to change your password. </p> <p> New passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length. </p> <script src="@Ur...
apache-2.0
C#
99280db69487c1f0b8542031c8d6037fe875084e
Add note about AlwaysPresent requirement
peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,ppy/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu
osu.Game/Rulesets/Mods/ModCinema.cs
osu.Game/Rulesets/Mods/ModCinema.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.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.UI; using osu.Game.Screens.Play; namespace osu.Ga...
// 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.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.UI; using osu.Game.Screens.Play; namespace osu.Ga...
mit
C#
497f20d818ab28b5a3d49d22c1a5666760bbdca6
Fix bug in default nav for shared folders link
brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net
src/web/Views/Shared/_Nav.cshtml
src/web/Views/Shared/_Nav.cshtml
@{ var pages = Pages; } <ul class="nav navbar-nav navbar-right"> @foreach (var p in pages) { @Html.Partial("_PageNavigation", p) } @if (Settings.ShowSharedFoldersInMenus && SharedFoldersLinkIsAvailable()) { <li> @SharedFoldersLink() </li> } </ul>
@{ var pages = Pages; } <ul class="nav navbar-nav navbar-right"> @foreach (var p in pages) { @Html.Partial("_PageNavigation", p) } @if (Settings.ShowSharedFoldersInMenus) { <li> @SharedFoldersLink() </li> } </ul>
apache-2.0
C#
8aad8a5d64670f3390034ae4177e9257c40c88d1
Simplify MethodReplacer and keep backwards compatibility
pardeike/Harmony
Harmony/Transpilers.cs
Harmony/Transpilers.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Harmony { public static class Transpilers { public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to) { if (from == n...
using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace Harmony { public static class Transpilers { private static IEnumerable<CodeInstruction> Replacer(IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode opcode) { if (from...
mit
C#
ab6ff87a73b9d707176de8f15d5cd81cf2f5a70c
Fix spacing.
AvaloniaUI/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avaloni...
src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/ResourceInclude.cs
src/Markup/Avalonia.Markup.Xaml/MarkupExtensions/ResourceInclude.cs
using System; using System.ComponentModel; using Avalonia.Controls; #nullable enable namespace Avalonia.Markup.Xaml.MarkupExtensions { /// <summary> /// Loads a resource dictionary from a specified URL. /// </summary> public class ResourceInclude : IResourceProvider { private Uri? _baseUr...
using System; using System.ComponentModel; using Avalonia.Controls; #nullable enable namespace Avalonia.Markup.Xaml.MarkupExtensions { /// <summary> /// Loads a resource dictionary from a specified URL. /// </summary> public class ResourceInclude : IResourceProvider { private Uri? _baseUr...
mit
C#
cef2837c49d163a49641d8cf7df722b9433aa29c
Check for int.MaxValue when incrementing retry counter
michael-wolfenden/Polly
src/Polly.Shared/Retry/RetryPolicyStateWithSleepDurationProvider.cs
src/Polly.Shared/Retry/RetryPolicyStateWithSleepDurationProvider.cs
using System; using Polly.Utilities; namespace Polly.Retry { internal partial class RetryPolicyStateWithSleepDurationProvider : IRetryPolicyState { private int _errorCount; private readonly Func<int, TimeSpan> _sleepDurationProvider; private readonly Action<Exception, TimeSpan, Context...
using System; using Polly.Utilities; namespace Polly.Retry { internal partial class RetryPolicyStateWithSleepDurationProvider : IRetryPolicyState { private int _errorCount; private readonly Func<int, TimeSpan> _sleepDurationProvider; private readonly Action<Exception, TimeSpan, Context...
bsd-3-clause
C#
3189ce75ae8a990912729aaa8296670a2bddff77
throw exception if duplicate content app aliases are found
WebCentrum/Umbraco-CMS,arknu/Umbraco-CMS,rasmuseeg/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,leekelleher/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,arknu/Umbraco-CMS,tompipe/Umbraco-CMS,umbraco/Um...
src/Umbraco.Web/ContentApps/ContentAppDefinitionCollection.cs
src/Umbraco.Web/ContentApps/ContentAppDefinitionCollection.cs
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Models.ContentEditing; using Umbraco.Core.Logging; namespace Umbraco.Web.ContentApps { public class ContentAppDefinitionCollection : BuilderCollectionBase<IContentAppDefinition> ...
using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Models.ContentEditing; namespace Umbraco.Web.ContentApps { public class ContentAppDefinitionCollection : BuilderCollectionBase<IContentAppDefinition> { public ContentAppDefinitionC...
mit
C#
25e16943815859cd2a8228605646523b2ffcf16c
move to version 2.1
puco/WebApiContrib.Formatting.Jsonp,WebApiContrib/WebApiContrib.Formatting.Jsonp,puco/WebApiContrib.Formatting.Jsonp,WebApiContrib/WebApiContrib.Formatting.Jsonp
src/WebApiContrib.Formatting.Jsonp/Properties/AssemblyInfo.cs
src/WebApiContrib.Formatting.Jsonp/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("Web...
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("Web...
mit
C#
80b237aa2dc634e09db15d10f4163d3c84451173
Fix bad conflict resolution which caused mulitple entries
sharwell/roslyn,weltkante/roslyn,bartdesmet/roslyn,sharwell/roslyn,KevinRansom/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,KevinRansom/roslyn,dotnet/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,mavasani/roslyn,CyrusNajma...
src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs
src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; ...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; ...
mit
C#
6bff072cd8ab31060073e5cd71e57427f02ef0fa
change JsonError to RawBody in BizwebSharpException
vinhch/BizwebSharp
src/BizwebSharp/Infrastructure/Exceptions/BizwebSharpException.cs
src/BizwebSharp/Infrastructure/Exceptions/BizwebSharpException.cs
using System; using System.Collections.Generic; using System.Net; namespace BizwebSharp.Infrastructure { public class BizwebSharpException : Exception { public BizwebSharpException(string message) : base(message) { } public BizwebSharpException(string message, Exception innerE...
using System; using System.Collections.Generic; using System.Net; namespace BizwebSharp.Infrastructure { public class BizwebSharpException : Exception { public BizwebSharpException(string message) : base(message) { } public BizwebSharpException(string message, Exception innerE...
mit
C#
d54396302896821dc2de4518bd13b98a386cefd5
Remove the reading of the response... extra overhead not needed
mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototyp...
src/Glimpse.Agent.Channel.Server.Http/Broker/HttpChannelSender.cs
src/Glimpse.Agent.Channel.Server.Http/Broker/HttpChannelSender.cs
using System; using System.Net.Http; using System.Threading.Tasks; namespace Glimpse.Agent { public class HttpChannelSender : IChannelSender, IDisposable { private readonly HttpClient _httpClient; private readonly HttpClientHandler _httpHandler; public HttpChannelSender() { ...
using System; using System.Net.Http; using System.Threading.Tasks; namespace Glimpse.Agent { public class HttpChannelSender : IChannelSender, IDisposable { private readonly HttpClient _httpClient; private readonly HttpClientHandler _httpHandler; public HttpChannelSender() { ...
mit
C#
31d2080b54ea52ef09078bcd23e7b7c3dea3db2b
Order apps by name
appharbor/appharbor-cli
src/AppHarbor/Commands/AppCommand.cs
src/AppHarbor/Commands/AppCommand.cs
using System.IO; using System.Linq; namespace AppHarbor.Commands { [CommandHelp("List your applications")] public class AppCommand : ICommand { private readonly IAppHarborClient _client; private readonly TextWriter _writer; public AppCommand(IAppHarborClient appharborClient, TextWriter writer) { _clien...
using System.IO; namespace AppHarbor.Commands { [CommandHelp("List your applications")] public class AppCommand : ICommand { private readonly IAppHarborClient _client; private readonly TextWriter _writer; public AppCommand(IAppHarborClient appharborClient, TextWriter writer) { _client = appharborClient...
mit
C#
f74a71cf904a830ab4587dc1864cf71c0227959e
Fix spelling
ewilde/crane,ewilde/crane
src/crane.core.tests/Configuration/Modules/CommandModulesTests.cs
src/crane.core.tests/Configuration/Modules/CommandModulesTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Autofac; using crane.console.Configuration.Modules; using crane.core.Commands; using crane.core.tests.TestExtensions; using FluentAssertions; using Xbehave; using Xunit; namespace crane.core.tests.Configuration.Module...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Input; using Autofac; using crane.console.Configuration.Modules; using crane.core.Commands; using crane.core.tests.TestExtensions; using FluentAssertions; using Xbehave; using Xunit; namespace crane.core.tests.Configuration.Module...
apache-2.0
C#
c892ab4cc5fcf68b6eb80cace69b659e000f0b5d
Refactor sim.exe
sergeyshushlyapin/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager,dsolovay/Sitecore-Instance-Manager
src/SIM.Core/Commands/StopCommand.cs
src/SIM.Core/Commands/StopCommand.cs
namespace SIM.Core.Commands { using System; using System.Linq; using Sitecore.Diagnostics.Base; using SIM.Core.Common; using SIM.Instances; public class StopCommand : AbstractInstanceActionCommand<Exception> { public virtual bool? Force { get; set; } protected override void DoExecute(CommandResu...
namespace SIM.Core.Commands { using System; using System.Linq; using Sitecore.Diagnostics.Base; using SIM.Core.Common; using SIM.Instances; public class StopCommand : AbstractInstanceActionCommand<Exception> { public virtual bool? Force { get; set; } protected override void DoExecute(CommandResu...
mit
C#
66d153a57a097cbe9463f29c7f0385ff1faef8da
fix hashCode for Instructions
ilovepi/Compiler,ilovepi/Compiler
compiler/middleend/ir/Instruction.cs
compiler/middleend/ir/Instruction.cs
using System; namespace compiler.middleend.ir { public class Instruction : IEquatable<Instruction> { /// <summary> /// The Instruction number /// </summary> /// <value>The number.</value> public int Num { get; set; } /// <summary> /// The op/op code /// </summary> /// <value>The op.</value> pub...
using System; namespace compiler.middleend.ir { public class Instruction : IEquatable<Instruction> { /// <summary> /// The Instruction number /// </summary> /// <value>The number.</value> public int Num { get; set; } /// <summary> /// The op/op code /// </summary> /// <value>The op.</value> pub...
mit
C#
2c638035ad6c9a2ffcf40a2a34a87c1fb267feaa
Add warning to /tools if JavaScript disabled
martincostello/website,martincostello/website,martincostello/website,martincostello/website
src/Website/Views/Tools/Index.cshtml
src/Website/Views/Tools/Index.cshtml
@inject BowerVersions Bower @inject SiteOptions Options @{ ViewBag.Title = ".NET Development Tools"; ViewBag.MetaDescription = ".NET Development Tools for generating GUIDs, machine keys and hashing text."; var clipboardVersion = Bower["clipboard"]; var toolsUri = Options.ExternalLinks.Api.AbsoluteUri ...
@inject BowerVersions Bower @inject SiteOptions Options @{ ViewBag.Title = ".NET Development Tools"; ViewBag.MetaDescription = ".NET Development Tools for generating GUIDs, machine keys and hashing text."; var clipboardVersion = Bower["clipboard"]; var toolsUri = Options.ExternalLinks.Api.AbsoluteUri ...
apache-2.0
C#
a8e404599a1272bc9803f94ba7b3542d3d707d39
Update Program.cs
codebude/QRCoder
QRCoderDemo/Program.cs
QRCoderDemo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace QRCoderDemo { static class Program { /// <summary> /// Der Haupteinstiegspunkt für die Anwendung. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace QRCoderDemo { static class Program { /// <summary> /// Der Haupteinstiegspunkt für die Anwendung. /// </summary> [STAThread] static void Main() { ...
mit
C#
ae4ea833d110aefb5bcac6bb7b4c611a1b5c3305
Fix Portal Bug
bunashibu/kikan
Assets/Scripts/Player/PlayerPortal.cs
Assets/Scripts/Player/PlayerPortal.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { public class PlayerPortal : MonoBehaviour { void OnTriggerStay2D(Collider2D collider) { if (!_player.PhotonView.isMine) return; GameObject target = collider.gameObject; if (targ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { public class PlayerPortal : MonoBehaviour { void OnTriggerStay2D(Collider2D collider) { GameObject target = collider.gameObject; if (target.layer == LayerMask.NameToLayer(_portalLayerName)) { ...
mit
C#
6b49486bac8df5f3ba219b508438d34df85c3e53
update 后退时候保持前一个页面的状态
MarcusTzaen/CNodeUwp
src/CNodeUwp/MainPage.xaml.cs
src/CNodeUwp/MainPage.xaml.cs
using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace CNodeUwp { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class MainPage : Page { public MainPage() { this.Initi...
using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 namespace CNodeUwp { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class MainPa...
mit
C#
30dd30276a1d43e466b43b83661eb1483f888761
Hide a defintion for internal use
DotNetKit/DotNetKit.Wpf.AutoCompleteComboBox
DotNetKit.Wpf.AutoCompleteComboBox/Windows/Media/VisualTreeModule.cs
DotNetKit.Wpf.AutoCompleteComboBox/Windows/Media/VisualTreeModule.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace DotNetKit.Windows.Media { static class VisualTreeModule { public sta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace DotNetKit.Windows.Media { public static class VisualTreeModule { pub...
mit
C#
4b748c88944e8f24fe17adea9170c225c64b596a
Update InsertingAColumn.cs
aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell...
Examples/CSharp/RowsColumns/InsertingAndDeleting/InsertingAColumn.cs
Examples/CSharp/RowsColumns/InsertingAndDeleting/InsertingAColumn.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting { public class InsertingAColumn { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.InsertingAndDeleting { public class InsertingAColumn { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells...
mit
C#
7693a58270bf1a9d60d97ed260c51de72011f776
Update DeviceSet
ChillyFlashER/OpenInput
src/Mallos.Input/DeviceSet.cs
src/Mallos.Input/DeviceSet.cs
namespace Mallos.Input { using Mallos.Input.Trackers; /// <summary> /// DeviceSet is a set of all devices that allows for easier usage of the library. /// </summary> public class DeviceSet<TKeyboard, TMouse, TGamePad> : IDeviceSet where TKeyboard : IKeyboard where TMouse : IMouse ...
namespace Mallos.Input { using Mallos.Input.Trackers; /// <summary> /// DeviceSet is a set of all devices that allows for easier usage of the library. /// </summary> public class DeviceSet<TKeyboard, TMouse, TGamePad> : IDeviceSet where TKeyboard : IKeyboard where TMouse : IMouse ...
mit
C#
2e0241c71b789a5a86941cb943df3492757d1014
Remove trailing whitespace in AssemblyInfo.cs
sharwell/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status,sharwell/StyleCop.Analyzers.Status,DotNetAnalyzers/StyleCopAnalyzers,pdelvo/StyleCop.Analyzers.Status,pdelvo/StyleCop.Analyzers.Status
StyleCop.Analyzers.Status.Generator/Properties/AssemblyInfo.cs
StyleCop.Analyzers.Status.Generator/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("Sty...
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#
f888126d566d0b121edac14f56f206fc8409b30a
Switch over ExecutionMessage to use TimerResultMessage instead of MessageBase
dudzon/Glimpse,Glimpse/Glimpse,elkingtonmcb/Glimpse,sorenhl/Glimpse,paynecrl97/Glimpse,dudzon/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,sorenhl/Glimpse,rho24/Glimpse,rho24/Glimpse,SusanaL/Glimpse,rho24/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,paynecrl97/Glimpse,Glimps...
source/Glimpse.Mvc3/Message/ExecutionMessage.cs
source/Glimpse.Mvc3/Message/ExecutionMessage.cs
using System; using System.Reflection; using System.Web.Mvc; using Glimpse.Core.Extensibility; using Glimpse.Core.Message; namespace Glimpse.Mvc.Message { public class ExecutionMessage : TimerResultMessage, IExecutionMessage { public ExecutionMessage(FilterCategory? filterCategory, Type filterType, Me...
using System; using System.Reflection; using System.Web.Mvc; using Glimpse.Core.Extensibility; using Glimpse.Core.Message; namespace Glimpse.Mvc.Message { public class ExecutionMessage : MessageBase, IExecutionMessage, ITimerResultMessage { public ExecutionMessage(FilterCategory? filterCategory, Type ...
apache-2.0
C#
318086ff6d1323eb064916bf13a21b01a522bec9
Put AMEE Ribbon Panel under Analyze tab
AMEE/revit
src/AMEE-in-Revit.Addin/AMEEPanel.cs
src/AMEE-in-Revit.Addin/AMEEPanel.cs
using System; using System.IO; using System.Windows.Forms; using System.Windows.Media.Imaging; using Autodesk.Revit.UI; namespace AMEE_in_Revit.Addin { public class AMEEPanel : IExternalApplication { // ExternalCommands assembly path static string AddInPath = typeof(AMEEPanel).Assembly.Locatio...
using System; using System.IO; using System.Windows.Forms; using System.Windows.Media.Imaging; using Autodesk.Revit.UI; namespace AMEE_in_Revit.Addin { public class AMEEPanel : IExternalApplication { // ExternalCommands assembly path static string AddInPath = typeof(AMEEPanel).Assembly.Locatio...
bsd-3-clause
C#
dc7e762f9ea894b6e0ca1da513673e70feb15b29
Format Signature
carbon/Amazon
src/Amazon.Core/Helpers/Signature.cs
src/Amazon.Core/Helpers/Signature.cs
#nullable enable using System; using System.Security.Cryptography; using System.Text; using Amazon.Helpers; namespace Amazon { internal readonly struct Signature { public Signature(byte[] data) { Data = data; } public byte[] Data { get; } ...
using System; using System.Security.Cryptography; using System.Text; namespace Amazon { using Helpers; internal readonly struct Signature { public Signature(byte[] data) { Data = data ?? throw new ArgumentNullException(nameof(data)); } public by...
mit
C#
c1a72ecb068bb9b39278b5c705b8b5c0d45dea39
Update Info for Dan Rigby (#152)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/DanRigby.cs
src/Firehose.Web/Authors/DanRigby.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DanRigby : IWorkAtXamarinOrMicrosoft { public string FirstName => "Dan"; public string LastName => "Rigby"; public string ShortBioOrTagLine => "is a Xamarin ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DanRigby : IWorkAtXamarinOrMicrosoft { public string FirstName => "Dan"; public string LastName => "Rigby"; public string ShortBioOrTagLine => string.Empty; ...
mit
C#
bac654e3aa91077c4fd81e66ea21fff1e5c1d40b
Update on hourglass script. Still not in action
brunopagno/abandon-gds
Assets/Scripts/Controls/Hourglass.cs
Assets/Scripts/Controls/Hourglass.cs
using UnityEngine; using System.Collections; public class Hourglass : Trigger { public GameObject cutsceneObject; public Animator cutScene; void Start() { //cutScene = cutsceneObject.GetComponent<Animator>(); } public override void Activate() { UtilControls.Freeze(); cut...
using UnityEngine; using System.Collections; public class Hourglass : Trigger { public Animator cutScene; public override void Activate() { UtilControls.Freeze(); cutScene.Play("cutscene"); GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCu...
mit
C#
61e7b1c6bbf5cae0fdb339490725da22cebc4f2d
Fix automation name (for narrator) of the project combo box entries in the add environment dialog. (#5101)
zooba/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,huguesv/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,Microsoft/PTVS,zooba/PTVS,int19h/PTVS,Microsoft/PTVS,int19h/PTVS,Microsoft/PTVS,int19h/PTVS,huguesv/PTVS,zooba/PTVS,Microsoft/PTVS,zooba/PTVS,huguesv/PTVS,huguesv/PTVS,Microsoft/PTVS
Python/Product/PythonTools/PythonTools/Environments/ProjectView.cs
Python/Product/PythonTools/PythonTools/Environments/ProjectView.cs
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // 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 //...
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 //...
apache-2.0
C#
941cc16250e325dc0fc2c8b1dd2c6423df309af9
Save files as UTF-8 for consistency.
fixie/fixie
src/Fixie.Execution/Listeners/ReportListener.cs
src/Fixie.Execution/Listeners/ReportListener.cs
namespace Fixie.Execution.Listeners { using System; using System.IO; using System.Xml.Linq; public class ReportListener<TXmlFormat> : Handler<AssemblyStarted>, Handler<ClassStarted>, Handler<CaseCompleted>, Handler<ClassCompleted>, Handler<AssemblyCompleted> ...
namespace Fixie.Execution.Listeners { using System; using System.IO; using System.Xml.Linq; public class ReportListener<TXmlFormat> : Handler<AssemblyStarted>, Handler<ClassStarted>, Handler<CaseCompleted>, Handler<ClassCompleted>, Handler<AssemblyCompleted> ...
mit
C#
8205c253834d7b49d80590ffb4b84b736f6d9d60
Increment the Standalone Assembly Version
etodd/Steamworks.NET,rlabrecque/Steamworks.NET,itamargreen/Steamworks.NET,rlabrecque/Steamworks.NET,rlabrecque/Steamworks.NET,GoeGaming/Steamworks.NET,Gert-Jan/Steamworks.NET,Yukinii/Async-Await-Steamworks.NET,rlabrecque/Steamworks.NET
Standalone/Properties/AssemblyInfo.cs
Standalone/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#