commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
9005bce0fa574ec9be7661bbeb5029e1ad8797fc
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisation; namespace 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.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisation; namespace osu...
Add "counter" keyword for key overlay setting
Add "counter" keyword for key overlay setting
C#
mit
ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu
c3d80abf0725116789bea9a058dda9a9f576b038
HangFire.Autofac/RegistrationExtensions.cs
HangFire.Autofac/RegistrationExtensions.cs
using System; using Autofac.Builder; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Adds registration syntax to the <see cref="Autofac.ContainerBuilder"/> type. /// </summary> public static class RegistrationExtensions { /// <summary> /// Share one instance of t...
using System; using System.Linq; using Autofac.Builder; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Adds registration syntax to the <see cref="Autofac.ContainerBuilder"/> type. /// </summary> public static class RegistrationExtensions { /// <summary> /// Shar...
Allow combining lifetime scope tags
Allow combining lifetime scope tags Autofac's lifetimeScope registration methods such as `InstancePerRequest` and `InstancePerMatchingLifetimeScope` take a `params object[] lifetimeScopeTags` at the end allowing easy combining of allowed scopes. I've added this parameter to `InstancePerBackgroundJob`. This lets peo...
C#
mit
HangfireIO/Hangfire.Autofac
ba09179001fea12560519bbd8070e889df32aa14
src/website-performance/Entities/Robots.cs
src/website-performance/Entities/Robots.cs
using System; using System.Collections.Generic; namespace website_performance.Entities { public class Robots { private readonly List<Uri> _sitemaps = new List<Uri>(); public Robots(string url) { if (Uri.TryCreate(url, UriKind.Absolute, out var robotsUrl)) U...
using System; using System.Collections.Generic; using website_performance.Infrastructure; namespace website_performance.Entities { public class Robots { private readonly IHttpMessageHandlerFactory _httpMessageHandlerFactory; private readonly List<Uri> _sitemaps = new List<Uri>(); publ...
Add ctor to pipe the http factory
Add ctor to pipe the http factory
C#
mit
joaoasrosa/website-performance,joaoasrosa/website-performance
a0b5224a1e0d1a9e1760634c768f7e3ac2457aef
Battery-Commander.Web/Services/EmailService.cs
Battery-Commander.Web/Services/EmailService.cs
using Microsoft.Extensions.Options; using SendGrid.Helpers.Mail; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public interface IEmailService { Task Send(SendGridMessage message); } public class EmailService : IEmailService { public static readonly EmailA...
using Microsoft.Extensions.Options; using SendGrid.Helpers.Mail; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public interface IEmailService { Task Send(SendGridMessage message); } public class EmailService : IEmailService { public static readonly EmailA...
Change the FROM address to redleg.app
Change the FROM address to redleg.app
C#
mit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
9da99b9ba27b5d8a4db162b2ea382ac27407ddca
Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs
Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs
namespace TraktApiSharp.Objects.Get.Shows.Seasons { using Newtonsoft.Json; /// <summary> /// A collection of ids for various web services for a Trakt season. /// </summary> public class TraktSeasonIds { /// <summary> /// The Trakt numeric id for the season. /// </summar...
namespace TraktApiSharp.Objects.Get.Shows.Seasons { using Newtonsoft.Json; /// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt season.</summary> public class TraktSeasonIds { /// <summary>Gets or sets the Trakt numeric id.</summary> [JsonPrope...
Update existing documentation for season ids.
Update existing documentation for season ids.
C#
mit
henrikfroehling/TraktApiSharp
cbf3b11d44898eff42515843317667efcacb5552
src/SnakeApp/Controllers/GameController.cs
src/SnakeApp/Controllers/GameController.cs
using SnakeApp.Models; using System; namespace SnakeApp.Controllers { public class GameController { public void StartNewGame() { PrepareConsole(); var game = new Game(80, 25, 5, 100); game.StartAsync(); ConsoleKeyInfo userInput = new ConsoleKeyInfo(); do { userInput = Console.ReadKey(tru...
using SnakeApp.Models; using System; namespace SnakeApp.Controllers { public class GameController { private byte MAX_WIDTH = 80; private byte MAX_HEIGHT = 25; public void StartNewGame() { PrepareConsole(); var game = new Game(Math.Min((byte)(Console.WindowWidth - 1), MAX_WIDTH), Math.Min((byte)(Cons...
Set the the game width and height to the console window size or to a maximum value.
Set the the game width and height to the console window size or to a maximum value.
C#
mit
darkriszty/SnakeApp
d20011ba58a849c0cca543b13149458d03f05f39
osu.Game/Screens/Select/MatchSongSelect.cs
osu.Game/Screens/Select/MatchSongSelect.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Screens.Select { public class MatchSongSelect : SongSelect { protected override bool OnSelectionFinalised() { Exi...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Screens.Select { public class MatchSongSelect : SongSelect { protected override bool OnSelectionFinalised() { Sch...
Fix an endless feedback loop
Fix an endless feedback loop
C#
mit
naoey/osu,NeoAdonis/osu,peppy/osu-new,naoey/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,ppy/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,Usele...
8a6f67a84b2054b938a62db954f64af53272ae4d
build_projects/dotnet-cli-build/DotNetTest.cs
build_projects/dotnet-cli-build/DotNetTest.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Cli.Build { public class DotNetTest : DotNetTool { protected override string Command { ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Cli.Build { public class DotNetTest : DotNetTool { protected override string Command { ...
Fix no build option in dotnet test task
Fix no build option in dotnet test task
C#
mit
EdwardBlair/cli,blackdwarf/cli,blackdwarf/cli,mlorbetske/cli,svick/cli,harshjain2/cli,johnbeisner/cli,nguerrera/cli,ravimeda/cli,ravimeda/cli,livarcocc/cli-1,livarcocc/cli-1,AbhitejJohn/cli,Faizan2304/cli,mlorbetske/cli,johnbeisner/cli,nguerrera/cli,harshjain2/cli,EdwardBlair/cli,jonsequitur/cli,jonsequitur/cli,dasMull...
66072d149944a3d65310ed284009507fd71140e9
src/Microsoft.Owin.Security.OAuth/OAuthAuthorizationServerOptions.cs
src/Microsoft.Owin.Security.OAuth/OAuthAuthorizationServerOptions.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security.Infrastructure; namespace Microsoft.Owin.Security.OAuth { public class OAuthAuthorizationServerOptio...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security.Infrastructure; namespace Microsoft.Owin.Security.OAuth { public class OAuthAuthorizationServerOptio...
Reduce default access token expiration timespan
Reduce default access token expiration timespan 20 minutes by default
C#
apache-2.0
eocampo/KatanaProject301,HongJunRen/katanaproject,eocampo/KatanaProject301,abrodersen/katana,eocampo/KatanaProject301,HongJunRen/katanaproject,HongJunRen/katanaproject,abrodersen/katana,tomi85/Microsoft.Owin,abrodersen/katana,HongJunRen/katanaproject,HongJunRen/katanaproject,PxAndy/Katana,monkeysquare/katana,monkeysqua...
a2d1d52005624d1bfc14f4a1f6eeac809b9a3b69
A-vs-An/WikipediaAvsAnTrieExtractorTest/TriePrefixIncrementorTest.cs
A-vs-An/WikipediaAvsAnTrieExtractorTest/TriePrefixIncrementorTest.cs
using System; using System.Collections.Generic; using System.Linq; using AvsAnLib.Internals; using WikipediaAvsAnTrieExtractor; using Xunit; namespace WikipediaAvsAnTrieExtractorTest { public class TriePrefixIncrementorTest { [Fact] public void BasicIncrementWorks() { var no...
using System; using System.Collections.Generic; using System.Linq; using AvsAnLib.Internals; using WikipediaAvsAnTrieExtractor; using Xunit; namespace WikipediaAvsAnTrieExtractorTest { public class TriePrefixIncrementorTest { [Fact] public void BasicIncrementWorks() { var no...
Use correct order of equality assertion for better error message (xUnit analyzer)
Use correct order of equality assertion for better error message (xUnit analyzer)
C#
apache-2.0
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
7549d5903854f9d064a843273b2e0c60ef60da8b
EndlessClient/HUD/IHudButtonController.cs
EndlessClient/HUD/IHudButtonController.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EndlessClient.HUD { public interface IHudButtonController { void ClickInventory(); void ClickViewMapToggle(); void ClickActive...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EndlessClient.HUD { public interface IHudButtonController { void ClickInventory(); void ClickViewMapToggle(); void ClickActive...
Remove unused ClickMacro controller method
Remove unused ClickMacro controller method
C#
mit
ethanmoffat/EndlessClient
a9671e333180783b0c824ea3f453d0d03ddbffde
src/Grobid/FontSizeStatus.cs
src/Grobid/FontSizeStatus.cs
namespace Grobid.NET { public enum FontSizeStatus { HIGHERFONT, SAMEFONTSIZE, LOWFONT, } }
namespace Grobid.NET { public enum FontSizeStatus { HIGHERFONT, SAMEFONTSIZE, LOWERFONT, } }
Fix misnamed LOWFONT enumeration to LOWERFONT
Fix misnamed LOWFONT enumeration to LOWERFONT
C#
apache-2.0
boumenot/Grobid.NET
2982cc6ad28194b232409c67c59352bc3d6697f3
DspAdpcm/DspAdpcm/Adpcm/Formats/Configuration/BrstmConfiguration.cs
DspAdpcm/DspAdpcm/Adpcm/Formats/Configuration/BrstmConfiguration.cs
using DspAdpcm.Adpcm.Formats.Internal; using DspAdpcm.Adpcm.Formats.Structures; namespace DspAdpcm.Adpcm.Formats.Configuration { /// <summary> /// Contains the options used to build the BRSTM file. /// </summary> public class BrstmConfiguration : B_stmConfiguration { /// <summary> ...
using DspAdpcm.Adpcm.Formats.Internal; using DspAdpcm.Adpcm.Formats.Structures; namespace DspAdpcm.Adpcm.Formats.Configuration { /// <summary> /// Contains the options used to build the BRSTM file. /// </summary> public class BrstmConfiguration : B_stmConfiguration { /// <summary> ...
Make the default BrstmTrackType Standard
Make the default BrstmTrackType Standard
C#
mit
Thealexbarney/VGAudio,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm
be157ba5fb9d0746b8c547af126f1e69623e57c9
MonoHaven.Client/UI/Remote/ServerImage.cs
MonoHaven.Client/UI/Remote/ServerImage.cs
using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerImage : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var resName = (string)args[0]; var widget = new Image(parent.Widget); widget.Drawable = App.Resources.GetImage(resNam...
using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerImage : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var resName = (string)args[0]; var widget = new Image(parent.Widget); widget.Drawable = App.Resources.GetImage(resNam...
Support server messages in the Image widget
Support server messages in the Image widget
C#
mit
k-t/SharpHaven
749686defa480d83ef1ab9740998e9e6db7dbd52
osu.Framework/Graphics/Containers/TextPart.cs
osu.Framework/Graphics/Containers/TextPart.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Extensions.ListExtensions; namespace osu.Framework.Graphics.Containers { /// <summary> /// A ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; namespace osu.Framework.Graphics.Containers { /// <summary> /// A basic implementation of <see cref="ITextPart"/>...
Reduce allocations while maintaining read-only-ness
Reduce allocations while maintaining read-only-ness
C#
mit
smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework
d0f8d9c418af8a65f6ed627654f79a686b8aca59
Tests/MainThreadSynchronizationContext.cs
Tests/MainThreadSynchronizationContext.cs
using System; using System.Collections.Generic; using System.Threading; namespace Toggl.Phoebe.Tests { public class MainThreadSynchronizationContext : SynchronizationContext { private readonly Thread thread; private readonly object syncRoot = new Object (); private readonly Queue<Job> ...
using System; using System.Collections.Generic; using System.Threading; namespace Toggl.Phoebe.Tests { public class MainThreadSynchronizationContext : SynchronizationContext { private readonly Thread thread; private readonly object syncRoot = new Object (); private readonly Queue<Job> ...
Fix sync context Run always returns true when it ran something.
Fix sync context Run always returns true when it ran something. This should fix a possible edgecase where some of the scheduled items aren't being run due to being added at the very last minute.
C#
bsd-3-clause
ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,peeedge/mobile,eatskolnikov/mobile,eatskolnikov/mobile,peeedge/mobile,masterrr/mobile
7f123c9d2062d628537d30b2895af11f383c2ebe
ARGame/Assets/Scripts/GameObjectUtilities.cs
ARGame/Assets/Scripts/GameObjectUtilities.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts { public static class GameObjectUtilities { public static void SetEnabled(this GameObject obj, bool enabled) { // Disable rendering of this component ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Assets.Scripts { public static class GameObjectUtilities { public static void SetEnabled(this GameObject obj, bool enabled) { // Disable rendering of this component ...
Make GameObject.SetEnabled extension method more generic
Make GameObject.SetEnabled extension method more generic
C#
mit
thijser/ARGAME,thijser/ARGAME,thijser/ARGAME
365db953f357a146ac050be9ceed197fff064a88
Modix/Modules/InfoModule.cs
Modix/Modules/InfoModule.cs
using System.Linq; using System.Text; using System.Threading.Tasks; using Discord; using Discord.Commands; namespace Modix.Modules { [Name("Info"), Summary("General helper module")] public sealed class InfoModule : ModuleBase { private CommandService commandService; public InfoModule(Comm...
using System.Linq; using System.Text; using System.Threading.Tasks; using Discord; using Discord.Commands; namespace Modix.Modules { [Name("Info"), Summary("General helper module")] public sealed class InfoModule : ModuleBase { private CommandService commandService; public InfoModule(Comm...
Fix for help blowing up if a module or command lacks a summary
Fix for help blowing up if a module or command lacks a summary
C#
mit
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
9d603be64b031c159bc2d94c2093e2ac92ac24c5
SqlDatabases/Database.cs
SqlDatabases/Database.cs
using System; using System.Xml.Linq; namespace Linq2Azure.SqlDatabases { public class Database { internal Database(XElement xml, DatabaseServer databaseServer) { xml.HydrateObject(XmlNamespaces.WindowsAzure, this); DatabaseServer = databaseServer; } pub...
using System; using System.Xml.Linq; namespace Linq2Azure.SqlDatabases { public class Database { internal Database(XElement xml, DatabaseServer databaseServer) { xml.HydrateObject(XmlNamespaces.WindowsAzure, this); DatabaseServer = databaseServer; } pub...
Allow properties to be nullable to support V12 databases
Allow properties to be nullable to support V12 databases
C#
mit
Linq2Azure/API,Linq2Azure/API
3bb1a761f4bc364ddbd231f5bed5f9cd2bf9cdfd
BoardGamesApi/Controllers/TempController.cs
BoardGamesApi/Controllers/TempController.cs
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace BoardGamesApi.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class TempController : Controller { private readonly IConfiguration _configuration; publ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; namespace BoardGamesApi.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class TempController : Controller { private readonly IConfiguration _configuration; publ...
Fix the issue with settings name
Fix the issue with settings name
C#
mit
miroslavpopovic/production-ready-apis-sample
0a5f7fc97dbc8c7ff35fbe78ccdea257552d535b
ML.TypingClassifier/Views/Home/Index.cshtml
ML.TypingClassifier/Views/Home/Index.cshtml
@{ ViewBag.Title = "Typing Classifier"; } <div class="jumbotron"> This will be our awesome typing classifier </div> <div class="row"> Typing classifier goes here. @Html.ActionLink("Go to results", "Results", "Home"); </div>
@{ ViewBag.Title = "Typing Classifier"; } @section scripts { <script type="text/javascript"> 'use strict' var timer = getTimer(); $(function() { var capturing = false; document.addEventListener('keydown', function(event) { if(!capturing) { capturing = true; ...
Add textarea, keyboard listener and timer.
Add textarea, keyboard listener and timer.
C#
mit
joshuadeleon/typingclassifier,joshuadeleon/typingclassifier,joshuadeleon/typingclassifier
27aad92134190ccad95128b942c4f854290675a9
HangFire.Highlighter/Controllers/HomeController.cs
HangFire.Highlighter/Controllers/HomeController.cs
using System; using System.Linq; using System.Web.Mvc; using Hangfire.Highlighter.Jobs; using Hangfire.Highlighter.Models; namespace Hangfire.Highlighter.Controllers { public class HomeController : Controller { private readonly HighlighterDbContext _db = new HighlighterDbContext(); public Act...
using System; using System.Linq; using System.Web.Mvc; using Hangfire.Highlighter.Jobs; using Hangfire.Highlighter.Models; namespace Hangfire.Highlighter.Controllers { public class HomeController : Controller { private readonly HighlighterDbContext _db = new HighlighterDbContext(); public Act...
Sort snippets in descending order
Sort snippets in descending order
C#
mit
HangfireIO/Hangfire.Highlighter,HangfireIO/Hangfire.Highlighter,HangfireIO/Hangfire.Highlighter
b0cddab6ae4970b0983db3d938eda735918435bb
GovUk/Views/Home/Index.cshtml
GovUk/Views/Home/Index.cshtml
@using System.Threading.Tasks <header> <div class="https_chart col-md-offset-1 col-md-3" data-width="250"></div> <div class="description col-md-7"> <h1>Secure HTTP (HTTPS)</h1> <h2> Last updated <strong class="last-modified"></strong> </h2> <p> This dat...
@using System.Threading.Tasks <header> <div class="https_chart col-md-offset-1 col-md-4" data-width="250"></div> <div class="description col-md-6"> <h1>Secure HTTP (HTTPS)</h1> <h2> Last updated <strong class="last-modified"></strong> </h2> <p> This dat...
Make pie chart div wider
Make pie chart div wider Prevents clipping on narrow screens
C#
mit
JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse,JamieMagee/GovUK-Pulse
3e16419186756efc5408fd0806d02ab92832184b
ProjectCDA.DAL/DataService.cs
ProjectCDA.DAL/DataService.cs
using ProjectCDA.Model; using ProjectCDA.Model.Constants; using System.Collections.Generic; using System.Collections.ObjectModel; namespace ProjectCDA.DAL { public class DataService : IDataService { public IEnumerable<FacingPages> GetData() { ObservableCollection<FacingPages> gridD...
using ProjectCDA.Model; using ProjectCDA.Model.Constants; using System.Collections.Generic; using System.Collections.ObjectModel; namespace ProjectCDA.DAL { public class DataService : IDataService { public IEnumerable<FacingPages> GetData() { return GetMockData(); } ...
Move generating mock data to separate function.
Move generating mock data to separate function.
C#
mit
fanCDA/ProjectCDA-WPF
d967fe7b5a450a8bd96b3073155ba97000965faa
Program.cs
Program.cs
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
Make key entry case insensitive
Make key entry case insensitive
C#
unlicense
12joan/hangman
71bdbbb9fd87ed291b995297ceb73189bfaca340
src/EditorFeatures/Core.Wpf/InheritanceMargin/InheritanceMarginHelpers.cs
src/EditorFeatures/Core.Wpf/InheritanceMargin/InheritanceMarginHelpers.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.InheritanceMargin; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio....
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.InheritanceMargin; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio....
Fix the temp enum change
Fix the temp enum change
C#
mit
eriawan/roslyn,sharwell/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,wvdd007/roslyn,sharwell/roslyn,wvdd007/roslyn,KevinRansom/roslyn,dotnet/roslyn,diryboy/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,phy...
273d320212b97d3a350377c8716aba1f711191e7
src/Avalonia.Visuals/Media/Fonts/FontKey.cs
src/Avalonia.Visuals/Media/Fonts/FontKey.cs
using System; namespace Avalonia.Media.Fonts { public readonly struct FontKey : IEquatable<FontKey> { public readonly string FamilyName; public readonly FontStyle Style; public readonly FontWeight Weight; public FontKey(string familyName, FontWeight weight, FontStyle style) ...
using System; namespace Avalonia.Media.Fonts { public readonly struct FontKey : IEquatable<FontKey> { public FontKey(string familyName, FontWeight weight, FontStyle style) { FamilyName = familyName; Style = style; Weight = weight; } public st...
Use readonly properties instead of public fields
Use readonly properties instead of public fields
C#
mit
grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN...
f7b7209cf3b50931b4aad88005fffefd6a4493e5
src/ZBuildLights.Core/Models/EditProject.cs
src/ZBuildLights.Core/Models/EditProject.cs
using System; namespace ZBuildLights.Core.Models { public class EditProject { public Guid? ProjectId { get; set; } public string Name { get; set; } public EditProjectCruiseProject[] CruiseProjects { get; set; } } public class EditProjectCruiseProject { public strin...
using System; namespace ZBuildLights.Core.Models { public class EditProject { public Guid? ProjectId { get; set; } public string Name { get; set; } public EditProjectCruiseProject[] CruiseProjects { get; set; } public EditProjectCruiseProject[] SafeProjects { ...
Fix null reference exception when creating a project.
Fix null reference exception when creating a project.
C#
mit
mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,Vector241-Eric/ZBuildLights
2197c7974dbea1d2907a00874b8d552ea130d0c7
osu.Framework/Bindables/ILeasedBindable.cs
osu.Framework/Bindables/ILeasedBindable.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.Framework.Bindables { /// <summary> /// An interface that represents a leased bindable. /// </summary> public interface ILeasedBindable : IB...
// 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.Framework.Bindables { /// <summary> /// An interface that represents a leased bindable. /// </summary> public interface ILeasedBindable : IB...
Clarify xmldoc regarding return value
Clarify xmldoc regarding return value Co-authored-by: Bartłomiej Dach <809709723693c4e7ecc6f5379a3099c830279741@gmail.com>
C#
mit
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
504398e6c71c8b5012fdf67aff3f72a30a940b9a
src/ZobShop.Tests/Models/UserTests/PropertyTests.cs
src/ZobShop.Tests/Models/UserTests/PropertyTests.cs
using NUnit.Framework; using ZobShop.Models; namespace ZobShop.Tests.Models.UserTests { [TestFixture] public class PropertyTests { [TestCase("street")] [TestCase("highway")] [TestCase("boulevard")] public void TestAddressProperty_ShouldWorkCorrectly(string address) ...
using NUnit.Framework; using ZobShop.Models; namespace ZobShop.Tests.Models.UserTests { [TestFixture] public class PropertyTests { [TestCase("street")] [TestCase("highway")] [TestCase("boulevard")] public void TestAddressProperty_ShouldWorkCorrectly(string address) ...
Add tests for user name
Add tests for user name
C#
mit
Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop
b39dee4e6d8baacb7c3278de82483c282138d28a
Source/Examples/SharpDX.Core/CoreTest/Program.cs
Source/Examples/SharpDX.Core/CoreTest/Program.cs
using SharpDX.Windows; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CoreTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread]...
using SharpDX.Windows; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace CoreTest { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread]...
Add nv optimus enabler for core tester
Add nv optimus enabler for core tester
C#
mit
helix-toolkit/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit
6e5846d91b7389575a91691851f6311de8a5cddc
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.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.Online.RealtimeMultiplayer { public class MultiplayerClientState { public MultiplayerClientState(in long roomId) { ...
// 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.Online.RealtimeMultiplayer { public class MultiplayerClientState { public long CurrentRoomID { get; set; } public MultiplayerC...
Fix serialization failure due to missing set
Fix serialization failure due to missing set
C#
mit
NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu
3c03a1156772a0052ad6b02ea135baa99247bd6e
src/tests/MyNatsClient.IntegrationTests/TestSettings.cs
src/tests/MyNatsClient.IntegrationTests/TestSettings.cs
using System.IO; using Microsoft.Extensions.Configuration; using System.Linq; namespace MyNatsClient.IntegrationTests { public static class TestSettings { public static IConfigurationRoot Config { get; set; } static TestSettings() { var builder = new ConfigurationBuilder()...
using System; using System.IO; using Microsoft.Extensions.Configuration; using System.Linq; namespace MyNatsClient.IntegrationTests { public static class TestSettings { public static IConfigurationRoot Config { get; set; } static TestSettings() { var builder = new Configur...
Fix so that dotnet test command can be used
Fix so that dotnet test command can be used
C#
mit
danielwertheim/mynatsclient,danielwertheim/mynatsclient
0d4af37e7314331a7e0258e533dfbed874eff7dc
Source/Eto/Forms/Actions/ActionItem.desktop.cs
Source/Eto/Forms/Actions/ActionItem.desktop.cs
#if DESKTOP using System; namespace Eto.Forms { public partial interface IActionItem { MenuItem Generate(Generator generator); } public abstract partial class ActionItemBase { public abstract MenuItem Generate(Generator generator); } public partial class ActionItemSeparator : ActionItemBase { public ...
#if DESKTOP using System; namespace Eto.Forms { public partial interface IActionItem { MenuItem Generate(Generator generator); } public abstract partial class ActionItemBase { public abstract MenuItem Generate(Generator generator); } public partial class ActionItemSeparator : ActionItemBase { public ...
Set the ID of a submenu.
Set the ID of a submenu.
C#
bsd-3-clause
PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto
e573fb3b6d8b17b46c12bdd4d141e053f897fa22
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
Create server side API for single multiple answer question
Create server side API for single multiple answer question
C#
mit
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
1b22ed1d6384a5d3130978665c97d827ea318bde
src/WebJobs.Script/Description/CSharp/CSharpConstants.cs
src/WebJobs.Script/Description/CSharp/CSharpConstants.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.WebJobs.Script.Description { public static class CSharpConstants { public const string PrivateAssembliesFolderName = "bin"; ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.WebJobs.Script.Description { public static class CSharpConstants { public const string PrivateAssembliesFolderName = "bin"; ...
Correct casing of file names
Correct casing of file names
C#
mit
Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script
790d1ad0c8fc277f2059f20e0757b5925b46780d
src/ServiceFabric.Mocks/MockTransaction.cs
src/ServiceFabric.Mocks/MockTransaction.cs
using System.Threading.Tasks; using Microsoft.ServiceFabric.Data; namespace ServiceFabric.Mocks { /// <summary> /// A sequence of operations performed as a single logical unit of work. /// </summary> public class MockTransaction : ITransaction { public long CommitSequenceNumber => 0L; ...
using System.Threading.Tasks; using Microsoft.ServiceFabric.Data; namespace ServiceFabric.Mocks { /// <summary> /// A sequence of operations performed as a single logical unit of work. /// </summary> public class MockTransaction : ITransaction { public long CommitSequenceNumber => 0L; ...
Remove cyclical Dispose method causing error.
Remove cyclical Dispose method causing error.
C#
mit
loekd/ServiceFabric.Mocks
dc71dca5584f474e5a75a252a699cdf3c67c7517
BatteryCommander.Common/Migrations/Configuration.cs
BatteryCommander.Common/Migrations/Configuration.cs
namespace BatteryCommander.Common.Migrations { using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnabled = true; } protected ove...
namespace BatteryCommander.Common.Migrations { using BatteryCommander.Common.Models; using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<BatteryCommander.Common.DataContext> { public Configuration() { AutomaticMigrationsEnable...
Add some seed data for quals
Add some seed data for quals
C#
mit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
061c215407e68f306c3ff0bb159c6b1405171465
src/System.Diagnostics.Contracts/tests/BasicContractsTests.cs
src/System.Diagnostics.Contracts/tests/BasicContractsTests.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.Contracts; using Xunit; namespace System.Diagnostics.Contracts.Tests { public class BasicContractsTest { [Fact] ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics.Contracts; using Xunit; namespace System.Diagnostics.Contracts.Tests { public class BasicContractsTest { [Fact] ...
Update S.Diag.Contracts tests to verify behavior for DEBUG and !DEBUG
Update S.Diag.Contracts tests to verify behavior for DEBUG and !DEBUG System.Diagnostics.Contracts is implemented in mscorlib. In versions of mscorlib compiled with the DEBUG property, the Contract.Assert methods are active. In versions of mscorlib compiled without the DEBUG property, the Contract.Assert methods are...
C#
mit
n1ghtmare/corefx,zhenlan/corefx,zhenlan/corefx,josguil/corefx,elijah6/corefx,rahku/corefx,690486439/corefx,rahku/corefx,kkurni/corefx,fffej/corefx,shiftkey-tester/corefx,DnlHarvey/corefx,fernando-rodriguez/corefx,shmao/corefx,jcme/corefx,akivafr123/corefx,dtrebbien/corefx,chaitrakeshav/corefx,nchikanov/corefx,alexandrn...
bc5bd015649607206c92fc7c23758173c831b8db
src/SyncTool/main/Cli/Installation/_Steps/PathVariableInstallerStep.cs
src/SyncTool/main/Cli/Installation/_Steps/PathVariableInstallerStep.cs
using System; using System.Collections.Generic; using System.Linq; namespace SyncTool.Cli.Installation { public class PathVariableInstallerStep : IInstallerStep { public void OnInitialInstall(Version version) { var value = Environment.GetEnvironmentVariable("PATH", EnvironmentVaria...
using System; using System.Collections.Generic; using System.Linq; namespace SyncTool.Cli.Installation { public class PathVariableInstallerStep : IInstallerStep { public void OnInitialInstall(Version version) { var value = Environment.GetEnvironmentVariable("PATH", EnvironmentVaria...
Fix removal of installation directory from PATH on uninstall
Fix removal of installation directory from PATH on uninstall
C#
mit
ap0llo/SyncTool
314bc0c2f02132e54bdf4a88e622248bbcf3f9bf
Dependinator/ModelViewing/Private/DataHandling/Private/DataFilePaths.cs
Dependinator/ModelViewing/Private/DataHandling/Private/DataFilePaths.cs
using System.Collections.Generic; using System.IO; using Dependinator.ModelViewing.Private.DataHandling.Dtos; using Dependinator.ModelViewing.Private.DataHandling.Private.Parsing; namespace Dependinator.ModelViewing.Private.DataHandling.Private { internal class DataFilePaths : IDataFilePaths { privat...
using System.Collections.Generic; using System.IO; using Dependinator.ModelViewing.Private.DataHandling.Dtos; using Dependinator.ModelViewing.Private.DataHandling.Private.Parsing; namespace Dependinator.ModelViewing.Private.DataHandling.Private { internal class DataFilePaths : IDataFilePaths { privat...
Use layout file next to data file
Use layout file next to data file
C#
mit
michael-reichenauer/Dependinator
9415e45aea5afb899edc21bd866accb0923c82eb
osu.Game/Beatmaps/Legacy/LegacyStoryLayer.cs
osu.Game/Beatmaps/Legacy/LegacyStoryLayer.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.Legacy { internal enum LegacyStoryLayer { Background = 0, Fail = 1, Pass = 2, Foreground = 3, ...
// 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.Legacy { internal enum LegacyStoryLayer { Background = 0, Fail = 1, Pass = 2, Foreground = 3, ...
Add overlay layer to enumeration type
Add overlay layer to enumeration type
C#
mit
peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu
d7d4a4c8af316464e5e23c4c624672717c999427
src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs
src/Glimpse.Agent.Web/GlimpseAgentWebServices.cs
using Glimpse.Agent; using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using System; using System.Collections.Generic; using Glimpse.Agent.Web; using Glimpse.Agent.Web.Options; using Microsoft.Framework.OptionsModel; namespace Glimpse { public class GlimpseAgentWebServic...
using Glimpse.Agent; using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using System; using System.Collections.Generic; using Glimpse.Agent.Web; using Glimpse.Agent.Web.Options; using Microsoft.Framework.OptionsModel; namespace Glimpse { public class GlimpseAgentWebServic...
Switch service registration over to using new RequestProfile provider
Switch service registration over to using new RequestProfile provider
C#
mit
Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse....
409b357029f1e7b544647857401fe644a7b84e87
Core/Loyc.Interfaces/Collections/ITuple.cs
Core/Loyc.Interfaces/Collections/ITuple.cs
using System.Reflection; namespace Loyc.Compatibility { #if NetStandard20 || DotNet45 /// <summary>Defines ITuple in .NET Standard 2.0. System.Runtime.CompilerServices.ITuple /// was added to .NET Core 2.0 and .NET Framework 4.7.1, but it wasn't added to .NET /// Standard 2.0. ITuple was added to .NET Standard 2...
using System.Reflection; namespace Loyc.Compatibility { #if NetStandard20 || DotNet45 /// <summary>Defines ITuple in .NET Standard 2.0. System.Runtime.CompilerServices.ITuple /// was added to .NET Core 2.0 and .NET Framework 4.7.1, but it wasn't added to .NET /// Standard 2.0. ITuple was added to .NET Standard 2....
Fix the build some more
Fix the build some more
C#
lgpl-2.1
qwertie/Loyc,qwertie/Loyc
92161255909cd98bfd7ad345b1dc5d3e74bb0fc5
Aggregator.Core/Script/PsScriptEngine.cs
Aggregator.Core/Script/PsScriptEngine.cs
using System.Collections.Generic; using System.Management.Automation.Runspaces; using Aggregator.Core.Interfaces; using Aggregator.Core.Monitoring; namespace Aggregator.Core { /// <summary> /// Invokes Powershell scripting engine /// </summary> public class PsScriptEngine : ScriptEngine { ...
using System.Collections.Generic; using System.Management.Automation.Runspaces; using Aggregator.Core.Interfaces; using Aggregator.Core.Monitoring; namespace Aggregator.Core { /// <summary> /// Invokes Powershell scripting engine /// </summary> public class PsScriptEngine : ScriptEngine { ...
FIX Logger object on Powershell engine
FIX Logger object on Powershell engine
C#
apache-2.0
tfsaggregator/tfsaggregator-webhooks,tfsaggregator/tfsaggregator
8bcbd596d8b8496be8900b22d172bc87466d8a14
samples/NetCoreWindowsEncoding/Program.cs
samples/NetCoreWindowsEncoding/Program.cs
using System; using System.IO; using System.Text; using DelimitedDataParser; namespace WindowsEncoding { internal class Program { private static void Main() { // When using DelimitedDataParser in a .NET Core app, // be sure to include the NuGet package System.Text.Encod...
using System; using System.IO; using System.Text; using DelimitedDataParser; namespace WindowsEncoding { internal class Program { private static void Main() { // If code page based character encodings are required when using // DelimitedDataParser in a .NET Core app, be...
Clarify comment in sample app
Clarify comment in sample app
C#
mit
EnableSoftware/DelimitedDataParser
aa3a75d568847b9af12ba8cf1cabb23c5cb893c5
tests/cs/enums/Enums.cs
tests/cs/enums/Enums.cs
using System; public enum Colors { Red = 1, Alpha, Green = 13, Blue } public static class Program { public static void Main(string[] Args) { Console.WriteLine((int)Colors.Red); Console.WriteLine((int)Colors.Alpha); Console.WriteLine((int)Colors.Green); Console.W...
using System; public enum Colors { Red = 1, Alpha, Green = 13, Blue } public enum LongColors : long { Red = 1, Alpha, Green = 13, Blue } public static class Program { public static void Main(string[] Args) { Console.WriteLine((int)Colors.Red); Console.WriteLine...
Test 'long'-based 'enum' types, too
Test 'long'-based 'enum' types, too
C#
mit
jonathanvdc/ecsc
6673e572a8cd20745f3f6f232fd372175978f767
Logic/Services/MySql/MySqlPlatService.cs
Logic/Services/MySql/MySqlPlatService.cs
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nutritia { public class MySqlPlatService : IPlatService { // TODO : Fonctionne pas private MySqlConnexion connexion; public Plat Retrieve(Re...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nutritia { public class MySqlPlatService : IPlatService { // TODO : Fonctionne pas private MySqlConnexion connexion; public Plat Retrieve(Re...
Fix du mauvais nom de classe
Fix du mauvais nom de classe
C#
mpl-2.0
Corantin/nutritia,glesaux/nutritia,Nutritia/nutritia
2df53873314f546b6f7b879d76d78194ed992e81
Src/BlockchainSharp/Core/Blockchain.cs
Src/BlockchainSharp/Core/Blockchain.cs
namespace BlockchainSharp.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class BlockChain { public long number; public BlockChain(Block block) { if (!block.IsGenesis) throw n...
namespace BlockchainSharp.Core { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class BlockChain { private IList<Block> blocks = new List<Block>(); public BlockChain(Block block) { if (!block.IsGene...
Refactor BlockChain to have an internal list
Refactor BlockChain to have an internal list
C#
mit
ajlopez/BlockchainSharp
a4d2ee039549c17e0be835483393a3f3171eb923
FleetAndStaffLocationVisualizer/Assets/Scripts/Data/Providers/FmkDataProvider.cs
FleetAndStaffLocationVisualizer/Assets/Scripts/Data/Providers/FmkDataProvider.cs
using Assets.Scripts.Data.Interfaces; using System.Collections.Generic; using Assets.Scripts.Data.Model.Objects; using Assets.Scripts.Data.Model.Telemetrics; using Assets.Scripts.Data.Providers.Fmk; using UnityEngine; namespace Assets.Scripts.Data.Providers { /// <summary> /// The author is working in First M...
using Assets.Scripts.Data.Interfaces; using System.Collections.Generic; using Assets.Scripts.Data.Model.Objects; using Assets.Scripts.Data.Model.Telemetrics; using Assets.Scripts.Data.Providers.Fmk; using UnityEngine; namespace Assets.Scripts.Data.Providers { /// <summary> /// The author is working in First M...
Load FMK credentials from serialized file.
Load FMK credentials from serialized file.
C#
mit
binakot/Fleet-And-Staff-Location-Visualizer
6ee6a468941525b3b6d98369c4f3fdcdd30c58d4
osu.Game/Screens/Play/ILocalUserPlayInfo.cs
osu.Game/Screens/Play/ILocalUserPlayInfo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; namespace osu.Game.Screens.Play { [Cached] public interface ILocalUserPlayInfo { /// <...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; namespace osu.Game.Screens.Play { [Cached] public interface ILocalUserPlayInfo { /// <...
Remove unnecessary `public` prefix in interface specification
Remove unnecessary `public` prefix in interface specification
C#
mit
peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu
4fb80a169ce5281cfa082d6bdd2faee76c6c0727
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlash3DEnvironmentController.cs
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlash3DEnvironmentController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YoumuSlash3DEnvironmentController : MonoBehaviour { [SerializeField] private GameObject stairObject; [SerializeField] private Vector2 stairOffset; [SerializeField] private Transform cameraParent; [...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YoumuSlash3DEnvironmentController : MonoBehaviour { [SerializeField] private Transform stairParent; [SerializeField] private GameObject stairObject; [SerializeField] private Vector2 stairOffset; [S...
Revert "YoumuSlash: Better camera looping algorithm"
Revert "YoumuSlash: Better camera looping algorithm" This reverts commit 87a4e5ecac344e0cbc225790a6d5a4fd5210a7fb.
C#
mit
Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare
b2236ce3eaa0d65dc944f063bc26e6e113d26534
Articulate/Localization/FileBasedTranslation.cs
Articulate/Localization/FileBasedTranslation.cs
using SierraLib.Translation; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Articulate { public sealed class FileBasedTranslation : SierraL...
using SierraLib.Translation; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Articulate { public sealed class FileBasedTranslation : SierraL...
Improve performance of keycode translations
Improve performance of keycode translations
C#
mit
Mpstark/articulate,BrunoBrux/ArticulateDVS
d345316db8d7c6e35268aaf4252a08a5c6718c46
Content.Shared/GameObjects/Components/NetIDs.cs
Content.Shared/GameObjects/Components/NetIDs.cs
namespace Content.Shared.GameObjects { public static class ContentNetIDs { public const uint HANDS = 0; } }
namespace Content.Shared.GameObjects { public static class ContentNetIDs { public const uint HANDS = 1000; } }
Make NetID use 1000+ range
Make NetID use 1000+ range
C#
mit
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14
004dc78301184b2e03bbc4ed26cc51a181e5d366
LandmineWeb/App_Start/RollbarExceptionFilter.cs
LandmineWeb/App_Start/RollbarExceptionFilter.cs
using RollbarSharp; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LandmineWeb.App_Start { public class RollbarExceptionFilter : IExceptionFilter { public void OnException(ExceptionContext filterContext) { //if (...
using RollbarSharp; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LandmineWeb.App_Start { public class RollbarExceptionFilter : IExceptionFilter { public void OnException(ExceptionContext filterContext) { if (fi...
Revert "LOG ALL THE ERRORS"
Revert "LOG ALL THE ERRORS" This reverts commit 39809851fb4f05afe92ac8731c8ebc234ba3b644.
C#
mit
JakeLunn/Landmine.Web,JakeLunn/Landmine.Web,akatakritos/Landmine.Web,akatakritos/Landmine.Web,akatakritos/Landmine.Web,JakeLunn/Landmine.Web,akatakritos/Landmine.Web,JakeLunn/Landmine.Web
a323a9efed44b58c24f52a65e51193ecd7616c98
src/Stripe.net.Tests/charges/when_creating_a_charge_with_a_stripe_account.cs
src/Stripe.net.Tests/charges/when_creating_a_charge_with_a_stripe_account.cs
using Machine.Specifications; namespace Stripe.Tests { public class when_creating_a_charge_with_a_stripe_account { private static StripeAccount _stripeAccount; private static StripeCharge _stripeCharge; Establish context = () => { // create a new custom account ...
using Machine.Specifications; namespace Stripe.Tests { public class when_creating_a_charge_with_a_stripe_account { private static StripeAccount _stripeAccount; private static StripeCharge _stripeCharge; Establish context = () => { // create a new custom account ...
Add extra test to ensure Account deserialization
Add extra test to ensure Account deserialization
C#
apache-2.0
stripe/stripe-dotnet,richardlawley/stripe.net
ef540caccc7e52fdc2a3f70ee69956bec9d15cb2
Source/Actions/Microsoft.Deployment.Actions.AzureCustom/Twitter/ValidateCognitiveKey.cs
Source/Actions/Microsoft.Deployment.Actions.AzureCustom/Twitter/ValidateCognitiveKey.cs
using System.Collections.Generic; using System.ComponentModel.Composition; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; namespace Microsoft.Deployment.Actions....
using System.Collections.Generic; using System.ComponentModel.Composition; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Deployment.Common.ActionModel; using Microsoft.Deployment.Common.Actions; using Microsoft.Deployment.Common.Helpers; namespace Microsoft.Deployment.Actions....
Fix cognitive service key validation
Fix cognitive service key validation
C#
mit
MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps
e102d194efd4feeade6bfa782f5728a0483d8483
TheCollection.Web/Commands/SearchBagsCommand.cs
TheCollection.Web/Commands/SearchBagsCommand.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Constants; using TheCollection.Web.Extensions; using TheCollection.Web.Models; using TheCollection.Web.Services; namespace TheCollection.Web.Comma...
using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.Documents; using System.Linq; using System.Threading.Tasks; using TheCollection.Business.Tea; using TheCollection.Web.Constants; using TheCollection.Web.Extensions; using TheCollection.Web.Models; using TheCollection.Web.Services; namespace TheCollection.Web.Comma...
Fix sorting of search bags
Fix sorting of search bags
C#
apache-2.0
projecteon/thecollection,projecteon/thecollection,projecteon/thecollection,projecteon/thecollection
8864ebcf54c95a7cad9d46d8358b719b49949d5e
src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocationExtensions.cs
src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigStorageLocationExtensions.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; using System.Collections.Generic; using Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.CodeAnalysis.Options { internal static cla...
// 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; using System.Collections.Generic; using Microsoft.CodeAnalysis.Diagnostics; namespace Microsoft.CodeAnalysis.Options { internal static cla...
Add link to explanatory comment
Add link to explanatory comment
C#
mit
mgoertz-msft/roslyn,stephentoub/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,davkean/roslyn,mgoertz-msft/roslyn,genlu/roslyn,physhi/roslyn,mavasani/roslyn,tmat/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,davkean/roslyn,ErikSchierb...
5aaf784652a2e95a72cee5b33beccbf3b0626f7f
src/Saucy/Program.cs
src/Saucy/Program.cs
using CommandLineParser; using Saucy.Actions; using Saucy.Providers.GitHub; namespace Saucy { public class Program { public static int Main(string[] args) { var settings = new SaucySettings(); ILogger logger = new VerboseLogger(); var restoreVerb = new SaucyCommandLine( ...
using CommandLineParser; using Saucy.Actions; using Saucy.Providers.GitHub; namespace Saucy { using System; public class Program { public static int Main(string[] args) { var consoleWriter = new ConsoleWriter(); try { var settings = new SaucySettings(); ...
Add exception handler to main()
Add exception handler to main()
C#
mit
acraven/saucy
b7371aa553f113ecf11065a24afe8ccf4d3b08bb
src/Watts/Program.cs
src/Watts/Program.cs
using System; namespace Watts { internal class Program { private static int Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: Watts.exe <\"Path/To/Config.json\">"); return 1; } var watts = ne...
using System; using System.Diagnostics; using System.IO; namespace Watts { internal class Program { private static int Main(string[] args) { var watts = new WebApiToTypeScript.WebApiToTypeScript(); if (args.Length == 0) { var path = Path.Comb...
Add option to use current dir.
Add option to use current dir.
C#
mit
greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript
1c006e2d4a5400c86bb5753f3b09bd839182fd62
WinMasto/Tools/Converters/StripHtmlConverter.cs
WinMasto/Tools/Converters/StripHtmlConverter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; using WinMasto.Tools.Extensions; namespace WinMasto.Tools.Converters { public class StripHtmlConverter : IValueConverter { public object Convert(object value,...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; using WinMasto.Tools.Extensions; namespace WinMasto.Tools.Converters { public class StripHtmlConverter : IValueConverter { public object Con...
Fix encoding of HTML in status
Fix encoding of HTML in status
C#
mit
drasticactions/WinMasto
dbf9566444acd9036dd9ab8187413db46c860a3c
src/Bakery/Security/BasicAuthenticationPrinter.cs
src/Bakery/Security/BasicAuthenticationPrinter.cs
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationPrinter : IBasicAuthenticationPrinter { private readonly IBase64Printer base64Printer; private readonly Encoding encoding; public BasicAuthenticationPrinter(IBase64Printer base64Printer, ...
namespace Bakery.Security { using System; using System.Text; using Text; public class BasicAuthenticationPrinter : IBasicAuthenticationPrinter { private readonly IBase64Printer base64Printer; private readonly Encoding encoding; public BasicAuthenticationPrinter(IBase64Printer base64Printer, ...
Use intermediate variables to improve readability.
Use intermediate variables to improve readability.
C#
mit
brendanjbaker/Bakery
0d671a902c669a2753e56dba114c3026407cec67
src/Core/Vipr/Program.cs
src/Core/Vipr/Program.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Xml.Linq; using Vipr.Core; namespace Vipr { internal c...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; namespace Vipr { internal class Program { private static void Main(string[] args) { ...
Enable automatic versioning and Nuget packaging of shippable Vipr binaries
Enable automatic versioning and Nuget packaging of shippable Vipr binaries
C#
mit
tonycrider/Vipr,Microsoft/Vipr,v-am/Vipr,tonycrider/Vipr,ysanghi/Vipr,MSOpenTech/Vipr
7dbe1df846142ccd111633c2e7934f4a2485a34f
src/MabWeb/Program.cs
src/MabWeb/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace MabWeb { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .U...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace MabWeb { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .U...
Revert "Enabling startup error logging"
Revert "Enabling startup error logging" This reverts commit cf2d991dde18740bf4d99058b5e8b717b7df68a4.
C#
mit
sanjaysingh/mabweb,sanjaysingh/mabweb,sanjaysingh/mabweb,sanjaysingh/mabweb
6bd85cecf55f5e1ae16911b7a826cd4d365b8f07
Client/Assets.cs
Client/Assets.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
Use string interpolation in key error
Use string interpolation in key error
C#
bsd-3-clause
iridinite/shiftdrive
416555068b9fc3ba542f4003ff997b898eeebb96
osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs
osu!StreamCompanion/Code/Modules/MapDataGetters/Window/WindowDataGetter.cs
using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; using osu_StreamCompanion.Code.Windows; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window { public class WindowDataGetter :IModule,IMapDataGetter,IMainWindowUpdater { private MainWindowUpdater _mai...
using System; using CollectionManager.DataTypes; using CollectionManager.Enums; using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; using osu_StreamCompanion.Code.Windows; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.Window { public class WindowDataGetter :IModul...
Update main window text to include nomod/modded star rating
Update main window text to include nomod/modded star rating
C#
mit
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
17b2a4ca0de3c486ab239da7e278fcbb9a7d8cd9
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
// 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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"D")] D,...
Fix D rank displaying as F
Fix D rank displaying as F
C#
mit
EVAST9919/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,DrabWeb/osu,peppy/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,johnneijzen/osu,DrabWe...
863b518095df5606b293ffe156c9f7676ace6ca7
Hatman/Commands/Should.cs
Hatman/Commands/Should.cs
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|will|is)", Extensions.RegOpts); private readonly string[] phrases = new[] { "No.", ...
using System.Text.RegularExpressions; using ChatExchangeDotNet; namespace Hatman.Commands { class Should : ICommand { private readonly Regex ptn = new Regex(@"(?i)^((sh|[cw])ould|can|are|will|is)", Extensions.RegOpts); private readonly string[] phrases = new[] { "No.", ...
Add "are" to the command pattern
Add "are" to the command pattern
C#
isc
ArcticEcho/Hatman
3543ea377f943a2b129a89f33ce92cdab054ea6f
Vaskelista/Views/Home/Index.cshtml
Vaskelista/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-large">Learn more &raquo;</a></p> </di...
@{ ViewBag.Title = "Home Page"; }
Remove template contents from the home/index view
Remove template contents from the home/index view
C#
mit
johanhelsing/vaskelista,johanhelsing/vaskelista
e720bed9e5bf755787bc985c1d6d20f45682fc6f
osu.Game/Graphics/Sprites/OsuSpriteText.cs
osu.Game/Graphics/Sprites/OsuSpriteText.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.Framework.Graphics.Sprites; namespace osu.Game.Graphics.Sprites { class OsuSpriteText : SpriteText { public const float FONT_SIZE = ...
// 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.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.MathUtils; using OpenTK; using OpenTK.Graphics; namespace osu.Game.Gra...
Add custom representation of unrenderable unicode characters.
Add custom representation of unrenderable unicode characters.
C#
mit
DrabWeb/osu,nyaamara/osu,DrabWeb/osu,ZLima12/osu,johnneijzen/osu,tacchinotacchi/osu,EVAST9919/osu,UselessToucan/osu,Damnae/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,RedNesto/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,ppy/osu,theguii/osu,Nabile-Rahman...
6a40ef581ccd8903fd2a02aa8d15b2fc6ebdca37
osu.Game/Users/Drawables/DrawableAvatar.cs
osu.Game/Users/Drawables/DrawableAvatar.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; namespace osu.Game.Users.Drawa...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; namespace osu.Game.Users.Drawa...
Fix avatars missing in private message channel tabs / local leaderboards
Fix avatars missing in private message channel tabs / local leaderboards Regressed in https://github.com/ppy/osu/pull/12204. Adding this back in a central location for now, as each of the remaining cases will need a local solution.
C#
mit
smoogipoo/osu,smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new
5d61f406ea961c6b8b226b0c414826a2530e330e
Chronological/DataType.cs
Chronological/DataType.cs
using System; using Newtonsoft.Json.Linq; namespace Chronological { public class DataType { public string TimeSeriesInsightsType { get; } internal DataType(string dataType) { TimeSeriesInsightsType = dataType; } internal JProperty ToJProperty() { ...
using System; using Newtonsoft.Json.Linq; namespace Chronological { public class DataType { public string TimeSeriesInsightsType { get; } internal DataType(string dataType) { TimeSeriesInsightsType = dataType; } internal JProperty ToJProperty() { ...
Add the nullable DateTime type
Add the nullable DateTime type
C#
mit
colethecoder/chronological
3e45fef6c647f7fdc7d3f5c07b48b2e6e4056f87
Mono.Debugging/Mono.Debugging.Client/SourceLink.cs
Mono.Debugging/Mono.Debugging.Client/SourceLink.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace Mono.Debugging.Client { [Serializable] public class SourceLink { // Keep the / character to use as a path separator to help group related symbols static readonly HashSet<char> invalids = new HashSet<...
using System; using System.IO; namespace Mono.Debugging.Client { [Serializable] public class SourceLink { public string Uri { get; } public string RelativeFilePath { get; } public SourceLink (string uri, string relativeFilePath) { RelativeFilePath = relativeFilePath; Uri = uri; } public string ...
Simplify uri -> filename conversion
Simplify uri -> filename conversion
C#
mit
mono/debugger-libs,mono/debugger-libs
d5411a9cf6e0f21d3824f501e262156311bec933
MyAccounts.Business/AccountOperations/Fortis/FortisOperationExportCsvMap.cs
MyAccounts.Business/AccountOperations/Fortis/FortisOperationExportCsvMap.cs
using CsvHelper.Configuration; using MyAccounts.Business.AccountOperations.Contracts; namespace MyAccounts.Business.AccountOperations.Fortis { public sealed class FortisOperationExportCsvMap : ClassMap<FortisOperation> { public FortisOperationExportCsvMap() { Map(m => m.Reference).N...
using CsvHelper.Configuration; using MyAccounts.Business.AccountOperations.Contracts; namespace MyAccounts.Business.AccountOperations.Fortis { public sealed class FortisOperationExportCsvMap : ClassMap<FortisOperation> { public FortisOperationExportCsvMap() { Map(m => m.Reference).N...
Add support for new column name in fortis export
Add support for new column name in fortis export
C#
mit
blaise-braye/my-accounts
83611ca9994f855705b5e0bc35a387c53f08bb9e
DesktopWidgets/Classes/ForegroundMatchData.cs
DesktopWidgets/Classes/ForegroundMatchData.cs
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] public class ForegroundMatchData { [DisplayName("Title")] public string Title { get; set; } [DisplayName("Title Match Mode")] public StringMa...
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] public class ForegroundMatchData { [DisplayName("Title")] public string Title { get; set; } [DisplayName("Title Match Mode")] public StringMa...
Change Foreground Match Data "Title Match Mode" default value
Change Foreground Match Data "Title Match Mode" default value
C#
apache-2.0
danielchalmers/DesktopWidgets
541d90630159b01891fcd34252ac27e4f9c98151
Cirrious/Json/Cirrious.MvvmCross.Plugins.Json/MvxJsonConverter.cs
Cirrious/Json/Cirrious.MvvmCross.Plugins.Json/MvxJsonConverter.cs
// MvxJsonConverter.cs // (c) Copyright Cirrious Ltd. http://www.cirrious.com // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, me@slodge.com using System; using System.Collections.Generic; u...
// MvxJsonConverter.cs // (c) Copyright Cirrious Ltd. http://www.cirrious.com // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, me@slodge.com using System; using System.Collections.Ge...
Add serialize loop handling to prevent crashing for circular loops
Add serialize loop handling to prevent crashing for circular loops
C#
mit
lothrop/MvvmCross-Plugins,MatthewSannes/MvvmCross-Plugins,Didux/MvvmCross-Plugins,martijn00/MvvmCross-Plugins
02e013512cc528afdf05c07b9a8a08d9f6275e67
hangman.cs
hangman.cs
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { // Table table = new Table(2, 3); // string output = table.Draw(); // Console.WriteLine(output); } } }
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { Game game = new Game(); Console.WriteLine("Made a new Game object"); // Table table = new Table(2, 3); // string output = table.Draw(); // Console.WriteLine(output); } } }
Create an instance of Game
Create an instance of Game
C#
unlicense
12joan/hangman
1394387d4360452de29f154320f0c0555538fbad
src/Umbraco.Web/Telemetry/TelemetryComponent.cs
src/Umbraco.Web/Telemetry/TelemetryComponent.cs
using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; using Umbraco.Web.Scheduling; namespace Umbraco.Web.Telemetry { public class TelemetryComponent : IComponent { private IProfilingLogger _logger; private IRuntimeState _runtime; private BackgroundTaskRunner<IB...
using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; using Umbraco.Web.Scheduling; namespace Umbraco.Web.Telemetry { public class TelemetryComponent : IComponent { private IProfilingLogger _logger; private IRuntimeState _runtime; private BackgroundTaskRunner<IB...
Move the backgroundtask runner into Initialize method to follow same practise as SchedulerComponent
Move the backgroundtask runner into Initialize method to follow same practise as SchedulerComponent
C#
mit
robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,mattbrailsford/Umbraco-CMS,ar...
ed69c034929a3983502d41084595eabc36e87f5f
core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs
core/TrackableData-Json/TrackableContainerTrackerJsonConverter.cs
using System; using System.Reflection; using Newtonsoft.Json; namespace TrackableData.Json { public class TrackableContainerTrackerJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return typeof(IContainerTracker).IsAssignableFrom(objectType); ...
using System; using System.Reflection; using Newtonsoft.Json; namespace TrackableData.Json { public class TrackableContainerTrackerJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { return typeof(IContainerTracker).IsAssignableFrom(objectType); ...
Fix .NET 3.5 build error
Fix .NET 3.5 build error
C#
mit
SaladLab/TrackableData,SaladbowlCreative/TrackableData,SaladbowlCreative/TrackableData,SaladLab/TrackableData
cfa4fbfdeb7c9eb7c0a77e83d807d873a047e066
src/NEventSocket/FreeSwitch/ApiResponse.cs
src/NEventSocket/FreeSwitch/ApiResponse.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ApiResponse.cs" company="Dan Barua"> // (C) Dan Barua and contributors. Licensed under the Mozilla Public License. // </copyright> // -------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ApiResponse.cs" company="Dan Barua"> // (C) Dan Barua and contributors. Licensed under the Mozilla Public License. // </copyright> // -------------------------------------------...
Fix api response success detection (sometimes body contains response, no +OK
Fix api response success detection (sometimes body contains response, no +OK
C#
mpl-2.0
danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket
a9fc78a1e7e5f6eb0b80d28849b2c0fcbc1ed5d9
JabbR/ContentProviders/VimeoContentProvider.cs
JabbR/ContentProviders/VimeoContentProvider.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using JabbR.ContentProviders.Core; namespace JabbR.ContentProviders { public class VimeoContentProvider : EmbedContentProvider { private static readonly Regex _vimeoIdRegex = new Regex(@"(\d+)"); protected override Regex ...
using System.Collections.Generic; using System.Text.RegularExpressions; using JabbR.ContentProviders.Core; namespace JabbR.ContentProviders { public class VimeoContentProvider : EmbedContentProvider { private static readonly Regex _vimeoIdRegex = new Regex(@"(\d+)"); protected override Regex ...
Use new style embed for vimeo links and made it https.
Use new style embed for vimeo links and made it https.
C#
mit
mogulTest1/MogulVerifyIssue5,MogulTestOrg2/JabbrApp,mogulTest1/Project91404,MogulTestOrg2/JabbrApp,ClarkL/1323on17jabbr-,mogulTest1/Project91404,meebey/JabbR,mogulTest1/Project91101,kudutest/FaizJabbr,Org1106/Project13221113,ClarkL/new09,mogulTest1/Project13171106,mogulTest1/Project91009,KuduApps/TestDeploy123,CrankyTR...
c9b4fa92f57b6c6023cbedb9c43aa846b1c7b855
osu.Game.Tournament.Tests/TournamentTestBrowser.cs
osu.Game.Tournament.Tests/TournamentTestBrowser.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.Testing; using osu.Game.Graphics; using osu.Game.Graphics.Backgrounds; namespace osu.Game.Tournament.Tests { public class TournamentTestBrowser :...
// 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.Testing; using osu.Game.Graphics; using osu.Game.Graphics.Backgrounds; namespace osu.Game.Tournament.Tests { public class TournamentTestBrowser :...
Hide in-game cursor manually in the testbrowser
Hide in-game cursor manually in the testbrowser
C#
mit
smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu
2a26a0fb0c4921cfa4451ccab95038b3c9f34fff
Chalmers.ILL/Providers/ProviderService.cs
Chalmers.ILL/Providers/ProviderService.cs
using Chalmers.ILL.Models; using Examine; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Chalmers.ILL.Extensions; using Chalmers.ILL.OrderItems; namespace Chalmers.ILL.Providers { public class ProviderService : IProviderService { IOrde...
using Chalmers.ILL.Models; using Examine; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Web; using Chalmers.ILL.Extensions; using Chalmers.ILL.OrderItems; namespace Chalmers.ILL.Providers { public class ProviderService : IProviderService { IOrde...
Create list of used providers properly.
Create list of used providers properly.
C#
mit
ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin
67aeb851a72372d4fdff457ce26024e56f8d2669
Scripts/NetFields/NetFieldStruct.cs
Scripts/NetFields/NetFieldStruct.cs
using LiteNetLib.Utils; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; namespace LiteNetLibHighLevel { public class NetFieldStruct<T> : LiteNetLibNetField<T> where T : struct { public override void Deserialize(NetDa...
using LiteNetLib.Utils; using System.IO; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using UnityEngine; namespace LiteNetLibHighLevel { public class NetFieldStruct<T> : LiteNetLibNetField<T> where T : struct { public override void Deserialize(NetDa...
Use var instead of full type name
Use var instead of full type name
C#
mit
insthync/LiteNetLibManager,insthync/LiteNetLibManager
07d97382ce8a2ce728f77ded6f65eef62330cb4b
MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml
MMLibrarySystem/MMLibrarySystem/Views/Admin/Index.cshtml
@model IEnumerable<MMLibrarySystem.Models.BorrowRecord> @{ ViewBag.Title = "Borrowed Books"; } <table id="bookList"> <tr> <td> Book Number </td> <td> Title </td> <td> Borrowed By </td> <td> Borrowed Start ...
@model IEnumerable<MMLibrarySystem.Models.BorrowRecord> @{ ViewBag.Title = "Borrowed Books"; } <table id="bookList"> <tr> <td> Book Number </td> <td> Title </td> <td> Borrowed By </td> <td> Borrowed Start ...
Add a confirm to revert while wrong operation.
Add a confirm to revert while wrong operation.
C#
apache-2.0
SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library
78c74d7f38e0b78564e880796c8f738de8b24fee
SimpleCollectionView/SimpleCollectionView/AppDelegate.cs
SimpleCollectionView/SimpleCollectionView/AppDelegate.cs
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using System.Drawing; namespace SimpleCollectionView { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { // class-level declarations UIW...
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; using System.Drawing; namespace SimpleCollectionView { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { // class-level declarations UIW...
Set MinimumInteritemSpacing and MinimumLineSpacing on flow layout
Set MinimumInteritemSpacing and MinimumLineSpacing on flow layout
C#
mit
iFreedive/monotouch-samples,W3SS/monotouch-samples,nervevau2/monotouch-samples,peteryule/monotouch-samples,a9upam/monotouch-samples,peteryule/monotouch-samples,iFreedive/monotouch-samples,iFreedive/monotouch-samples,kingyond/monotouch-samples,W3SS/monotouch-samples,YOTOV-LIMITED/monotouch-samples,davidrynn/monotouch-sa...
2b1cfbe2606d6dcb923a2c8501c8a7e0779de58a
RockLib.Messaging.NamedPipes.Tests/NamedPipesTests.cs
RockLib.Messaging.NamedPipes.Tests/NamedPipesTests.cs
using System.Threading; using Xunit; namespace RockLib.Messaging.NamedPipes.Tests { public class NamedPipesTests { [Fact] public void NamedPipeMessagesAreSentAndReceived() { var waitHandle = new AutoResetEvent(false); using (var receiver = new NamedPipeReceiver(...
using System.Threading; using Xunit; namespace RockLib.Messaging.NamedPipes.Tests { public class NamedPipesTests { [Fact] public void NamedPipeMessagesAreSentAndReceived() { var waitHandle = new AutoResetEvent(false); using (var receiver = new NamedPipeReceiver(...
Include header in named pipe test
Include header in named pipe test
C#
mit
RockFramework/Rock.Messaging
0d92b4f054e02696fabc43535ccf90b340281991
alert-roster.web/Views/Home/Subscriptions.cshtml
alert-roster.web/Views/Home/Subscriptions.cshtml
@model IEnumerable<alert_roster.web.Models.User> @{ ViewBag.Title = "View Subscriptions"; } <h2>@ViewBag.Title</h2> <p> @Html.ActionLink("Create New", "Subscribe") </p> @if (TempData["Message"] != null) { <div class="alert alert-info">@TempData["Message"]</div> } <table class="table"> <tr> ...
@model IEnumerable<alert_roster.web.Models.User> @{ ViewBag.Title = "View Subscriptions"; } <h2>@ViewBag.Title</h2> <p> @Html.ActionLink("Create New", "Subscribe") </p> @if (TempData["Message"] != null) { <div class="alert alert-info">@TempData["Message"]</div> } <table class="table"> <tr> ...
Add SMS to list page
Add SMS to list page
C#
mit
mattgwagner/alert-roster
a600c94f2c1a20fb380720d4beb6e19362867f1e
ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs
ClosedXML_Tests/Excel/Styles/NumberFormatTests.cs
using ClosedXML.Excel; using NUnit.Framework; using System; using System.Data; namespace ClosedXML_Tests.Excel { public class NumberFormatTests { [Test] public void PreserveCellFormat() { using (var wb = new XLWorkbook()) { var ws = wb.AddWorkshee...
using ClosedXML.Excel; using NUnit.Framework; using System; using System.Data; namespace ClosedXML_Tests.Excel { public class NumberFormatTests { [Test] public void PreserveCellFormat() { using (var wb = new XLWorkbook()) { var ws = wb.AddWorkshee...
Add unit test for at least one previously mistreated formula
Add unit test for at least one previously mistreated formula
C#
mit
igitur/ClosedXML,ClosedXML/ClosedXML,b0bi79/ClosedXML
70b40f9585f576db8b1cae3dbfd6f6a34118fc65
EarTrumpet.Actions/DataModel/Serialization/App.cs
EarTrumpet.Actions/DataModel/Serialization/App.cs
using System.Xml.Serialization; namespace EarTrumpet.Actions.DataModel.Serialization { public class AppRef { public static readonly string EveryAppId = "EarTrumpet.EveryApp"; public static readonly string ForegroundAppId = "EarTrumpet.ForegroundApp"; public string Id { get; set; } ...
namespace EarTrumpet.Actions.DataModel.Serialization { public class AppRef { public static readonly string EveryAppId = "EarTrumpet.EveryApp"; public static readonly string ForegroundAppId = "EarTrumpet.ForegroundApp"; public string Id { get; set; } public override int GetHash...
Fix EarTrumpet.Web deps after - to . rename
Fix EarTrumpet.Web deps after - to . rename
C#
mit
File-New-Project/EarTrumpet
ff9c4b8b6e0a25c65104e9295fb3e1ac0f15cb15
Hosting/Web/BootStrapper.cs
Hosting/Web/BootStrapper.cs
using System.Web.Routing; using ConsolR.Hosting.Web; using SignalR; namespace ConsolR.Hosting { [assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")] public static class Bootstrapper { public static void PreApplicationStart() { var routes = RouteTa...
using System.Web.Routing; using ConsolR.Hosting.Web; using SignalR; [assembly: WebActivator.PostApplicationStartMethod(typeof(ConsolR.Hosting.Bootstrapper), "PreApplicationStart")] namespace ConsolR.Hosting { public static class Bootstrapper { public static void PreApplicationStart() { var routes = RouteTab...
Move assembly directive out of namespace
Move assembly directive out of namespace
C#
mit
appharbor/ConsolR,appharbor/ConsolR
11a5a2a51a1817c33a79ea2068fd2f78c4fc0990
src/generator/AutoRest.Java.Azure/Templates/AzureServiceClientRetrofitTemplate.cshtml
src/generator/AutoRest.Java.Azure/Templates/AzureServiceClientRetrofitTemplate.cshtml
@using System.Linq; @using AutoRest.Core.ClientModel @using AutoRest.Core.Utilities @using AutoRest.Java.Azure.TemplateModels @inherits AutoRest.Core.Template<AutoRest.Java.Azure.TemplateModels.AzureServiceClientTemplateModel> /** * The interface defining all the services for @Model.Name to be * used by Retrofit to ...
@using System.Linq; @using AutoRest.Core.ClientModel @using AutoRest.Core.Utilities @using AutoRest.Java.Azure.TemplateModels @inherits AutoRest.Core.Template<AutoRest.Java.Azure.TemplateModels.AzureServiceClientTemplateModel> /** * The interface defining all the services for @Model.Name to be * used by Retrofit to ...
Fix paging next in service client level methods
Fix paging next in service client level methods
C#
mit
sergey-shandar/autorest,amarzavery/AutoRest,fhoring/autorest,brjohnstmsft/autorest,garimakhulbe/autorest,begoldsm/autorest,garimakhulbe/autorest,lmazuel/autorest,jianghaolu/AutoRest,veronicagg/autorest,haocs/autorest,jhendrixMSFT/autorest,veronicagg/autorest,garimakhulbe/autorest,jhancock93/autorest,annatisch/autorest,...
a21c1fd44c8744303d2b68406d1d4c156b828e07
Nerdle.AutoConfig.Tests.Unit/Strategy/StrategyManagerTests/When_creating_a_strategy.cs
Nerdle.AutoConfig.Tests.Unit/Strategy/StrategyManagerTests/When_creating_a_strategy.cs
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Nerdle.AutoConfig.Strategy; using NUnit.Framework; namespace Nerdle.AutoConfig.Tests.Unit.Strategy.StrategyManagerTests { [TestFixture] class When_creating_a_strategy { StrategyManager _sut; [S...
using System; using System.Collections.Generic; using System.Linq; using FluentAssertions; using Nerdle.AutoConfig.Strategy; using NUnit.Framework; namespace Nerdle.AutoConfig.Tests.Unit.Strategy.StrategyManagerTests { [TestFixture] class When_creating_a_strategy { StrategyManager _sut; [S...
Add missing [Test] attribute on test method
Add missing [Test] attribute on test method
C#
mit
edpollitt/Nerdle.AutoConfig
d344d1cd1a2d77f5fb03367a48799fd07f568eff
ConfigPS/ConfigPS/Global.cs
ConfigPS/ConfigPS/Global.cs
using System.Dynamic; using System.IO; using System.Management.Automation; using System.Reflection; namespace ConfigPS { public class Global : DynamicObject { readonly PowerShell ps; public Global() { var fileName = Path.GetFileName(Assembly.GetCallingAssembly...
using System.Dynamic; using System.IO; using System.Management.Automation; using System.Reflection; namespace ConfigPS { public class Global : DynamicObject { readonly PowerShell ps; public Global(string configFileName = null) { if (configFileName == null) ...
Allow config file to passed in
Allow config file to passed in
C#
mit
dfinke/config-ps
8cdee3329afe0286a9146f61b2acf9e8d8eb5162
RailPhase.Demo/Program.cs
RailPhase.Demo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RailPhase.Demo { class Program { static void Main(string[] args) { // Create a simple web app and serve content on to URLs. var app = new App();...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RailPhase.Demo { class Program { static void Main(string[] args) { // Create a simple web app and serve content on to URLs. var app = new App();...
Update demo app with more comments
Update demo app with more comments
C#
mit
LukasBoersma/RailPhase,RailPhase/RailPhase,LukasBoersma/RailPhase,RailPhase/RailPhase,LukasBoersma/Web2Sharp,LukasBoersma/Web2Sharp
9380f8fb3383777afe7266592da053627078c2d4
CefSharp.Example/CefExample.cs
CefSharp.Example/CefExample.cs
using System; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. private const bool debu...
using System; using System.Diagnostics; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. ...
Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value
Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value
C#
bsd-3-clause
AJDev77/CefSharp,VioletLife/CefSharp,NumbersInternational/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,Haraguroicha/CefSharp,illfang/CefSharp,windygu/CefSharp,rover886/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,gregmartinhtc/CefSharp,wangzheng888520/CefSharp,rover886/CefSharp,Octopus-ITSM/CefSharp,haozhou...
e303833d5840594345774f6f2ef403130f483c7b
compiler/middleend/ir/BasicBlock.cs
compiler/middleend/ir/BasicBlock.cs
using System; using System.Collections.Generic; namespace compiler.middleend.ir { //TODO: redisign this class and its supporting classes public class BasicBlock { public string Name { get; } public List<Instruction> Instructions{ get; set; } public Anchor AnchorBlock { get; set; } public BasicBl...
using System; using System.Collections.Generic; namespace compiler.middleend.ir { //TODO: redisign this class and its supporting classes public class BasicBlock { public string Name { get; } public List<Instruction> Instructions{ get; set; } public Anchor AnchorBlock { get; set; } public BasicBl...
Add check for possible null reference
Add check for possible null reference
C#
mit
ilovepi/Compiler,ilovepi/Compiler
f143c019253c96e515f8bf77b81857c25b2192aa
App/StackExchange.DataExplorer/Models/Query.cs
App/StackExchange.DataExplorer/Models/Query.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using StackExchange.DataExplorer.Helpers; using System.Text; namespace StackExchange.DataExplorer.Models { public partial class Query { public string BodyWithoutComments { get { P...
Clean up ToComment so it handles a few edge cases a bit better
Clean up ToComment so it handles a few edge cases a bit better
C#
mit
StackExchange/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,StackExchange/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,jango2015/StackExchange.DataEx...
0f1b0080be645eb2805266c2a543e7b2375d4a2e
AudioController/Assets/Source/Model/CategoryItem.cs
AudioController/Assets/Source/Model/CategoryItem.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; }
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public struct CategoryItem { public string name; public SoundItem[] soundItems; public GameObject audioObjectPrefab; }
Add possibility to add custom AudioObject prefab.
Add possibility to add custom AudioObject prefab.
C#
mit
dimixar/audio-controller-unity