commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
4e367c4cc17641442ec83a837c37302a984f7666 | Set inline flag in the generated control sequence | antmicro/TermSharp | Misc/InlineImage.cs | Misc/InlineImage.cs | //
// Copyright (c) Antmicro
//
// Full license details are defined in the 'LICENSE' file.
//
using System;
using System.Drawing;
using System.IO;
using TermSharp.Vt100;
using Xwt.Drawing;
namespace TermSharp.Misc
{
public static class InlineImage
{
public static string Encode(Bitmap image)
{
... | //
// Copyright (c) Antmicro
//
// Full license details are defined in the 'LICENSE' file.
//
using System;
using System.Drawing;
using System.IO;
using TermSharp.Vt100;
using Xwt.Drawing;
namespace TermSharp.Misc
{
public static class InlineImage
{
public static string Encode(Bitmap image)
{
... | apache-2.0 | C# |
2bc67629b817221e086b729f02367a17474ad739 | Improve xmldoc + remove explicit Special2 value | ppy/osu,peppy/osu,johnneijzen/osu,Nabile-Rahmani/osu,naoey/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,smoogipooo/osu,naoey/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,Useless... | osu.Game.Rulesets.Mania/ManiaInputManager.cs | osu.Game.Rulesets.Mania/ManiaInputManager.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;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaInputMa... | // 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;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaInputMa... | mit | C# |
4b2a464198372c04101b9ed5db7cad13d0e23103 | clean up StringConvert | CDillinger/RedditVisualizer | Source/RedditVisualizer/Helpers/StringConvert.cs | Source/RedditVisualizer/Helpers/StringConvert.cs | namespace RedditVisualizer.Helpers
{
class StringConvert
{
public static string XmlStringToNormal(string xmlString)
{
while (xmlString.Contains("""))
{
string part1 = xmlString.Substring(0, xmlString.IndexOf("""));
string part2 = xmlString.Substring(xmlString.IndexOf(""") + 6);
... | namespace RedditVisualizer.Helpers
{
class StringConvert
{
public static string XmlStringToNormal(string xmlString)
{
while (xmlString.Contains("""))
{
string part1 = xmlString.Substring(0, xmlString.IndexOf("""));
string part2 = xmlString.Substring(xmlString.IndexOf(""") + 6);
x... | mit | C# |
e610863b5c8dbc428ad8e5091ef91085a899207d | Bump version to 1.7.1 | Fearswe/Superscrot,horsedrowner/Superscrot | Superscrot/Superscrot/Properties/AssemblyInfo.cs | Superscrot/Superscrot/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Su... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Su... | mit | C# |
abd49646cd4d05f8ab84adf0084ab8c7772cb4ac | Make Search Operator automatically parsed by MVC. | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch | TeacherPouch.Web/Controllers/SearchController.cs | TeacherPouch.Web/Controllers/SearchController.cs | using System;
using System.ComponentModel;
using System.Web.Mvc;
using TeacherPouch.Models;
using TeacherPouch.Providers;
using TeacherPouch.Repositories;
namespace TeacherPouch.Web.Controllers
{
public partial class SearchController : RepositoryControllerBase
{
public SearchController(IRepository rep... | using System;
using System.Web.Mvc;
using TeacherPouch.Models;
using TeacherPouch.Providers;
using TeacherPouch.Repositories;
namespace TeacherPouch.Web.Controllers
{
public partial class SearchController : RepositoryControllerBase
{
public SearchController(IRepository repository)
{
... | mit | C# |
4dfeb294bba11e2d1b1b9e0c63a9b6f9bf5dd452 | rewrite ByteStream | acple/ParsecSharp | ParsecSharp/Data/ByteStream.cs | ParsecSharp/Data/ByteStream.cs | using System;
using System.IO;
using System.Linq;
using ParsecSharp.Internal;
namespace ParsecSharp
{
public sealed class ByteStream : IParsecStateStream<byte>
{
private const int MaxBufferSize = 1024;
private sealed class Buffer : IDisposable
{
private readonly IDisposable... | using System;
using System.IO;
using ParsecSharp.Internal;
namespace ParsecSharp
{
public sealed class ByteStream : IParsecStateStream<byte>
{
private readonly IDisposable disposable;
private readonly LinearPosition _position;
private readonly Lazy<IParsecStateStream<byte>> _next;
... | mit | C# |
b103e734d10c66fcd60da31c91cabb2cf3e65f2f | Change over usage of IAgentStartup to use IAgentStartupManager instead | zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Gli... | src/Glimpse.Agent.Web/GlimpseAgentWebExtension.cs | src/Glimpse.Agent.Web/GlimpseAgentWebExtension.cs | using System.Linq;
using Glimpse.Web;
using Microsoft.AspNet.Builder;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Agent.Web
{
public static class GlimpseAgentWebExtension
{
public static IApplicationBuilder UseGlimpseAgent(this IApplicationBuilder app)
{
var man... | using System.Linq;
using Glimpse.Web;
using Microsoft.AspNet.Builder;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Agent.Web
{
public static class GlimpseAgentWebExtension
{
public static IApplicationBuilder UseGlimpseAgent(this IApplicationBuilder app)
{
var sta... | mit | C# |
f9a303f8ad52ac9bfc30fd987782f53ac95855eb | Update XML Comments | BrighterCommand/Brighter,BrighterCommand/Brighter,BrighterCommand/Brighter | src/Paramore.Brighter.MsSql/MsSqlConfiguration.cs | src/Paramore.Brighter.MsSql/MsSqlConfiguration.cs | namespace Paramore.Brighter.MsSql
{
public class MsSqlConfiguration
{
/// <summary>
/// Initializes a new instance of the <see cref="MsSqlConfiguration"/> class.
/// </summary>
/// <param name="connectionString">The connection string. Please note the latest library defaults Encr... | namespace Paramore.Brighter.MsSql
{
public class MsSqlConfiguration
{
/// <summary>
/// Initializes a new instance of the <see cref="MsSqlConfiguration"/> class.
/// </summary>
/// <param name="connectionString">The connection string.</param>
/// <param name="outBoxTable... | mit | C# |
c01c07709748ee4990288808459b03e7e9cc2024 | Update AssemblyInfo.cs | Tulpep/Network-AutoSwitch | Tulpep.NetworkAutoSwitch.ProxyEnabler/Properties/AssemblyInfo.cs | Tulpep.NetworkAutoSwitch.ProxyEnabler/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tulp... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Tul... | mit | C# |
9885c3c2e3ba822f99f02b02ac4e1dde1529ef71 | Update 70.WriteRecordByRecord.cs | MarcosMeli/FileHelpers | FileHelpers.Examples/Examples/10.QuickStart/70.WriteRecordByRecord.cs | FileHelpers.Examples/Examples/10.QuickStart/70.WriteRecordByRecord.cs | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
// Done
namespace ExamplesFx
{
//-> Name:Write Delimited File
//-> Description:Example of how to write a delimited file
//-> AutoRun:true
public class WriteFile
: ExampleBase
{
//-> To wr... | using System;
using System.Collections;
using System.Collections.Generic;
using FileHelpers;
// Done
namespace ExamplesFx
{
//-> Name:Write Delimited File
//-> Description:Example of how to write a delimited file
//-> AutoRun:true
public class WriteFile
: ExampleBase
{
//-> To wr... | mit | C# |
a2035a2e84d6a187331e0c56e2ffa906be673659 | Stop hover sounds from playing when dragging (scrolling) | peppy/osu-new,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu | osu.Game/Graphics/UserInterface/HoverSampleDebounceComponent.cs | osu.Game/Graphics/UserInterface/HoverSampleDebounceComponent.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.Audio;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Events;
using... | // 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.Audio;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input.Events;
using... | mit | C# |
fd67654cddb5b13b99fc7c52de9f0ca475e3ebe6 | Terminate xmldocs | peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework | osu.Framework/MathUtils/MathUtils.cs | osu.Framework/MathUtils/MathUtils.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;
namespace osu.Framework.MathUtils
{
public static class MathUtils
{
/// <summary>
/// Converts degrees to radians.
/// </s... | // 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;
namespace osu.Framework.MathUtils
{
public static class MathUtils
{
/// <summary>
/// Convert degrees to radians
/// </sum... | mit | C# |
e5c7088fa82c50910a82e9bbaa0a269daa4b89f2 | Resolve #279 - default expression type now configurable | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | ZptSharp.Impl/Expressions/ConfiguredDefaultExpressionTypeDecorator.cs | ZptSharp.Impl/Expressions/ConfiguredDefaultExpressionTypeDecorator.cs | using System;
using ZptSharp.Config;
namespace ZptSharp.Expressions
{
/// <summary>
/// Decorator for the <see cref="IGetsExpressionType"/> service. If the wrapped service
/// does not produce a non-null result, then this decorator returns the
/// <see cref="RenderingConfig.DefaultExpressionType"/>.
... | using System;
using ZptSharp.Config;
namespace ZptSharp.Expressions
{
/// <summary>
/// Decorator for the <see cref="IGetsExpressionType"/> service. If the wrapped service
/// does not produce a non-null result, then this decorator returns the
/// <see cref="RenderingConfig.DefaultExpressionType"/>.
... | mit | C# |
d9ea9fbffd8d1817297b0a9d2a8a99b56156cf97 | Fix colspan | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Manage/APIKeys.cshtml | BTCPayServer/Views/Manage/APIKeys.cshtml | @model BTCPayServer.Controllers.ManageController.ApiKeysViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.APIKeys, "Manage your API Keys");
}
<partial name="_StatusMessage"/>
<h4>API Keys</h4>
<table class="table table-lg">
<thead>
<tr>
<th>Label</th>
<th>Key</th>
<th>Permi... | @model BTCPayServer.Controllers.ManageController.ApiKeysViewModel
@{
ViewData.SetActivePageAndTitle(ManageNavPages.APIKeys, "Manage your API Keys");
}
<partial name="_StatusMessage"/>
<h4>API Keys</h4>
<table class="table table-lg">
<thead>
<tr>
<th>Label</th>
<th>Key</th>
<th>Permi... | mit | C# |
bfa82aea337f513bbecf4df7c4b854513fae12e1 | Remove irrelevant comment | BeigeBadger/wt-wiki-scraper | ConsoleScraper/ConsoleScraper/Program.cs | ConsoleScraper/ConsoleScraper/Program.cs | using ConsoleScraper.Logging;
using ConsoleScraper.Util;
using ConsoleScraper.Util.Crawlers;
using ConsoleScraper.Util.Processors;
using ConsoleScraper.Util.Scrapers;
using HtmlAgilityPack;
using System;
using System.Diagnostics;
namespace ConsoleScraper
{
internal class Program
{
private static ConsoleManager _c... | using ConsoleScraper.Logging;
using ConsoleScraper.Util;
using ConsoleScraper.Util.Crawlers;
using ConsoleScraper.Util.Processors;
using ConsoleScraper.Util.Scrapers;
using HtmlAgilityPack;
using System;
using System.Diagnostics;
namespace ConsoleScraper
{
internal class Program
{
/** Thread-safe collections **/
... | mit | C# |
d6d14009aa467e53e48deb335462f8c548c7e47c | Stop all watchers when exiting | fguchelaar/FileSystemActions | FSWActions.ConsoleApplication/Program.cs | FSWActions.ConsoleApplication/Program.cs | using System;
using System.Collections.Generic;
using FSWActions.Core;
using FSWActions.Core.Config;
namespace FSWActions.ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
WatchersConfiguration configuration = WatchersConfiguration.LoadConfigFromPath("watchers.... | using System;
using FSWActions.Core;
using FSWActions.Core.Config;
namespace FSWActions.ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
WatchersConfiguration configuration = WatchersConfiguration.LoadConfigFromPath("watchers.xml");
foreach (Watch... | mit | C# |
54022c89686cab48f41cd69a12dd80ed9fba86c2 | Update fix | MatiasALopez/test1 | Test1/Test1.Console/Program.cs | Test1/Test1.Console/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test1.Console
{
class Program
{
static void Main(string[] args)
{
// modificado en master
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test1.Console
{
class Program
{
static void Main(string[] args)
{
// modificado en master (conflicto resuelto)
}
}
}
| mit | C# |
cce2c1bad205bb78cf8072736d5c89ec2395396e | Write the test for the reset behavior. | Moq/moq4,JohanLarsson/moq4,AhmedAssaf/moq4,madcapsoftware/moq4,HelloKitty/moq4,chkpnt/moq4,ocoanet/moq4,cgourlay/moq4,ramanraghur/moq4,LeonidLevin/moq4,iskiselev/moq4,kolomanschaft/moq4,breyed/moq4,jeremymeng/moq4,kulkarnisachin07/moq4,RobSiklos/moq4,AhmedAssaf/moq4 | UnitTests/OccurrenceFixture.cs | UnitTests/OccurrenceFixture.cs | using System;
using Xunit;
namespace Moq.Tests
{
public class OccurrenceFixture
{
[Fact]
public void OnceDoesNotThrowOnSecondCallIfCountWasResetBefore()
{
var mock = new Mock<IFoo>();
mock.Setup(foo => foo.Execute("ping"))
.Returns("ack")
... | using System;
using Xunit;
namespace Moq.Tests
{
public class OccurrenceFixture
{
[Fact]
public void OnceDoesNotThrowOnSecondCallIfCountWasResetBefore()
{
var mock = new Mock<IFoo>();
mock.Setup(foo => foo.Execute("ping"))
.Returns("ack")
... | bsd-3-clause | C# |
4e3977fdfd3a69ea18b15c4a09f2f369b3634b79 | Implement ToString method on TouchDevelopSchema | wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,janabimustafa/waslibs,pellea/waslibs,pellea/waslibs,wasteam/waslibs,wasteam/waslibs,janabimustafa/waslibs | src/AppStudio.DataProviders/TouchDevelop/TouchDevelopSchema.cs | src/AppStudio.DataProviders/TouchDevelop/TouchDevelopSchema.cs | using System;
using Newtonsoft.Json;
namespace AppStudio.DataProviders.TouchDevelop
{
public class TouchDevelopSchema : SchemaBase
{
public DateTime Time { get; set; }
public string Url { get; set; }
public string Name { get; set; }
public string Description { get; set; }
... | using System;
using Newtonsoft.Json;
namespace AppStudio.DataProviders.TouchDevelop
{
public class TouchDevelopSchema : SchemaBase
{
public DateTime Time { get; set; }
public string Url { get; set; }
public string Name { get; set; }
public string Description { get; set; }
... | mit | C# |
9725dcec24bb004d1effa0f1d5e29c1d4b1814f4 | Use ToString in converter instead of boxing-cast | RogueException/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net | src/Discord.Net.Core/Net/Converters/NullableUInt64Converter.cs | src/Discord.Net.Core/Net/Converters/NullableUInt64Converter.cs | using Newtonsoft.Json;
using System;
using System.Globalization;
namespace Discord.Net.Converters
{
internal class NullableUInt64Converter : JsonConverter
{
public static readonly NullableUInt64Converter Instance = new NullableUInt64Converter();
public override bool CanConvert(Type objectType... | using Newtonsoft.Json;
using System;
using System.Globalization;
namespace Discord.Net.Converters
{
internal class NullableUInt64Converter : JsonConverter
{
public static readonly NullableUInt64Converter Instance = new NullableUInt64Converter();
public override bool CanConvert(Type objectType... | mit | C# |
377921d82942db93b5f0025a9231c1948c19149b | comment not working sqlite database code in Startup | olebg/Movie-Theater-Project | MovieTheater/MovieTheater.CLI/StartUp.cs | MovieTheater/MovieTheater.CLI/StartUp.cs | using System.Data.Entity;
using MovieTheater.CLI.NinjectModules;
using MovieTheater.Data.Contexts;
using MovieTheater.Data.Migrations;
using MovieTheater.Framework.Core.Contracts;
using Ninject;
using MovieTheater.Models;
namespace MovieTheater.CLI
{
public class StartUp
{
public static void Main()
... | using System.Data.Entity;
using MovieTheater.CLI.NinjectModules;
using MovieTheater.Data.Contexts;
using MovieTheater.Data.Migrations;
using MovieTheater.Framework.Core.Contracts;
using Ninject;
using MovieTheater.Models;
namespace MovieTheater.CLI
{
public class StartUp
{
public static void Main()
... | mit | C# |
163e496f81cfc1bba9bc1b87dc49da52dfc32205 | rename namespace | Zenasoft/JellyFish.Configuration | src/Jellyfish.Configuration.vnext/ServiceCollectionExtension.cs | src/Jellyfish.Configuration.vnext/ServiceCollectionExtension.cs | // Copyright (c) Zenasoft. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Jellyfish.Configuration;
using Microsoft.Extensions.Configuration;
using System.Linq;
using Microsoft.Framework.Interna... | // Copyright (c) Zenasoft. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using Jellyfish.Configuration;
using Microsoft.Extensions.Configuration;
using System.Linq;
using Microsoft.Framework.Interna... | apache-2.0 | C# |
65d7c9b1c47c16ecb03cda37b85a8586ed04d635 | Fix unit test. | luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboil... | test/Abp.EntityFrameworkCore.Tests/Domain/Blog.cs | test/Abp.EntityFrameworkCore.Tests/Domain/Blog.cs | using System;
using System.Collections.Generic;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Abp.Timing;
using Microsoft.EntityFrameworkCore;
namespace Abp.EntityFrameworkCore.Tests.Domain
{
public class Blog : AggregateRoot, IHasCreationTime
{
public string Name { get; set; }
... | using System;
using System.Collections.Generic;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Abp.Timing;
using Microsoft.EntityFrameworkCore;
namespace Abp.EntityFrameworkCore.Tests.Domain
{
public class Blog : AggregateRoot, IHasCreationTime
{
public string Name { get; set; }
... | mit | C# |
4578a968131a0c0ca68732fa1c0420ddd0c9d2fb | Fix beatmap card expanded content not blocking clicks from behind | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Beatmaps/Drawables/Cards/ExpandedContentScrollContainer.cs | osu.Game/Beatmaps/Drawables/Cards/ExpandedContentScrollContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics.Containers;
namespace... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Framework.Utils;
using osu.Game.Graphics.Containers;
namespace... | mit | C# |
723afbe3b58d4f543d3a5d170e420031fbed6e83 | Convert all of these SymbolInfo extensions to ImmutableArray and reduce allocations. | wvdd007/roslyn,ljw1004/roslyn,genlu/roslyn,a-ctor/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,jamesqo/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,jamesqo/roslyn,zooba/roslyn,gafter/roslyn,davkean/roslyn,KiloBravoLima/roslyn,wvdd007/roslyn,bartdesmet/roslyn,TyOverby/roslyn,pdelvo/roslyn,xoofx/roslyn,ErikSc... | src/Workspaces/Core/Portable/Shared/Extensions/SymbolInfoExtensions.cs | src/Workspaces/Core/Portable/Shared/Extensions/SymbolInfoExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Mic... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Shared.Extension... | mit | C# |
61f1e4d2e41c982b938b2596a2a4bee4f7a206be | Make HandleRef fields private | cshung/coreclr,cshung/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,krk/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/cor... | src/mscorlib/shared/System/Runtime/InteropServices/HandleRef.cs | src/mscorlib/shared/System/Runtime/InteropServices/HandleRef.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
public struct HandleRef
{
// ! Do not add or rearrange fi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
public struct HandleRef
{
// ! Do not add or rearrange fi... | mit | C# |
6b656fe01df720750b7268723c9b4b1a8336564c | fix RIDER-42101 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Feature/Pencils/UnityPencilsFilter.cs | resharper/resharper-unity/src/Feature/Pencils/UnityPencilsFilter.cs | using System.Collections.Generic;
using JetBrains.Application.Settings;
using JetBrains.Collections.Viewable;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Pencils.Filters;
using JetBrains.ReSharper.Plugins.Unity.Feature.HighlightingEye;
using JetBrains.ReSharper.Pl... | using System.Collections.Generic;
using JetBrains.Application.Settings;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Pencils.Filters;
using JetBrains.ReSharper.Plugins.Unity.Feature.HighlightingEye;
using JetBrains.ReSharper.Plugins.Unity.Settings;
namespace JetBr... | apache-2.0 | C# |
853c86b0c8e7d4c96f17e189ed9c07aa5493d58e | Update IScriptRunner.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | src/Core2D/Model/Interfaces/IScriptRunner.cs | src/Core2D/Model/Interfaces/IScriptRunner.cs | using System.Threading.Tasks;
namespace Core2D.Interfaces
{
/// <summary>
/// Executes code scripts.
/// </summary>
public interface IScriptRunner
{
/// <summary>
/// Executes code script.
/// </summary>
/// <param name="code">The script code.</param>
Task<o... |
namespace Core2D.Interfaces
{
/// <summary>
/// Executes code scripts.
/// </summary>
public interface IScriptRunner
{
/// <summary>
/// Executes code script.
/// </summary>
/// <param name="code">The script code.</param>
void Execute(string code);
... | mit | C# |
8823aae8924dbef58a1e06e0001accaa03f06ed6 | make items in a radio button list had distinct ids but same name | mvbalaw/FluentWebControls | src/FluentWebControls/RadioButtonListData.cs | src/FluentWebControls/RadioButtonListData.cs | // * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributi... | // * **************************************************************************
// * Copyright (c) McCreary, Veselka, Bragg & Allen, P.C.
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
// * at the root of this distributi... | mit | C# |
6182dd41631d01443a400ce21a49ec8e5f1ffbd6 | Fix for failing mspec test | asbjornu/Nancy,joebuschmann/Nancy,blairconrad/Nancy,damianh/Nancy,vladlopes/Nancy,jchannon/Nancy,jchannon/Nancy,jonathanfoster/Nancy,wtilton/Nancy,duszekmestre/Nancy,fly19890211/Nancy,Novakov/Nancy,nicklv/Nancy,vladlopes/Nancy,ccellar/Nancy,dbolkensteyn/Nancy,blairconrad/Nancy,charleypeng/Nancy,MetSystem/Nancy,felipele... | src/Nancy.Testing/PassThroughErrorHandler.cs | src/Nancy.Testing/PassThroughErrorHandler.cs | using System;
using Nancy.ErrorHandling;
namespace Nancy.Testing
{
public class PassThroughErrorHandler : IErrorHandler
{
public bool HandlesStatusCode(HttpStatusCode statusCode, NancyContext context)
{
if (!context.Items.ContainsKey(NancyEngine.ERROR_EXCEPTION))
... | using System;
using Nancy.ErrorHandling;
namespace Nancy.Testing
{
public class PassThroughErrorHandler : IErrorHandler
{
public bool HandlesStatusCode(HttpStatusCode statusCode, NancyContext context)
{
var exception = context.Items[NancyEngine.ERROR_EXCEPTION] as Exception... | mit | C# |
181a3cc564d39078557f06f195c4bdf249c826c5 | Update LoggerGeneric.cs | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Logging/LoggerGeneric.cs | src/WeihanLi.Common/Logging/LoggerGeneric.cs | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Logging
{
public sealed class GenericLoggerOptions
{
public Func<Type, bool>? FullNamePredict { get; set; }
}
internal sealed class GenericLogger<T> :... | using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Logging
{
public sealed class GenericLoggerOptions
{
public Func<Type, bool>? FullNamePredict { get; set; }
}
internal sealed class GenericLogger<T> :... | mit | C# |
4f6d2edab05746fae13803139bfb2e1fe4b57883 | Update NavigatorContent.xaml.cs | Suplanus/Suplanus.Sepla | Suplanus.Example.EplAddIn.NavigatorExample/NavigatorContent.xaml.cs | Suplanus.Example.EplAddIn.NavigatorExample/NavigatorContent.xaml.cs | using System.Reflection;
using Eplan.EplSDK.WPF.Interfaces;
using Eplan.EplSDK.WPF.Interfaces.DialogServices;
namespace Suplanus.EplAddIn.NavigatorExample
{
public partial class NavigatorContent : IDialog, IDialogBar, IDialogComponentAccess, ICallingContext, IDialogState, IDialogAction, IDialogClose, IElementStat... | using System.Reflection;
using Eplan.EplSDK.WPF.Interfaces;
using Eplan.EplSDK.WPF.Interfaces.DialogServices;
namespace Suplanus.EplAddIn.NavigatorExample
{
public partial class NavigatorContent : IDialog, IDialogBar, IDialogComponentAccess, ICallingContext, IDialogState, IDialogAction, IDialogClose, IElementStat... | mit | C# |
b70b3c1890a8f90d4ff8b2b56a13e9edac48a6f3 | Fix PropertyCopier - only write to writable properties. | PhilipDaniels/BassUtils | BassUtils/BassUtils/PropertyCopier.cs | BassUtils/BassUtils/PropertyCopier.cs | using System;
using System.Linq;
using System.Reflection;
namespace BassUtils
{
/// <summary>
/// Copies properties from one object to another.
/// </summary>
public static class PropertyCopier
{
/// <summary>
/// Copies all possible property values from <paramref name=... | using System;
using System.Linq;
using System.Reflection;
namespace BassUtils
{
/// <summary>
/// Copies properties from one object to another.
/// </summary>
public static class PropertyCopier
{
/// <summary>
/// Copies all possible property values from <paramref name=... | mit | C# |
8cd410a94d3f84b58de1e4f669842f3b4693d7f4 | Fix multiple open data readers problem. | MartinEden/finances-sharp,MartinEden/finances-sharp,MartinEden/finances-sharp,MartinEden/finances-sharp | FinancesSharp/ViewModels/RulesViewModel.cs | FinancesSharp/ViewModels/RulesViewModel.cs | using FinancesSharp.Models;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace FinancesSharp.ViewModels
{
public class RulesViewModel
{
public IEnumerable<CategorisationRule> Rules { get; private set; }
public RulesViewModel(FinanceDb db)
{
... | using FinancesSharp.Models;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace FinancesSharp.ViewModels
{
public class RulesViewModel
{
public IEnumerable<CategorisationRule> Rules { get; private set; }
public RulesViewModel(FinanceDb db)
{
... | mit | C# |
6afd9cbebf785aacf792ce9d5f57bde90a24789a | update ControlleurVolet | nhurman/avalon,nhurman/avalon,nhurman/avalon,nhurman/avalon,nhurman/avalon | Kerpape/Assets/Scripts/ControlleurVolet.cs | Kerpape/Assets/Scripts/ControlleurVolet.cs | using UnityEngine;
using System.Collections;
public class ControlleurVolet : MonoBehaviour {
private bool mouvement;
private Vector3 directionTranslation;
private Transform volet;
private Transform positionHaute;
private Transform positionBasse;
private float vitesse = 0.005f;
void Start (){
directionTran... | using UnityEngine;
using System.Collections;
public class ControlleurVolet : MonoBehaviour {
private bool mouvement;
private Vector3 directionTranslation;
private Transform volet;
private Transform positionHaute;
private Transform positionBasse;
private float vitesse = 0.005f;
void Start (){
directionTran... | mit | C# |
e0dcf864484ec5911ac854f14acb2c60f618521d | remove warning | SimonCropp/NServiceBus.Serilog | NServiceBus.Serilog/SerilogConfigurator.cs | NServiceBus.Serilog/SerilogConfigurator.cs | using NServiceBus.Logging;
using Serilog;
namespace NServiceBus.Serilog
{
/// <summary>
/// Used to forward NServiceBus logging message through Serilog
/// </summary>
public static class SerilogConfigurator
{
/// <summary>
/// Configure NServiceBus logging messages to use Serilog
... | using NServiceBus.Logging;
using Serilog;
namespace NServiceBus.Serilog
{
/// <summary>
/// Used to forward NServiceBus logging message through Serilog
/// </summary>
public static class SerilogConfigurator
{
/// <summary>
/// Configure NServiceBus logging messages to use Serilog
... | mit | C# |
b6ecae4ff05816666892b93cef929aa2435d7648 | update layout. | beginor/owin-samples | Owin04_OAuthClient/Views/Home/Index.cshtml | Owin04_OAuthClient/Views/Home/Index.cshtml | @{
ViewBag.Title = "OAuth Test Page";
}
<div class="container">
<ol class="breadcrumb">
<li class="active">Home</li>
</ol>
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<div class="panel-title">OAuth S... | @{
ViewBag.Title = "OAuth Test Page";
}
<div class="container">
<h2>OAuth Server Supported Gruant types:</h2>
<p>@Html.ActionLink("Authorization Code Grant", "Index", "AuthCode")</p>
<p>
@Html.ActionLink("Implicit Grant", "Index", "Implicit")
</p>
<p>Resource Owner Password Credentials... | mit | C# |
cf62199fe685b5d3a4d39e0037241b3332334378 | Change logic in console application to draw game field on console.! | tutzy/SHADDA-BI-BORAN-WYL-Game | game/FeelTheField/ConsoleAplication.cs | game/FeelTheField/ConsoleAplication.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Logic.Engine;
using Logic.Enumerations;
using Logic.GameObjects;
namespace FeelTheField
{
class ConsoleAplication
{
static void Main()
{
cha... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Logic.Engine;
using Logic.GameObjects;
namespace FeelTheField
{
class ConsoleAplication
{
static void Main()
{
char ch1 = 'X';
c... | mit | C# |
1a26d2bc977280546268ec4bfae5ed68ac149f08 | Test Passes - We can get and set Items on Program | TheTalkingDev/Kata.Solved.GildedRose.CSharp,dtro-devuk/Kata.Solved.GildedRose.CSharp | src/Kata.GildedRose.CSharp.Unit.Tests/WhenTestTheGildedRoseProgram.cs | src/Kata.GildedRose.CSharp.Unit.Tests/WhenTestTheGildedRoseProgram.cs | using Kata.GildedRose.CSharp.Console;
using NUnit.Framework;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Unit.Tests
{
[TestFixture]
public class WhenTestTheGildedRoseProgram
{
string _actualName = "+5 Dexterity Vest";
int _actualSellin = 10;
int _actualQualit... | using Kata.GildedRose.CSharp.Console;
using NUnit.Framework;
using System.Collections.Generic;
namespace Kata.GildedRose.CSharp.Unit.Tests
{
[TestFixture]
public class WhenTestTheGildedRoseProgram
{
string _actualName = "+5 Dexterity Vest";
int _actualSellin = 10;
int _actualQualit... | mit | C# |
ca9ff166a2bea6560e2117ce7045e1e5b17fd767 | allow DbContext ctor param | vankooch/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,tomascassidy/BrockAllen.MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,rvdkooy/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot | BrockAllen.MembershipReboot/Repository/EF/EFUserAccountRepository.cs | BrockAllen.MembershipReboot/Repository/EF/EFUserAccountRepository.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrockAllen.MembershipReboot
{
public class EFUserAccountRepository : IUserAccountRepository, IDisposable
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BrockAllen.MembershipReboot
{
public class EFUserAccountRepository : IUserAccountRepository, IDisposable
{
EFMembershipRebootDataba... | bsd-3-clause | C# |
4b00741748f9c7c28d6d5291c5aaeabb53483ea7 | Update ExampleViewModel.cs | MSPSpain/Universal-App-MVVM,MSPSpain/Universal-App-MVVM | CSharp/Project/MVVMtpl/MVVMtpl.Shared/ViewModels/ExampleViewModel.cs | CSharp/Project/MVVMtpl/MVVMtpl.Shared/ViewModels/ExampleViewModel.cs | using System;
using System.Collections.ObjectModel;
using MVVMtpl.Base;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using MVVMtpl.Services;
namespace MVVMtpl.ViewModels
{
public class ExampleViewModel : ObservableObject
{
private NavigationService navigationService;
private M... | using System;
using System.Collections.ObjectModel;
using MVVMtpl.Base;
using System.Windows.Input;
using GalaSoft.MvvmLight.Command;
using MVVMtpl.Services;
namespace MVVMtpl.ViewModels
{
public class ExampleViewModel : ObservableObject
{
private NavigationService navigationService;
private M... | mit | C# |
c0a2e541eb29958b0df77ed8df14137eb97610de | set structs to readonly, ref readonly when possible. Add missing license. | mjedrzejek/nunit,nunit/nunit,nunit/nunit,mjedrzejek/nunit | src/NUnitFramework/framework/Constraints/Comparers/ComparisonState.cs | src/NUnitFramework/framework/Constraints/Comparers/ComparisonState.cs | // ***********************************************************************
// Copyright (c) 2019 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restri... | using System;
using NUnit.Framework.Internal;
namespace NUnit.Framework.Constraints.Comparers
{
internal struct ComparisonState
{
/// <summary>
/// Flag indicating whether or not this is the top level comparison.
/// </summary>
public bool TopLevelComparison { get; }
//... | mit | C# |
180f21fd216e5d599a79cfd5b81421969160e648 | Fix revision command using local revision | tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs | src/Tgstation.Server.Host/Components/Chat/Commands/RevisionCommand.cs | using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Host.Components.Repository;
using Tgstation.Server.Host.Components.Watchdog;
namespace Tgstation.Server.Host.Components.Chat.Commands
{
/// <su... | using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Api.Models;
using Tgstation.Server.Host.Components.Repository;
using Tgstation.Server.Host.Components.Watchdog;
namespace Tgstation.Server.Host.Components.Chat.Commands
{
/// <su... | agpl-3.0 | C# |
4b23e3887250764810064561ca79d1ab51be6ada | Remove bogus msg from about | joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Controllers/HomeController.cs | Joinrpg/Controllers/HomeController.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using JoinRpg.Data.Interfaces;
using JoinRpg.Domain;
using JoinRpg.Web.Models;
using JoinRpg.Web.Models.CommonTypes;
namespace JoinRpg.Web.Controllers
{
public class HomeController : Common.ControllerBase
{
private const int ... | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using JoinRpg.Data.Interfaces;
using JoinRpg.Domain;
using JoinRpg.Web.Models;
using JoinRpg.Web.Models.CommonTypes;
namespace JoinRpg.Web.Controllers
{
public class HomeController : Common.ControllerBase
{
private const int ... | mit | C# |
96586c0120023ad25bdc9c51236d18f87c640d3f | build fix | stanac/LiteApi,stanac/LiteApi,stanac/LiteApi | LiteApi/LiteApi.AuthSample/Startup.cs | LiteApi/LiteApi.AuthSample/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Http;
using System.Text.Encodings.Web;
using System.Linq;
using Microsoft.AspNetCore.Authentication.Cookies;
namespace LiteApi.AuthSamp... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Http;
using System.Text.Encodings.Web;
using System.Linq;
using Microsoft.AspNetCore.Authentication.Cookies;
namespace LiteApi.AuthSamp... | mit | C# |
793ebbf2ddd3b37ce8ddb81272f89e7757338880 | Remove unneeded properties from assembly info | TheEadie/PlayerRank,TheEadie/PlayerRank | PlayerRank/Properties/AssemblyInfo.cs | PlayerRank/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pla... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pl... | mit | C# |
4963371a24a39cca568e58a729f8bfeed3722330 | Fix Jamaica - Ash Wednesday | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/JamaicaProvider.cs | Src/Nager.Date/PublicHolidays/JamaicaProvider.cs | using Nager.Date.Extensions;
using Nager.Date.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class JamaicaProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Jamaica
... | using Nager.Date.Extensions;
using Nager.Date.Model;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
public class JamaicaProvider : CatholicBaseProvider
{
public override IEnumerable<PublicHoliday> Get(int year)
{
//Jamaica
... | mit | C# |
eedb8a82480a55ef54dae40951543d26d92bf7dd | remove unused code | shanecharles/techandwings-data,shanecharles/techandwings-data,shanecharles/techandwings-data | TechAndWingsApi/Controllers/MeetupsController.cs | TechAndWingsApi/Controllers/MeetupsController.cs | using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Hosting;
using Newtonsoft.Json;
namespace TechAndWingsApi.Controllers
{
/// <summary>
///
/// </summary>
public class MeetupsController : ApiController
{
//... | using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Hosting;
using Newtonsoft.Json;
namespace TechAndWingsApi.Controllers
{
/// <summary>
///
/// </summary>
public class MeetupsController : ApiController
{
//... | mit | C# |
46f61297d44fd21c230dcefc842176d23b1d33cf | update version | harrywong/torrenthardlinkhelper | TorrentHardLinkHelper/Properties/AssemblyInfo.cs | TorrentHardLinkHelper/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// ass... | mit | C# |
28392efe1774c0c91394488c53faabcf333889b1 | fix the command line tool | mterrysancsoft/jyaas,mterrysancsoft/jyaas,mterrysancsoft/jyaas | src/JYaas.Console/Program.cs | src/JYaas.Console/Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text.RegularExpressions;
using System.Net;
using CallfireApiClient;
using CallfireApiClient.Api.CallsTexts.Model;
namespace JYaas
{
class Program
{
static bool IsPhoneNumber(string number)
{
re... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text.RegularExpressions;
using CallfireApiClient;
using CallfireApiClient.Api.CallsTexts.Model;
namespace JYaas
{
class Program
{
static bool IsPhoneNumber(string number)
{
return Regex.Match(n... | mit | C# |
ff08258cdf27e7fc1eaeaa1e781c35025d8bfe19 | Fix whitespace in DependencyVersions.cs | karajas/core-setup,MichaelSimons/core-setup,joperezr/core-setup,vivmishra/core-setup,karajas/core-setup,vivmishra/core-setup,MichaelSimons/core-setup,rakeshsinghranchi/core-setup,MichaelSimons/core-setup,wtgodbe/core-setup,weshaggard/core-setup,ravimeda/core-setup,weshaggard/core-setup,ellismg/core-setup,joperezr/core-... | build_projects/shared-build-targets-utils/DependencyVersions.cs | build_projects/shared-build-targets-utils/DependencyVersions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.2.0-beta-24815-02";
public static readonly string JitVersion = "1.2.0-beta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Microsoft.DotNet.Cli.Build
{
public class DependencyVersions
{
public static readonly string CoreCLRVersion = "1.2.0-beta-24815-02";
public static readonly string JitVersion = "1.2.0-beta-24... | mit | C# |
586f8cb5d78b3e3cacf113fa9f349fa851009bab | fix 'ran for 0s' when build was stopped prior to starting | lgrabarevic/BuildsAppReborn | BuildsAppReborn.Client/Converter/TimeSpanToNiceStringConverter.cs | BuildsAppReborn.Client/Converter/TimeSpanToNiceStringConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace BuildsAppReborn.Client.Converter
{
public class TimeSpanToNiceStringConverter : IValueConverter
{
#region Implementation of IValueConverter
public Object Convert... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace BuildsAppReborn.Client.Converter
{
public class TimeSpanToNiceStringConverter : IValueConverter
{
#region Implementation of IValueConverter
public Object Convert... | mit | C# |
c8ab3d71776812f291dd0f4c4c0201387bc2530c | use resources in converter | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Converters/HPbarColorConverter.cs | TCC.Core/Converters/HPbarColorConverter.cs | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace TCC.Converters
{
public class HPbarColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if ((bool)va... | using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace TCC.Converters
{
public class HPbarColorConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if ((bool)va... | mit | C# |
c32274148f38e2f1e95d70e1f845cd0020337483 | set AutoInitialize to false in ComboBox.IHandler interface | PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto/Forms/Controls/ComboBox.cs | Source/Eto/Forms/Controls/ComboBox.cs | using System;
namespace Eto.Forms
{
/// <summary>
/// Presents a drop down to select from a list of items
/// </summary>
[Handler(typeof(ComboBox.IHandler))]
public class ComboBox : ListControl
{
new IHandler Handler { get { return (IHandler)base.Handler; } }
/// <summary>
/// Initializes a new instance o... | using System;
namespace Eto.Forms
{
/// <summary>
/// Presents a drop down to select from a list of items
/// </summary>
[Handler(typeof(ComboBox.IHandler))]
public class ComboBox : ListControl
{
new IHandler Handler { get { return (IHandler)base.Handler; } }
/// <summary>
/// Initializes a new instance o... | bsd-3-clause | C# |
b7f4a07cd28e6e6abc16f4496457b76a1e137498 | Fix default connection string for MongoDB | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.DocumentStorage.MongoDB/MongoDocumentStorageOptions.cs | InfinniPlatform.DocumentStorage.MongoDB/MongoDocumentStorageOptions.cs | namespace InfinniPlatform.DocumentStorage
{
/// <summary>
/// Настройки хранилища документов MongoDB.
/// </summary>
public class MongoDocumentStorageOptions
{
public const string SectionName = "mongodbDocumentStorage";
public static MongoDocumentStorageOptions Default = new MongoD... | namespace InfinniPlatform.DocumentStorage
{
/// <summary>
/// Настройки хранилища документов MongoDB.
/// </summary>
public class MongoDocumentStorageOptions
{
public const string SectionName = "mongodbDocumentStorage";
public static MongoDocumentStorageOptions Default = new MongoD... | agpl-3.0 | C# |
4701c5740051d770950ac6a20f4f2d7746b3ae9f | Fix wrong usage of Task.FromException | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/CommandLine/CrashReportCommand.cs | WalletWasabi.Gui/CommandLine/CrashReportCommand.cs | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Gui.CrashReport;
namespace WalletWasabi.Gui.CommandLine
{
internal class CrashReportCommand : Command
{
public CrashReportCommand(CrashReporter crashReporter) : base("cra... | using Mono.Options;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Gui.CrashReport;
namespace WalletWasabi.Gui.CommandLine
{
internal class CrashReportCommand : Command
{
public CrashReportCommand(CrashReporter crashReporter) : base("cra... | mit | C# |
2168ddc32466c1dfe4f697e92553e2b536283ea7 | Fix a typo in a code comment, thanks StyleCop! | rakutensf-malex/slinqy,rakutensf-malex/slinqy | Source/ExampleApp.Test.Functional/Models/ExampleAppPages/HomePage.cs | Source/ExampleApp.Test.Functional/Models/ExampleAppPages/HomePage.cs | using System;
using OpenQA.Selenium;
namespace ExampleApp.Test.Functional.Models.ExampleAppPages
{
/// <summary>
/// Models the Slinqy Example App Homepage.
/// </summary>
public class HomePage : SlinqyExampleWebPage
{
public const string RelativePath = "/";
/// <summary>
... | using System;
using OpenQA.Selenium;
namespace ExampleApp.Test.Functional.Models.ExampleAppPages
{
/// <summary>
/// Modles the Slinqy Example App Homepage.
/// </summary>
public class HomePage : SlinqyExampleWebPage
{
public const string RelativePath = "/";
/// <summary>
... | mit | C# |
94c1cc8ffa4b8eefb0c7bd498084e0d2dbee9c6f | Fix test runs under headless | smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorBeatmapCreation.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.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rul... | // 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.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
usi... | mit | C# |
32ef2405c4783f5a2db54f80bdfa5f24782a383c | Use null instead of -1 | peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu | osu.Game/Graphics/Containers/SelectionCycleFillFlowContainer.cs | osu.Game/Graphics/Containers/SelectionCycleFillFlowContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Graphics.Containers
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Graphics.Containers
{
/// <summary>
... | mit | C# |
9a7b6ebe5058ea4afb2fc17ad6b62b838caff187 | Fix missed occurrence | NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu | osu.Game/Online/API/Requests/Responses/APIUserScoreAggregate.cs | osu.Game/Online/API/Requests/Responses/APIUserScoreAggregate.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 Newtonsoft.Json;
using osu.Game.Scoring;
using osu.Game.Users;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserScoreAggregate
{
... | // 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 Newtonsoft.Json;
using osu.Game.Scoring;
using osu.Game.Users;
namespace osu.Game.Online.API.Requests.Responses
{
public class APIUserScoreAggregate
{
... | mit | C# |
c761920531777399b96388794a0e7074cd66a66b | Correct Factories | jefking/King.Service | King.Service.Demo/Program.cs | King.Service.Demo/Program.cs | namespace King.Service.Demo
{
using King.Service.Demo.Factories;
using System.Threading;
public class Program
{
public static void Main(string[] args)
{
// Load Config
var config = new AppConfig()
{
ConnectionString = "UseDevelopmentS... | namespace King.Service.Demo
{
using System.Threading;
public class Program
{
public static void Main(string[] args)
{
// Load Config
var config = new AppConfig()
{
ConnectionString = "UseDevelopmentStorage=true;",
TableNam... | mit | C# |
81712b432e5f211b314b4830ba56a39c74f9f0a6 | Remove extraneous interface added. | gafter/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,AlekseyTs/roslyn,aelij/roslyn,mgoertz-msft/roslyn,agocke/roslyn,physhi/roslyn,stephentoub/roslyn,abock/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,jmarolf/roslyn,diryboy/roslyn,AmadeusW/roslyn,physhi/roslyn,dotnet/roslyn,gafter/roslyn,wvdd007/roslyn,mavasani/ros... | src/Features/Core/Portable/CommentSelection/ICommentSelectionService.cs | src/Features/Core/Portable/CommentSelection/ICommentSelectionService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Tex... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host... | mit | C# |
5dff66bbc4d30b1455294f1d88c1fc70afa9f091 | Fix typo. | vasanthangel4/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,Azure/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,oliver-feng/azure-webjobs-... | src/Microsoft.Azure.Jobs.Host/Indexers/DefaultTriggerBindingProvider.cs | src/Microsoft.Azure.Jobs.Host/Indexers/DefaultTriggerBindingProvider.cs | using System;
using System.Collections.Generic;
using Microsoft.Azure.Jobs.Host.Blobs.Triggers;
using Microsoft.Azure.Jobs.Host.Queues.Triggers;
using Microsoft.Azure.Jobs.Host.Triggers;
namespace Microsoft.Azure.Jobs.Host.Indexers
{
internal static class DefaultTriggerBindingProvider
{
public static ... | using System;
using System.Collections.Generic;
using Microsoft.Azure.Jobs.Host.Blobs.Triggers;
using Microsoft.Azure.Jobs.Host.Queues.Triggers;
using Microsoft.Azure.Jobs.Host.Triggers;
namespace Microsoft.Azure.Jobs.Host.Indexers
{
internal static class DefaultTriggerBindingProvider
{
public static ... | mit | C# |
e7ca49c95e5a8f9ae5f7a4817e1e34283d56bf61 | Improve XML docs for ActionResultObjectValueAttribute (#22479) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs | src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
/// <summary>
/// Attribute annotated on ActionResult constructor, helper me... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNetCore.Mvc.Infrastructure
{
/// <summary>
/// Attribute annoted on ActionResult constructor, helper meth... | apache-2.0 | C# |
82f4919b4d3b8753851da11f08a8394b8d44bb80 | Fix setting RepositoryUrl in IPack component | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Components/IPack.cs | source/Nuke.Components/IPack.cs | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.CI;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;... | // Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.CI;
using Nuke.Common.IO;
using Nuke.Common.Tooling;
using Nuke.Common.Tools.DotNet;... | mit | C# |
4236ab006cf972a749d6e7bdc848cddda0aa869f | Add copyright | mumou/azure-sdk-for-net,oaastest/azure-sdk-for-net,jamestao/azure-sdk-for-net,avijitgupta/azure-sdk-for-net,jamestao/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,MichaelCommo/azure-sdk-for-net,nacaspi/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,yitao-zhang/azure-sdk-for-net,AsrOneSdk/azur... | src/ResourceManagement/Models/ResourceIdentity.cs | src/ResourceManagement/Models/ResourceIdentity.cs | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.Azure.Management.Resources.Models
{
public partial class ResourceIdentity
{
public ResourceIdentity(string name, string resourceType, string apiVersion)
{
ResourceName = name;
... | apache-2.0 | C# |
441beb3b8707c86346d8cfbccb002453080b604a | Update SelectorsModuleTests.cs | DnDGen/TreasureGen,DnDGen/TreasureGen | DnDGen.TreasureGen.Tests.Integration.IoC/Modules/SelectorsModuleTests.cs | DnDGen.TreasureGen.Tests.Integration.IoC/Modules/SelectorsModuleTests.cs | using DnDGen.TreasureGen.Selectors.Collections;
using DnDGen.TreasureGen.Selectors.Percentiles;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.IoC.Modules
{
[TestFixture]
public class SelectorsModuleTests : IoCTests
{
[Test]
public void TypeAndAmountPercentileSelecto... | using DnDGen.TreasureGen.Selectors.Collections;
using DnDGen.TreasureGen.Selectors.Percentiles;
using NUnit.Framework;
namespace DnDGen.TreasureGen.Tests.Integration.IoC.Modules
{
[TestFixture]
public class SelectorsModuleTests : IoCTests
{
[Test]
public void TypeAndAmountPercentileSelecto... | mit | C# |
1c8c73ac1ec1831e00bdb76625e17c3b3a372cf4 | Change config to test new feature. Closes peterlanoie/aspnet-mvc-slack/issues/1 | peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack.TestWeb/App_Start/FilterConfig.cs | src/Pelasoft.AspNet.Mvc.Slack.TestWeb/App_Start/FilterConfig.cs | using System.Web;
using System.Web.Mvc;
using Pelasoft.AspNet.Mvc.Slack;
using System.Configuration;
namespace Pelasoft.AspNet.Mvc.Slack.TestWeb
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
v... | using System.Web;
using System.Web.Mvc;
using Pelasoft.AspNet.Mvc.Slack;
using System.Configuration;
namespace Pelasoft.AspNet.Mvc.Slack.TestWeb
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
v... | mit | C# |
59483f3e03d15d8009dc24090db9cd7995ce3daa | Update WritingLargeExcelFiles.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-... | Examples/CSharp/Articles/OptimizingMemoryUsage/WritingLargeExcelFiles.cs | Examples/CSharp/Articles/OptimizingMemoryUsage/WritingLargeExcelFiles.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.OptimizingMemoryUsage
{
public class WritingLargeExcelFiles
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Uti... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.OptimizingMemoryUsage
{
public class WritingLargeExcelFiles
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System... | mit | C# |
2eac4c6015c40447b3bca58fa9967ece672f449d | Remove role=navigation on nav tag | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/healthystockport/Shared/Header.cshtml | src/StockportWebapp/Views/healthystockport/Shared/Header.cshtml |
<div class="l-header-container">
<nav class="skip-to-main-content healthy-skip" aria-label="skip to main content">
<a href="#content" tabindex="1" class="skip-main"> Skip to main content </a>
</nav>
<header id="header" class="grid-container grid-100">
<div class="grid-75 mobile-grid-60 tab... |
<div class="l-header-container">
<nav class="skip-to-main-content healthy-skip" role="navigation" aria-label="skip to main content">
<a href="#content" tabindex="1" class="skip-main"> Skip to main content </a>
</nav>
<header id="header" class="grid-container grid-100">
<div class="grid-75 ... | mit | C# |
8dda1e96f0f3ff33fefe635c7d8dadc0210d8e81 | Add some TypeBuilder.Size tests | rahku/corefx,axelheer/corefx,Ermiar/corefx,seanshpark/corefx,shimingsg/corefx,MaggieTsang/corefx,mmitche/corefx,mmitche/corefx,yizhang82/corefx,alexperovich/corefx,marksmeltzer/corefx,weltkante/corefx,wtgodbe/corefx,billwert/corefx,dotnet-bot/corefx,krytarowski/corefx,yizhang82/corefx,billwert/corefx,wtgodbe/corefx,sea... | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderSize.cs | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderSize.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class TypeBuilderSize
{
[Fact]
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class TypeBuilderSize
{
[Fact]
... | mit | C# |
748755f8311c02f1a676a8582cf96c1aae51231b | Add colored messages to ColoredConsoleLogProvider (with locking to prevent multiple threads from changing foreground color at the same time) | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient.IntegrationTests/ColoredConsoleLogProvider.cs | Source/CakeMail.RestClient.IntegrationTests/ColoredConsoleLogProvider.cs | using CakeMail.RestClient.Logging;
using System;
using System.Collections.Generic;
using System.Globalization;
namespace CakeMail.RestCient.IntegrationTests
{
// Inspired by: https://github.com/damianh/LibLog/blob/master/src/LibLog.Example.ColoredConsoleLogProvider/ColoredConsoleLogProvider.cs
public class ColoredCo... | namespace CakeMail.RestClient.IntegrationTests
{
using Logging;
using System;
using System.Globalization;
// Inspired by: https://github.com/damianh/LibLog/blob/master/src/LibLog.Example.ColoredConsoleLogProvider/ColoredConsoleLogProvider.cs
public class ConsoleLogProvider : ILogProvider
{
public Logger GetL... | mit | C# |
9de8e4a77116b48c503916dc06a2d68d58ac3100 | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | mit | C# |
0c78cff1d843bbf6d5f75258b11e8d1903685096 | clean up | shakuu/Homework,shakuu/Homework,shakuu/Homework,shakuu/Homework,shakuu/Homework,shakuu/Homework | [C#]-02-CSharp2/01-Arrays/05-Max-Increasing-Sequence/MaxIncreasingSeq.cs | [C#]-02-CSharp2/01-Arrays/05-Max-Increasing-Sequence/MaxIncreasingSeq.cs | using System;
namespace _5_Maximal_Incresing_Sequence
{
class MaximalSequence
{
static void Main()
{
// TODO: 100/ 100 BGCODER - Working
// Tests Change ?
//input
int seqLength = int.Parse(Console.ReadLine());
//Fill the Array
... | using System;
namespace _5_Maximal_Incresing_Sequence
{
class MaximalSequence
{
static void Main()
{
// TODO: 100/ 100 BGCODER - Working
// Tests Change ?
//input
int seqLength = int.Parse(Console.ReadLine());
//Fill the Array
... | mit | C# |
7d0a64ffda44fa9256447d0126d6f84afc7b4fb0 | Update MotdProvider.cs | yungtechboy1/MiNET,uniaspiex/MiNET,InPvP/MiNET,MiPE-JP/RaNET,Vladik46/MiNET | src/MiNET/MiNET/MotdProvider.cs | src/MiNET/MiNET/MotdProvider.cs | using MiNET.Utils;
namespace MiNET
{
public class MotdProvider
{
public string Motd { get; set; }
public MotdProvider()
{
Motd = Config.GetProperty("motd", "MiNET: MCPE Server");
}
public virtual string GetMotd(ServerInfo serverInfo)
{
return string.Format(@"MCPE;{0};34;0.12.1;{1};{2}", Motd, ser... | using MiNET.Utils;
namespace MiNET
{
public class MotdProvider
{
public string Motd { get; set; }
public MotdProvider()
{
Motd = Config.GetProperty("motd", "MiNET: MCPE Server");
}
public virtual string GetMotd(ServerInfo serverInfo)
{
return string.Format(@"MCPE;{0};34;0.12.1;{1};{2}", Motd, ser... | mpl-2.0 | C# |
7f59c4af2d40d6304c17a4b75c9c8f2c6abb34e9 | Update JeffHill.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JeffHill.cs | src/Firehose.Web/Authors/JeffHill.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JeffHill : IFilterMyBlogPosts, IAmACommunityMember
{
public string FirstName => "Jeff";
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JeffHill : IFilterMyBlogPosts, IAmACommunityMember
{
public string FirstName => "Jeff";
pu... | mit | C# |
42f86315af8fdc1a8a074869a616001487a94352 | Remove SuppressMessage where Target doesn't exist | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.App/GlobalSuppressions.cs | src/GitHub.App/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in the ... | using System.Diagnostics.CodeAnalysis;
[assembly: SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "GitHub.ViewModels.CreateRepoViewModel.#ResetState()")]
[assembly: SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "Git",... | mit | C# |
bde586f188b8b7e7064dbc028a62086c5149eef0 | Update Result | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Models/Result.cs | src/WeihanLi.Common/Models/Result.cs | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Models;
public record Result
{
/// <summary>
/// ResultStatus
/// </summary>
public ResultStatus Status { get; set; }
/// <summary>
/// Message
/// </summary>
public strin... | // Copyright (c) Weihan Li. All rights reserved.
// Licensed under the Apache license.
namespace WeihanLi.Common.Models;
public record Result
{
/// <summary>
/// ResultStatus
/// </summary>
public ResultStatus Status { get; set; }
/// <summary>
/// Message
/// </summary>
public strin... | mit | C# |
6b89a1dfbbe4dbba50159d0bde49290f385d4481 | add some compressionTests | peopleware/net-ppwcode-util-oddsandends | src/Test.II/CompressionTests.cs | src/Test.II/CompressionTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using PPWCode.Util.OddsAndEnds.II.Streaming;
namespace PPWCode.Util.OddsAndEnds.Test.II
{
[TestFixture]
public class CompressionTests
{
[Test]
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PPWCode.Util.OddsAndEnds.Test.II
{
[TestFixture]
public class CompressionTests
{
}
}
| apache-2.0 | C# |
5e6461f8fb9c1ddc001dacf60bfd2402cae91c7b | Add IRepository changes to the RepositoryGet | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGet.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/RepositoryGet.cs | using System;
using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TEntity, TPk> where TEntity : class
{
public TEntity ... | using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TEntity, TPk> where TEntity : class
{
public TEntity GetKey(TPk key... | mit | C# |
d25f0051fe83e3d2421234ce26b406555b013e1e | Update HostingAndConfiguration.cs | WojcikMike/docs.particular.net | Snippets/Snippets_5/Azure/CloudServices/HostingAndConfiguration.cs | Snippets/Snippets_5/Azure/CloudServices/HostingAndConfiguration.cs | namespace Snippets5.Azure.CloudServices
{
using System.Web;
using Microsoft.WindowsAzure.ServiceRuntime;
using NServiceBus;
using NServiceBus.Hosting.Azure;
#region HostingInWorkerRole
public class WorkerRole : RoleEntryPoint
{
NServiceBusRoleEntrypoint nsb = new NServiceBusRoleEn... | namespace Snippets5.Azure.CloudServices
{
using System.Web;
using Microsoft.WindowsAzure.ServiceRuntime;
using NServiceBus;
using NServiceBus.Hosting.Azure;
#region HostingInWorkerRole
public class WorkerRole : RoleEntryPoint
{
NServiceBusRoleEntrypoint nsb = new NServiceBusRoleEn... | apache-2.0 | C# |
d5a4dc4f3e5e6f9e169553931e8846c7face08a5 | Revert "Fill out the assembly metadata because Squirrel will use it" | davkean/audio-switcher | src/AudioSwitcher/Properties/AssemblyInfo.cs | src/AudioSwitcher/Properties/AssemblyInfo.cs | // -----------------------------------------------------------------------
// Copyright (c) David Kean.
// -----------------------------------------------------------------------
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AudioSwitcher")]
[assembly... | // -----------------------------------------------------------------------
// Copyright (c) David Kean.
// -----------------------------------------------------------------------
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("AudioSwitcher")]
[assembly... | mit | C# |
7e7b6a1ef904b74caec98dd273c845f96552e79c | add a FileName and Location property | SiskSjet/IngameScriptBuilder | IngameScriptBuilder/AppInfo.cs | IngameScriptBuilder/AppInfo.cs | using System;
using System.IO;
using System.Reflection;
namespace IngameScriptBuilder {
public static class AppInfo {
private static readonly Assembly Assembly = Assembly.GetEntryAssembly();
private static string _title;
private static string _description;
private static string _co... | using System;
using System.Reflection;
namespace IngameScriptBuilder {
public static class AppInfo {
private static readonly Assembly Assembly = Assembly.GetEntryAssembly();
private static string _title;
private static string _description;
private static string _company;
pr... | mit | C# |
e06dd7a3cc10b4989fc439e750bba4de78882480 | Fix test. | Hosch250/roslyn,cston/roslyn,MichalStrehovsky/roslyn,heejaechang/roslyn,bartdesmet/roslyn,jamesqo/roslyn,aelij/roslyn,mmitche/roslyn,tmeschter/roslyn,jcouv/roslyn,CaptainHayashi/roslyn,Giftednewt/roslyn,mattscheffer/roslyn,jmarolf/roslyn,reaction1989/roslyn,DustinCampbell/roslyn,pdelvo/roslyn,CyrusNajmabadi/roslyn,jcou... | src/EditorFeatures/Test/Extensions/SourceTextContainerExtensionsTests.cs | src/EditorFeatures/Test/Extensions/SourceTextContainerExtensionsTests.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 Microsoft.CodeAnalysis.Text;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Ta... | // 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 Microsoft.CodeAnalysis.Text;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Ta... | mit | C# |
1154b70ad504252631c6a5007c8c0d57128f055f | Simplify pragmas. | pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers | src/Microsoft.CodeAnalysis.FxCopAnalyzers/Setup/FxCopAnalyzersPackage.cs | src/Microsoft.CodeAnalysis.FxCopAnalyzers/Setup/FxCopAnalyzersPackage.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.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
namespace FxCopAnalyzersSetup
{
// Avoid uninstantiated internal... | // 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.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
namespace FxCopAnalyzersSetup
{
[Guid(PackageGuid)]
// Packa... | mit | C# |
6a8e134595ae2d254ea03d836ebeee2e5e2f73f3 | Simplify variable declaration | SaxxonPike/NextLevelSeven | NextLevelSeven.Test/Measure.cs | NextLevelSeven.Test/Measure.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NextLevelSeven.Test
{
static public class Measure
{
static public int ExecutionIterations(Action action, long timeLimit)
{
int ite... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NextLevelSeven.Test
{
static public class Measure
{
static public int ExecutionIterations(Action action, long timeLimit)
{
int ite... | isc | C# |
e68df4611e66ab7a2c0585a1e19cf617f2c610ff | Return IServiceCollection from AddCors extension methods | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Cors/CorsServiceCollectionExtensions.cs | src/Microsoft.AspNetCore.Cors/CorsServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions... | apache-2.0 | C# |
3b81749e5e67e7b7e3c642b9f178eaae51d5e561 | Fix crash on Favourite chooser dialog. | betrakiss/Tramline-5,betrakiss/Tramline-5 | src/TramlineFive/TramlineFive/ViewModels/StopChooserViewModel.cs | src/TramlineFive/TramlineFive/ViewModels/StopChooserViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.ViewModels.Wrappers;
namespace TramlineFive.ViewModels
{
public class StopChooserViewModel : BaseViewModel
{
public FavouritesViewModel FavouritesViewModel { get; pri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.ViewModels.Wrappers;
namespace TramlineFive.ViewModels
{
public class StopChooserViewModel : BaseViewModel
{
public FavouritesViewModel FavouritesViewModel { get; pri... | apache-2.0 | C# |
8e35b30ee7df46ea08c9a83c34d730a21c049683 | Change these back as they represent external spec names. | khellang/roslyn,heejaechang/roslyn,amcasey/roslyn,yeaicc/roslyn,MattWindsor91/roslyn,budcribar/roslyn,khellang/roslyn,KirillOsenkov/roslyn,leppie/roslyn,MatthieuMEZIL/roslyn,eriawan/roslyn,weltkante/roslyn,orthoxerox/roslyn,srivatsn/roslyn,Pvlerick/roslyn,VSadov/roslyn,robinsedlaczek/roslyn,AArnott/roslyn,mattscheffer/... | src/VisualStudio/Core/Def/Implementation/RQName/RQNameStrings.cs | src/VisualStudio/Core/Def/Implementation/RQName/RQNameStrings.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.
namespace Microsoft.VisualStudio.LanguageServices.Implementation.RQName
{
internal sealed class RQNameStrings
{
internal const string Namespac... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.LanguageServices.Implementation.RQName
{
internal sealed class RQNameStrings
{
internal const string Namespac... | apache-2.0 | C# |
dc7c7aa7d155b95526e019377a1e7dc52395bf52 | Add multiple named instances on same type test | kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap | Tests/BasicConfigationTests.cs | Tests/BasicConfigationTests.cs | using Core;
using StructureMap;
using System;
using Xunit;
namespace Tests
{
public class BasicConfigationTests
{
[Fact]
public void NamedInstance()
{
ObjectFactory.Initialize(x =>
{
x.For<IService>().Use<Service>().Named("A");
x.... | using Core;
using StructureMap;
using System;
using Xunit;
namespace Tests
{
public class BasicConfigationTests
{
[Fact]
public void NamedInstance()
{
ObjectFactory.Initialize(x =>
{
x.For<IService>().Use<Service>().Named("A");
x.... | mit | C# |
ea3b6caea99cc6d82bf3430989883fd1d3e7227f | Fix ValidationServiceTests | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | test/DotvvmAcademy.CourseFormat.Tests/ValidationServiceTests.cs | test/DotvvmAcademy.CourseFormat.Tests/ValidationServiceTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace DotvvmAcademy.CourseFormat.Tests
{
[TestClass]
public class ValidationServiceTests
{
[TestMethod]
public async Task BasicValidationTest()
{
var workspace = new CourseWorkspace(".... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace DotvvmAcademy.CourseFormat.Tests
{
[TestClass]
public class ValidationServiceTests
{
[TestMethod]
public async Task BasicValidationTest()
{
var workspace = new CourseWorkspace(".... | apache-2.0 | C# |
82e1ebedb08fab3ed72b25829a2cfc4c175d3bd1 | Move readonly field | setchi/FancyScrollView | Assets/FancyScrollView/Examples/Sources/Common/ScenesDropdown.cs | Assets/FancyScrollView/Examples/Sources/Common/ScenesDropdown.cs | using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
namespace FancyScrollView
{
[RequireComponent(typeof(Dropdown))]
public class ScenesDropdown : MonoBehaviour
{
readonly string[] scenes =
{
"01_Basic",
"02_Fo... | using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
namespace FancyScrollView
{
[RequireComponent(typeof(Dropdown))]
public class ScenesDropdown : MonoBehaviour
{
[SerializeField] int defaultScene = default;
Dropdown dropdown;
... | mit | C# |
53966a71cce9fa0240a182d50838392c1131cd06 | Allow to inject HttpClient in HttpZipkinSender | criteo/zipkin4net,criteo/zipkin4net | zipkin4net/Criteo.Profiling.Tracing/Transport/Http/HttpZipkinSender.cs | zipkin4net/Criteo.Profiling.Tracing/Transport/Http/HttpZipkinSender.cs | using Criteo.Profiling.Tracing.Tracers.Zipkin;
using System;
using System.Net.Http;
namespace Criteo.Profiling.Tracing.Transport.Http
{
public class HttpZipkinSender : IZipkinSender
{
private string _zipkinCollectorUrl;
private HttpClient _httpClient;
private readonly string _contentTyp... | using Criteo.Profiling.Tracing.Tracers.Zipkin;
using System;
using System.Net.Http;
namespace Criteo.Profiling.Tracing.Transport.Http
{
public class HttpZipkinSender : IZipkinSender
{
private string _zipkinCollectorUrl;
private HttpClient _httpClient;
private readonly string _contentTyp... | apache-2.0 | C# |
4be09fede2e961a93da0095af03591b1a0911ae5 | Fix NRE in FishingEffectApplier | TehPers/StardewValleyMods | src/TehPers.FishingOverhaul/Services/Setup/FishingEffectApplier.cs | src/TehPers.FishingOverhaul/Services/Setup/FishingEffectApplier.cs | using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using System;
using TehPers.Core.Api.Setup;
using TehPers.FishingOverhaul.Api;
namespace TehPers.FishingOverhaul.Services.Setup
{
internal class FishingEffectApplier : ISetup, IDisposable
{
private readonly IModHelper helper... | using StardewModdingAPI;
using StardewModdingAPI.Events;
using StardewValley;
using System;
using TehPers.Core.Api.Setup;
using TehPers.FishingOverhaul.Api;
namespace TehPers.FishingOverhaul.Services.Setup
{
internal class FishingEffectApplier : ISetup, IDisposable
{
private readonly IModHelper helper... | mit | C# |
aecc417469450577503b9ee6392543ab28d9538a | Update IMongoClientProvider.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/IMongoClientProvider.cs | TIKSN.Core/Data/Mongo/IMongoClientProvider.cs | using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoClientProvider
{
IMongoClient GetMongoClient();
}
}
| using MongoDB.Driver;
namespace TIKSN.Data.Mongo
{
public interface IMongoClientProvider
{
IMongoClient GetMongoClient();
}
} | mit | C# |
9de64fcd8535ed253a921c319e8e5230998232fc | use consistent null conditional in rule linter | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
public static string LintStringForMySql(this string rule)
{
rule = rule?.TrimLeadingAndTrailingWhitespace();
rule = rule?.DropIfEmpty();
rule = rule?.DropIfComment(... | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
public static string LintStringForMySql(this string rule)
{
rule = rule.TrimLeadingAndTrailingWhitespace();
rule = rule.DropIfEmpty();
rule = rule.DropIfComment();
... | mit | C# |
81d209b0740a0480369d53d4da68604e5501c056 | Add missing async_generator.hpp to build.cake file. | lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro | lib/build.cake | lib/build.cake | ###############################################################################
# Copyright Lewis Baker
# Licenced under MIT license. See LICENSE.txt for details.
###############################################################################
import cake.path
from cake.tools import compiler, script, env, project, var... | ###############################################################################
# Copyright Lewis Baker
# Licenced under MIT license. See LICENSE.txt for details.
###############################################################################
import cake.path
from cake.tools import compiler, script, env, project, var... | mit | C# |
ec8afaf2caa6383aaa4cea68e8d49009c81b7723 | Remove duplicate using ;) | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript | src/WebApiToTypeScript/Enums/EnumsService.cs | src/WebApiToTypeScript/Enums/EnumsService.cs | using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using WebApiToTypeScript.Block;
namespace WebApiToTypeScript.Enums
{
public class EnumsService : ServiceAware
{
private List<TypeDefinition> Enums { get; }
= new List<TypeDefinition>();
private Dictionary<strin... | using System.Linq;
using Mono.Cecil;
using System.Collections.Generic;
using System.Linq;
using WebApiToTypeScript.Block;
namespace WebApiToTypeScript.Enums
{
public class EnumsService : ServiceAware
{
private List<TypeDefinition> Enums { get; }
= new List<TypeDefinition>();
priva... | mit | C# |
24722167e2aacc5f9f92bfbfd21d13d1a804274d | Update AuthenticatorTests.cs | atbyrd/Withings.NET,atbyrd/Withings.NET | Withings.Specifications/AuthenticatorTests.cs | Withings.Specifications/AuthenticatorTests.cs | using System;
using System.Threading.Tasks;
using AsyncOAuth;
using FluentAssertions;
using NUnit.Framework;
using Withings.NET.Client;
using Withings.NET.Models;
namespace Withings.Specifications
{
[TestFixture]
public class AuthenticatorTests
{
Authenticator _authenticator;
... | using System;
using System.Threading.Tasks;
using AsyncOAuth;
using FluentAssertions;
using NUnit.Framework;
using Withings.NET.Client;
using Withings.NET.Models;
namespace Withings.Specifications
{
[TestFixture]
public class AuthenticatorTests
{
Authenticator _authenticator;
... | mit | C# |
9ae01d8bfe17e83194935f0cee8b2edf99f98202 | Add support for breadcrumbs on theme custom pages | DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API | CkanDotNet.Web/Controllers/ThemePageController.cs | CkanDotNet.Web/Controllers/ThemePageController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CkanDotNet.Web.Models.Helpers;
using CkanDotNet.Web.Models;
using System.IO;
namespace CkanDotNet.Web.Controllers
{
public class ThemePageController : Controller
{
//
// GET: /Theme... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CkanDotNet.Web.Models.Helpers;
using CkanDotNet.Web.Models;
namespace CkanDotNet.Web.Controllers
{
public class ThemePageController : Controller
{
//
// GET: /ThemePage/
pu... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.