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
4813bb47f72d556a0512eab18e65df4b7fa6cd15
fix crash on twitch connector
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/TwitchConnector.cs
TCC.Core/TwitchConnector.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.ViewModels; using TwitchLib; using TwitchLib.Models.Client; namespace TCC { public class TwitchConnector { private static TwitchConnector _instance; public static Twitc...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TCC.ViewModels; using TwitchLib; using TwitchLib.Models.Client; namespace TCC { public class TwitchConnector { private static TwitchConnector _instance; public static Twitc...
mit
C#
0c3c93959e00d3903ef20844892bb3fa8998d14c
Add IssueMethodsTest class
ats124/backlog4net
src/Backlog4net.Test/IssueMethodsTest.cs
src/Backlog4net.Test/IssueMethodsTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Backlog4net.Test { using Api; using Api.Option; using Conf; using TestConfig; [TestClass] public class IssueMethods...
//using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; //using System.Threading.Tasks; //using Microsoft.VisualStudio.TestTools.UnitTesting; //namespace Backlog4net.Test //{ // using Api; // using Api.Option; // using Conf; // using TestConfig; // [TestClass] // ...
mit
C#
9529ba649f86891cb87545c2d2850908a05bdd14
Use overloads instead of optional parameters
jamesfoster/DeepEqual
src/DeepEqual/Syntax/ObjectExtensions.cs
src/DeepEqual/Syntax/ObjectExtensions.cs
namespace DeepEqual.Syntax { using System; using System.Diagnostics.Contracts; using System.Text; public static class ObjectExtensions { [Pure] public static bool IsDeepEqual(this object actual, object expected) { return IsDeepEqual(actual, expected, null); } [Pure] public static bool IsDeepEqual...
namespace DeepEqual.Syntax { using System; using System.Diagnostics.Contracts; using System.Text; public static class ObjectExtensions { [Pure] public static bool IsDeepEqual(this object actual, object expected, IComparison comparison = null) { comparison = comparison ?? new ComparisonBuilder().Create()...
mit
C#
9f7ff73417ab7164e3e001ce1979e764fd998522
Update HarmVeenstra.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/HarmVeenstra.cs
src/Firehose.Web/Authors/HarmVeenstra.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class HarmVeenstra : IAmACommunityMember { public string FirstName => "Harm"; public string LastName...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class HarmVeenstra : IAmACommunityMember { public string FirstName => "Harm"; public string LastName...
mit
C#
b0fb28dd4ebfbf9ce9052cf9a6c0f0d85c87284c
Make tests use console log handler
bizcad/LeanJJN,kaffeebrauer/Lean,bdilber/Lean,FrancisGauthier/Lean,JKarathiya/Lean,Obawoba/Lean,dalebrubaker/Lean,bizcad/LeanAbhi,florentchandelier/Lean,florentchandelier/Lean,iamkingmaker/Lean,AnObfuscator/Lean,bizcad/LeanITrend,desimonk/Lean,QuantConnect/Lean,Phoenix1271/Lean,bizcad/LeanITrend,AlexCatarino/Lean,tomhu...
Tests/AssemblyInitialize.cs
Tests/AssemblyInitialize.cs
using NUnit.Framework; using QuantConnect.Logging; [SetUpFixture] public class AssemblyInitialize { [SetUp] public void SetLogHandler() { // save output to file as well Log.LogHandler = new ConsoleLogHandler(); } }
using NUnit.Framework; using QuantConnect.Logging; [SetUpFixture] public class AssemblyInitialize { [SetUp] public void SetLogHandler() { // save output to file as well Log.LogHandler = new CompositeLogHandler(); } }
apache-2.0
C#
a50c1c5a2a892f3b003b4e57dd09f3fa70fccd7c
Bump version to 0.30.4
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
754fca043b709e22e4152d0d09815f47f5e9e446
Update version
akordowski/Cake.Compression,akordowski/Cake.Compression
src/Cake.Compression/Properties/AssemblyInfo.cs
src/Cake.Compression/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
mit
C#
c88947bdcf04063d695a4531f0055a8dfd5770b0
support array parameter data type
sebastianhoffmann/querybuilder
src/Deviax.QueryBuilder.Postgres/UnnestTable.cs
src/Deviax.QueryBuilder.Postgres/UnnestTable.cs
using System; using System.Collections.Generic; using Deviax.QueryBuilder.Parts; using Deviax.QueryBuilder.Visitors; using NpgsqlTypes; namespace Deviax.QueryBuilder { public class UnnestTable : Table { public UnnestTable(string alias) : base(null, null, alias) { } internal List<IParameter> P...
using System.Collections.Generic; using Deviax.QueryBuilder.Parts; using Deviax.QueryBuilder.Visitors; namespace Deviax.QueryBuilder { public class UnnestTable : Table { public UnnestTable(string alias) : base(null, null, alias) { } internal List<IParameter> Parameters = new List<IParameter>(...
mit
C#
aa91087cecac6fafba0ef2730b319f43a7684c12
fix after merge
Elders/Cronus,Elders/Cronus
src/Elders.Cronus/InMemory/InMemoryPublisher.cs
src/Elders.Cronus/InMemory/InMemoryPublisher.cs
using Elders.Cronus.Logging; using Elders.Cronus.MessageProcessing; using Elders.Cronus.Multitenancy; namespace Elders.Cronus.InMemory { public class InMemoryPublisher<TContract> : Publisher<TContract> where TContract : IMessage { static readonly ILog log = LogProvider.GetLogger(typeof(InMemoryPublish...
using Elders.Cronus.Logging; using Elders.Cronus.MessageProcessing; using Elders.Cronus.Multitenancy; namespace Elders.Cronus.InMemory { public class InMemoryPublisher<TContract> : Publisher<TContract> where TContract : IMessage { static readonly ILog log = LogProvider.GetLogger(typeof(InMemoryPublish...
apache-2.0
C#
ac1d79dc47d51d8f6a1c07e33726f0674aa56659
Check line ending fix
AntyaDev/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,mhertis/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,AntyaDev/Orleankka,mhertis/Orleankka,pkese/Orleankka,pkese/Orleankka
Source/Demo.App/ServiceLocator.cs
Source/Demo.App/ServiceLocator.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleankka.Cluster; namespace Demo { public static class ServiceLocator { public static ITopicStorage TopicStorage { get; private set; } public class Bootstrap : Bootstrapper<I...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleankka.Cluster; namespace Demo { public static class ServiceLocator { public static ITopicStorage TopicStorage { get; private set; } public class Bootstrap : Bootstrapper<ID...
apache-2.0
C#
d20cada6f8d16b61682c707ad32fa1fbf4ef813e
Fix incorrect type passed into the xml serializer for CheckinEventService
timclipsham/tfs-hipchat
TfsHipChat/CheckinEventService.cs
TfsHipChat/CheckinEventService.cs
using System.IO; using System.Xml.Serialization; using Microsoft.TeamFoundation.VersionControl.Common; namespace TfsHipChat { public class CheckinEventService : IEventService { private INotifier _notifier; public CheckinEventService() { } public CheckinE...
using System.IO; using System.Xml.Serialization; using Microsoft.TeamFoundation.VersionControl.Common; namespace TfsHipChat { public class CheckinEventService : IEventService { private INotifier _notifier; public CheckinEventService() { } public CheckinE...
mit
C#
a181622aab3d0650626279473a0a214ffb63d268
Allow selection of multiple folders (BGO#586946)
allquixotic/banshee-gst-sharp-work,mono-soc-2011/banshee,Dynalon/banshee-osx,Dynalon/banshee-osx,Dynalon/banshee-osx,arfbtwn/banshee,mono-soc-2011/banshee,stsundermann/banshee,Carbenium/banshee,allquixotic/banshee-gst-sharp-work,GNOME/banshee,mono-soc-2011/banshee,directhex/banshee-hacks,petejohanson/banshee,petejohans...
src/Core/Banshee.ThickClient/Banshee.Library.Gui/FolderImportSource.cs
src/Core/Banshee.ThickClient/Banshee.Library.Gui/FolderImportSource.cs
// // FolderImportSource.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2006-2007 Novell, Inc. // // 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 r...
// // FolderImportSource.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2006-2007 Novell, Inc. // // 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 r...
mit
C#
ee188a0f899a0fa3a02bee60e6bfd2e4092ca877
Fix in creating subcontainers for guilotine cut.
Ervie/PackingProblem
BinPackingProblem/Logic.Domain/Containers/2D/Guillotine/GuillotineCutContainer2D.cs
BinPackingProblem/Logic.Domain/Containers/2D/Guillotine/GuillotineCutContainer2D.cs
using Logic.Domain.Figures; using Logic.Domain.Objects; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Logic.Domain.Containers._2D.Guillotine { public abstract class GuillotineCutContainer2D : Container2D { public GuillotineCutContaine...
using Logic.Domain.Figures; using Logic.Domain.Objects; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Logic.Domain.Containers._2D.Guillotine { public abstract class GuillotineCutContainer2D : Container2D { public GuillotineCutContaine...
mit
C#
a0a1ec681fd6aab0c072769616e95ff25a151591
Annotate System.Resources.ResourceWriter for nullable ref types (#41880)
poizan42/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr
src/System.Private.CoreLib/shared/System/Resources/ResourceTypeCode.cs
src/System.Private.CoreLib/shared/System/Resources/ResourceTypeCode.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Resources { /* An internal implementation detail for .resources files, describing what t...
// 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. /*============================================================ ** ** ** ** ** ** Purpose: Marker for types in .resou...
mit
C#
37a0859d70d0c8a187ce55d89167407855a0e74a
Return false as a get value for ClosePortOnReboot for DeadSessionController
tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Host/Components/Watchdog/DeadSessionController.cs
src/Tgstation.Server.Host/Components/Watchdog/DeadSessionController.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Tgstation.Server.Host.Components.Watchdog { /// <summary> /// Implements a fake "dead" <see cref="ISessionController"/> /// </summary> sealed class DeadSessionController : ISessionController { /// <inheritdoc /> public Task<LaunchR...
using System; using System.Threading; using System.Threading.Tasks; namespace Tgstation.Server.Host.Components.Watchdog { /// <summary> /// Implements a fake "dead" <see cref="ISessionController"/> /// </summary> sealed class DeadSessionController : ISessionController { /// <inheritdoc /> public Task<LaunchR...
agpl-3.0
C#
b54ffba59bd9885934957117cac46f58c4b7b7b0
Add some documentation to the Module class.
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/Dolstagis.Web/Module.cs
src/Dolstagis.Web/Module.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dolstagis.Web.Routing; namespace Dolstagis.Web { /// <summary> /// A container for services and configuration for one part of the application. /// Modules can be enabled o...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dolstagis.Web.Routing; namespace Dolstagis.Web { public class Module { public virtual string Description { get { return String.Empty; } } public bool Enabled ...
mit
C#
ed77b7b3f44b3d8a8549844ff3ed4baf2325c391
remove IDevice from interface
nicolgit/demo-xamarin-heartrate-ble
src/IHeartRateEnumerator.cs
src/IHeartRateEnumerator.cs
using System; namespace CaledosLab.Runner.Commons.Abstractions { interface IHeartRateEnumerator { bool StartDeviceScan(); bool StopDeviceScan(); event EventHandler<string> DeviceScanUpdate; event EventHandler DeviceScanTimeout; } }
using System; using Plugin.BLE.Abstractions.Contracts; namespace CaledosLab.Runner.Commons.Abstractions { interface IHeartRateEnumerator { bool StartDeviceScan(); bool StopDeviceScan(); event EventHandler<string> DeviceScanUpdate; event EventHandler DeviceScanTimeout; } }
mit
C#
a02c6c4a8dc641acf0254e6bcdd5728c11972de3
Update Ring.cs
googlevr/daydream-elements
Assets/DaydreamElements/Elements/SwipeMenu/Demo/Scripts/Ring.cs
Assets/DaydreamElements/Elements/SwipeMenu/Demo/Scripts/Ring.cs
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
apache-2.0
C#
3cfb4a7b70c20c02b5833e5d158831a3d6a17476
Fix for automapper castle component
makingsensetraining/angular-webapi,makingsensetraining/angular-webapi,makingsensetraining/angular-webapi
Source/Hiperion/Hiperion/Infrastructure/Ioc/WindsorInstaller.cs
Source/Hiperion/Hiperion/Infrastructure/Ioc/WindsorInstaller.cs
namespace Hiperion.Infrastructure.Ioc { #region References using System.Configuration; using System.Web.Http; using AutoMapper; using Automapper; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using EF; ...
namespace Hiperion.Infrastructure.Ioc { #region References using System.Configuration; using System.Web.Http; using AutoMapper; using Automapper; using Castle.MicroKernel.Registration; using Castle.MicroKernel.SubSystems.Configuration; using Castle.Windsor; using EF; ...
mit
C#
61d898d70982d8a3ce8317ffa717165a800195f1
Make ConvertPath to allow this functionality to be modified to allow for slashes in path
DigDes/SoapCore
src/SoapCore/TrailingServicePathTuner.cs
src/SoapCore/TrailingServicePathTuner.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SoapCore { /// <summary> /// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc /// Regi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SoapCore { /// <summary> /// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc /// Regi...
mit
C#
8cbc96476b74a72925f9f14ed0eb062882a4a29d
Revert "Revert "Modified the Import class""
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelImport.cs
src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelImport.cs
using NPOI; namespace GiveCRM.ImportExport { public class ExcelImport { } }
namespace GiveCRM.ImportExport { public class ExcelImport { } }
mit
C#
0c860e999bc3c5ffa44b5db2daf47c0edbfbb678
Reimplement after merge
leekelleher/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,NikRimington/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,leekelleher/Um...
src/Umbraco.Web/WebApi/Filters/HttpQueryStringModelBinder.cs
src/Umbraco.Web/WebApi/Filters/HttpQueryStringModelBinder.cs
using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; namespace Umbraco.Web.WebApi.Filters { /// <summary> /// Allows an Action to execute with an arbitrary number of QueryStrings /// </summary> ///...
using System.Collections.Generic; using System.Net.Http.Formatting; using System.Web.Http.Controllers; using System.Web.Http.ModelBinding; namespace Umbraco.Web.WebApi.Filters { /// <summary> /// Allows an Action to execute with an arbitrary number of QueryStrings /// </summary> /// <remarks> /// ...
mit
C#
7d1a8a286f022e4e1e58c070cae1a30f6b028a6f
Update comment.
CountrySideEngineer/Ev3Controller
dev/src/Ev3Controller/Ev3Command/Command_20.cs
dev/src/Ev3Controller/Ev3Command/Command_20.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ev3Controller.Ev3Command { public abstract class Command_20 : ACommand_ResLenFlex { #region Constructors and the Finalizer /// <summary> /// Constru...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ev3Controller.Ev3Command { public abstract class Command_20 : ACommand_ResLenFlex { #region Constructors and the Finalizer public Command_20(ICommandParam Co...
mit
C#
6ff3497c693f3c2231217a2b0ae662f52a32367b
Update Metrics.cs to support Sets metrics
goncalopereira/statsd-csharp-client,Pereingo/statsd-csharp-client,agileharbor/telegraf-client,bilal-fazlani/statsd-csharp-client,circleback/statsd-csharp-client,Kyle2123/statsd-csharp-client,DarrellMozingo/statsd-csharp-client
src/StatsdClient/Metrics.cs
src/StatsdClient/Metrics.cs
using System; namespace StatsdClient { public static class Metrics { private static Statsd _statsD; private static string _prefix; public static void Configure(MetricsConfig config) { if (config == null) { throw new ArgumentNullException("config"); } _prefix = config.Pref...
using System; namespace StatsdClient { public static class Metrics { private static Statsd _statsD; private static string _prefix; public static void Configure(MetricsConfig config) { if (config == null) { throw new ArgumentNullException("config"); } _prefix = config.Pref...
mit
C#
a88d922654707b6912b75cc14fbe0c14e70d0f3c
fix unit tests
aritters/Ritter,arsouza/Aritter,arsouza/Aritter
src/Aritter.Infra.Crosscutting.Tests/Logging/LoggerTest.cs
src/Aritter.Infra.Crosscutting.Tests/Logging/LoggerTest.cs
using Aritter.Infra.Crosscutting.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Aritter.Infra.Crosscutting.Tests.Logging { [TestClass] public class LoggerTest { [TestMethod] public void SetLoggerFactorySuccessfully() { LoggerFactory.SetCurrent(ne...
using Aritter.Infra.Crosscutting.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Aritter.Infra.Crosscutting.Tests.Logging { [TestClass] public class LoggerTest { [TestMethod] public void SetTypeAdpterFactorySuccessfully() { LoggerFactory.SetCurren...
mit
C#
26e80c3e4dd4c8518952061f2c8b04994531da8b
Fix rename which monodevelop missed.
rubenv/tripod,rubenv/tripod
src/Core/Tripod.Core/Tripod.Model/ICacheablePhotoSource.cs
src/Core/Tripod.Core/Tripod.Model/ICacheablePhotoSource.cs
// // ICacheablePhotoSource.cs // // Author: // Ruben Vermeersch <ruben@savanne.be> // // Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be> // // 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...
// // IRegisterablePhotoSource.cs // // Author: // Ruben Vermeersch <ruben@savanne.be> // // Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
mit
C#
2542aa85cfd8aee70ee2e2804ffe90ceaf0f1413
Remove old test
noobot/SlackConnector
src/SlackConnector.Tests.Unit/SlackConnectionTests/InboundMessageTests/PongTests.cs
src/SlackConnector.Tests.Unit/SlackConnectionTests/InboundMessageTests/PongTests.cs
using System; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Should; using SlackConnector.Connections.Sockets; using SlackConnector.Connections.Sockets.Messages.Inbound; using SlackConnector.Models; namespace SlackConnector.Tests.Unit.SlackConnectionTests.InboundMessageTests { internal clas...
using System; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Should; using SlackConnector.Connections.Models; using SlackConnector.Connections.Sockets; using SlackConnector.Connections.Sockets.Messages.Inbound; using SlackConnector.Models; namespace SlackConnector.Tests.Unit.SlackConnectionTest...
mit
C#
a4c37b6510391ead0b9a9aac95fd3211a1bba3ca
move Base32 alphabets behind properties
ssg/SimpleBase,ssg/SimpleBase32,ssg/SimpleBase
src/Base32Alphabet.cs
src/Base32Alphabet.cs
/* Copyright 2014-2016 Sedat Kapanoglu 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 agre...
/* Copyright 2014-2016 Sedat Kapanoglu 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 agre...
apache-2.0
C#
af44fed5204737674647b541aabc12cf6b7aab5b
Fix printer container name
larsbrubaker/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterC...
MatterControlLib/Library/Providers/SDCard/PrinterContainer.cs
MatterControlLib/Library/Providers/SDCard/PrinterContainer.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#
652c529f8f0baa2c4504c377bf0d17a1c7ca69cf
Fix ServerShutsDownWhenMainExits test (#1120)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/IISExpress.FunctionalTests/InProcess/ShutdownTests.cs
test/IISExpress.FunctionalTests/InProcess/ShutdownTests.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Server.IIS.FunctionalTests.Utilities; usi...
// 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.Threading.Tasks; using Microsoft.AspNetCore.Server.IIS.FunctionalTests.Utilities; using Microsoft.AspNetCore.Server.IntegrationTesting; usi...
apache-2.0
C#
84ede13d104f98749ff856d0f48b26542e3f30a0
add UseJSNLog overload for IApplicationBuilder
mperdeck/jsnlog
jsnlog/PublicFacing/AspNet5/Configuration/Middleware/ApplicationBuilderExtensions.cs
jsnlog/PublicFacing/AspNet5/Configuration/Middleware/ApplicationBuilderExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Logging; namespace JSNLog { public static class ApplicationBuilderExtensions { /// <summary> /// Normally, an ASP.NET 5 app would simply call this...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.AspNetCore.Builder; namespace JSNLog { public static class ApplicationBuilderExtensions { /// <summary> /// Normally, an ASP.NET 5 app would simply call this to insert JSNLog middleware into th...
mit
C#
4b7cbe87b5e8e02286466d325d8b5a0db1030ddb
Allow settings custom command line params.
ngs-doo/revenj,ngs-doo/revenj,tferega/revenj,tferega/revenj,ngs-doo/revenj,tferega/revenj,tferega/revenj,ngs-doo/revenj,ngs-doo/revenj
Code/Server/Revenj.Http/Program.cs
Code/Server/Revenj.Http/Program.cs
using System; using System.Configuration; using DSL; namespace Revenj.Http { static class Program { static void Main(string[] args) { foreach (var arg in args) { var i = arg.IndexOf('='); if (i != -1) { var name = arg.Substring(0, i); var value = arg.Substring(i + 1);...
using System; using DSL; namespace Revenj.Http { static class Program { static void Main(string[] args) { var server = Platform.Start<HttpServer>(); Console.WriteLine("Starting server"); server.Run(); } } }
bsd-3-clause
C#
c1023b873c17624e5822281f2e26e7aafa812751
Use BenchmarkRunner
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Benchmarks/Program.cs
tests/AdventOfCode.Benchmarks/Program.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Benchmarks { using BenchmarkDotNet.Running; /// <summary> /// A console application that runs ...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Benchmarks { using BenchmarkDotNet.Running; /// <summary> /// A console application that runs ...
apache-2.0
C#
3879bb4f02ed85686f17962211f272baf66e4f6d
Fix menu entry name
bartlomiejwolk/AnimatorController
Editor/AnimatorControllerEditor.cs
Editor/AnimatorControllerEditor.cs
using UnityEngine; using System.Collections; using UnityEditor; using Rotorz.ReorderableList; namespace AnimatorControllerEx { [CustomEditor(typeof(AnimatorController))] public sealed class AnimatorControllerEditor: Editor { #region SERIALIZED PROPERTIES private SerializedProperty animator;...
using UnityEngine; using System.Collections; using UnityEditor; using Rotorz.ReorderableList; namespace AnimatorControllerEx { [CustomEditor(typeof(AnimatorController))] public sealed class AnimatorControllerEditor: Editor { #region SERIALIZED PROPERTIES private SerializedProperty animator;...
mit
C#
5da53425294ad8c7742cd85848cedf22211da378
remove MultimodalDistributionAnalyzer hint introduced in #763
alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,al...
src/BenchmarkDotNet/Analysers/MultimodalDistributionAnalyzer.cs
src/BenchmarkDotNet/Analysers/MultimodalDistributionAnalyzer.cs
using System.Collections.Generic; using BenchmarkDotNet.Engines; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Mathematics; using BenchmarkDotNet.Reports; using JetBrains.Annotations; namespace BenchmarkDotNet.Analysers { public class MultimodalDistributionAnalyzer : AnalyserBase { public st...
using System.Collections.Generic; using BenchmarkDotNet.Engines; using BenchmarkDotNet.Extensions; using BenchmarkDotNet.Mathematics; using BenchmarkDotNet.Reports; using JetBrains.Annotations; namespace BenchmarkDotNet.Analysers { public class MultimodalDistributionAnalyzer : AnalyserBase { public st...
mit
C#
6de2a740a9a81ecfca1d7e0c0b70fbc9368c5e18
Add SynchronizerBaseTest
Ackara/Daterpillar
src/Tests.Daterpillar/UnitTest/SynchronizerBaseTest.cs
src/Tests.Daterpillar/UnitTest/SynchronizerBaseTest.cs
using ApprovalTests; using ApprovalTests.Namers; using ApprovalTests.Reporters; using Gigobyte.Daterpillar; using Gigobyte.Daterpillar.Aggregation; using Gigobyte.Daterpillar.Migration; using Microsoft.VisualStudio.TestTools.UnitTesting; using Telerik.JustMock; using Telerik.JustMock.Helpers; namespace Tests.Daterpil...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Tests.Daterpillar.UnitTest { [TestClass] public class SynchronizerBaseTest { [TestMethod] [Owner(Test.Dev.Ackara)] public void TestMethod1() { } } }
mit
C#
2eff47d56df3743cfc14050e1c1c6307147d6f0a
update UpdateInfo()
yasokada/unity-160820-Inventory-UI
Assets/InventoryCS.cs
Assets/InventoryCS.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; using NS_SampleData; using NS_MyStringUtil; /* * v0.2 2016 Aug. 21 * - add UpdateInfo() * - add [MyStringUtil.cs] * - add OpenURL() * v0.1 2016 Aug. 21 * - add MoveColumn() * - add MoveRow() * - add SampleData.cs * - add UI comp...
using UnityEngine; using System.Collections; using UnityEngine.UI; using NS_SampleData; using NS_MyStringUtil; /* * - add UpdateInfo() * - add [MyStringUtil.cs] * - add OpenURL() * v0.1 2016 Aug. 21 * - add MoveColumn() * - add MoveRow() * - add SampleData.cs * - add UI components (unique ID, Ca...
mit
C#
ff945873b6caffa0f8991a92b2507b7e9fa32a5c
Add back argument check for TypeForwardedFromAttribute (#16680)
wtgodbe/corefx,wtgodbe/corefx,mmitche/corefx,ptoonen/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,Jiayili1/corefx,mmitche/corefx,BrennanConroy/corefx,wtgodbe/corefx,ptoonen/corefx,shimingsg/corefx,ericstj/corefx,Jiayili1/corefx,ericstj/corefx,Jiayili1/corefx,mmitche/corefx,ericstj/corefx,BrennanConroy/corefx...
src/Common/src/CoreLib/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs
src/Common/src/CoreLib/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | A...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Runtime.CompilerServices { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | A...
mit
C#
9ae369d6596485763dee715ab80925d5dd0b2c00
Update DownloadInfo
witoong623/TirkxDownloader,witoong623/TirkxDownloader
Framework/DownloadInfo.cs
Framework/DownloadInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TirkxDownloader.Framework { public enum DownloadStatus { Queue, Complete, Downloading, Error } public class DownloadInfo { public string FileName { get; set; } pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TirkxDownloader.Framework { public enum DownloadStatus { Queue, Complete, Error } public class DownloadInfo { public string FileName { get; set; } public string Do...
mit
C#
85b46b9999adb92d9c02b0cdc7338db9562f24ce
Fix warnings.
JohanLarsson/Gu.Reactive
Gu.Reactive.Demo/Converters/BooleanToVisibilityConverter.cs
Gu.Reactive.Demo/Converters/BooleanToVisibilityConverter.cs
namespace Gu.Reactive.Demo.Converters { using System; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Markup; [MarkupExtensionReturnType(typeof(BooleanToVisibilityConverter))] [ValueConversion(typeof(bool?), typeof(Visibility))] public ...
namespace Gu.Reactive.Demo.Converters { using System; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Markup; [MarkupExtensionReturnType(typeof(BooleanToVisibilityConverter))] [ValueConversion(typeof(bool?), typeof(Visibility))] public ...
mit
C#
3928e82c2d586b52e7d33f2085c5afdec6f592cf
Check that a particular replacement is working well
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/LINQToTTreeLib.Tests/Variables/ValSimpleTest.cs
LINQToTTree/LINQToTTreeLib.Tests/Variables/ValSimpleTest.cs
// <copyright file="ValSimpleTest.cs" company="Microsoft">Copyright Microsoft 2010</copyright> using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LINQToTTreeLib.Variables { /// <summary>This class contains parameterized unit tests for ValSimple</summary> [TestClass] public...
// <copyright file="ValSimpleTest.cs" company="Microsoft">Copyright Microsoft 2010</copyright> using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LINQToTTreeLib.Variables { /// <summary>This class contains parameterized unit tests for ValSimple</summary> [TestClass] public...
lgpl-2.1
C#
cab6283c5d53e497a2f9a9f784ef6ce8a3329f7a
Bump version
klesta490/BTDB,karasek/BTDB,Bobris/BTDB
BTDB/Properties/AssemblyInfo.cs
BTDB/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("BTD...
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("BTD...
mit
C#
c0a773f1f9e9a93454b6382d18829db166930e4c
reset GlobalAssemblyInfo
michael-wolfenden/TypeScanner
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyDescription("Fluent interface for scanning for types")] [assembly: AssemblyProduct("TypeScanner")] [assembly: AssemblyVersion("0.0.0.0")] [assembly: AssemblyFileVersion("0.0.0.0")] [assembly: AssemblyInformationalVersion("0.0.0")] [assembly: AssemblyCopyright("Copyright © Mi...
using System.Reflection; [assembly: AssemblyDescription("Fluent interface for scanning for types")] [assembly: AssemblyProduct("TypeScanner")] [assembly: AssemblyVersion("0.1.0.0")] [assembly: AssemblyFileVersion("0.1.0.0")] [assembly: AssemblyInformationalVersion("0.1.0+2.Branch.master.Sha.73d8674464f3ce3aa4b1e6dff75...
bsd-3-clause
C#
5b5080de1d41b346399f9346cc191599c88cd590
clone CsvOptions
RobertGiesecke/PlainCsv
src/Library/CsvOptions.cs
src/Library/CsvOptions.cs
using System; namespace RGiesecke.PlainCsv { [Flags] public enum CsvFlags { None = 0, UseHeaderRow = 1, QuoteFormulars = 2, } public sealed class CsvOptions { public static readonly CsvOptions Default = new CsvOptions(); public static readonly CsvOptions Excel = new CsvOptions('"', '...
using System; namespace RGiesecke.PlainCsv { [Flags] public enum CsvFlags { None = 0, UseHeaderRow = 1, QuoteFormulars = 2, } public sealed class CsvOptions { public static readonly CsvOptions Default = new CsvOptions(); public static readonly CsvOptions Excel = new CsvOptions('"', '...
mit
C#
e3cec9cf6c7251c16d075bf0b27a8546f7ca0692
Simplify column assignment
NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu
osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaPlacementBlueprint.cs
osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaPlacementBlueprint.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; using osu.Framework.Input; using osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects; using osu....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Input; using osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects; using osu....
mit
C#
09f105083e4a8f2343b8905d77940807ffebd84b
Add extension to decode a string from an ArraySegment<byte>.
mysql-net/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector
src/MySql.Data/Utility.cs
src/MySql.Data/Utility.cs
using System; using System.Text; namespace MySql.Data { internal static class Utility { public static void Dispose<T>(ref T disposable) where T : class, IDisposable { if (disposable != null) { disposable.Dispose(); disposable = null; } } public static string GetString(this Encoding enco...
using System; namespace MySql.Data { internal static class Utility { public static void Dispose<T>(ref T disposable) where T : class, IDisposable { if (disposable != null) { disposable.Dispose(); disposable = null; } } } }
mit
C#
f05e79616dffa6cefe61d038d9ec885d55449596
Add Table<T>(Expression<Func<T, object>>) method
apemost/Newq,apemost/Newq
src/Newq/Customization.cs
src/Newq/Customization.cs
namespace Newq { using System; /// <summary> /// /// </summary> public abstract class Customization { /// <summary> /// /// </summary> protected Context context; /// <summary> /// /// </summary> /// <param name="context"></par...
namespace Newq { using System; /// <summary> /// /// </summary> public abstract class Customization { /// <summary> /// /// </summary> protected Context context; /// <summary> /// /// </summary> /// <param name="context"></par...
mit
C#
8710ddeb6e58d1d0a1588af27c76f404848274cc
bump version
chinaboard/PureCat
PureCat/Properties/AssemblyInfo.cs
PureCat/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("PureCat")] [assembly: AssemblyDescription("Cat.Net Client")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("PureCat")] ...
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("PureCat")] [assembly: AssemblyDescription("Cat.Net Client")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("PureCat")] ...
mit
C#
967238e2694127b2bdd50e1f4f3a1efd59d2fb0b
Add comment explaining scale
UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu
osu.Game.Rulesets.Mania/Mods/ManiaModHidden.cs
osu.Game.Rulesets.Mania/Mods/ManiaModHidden.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.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Ma...
// 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.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Mania.Objects; using osu.Game.Rulesets.Ma...
mit
C#
b3efe50ba3da0eca80b53e45f2199166e30bfaf4
Refactor incorrectly named method.
mrward/monodevelop-paket-addin
src/MonoDevelop.Paket/MonoDevelop.Paket.NodeBuilders/NuGetPackageReferenceNodeCommandHandler.cs
src/MonoDevelop.Paket/MonoDevelop.Paket.NodeBuilders/NuGetPackageReferenceNodeCommandHandler.cs
// // NuGetPackageReferenceNodeCommandHandler.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
// // NuGetPackageReferenceNodeCommandHandler.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (c) 2015 Matthew Ward // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
mit
C#
1e71a6fda42e80c4a3e52154ad73b14fb93ccc64
Move to iPhone X
MarcinHoppe/AspNetCore.Csrf.Sample,MarcinHoppe/AspNetCore.Csrf.Sample
AspNetCore.Csrf.EvilSite/Views/Home/Index.cshtml
AspNetCore.Csrf.EvilSite/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <h1>Want to win an iPhone X?</h1> <h2>Your brand new iPhone X is just one click away!</h2> <iframe style="display: none;" name="evil-iframe"></iframe> <form id="evilform" action="http://web.local:57082/profile/update" method="post" target="evil-iframe"> <input type="hi...
@{ ViewData["Title"] = "Home Page"; } <h1>Want to win an iPhone?</h1> <h2>Your brand new iPhone is just one click away!</h2> <iframe style="display: none;" name="evil-iframe"></iframe> <form id="evilform" action="http://web.local:57082/profile/update" method="post" target="evil-iframe"> <input type="hidden...
mit
C#
4b0ca781769a417a1cd832ad71eff251c92b625b
accelerate when the speedPercentage is below 0
enormand/cyber-space-shooter
Assets/Scripts/Objects/Managers/EngineManager.cs
Assets/Scripts/Objects/Managers/EngineManager.cs
using UnityEngine; using System.Collections; public class EngineManager : MonoBehaviour { public float minSpeed, maxSpeed, accelerationFactor, brakeFactor; // Called after the speed has been updated. public delegate void SpeedUpdatedDelegate(); public event SpeedUpdatedDelegate OnSpeedUpdated; private float s...
using UnityEngine; using System.Collections; public class EngineManager : MonoBehaviour { public float minSpeed, maxSpeed, accelerationFactor, brakeFactor; // Called after the speed has been updated. public delegate void SpeedUpdatedDelegate(); public event SpeedUpdatedDelegate OnSpeedUpdated; private float s...
mit
C#
259bc31b495ef2dd2ee2d917c7380cac87908d33
Add edit link
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Vehicles/List.cshtml
Battery-Commander.Web/Views/Vehicles/List.cshtml
@model IEnumerable<Vehicle> @{ ViewBag.Title = "Vehicle Tracker"; } <div class="page-header"> <h1>@ViewBag.Title <span class="badge">@Model.Count()</span> @Html.ActionLink("Add New", "New", "Vehicles", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <the...
@model IEnumerable<Vehicle> @{ ViewBag.Title = "Vehicle Tracker"; } <div class="page-header"> <h1>@ViewBag.Title <span class="badge">@Model.Count()</span> @Html.ActionLink("Add New", "New", "Vehicles", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped" id="dt"> <the...
mit
C#
77ce2a8d1ca2f0ac9b5268696aa8aa885d494a0e
Update ZoomBorderTests.cs
PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom
tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs
tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs
using Xunit; namespace Avalonia.Controls.PanAndZoom.UnitTests { public class ZoomBorderTests { [Fact] public void ZoomBorder_Ctor() { var target = new ZoomBorder(); Assert.NotNull(target); Assert.Equal(ButtonName.Middle, target.PanButton); ...
using Xunit; namespace Avalonia.Controls.PanAndZoom.UnitTests { public class ZoomBorderTests { [Fact] public void ZoomBorder_Ctor() { var target = new ZoomBorder(); Assert.NotNull(target); Assert.Equal(ButtonName.Middle, target.PanButton); ...
mit
C#
c74d80d0afcf8d07398860a411d19b208ed0f4b2
use separate tasks to prevent deadlock
andy-kohne/BuildLight
BuildLight.UWP/MainPage.xaml.cs
BuildLight.UWP/MainPage.xaml.cs
using BuildLight.Common.Extensions; using BuildLight.Common.Models; using BuildLight.Common.Services; using BuildLight.Common.Services.BuildMonitor; using BuildLight.Common.Services.TeamCity; using System; using System.Threading; using System.Threading.Tasks; using Windows.Storage; using Windows.UI.Xaml.Controls; nam...
using BuildLight.Common.Extensions; using BuildLight.Common.Models; using BuildLight.Common.Services; using BuildLight.Common.Services.BuildMonitor; using BuildLight.Common.Services.TeamCity; using System; using System.Threading; using System.Threading.Tasks; using Windows.Storage; using Windows.UI.Xaml.Controls; nam...
mit
C#
1de7c61fc2bf71dafd112446141fa2c07c87c0c5
reduce framerate
pako1337/raim,pako1337/raim,pako1337/raim
PaCode.Raim/Home/ArenaTicker.cs
PaCode.Raim/Home/ArenaTicker.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; namespace PaCode.Raim.Home { public class ArenaTicker { private readonly static ArenaTicker _instance = new ArenaTicker(GlobalHost.ConnectionM...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Hubs; namespace PaCode.Raim.Home { public class ArenaTicker { private readonly static ArenaTicker _instance = new ArenaTicker(GlobalHost.ConnectionM...
mit
C#
cbeabdcfd455c82b2fb27967ff85016ffbf68dc6
Remove explicit context initialization.
os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos
Presentation.Web/Global.asax.cs
Presentation.Web/Global.asax.cs
using System.Data.Entity; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Infrastructure.DataAccess; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Presentation.Web { // Note: For instructions on enabling IIS6 or IIS7 classic mode,...
using System.Data.Entity; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Infrastructure.DataAccess; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Presentation.Web { // Note: For instructions on enabling IIS6 or IIS7 classic mode,...
mpl-2.0
C#
c443238ee17068473dcd97ca133b5db78c4b29eb
Update AndroidBuildPostProcessor.cs
googleads/googleads-mobile-unity,googleads/googleads-mobile-unity
source/plugin/Assets/GoogleMobileAds/Editor/AndroidBuildPostProcessor.cs
source/plugin/Assets/GoogleMobileAds/Editor/AndroidBuildPostProcessor.cs
#if UNITY_ANDROID using System; using UnityEditor; using UnityEditor.Callbacks; using GoogleMobileAds.Editor; public static class AndroidBuildPostProcessor { [PostProcessBuild] public static void OnPostProcessBuild(BuildTarget buildTarget, string path) { if (!GoogleMobileAdsSettings.Instance.Is...
#if UNITY_ANDROID using UnityEditor; using UnityEditor.Callbacks; using GoogleMobileAds.Editor; public static class AndroidBuildPostProcessor { [PostProcessBuild] public static void OnPostProcessBuild(BuildTarget buildTarget, string path) { if (!GoogleMobileAdsSettings.Instance.IsAdManagerEnable...
apache-2.0
C#
312646e5ebb61404a82bfbe6c7a5a0b033202d9c
Add Create Methods to Device Extenstion Model
cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,MagedAlNaamani/DynThings,MagedAlNaamani/DynThings,cmoussalli/DynThings,cmoussalli/DynThings
DynThings.Data.Models/Device.cs
DynThings.Data.Models/Device.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
mit
C#
443d99977ec5f5c2de3e207331b9afa7b3dbe94b
Add configuration extensions for HttpRequestClientHostIPEnricher
serilog-web/classic
src/SerilogWeb.Classic/SerilogWebClassicLoggerConfigurationExtensions.cs
src/SerilogWeb.Classic/SerilogWebClassicLoggerConfigurationExtensions.cs
using Serilog.Configuration; using SerilogWeb.Classic.Enrichers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serilog { /// <summary> /// Extends <see cref="LoggerConfiguration"/> to add enrichers for SerilogWeb.Classic's logging...
using Serilog.Configuration; using SerilogWeb.Classic.Enrichers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Serilog { /// <summary> /// Extends <see cref="LoggerConfiguration"/> to add enrichers for SerilogWeb.Classic's logging...
apache-2.0
C#
e5c0f851994725db549eb9cf44c85f8607e561d2
Reorder SiteFactory register for ISiteplugin
lunet-io/lunet,lunet-io/lunet
src/Lunet.Core/SiteFactory.cs
src/Lunet.Core/SiteFactory.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.IO; using System.Reflection; using Autofac; using Lunet.Core; using Microsoft.Extensions.Logging; namespace...
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; using System.IO; using System.Reflection; using Autofac; using Lunet.Core; using Microsoft.Extensions.Logging; namespace...
bsd-2-clause
C#
e11aecae612ea263ed39666f27b32122aeb67552
Update DataGridViewExtenders.cs
CanadianBeaver/DataViewExtenders
Source/DataGridViewExtenders.cs
Source/DataGridViewExtenders.cs
using System; using System.Data; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace CBComponents { using CBComponents.DataDescriptors; public static partial class DataGridViewExtenders { /// <summary> /// Columns generator that works on column data descriptions...
using System; using System.Data; using System.Windows.Forms; namespace CBComponents { public static partial class DataGridViewExtenders { public static void AddColumns(this DataGridView viewGrid, object DataSource) { } } }
mit
C#
90391ea58c85e5a4a5667ff272e33c1c70a5ae94
Change of method signature.
antmicro/AntShell
AntShellDemo/AntCalc.cs
AntShellDemo/AntCalc.cs
/* Copyright (c) 2013 Ant Micro <www.antmicro.com> Authors: * Mateusz Holenko (mholenko@antmicro.com) 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 limita...
/* Copyright (c) 2013 Ant Micro <www.antmicro.com> Authors: * Mateusz Holenko (mholenko@antmicro.com) 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 limita...
apache-2.0
C#
3e81333c455a9792fe104ee00eea134ee593a9b9
Make EntityLumpKeyLookup thread-safe
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Utils/EntityLumpKeyLookup.cs
ValveResourceFormat/Utils/EntityLumpKeyLookup.cs
using System.Collections.Concurrent; using ValveResourceFormat.ThirdParty; namespace ValveResourceFormat.Utils { public static class EntityLumpKeyLookup { public const uint MURMUR2SEED = 0x31415926; // It's pi! private static readonly ConcurrentDictionary<string, uint> Lookup = new(); ...
using System.Collections.Generic; using ValveResourceFormat.ThirdParty; namespace ValveResourceFormat.Utils { public static class EntityLumpKeyLookup { public const uint MURMUR2SEED = 0x31415926; // It's pi! private static Dictionary<string, uint> Lookup = new Dictionary<string, uint>(); ...
mit
C#
1885d9fe62bed70028303e129066abe058f88e3e
Fix IRC Manager disconnect command
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
TwitchPlaysAssembly/Src/Commands/IRCConnectionManagerCommands.cs
TwitchPlaysAssembly/Src/Commands/IRCConnectionManagerCommands.cs
using System; using System.Collections; /// <summary>Commands for the IRC Connection Holdable.</summary> public static class IRCConnectionManagerCommands { [Command(@"disconnect")] public static IEnumerator Disconnect(TwitchHoldable holdable, string user, bool isWhisper) => holdable.RespondToCommand(user, string...
using System; using System.Collections; /// <summary>Commands for the IRC Connection Holdable.</summary> public static class IRCConnectionManagerCommands { [Command(@"disconnect")] public static IEnumerator Disconnect(IRCConnectionManagerHoldable holdable) { bool allowed = false; yield return null; yield ret...
mit
C#
c742390a3c5630303738bc6b157a99036109931b
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.Routing/DependencyInjection/RoutingServiceCollectionExtensions.cs
src/Microsoft.AspNet.Routing/DependencyInjection/RoutingServiceCollectionExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text.Encodings.Web; using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing.Internal; using Microsoft.Extensions.Depen...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text.Encodings.Web; using Microsoft.AspNet.Routing; using Microsoft.AspNet.Routing.Internal; using Microsoft.Extensions.Depen...
apache-2.0
C#
4f90124b5b8d9c647163142b39870938fec11552
Increment version
felipegtx/RestSharp,benfo/RestSharp,amccarter/RestSharp,dgreenbean/RestSharp,wparad/RestSharp,RestSharp-resurrected/RestSharp,haithemaraissia/RestSharp,periface/RestSharp,KraigM/RestSharp,lydonchandra/RestSharp,wparad/RestSharp,chengxiaole/RestSharp,SaltyDH/RestSharp,kouweizhong/RestSharp,jiangzm/RestSharp,cnascimento/...
RestSharp/SharedAssemblyInfo.cs
RestSharp/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System; // 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: Ass...
apache-2.0
C#
535dfd585eb6a6a9b14a0b81740d6959fbe12a02
Fix trial_end parameter on create customer REST method.
ChadBurggraf/stripe-dotnet,nberardi/stripe-dotnet
src/StripeClient.Customers.cs
src/StripeClient.Customers.cs
using System; using System.Linq; using RestSharp; using RestSharp.Validation; using Stripe.Models; namespace Stripe { public partial class StripeClient { public StripeCustomer CreateCustomer(ICreditCard card = null, string coupon = null, string email = null, string description = null, string plan = null, DateTime...
using System; using System.Linq; using RestSharp; using RestSharp.Validation; using Stripe.Models; namespace Stripe { public partial class StripeClient { public StripeCustomer CreateCustomer(ICreditCard card = null, string coupon = null, string email = null, string description = null, string plan = null, DateTime...
mit
C#
1735ca4c4db0c29294eceb6424d56da6eafc48af
Update WebApiOptions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Web/WebApiOptions.cs
TIKSN.Core/Web/WebApiOptions.cs
using System; namespace TIKSN.Web { public class WebApiOptions { public Guid ApiKey { get; set; } public Uri BaseAddress { get; set; } } public class WebApiOptions<T> : WebApiOptions { } }
using System; namespace TIKSN.Web { public class WebApiOptions { public Guid ApiKey { get; set; } public Uri BaseAddress { get; set; } } public class WebApiOptions<T> : WebApiOptions { } }
mit
C#
f0e9ed463627284e1cae8cf52e180a22cea7c958
Fix regression in TrianglesPiece.
Damnae/osu,NeoAdonis/osu,RedNesto/osu,ppy/osu,Drezi126/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,naoey/osu,ppy/osu,UselessToucan/osu,naoey/osu,EVAST9919/osu,nyaamara/osu,ppy/osu,peppy/osu,ZLima12/osu,peppy/osu,naoey/osu,EVAST9919/osu,DrabWeb/osu,Nabile-Rahmani/osu,DrabWeb/osu,theguii/osu,2yangk23/osu,peppy/os...
osu.Game.Modes.Osu/Objects/Drawables/Pieces/TrianglesPiece.cs
osu.Game.Modes.Osu/Objects/Drawables/Pieces/TrianglesPiece.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 osu.Game.Graphics.Backgrounds; namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces { public class TrianglesPiece : Triangles { protect...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics.Backgrounds; namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces { public class TrianglesPiece : Triangles { protect...
mit
C#
408e8d57109ed44498601f02c829d6b4faa8c05d
Fix null reference causing crash in `KiaiFlashingDrawable`
NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Skinning/Legacy/KiaiFlashingDrawable.cs
osu.Game.Rulesets.Osu/Skinning/Legacy/KiaiFlashingDrawable.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Audio.Track; using osu.Framework.Graphics; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Graphics.Containers; #nullable enable ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Audio.Track; using osu.Framework.Graphics; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Graphics.Containers; namespace osu.Gam...
mit
C#
955836916b340c3400efac07e4e385fbb6b4b744
Fix timeline tick display test making two instances of the component
peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu
osu.Game.Tests/Visual/Editing/TestSceneTimelineTickDisplay.cs
osu.Game.Tests/Visual/Editing/TestSceneTimelineTickDisplay.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 NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Screens.Edit.Compose.Components; using osuTK; namespace osu.Game.Test...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Screens.Edit.Compose.Components; using osu.Game.Screens.Edit.Compose.C...
mit
C#
e3ab12f8ddd383d263f754a51c40716e3c6e6457
Simplify the editor to work for any object
madsbangh/EasyButtons
Assets/EasyButtons/Editor/ButtonEditor.cs
Assets/EasyButtons/Editor/ButtonEditor.cs
using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Custom inspector for Object including derived classes. /// </summary> [CustomEditor(typeof(Object), true)] public class ObjectEditor : Editor { public override void OnInspectorGUI() ...
using System.Linq; using UnityEngine; using UnityEditor; namespace EasyButtons { /// <summary> /// Base class for making EasyButtons work /// </summary> public abstract class ButtonEditorBase : Editor { public override void OnInspectorGUI() { // Loop through all methods...
mit
C#
5e97633171a022e608ba86d9fd996dbd04df9efa
make load model without name
tobyclh/UnityCNTK,tobyclh/UnityCNTK
Assets/UnityCNTK/Scripts/Models/_Model.cs
Assets/UnityCNTK/Scripts/Models/_Model.cs
using System; using System.Collections.Generic; using UnityEngine; using CNTK; using UnityEngine.Events; using System.Threading; using UnityEngine.Assertions; namespace UnityCNTK { /// <summary> /// the non-generic base class for all model /// only meant to be used for model management and GUI s...
using System; using System.Collections.Generic; using UnityEngine; using CNTK; using UnityEngine.Events; using System.Threading; using UnityEngine.Assertions; namespace UnityCNTK { /// <summary> /// the non-generic base class for all model /// only meant to be used for model management and GUI s...
mit
C#
26bbedb5f529584cacb94fb8f5825b34b60531c1
update AuditHelper
saturn72/saturn72
src/Core/Saturn72.Core.Impl/AuditHelper.cs
src/Core/Saturn72.Core.Impl/AuditHelper.cs
using System; using Saturn72.Core.Audit; using Saturn72.Extensions; namespace Saturn72.Core.Services.Impl { public class AuditHelper { private readonly IWorkContext _workContext; public AuditHelper(IWorkContext workContext) { _workContext = workContext; } ...
using System; using Saturn72.Core.Audit; using Saturn72.Extensions; namespace Saturn72.Core.Services.Impl { public class AuditHelper { private readonly IWorkContext _workContext; public AuditHelper(IWorkContext workContext) { _workContext = workContext; } ...
mit
C#
7b6b53672aaf42b57965997f9af38f73560480f7
Update assembly version to 1.0
mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket
SocketServiceCore/GlobalAssemblyInfo.cs
SocketServiceCore/GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("1.0.0.0")] ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("0.2.0.0")] ...
apache-2.0
C#
f4fb2c157f4ba657d3c932879ade4351821a1d7a
Remove mouse move override
Esri/coordinate-tool-addin-dotnet
source/CoordinateTool/ProAppCoordToolModule/CoordinateMapTool.cs
source/CoordinateTool/ProAppCoordToolModule/CoordinateMapTool.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Desktop.Mapping; using ArcGIS.Core.Geometry; using ArcGIS.Desktop.Framework.Threading.Tasks; using ArcGIS.Desktop.Framework; using System.Windows.Documents; namespace ProAppCoordToolModule ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Desktop.Mapping; using ArcGIS.Core.Geometry; using ArcGIS.Desktop.Framework.Threading.Tasks; using ArcGIS.Desktop.Framework; using System.Windows.Documents; namespace ProAppCoordToolModule ...
apache-2.0
C#
b68f52db7494936c3709d935850b7f93eb74062d
Fix 0x02 Patch Welcome Packet
HelloKitty/Booma.Proxy
src/Booma.Packet.Patch/Payloads/Server/PatchingWelcomePayload.cs
src/Booma.Packet.Patch/Payloads/Server/PatchingWelcomePayload.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Booma.Proxy { /* The Welcome packet for setting up encryption keys. typedef struct patch_welcome { pkt_header_t hdr; char cop...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FreecraftCore.Serializer; using JetBrains.Annotations; namespace Booma.Proxy { /* The Welcome packet for setting up encryption keys. typedef struct patch_welcome { pkt_header_t hdr; char cop...
agpl-3.0
C#
e7bad92e777e5017b76890f9e99fe4c81255feea
Make GetWarmerResponseConverter internal
adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,cstlaurent/elasticsearch-net,KodrAus/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,azubanov/elasticsearch-net,CSGOpenSource/elasticsearch-net,RossLieberman/NEST,cstlaurent/elasticsearch-net,UdiBen/...
src/Nest/Indices/Warmers/GetWarmer/GetWarmerResponseConverter.cs
src/Nest/Indices/Warmers/GetWarmer/GetWarmerResponseConverter.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nest { internal class GetWarmerResponseConverter : JsonConverter { public override bool CanConvert(Type objectType) => true; public ove...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nest { public class GetWarmerResponseConverter : JsonConverter { public override bool CanConvert(Type objectType) => true; public overr...
apache-2.0
C#
223c7154ba47c3d342554c156bb10cff705a8a73
Fix error message building when no specific errors defined
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Application/InvalidRequestException.cs
src/SFA.DAS.EmployerUsers.Application/InvalidRequestException.cs
using System; using System.Collections.Generic; using System.Linq; namespace SFA.DAS.EmployerUsers.Application { public class InvalidRequestException : Exception { public Dictionary<string, string> ErrorMessages { get; private set; } public InvalidRequestException(Dictionary<string, string> e...
using System; using System.Collections.Generic; using System.Linq; namespace SFA.DAS.EmployerUsers.Application { public class InvalidRequestException : Exception { public Dictionary<string,string> ErrorMessages { get; private set; } public InvalidRequestException(Dictionary<string,string> er...
mit
C#
189c3798e9776f77ab658856fe75f81b7cefb402
Add missing ".dll" from DllImport
tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Host/NativeMethods.cs
src/Tgstation.Server.Host/NativeMethods.cs
using System; using System.Runtime.InteropServices; using System.Text; namespace Tgstation.Server.Host { /// <summary> /// Native methods used by the code /// </summary> static class NativeMethods { /// <summary> /// See https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowthreadp...
using System; using System.Runtime.InteropServices; using System.Text; namespace Tgstation.Server.Host { /// <summary> /// Native methods used by the code /// </summary> static class NativeMethods { /// <summary> /// See https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowthreadp...
agpl-3.0
C#
3c63e95a3d23ddd179dcfb6626dc2444350a0d63
Integrate use of ViewModelStateHelper into BasicViewModel
wiyonoaten/XMvvmApp
XMvvmApp/Mvvm/BasicViewModel.cs
XMvvmApp/Mvvm/BasicViewModel.cs
using System.ComponentModel; using System.Windows.Input; using XMvvmApp.Mvvm.Helpers; namespace XMvvmApp.Mvvm { public abstract class BasicViewModel : IViewModel { private readonly ViewModelStateHelper _viewModelStateHelper; protected BasicViewModel() { this.WakeupCommand ...
using System.ComponentModel; using System.Windows.Input; namespace XMvvmApp.Mvvm { public abstract class BasicViewModel : IViewModel { protected BasicViewModel() { this.WakeupCommand = new DelegateCommand(DoWakeup); this.SleepCommand = new DelegateCommand(DoSleep); ...
apache-2.0
C#
a9780324afb4060fddc82a836119f8c3f5a0f674
Change HTML table header generation to use the correct th HTML tag.
gilles-leblanc/Sniptaculous
SnippetsToMarkdown/SnippetsToMarkdown/Commands/WriteHeaderHtmlCommand.cs
SnippetsToMarkdown/SnippetsToMarkdown/Commands/WriteHeaderHtmlCommand.cs
using System.Text; namespace SnippetsToMarkdown.Commands { class WriteHeaderHtmlCommand : ICommand { private string directory; public WriteHeaderHtmlCommand(string directory) { this.directory = directory; } public void WriteToOutput(StringBuild...
using System.Text; namespace SnippetsToMarkdown.Commands { class WriteHeaderHtmlCommand : ICommand { private string directory; public WriteHeaderHtmlCommand(string directory) { this.directory = directory; } public void WriteToOutput(StringBuild...
mit
C#
2b23f6a45800ce0c40a283966dabdc255d3c9db6
更新版本2.3.0.38
Laforeta/KanColleCacher,Gizeta/KanColleCacher
KanColleCacher/Properties/AssemblyInfo.cs
KanColleCacher/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
mit
C#
3dec37f8d4ba63dfa45b0ece4431b08e7c89a665
Use random app name to avoid 409 conflict error
YOTOV-LIMITED/kudu,shibayan/kudu,barnyp/kudu,shibayan/kudu,EricSten-MSFT/kudu,badescuga/kudu,puneet-gupta/kudu,sitereactor/kudu,WeAreMammoth/kudu-obsolete,shibayan/kudu,juoni/kudu,EricSten-MSFT/kudu,kali786516/kudu,shanselman/kudu,shrimpy/kudu,chrisrpatterson/kudu,puneet-gupta/kudu,dev-enthusiast/kudu,YOTOV-LIMITED/kud...
Kudu.FunctionalTests/GitStabilityTests.cs
Kudu.FunctionalTests/GitStabilityTests.cs
using System.Linq; using Kudu.Core.Deployment; using Kudu.FunctionalTests.Infrastructure; using Kudu.TestHarness; using Xunit; namespace Kudu.FunctionalTests { public class GitStabilityTests { [Fact] public void NSimpleDeployments() { string repositoryName = "HelloKudu"; ...
using System.Linq; using Kudu.Core.Deployment; using Kudu.FunctionalTests.Infrastructure; using Kudu.TestHarness; using Xunit; namespace Kudu.FunctionalTests { public class GitStabilityTests { [Fact] public void NSimpleDeployments() { string repositoryName = "HelloKudu"; ...
apache-2.0
C#
d87b90f1d9ed7b9f833b83a1ba9b603b5a4a6cab
Update Main.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
LoginPasswordUtil/C-Sharp-Version/Main.cs
LoginPasswordUtil/C-Sharp-Version/Main.cs
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
apache-2.0
C#
a2d1c40ab0cfc0bf3acab7a66910f6f488800a29
add atribute for DateTime
vknet/vk,vknet/vk
VkNet/Model/SubscriptionItem.cs
VkNet/Model/SubscriptionItem.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VkNet.Enums; using VkNet.Utils; namespace VkNet.Model { [Serializable] public class SubscriptionItem { [JsonProperty(propertyName: "id")] public ulong Id { g...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using VkNet.Enums; using VkNet.Utils; namespace VkNet.Model { [Serializable] public class SubscriptionItem { [JsonProperty(propertyName: "id")] public ulong Id { g...
mit
C#
75bf2fcb67e7f63b53aec383c89ad5e18bb0c742
remove usings.
wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,akrisiun/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,Sup...
src/Avalonia.OpenGL/Angle/AngleEglInterface.cs
src/Avalonia.OpenGL/Angle/AngleEglInterface.cs
using System; using System.Runtime.InteropServices; namespace Avalonia.OpenGL.Angle { public class AngleEglInterface : EglInterface { [DllImport("avangle.dll", CharSet = CharSet.Ansi)] static extern IntPtr EGL_GetProcAddress(string proc); public AngleEglInterface() : base(LoadAngle()) ...
using System; using System.Runtime.InteropServices; using Avalonia.Platform; using Avalonia.Platform.Interop; namespace Avalonia.OpenGL.Angle { public class AngleEglInterface : EglInterface { [DllImport("avangle.dll", CharSet = CharSet.Ansi)] static extern IntPtr EGL_GetProcAddress(string proc)...
mit
C#
9f0e9fd8e591bb289111a2260866bc0753f366ae
Remove comment
ahmetalpbalkan/Docker.DotNet
src/Docker.DotNet/DockerClientConfiguration.cs
src/Docker.DotNet/DockerClientConfiguration.cs
using System; using System.Runtime.InteropServices; using System.Threading; namespace Docker.DotNet { public class DockerClientConfiguration : IDisposable { public Uri EndpointBaseUri { get; internal set; } public Credentials Credentials { get; internal set; } public TimeSpan Default...
using System; using System.Runtime.InteropServices; using System.Threading; namespace Docker.DotNet { public class DockerClientConfiguration : IDisposable { public Uri EndpointBaseUri { get; internal set; } public Credentials Credentials { get; internal set; } public TimeSpan Default...
apache-2.0
C#
95268fb85e65375da5dd5dcddc9940e557e1c3aa
Update NewSellerListing.cs
viagogo/gogokit.net
src/GogoKit/Models/Request/NewSellerListing.cs
src/GogoKit/Models/Request/NewSellerListing.cs
using System; using GogoKit.Models.Response; using System.Collections.Generic; using System.Runtime.Serialization; namespace GogoKit.Models.Request { [DataContract] public class NewSellerListing { [DataMember(Name = "number_of_tickets")] public int? NumberOfTickets { get; set; } [...
using System; using GogoKit.Models.Response; using System.Collections.Generic; using System.Runtime.Serialization; namespace GogoKit.Models.Request { [DataContract] public class NewSellerListing { [DataMember(Name = "number_of_tickets")] public int? NumberOfTickets { get; set; } [...
mit
C#
95d20648e416295758325dea372c9978816d6efc
Fix imgur middleware constructor
RockstarLabs/OwinOAuthProviders,nbelyh/OwinOAuthProviders,jmloeffler/OwinOAuthProviders,yonglehou/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,Lorac/OwinOAuthProviders,Lorac/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,tparnell8/OwinOAuthProviders,TerribleDe...
Owin.Security.Providers/Imgur/ImgurAuthenticationMiddleware.cs
Owin.Security.Providers/Imgur/ImgurAuthenticationMiddleware.cs
namespace Owin.Security.Providers.Imgur { using Microsoft.Owin; using Microsoft.Owin.Security.Infrastructure; public class ImgurAuthenticationMiddleware : AuthenticationMiddleware<ImgurAuthenticationOptions> { public ImgurAuthenticationMiddleware(OwinMiddleware next, IAppBuilder appBuilder, Im...
namespace Owin.Security.Providers.Imgur { using Microsoft.Owin; using Microsoft.Owin.Security.Infrastructure; public class ImgurAuthenticationMiddleware : AuthenticationMiddleware<ImgurAuthenticationOptions> { public ImgurAuthenticationMiddleware(OwinMiddleware next, ImgurAuthenticationOptions...
mit
C#
a4a92d082106eaf6c78dd4ccedf441633da129f8
Replace recursive file enumeration with a stack based approach
hal-ler/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,khellang/omnisharp-roslyn,jtbm37/omnisharp-roslyn,haled/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,khellang/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,hach-que/omnisharp-roslyn,hitesh97/omnisharp-roslyn,OmniSharp/omnisharp-rosly...
src/OmniSharp/Utilities/DirectoryEnumerator.cs
src/OmniSharp/Utilities/DirectoryEnumerator.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Framework.Logging; namespace OmniSharp.Utilities { public class DirectoryEnumerator { private ILogger _logger; public DirectoryEnumerator(ILoggerFactory loggerFactory) { _lo...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Framework.Logging; namespace OmniSharp.Utilities { public class DirectoryEnumerator { private ILogger _logger; public DirectoryEnumerator(ILoggerFactory loggerFactory) { _lo...
mit
C#
38feb7651cf32af4e323eb190dd40b84b8c24532
Set text at updateTime
peppy/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,ppy/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ppy/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,smoogipooo/osu,johnneijzen/...
osu.Game/Graphics/DrawableDate.cs
osu.Game/Graphics/DrawableDate.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 System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
mit
C#
4385001d282c83eadb462d74fcab789af9d68538
Fix solo leaderboard seeing imported score via realm subscription flow
peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game/Screens/Play/SoloPlayer.cs
osu.Game/Screens/Play/SoloPlayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using System.Diagnostics; using System.Threading.Tasks; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Extensions...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using System.Diagnostics; using osu.Framework.Bindables; using osu.Game.Beatmaps; using osu.Game.Extensions; using osu.Game.Online.API; u...
mit
C#
92375b3f54ce17ae6a7635e38865a40354cf321a
Fix up comment.
shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,khyperia/roslyn,brettfo/roslyn,AnthonyDGreen/roslyn,wvdd007/roslyn,heejaechang/roslyn,weltkante/roslyn,nguerrera/roslyn,mavasani/roslyn,aelij/roslyn,abock/roslyn,stephentoub/roslyn,kelltrick/roslyn,tvand7093/roslyn,tmeschter/roslyn,VSadov/roslyn,bartdesmet/roslyn,nguerre...
src/Workspaces/Core/Portable/AddImport/IAddImportService.cs
src/Workspaces/Core/Portable/AddImport/IAddImportService.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.Generic; using Microsoft.CodeAnalysis.Host; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.AddImport { internal inter...
// 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.Generic; using Microsoft.CodeAnalysis.Host; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.AddImport { internal inter...
mit
C#
5578d30f9d8950b13f70a240b75f7a3eb81e5f4e
update version
zaverden/zerobased
Zerobased.Core/Properties/AssemblyInfo.cs
Zerobased.Core/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("Zerobased.Core")] [assembly: AssemblyDesc...
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("Zerobased.Core")] [assembly: AssemblyDesc...
mit
C#
0e27103cf0b118465842ad8117edc9afb8defc83
Allow multiple rule instances in autofac activator
prashanthr/NRules,NRules/NRules
src/NRules.Integration/NRules.Integration.Autofac/NRules.Integration.Autofac/AutofacRuleActivator.cs
src/NRules.Integration/NRules.Integration.Autofac/NRules.Integration.Autofac/AutofacRuleActivator.cs
using System; using System.Collections.Generic; using Autofac; using NRules.Fluent; using NRules.Fluent.Dsl; namespace NRules.Integration.Autofac { /// <summary> /// Rule activator that uses Autofac DI container. /// </summary> public class AutofacRuleActivator : IRuleActivator { private r...
using System; using System.Collections.Generic; using Autofac; using NRules.Fluent; using NRules.Fluent.Dsl; namespace NRules.Integration.Autofac { /// <summary> /// Rule activator that uses Autofac DI container. /// </summary> public class AutofacRuleActivator : IRuleActivator { private r...
mit
C#
95b539f0a90cbbc469de975344244db9d59c89a6
change wrong layout for SettingsActivity
ueman/CommitStripReader
CommitStrip/CommitStrip.Droid/Activities/SettingsActivity.cs
CommitStrip/CommitStrip.Droid/Activities/SettingsActivity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using CommitStrip.Core.ViewModels; namespace CommitStrip.Droid.Activities { [Activity(Label = "Setting...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using CommitStrip.Core.ViewModels; namespace CommitStrip.Droid.Activities { [Activity(Label = "Setting...
apache-2.0
C#
d4306866a4145ad80176f6db9138b5612b89547e
Document UIActionBindings API.
PenguinF/sandra-three
Eutherion/Win/UIActions/UIActionBindings.cs
Eutherion/Win/UIActions/UIActionBindings.cs
#region License /********************************************************************************* * UIActionBindings.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
#region License /********************************************************************************* * UIActionBindings.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
apache-2.0
C#
5f5d93beba6fb71ecf868e22df000434491578a6
Use nameof operator instead of magic string.
Quickshot/DupImageLib,Quickshot/DupImage
DupImage/ImageStruct.cs
DupImage/ImageStruct.cs
using System; using System.Collections.Generic; using System.IO; namespace DupImage { /// <summary> /// Structure for containing image information and hash values. /// </summary> public class ImageStruct { /// <summary> /// Construct a new ImageStruct from FileInfo. /// </s...
using System; using System.Collections.Generic; using System.IO; namespace DupImage { /// <summary> /// Structure for containing image information and hash values. /// </summary> public class ImageStruct { /// <summary> /// Construct a new ImageStruct from FileInfo. /// </s...
unknown
C#