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 |
|---|---|---|---|---|---|---|---|---|---|
c3f249d1fad79f91127510b7ad25ecd1509f831e | src/Datalust.ClefTool/Cli/Features/InvalidDataHandlingFeature.cs | src/Datalust.ClefTool/Cli/Features/InvalidDataHandlingFeature.cs | // Copyright 2016-2017 Datalust Pty Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | // Copyright 2016-2017 Datalust Pty Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | Add the all-important = sign to make arg passing work | Add the all-important = sign to make arg passing work
| C# | apache-2.0 | datalust/clef-tool |
32162a153e057cf8a69b946bed2fb88f2e50dfea | src/MiniWebDeploy.Deployer/Features/Discovery/AssemblyDetails.cs | src/MiniWebDeploy.Deployer/Features/Discovery/AssemblyDetails.cs | using System;
namespace MiniWebDeploy.Deployer.Features.Discovery
{
public class AssemblyDetails
{
public string Path { get; set; }
public string BinaryPath { get; set; }
public Type InstallerType { get; set; }
public AssemblyDetails(string path, string binaryPath, Type install... | using System;
namespace MiniWebDeploy.Deployer.Features.Discovery
{
public class AssemblyDetails
{
public string Path { get; private set; }
public string BinaryPath { get; private set; }
public Type InstallerType { get; private set; }
public AssemblyDetails(string path, string ... | Make proeprty setters private if they are not being used | Make proeprty setters private if they are not being used
| C# | mit | jaimalchohan/mini-web-deploy,jaimalchohan/mini-web-deploy |
9d2defdb908bf83db763cd6f8a69e0cefa0d9b05 | src/Stripe.net/Services/BankAccounts/BankAccountCreateOptions.cs | src/Stripe.net/Services/BankAccounts/BankAccountCreateOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class BankAccountCreateOptions : BaseOptions
{
/// <summary>
/// REQUIRED. Either a token, like the ones returned by
/// <a href="https://stripe.com/docs/stripe.js">Stripe.js</a>, or a
/// <see... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class BankAccountCreateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// A set of key/value pairs that you can attach to an object. It can be useful for storing
... | Add support for metadata on BankAccount creation | Add support for metadata on BankAccount creation
| C# | apache-2.0 | stripe/stripe-dotnet |
7ddc9f7513b0b8ac793261f1e5b77f286022366a | Source/SvNaum.Web/Views/Admin/NewsAdd.cshtml | Source/SvNaum.Web/Views/Admin/NewsAdd.cshtml | @model SvNaum.Web.Models.NewsInputModel
@{
this.ViewBag.Title = "Add news";
}
<h2>Create news:</h2>
@using(Html.BeginForm("NewsAdd", "Admin", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.EditorForModel()
<br />
<br />
<input type="submit" value="Save" />
<input type="button" ... | @model SvNaum.Web.Models.NewsInputModel
@{
this.ViewBag.Title = "Add news";
}
<h2>Create news:</h2>
@using(Html.BeginForm("NewsAdd", "Admin", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.EditorForModel()
<br />
<br />
<input type="submit" value="Save" />
<input type="button" ... | Add space to commit again. | Add space to commit again.
| C# | mit | razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum |
a2555ca43ad2819b1e8c50e4dfabc90d72fc18f7 | Source/ApiTemplate/Source/ApiTemplate/AssemblyInformation.cs | Source/ApiTemplate/Source/ApiTemplate/AssemblyInformation.cs | namespace ApiTemplate
{
using System.Reflection;
public record AssemblyInformation(string Product, string Description, string Version)
{
public static readonly AssemblyInformation Current = new(typeof(AssemblyInformation).Assembly);
public AssemblyInformation(Assembly assembly)
... | namespace ApiTemplate
{
using System.Reflection;
public record class AssemblyInformation(string Product, string Description, string Version)
{
public static readonly AssemblyInformation Current = new(typeof(AssemblyInformation).Assembly);
public AssemblyInformation(Assembly assembly)
... | Switch from record to record class | Switch from record to record class
| C# | mit | ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates |
1cadc54c3b3fca71fcabd90965d2dd76ad1ebaf0 | src/Microsoft.AspNet.Cors.Core/CorsServiceCollectionExtensions.cs | src/Microsoft.AspNet.Cors.Core/CorsServiceCollectionExtensions.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Cors;
using Microsoft.AspNet.Cors.Core;
using Microsoft.Framework.ConfigurationModel;
using Micro... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNet.Cors;
using Microsoft.AspNet.Cors.Core;
using Microsoft.Framework.ConfigurationModel;
using Micro... | Use TryAdd to add services rather than Add | Use TryAdd to add services rather than Add
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
ef2c9dcefb3dbebc587f02677a4e4d12a947bb55 | src/NodaTime.Testing/Preconditions.cs | src/NodaTime.Testing/Preconditions.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Testing
{
/// <summary>
/// Helper static methods for argument/state validation. Copied from NodaTime.Utility,
... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Testing
{
/// <summary>
/// Helper static methods for argument/state validation. Copied from NodaTime.Utility,
... | Change from == null to is null in NodaTime.Testing | Change from == null to is null in NodaTime.Testing
| C# | apache-2.0 | jskeet/nodatime,BenJenkinson/nodatime,nodatime/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime |
96de7332b967f5a942806d8ecec04b6a42276f64 | src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResult.cs | src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResult.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Telegram.Bot.Types.ReplyMarkups;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Base Class for inline results send in response to an <see cref="InlineQuery"/>
/// </summary>
[JsonObject(MemberSerialization.OptIn, Nam... | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Telegram.Bot.Types.ReplyMarkups;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Base Class for inline results send in response to an <see cref="InlineQuery"/>
/// </summary>
[JsonObject(MemberSerialization.OptIn, Nam... | Remove setters from Id and Type | Remove setters from Id and Type
| C# | mit | TelegramBots/telegram.bot,AndyDingo/telegram.bot,MrRoundRobin/telegram.bot |
a72e6e4ed2e9a0cb614a82f041ab9a1ab3772963 | Pigeon.Zipper/Mailer.cs | Pigeon.Zipper/Mailer.cs | namespace Pigeon
{
using System.Linq;
using System.Net.Mail;
using Pigeon.Adapters;
public class Mailer
{
private readonly IMailService mailService;
public Mailer(IMailService mailService)
{
this.mailService = mailService;
}
public void SendZi... | namespace Pigeon
{
using System.IO;
using System.Linq;
using System.Net.Mail;
using System.Net.Mime;
using Pigeon.Adapters;
public class Mailer
{
private readonly IMailService mailService;
public Mailer(IMailService mailService)
{
this.mailService = ma... | Add a using and set the position of the stream | Add a using and set the position of the stream
| C# | mit | deeja/Pigeon |
ce6d39dd59ee17cc3eeed95655c8f667cc98ab54 | xamarin-component/ComponentSample/Properties/AssemblyInfo.cs | xamarin-component/ComponentSample/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | using System.Reflection;
using System.Runtime.InteropServices;
using Android;
using Android.App;
// 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("Compone... | Add permissions to sample app | Add permissions to sample app
| C# | apache-2.0 | osmdroid/OsmdroidXamarin,osmdroid/OsmdroidXamarin |
2d7c8dc43c88047a27c38f55354ad85c11e95620 | cah/Program.cs | cah/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cah
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NetIRC;
namespace cah
{
class Program
{
static void Main(string[] args)
{
Client client = new Client();
client.Connect("frogbox.es", 6667, false, ne... | Connect a NetIRC client to the server | Connect a NetIRC client to the server
| C# | mit | coldstorm/cac |
4c1f8910225b09d783109c1c25fc8fd77eb3b7e9 | src/Package/Impl/Packages/Markdown/MdPackage.cs | src/Package/Impl/Packages/Markdown/MdPackage.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Markdown.Editor.ContentTypes;
using Microsoft.VisualStudio.R.Package.Packages;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.VisualStudio.R.Packages.Markdown {
... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Microsoft.Markdown.Editor.ContentTypes;
using Microsoft.VisualStudio.R.Package.Packages;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.VisualStudio.R.Packages.Markdown {
... | Add ProvideLanguageExtension to markdown formats | Add ProvideLanguageExtension to markdown formats
| C# | mit | AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadi... |
38e4a21df8e74641973ffe0c89954f1a3f9ab86a | backend/src/Squidex.Infrastructure/Commands/CommandRequest.cs | backend/src/Squidex.Infrastructure/Commands/CommandRequest.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | Revert orleans for backwards compatibility. | Revert orleans for backwards compatibility.
| C# | mit | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex |
4e8608590cff1f49729eaedbea1dd1545001cd49 | COIME/Common/Control/NotifyIconUtil.cs | COIME/Common/Control/NotifyIconUtil.cs | using System;
using System.Windows.Forms;
namespace COIME.Common.Control
{
public class NotifyIconUtil
{
/// <summary>
/// Setup NotifyIcon.
/// The icon added to the notification area, and then retry until it succeeds.
/// </summary>
/// <param name="notifyIcon"></para... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace COIME.Common.Control
{
public class NotifyIconUtil
{
/*
* for ALT + F4 problem
* see http://d.hatena.ne.jp/hnx8/20131208/1386486457
*/
[DllImport("user3... | Add bad know-how for NotifyIcon | Add bad know-how for NotifyIcon
| C# | apache-2.0 | shimitei/UnstableCribs |
ed8b315e198b1ae187aa2556434d7685afe043f4 | src/Workspaces/Core/Portable/Shared/Extensions/LocationExtensions.cs | src/Workspaces/Core/Portable/Shared/Extensions/LocationExtensions.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.Threading;
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class LocationExtensions
{
public static Syntax... | // 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.Threading;
namespace Microsoft.CodeAnalysis.Shared.Extensions
{
internal static class LocationExtensions
{
public static Syntax... | Update helper for the case when you want to find a node in structured trivia. | Update helper for the case when you want to find a node in structured trivia.
| C# | mit | jcouv/roslyn,xasx/roslyn,shyamnamboodiripad/roslyn,paulvanbrenk/roslyn,agocke/roslyn,nguerrera/roslyn,weltkante/roslyn,gafter/roslyn,AmadeusW/roslyn,stephentoub/roslyn,KirillOsenkov/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,panopticoncentral/roslyn,paulvanbrenk/roslyn,AlekseyTs/roslyn,jcouv/roslyn,aelij/roslyn,heej... |
39e96b2e86a219c35b3cdc95a56b1c3f1790344b | Assets/Hamster/Scripts/InputControllers/MultiInputController.cs | Assets/Hamster/Scripts/InputControllers/MultiInputController.cs | // Copyright 2017 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | // Copyright 2017 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | Fix multi-input controller not adding tilt. | Fix multi-input controller not adding tilt.
Tested on Android.
Change-Id: I2aad833effbe743a9915ae7dc899feed677a60ec
| C# | apache-2.0 | google/mechahamster,google/mechahamster |
97968aa9e5886a8413db4495584b02a4c02e6d2d | src/Foundatio.Parsers.ElasticQueries/Visitors/GetSortFieldsVisitor.cs | src/Foundatio.Parsers.ElasticQueries/Visitors/GetSortFieldsVisitor.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Foundatio.Parsers.LuceneQueries.Extensions;
using Foundatio.Parsers.LuceneQueries.Nodes;
using Foundatio.Parsers.LuceneQueries.Visitors;
using Nest;
namespace Foundatio.Parsers.ElasticQueries.Visitors {
public class GetSortFieldsV... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Foundatio.Parsers.LuceneQueries.Extensions;
using Foundatio.Parsers.LuceneQueries.Nodes;
using Foundatio.Parsers.LuceneQueries.Visitors;
using Nest;
namespace Foundatio.Parsers.ElasticQueries.Visitors {
public class GetSortFieldsV... | Add sync Run helper to sort fields visitor | Add sync Run helper to sort fields visitor
| C# | apache-2.0 | exceptionless/Foundatio.Parsers,exceptionless/Exceptionless.LuceneQueryParser |
203fd950797933c80f929c9fc2d8d0f4b8cf8d1f | src/Orchard.Web/Modules/Orchard.PublishLater/Handlers/PublishLaterPartHandler.cs | src/Orchard.Web/Modules/Orchard.PublishLater/Handlers/PublishLaterPartHandler.cs | using Orchard.ContentManagement.Handlers;
using Orchard.PublishLater.Models;
using Orchard.PublishLater.Services;
using Orchard.Tasks.Scheduling;
namespace Orchard.PublishLater.Handlers {
public class PublishLaterPartHandler : ContentHandler {
private readonly IPublishLaterService _publishLaterService;
... | using Orchard.ContentManagement.Handlers;
using Orchard.PublishLater.Models;
using Orchard.PublishLater.Services;
using Orchard.Tasks.Scheduling;
namespace Orchard.PublishLater.Handlers {
public class PublishLaterPartHandler : ContentHandler {
private readonly IPublishLaterService _publishLaterService;
... | Delete scheduled task when content is published | Delete scheduled task when content is published
Fixes #6840 | C# | bsd-3-clause | gcsuk/Orchard,fassetar/Orchard,Codinlab/Orchard,OrchardCMS/Orchard,tobydodds/folklife,tobydodds/folklife,Dolphinsimon/Orchard,grapto/Orchard.CloudBust,jersiovic/Orchard,OrchardCMS/Orchard,ehe888/Orchard,Codinlab/Orchard,abhishekluv/Orchard,aaronamm/Orchard,grapto/Orchard.CloudBust,ehe888/Orchard,Dolphinsimon/Orchard,ye... |
334008ecac28c82158e3e786cb4810744b04fed6 | EOLib/Domain/Extensions/CharacterRenderPropertiesExtensions.cs | EOLib/Domain/Extensions/CharacterRenderPropertiesExtensions.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
using System;
using System.Linq;
using EOLib.Domain.Character;
namespace EOLib.Domain.Extensions
{
public static class CharacterRenderPropertiesExtensions
{
... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Linq;
using EOLib.Domain.Character;
namespace EOLib.Domain.Extensions
{
public static class CharacterRenderPropertiesExtensions
{
... | Remove exceptions from character extensions | Remove exceptions from character extensions
| C# | mit | ethanmoffat/EndlessClient |
abd49646cd4d05f8ab84adf0084ab8c7772cb4ac | TeacherPouch.Web/Controllers/SearchController.cs | TeacherPouch.Web/Controllers/SearchController.cs | 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)
{
... | 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... | Make Search Operator automatically parsed by MVC. | Make Search Operator automatically parsed by MVC.
| C# | mit | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch |
b103e734d10c66fcd60da31c91cabb2cf3e65f2f | 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 sta... | 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... | Change over usage of IAgentStartup to use IAgentStartupManager instead | Change over usage of IAgentStartup to use IAgentStartupManager instead
| C# | mit | 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... |
a2035a2e84d6a187331e0c56e2ffa906be673659 | 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... | Stop hover sounds from playing when dragging (scrolling) | Stop hover sounds from playing when dragging (scrolling)
| C# | mit | 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 |
d6d14009aa467e53e48deb335462f8c548c7e47c | FSWActions.ConsoleApplication/Program.cs | FSWActions.ConsoleApplication/Program.cs | 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... | 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.... | Stop all watchers when exiting | Stop all watchers when exiting
| C# | mit | fguchelaar/FileSystemActions |
9725dcec24bb004d1effa0f1d5e29c1d4b1814f4 | 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... | Use ToString in converter instead of boxing-cast | Use ToString in converter instead of boxing-cast
In cases where Discord sent a value of `id=0`, this would throw an invalid-cast, where 0u64 cannot be cast to string. | C# | mit | RogueException/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net |
723afbe3b58d4f543d3a5d170e420031fbed6e83 | 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.Linq;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Shared.Extension... | // 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... | Convert all of these SymbolInfo extensions to ImmutableArray and reduce allocations. | Convert all of these SymbolInfo extensions to ImmutableArray and reduce allocations.
| C# | mit | 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... |
6182dd41631d01443a400ce21a49ec8e5f1ffbd6 | 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)
{
var exception = context.Items[NancyEngine.ERROR_EXCEPTION] as Exception... | 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))
... | Fix for failing mspec test | Fix for failing mspec test
| C# | mit | 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... |
8cd410a94d3f84b58de1e4f669842f3b4693d7f4 | 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)
{
... | Fix multiple open data readers problem. | Fix multiple open data readers problem.
| C# | mit | MartinEden/finances-sharp,MartinEden/finances-sharp,MartinEden/finances-sharp,MartinEden/finances-sharp |
cf62199fe685b5d3a4d39e0037241b3332334378 | 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.GameObjects;
namespace FeelTheField
{
class ConsoleAplication
{
static void Main()
{
char ch1 = 'X';
c... | 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... | Change logic in console application to draw game field on console.! | Change logic in console application to draw game field on console.!
| C# | mit | tutzy/SHADDA-BI-BORAN-WYL-Game |
1a26d2bc977280546268ec4bfae5ed68ac149f08 | 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... | Test Passes - We can get and set Items on Program | Test Passes - We can get and set Items on Program
| C# | mit | TheTalkingDev/Kata.Solved.GildedRose.CSharp,dtro-devuk/Kata.Solved.GildedRose.CSharp |
793ebbf2ddd3b37ce8ddb81272f89e7757338880 | 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("Pl... | 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... | Remove unneeded properties from assembly info | Remove unneeded properties from assembly info
These will now break gitversion
| C# | mit | TheEadie/PlayerRank,TheEadie/PlayerRank |
b7f4a07cd28e6e6abc16f4496457b76a1e137498 | 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... | Fix default connection string for MongoDB | Fix default connection string for MongoDB
| C# | agpl-3.0 | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform |
4701c5740051d770950ac6a20f4f2d7746b3ae9f | 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... | Fix wrong usage of Task.FromException | [Trivial] Fix wrong usage of Task.FromException
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
2168ddc32466c1dfe4f697e92553e2b536283ea7 | 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>
/// Modles 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>
/// Models the Slinqy Example App Homepage.
/// </summary>
public class HomePage : SlinqyExampleWebPage
{
public const string RelativePath = "/";
/// <summary>
... | Fix a typo in a code comment, thanks StyleCop! | Fix a typo in a code comment, thanks StyleCop!
| C# | mit | rakutensf-malex/slinqy,rakutensf-malex/slinqy |
2eac4c6015c40447b3bca58fa9967ece672f449d | 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" 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 ... |
<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... | Remove role=navigation on nav tag | fix: Remove role=navigation on nav tag
| C# | mit | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp |
9de8e4a77116b48c503916dc06a2d68d58ac3100 | 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... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
42f86315af8fdc1a8a074869a616001487a94352 | src/GitHub.App/GlobalSuppressions.cs | src/GitHub.App/GlobalSuppressions.cs | 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",... | // 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 ... | Remove SuppressMessage where Target doesn't exist | Remove SuppressMessage where Target doesn't exist
| C# | mit | github/VisualStudio,github/VisualStudio,github/VisualStudio |
d5a4dc4f3e5e6f9e169553931e8846c7face08a5 | 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... | Revert "Fill out the assembly metadata because Squirrel will use it" | Revert "Fill out the assembly metadata because Squirrel will use it"
This reverts commit 21dfb37257d2c19ea534af5c291a2827d53071b8.
| C# | mit | davkean/audio-switcher |
3b81749e5e67e7b7e3c642b9f178eaae51d5e561 | 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... | Fix crash on Favourite chooser dialog. | Fix crash on Favourite chooser dialog.
| C# | apache-2.0 | betrakiss/Tramline-5,betrakiss/Tramline-5 |
dc7c7aa7d155b95526e019377a1e7dc52395bf52 | 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.... | Add multiple named instances on same type test | Add multiple named instances on same type test
| C# | mit | kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap |
7afd9322542bfb1b5fe9f38e316ac7b14bb836e3 | Threading/IThreadingProxy.cs | Threading/IThreadingProxy.cs | using System;
namespace ItzWarty.Threading {
public interface IThreadingProxy {
IThread CreateThread(ThreadEntryPoint entryPoint, ThreadCreationOptions options);
ISemaphore CreateSemaphore(int initialCount, int maximumCount);
ICountdownEvent CreateCountdownEvent(int initialCount);
ICancella... | using System;
namespace ItzWarty.Threading {
public interface IThreadingProxy {
void Sleep(int durationMilliseconds);
void Sleep(TimeSpan duration);
IThread CreateThread(ThreadEntryPoint entryPoint, ThreadCreationOptions options);
ISemaphore CreateSemaphore(int initialCount, int maximumCoun... | Add Sleep(int) and Sleep(TimeSpan) to threading proxy. | Add Sleep(int) and Sleep(TimeSpan) to threading proxy.
| C# | bsd-2-clause | ItzWarty/ItzWarty.Proxies.Api,the-dargon-project/ItzWarty.Proxies.Api |
c291f39f81888b09fc2ef115e128c6ac67cfa1a9 | tests/API.Benchmarks/Program.cs | tests/API.Benchmarks/Program.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Benchmarks
{
using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
/// <summary>
... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Benchmarks
{
using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
/// <summary>
... | Add missing test method call | Add missing test method call
Call Hash() in the benchmark test.
| C# | mit | martincostello/api,martincostello/api,martincostello/api |
c15a8cc9683519d6e0058fc27d44d1563bb2aca1 | Confuser.Core/Services/RuntimeService.cs | Confuser.Core/Services/RuntimeService.cs | using dnlib.DotNet;
namespace Confuser.Core.Services {
internal class RuntimeService : IRuntimeService {
private ModuleDef rtModule;
/// <inheritdoc />
public TypeDef GetRuntimeType(string fullName) {
if (rtModule == null) {
rtModule = ModuleDefMD.Load("Confuser.Runtime.dll");
rtModule.EnableTypeDe... | using System;
using System.IO;
using System.Reflection;
using dnlib.DotNet;
namespace Confuser.Core.Services {
internal class RuntimeService : IRuntimeService {
private ModuleDef rtModule;
/// <inheritdoc />
public TypeDef GetRuntimeType(string fullName) {
if (rtModule == null) {
Module module = typeof... | Fix not using correct path to runtime library | Fix not using correct path to runtime library
Fix #14
| C# | mit | mirbegtlax/ConfuserEx,mirbegtlax/ConfuserEx,timnboys/ConfuserEx,Desolath/ConfuserEx3,JPVenson/ConfuserEx,HalidCisse/ConfuserEx,apexrichard/ConfuserEx,farmaair/ConfuserEx,MetSystem/ConfuserEx,AgileJoshua/ConfuserEx,manojdjoshi/ConfuserEx,HalidCisse/ConfuserEx,JPVenson/ConfuserEx,Immortal-/ConfuserEx,yeaicc/ConfuserEx,yu... |
e467814489a0d86730f578e507691c84701e27cd | src/net46/Advasoft.CmdArgsTool/Advasoft.CmdArgsTool/OptionsFactoryBase.cs | src/net46/Advasoft.CmdArgsTool/Advasoft.CmdArgsTool/OptionsFactoryBase.cs |
using System;
namespace Advasoft.CmdArgsTool
{
public abstract class OptionsFactoryBase
{
protected IOptionsPolicy _creationPolicy;
private ILogger _logger;
protected OptionsFactoryBase(IOptionsPolicy creationPolicy, ILogger logger)
{
_creationPolicy = creationPol... |
using System;
namespace Advasoft.CmdArgsTool
{
public abstract class OptionsFactoryBase
{
private IOptionsPolicy _creationPolicy;
private ILogger _logger;
protected OptionsFactoryBase(IOptionsPolicy creationPolicy, ILogger logger)
{
_creationPolicy = creationPolic... | Change _creationOptions modifier to 'private' | Change _creationOptions modifier to 'private'
| C# | mit | advasoft/cmdargstool |
a8df53f199550cb178e8b8158f5c27e1c85e86e5 | SeafClient/Properties/AssemblyInfo.cs | SeafClient/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über folgende
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet si... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über folgende
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet si... | Set assembly version to 1.2.0.0 | Set assembly version to 1.2.0.0
| C# | mit | renber/SeafClient |
df3a4dd3a2b6e5dc05ed56c590ec192d2ddc863a | SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs | SourceSchemaParser/JsonConverters/DotaSchemaItemPriceJsonConverter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SourceSchemaParser.JsonConverters
{
public class DotaSchemaItemPriceJsonConverter : JsonConverter
{
public override void Writ... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SourceSchemaParser.JsonConverters
{
public class DotaSchemaItemPriceJsonConverter : JsonConverter
{
public override void Writ... | Fix prices with only 2 decimal places not working. | Fix prices with only 2 decimal places not working.
| C# | mit | babelshift/SourceSchemaParser |
4548977a90bfe7d62203c2a2a3d9284ba595d0f1 | wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs | wrappers/dotnet/indy-sdk-dotnet-test/PoolTests/CreatePoolTest.cs | using Hyperledger.Indy.PoolApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.PoolTests
{
[TestClass]
public class CreatePoolTest : IndyIntegrationTestBase
{
[TestMethod]
public async Task TestCreatePoolWo... | using Hyperledger.Indy.PoolApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.PoolTests
{
[TestClass]
public class CreatePoolTest : IndyIntegrationTestBase
{
[TestMethod]
public async Task TestCreatePoolWo... | Fix broken create pool test. | Fix broken create pool test.
| C# | apache-2.0 | srottem/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,anastasia-tarasova/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk... |
3c9ee6abc11f227eb6a18d10b66f0c7e6aedf04b | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBonusDisplay.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/SpinnerBonusDisplay.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;
using osu.Game.Graphics.Sprites;
using osu.Game.Rulesets.Judgements;
name... | // 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;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Rulesets.Osu.Objects.... | Use local static to determine score per spinner tick | Use local static to determine score per spinner tick
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu |
13582648159adaa12c9b1b2ba57a6fe946b006c8 | FEZ.Mod.mm/FezGame/Program.cs | FEZ.Mod.mm/FezGame/Program.cs | using System;
using FezGame.Mod;
namespace FezGame {
public class Program {
public static void orig_Main(string[] args) {
}
public static void Main(string[] args) {
try {
FEZMod.PreInitialize(args);
} catch (Exception e) {
ModLogger.Log("FEZMod", "Handl... | using System;
using FezGame.Mod;
namespace FezGame {
public class Program {
public static void orig_Main(string[] args) {
}
public static void Main(string[] args) {
try {
FEZMod.PreInitialize(args);
} catch (Exception e) {
ModLogger.Log("FEZMod", "Handl... | Fix FEZ not exiting when FEZMod PreInitialize crashes | .Core: Fix FEZ not exiting when FEZMod PreInitialize crashes
| C# | mit | AngelDE98/FEZMod,AngelDE98/FEZMod |
815a708ab9abdb8080b9c14b90147b609340464d | Engine/Rules/Entities/Rule.cs | Engine/Rules/Entities/Rule.cs | namespace Engine
{
public class Rule
{
public string Matcher;
public string ValuesDisturbtion;
}
} | using Engine.Rules.Matcher;
using Engine.Rules.ValueDistribution;
namespace Engine
{
public class Rule
{
public Matcher Matcher;
public ValueDistributor ValuesDisturbtion;
}
} | Change rule to use delegates, string will move to implemenation detail | Change rule to use delegates, string will move to implemenation detail
| C# | mit | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek |
90b458f3aa35a26a1ba0395fd8bfa9d420c6da20 | SCPI/RAW.cs | SCPI/RAW.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SCPI
{
public class RAW : ICommand
{
public string Description => "Send a raw SCPI command to instrument";
public string Command(params string[] parameters)
{
if (parameters.Len... | namespace SCPI
{
public class RAW : ICommand
{
public string Description => "Send a raw SCPI command to instrument";
public string Command(params string[] parameters)
{
if (parameters.Length != 0)
{
if (parameters.Length > 1)
{
... | Change the method to expression body definition | Change the method to expression body definition
| C# | mit | tparviainen/oscilloscope |
3292b599782984ef15a12b9e1b351fccf059db9e | src/SFA.DAS.ProviderUrlHelper/Core/ProviderUrlHelperExtensions.cs | src/SFA.DAS.ProviderUrlHelper/Core/ProviderUrlHelperExtensions.cs | #if NETCOREAPP
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Routing;
namespace SFA.DAS.ProviderUrlHelper.Core
{
public static class ProviderUrlHelperExtensions
{
public static string ProviderCommitmentsLink(this UrlHelperBase helper, string path)
{
var linkGenera... | #if NETCOREAPP
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
namespace SFA.DAS.ProviderUrlHelper.Core
{
public static class ProviderUrlHelperExtensions
{
public static string ProviderCommitmentsLink(this IUrlHelper helper, string path)
{
var linkGenerator = GetLi... | Replace UrlHelperBase with IUrlHelper so it can be used in Views | Replace UrlHelperBase with IUrlHelper so it can be used in Views
| C# | mit | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice |
7a0973051e9b2663c70cbb269b7843512298527e | Assets/UnityCNTK/Scripts/Models/StreamingModel.cs | Assets/UnityCNTK/Scripts/Models/StreamingModel.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityCNTK;
using CNTK;
using System;
namespace UnityCNTK{
public class StreamingModel<T, V> : Model
where T:IConvertible
where V:IConvertible
{
public new T input;
public new V output;
// Evaluation carry ou... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityCNTK;
using CNTK;
using System;
namespace UnityCNTK{
/// <summary>
/// Streaming model streams a datasource to a model every set period
/// </summary>
public class StreamingModel: Model
{
public new DataS... | Add datasource support for streaming model | Add datasource support for streaming model
| C# | mit | tobyclh/UnityCNTK,tobyclh/UnityCNTK |
00b196256a798232deaa3c6d38404cc03a618f4a | Assets/Scripts/Network/Waiting/Gui/Impl/ClientNetworkWaitingGui.cs | Assets/Scripts/Network/Waiting/Gui/Impl/ClientNetworkWaitingGui.cs | public class ClientNetworkWaitingGui : AbstractNetworkWaitingGui
{
private ClientNetworkEntityWaiting network;
private GuiButtonRendererControl[] buttons = new GuiButtonRendererControl[0];
public ClientNetworkWaitingGui(NetworkEntityWaiting networkEntity)
{
network = (ClientNetworkEntityWaiting) networkEntity;
... | public class ClientNetworkWaitingGui : AbstractNetworkWaitingGui
{
private ClientNetworkEntityWaiting network;
private GuiButtonRendererControl[] buttons = new GuiButtonRendererControl[0];
public ClientNetworkWaitingGui(NetworkEntityWaiting networkEntity)
{
network = (ClientNetworkEntityWaiting) networkEntity;
... | Fix bug when a user tries to join an already created multiplayer match | Fix bug when a user tries to join an already created multiplayer match
| C# | apache-2.0 | alvarogzp/nextation,alvarogzp/nextation,alvarogzp/nextation |
3bc25e3fbad196e5e3d651fa3d3378f0e1023cf1 | SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs | SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs | namespace SnapMD.VirtualCare.ApiModels.Scheduling
{
/// <summary>
/// Appointment optimization code.
/// </summary>
public enum AppointmentOptimizationCode : short
{
/// <summary>
/// Single booking.
/// </summary>
SingleBooking,
/// <summary>
/// Do... | namespace SnapMD.VirtualCare.ApiModels.Scheduling
{
/// <summary>
/// Appointment optimization code.
/// </summary>
public enum AppointmentOptimizationCode : int
{
/// <summary>
/// Single booking.
/// </summary>
SingleBooking,
/// <summary>
/// Doub... | Change AppointmentOptimizatinCode from short to int | Change AppointmentOptimizatinCode from short to int
| C# | apache-2.0 | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk |
a1abb3fa530627bcbec6a202c0334dcef6f47234 | Lidgren.Network/NetUnreliableSequencedReceiver.cs | Lidgren.Network/NetUnreliableSequencedReceiver.cs | using System;
namespace Lidgren.Network
{
internal sealed class NetUnreliableSequencedReceiver : NetReceiverChannelBase
{
private int m_lastReceivedSequenceNumber;
public NetUnreliableSequencedReceiver(NetConnection connection)
: base(connection)
{
}
internal override void ReceiveMessage... | using System;
namespace Lidgren.Network
{
internal sealed class NetUnreliableSequencedReceiver : NetReceiverChannelBase
{
private int m_lastReceivedSequenceNumber = -1;
public NetUnreliableSequencedReceiver(NetConnection connection)
: base(connection)
{
}
internal override void ReceiveMe... | Fix for first unreliable sequenced message automatically being dropped | Fix for first unreliable sequenced message automatically being dropped | C# | mit | SacWebDeveloper/lidgren-network-gen3,jbruening/lidgren-network-gen3,dragutux/lidgren-network-gen3,PowerOfCode/lidgren-network-gen3,forestrf/lidgren-network-gen3,lidgren/lidgren-network-gen3,RainsSoft/lidgren-network-gen3 |
86108438ceea1797d04cad28b0a5fc78e91b9003 | source/Handlebars.Test/ExceptionTests.cs | source/Handlebars.Test/ExceptionTests.cs | using NUnit.Framework;
namespace HandlebarsDotNet.Test
{
[TestFixture]
public class ExceptionTests
{
[Test]
[ExpectedException("HandlebarsDotNet.HandlebarsCompilerException", ExpectedMessage = "Reached end of template before block expression 'if' was closed")]
public void TestNonCl... | using NUnit.Framework;
namespace HandlebarsDotNet.Test
{
[TestFixture]
public class ExceptionTests
{
[Test]
public void TestNonClosingBlockExpressionException()
{
Assert.Throws<HandlebarsCompilerException>(() =>
{
Handlebars.Compile("{{#if 0}... | Use exception assertion instead of deprecated attribute | Use exception assertion instead of deprecated attribute
| C# | mit | rexm/Handlebars.Net,esskar/handlebars-core,rexm/Handlebars.Net |
e71009fcf56fb3629f3d0b2d2f2e564290743c59 | PU-Stub/Controllers/SnodController.cs | PU-Stub/Controllers/SnodController.cs | using Kentor.PU_Adapter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace PU_Stub.Controllers
{
public class SnodController : ApiController
{
private static readonly IDictionary<string, string> TestPersons;
... | using Kentor.PU_Adapter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace PU_Stub.Controllers
{
public class SnodController : ApiController
{
private static readonly IDictionary<string, string> TestPersons;
... | Return correct error code for missing reserve numbers | Return correct error code for missing reserve numbers
| C# | mit | KentorIT/PU-Adapter,KentorIT/PU-Adapter |
bb409c08b4626d39abc601565c76a6a07acf4662 | test/MsgPack.UnitTest/LegacyJapaneseCultureInfo.cs | test/MsgPack.UnitTest/LegacyJapaneseCultureInfo.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2017 FUJIWARA, Yusuke
//
// 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... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2017 FUJIWARA, Yusuke
//
// 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... | Fix custom culture throws ArgumentException on .NET 3.5 unit tests. | Fix custom culture throws ArgumentException on .NET 3.5 unit tests.
| C# | apache-2.0 | msgpack/msgpack-cli,msgpack/msgpack-cli |
47c0e051519fa26deaa61ab6811de889d251b946 | NFleetSDK/Data/DepotDataSet.cs | NFleetSDK/Data/DepotDataSet.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NFleet.Data
{
public class DepotDataSet : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.depotset";
public static string MIMEVersion = "2.2";
int IV... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NFleet.Data
{
public class DepotDataSet : IResponseData, IVersioned
{
public static string MIMEType = "application/vnd.jyu.nfleet.depotset";
public static string MIMEVersion = "2.2";
int IV... | Fix typo on depot data set. | Fix typo on depot data set.
| C# | mit | nfleet/.net-sdk |
77d45459acdfb19c91310275104972fe8a1f2a7d | ARGame/Assets/Scripts/Projection/RemotePlayerMarker.cs | ARGame/Assets/Scripts/Projection/RemotePlayerMarker.cs | //----------------------------------------------------------------------------
// <copyright file="RemotePlayerMarker.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the lic... | //----------------------------------------------------------------------------
// <copyright file="RemotePlayerMarker.cs" company="Delft University of Technology">
// Copyright 2015, Delft University of Technology
//
// This software is licensed under the terms of the MIT License.
// A copy of the lic... | Add explanatory comment to unclear use of rotation. | Add explanatory comment to unclear use of rotation.
| C# | mit | thijser/ARGAME,thijser/ARGAME,thijser/ARGAME |
c0094f2c7a8a935a02c35cd8925fb1278a2b7c70 | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasTree/XmasTreeBehaviour1.cs | Xmas-Hell/Xmas-Hell-Core/Entities/Bosses/XmasTree/XmasTreeBehaviour1.cs | using System;
using Microsoft.Xna.Framework;
using MonoGame.Extended.Timers;
using XmasHell.BulletML;
namespace XmasHell.Entities.Bosses.XmasTree
{
class XmasTreeBehaviour1 : AbstractBossBehaviour
{
public XmasTreeBehaviour1(Boss boss) : base(boss)
{
InitialBehaviourLife = GameConfi... | using System;
using Microsoft.Xna.Framework;
using MonoGame.Extended.Timers;
using XmasHell.BulletML;
namespace XmasHell.Entities.Bosses.XmasTree
{
class XmasTreeBehaviour1 : AbstractBossBehaviour
{
public XmasTreeBehaviour1(Boss boss) : base(boss)
{
InitialBehaviourLife = GameConfi... | Make the Xmas Tree move randomly on its first pattern. | Make the Xmas Tree move randomly on its first pattern.
| C# | mit | Noxalus/Xmas-Hell |
6da1b4d0120317643473c61c4e9e9ce6f34f6784 | osu.Android/OsuGameActivity.cs | osu.Android/OsuGameActivity.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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | // 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 Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using osu.Framework.Android;
namespace osu.Android
{
[Activity(Theme = "@android... | Fix incorrect current directory that accours on some devices on android. | Fix incorrect current directory that accours on some devices on android.
| C# | mit | ppy/osu,ppy/osu,peppy/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu |
ff830707e05ca0ce8638c2d35db441cca7b5e743 | SimpleInventory/SimpleInventory.Examples/InventoryLetters/LeatherBackpack.cs | SimpleInventory/SimpleInventory.Examples/InventoryLetters/LeatherBackpack.cs | using SimpleInventory.Examples.Common;
namespace SimpleInventory.Examples.InventoryLetters
{
public class LeatherBackpack : InventoryLetterBag<Item>
{
}
} | using SimpleInventory.Examples.Common;
namespace SimpleInventory.Examples.InventoryLetters
{
public class LeatherBackpack : InventoryLetterBag<Item>
{
/// <inheritdoc />
public LeatherBackpack() : base("Leather Backpack (Lettered)", Volumes.Litres(25), Weights.Kilograms(1))
{ }
}
} | Implement constructor for Leather Backpack (Lettered) | Implement constructor for Leather Backpack (Lettered)
| C# | mit | LambdaSix/SimpleInventory |
35ddcc4c2c31554cacf93480221adb38006d1009 | src/StockportWebapp/Views/stockportgov/Profile/Semantic/index.cshtml | src/StockportWebapp/Views/stockportgov/Profile/Semantic/index.cshtml | @using StockportWebapp.Enums
@using StockportWebapp.Models
@model Profile
@{
ViewData["Title"] = Model.Title;
var articleTitle = Model.Breadcrumbs.LastOrDefault() != null ? Model.Breadcrumbs.LastOrDefault().Title + " - " : string.Empty;
ViewData["og:title"] = articleTitle + Model.Title;
Layout = "../.... | @using StockportWebapp.Enums
@using StockportWebapp.Models
@model Profile
@{
ViewData["Title"] = Model.Title;
var articleTitle = Model.Breadcrumbs.LastOrDefault() != null ? Model.Breadcrumbs.LastOrDefault().Title + " - " : string.Empty;
ViewData["og:title"] = articleTitle + Model.Title;
Layout = "../.... | Add H1 back into profiles | fix(Profiles): Add H1 back into profiles
| C# | mit | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp |
091ac83488581bf3d87fda7a58963ef8791979ff | Trunk/GameEngine/Actors/BruiserMonster.cs | Trunk/GameEngine/Actors/BruiserMonster.cs | using System;
using System.Collections.Generic;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Actors
{
internal class BruiserMonster : Monster
{
public BruiserMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModife... | using System;
using System.Collections.Generic;
using Magecrawl.Utilities;
namespace Magecrawl.GameEngine.Actors
{
internal class BruiserMonster : Monster
{
public BruiserMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModife... | Fix crash when bruiser monster can see player but can't path. | Fix crash when bruiser monster can see player but can't path.
| C# | bsd-2-clause | AndrewBaker/magecrawl,jeongroseok/magecrawl |
20b6a7033aacde36707cacd08f7821857adc4635 | webapp-iot-dashboard/webapp-iot-dashboard/vunvulea-iot-core/SystemStatus.cs | webapp-iot-dashboard/webapp-iot-dashboard/vunvulea-iot-core/SystemStatus.cs | //using Microsoft.Framework.Configuration;
//using Microsoft.WindowsAzure.Storage;
//using Microsoft.WindowsAzure.Storage.Table;
//using System.Threading.Tasks;
//using LogLevel = Microsoft.Framework.Logging.LogLevel;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using System;
usin... | //using Microsoft.Framework.Configuration;
//using Microsoft.WindowsAzure.Storage;
//using Microsoft.WindowsAzure.Storage.Table;
//using System.Threading.Tasks;
//using LogLevel = Microsoft.Framework.Logging.LogLevel;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Table;
using System;
usin... | Add Azure Function that updates the system status avg temp | Add Azure Function that updates the system status avg temp
| C# | bsd-2-clause | vunvulear/IoTHomeProject,vunvulear/IoTHomeProject,vunvulear/IoTHomeProject |
4b54fe2d24964a0a55cfaa37f996d9c9aac5643d | src/IntelliTect.Coalesce/TypeDefinition/Wrappers/ReflectionParameterWrapper.cs | src/IntelliTect.Coalesce/TypeDefinition/Wrappers/ReflectionParameterWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using System.Reflection;
namespace IntelliTect.Coalesce.TypeDefinition.Wrappers
{
internal class ReflectionParameterWrapper : ParameterWrapper
{
public ReflectionParameterWrap... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using System.Reflection;
namespace IntelliTect.Coalesce.TypeDefinition.Wrappers
{
internal class ReflectionParameterWrapper : ParameterWrapper
{
public ReflectionParameterWrap... | Fix reflection type handling of out parameters | Fix reflection type handling of out parameters
| C# | apache-2.0 | IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce |
1474ed8fe853d5cc722afff265c52eefb73fca65 | src/Microsoft.AspNet.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs | src/Microsoft.AspNet.Mvc.Core/ApiExplorer/IApiResponseFormatMetadataProvider.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc.ApiExplorer
{
/// <summary>
//... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Mvc.ApiExplorer
{
/// <summary>
//... | Fix breaks to xml docs | Fix breaks to xml docs
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
f058d4e0c6996cc96f0a8cb1e7642d8b645ed5a9 | anime-downloader/Views/Components/Find.xaml.cs | anime-downloader/Views/Components/Find.xaml.cs | using System.Windows;
using UserControl = System.Windows.Controls.UserControl;
namespace anime_downloader.Views.Components
{
/// <summary>
/// Interaction logic for FindViewModel.xaml
/// </summary>
public partial class Find : UserControl
{
public Find()
{
InitializeCom... | using System.Windows;
using UserControl = System.Windows.Controls.UserControl;
namespace anime_downloader.Views.Components
{
/// <summary>
/// Interaction logic for FindViewModel.xaml
/// </summary>
public partial class Find : UserControl
{
public Find()
{
InitializeCom... | Fix some problem with the find bar accepting input too early | Fix some problem with the find bar accepting input too early
| C# | apache-2.0 | dukemiller/anime-downloader |
933c63b2d5cc08032fc35f956aeb31fc73982b86 | test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs | test/Microsoft.DotNet.Tools.Tests.Utilities/NetworkUtils/NetworkHelper.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public class NetworkHelper
{
// in milliseconds
private const int Timeout = 20... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public class NetworkHelper
{
// in milliseconds
private const int Timeout = 20... | Add delay between attempts to contact the server | Add delay between attempts to contact the server
| C# | mit | mylibero/cli,jonsequitur/cli,borgdylan/dotnet-cli,AbhitejJohn/cli,jonsequitur/cli,mylibero/cli,danquirk/cli,mlorbetske/cli,Faizan2304/cli,dasMulli/cli,danquirk/cli,naamunds/cli,marono/cli,nguerrera/cli,blackdwarf/cli,nguerrera/cli,marono/cli,mlorbetske/cli,MichaelSimons/cli,FubarDevelopment/cli,Faizan2304/cli,schellap/... |
538744d13f28ff8e690267a738abebdc43f98edb | src/System.Security.Principal.Windows/tests/WindowsPrincipalTests.cs | src/System.Security.Principal.Windows/tests/WindowsPrincipalTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Security.Principal;
using Xunit;
public class WindowsPrincipalTests
{
[Fact]
public static voi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.ComponentModel;
using System.Security.Principal;
using Xunit;
public class WindowsPrinci... | Make WindowsPrincipalIsInRoleNeg pass when a domain client is offline | Make WindowsPrincipalIsInRoleNeg pass when a domain client is offline
| C# | mit | Jiayili1/corefx,ptoonen/corefx,ViktorHofer/corefx,ptoonen/corefx,mmitche/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx,shimingsg/corefx,Jiayili1/corefx,wtgodbe/corefx,ViktorHofer/corefx,Jiayili1/corefx,ericstj/corefx,ptoonen/corefx,Jiayili1/corefx,ptoonen/corefx,ptoonen/corefx,... |
b5726a6782df8a00ab031956e4b033422fe2d937 | XamarinSpikes/MvvmCrossSpikes/MvvmCrossSpikes.Droid/Bindings/ButtonCommandBinding.cs | XamarinSpikes/MvvmCrossSpikes/MvvmCrossSpikes.Droid/Bindings/ButtonCommandBinding.cs | using Android.Widget;
using Cirrious.MvvmCross.ViewModels;
using System;
using System.Windows.Input;
namespace MvvmCrossSpikes.Droid.Bindings
{
public class ButtonCommandBinding : MvxTargetBinding<Button, MvxCommand>
{
private ICommand _command;
public ButtonCommandBinding(Button target)
... | using Android.Widget;
using Cirrious.MvvmCross.ViewModels;
using System;
using System.Windows.Input;
namespace MvvmCrossSpikes.Droid.Bindings
{
public class ButtonCommandBinding : MvxTargetBinding<Button, ICommand>
{
private ICommand _command;
public ButtonCommandBinding(Button target)
... | Use interface ICommand instead of MvxCommand | Use interface ICommand instead of MvxCommand
| C# | mit | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes |
71875cb97d131235359c443467a8befdb41f342a | NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.cs | NewAnalyzerTemplate/NewAnalyzerTemplate/NewAnalyzerTemplate/DiagnosticAnalyzer.cs | /*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of a single space between the if keyword of an if statement and the
open parenthesis of the condition.
For more information, please reference the ReadMe.
Before you begin, go to Tools->Extensions and Updates->Online, and... | /*This tutorial is going to guide you to write a diagnostic analyzer that enforces the placement of a single space between the if keyword of an if statement and the
open parenthesis of the condition.
For more information, please reference the ReadMe.
Before you begin, go to Tools->Extensions and Updates->Online, and... | Change SDK name in NewAnalyzerTemplate | Change SDK name in NewAnalyzerTemplate
| C# | mit | natidea/roslyn-analyzers,jaredpar/roslyn-analyzers,bkoelman/roslyn-analyzers,pakdev/roslyn-analyzers,pakdev/roslyn-analyzers,dotnet/roslyn-analyzers,heejaechang/roslyn-analyzers,genlu/roslyn-analyzers,srivatsn/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,mattwar/roslyn-analyzers,qinxgit/roslyn-ana... |
37cc088278498f8ad8e2f00c018d03e1389617da | src/Nest/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs | src/Nest/CommonAbstractions/Infer/RelationName/RelationNameFormatter.cs | using Utf8Json;
namespace Nest
{
internal class RelationNameFormatter : IJsonFormatter<RelationName>
{
public RelationName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
RelationName relationName = reader.ReadStrin... | using Utf8Json;
namespace Nest
{
internal class RelationNameFormatter : IJsonFormatter<RelationName>, IObjectPropertyNameFormatter<RelationName>
{
public RelationName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
... | Support RelationName as dictionary key | Support RelationName as dictionary key
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
5fb884b6a1d331095dbdcb205f5ca06cfb4d5b45 | src/System.Runtime/tests/System/IO/DirectoryNotFoundExceptionTests.cs | src/System.Runtime/tests/System/IO/DirectoryNotFoundExceptionTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using Xunit;
namespace System.IO.Tests
{
public static class DirectoryNotFoundEx... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using Xunit;
namespace System.IO.Tests
{
public static class DirectoryNotFoundEx... | Fix missing newline at the end of a file | Fix missing newline at the end of a file
| C# | mit | ptoonen/corefx,richlander/corefx,tstringer/corefx,manu-silicon/corefx,parjong/corefx,dotnet-bot/corefx,manu-silicon/corefx,manu-silicon/corefx,krk/corefx,weltkante/corefx,ptoonen/corefx,wtgodbe/corefx,dotnet-bot/corefx,Petermarcu/corefx,krytarowski/corefx,stone-li/corefx,Chrisboh/corefx,YoupHulsebos/corefx,shmao/corefx... |
84f3f820aabef1d09828d1f5273ab6e002f0f6a4 | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
return new Route(path,
new RouteValueDictionary(n... | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper()
{
_routeHandler = new MvcRouteHandler();
}
protected Route GenerateRoute(string path, string controller, string action, string[] h... | Initialize to the route handler of ASP.NET MVC | Initialize to the route handler of ASP.NET MVC
| C# | mit | restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing |
7e1aa94191b261a07ab4be11d1180be4b5bce1cb | Demo/Program.cs | Demo/Program.cs | using System;
using Demo.Endpoints.FileSystem;
using Demo.Endpoints.Sharepoint;
using Verdeler;
namespace Demo
{
internal class Program
{
private static void Main(string[] args)
{
//Configure the distributor
var distributor = new Distributor<DistributableFile, Vendor>()... | using System;
using Demo.Endpoints.FileSystem;
using Demo.Endpoints.Sharepoint;
using Verdeler;
namespace Demo
{
internal class Program
{
private static void Main(string[] args)
{
//Configure the distributor
var distributor = new Distributor<DistributableFile, Vendor>()... | Set max concurrent deliveries to 10 in demo. | Set max concurrent deliveries to 10 in demo.
| C# | mit | justinjstark/Verdeler,justinjstark/Delivered |
fc52384daefc1b8388057ef2460730e52ab753bb | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/LearnerController.cs | using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
namespace SFA.DAS.CommitmentsV2.Api.Controllers
{
[ApiController]
[Route("api/learners")]
public class... | using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Application.Queries.GetAllLearners;
namespace SFA.DAS.CommitmentsV2.Api.Controllers
{
[ApiController]
[Route("api/learn... | Remove milliseconds from date fields in GetLearners Json | Remove milliseconds from date fields in GetLearners Json
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
700d615d57add88622a15d6575c1205e629a7fed | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Types/Dtos/DraftApprenticeshipDto.cs | using System;
namespace SFA.DAS.CommitmentsV2.Types.Dtos
{
public class DraftApprenticeshipDto
{
public long Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public DateTime? DateOfBirth { get;... | using System;
namespace SFA.DAS.CommitmentsV2.Types.Dtos
{
public class DraftApprenticeshipDto
{
public long Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
public DateTime? DateOfBirth { get;... | Add `HasPriorLearning` to draft DTO | Add `HasPriorLearning` to draft DTO
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments |
87d390fe4b28a1a8d39bb70fd6dd03562f512866 | src/Jello/ParseResult.cs | src/Jello/ParseResult.cs | using System.Collections.Generic;
using Jello.Errors;
using Jello.Nodes;
namespace Jello
{
public class ParseResult
{
public bool Success { get; private set; }
public IEnumerable<IError> Errors { get; private set; }
private INode _root;
public ParseResult(INode node)
... | using System.Collections.Generic;
using Jello.DataSources;
using Jello.Errors;
using Jello.Nodes;
namespace Jello
{
public class ParseResult
{
public bool Success { get; private set; }
public IEnumerable<IError> Errors { get; private set; }
private INode _root;
public ParseR... | Add basic execute method to parseresult (temp fix, want to add typechecking and specify return type) | Add basic execute method to parseresult (temp fix, want to add typechecking and specify return type)
| C# | mit | jordanwallwork/jello |
51c391ea734c7e1cbb40a4a227ed65249d06d633 | Quickstart/ZUMOAPPNAMEService/App_Start/WebApiConfig.cs | Quickstart/ZUMOAPPNAMEService/App_Start/WebApiConfig.cs | using System.Collections.Generic;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.WindowsAzure.Mobile.Service;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
namespace ZUMOAPPNAMEService
{
public static class WebApiConfig
{
public static void Register()
... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Web.Http;
using Microsoft.WindowsAzure.Mobile.Service;
using ZUMOAPPNAMEService.DataObjects;
using ZUMOAPPNAMEService.Models;
namespace ZUMOAPPNAMEService
{
public static class WebApiConfig
{
public static void Regi... | Add missing using directive in quickstart | Add missing using directive in quickstart
| C# | apache-2.0 | shrishrirang/azure-mobile-apps-quickstarts,soninaren/azure-mobile-services-quickstarts,phvannor/azure-mobile-services-quickstarts,aziel/azure-mobile-services-quickstarts,shrishrirang/azure-mobile-apps-quickstarts,shrishrirang/azure-mobile-services-quickstarts,phvannor/azure-mobile-services-quickstarts,lindydonna/azure-... |
03d34a08f1b70877f1bfae1e16f1912e114dadeb | EndlessClient/Rendering/NPC/NPCAnimationActions.cs | EndlessClient/Rendering/NPC/NPCAnimationActions.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
using EndlessClient.ControlSets;
using EndlessClient.HUD.Controls;
using EOLib.Domain.Notifiers;
namespace EndlessClient.Rendering.NPC
{
public class NPCAnimationAct... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EndlessClient.ControlSets;
using EndlessClient.HUD.Controls;
using EOLib.Domain.Notifiers;
namespace EndlessClient.Rendering.NPC
{
public class NPCAnimationAct... | Fix crash when logging in | Fix crash when logging in
Crashing due to remove NPCs from view when HUD has not been constructed yet
| C# | mit | ethanmoffat/EndlessClient |
b062b3e5e9fc1fa73774f07fc2fdcf962a3d27fb | src/DerConverter/Extensions/QueueExtensions.cs | src/DerConverter/Extensions/QueueExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace DerConverter
{
internal static class QueueExtensions
{
public static IEnumerable<T> Dequeue<T>(this Queue<T> queue, int count)
{
for (int i = 0; i < count; i++) yield return queue.Dequeue();
}
public st... | using System.Collections.Generic;
using System.Linq;
namespace DerConverter
{
internal static class QueueExtensions
{
public static IEnumerable<T> Dequeue<T>(this Queue<T> queue, long count)
{
for (long i = 0; i < count; i++) yield return queue.Dequeue();
}
public ... | Change int count to long count in Dequeue extension method | Change int count to long count in Dequeue extension method
| C# | apache-2.0 | huysentruitw/pem-utils |
a8dd50eaa16f6aeba03e53ce1f8e5b7e9afdf23a | Tests/LocaleTests.cs | Tests/LocaleTests.cs | using NUnit.Framework;
using ZendeskApi_v2;
namespace Tests
{
[TestFixture]
public class LocaleTests
{
private ZendeskApi api = new ZendeskApi(Settings.Site, Settings.Email, Settings.Password);
[Test]
public void CanGetLocales()
{
var all = api.Locales.GetAllLoc... | using NUnit.Framework;
using ZendeskApi_v2;
namespace Tests
{
[TestFixture]
public class LocaleTests
{
private ZendeskApi api = new ZendeskApi(Settings.Site, Settings.Email, Settings.Password);
[Test]
public void CanGetLocales()
{
var all = api.Locales.GetAllLoc... | Add test case for fetch translation metadata capability when getting locales. | Add test case for fetch translation metadata capability when getting locales.
| C# | apache-2.0 | mwarger/ZendeskApi_v2,CKCobra/ZendeskApi_v2 |
9e485021c1dea5e3c1583cdb26fdbb83858e74e8 | Source/Nett/UserTypeMetaData.cs | Source/Nett/UserTypeMetaData.cs | namespace Nett
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Util;
internal static class UserTypeMetaData
{
private static readonly Dictionary<Type, MetaDataInfo> MetaData = new Dictionary<Type, MetaDataInfo>();
public ... | namespace Nett
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Util;
internal static class UserTypeMetaData
{
private static readonly ConcurrentDictionary<Type, MetaDataInfo> MetaData = new... | Fix flaky unit test caused by concurrency issue | Fix flaky unit test caused by concurrency issue
| C# | mit | paiden/Nett |
801a7c76527a571c77dad8d3bd247e7039f73173 | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs | src/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/SocketTransportOptions.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
{
// TODO: Come up with some options
public class SocketTransportOptions
{
}
}
| // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
{
// TODO: Come... | Add copyright header to TransportSocketOptions.cs. | Add copyright header to TransportSocketOptions.cs.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
4c564581739a13e1de73ef75054bd7c825dca384 | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.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.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.... | // 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.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.... | Change button location to the right side of dropdown | Change button location to the right side of dropdown
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu |
9324b4d5b185d2ff3254a0cbd29597dcb7aa537a | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | src/CSharpViaTest.Collections/20_YieldPractices/TakeUntilCatchingAnException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | using System;
using System.Collections.Generic;
using System.Linq;
using CSharpViaTest.Collections.Annotations;
using Xunit;
namespace CSharpViaTest.Collections._20_YieldPractices
{
[Medium]
public class TakeUntilCatchingAnException
{
readonly int indexThatWillThrow = new Random().Next(2, 10);
... | Add test to make sure normal collection works. | [liuxia] Add test to make sure normal collection works.
| C# | mit | AxeDotNet/AxePractice.CSharpViaTest |
e531dc1cb01b034b065963e0f7f6624234b3087c | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/FeatureNotEnabled.cshtml | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/Shared/FeatureNotEnabled.cshtml |
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Coming soon</h1>
<p>This service isn't available yet.</p>
</div>
</div>
@section breadcrumb {
<div class="breadcrumbs">
<ol>
<li><a href="@Url.Action("Index","Home")">Back to homepage<... |
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">Under development</h1>
<p>This service is currently being developed and you don't yet have access.</p>
</div>
</div>
@section breadcrumb {
<div class="breadcrumbs">
<ol>
<li><a href="@... | Update content for feature not enabled | Update content for feature not enabled
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
6a0498331d2b4c4f8db7f845b1f2a8f65f3ab499 | tests/Nimbus.UnitTests/MulticastRequestResponseTests/WhenTakingTwoResponses.cs | tests/Nimbus.UnitTests/MulticastRequestResponseTests/WhenTakingTwoResponses.cs | using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.MulticastRequestResponseTests
{
[TestFixture]
internal class WhenTakingTwoResponses : GivenAWrapperWithTwoResponses
{
private readonly TimeSpan _timeout = TimeSpan.FromSeconds(1);
private str... | using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.UnitTests.MulticastRequestResponseTests
{
[TestFixture]
internal class WhenTakingTwoResponses : GivenAWrapperWithTwoResponses
{
private readonly TimeSpan _timeout = TimeSpan.FromSeconds(1.5);
private s... | Increase timeout for running in container | Increase timeout for running in container
| C# | mit | NimbusAPI/Nimbus,NimbusAPI/Nimbus |
0729d9d36652e2a48fd08e5122c24d3b94176a9f | WootzJs.Mvc/ControllerActionInvoker.cs | WootzJs.Mvc/ControllerActionInvoker.cs | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace WootzJs.Mvc
{
public class ControllerActionInvoker : IActionInvoker
{
public Task<ActionResult> InvokeAction(ControllerContext context, MethodInfo action)
{
var parameters = action.Get... | Fix bug not properly propagating route arguments | Fix bug not properly propagating route arguments
| C# | mit | kswoll/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs |
27e7199f8f2e35f0316a6d34db26d928ede799dc | osu.Framework/Graphics/ProxyDrawable.cs | osu.Framework/Graphics/ProxyDrawable.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Graphics
{
public class ProxyDrawable : Drawable
{
public ProxyDrawable(Drawable original)
{
... | Fix proxied drawables never expiring. | Fix proxied drawables never expiring.
| C# | mit | DrabWeb/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,naoey/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/o... |
90489fe07a574695fe599251322b2dd978ac057b | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | src/CompetitionPlatform/Data/AzureRepositories/Settings/BaseSettings.cs | using Lykke.EmailSenderProducer.Interfaces;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public NotificationsSettings Notifications { get; ... | using System.Collections.Generic;
using Lykke.EmailSenderProducer.Interfaces;
namespace CompetitionPlatform.Data.AzureRepositories.Settings
{
public class BaseSettings
{
public AzureSettings Azure { get; set; }
public AuthenticationSettings Authentication { get; set; }
public Notificat... | Add a list of notification receivers for project create. | Add a list of notification receivers for project create.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
a6647b95de1f212947bea3f358f916c317557763 | Tests/Mapsui.Tests/Layers/WritableLayerTests.cs | Tests/Mapsui.Tests/Layers/WritableLayerTests.cs | using Mapsui.Geometries;
using Mapsui.GeometryLayer;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Layers
{
[TestFixture]
public class WritableLayerTests
{
[Test]
public void DoNotCrashOnNullOrEmptyGeometries()
{
// arrange
... | using Mapsui.Geometries;
using Mapsui.GeometryLayer;
using Mapsui.Layers;
using NUnit.Framework;
namespace Mapsui.Tests.Layers
{
[TestFixture]
public class WritableLayerTests
{
[Test]
public void DoNotCrashOnNullOrEmptyGeometries()
{
// arrange
var writableL... | Add geometry in GeometryFeature constructor | Add geometry in GeometryFeature constructor
| C# | mit | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui |
e4cbb511cd7d4013e7408656b001f175691901b1 | Library/QuerySpecification.cs | Library/QuerySpecification.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Swiftype {
public class QuerySpecification {
public string Q { get; set; }
public int Page { get; set; }
public int? PerPage { get; set; }
public IDictionary<string, F... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mios.Swiftype {
public class QuerySpecification {
public string Q { get; set; }
public int Page { get; set; }
public int? PerPage { get; set; }
public string[] DocumentType... | Allow specifying document types to search. | Allow specifying document types to search.
| C# | bsd-2-clause | mios-fi/mios.swiftype,mios-fi/mios.swiftype |
9f82d15137666f03cc265add0ef795c664d14f90 | Mycroft/Cmd/App/AppCommand.cs | Mycroft/Cmd/App/AppCommand.cs | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | using Mycroft.App;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Cmd.App
{
class AppCommand : Command
{
/// <summary>
/// Parses JSON into App command objects
/// </summary>
/// <param name=... | Fix compile error from merging Up and Down | Fix compile error from merging Up and Down
| C# | bsd-3-clause | rit-sse-mycroft/core |
14496f85fe1ba323d33922c534a7550dea30b73c | src/WebSocketManager/WebSocketManagerMiddleware.cs | src/WebSocketManager/WebSocketManagerMiddleware.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace WebSocketManager
{
public class WebSocketManagerMiddleware
{
private readonly RequestDelegate _next;
private WebSocketManager _webSocketManager { get; set; }
private WebSocketMessageHandler _webSocketMessageHandler... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace WebSocketManager
{
public class WebSocketManagerMiddleware
{
private readonly RequestDelegate _next;
private WebSocketManager _webSocketManager { get; set; }
private WebSocketMessageHandler _webSocketMessageHandler... | Send message to specific connection | Send message to specific connection
| C# | mit | ryanwersal/MorseL,ryanwersal/MorseL,radu-matei/websocket-manager,radu-matei/websocket-manager,radu-matei/websocket-manager,ryanwersal/MorseL,ryanwersal/MorseL |
cc05a6b738649a981392ceb3b7bdef155abb2e6b | osu.Framework/Graphics/Animations/IAnimation.cs | osu.Framework/Graphics/Animations/IAnimation.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.Graphics.Animations
{
/// <summary>
/// An animation / playback sequence.
/// </summary>
public interface IAnimation
{
... | // 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.Graphics.Animations
{
/// <summary>
/// An animation / playback sequence.
/// </summary>
public interface IAnimation
{
... | Remove comment about ffmpeg from interface | Remove comment about ffmpeg from interface
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework |
30d4dd93558f00bb806612040568e3827ec41d3e | osu.Game/Scoring/ScoreRank.cs | osu.Game/Scoring/ScoreRank.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.ComponentModel;
namespace osu.Game.Scoring
{
public enum ScoreRank
{
[Description(@"F")]
F,
[Description(@"F")]
D,... | // 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.ComponentModel;
namespace osu.Game.Scoring
{
public enum ScoreRank
{
[Description(@"F")]
F,
[Description(@"F")]
D,... | Change + rank strings to be cleaner for the end-user | Change + rank strings to be cleaner for the end-user
| C# | mit | smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,ZLima12/osu,johnn... |
7eff1409557ed9546036a297ca3ebc99131ce61a | GTPWrapperTest/Program.cs | GTPWrapperTest/Program.cs | using GTPWrapper;
using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapperTest {
public class Program {
static void Main(string[] args) {
Engine engine = new Engine();
engine... | using GTPWrapper;
using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapperTest {
public class Program {
static void Main(string[] args) {
Engine engine = new Engine();
engine... | Add more supported commands to test | Add more supported commands to test
| C# | mit | yishn/GTPWrapper |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.