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
57725ccce10ae9e8cacb15e19735bbcfeebed945
Change a modifier of class 'TokenEntries'
lury-lang/lury-lexer
lury-lexer/TokenEntry.cs
lury-lexer/TokenEntry.cs
// // TokenEnrty.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
// // TokenEnrty.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
mit
C#
85cf1d38729848cedb0311243e7ad01c67eabea3
Fix UNC path regex
cjmurph/PmsService,cjmurph/PmsService
PlexServiceTray/DriveMapViewModel.cs
PlexServiceTray/DriveMapViewModel.cs
using PlexServiceCommon; using System.ComponentModel.DataAnnotations; namespace PlexServiceTray { public class DriveMapViewModel : ObservableObject { [Required(ErrorMessage = "Please enter a UNC path to map")] [RegularExpression(@"^\\\\[a-zA-Z0-9\.\-_]{1,}(\\[a-zA-Z0-9\.\x20\-_]{1,}[\$]{0,1}){...
using PlexServiceCommon; using System.ComponentModel.DataAnnotations; namespace PlexServiceTray { public class DriveMapViewModel : ObservableObject { [Required(ErrorMessage = "Please enter a UNC path to map")] [RegularExpression(@"", ErrorMessage = "Please enter a UNC path to map")] pu...
mit
C#
c97784e3d711a66c5b38659d9637c45481265154
make comment more descriptive
Recognos/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics....
Src/Metrics/MetricData/GaugeValue.cs
Src/Metrics/MetricData/GaugeValue.cs
 namespace Metrics.MetricData { /// <summary> /// Combines the value of a gauge (a double) with the defined unit for the value. /// </summary> public sealed class GaugeValueSource : MetricValueSource<double> { public GaugeValueSource(string name, MetricValueProvider<double> value, Unit unit...
 namespace Metrics.MetricData { /// <summary> /// Combines the value of a gauge with the defined unit for the value. /// </summary> public sealed class GaugeValueSource : MetricValueSource<double> { public GaugeValueSource(string name, MetricValueProvider<double> value, Unit unit, MetricTag...
apache-2.0
C#
11aaa6bcee2f9f1c23458c93341ac50869daa18e
Add more test coverage
ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework.Tests/Lists/TestEnumerableExtensions.cs
osu.Framework.Tests/Lists/TestEnumerableExtensions.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; namespace osu.Framework.Tests.Lists { [TestFixture] public class...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; namespace osu.Framework.Tests.Lists { [TestFixture] public class...
mit
C#
23a5792fcf105ab20500dcdba29792322011ef81
Fix stray character in xmldoc
ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework/Input/Handlers/Tablet/ITabletHandler.cs
osu.Framework/Input/Handlers/Tablet/ITabletHandler.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.Bindables; using osuTK; namespace osu.Framework.Input.Handlers.Tablet { /// <summary> /// An interface to access OpenTabletDriverHandler. ...
// 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.Bindables; using osuTK; namespace osu.Framework.Input.Handlers.Tablet { /// <summary> /// An interface to access OpenTabletDriverHandler. ...
mit
C#
3809f68fbf21fe2bae3f118cb2b2ce81c1ba91ca
Revert "Retry"
Gabyche/CarBase
Assets/CarBaseController.cs
Assets/CarBaseController.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; [System.Serializable] public class AxleInfo { public WheelCollider leftWheel; public WheelCollider rightWheel; public bool brake; public bool motor; public bool steering; } public class CarBaseController : MonoBehaviour { public Lis...
using UnityEngine; using System.Collections; using System.Collections.Generic; [System.Serializable] public class AxleInfo { public WheelCollider leftWheel; public WheelCollider rightWheel; public bool brake; public bool motor; public bool steering; } public class CarBaseController : MonoBehaviour { public Lis...
artistic-2.0
C#
6ce8dae2ebd54d97b9cc1f22c8eeda305ac36357
fix Pause/Resume on iOS
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/iOS/UrhoSurface.cs
Bindings/iOS/UrhoSurface.cs
using System; using System.Threading.Tasks; using System.Runtime.InteropServices; using CoreGraphics; using UIKit; namespace Urho.iOS { public class UrhoSurface : UIView { [DllImport("@rpath/Urho.framework/Urho", CallingConvention = CallingConvention.Cdecl)] static extern void SDL_SetExternalViewPlaceholder(Int...
using System; using System.Threading.Tasks; using System.Runtime.InteropServices; using CoreGraphics; using UIKit; namespace Urho.iOS { public class UrhoSurface : UIView { [DllImport("@rpath/Urho.framework/Urho", CallingConvention = CallingConvention.Cdecl)] static extern void SDL_SetExternalViewPlaceholder(Int...
mit
C#
8e5be3c86dfafd434f3aeb807e366f694f2c8af9
Refactor how parameters are checked
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Resolvers/MethodModelBinderResolver.cs
src/GraphQL/Resolvers/MethodModelBinderResolver.cs
using System; using System.Linq; using System.Reflection; using GraphQL.Types; namespace GraphQL.Resolvers { public class MethodModelBinderResolver<T> : IFieldResolver { private readonly IDependencyResolver _dependencyResolver; private readonly MethodInfo _methodInfo; private readonly ...
using System; using System.Linq; using System.Reflection; using GraphQL.Types; namespace GraphQL.Resolvers { public class MethodModelBinderResolver<T> : IFieldResolver { private readonly IDependencyResolver _dependencyResolver; private readonly MethodInfo _methodInfo; private readonly ...
mit
C#
bb59d19c1c4662ee4f737f09e894b7bc385d51fa
Implement IsValidDestination for Queen
ProgramFOX/Chess.NET
ChessDotNet/Pieces/Queen.cs
ChessDotNet/Pieces/Queen.cs
using System; namespace ChessDotNet.Pieces { public class Queen : ChessPiece { public override Player Owner { get; set; } public Queen(Player owner) { Owner = owner; } public override string GetFenCharacter() ...
namespace ChessDotNet.Pieces { public class Queen : ChessPiece { public override Player Owner { get; set; } public Queen(Player owner) { Owner = owner; } public override string GetFenCharacter() { ...
mit
C#
314e44574d0b05c8110b579207dfa1127d18e94d
fix recursion
JohanLarsson/Gu.Wpf.Geometry
Gu.Wpf.Geometry.Demo/Converters/ElementToBoundsRectConverter.cs
Gu.Wpf.Geometry.Demo/Converters/ElementToBoundsRectConverter.cs
namespace Gu.Wpf.Geometry.Demo.Converters { using System; using System.Windows; using System.Windows.Data; using System.Windows.Markup; using System.Windows.Media; [ValueConversion(typeof(FrameworkElement), typeof(Rect))] public sealed class ElementToBoundsRectConverter : MarkupExtension, I...
namespace Gu.Wpf.Geometry.Demo.Converters { using System; using System.Windows; using System.Windows.Data; using System.Windows.Markup; using System.Windows.Media; [ValueConversion(typeof(FrameworkElement), typeof(Rect))] public sealed class ElementToBoundsRectConverter : MarkupExtension, I...
mit
C#
cf99aefb45d96eafc146c5c8e687387501c6f89c
Fix ArgumentNullException configuring pools via Remoting
nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs
MultiMiner.Win/Extensions/ApplicationConfigurationExtensions.cs
using MultiMiner.Utility.Serialization; using System.Linq; namespace MultiMiner.Win.Extensions { public static class ApplicationConfigurationExtensions { public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject) { ...
using MultiMiner.Utility.Serialization; using System.Linq; namespace MultiMiner.Win.Extensions { public static class ApplicationConfigurationExtensions { public static Remoting.Data.Transfer.Configuration.Application ToTransferObject(this Data.Configuration.Application modelObject) { ...
mit
C#
c6b99e34140b5a4afb8bff907c2152e9771f6f2f
Update TMDbClientTrending.cs
LordMike/TMDbLib
TMDbLib/Client/TMDbClientTrending.cs
TMDbLib/Client/TMDbClientTrending.cs
using System.Threading; using System.Threading.Tasks; using TMDbLib.Objects.General; using TMDbLib.Objects.Search; using TMDbLib.Objects.Trending; using TMDbLib.Rest; namespace TMDbLib.Client { public partial class TMDbClient { public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim...
using System.Threading; using System.Threading.Tasks; using TMDbLib.Objects.General; using TMDbLib.Objects.Search; using TMDbLib.Objects.Trending; using TMDbLib.Rest; namespace TMDbLib.Client { public partial class TMDbClient { public async Task<SearchContainer<SearchMovie>> GetTrendingMoviesAsync(Tim...
mit
C#
2e31b09e4fe443cf1f124696480d41c10d7e8284
Increment version number in assembly info
fox091/TournamentTeamMaker
TeamMaker/Properties/AssemblyInfo.cs
TeamMaker/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("Te...
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("Te...
mit
C#
7d88d6f0fe5a40294e8adba82b0291a7605bc09f
fix fluent builder test
chrismckelt/WebMinder,chrismckelt/WebMinder,chrismckelt/WebMinder
Core.Tests/CreateFixture.cs
Core.Tests/CreateFixture.cs
using WebMinder.Core.Rules.IpBlocker; using WebMinder.Core.Runners; using Xunit; namespace WebMinder.Core.Tests { public class CreateFixture { [Fact] public void CreatesRuleSaysWhatItDoes() { const string rulesetname = "abcd"; const string rulesetdesc = "xyz"; ...
using WebMinder.Core.Rules.IpBlocker; using WebMinder.Core.Runners; using Xunit; namespace WebMinder.Core.Tests { public class CreateFixture { [Fact] public void CreatesRuleSaysWhatItDoes() { const string rulesetname = "abcd"; const string rulesetdesc = "xyz"; ...
apache-2.0
C#
594eaa0d97475e678c676f2c8d6ef2fe20ff74fd
Handle not having a current session
bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity
src/BugsnagUnity/SessionTracker.cs
src/BugsnagUnity/SessionTracker.cs
using BugsnagUnity.Payload; namespace BugsnagUnity { public interface ISessionTracker { void StartSession(); Session CurrentSession { get; } } class SessionTracker : ISessionTracker { private IClient Client { get; } private Session _currentSession; public Session CurrentSession {...
using BugsnagUnity.Payload; namespace BugsnagUnity { public interface ISessionTracker { void StartSession(); Session CurrentSession { get; } } class SessionTracker : ISessionTracker { private IClient Client { get; } private Session _currentSession; public Session CurrentSession {...
mit
C#
1fbd7f602eb4036ca0009d7de2438a38368fee3d
Reduce temporary list of titles
Lidefeath/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE
Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs
Source/ACE/Network/GameEvent/Events/GameEventCharacterTitles.cs
namespace ACE.Network.GameEvent { public class GameEventCharacterTitle : GameEventPacket { public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } } public GameEventCharacterTitle(Session session) : base(session) { } protected override void WriteEventBo...
namespace ACE.Network.GameEvent { public class GameEventCharacterTitle : GameEventPacket { public override GameEventOpcode Opcode { get { return GameEventOpcode.CharacterTitle; } } public GameEventCharacterTitle(Session session) : base(session) { } protected override void WriteEventBo...
agpl-3.0
C#
9bb2597c9247fed168ca427a2a6017a27dbe6871
Add framerate parameter in `AnimatorBase.DisplayUndoable`
Weingartner/SolidworksAddinFramework
SolidworksAddinFramework/OpenGl/Animation/AnimatorBase.cs
SolidworksAddinFramework/OpenGl/Animation/AnimatorBase.cs
using System; using System.Collections.Generic; using System.Numerics; using System.Reactive.Disposables; using System.Reactive.Linq; using SolidWorks.Interop.sldworks; using Weingartner.Exceptional.Reactive; namespace SolidworksAddinFramework.OpenGl.Animation { public abstract class AnimatorBase : IRenderable ...
using System; using System.Collections.Generic; using System.Numerics; using System.Reactive.Disposables; using System.Reactive.Linq; using SolidWorks.Interop.sldworks; using Weingartner.Exceptional.Reactive; namespace SolidworksAddinFramework.OpenGl.Animation { public abstract class AnimatorBase : IRenderable ...
mit
C#
a46a4056fc236fd3afb6040496581a10ba41bf56
Fix Plot return to index
joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net
Joinrpg/Views/Plot/Create.cshtml
Joinrpg/Views/Plot/Create.cshtml
@model JoinRpg.Web.Models.Plot.AddPlotFolderViewModel @{ ViewBag.Title = "Добавить сюжет"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <p>Начните работу с того, что создайте сюжет. Сюжет — это история, она состоит из вводных,...
@model JoinRpg.Web.Models.Plot.AddPlotFolderViewModel @{ ViewBag.Title = "Добавить сюжет"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> <p>Начните работу с того, что создайте сюжет. Сюжет — это история, она состоит из вводных,...
mit
C#
b9458307115d57ee464ef6aa6463c63eb11536a5
Add Operator Overloads to Vertex Struct
Silvertorch5/RobustEngine
Graphics/Vertex.cs
Graphics/Vertex.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RobustEngine.Graphics { public struct Vertex { public float X, Y, Z; public const int Stride = 12; public static readonly Vertex Zero = new Vertex(0,0); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RobustEngine.Graphics { public struct Vertex { public float X, Y, Z; public const int Stride = 12; public static readonly Vertex Zero = new Vertex(0,0); ...
mit
C#
07f2325cb78d7cc503c30b9b1717b7245f4c2554
Change button name
Vtek/PowerBI.Api.Client
src/XamarinClient/Page/RootPage.cs
src/XamarinClient/Page/RootPage.cs
using System; using Xamarin.Forms; namespace XamarinClient { /// <summary> /// Root page. /// </summary> public class RootPage : ContentPage { public RootPage() { InitializeComponent(); Bind(); } void InitializeComponent() { var layout = new StackLayout { VerticalOptions = LayoutOption...
using System; using Xamarin.Forms; namespace XamarinClient { /// <summary> /// Root page. /// </summary> public class RootPage : ContentPage { public RootPage() { InitializeComponent(); Bind(); } void InitializeComponent() { var layout = new StackLayout { VerticalOptions = LayoutOption...
mit
C#
cdfe95c15930ac6e0072699d7f7ab2c0725fccaf
Add AcentColour and xmldoc.
smoogipooo/osu,ZLima12/osu,NeoAdonis/osu,Damnae/osu,ppy/osu,johnneijzen/osu,nyaamara/osu,tacchinotacchi/osu,Drezi126/osu,Frontear/osuKyzer,DrabWeb/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,Nabile-Rahmani/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu-n...
osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.cs
osu.Game.Modes.Taiko/Objects/Drawable/DrawableTaikoHitObject.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 OpenTK.Graphics; using osu.Game.Modes.Objects.Drawables; using osu.Game.Modes.Taiko.Judgements; namespace osu.Game.Modes.Taiko.Objects.Drawable { pu...
// 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.Modes.Objects.Drawables; using osu.Game.Modes.Taiko.Judgements; namespace osu.Game.Modes.Taiko.Objects.Drawable { public class DrawableTaiko...
mit
C#
0a8bb3f1636984ae38199b78b053573077fd0f27
clean up
edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk
tests/InMemoryDataStoreTest.cs
tests/InMemoryDataStoreTest.cs
using System.IO; using FHSDK.Services; using FHSDK.Services.Data; using FHSDK.Sync; using FHSDKPortable; using Newtonsoft.Json.Linq; using Xunit; namespace tests { public class InMemoryDataStoreTest { private readonly string _dataPersistFile; private readonly IIOService _ioService; pu...
using System.IO; using FHSDK.Services; using FHSDK.Services.Data; using FHSDK.Sync; using FHSDKPortable; using Newtonsoft.Json.Linq; using Xunit; namespace tests { public class InMemoryDataStoreTest { private string _dataPersistDir; private string _dataPersistFile; private IIOService _...
apache-2.0
C#
529816fb307ac071e2ca031606144eb8377e523b
Fix generated code spelling mistake. Closes #796
sschmid/Entitas-CSharp,sschmid/Entitas-CSharp
Addons/Entitas.VisualDebugging.CodeGeneration.Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins/ContextObserverGenerator.cs
Addons/Entitas.VisualDebugging.CodeGeneration.Plugins/Entitas.VisualDebugging.CodeGeneration.Plugins/ContextObserverGenerator.cs
using System.Linq; using DesperateDevs.CodeGeneration; using DesperateDevs.Utils; using Entitas.CodeGeneration.Plugins; namespace Entitas.VisualDebugging.CodeGeneration.Plugins { public class ContextObserverGenerator : ICodeGenerator { public string name { get { return "Context Observer"; } } pub...
using System.Linq; using DesperateDevs.CodeGeneration; using DesperateDevs.Utils; using Entitas.CodeGeneration.Plugins; namespace Entitas.VisualDebugging.CodeGeneration.Plugins { public class ContextObserverGenerator : ICodeGenerator { public string name { get { return "Context Observer"; } } pub...
mit
C#
3437f02a99423472e784c441ffbc822e55408a4c
Update Index.cshtml
infosecdev/botforge,roxberry/botforge,roxberry/botforge,infosecdev/botforge
botforge/Views/Home/Index.cshtml
botforge/Views/Home/Index.cshtml
@{ ViewBag.Title = "ROBOTS!"; } <div class="hero-unit"> <img src="~/img/logo2.png" style="width:300px;" alt="The Robot Forge" /> <img src="~/img/banner2.png" /> <p class="lead">The Robot Forge is where robot makers come to learn about robotics, build robots from components and software and interact ...
@{ ViewBag.Title = "The Robot Forge"; } <div class="hero-unit"> <img src="~/img/logo2.png" style="width:300px;" alt="The Robot Forge" /> <img src="~/img/banner2.png" /> <p class="lead">The Robot Forge is where robot makers come to learn about robotics, build robots from components and software and i...
mit
C#
277c613e552daaf4c7f42714421b452c08344cf5
Fix silly mistake in DI configuration
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs
Agiil.Web/App_Start/ContainerFactoryProviderExtensions.cs
using System; using System.Web.Http; using Agiil.Bootstrap.DiConfiguration; using Autofac; namespace Agiil.Web.App_Start { public static class ContainerFactoryProviderExtensions { public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config) { if(provider ==...
using System; using System.Web.Http; using Agiil.Bootstrap.DiConfiguration; using Autofac; namespace Agiil.Web.App_Start { public static class ContainerFactoryProviderExtensions { public static IContainer GetContainer(this ContainerFactoryProvider provider, HttpConfiguration config) { if(provider ==...
mit
C#
c4c9753214bb84c5e423ce422db7acca46227c2b
Return localized resource
gjulianm/AncoraMVVM
AncoraMVVM.Phone/Converters/PhoneEnumToStringConverter.cs
AncoraMVVM.Phone/Converters/PhoneEnumToStringConverter.cs
using System.Windows; using System.Windows.Data; using AncoraMVVM.Base.Converters; namespace AncoraMVVM.Phone.Converters { public class PhoneEnumToStringConverter : BaseEnumToStringConverter, IValueConverter { protected override string GetLocalizedString(string id) { return Applica...
using System.Windows.Data; using AncoraMVVM.Base.Converters; namespace AncoraMVVM.Phone.Converters { public class PhoneEnumToStringConverter : BaseEnumToStringConverter, IValueConverter { protected override string GetLocalizedString(string id) { throw new System.NotImplementedExcep...
mpl-2.0
C#
fd4ca91d6f7c47c9ce97eed2c91b686cac391447
Fix a bug where toggleready returns an exception when provided with the wrong number of arguments (#9631)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameTicking/Commands/ToggleReadyCommand.cs
Content.Server/GameTicking/Commands/ToggleReadyCommand.cs
using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; namespace Content.Server.GameTicking.Commands { [AnyCommand] sealed class ToggleReadyCommand : IConsoleCommand { public string Command => "toggleready"; public string Description => ""; pub...
using Content.Shared.Administration; using Robust.Server.Player; using Robust.Shared.Console; namespace Content.Server.GameTicking.Commands { [AnyCommand] sealed class ToggleReadyCommand : IConsoleCommand { public string Command => "toggleready"; public string Description => ""; pub...
mit
C#
85ed140631e10d14875a183457066e74b55623b8
Add simple successfully checking property to AsyncResponseData
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/AsyncResponseData.cs
Scripts/AsyncResponseData.cs
using LiteNetLib.Utils; namespace LiteNetLibManager { public struct AsyncResponseData<TResponse> where TResponse : INetSerializable { public ResponseHandlerData RequestHandler { get; private set; } public AckResponseCode ResponseCode { get; private set; } public TResponse Respo...
using LiteNetLib.Utils; namespace LiteNetLibManager { public struct AsyncResponseData<TResponse> where TResponse : INetSerializable { public ResponseHandlerData RequestHandler { get; private set; } public AckResponseCode ResponseCode { get; private set; } public TResponse Respo...
mit
C#
3ee576240de73918c6455d500c0644b1f2c4c54b
Improve tests
Fody/Stamp
Tests/TaskTests.cs
Tests/TaskTests.cs
using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using Mono.Cecil; using NUnit.Framework; [TestFixture] public class TaskTests { private Assembly assembly; // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable private string beforeAssemblyPath; priva...
using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using Mono.Cecil; using NUnit.Framework; [TestFixture] public class TaskTests { private Assembly assembly; // ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable private string beforeAssemblyPath; priva...
mit
C#
693ca83135753921aee5c08f377f700ce6014fce
Allow trial_period_start to be null
xamarin/XamarinStripe,haithemaraissia/XamarinStripe
XamarinStripe/StripePlan.cs
XamarinStripe/StripePlan.cs
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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 ...
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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#
ebf5572bc43162d0b28e3f3b9b6255177199d3f0
Configure Sensor dynamically
jcapellman/jcTM,jcapellman/jcTM
csharp/jcTM.UWP.IoT/MainPage.xaml.cs
csharp/jcTM.UWP.IoT/MainPage.xaml.cs
using Windows.UI.Xaml.Controls; using GrovePi; using GrovePi.Sensors; using jcTM.PCL.Handlers; namespace jcTM.UWP.IoT { public sealed partial class MainPage : Page { private ITemperatureSensor _sensor; public MainPage() { this.InitializeComponent(); ConfigureSensor(); ...
using Windows.UI.Xaml.Controls; using GrovePi; using GrovePi.Sensors; using jcTM.PCL.Handlers; namespace jcTM.UWP.IoT { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); ReadTemperature(); } private async voi...
mit
C#
23dcd526e3c9c1b54d273e9a48729c64c231605e
Add nullcheck for CI
ZLima12/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,Z...
osu.Framework.Tests/Visual/TestCaseScreenshot.cs
osu.Framework.Tests/Visual/TestCaseScreenshot.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 osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.OpenGL.Textures; using osu....
// 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.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.OpenGL.Textures; using osu....
mit
C#
78943a21d81fc6658a5be485f354b7f925b4636e
Update osu.Game/Beatmaps/ControlPoints/IControlPoint.cs
peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Beatmaps/ControlPoints/IControlPoint.cs
osu.Game/Beatmaps/ControlPoints/IControlPoint.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Beatmaps.ControlPoints { public interface IControlPoint { /// <summary> /// The time at which the control point takes effect. ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Beatmaps.ControlPoints { public interface IControlPoint { /// <summary> /// The time at which the control point takes effect. ...
mit
C#
457f7e32c323d95383e5bb72e7229b98473f3ebd
Update update url
MatthiWare/UpdateLib
UpdateLib/TestApp/Program.cs
UpdateLib/TestApp/Program.cs
using MatthiWare.UpdateLib; using MatthiWare.UpdateLib.Logging; using MatthiWare.UpdateLib.Logging.Writers; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace TestApp { static class Program { /// <summary> /// The main entry point for the a...
using MatthiWare.UpdateLib; using MatthiWare.UpdateLib.Logging; using MatthiWare.UpdateLib.Logging.Writers; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace TestApp { static class Program { /// <summary> /// The main entry point for the a...
agpl-3.0
C#
956e303c5a245b6ed2ff74acf07da36679f4d982
Delete a comma
imba-tjd/CSharp-Code-Repository
单个文件的程序/pingt.cs
单个文件的程序/pingt.cs
using System; using System.Diagnostics; // 对tcping的简单封装,自动使用443 class PingT { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("参数不正确"); Environment.Exit(1); } // 无论输入主机还是网址都能运行,后者会自动提取出主机;但为了使用Uri,又要当输入前者时加上协议 string u...
using System; using System.Diagnostics; // 对tcping的简单封装,自动使用443 class PingT { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("参数不正确"); Environment.Exit(1); } // 无论输入主机还是网址都能运行,后者会自动提取出主机,;但为了使用Uri,又要当输入前者时加上协议 string ...
mit
C#
d3c58c848deba41d97cb71fbce36b4d89a515555
Add licence header
naoey/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,peppy/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,Frontear/osuKyzer,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,Drezi126/osu,smoogipo...
osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.cs
osu.Game.Rulesets.Catch/Beatmaps/CatchBeatmapProcessor.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.Beatmaps; using osu.Game.Rulesets.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Beatmaps { internal cl...
using osu.Game.Beatmaps; using osu.Game.Rulesets.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Beatmaps { internal class CatchBeatmapProcessor : BeatmapProcessor<CatchBaseHit> { public override void PostProcess(Beatmap<CatchBaseHit> beatmap) { ...
mit
C#
e7367377ad6a29abc7efc8fb48bee8c709f3d948
Fix test on OSX
BlueMountainCapital/Deedle,AtwooTM/Deedle,buybackoff/Deedle,BlueMountainCapital/Deedle,buybackoff/Deedle,AtwooTM/Deedle,caioproiete/Deedle,filmor/Deedle,tpetricek/Deedle,filmor/Deedle,buybackoff/Deedle,tpetricek/Deedle,filmor/Deedle,caioproiete/Deedle,Dependencies/Deedle,jeyoor/Deedle,BlueMountainCapital/Deedle,jeyoor/...
tests/Deedle.CSharp.Tests/Frame.cs
tests/Deedle.CSharp.Tests/Frame.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Deedle; using System.Runtime.CompilerServices; using System.IO; namespace Deedle.CSharp.Tests { /* ------------------------------------------------------------------------...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Deedle; using System.Runtime.CompilerServices; using System.IO; namespace Deedle.CSharp.Tests { /* ------------------------------------------------------------------------...
bsd-2-clause
C#
dee514939f5e97f9f88a6f05df3ae6ae7364e70c
Move to modern nuget. Make Sprite compile by stubbing missing interface methods.
eylvisaker/AgateLib
AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs
AgateLib.Tests/UnitTests/Extensions/ListExtensions.cs
using System.Collections.Generic; using AgateLib.Extensions.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AgateLib.UnitTests.Extensions { [TestClass] public class ListExtensions { [TestMethod] public void SortPrimitives() { List<int> li = new List<int> ...
using System.Collections.Generic; using AgateLib.Extensions.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace AgateLib.UnitTests.Extensions { [TestClass] public class ListExtensions { [TestMethod] public void SortPrimitives() { List<int> li = new List<int> ...
mit
C#
ac6dd367e638298e1fb832af208d66ba757b217f
Update to version number
ForkandBeard/Alferd-Spritesheet-Unpacker
ASU/Properties/AssemblyInfo.cs
ASU/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("AS...
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("AS...
mit
C#
e518dd8a960659ed0ec711f95e58331ed254c7f4
Add new file userAuth.cpl/Droid/MainActivity.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
userAuth.cpl/Droid/MainActivity.cs
userAuth.cpl/Droid/MainActivity.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; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/icon", MainL...
 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; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/icon", MainLa...
mit
C#
d487d341ed754b5ad8756a69e2d53936d88a92f7
Add new file userAuth.cpl/Droid/MainActivity.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
userAuth.cpl/Droid/MainActivity.cs
userAuth.cpl/Droid/MainActivity.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; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@draw...
� 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; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/...
mit
C#
a8b5b06755ab1e07c49c164d0307d82f15a4894f
Update MichaelRidland.cs
beraybentesen/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxama...
src/Firehose.Web/Authors/MichaelRidland.cs
src/Firehose.Web/Authors/MichaelRidland.cs
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class MichaelRidland : IAmAXamarinMVP { public string FirstName => "Michael"; public string LastName => "Ridland"; public string StateOrRegion => "Sydney, Austra...
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class MichaelRidland : IAmAXamarinMVP { public string FirstName => "Michael"; public string LastName => "Ridland"; public string StateOrRegion => "Sydney, Austra...
mit
C#
33d7a3e284d0da14898c56808f1020a89ca9cd1d
Update version number
HoLLy-HaCKeR/osu-BackgroundChanger
osu!BackgroundChanger/Properties/AssemblyInfo.cs
osu!BackgroundChanger/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("osu...
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("osu...
mit
C#
fd359989018e64754803479cd636166150b4a752
Update ObservableHelper.cs
keith-hall/reactive-animation
src/ObservableHelper.cs
src/ObservableHelper.cs
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
using System; using System.Drawing; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Windows.Forms; namespace ReactiveAnimation { public static class ObservableHelper { private static IObservable<Rectangle> PositionBasedOnControl<TEventArgs>(IObservable<EventPattern<object, TEvent...
apache-2.0
C#
5d75e9bc30c2d2dbdabab8317b5b22b1fa973cab
set version
rodkings/Untappd.Net,tparnell8/Untappd.Net,tparnell8/Untappd.Net,rodkings/Untappd.Net
src/Untappd.Net/Properties/AssemblyInfo.cs
src/Untappd.Net/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Un...
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("Un...
mit
C#
1555b07dd4d094c7c125e7764e9789ccb2c9f1d4
Use var. Rider finally understands it here ;)
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
src/HelloCoreClrApp/WebApi/Actions/SayHelloWorldAction.cs
src/HelloCoreClrApp/WebApi/Actions/SayHelloWorldAction.cs
using System.Threading.Tasks; using HelloCoreClrApp.Data; using HelloCoreClrApp.WebApi.Messages; using Serilog; namespace HelloCoreClrApp.WebApi.Actions { public class SayHelloWorldAction : ISayHelloWorldAction { private static readonly ILogger Log = Serilog.Log.ForContext<SayHelloWorldAction>(); ...
using System; using System.Threading.Tasks; using HelloCoreClrApp.Data; using HelloCoreClrApp.WebApi.Messages; using Serilog; namespace HelloCoreClrApp.WebApi.Actions { public class SayHelloWorldAction : ISayHelloWorldAction { private static readonly ILogger Log = Serilog.Log.ForContext<SayHelloWorldAc...
mit
C#
d9b1bfc98f58dcbde14f924c02b3335950a22c77
Fix Fault with GameObject injection
HelloKitty/SceneJect,HelloKitty/SceneJect
src/SceneJect.Common/Services/DefaultGameObjectFactory.cs
src/SceneJect.Common/Services/DefaultGameObjectFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SceneJect.Common { public class DefaultGameObjectFactory : IGameObjectFactory { /// <summary> /// Service for resolving dependencies. /// </summary> private IResolver resolverService { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace SceneJect.Common { public class DefaultGameObjectFactory : IGameObjectFactory { /// <summary> /// Service for resolving dependencies. /// </summary> private IResolver resolverService { get; } ...
mit
C#
b0ccd614805c9d89dc1da5f3e5fb5b43ab164dd1
Fix weird code formatting
UselessToucan/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,ZLima12/osu,naoey/osu,2yangk23/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,naoey/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,DrabWeb/osu,smoo...
build.cake
build.cake
#addin "nuget:?package=CodeFileSanity&version=0.0.21" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ///////////////////////////////////////////...
#addin "nuget:?package=CodeFileSanity&version=0.0.21" #addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2" #tool "nuget:?package=NVika.MSBuild&version=1.0.1" /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS ///////////////////////////////////////////...
mit
C#
3d74b9de81b9be46bdb7d4d1f3cf8641d670995f
Fix Cake script not running tests from SimpSim.NET.Tests project.
ryanjfitz/SimpSim.NET
build.cake
build.cake
#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); //////...
#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 ////////////////////////////////////////////////////////////////////// // ARGUMENTS ////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); //////...
mit
C#
1f82f34e44e86ef67e8b07d879fb8d019f8c8ff6
Fix broken dnu restore
jamesqo/flavor.net,jamesqo/flavor.net
build.cake
build.cake
var target = Argument("target", "Default"); var config = Argument("configuration", "Release"); Task("Restore") .Does(() => { var files = GetFiles("**/project.json"); foreach (var file in files) DNURestore(file); }); Task("Build") .IsDependentOn("Restore") .Does(() => { MSBuild("flavor....
var target = Argument("target", "Default"); var config = Argument("configuration", "Release"); Task("Build") .Does(() => { DNURestore(); MSBuild("flavor.net.sln", new MSBuildSettings() .SetConfiguration(config)); }); Task("Test") .Does(() => { var pattern = string.Format("artifacts/bin/fla...
bsd-2-clause
C#
f47751bd7f9e4f1649bc7e7b57280d14de2344e0
add build step
IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
apache-2.0
C#
a94224c5014121b0f47d36883da5e7f4b8c24f14
Remove extra newline
braintree/braintree_dotnet,scottmeyer/braintree_dotnet,scottmeyer/braintree_dotnet,scottmeyer/braintree_dotnet,scottmeyer/braintree_dotnet,braintree/braintree_dotnet
Braintree/Disbursement.cs
Braintree/Disbursement.cs
using System; using System.Collections; using System.Collections.Generic; namespace Braintree { public class Disbursement { public virtual string Id { get; protected set; } public virtual decimal? Amount { get; protected set; } public virtual string ExceptionMessage { get; protected set...
using System; using System.Collections; using System.Collections.Generic; namespace Braintree { public class Disbursement { public virtual string Id { get; protected set; } public virtual decimal? Amount { get; protected set; } public virtual string ExceptionMessage { get; protected set...
mit
C#
49ca151d1dd74c2290e1f7e96d15b4048801f64d
Clean more tests directories.
mono/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,j...
build.cake
build.cake
#!mono .cake/Cake/Cake.exe #tool "nuget:?package=NUnit.ConsoleRunner" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); #load "build/Utils.cake" #load "build/Android.cake" #load "build/Tests.cake" #load "build/Packaging.cake" Task("Clean") .Does(() => { ...
#!mono .cake/Cake/Cake.exe #tool "nuget:?package=NUnit.ConsoleRunner" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); #load "build/Utils.cake" #load "build/Android.cake" #load "build/Tests.cake" #load "build/Packaging.cake" Task("Clean") .Does(() => { ...
mit
C#
eeff886c0b7a4b286a6e3941d257ddfbca9ba6ed
Adjust settings in cake
jamesmontemagno/Censored,jamesmontemagno/Censored
build.cake
build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Default")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Default").Does (() => { NuGetRestore ("./Censored.sln"); DotNetBuild ("./Censored.sln", c => c.Configuration = "Release"); ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Default")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Default").Does (() => { NuGetRestore ("./Censored.sln"); DotNetBuild ("./Censored.sln", c => c.Configuration = "Release"); ...
mit
C#
33ac9a51b0b0db3d5f32e08704dfd5438aeb1ba5
Fix for new Boo assemblies.
codechip/rhino-tools,brumschlag/rhino-tools,brumschlag/rhino-tools,codechip/rhino-tools
rhino-dsl/Rhino.DSL.Tests/OrderDSL/BaseOrderActionsDSL.cs
rhino-dsl/Rhino.DSL.Tests/OrderDSL/BaseOrderActionsDSL.cs
namespace Rhino.DSL.Tests.OrderDSL { using System.Collections; using System.Collections.Specialized; using Boo.Lang; using Boo.Lang.Compiler.Ast; public abstract class BaseOrderActionsDSL { public delegate bool Condition(); public delegate void Action(); protected OrderedDictionary conditionsA...
namespace Rhino.DSL.Tests.OrderDSL { using System.Collections; using System.Collections.Specialized; using Boo.Lang.Compiler.Ast; using Boo.Lang.Compiler.MetaProgramming; public abstract class BaseOrderActionsDSL { public delegate bool Condition(); public delegate void Action(); protected Orde...
bsd-3-clause
C#
7184590828de769a53ce890f775df147502ecec1
resolve correct name for RoleNameSetter
eShopWorld/devopsflex-telemetry
src/DevOpsFlex.Telemetry/Processors/RoleNameSetter.cs
src/DevOpsFlex.Telemetry/Processors/RoleNameSetter.cs
namespace DevOpsFlex.Telemetry.Processors { using System; using JetBrains.Annotations; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; /// <summary> /// Sets the 'cloud_RoleName' role name attribute on a AI telemetry item /// </summa...
namespace DevOpsFlex.Telemetry.Processors { using System; using JetBrains.Annotations; using Microsoft.ApplicationInsights.Channel; using Microsoft.ApplicationInsights.Extensibility; /// <summary> /// Sets the 'cloud_RoleName' role name attribute on a AI telemetry item /// </summary> /...
mit
C#
d2482c8db3a7efcecf40327f9750d39a2a83d94e
add column menu to grid
arst/SimplCommerce,simplcommerce/SimplCommerce,simplcommerce/SimplCommerce,arst/SimplCommerce,simplcommerce/SimplCommerce,arst/SimplCommerce,arst/SimplCommerce,simplcommerce/SimplCommerce
src/HvCommerce.Web/Areas/Admin/Views/User/List.cshtml
src/HvCommerce.Web/Areas/Admin/Views/User/List.cshtml
<h1 class="page-header">Danh sach nguoi dung</h1> @(Html.Kendo().Grid<HvCommerce.Web.Areas.Admin.ViewModels.UserList>() .Name("gridUser") .Columns(columns => { columns.Bound(p => p.Email); columns.Bound(p => p.FullName); columns.Bound(p => p.CreatedOn).Forma...
<h1 class="page-header">Danh sach nguoi dung</h1> @(Html.Kendo().Grid<HvCommerce.Web.Areas.Admin.ViewModels.UserList>() .Name("gridUser") .Columns(columns => { columns.Bound(p => p.Email); columns.Bound(p => p.FullName); columns.Bound(p => p.CreatedOn).Forma...
apache-2.0
C#
e2fb803bb27829658af2dbc65054af1c8bf21d34
add datetime to page generated from mvc
fsprojects/fsharp-dnx,fsprojects/fsharp-dnx
sample/HelloMvc/EmbeddedResources/Views/Home/Index.cshtml
sample/HelloMvc/EmbeddedResources/Views/Home/Index.cshtml
<h1>Hello from F#</h1> <h2>(by Razor)</h2> Page generated: @Html.Encode(string.Format("{0}", System.DateTime.Now))
<h1>Hello from F#</h1> <h2>(by Razor)</h2>
apache-2.0
C#
9e6d325561ef4e92d9976d78437047256d67a7a3
Update SpellingLanguages.cs
punker76/Markdown-Edit,mike-ward/Markdown-Edit
src/MarkdownEdit/SpellCheck/SpellingLanguages.cs
src/MarkdownEdit/SpellCheck/SpellingLanguages.cs
using System.ComponentModel; namespace MarkdownEdit.SpellCheck { public enum SpellingLanguages { [Description("English (Australia)")] Australian, [Description("English (Canada)")] Canadian, [Description("English (United Kingdom)")] UnitedKingdom, [Description("English (Unite...
using System.ComponentModel; namespace MarkdownEdit.SpellCheck { public enum SpellingLanguages { [Description("English (Australia)")] Australian, [Description("English (Canada)")] Canadian, [Description("English (United Kingdom)")] UnitedKingdom, [Description("English (Unite...
mit
C#
2a93ad20464d37d5806564bfdafb2eff09424691
Drop default build target (help is helpful).
FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/Facility,FacilityApi/FacilityCSharp,FacilityApi/FacilityJavaScript
tools/Build/Build.cs
tools/Build/Build.cs
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Faithlife.Build; using static Faithlife.Build.AppRunner; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; internal static class Build { public static int Main(string[] args) => BuildRunne...
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using Faithlife.Build; using static Faithlife.Build.AppRunner; using static Faithlife.Build.BuildUtility; using static Faithlife.Build.DotNetRunner; internal static class Build { public static int Main(string[] args) => BuildRunne...
mit
C#
996bcbeb45c439a582872e3ab1390d7b28ea97dd
fix line style error
pianzide1117/Ansibility,pianzide1117/Ansibility,pianzide1117/Ansibility
src/Ansibility.Web/Services/Impl/DebuggerAnsibleCaller.cs
src/Ansibility.Web/Services/Impl/DebuggerAnsibleCaller.cs
using System; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Ansibility.Web.Services.Impl { internal class DebuggerAnsibleCaller : IAnsibleCaller { private readonly ILogger<DebuggerAnsibleCaller> _logger; public DebuggerAnsibleCaller(ILogger<DebuggerAnsibleCaller>...
using System; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace Ansibility.Web.Services.Impl { internal class DebuggerAnsibleCaller : IAnsibleCaller { private readonly ILogger<DebuggerAnsibleCaller> _logger; public DebuggerAnsibleCaller(ILogger<DebuggerAnsibleCaller>...
mit
C#
147baa0c691991b506af8688e73606a4f15d7289
Enable value callbacks for PathKeyframeAnimation.
azchohfi/LottieUWP
LottieUWP/Animation/Keyframe/PathKeyframeAnimation.cs
LottieUWP/Animation/Keyframe/PathKeyframeAnimation.cs
using System.Collections.Generic; using System.Numerics; namespace LottieUWP.Animation.Keyframe { internal class PathKeyframeAnimation : KeyframeAnimation<Vector2?> { private PathKeyframe _pathMeasureKeyframe; private PathMeasure _pathMeasure; internal PathKeyframeAnimation(List<Keyfr...
using System.Collections.Generic; using System.Numerics; namespace LottieUWP.Animation.Keyframe { internal class PathKeyframeAnimation : KeyframeAnimation<Vector2?> { private PathKeyframe _pathMeasureKeyframe; private PathMeasure _pathMeasure; internal PathKeyframeAnimation(List<Keyfr...
apache-2.0
C#
1fdd60111826c640f66a90c16b3aa7222d41dcea
Revert "Revert "Catching exception in Vertex.ToString()""
yishn/GTPWrapper
GTPWrapper/DataTypes/Vertex.cs
GTPWrapper/DataTypes/Vertex.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper.DataTypes { /// <summary> /// Represents a Go board coordinate. /// </summary> public struct Vertex { /// <summary> /// The letters in a vertex strin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapper.DataTypes { /// <summary> /// Represents a Go board coordinate. /// </summary> public struct Vertex { /// <summary> /// The letters in a vertex strin...
mit
C#
1c9d0f7b345b7b481afca55fc43120a65104c411
add string.equalsIgnore
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Infrastructure/Extensions.cs
Dashen/Infrastructure/Extensions.cs
using System; using System.Collections.Generic; using System.IO; namespace Dashen.Infrastructure { public static class Extensions { public static void ForEach<T>(this IEnumerable<T> self, Action<T> action) { foreach (var item in self) { action(item); } } public static MemoryStream Reset(this M...
using System; using System.Collections.Generic; using System.IO; namespace Dashen.Infrastructure { public static class Extensions { public static void ForEach<T>(this IEnumerable<T> self, Action<T> action) { foreach (var item in self) { action(item); } } public static MemoryStream Reset(this M...
lgpl-2.1
C#
63c37874bdd9342eb2750bdd799944c3e146d9dd
Add drop-down menu for concerts.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/Views/Shared/_MenuBar.cshtml
src/CGO.Web/Views/Shared/_MenuBar.cshtml
@functions { private string GetCssClass(string actionName, string controllerName) { var currentControllerName = ViewContext.RouteData.Values["controller"].ToString(); var isCurrentController = currentControllerName == controllerName; if (currentControllerName == "Home") { ...
@functions { private string GetCssClass(string actionName, string controllerName) { var currentControllerName = ViewContext.RouteData.Values["controller"].ToString(); var isCurrentController = currentControllerName == controllerName; if (currentControllerName == "Home") { ...
mit
C#
452859333d747105ff896e54136fbab33e84f526
Add the content type for notification attachments
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/EmailNotification.cs
CertiPay.Common.Notifications/Notifications/EmailNotification.cs
using System; using System.Collections.Generic; namespace CertiPay.Common.Notifications { /// <summary> /// Represents an email notification sent a user, employee, or administrator /// </summary> public class EmailNotification : Notification { public static String QueueName { get { return ...
using System; using System.Collections.Generic; namespace CertiPay.Common.Notifications { /// <summary> /// Represents an email notification sent a user, employee, or administrator /// </summary> public class EmailNotification : Notification { public static String QueueName { get { return ...
mit
C#
3c572ec38912281f629136e225801023b4a3c349
Update ApplyingThemes.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as...
Examples/CSharp/Charts/SettingChartsAppearance/ApplyingThemes.cs
Examples/CSharp/Charts/SettingChartsAppearance/ApplyingThemes.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Charts; namespace Aspose.Cells.Examples.Charts.SettingChartsAppearance { public class ApplyingThemes { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string...
using System.IO; using Aspose.Cells; using Aspose.Cells.Charts; namespace Aspose.Cells.Examples.Charts.SettingChartsAppearance { public class ApplyingThemes { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells....
mit
C#
0bf026c09c68d8d5d7c41946a518f171efa54988
Bump version
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Solution/FormEditor/Properties/AssemblyInfo.cs
Source/Solution/FormEditor/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("Fo...
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("Fo...
mit
C#
acfe40a014dfae5abc489fe14cd21608df7197c0
Add license
waltersoto/PortableMD5
PortableMD5/PortableMD5/Data.cs
PortableMD5/PortableMD5/Data.cs
/* The MIT License (MIT) Copyright (c) 2015 Walter M. Soto Reyes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
 namespace PortableMD5 { internal class Data { public Data(byte[] data) { DataArr = data; Size = data.Length; BlockCount = ((Size + 8) >> 6) + 1; var total = BlockCount << 6; Padding = new byte[total - Size]; Padding[0] = ...
mit
C#
73e62f609747898c14c6010da3a7473525fc8313
Add ctor with day of week parameter to DayOfWeekRule
diaconesq/RecurringDates
RecurringDates/DayOfWeekRule.cs
RecurringDates/DayOfWeekRule.cs
using System; namespace RecurringDates { public class DayOfWeekRule : BaseRule { public DayOfWeekRule() { } public DayOfWeekRule(DayOfWeek dayOfWeek) { DayOfWeek = dayOfWeek; } public override bool IsMatch(DateTime day) { ...
using System; namespace RecurringDates { public class DayOfWeekRule : BaseRule { public override bool IsMatch(DateTime day) { return day.DayOfWeek == DayOfWeek; } public override string GetDescription() { return DayOfWeek.ToString(); } ...
bsd-2-clause
C#
82b3dc8b5535a3f233b31b1a3a999be6a17da76e
Return any assembly that match the name, do not look at version
resgroup/nimrod,resgroup/nimrod,resgroup/nimrod,resgroup/nimrod
Nimrod/AssemblyLocator.cs
Nimrod/AssemblyLocator.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Nimrod { public static class AssemblyLocator { static ConcurrentDictionary<...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Nimrod { public static class AssemblyLocator { static ConcurrentDictionary<string, Assembly> assemblie...
mit
C#
aeb31a66b88fb055b37686071f0fa7d324a04c50
Mark as many members on Text as possible with the `readonly` modifier, so that the limited mutation remains limited and so that usages of Text as an `in` parameter can be as fast as possible by avoiding compiler-generated defensive copies.
plioi/parsley
src/Parsley/Text.cs
src/Parsley/Text.cs
namespace Parsley; public ref struct Text { int index; readonly ReadOnlySpan<char> input; int line; public Text(ReadOnlySpan<char> input) : this(input, 0, 1) { } Text(ReadOnlySpan<char> input, int index, int line) { this.input = input; this.index = index; if (...
namespace Parsley; public ref struct Text { int index; readonly ReadOnlySpan<char> input; int line; public Text(ReadOnlySpan<char> input) : this(input, 0, 1) { } Text(ReadOnlySpan<char> input, int index, int line) { this.input = input; this.index = index; if (...
mit
C#
26d270422baab98d6345ce03bd0b971ccc54651a
Revert version mtapi (MT4) to 1.0.35
vdemydiuk/mtapi,vdemydiuk/mtapi,vdemydiuk/mtapi
MtApi/Properties/AssemblyInfo.cs
MtApi/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#
dadf3340e1b524be084226f5157325ced467bc4b
Update Cuid.cs
moonpyk/ncuid
NCuid/Cuid.cs
NCuid/Cuid.cs
using System; using System.Diagnostics; using System.Linq; namespace Cuid { public class Cuid { private static ulong _globalCounter; private const int BlockSize = 4; private const int Base = 36; private static readonly ulong DiscreteValues...
using System; using System.Diagnostics; using System.Linq; namespace Cuid { public class Cuid { private static ulong _globalCounter; private const int BlockSize = 4; private const int Base = 36; private static readonly ulong DiscreteValues...
mit
C#
d78687a32d9fd48f0f5beed8380b5e5c78fc8fca
Add Base58 decode tests
mcliment/CsBenc,mcliment/CsBenc
test/CsBenc.Tests/Base58EncoderTests.cs
test/CsBenc.Tests/Base58EncoderTests.cs
using NUnit.Framework; using Shouldly; namespace CsBenc.Tests { [TestFixture] [Parallelizable] public class Base58EncoderTests { private readonly Base58Encoder encoder = new Base58Encoder(); [TestCase(0UL, "1")] [TestCase(57UL, "z")] [TestCase(58UL, "21")] [Tes...
using NUnit.Framework; using Shouldly; namespace CsBenc.Tests { [TestFixture] [Parallelizable] public class Base58EncoderTests { private readonly Base58Encoder encoder = new Base58Encoder(); [TestCase(0UL, "1")] [TestCase(57UL, "z")] [TestCase(58UL, "21")] [Tes...
mit
C#
e111136680fecc669c0526ff3b095dd613627b06
Use property
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Models/CoinsView.cs
WalletWasabi/Models/CoinsView.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NBitcoin; using WalletWasabi.Helpers; using WalletWasabi.Models; namespace WalletWasabi.Models { public class CoinsView : IEnumerable<SmartCoin> { private IEnumerable<SmartCoin> Coins { get; } public CoinsView(IEn...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NBitcoin; using WalletWasabi.Helpers; using WalletWasabi.Models; namespace WalletWasabi.Models { public class CoinsView : IEnumerable<SmartCoin> { private IEnumerable<SmartCoin> _coins; public CoinsView(IEnumerabl...
mit
C#
d708552c55b4fa127dacf4ee7cffad8e1cb6d52b
test comment
BD-IATI/edi,BD-IATI/edi,BD-IATI/edi,BD-IATI/edi
AIMS_BD_IATI.Service/Program.cs
AIMS_BD_IATI.Service/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using AIMS_BD_IATI.Library; using AIMS_BD_IATI.Library.Parser; using AIMS_BD_IATI.Library.Parser.ParserIATIv1; using AIMS_BD_IATI.Library.Parser.ParserIATIv2; namespace AIMS_BD_IATI.Se...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using AIMS_BD_IATI.Library; using AIMS_BD_IATI.Library.Parser; using AIMS_BD_IATI.Library.Parser.ParserIATIv1; using AIMS_BD_IATI.Library.Parser.ParserIATIv2; namespace AIMS_BD_IATI.Se...
agpl-3.0
C#
61022d2e3e59cc03972ef9b108b53205bd3cf85c
Fix output formats
andburn/dds-reader
DDSReader/DDSReader/DDSImage.cs
DDSReader/DDSReader/DDSImage.cs
using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System; using System.IO; namespace DDSReader { public class DDSImage { private readonly Pfim.IImage _image; public byte[] Data { get { if (_image != null) return _image.Data; else return new b...
using SixLabors.ImageSharp; using SixLabors.ImageSharp.PixelFormats; using System; using System.IO; namespace DDSReader { public class DDSImage { private readonly Pfim.IImage _image; public byte[] Data { get { if (_image != null) return _image.Data; else return new b...
mit
C#
c6bbfcf3c343196f66a86b00ce9e911c5c28ce90
Fix interface name typo.
brendanjbaker/Bakery
src/Bakery/Mail/EmailAddress.cs
src/Bakery/Mail/EmailAddress.cs
namespace Bakery.Mail { using System; public class EmailAddress : IEmailAddress { private readonly String name; private readonly String value; public EmailAddress(String value, String name = null) { this.name = name; this.value = value; } public String Name { get { retu...
namespace Bakery.Mail { using System; public class EmailAddress : IEmailHeader { private readonly String name; private readonly String value; public EmailAddress(String value, String name = null) { this.name = name; this.value = value; } public String Name { get { retur...
mit
C#
5ec6e221cc4709a1073060245f6c457fbde16f55
Comment removed
jf3l1x/collectw
src/CollectW.Service/Program.cs
src/CollectW.Service/Program.cs
using System.ServiceProcess; namespace CollectW.Service { internal static class Program { private static void Main() { var servicesToRun = new ServiceBase[] { new Daemon() }; ServiceBase.Run(servicesToRun); } } }
using System.ServiceProcess; namespace CollectW.Service { internal static class Program { /// <summary> /// The main entry point for the application. /// </summary> private static void Main() { var servicesToRun = new ServiceBase[] { ...
mit
C#
a42c85cde4619e13df5ce39c86ba5b5f1a34b59a
Remove file opening issues
manio143/ShadowsOfShadows
src/Serialization/Serializer.cs
src/Serialization/Serializer.cs
using System; using System.Xml.Serialization; using System.Xml; using System.IO; using ShadowsOfShadows.Entities; using ShadowsOfShadows.Items; namespace ShadowsOfShadows.Serialization { public static class Serializer { private static string SaveFolder = Path.Combine( Environm...
using System; using System.Xml.Serialization; using System.Xml; using System.IO; using ShadowsOfShadows.Entities; using ShadowsOfShadows.Items; namespace ShadowsOfShadows.Serialization { public static class Serializer { private static string SaveFolder = Path.Combine( Environm...
mit
C#
a28c7d89c4d77cbe4dab7ea18bf191255c0c7612
Fix code as suggested by compiler.
Nonagon-x/Nonagon.Modular
Backend/Mono/Nonagon.Modular/DataModuleInterface.cs
Backend/Mono/Nonagon.Modular/DataModuleInterface.cs
using ServiceStack.OrmLite; namespace Nonagon.Modular { /// <summary> /// Data module interface base class. /// </summary> public abstract class DataModuleInterface : ModuleInterface, IDataModuleInterface { /// <summary> /// Gets or sets the db connection factory. /// </summary> /// <value>The db connecti...
using ServiceStack.OrmLite; namespace Nonagon.Modular { /// <summary> /// Data module interface base class. /// </summary> public abstract class DataModuleInterface : ModuleInterface, IDataModuleInterface { /// <summary> /// Gets or sets the db connection factory. /// </summary> /// <value>The db connecti...
bsd-3-clause
C#
12e54083566d81ae152fe7d361a3ca5207a0a1a6
Add \r when \n is printed from ICommandInteraction.
antmicro/AntShell
AntShell/Commands/ICommandInteraction.cs
AntShell/Commands/ICommandInteraction.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#
113e6a21d91ddde1c1160be3be23c9a042aee70e
Update Program.cs
srinivas931/building-blocks-demo
DemoConsoleApp/DemoConsoleApp/Program.cs
DemoConsoleApp/DemoConsoleApp/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoConsoleApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World! - changed on the server"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoConsoleApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
mit
C#
992c9bfe95d0b9779509f4144cc08de5286dbb4b
Bump version
oozcitak/imagelistview
ImageListView/Properties/AssemblyInfo.cs
ImageListView/Properties/AssemblyInfo.cs
// ImageListView - A listview control for image files // Copyright (C) 2009 Ozgur Ozcitak // // 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/...
// ImageListView - A listview control for image files // Copyright (C) 2009 Ozgur Ozcitak // // 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/...
apache-2.0
C#
21319ca80ed0e0a855fe546da88ac7f2b83e8601
remove unneeded method
rafaelalmeidatk/MonoGame.Extended,cra0zy/MonoGame.Extended,LithiumToast/MonoGame.Extended,Aurioch/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended,HyperionMT/MonoGame.Extended
Source/MonoGame.Extended/Shapes/LineF.cs
Source/MonoGame.Extended/Shapes/LineF.cs
using System; using Microsoft.Xna.Framework; using MonoGame.Extended.Particles; namespace MonoGame.Extended.Shapes { public interface IPathF : IShapeBase { Vector2 StartPoint { get; set; } Vector2 EndPoint { get; set; } } public struct LineF : IPathF { public Vector2 StartP...
using System; using Microsoft.Xna.Framework; using MonoGame.Extended.Particles; namespace MonoGame.Extended.Shapes { public interface IPathF : IShapeBase { Vector2 StartPoint { get; set; } Vector2 EndPoint { get; set; } } public struct LineF : IPathF { public Vector2 StartP...
mit
C#
d4bd6425e39dca1540b4f45e333b22d6b7a782ec
implement IEquatable<string>
dgg/rvn-izr
src/Rvn.Izr/CreateInAttribute.cs
src/Rvn.Izr/CreateInAttribute.cs
using System; namespace Rvn.Izr { [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] internal sealed class CreateInAttribute : Attribute, IEquatable<string> { public CreateInAttribute(string database) { if (database == null) throw new ArgumentNullException("database", "Databse...
using System; namespace Rvn.Izr { [AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)] internal sealed class CreateInAttribute : Attribute { public CreateInAttribute(string database) { if (database == null) throw new ArgumentNullException("database", "Databse cannot be null"); ...
bsd-2-clause
C#
4cf6d7ed9b2fb2b77ed1eb9aa8a1353e18acaae5
Clarify usage and give argument values names
printerpam/purpleonion,printerpam/purpleonion,neoeinstein/purpleonion
src/Xpdm.PurpleOnion/Settings.cs
src/Xpdm.PurpleOnion/Settings.cs
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Mono.Options; namespace Xpdm.PurpleOnion { sealed class Settings { public readonly string AppName = AppDomain.CurrentDomain.FriendlyName; public Regex ToMatch { get; set; } public string OutFilename { g...
using System; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using Mono.Options; namespace Xpdm.PurpleOnion { sealed class Settings { public readonly string AppName = AppDomain.CurrentDomain.FriendlyName; public Regex ToMatch { get; set; } public string OutFilename { g...
bsd-3-clause
C#
5035768d2319396c2fc469f96d476637edccd33c
Add inert encoders
nekno/Transcoder,nekno/Transcoder
Transcoder/Encoder.cs
Transcoder/Encoder.cs
using System; using System.Linq; namespace Transcoder { public class Encoder { public static Encoder FFMPEG = new Encoder() { FilePath = @"tools\ffmpeg\ffmpeg.exe" }; public static Encoder FFPROBE = new Encoder() { FilePath = @"tools\ffmpeg\ffprobe.exe" }; public static Encoder NULL = new Encoder() { FilePath...
using System; namespace Transcoder { public class Encoder { public static Encoder QAAC = new Encoder() { FilePath = @"tools\qaac\qaac64.exe" }; public static Encoder FFMPEG = new Encoder() { FilePath = @"tools\ffmpeg\ffmpeg.exe" }; public static Encoder FFPROBE = new Encoder() { FilePath = @"tools\ffmpeg\ffpr...
mit
C#
eb78bd29054de83309fbf4c1bc58835f1608a0fb
Remove dead code from nuget.cake
OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
scripts/nuget.cake
scripts/nuget.cake
#load "runhelpers.cake" private ExitStatus RunNuGetInstall(string packageIdOConfigFilePath, string version, bool excludeVersion, bool noCache, bool prerelease, string outputDirectory) { var nugetPath = Environment.GetEnvironmentVariable("NUGET_EXE"); var argList = new List<string> { "install", packageIdOConfi...
#load "runhelpers.cake" using System.Net; /// <summary> /// Downloads and unzips a NuGet package directly without any dependencies. /// </summary> void DownloadNuGetPackage(string packageID, string version, string outputDirectory, string feedUrl) { var outputFolder = System.IO.Path.Combine(outputDirectory, packag...
mit
C#
5397ee434438556d53e90954f23fe971aaf75feb
add deployment option
djsxp/SSDTDeployer
project/SSDTDeployer/DacHelper.cs
project/SSDTDeployer/DacHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.SqlServer.Dac; using Microsoft.SqlServer.Management.Smo; namespace SSDTDeployer { public class DacHelper { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.SqlServer.Dac; using Microsoft.SqlServer.Management.Smo; namespace SSDTDeployer { public class DacHelper { ...
mit
C#
2d32437c953c702591cc71ba46245324ee25ed11
Update EllipseShape.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Shapes/EllipseShape.cs
src/Core2D/Shapes/EllipseShape.cs
using System; using System.Collections.Generic; using Core2D.Data; using Core2D.Renderer; namespace Core2D.Shapes { /// <summary> /// Ellipse shape. /// </summary> public class EllipseShape : TextShape, IEllipseShape { /// <inheritdoc/> public override Type TargetType => typeof(IEl...
using System; using System.Collections.Generic; using Core2D.Data; using Core2D.Renderer; namespace Core2D.Shapes { /// <summary> /// Ellipse shape. /// </summary> public class EllipseShape : TextShape, IEllipseShape { /// <inheritdoc/> public override Type TargetType => typeof(IEl...
mit
C#
6254cbd63b52c8482235560d1762c276723f7d0b
Copy gradient pen perf improvement to path gradient pen
jaquadro/LilyPath
LilyPath/Pens/PathGradientPen.cs
LilyPath/Pens/PathGradientPen.cs
using Microsoft.Xna.Framework; namespace LilyPath.Pens { /// <summary> /// A <see cref="Pen"/> that blends two colors across the length of the stroked path. /// </summary> public class PathGradientPen : Pen { private byte _r1; private byte _g1; private byte _b1; pri...
using Microsoft.Xna.Framework; namespace LilyPath.Pens { /// <summary> /// A <see cref="Pen"/> that blends two colors across the length of the stroked path. /// </summary> public class PathGradientPen : Pen { private Color _color1; private Color _color2; /// <summary> ...
mit
C#
9a557e62f9ce0ae477723b1571394a8ed3aff282
Increase default test runner timeout.
tgiphil/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,trivalik/Cosmos,zarlo/Cosmos,fanoI/Cosmos,fanoI/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos
Users/Matthijs/DebugCompiler/MyEngine.cs
Users/Matthijs/DebugCompiler/MyEngine.cs
using System; using System.IO; using Cosmos.Build.Common; using Cosmos.TestRunner.Core; using NUnit.Framework; namespace DebugCompiler { [TestFixture] public class RunKernels { [Test] public void Test([ValueSource(typeof(MySource), nameof(MySource.ProvideData))] Type kernelToRun) {...
using System; using System.IO; using Cosmos.Build.Common; using Cosmos.TestRunner.Core; using NUnit.Framework; namespace DebugCompiler { [TestFixture] public class RunKernels { [Test] public void Test([ValueSource(typeof(MySource), nameof(MySource.ProvideData))] Type kernelToRun) {...
bsd-3-clause
C#
f17bb5b571f97e83ce95481128e49753e2409107
Update alias in usage examples
TAGC/dotnet-setversion
src/dotnet-setversion/Options.cs
src/dotnet-setversion/Options.cs
using System.Collections.Generic; using CommandLine; using CommandLine.Text; namespace dotnet_setversion { public class Options { [Option('r', "recursive", Default = false, HelpText = "Recursively search the current directory for csproj files and apply the given version to all files found....
using System.Collections.Generic; using CommandLine; using CommandLine.Text; namespace dotnet_setversion { public class Options { [Option('r', "recursive", Default = false, HelpText = "Recursively search the current directory for csproj files and apply the given version to all files found....
mit
C#
de8271ad6bff2193377e12fafbccf0953d99402d
Fix out of range exceptions due to out-of-order hitobjects.
peppy/osu,UselessToucan/osu,naoey/osu,smoogipoo/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,EVAST9919/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,Damnae/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,ZLima12/osu,tacchinotacchi/osu,peppy/osu,smoogipoo/osu...
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.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.Rulesets.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System; using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game...
// 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.Rulesets.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System; using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game...
mit
C#
3582fefa2cd2d41212fa44d2e7966239387a5a1d
make links to photos and files dynamic based on env
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/www/Views/Shared/Components/PrimaryNav/Default.cshtml
src/www/Views/Shared/Components/PrimaryNav/Default.cshtml
@using MawMvcApp.ViewComponents @using MawMvcApp.ViewModels @inject IOptions<UrlConfig> urlConfig @model PrimaryNavViewModel <ul class="navbar-nav mr-auto"> <li class="nav-item" maw-action="Index" maw-controller="About" maw-text="about" maw-active="@Model.ActiveNavigationZone == NavigationZone.About"></li> <li...
@using MawMvcApp.ViewComponents @model PrimaryNavViewModel <ul class="navbar-nav mr-auto"> <li class="nav-item" maw-action="Index" maw-controller="About" maw-text="about" maw-active="@Model.ActiveNavigationZone == NavigationZone.About"></li> <li class="nav-item" maw-action="Index" maw-controller="Reference" ma...
mit
C#
1c1b517c8fbfdb0f3334e81ba9637091ad9335da
Make the trigger end use the new stuff
IvionSauce/MeidoBot
IrcCalc/IrcCalc.cs
IrcCalc/IrcCalc.cs
using System.Collections.Generic; using Calculation; // Using directives for plugin use. using MeidoCommon; using System.ComponentModel.Composition; [Export(typeof(IMeidoHook))] public class Calc : IMeidoHook { public string Name { get { return "IrcCalc"; } } public string Version { ...
using System.Collections.Generic; using Calculation; // Using directives for plugin use. using MeidoCommon; using System.ComponentModel.Composition; [Export(typeof(IMeidoHook))] public class Calc : IMeidoHook { public string Name { get { return "IrcCalc"; } } public string Version { ...
bsd-2-clause
C#
a0597788bc065cc6d1ed8e34f6a644f8d39557de
Use elif
ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate
Source/Boilerplate.Templates/content/Api-CSharp/Program.cs
Source/Boilerplate.Templates/content/Api-CSharp/Program.cs
namespace ApiTemplate { using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; #if (WebListener) using Microsoft.Net.Http.Server; #endif public sealed class Program { private const string HostingJsonFileName = "hosting.json"; public stat...
namespace ApiTemplate { using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; #if (WebListener) using Microsoft.Net.Http.Server; #endif public sealed class Program { private const string HostingJsonFileName = "hosting.json"; public stat...
mit
C#
03d129e491cebeb4c194406de886fe1044d7bb3b
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/ArgumentNotFoundException.cs
Source/NSubstitute/Exceptions/ArgumentNotFoundException.cs
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ArgumentNotFoundException : SubstituteException { public ArgumentNotFoundException(string message) : base(message) { } protected ArgumentNotFoundException(SerializationInfo info,...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ArgumentNotFoundException : SubstituteException { public ArgumentNotFoundException(string message) : base(message) { } protected ArgumentNotFoundException(SerializationInfo info, StreamingCont...
bsd-3-clause
C#