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 |
|---|---|---|---|---|---|---|---|---|---|
b827ef74d5470776edadb89e25d6633d13ce3eeb | tests/NuGetGallery.FunctionalTests/TestBase/Constants.cs | tests/NuGetGallery.FunctionalTests/TestBase/Constants.cs | using NuGetGallery.FunctionTests.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NuGetGallery.FunctionalTests
{
internal static class Constants
{
#region FormFields
internal const string ConfirmPasswordFormF... | using NuGetGallery.FunctionTests.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NuGetGallery.FunctionalTests
{
internal static class Constants
{
#region FormFields
internal const string ConfirmPasswordFormF... | Fix test issue with ContactOwners test. | Fix test issue with ContactOwners test.
| C# | apache-2.0 | mtian/SiteExtensionGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-p... |
e11c060adf1c4baa87021d0ff93cde7b3037a7e0 | Bifrost/Utilities.cs | Bifrost/Utilities.cs | using System;
using System.Threading;
using System.Reflection;
using System.Diagnostics;
using NLog;
namespace Bifrost
{
public class Utilities
{
private static Logger Log = LogManager.GetCurrentClassLogger();
/// <summary>
/// Starts a new thread with the given delegate. Useful for ... | using System;
using System.Threading;
using System.Reflection;
using System.Diagnostics;
using NLog;
namespace Bifrost
{
public class Utilities
{
private static Logger Log = LogManager.GetCurrentClassLogger();
/// <summary>
/// Starts a new thread with the given delegate. Useful for ... | Tweak version behavior a bit | Tweak version behavior a bit
| C# | mit | hexafluoride/Bifrost |
6bce6ce44d252e15149c387ca3a8b008606d685a | src/Features/Core/Portable/FindUsages/ExternalReferenceItem.cs | src/Features/Core/Portable/FindUsages/ExternalReferenceItem.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.FindUsages
{
/// <summary>
/// Information about a symbol's reference that... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.FindUsages
{
/// <summary>
/// Information about a symbol's reference that... | Move helper to workspace layer | Move helper to workspace layer
| C# | mit | physhi/roslyn,diryboy/roslyn,wvdd007/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,physhi/roslyn,stephentoub/roslyn,dotnet/roslyn,tmat/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,jasonmalinowski/roslyn,aelij/roslyn,eriawan/roslyn,panopticoncentral/rosl... |
a59d9b33247611c9f3d7f7f053f26f5661f5187d | CanoePoloLeagueOrganiserTests/RubyInspiredListFunctionsTests.cs | CanoePoloLeagueOrganiserTests/RubyInspiredListFunctionsTests.cs | using System;
using CanoePoloLeagueOrganiser;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CanoePoloLeagueOrganiserTests
{
public class RubyInspiredListFunctionsTests
{
[Fact]
public void EachCons2()
{
var list = new List<int> { 1, 2, 3, 4 };
... | using System;
using CanoePoloLeagueOrganiser;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CanoePoloLeagueOrganiserTests
{
public class RubyInspiredListFunctionsTests
{
[Fact]
public void EachCons2()
{
var list = new List<int> { 1, 2, 3, 4 };
... | Introduce helper methods to make test clearer | Introduce helper methods to make test clearer
| C# | mit | ceddlyburge/canoe-polo-league-organiser-backend |
32bd3107e1929cd8b9f1bb5f636ced0b8175da1f | osu.Game/Performance/HighPerformanceSession.cs | osu.Game/Performance/HighPerformanceSession.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.Runtime;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Performance
{
public class High... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
namespace osu.Game.Performance
{
public class HighPerformanceSession : C... | Remove high performance GC setting | Remove high performance GC setting
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu |
ddff811c0bcbd8b7b2501db0e5b0c76b4900e86a | BForms/Html/BsPagerExtensions.cs | BForms/Html/BsPagerExtensions.cs | using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using BForms.Grid;
using BForms.Models;
namespace BForms.Html
{
public static class BsPagerExtensions
{
public static BsGridPagerBuilder BsPager(this HtmlHelper html, BsPagerModel model, BsPagerSettings pagerSettings)
{
... | using System;
using System.Linq.Expressions;
using System.Web.Mvc;
using BForms.Grid;
using BForms.Models;
namespace BForms.Html
{
public static class BsPagerExtensions
{
public static BsGridPagerBuilder BsPager(this HtmlHelper html, BsPagerModel model)
{
var builder = new BsGridPa... | Revert "added BsPager HtmlHelper with settings" | Revert "added BsPager HtmlHelper with settings"
This reverts commit 7465085ea96c90827ae5087ff1771c059a85193a.
| C# | mit | vtfuture/BForms,vtfuture/BForms,vtfuture/BForms |
ea0ff2a3a61b74bfe0d4b4073f14c77fe2b42f0e | examples/Test.cs | examples/Test.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
string addr;
if (args.Length == 0)
addr = Addre... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
Connection conn;
if (args.Length == 0)
conn = ... | Update to avoid now internal API | Update to avoid now internal API
| C# | mit | Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp |
c566906395b3b29d292889521a3db600afb83031 | src/VisualStudio/IntegrationTest/TestUtilities/InProcess/Shell_InProc.cs | src/VisualStudio/IntegrationTest/TestUtilities/InProcess/Shell_InProc.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.InP... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.InP... | Add utility to determine if the active tab is provisional | Add utility to determine if the active tab is provisional
| C# | apache-2.0 | agocke/roslyn,jcouv/roslyn,eriawan/roslyn,physhi/roslyn,MichalStrehovsky/roslyn,CaptainHayashi/roslyn,tmeschter/roslyn,KirillOsenkov/roslyn,lorcanmooney/roslyn,khyperia/roslyn,DustinCampbell/roslyn,bkoelman/roslyn,DustinCampbell/roslyn,tmat/roslyn,wvdd007/roslyn,bartdesmet/roslyn,drognanar/roslyn,shyamnamboodiripad/ros... |
11433e542af993ca7bd81efeff0972ee0ccd101f | src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs | src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs | namespace Microsoft.AspNetCore.Hosting
{
using Microsoft.ApplicationInsights.AspNetCore.Extensions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
internal class DefaultApplicationInsightsServiceConfigureOptions : IConf... | namespace Microsoft.AspNetCore.Hosting
{
using System.Diagnostics;
using Microsoft.ApplicationInsights.AspNetCore.Extensions;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
internal class DefaultApplicationInsightsS... | Use Debugger.IsAttached instead of IsDevelopment to control developer mode | Use Debugger.IsAttached instead of IsDevelopment to control developer mode
| C# | mit | Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,gzepe... |
2ed76c02b17a6e61fdc462877a7e8901b89136de | it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs | it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs | using System;
namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova
{
public class VersioningInfo
{
/// <summary>
/// Gets the version number.
///
/// Here are the stack of versions with a brief description:
///
/// v1.1.0: introduce pressure regulator gadget for edges.
///
/// v1.0.1:... | using System;
namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova
{
public class VersioningInfo
{
/// <summary>
/// Gets the version number.
///
/// Here are the stack of versions with a brief description:
///
/// v1.1.1: tuning computational parameter to handle middle and low pressure ne... | Enhance version number to `v1.1.1' after inclusion of Fabio's patch. | Enhance version number to `v1.1.1' after inclusion of Fabio's patch.
| C# | mit | massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner |
41913d5043a4872d0a6af3d43e6f119eb412a0b6 | Saule/ResourceRelationship.cs | Saule/ResourceRelationship.cs | namespace Saule
{
/// <summary>
/// Represents a related resource (to-one or to-many).
/// </summary>
public abstract class ResourceRelationship
{
/// <summary>
/// Initializes a new instance of the <see cref="ResourceRelationship"/> class.
/// </summary>
/// <para... | namespace Saule
{
/// <summary>
/// Represents a related resource (to-one or to-many).
/// </summary>
public abstract class ResourceRelationship
{
/// <summary>
/// Initializes a new instance of the <see cref="ResourceRelationship"/> class.
/// </summary>
/// <para... | Add PropertyName to relationship to bring in line with attribute | Add PropertyName to relationship to bring in line with attribute
| C# | mit | joukevandermaas/saule,laurence79/saule,sergey-litvinov-work/saule,bjornharrtell/saule |
5f9a522092b60691f07ca58dc6b96e54389e1d38 | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyRejected.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyRejected.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | Apply stlye classes to the rejectec status tag | [CON-1426] Apply stlye classes to the rejectec status tag
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
682b5fb056ae9ecc50dd863b6490f851d1508a70 | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.cs | osu.Game.Rulesets.Taiko/Judgements/TaikoDrumRollTickJudgement.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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overri... | // 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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoDrumRollTickJudgement : TaikoJudgement
{
public overri... | Adjust health increase for drum roll tick to match new max result | Adjust health increase for drum roll tick to match new max result
| C# | mit | peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,peppy/osu,UselessToucan/osu |
c0d64bf409b1e7afb9868a8040459d7e1e30fa21 | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | osu.Game/Screens/Edit/Screens/Compose/Timeline/TimelineButton.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
us... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
us... | Use Gray instead of FromHex for grays | Use Gray instead of FromHex for grays
| C# | mit | johnneijzen/osu,peppy/osu,naoey/osu,DrabWeb/osu,Drezi126/osu,ppy/osu,smoogipoo/osu,DrabWeb/osu,Nabile-Rahmani/osu,2yangk23/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,smoogipooo/osu,2yangk23/osu,Frontear/osuKyzer,peppy/osu-new,smoogipoo/osu,naoey/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,Neo... |
fe1db71bae7603dac653a0857356ba0e1ec90270 | GeoChallenger.Commands/Program.cs | GeoChallenger.Commands/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using GeoChallenger.Commands.Commands;
using GeoChallenger.Commands.Config;
using NLog;
namespace GeoChallenger.Commands
{
class Program
{
private static readonly Logger ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using GeoChallenger.Commands.Commands;
using GeoChallenger.Commands.Config;
using NLog;
using NLog.Fluent;
namespace GeoChallenger.Commands
{
class Program
{
private stat... | Add start log to commands | Add start log to commands
| C# | mit | GAnatoliy/geochallenger,GAnatoliy/geochallenger |
6a824f5f7a8064076e8c2ea06d4f50449f75bc54 | src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs | src/Stripe.net/Services/Subscriptions/SubscriptionListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class SubscriptionListOptions : ListOptionsWithCreated
{
/// <summary>
/// The billing mode of the subscriptions to retrieve. One of <see cref="Billing" />.
/// </summary>
[JsonProperty("billing")]
public Billing? Bill... | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class SubscriptionListOptions : ListOptionsWithCreated
{
/// <summary>
/// The billing mode of the subscriptions to retrieve. One of <see cref="Billing" />.
/// </summary>
[JsonProperty("billing")]
pu... | Add `current_period_*` filters when listing Invoices | Add `current_period_*` filters when listing Invoices
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
8a8f01f8daed6777f43fa53974a60daf95f713db | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | Remove whitespace (leave the newline). | Remove whitespace (leave the newline). | C# | mit | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template |
866ea4366bae2b9f19a50466e8166ed050d6d7f2 | apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/KeyManagementServiceClientSnippets.cs | apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1.Snippets/KeyManagementServiceClientSnippets.cs | // Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Fix manual KMS snippet (LocationName breaking change is expected) | Fix manual KMS snippet (LocationName breaking change is expected)
| C# | apache-2.0 | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet |
56af9be4d29a3cb3b5199e657dbefb8726d5d915 | source/Glimpse.Core/Framework/GlimpseMetadata.cs | source/Glimpse.Core/Framework/GlimpseMetadata.cs | using System.Collections.Generic;
namespace Glimpse.Core.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
Plugins = new Dictionary<string, PluginMetadata>();
Resources = new Dictionary<string, string>//TODO: once the resources below are implemented,... | using System.Collections.Generic;
namespace Glimpse.Core.Framework
{
public class GlimpseMetadata
{
public GlimpseMetadata()
{
Plugins = new Dictionary<string, PluginMetadata>();
Resources = new Dictionary<string, string>//TODO: once the resources below are implemented,... | Package updates is now fully implemented | Package updates is now fully implemented
| C# | apache-2.0 | rho24/Glimpse,codevlabs/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,dudzon/Glimpse,SusanaL/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,SusanaL/Glimpse,flcdrg/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,gabrie... |
41ce14906dfc38e9d9b4043bb254dcc4c80c296f | src/EditorFeatures/Core/ContentTypeNames.cs | src/EditorFeatures/Core/ContentTypeNames.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.Editor
{
internal static class ContentTypeNames
{
public const string CSharpContentType = "CSharp";
... | Undo change of this file. | Undo change of this file.
| C# | mit | tannergooding/roslyn,orthoxerox/roslyn,tvand7093/roslyn,dpoeschl/roslyn,mattscheffer/roslyn,orthoxerox/roslyn,wvdd007/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,jmarolf/roslyn,VSadov/roslyn,kelltrick/roslyn,tmat/roslyn,dotnet/roslyn,AnthonyDGreen/roslyn,genlu/roslyn,bkoelman/roslyn,drognanar/roslyn,pdelvo/roslyn,mgoe... |
47948d7b34c860e17d73579ac4ee6e91d69e3506 | osu.Game/Screens/Edit/Verify/VisibilitySection.cs | osu.Game/Screens/Edit/Verify/VisibilitySection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rul... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rul... | Set default for bindable in object initializer | Set default for bindable in object initializer
Fixes the CI failure.
| C# | mit | peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu |
5775743a297272cf58902f036f56c08dba07b517 | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | Xamarin.Forms.Platform.WinRT/WindowsBasePage.cs | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
Windows.UI.Xaml.Applicatio... | using System;
using System.ComponentModel;
using Windows.ApplicationModel;
#if WINDOWS_UWP
namespace Xamarin.Forms.Platform.UWP
#else
namespace Xamarin.Forms.Platform.WinRT
#endif
{
public abstract class WindowsBasePage : Windows.UI.Xaml.Controls.Page
{
public WindowsBasePage()
{
if (!DesignMode.DesignMode... | Fix crash in UWP design mode | Fix crash in UWP design mode
| C# | mit | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms |
777aa5012c1fdba127f7fbac41014eb5a10bba73 | Chq.OAuth/Client.cs | Chq.OAuth/Client.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chq.OAuth.Credentials;
namespace Chq.OAuth
{
public sealed class Client
{
private OAuthContext _context;
public OAuthContext Context
{
get { return _con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chq.OAuth.Credentials;
using System.Reflection;
namespace Chq.OAuth
{
public sealed class Client
{
private OAuthContext _context;
public OAuthContext Context
{
... | Allow parameters for get authorization uri | Allow parameters for get authorization uri
As per 2.2. Resource Owner Authorization: "Servers MAY specify
additional parameters."
Added an overload to GetAuthorizationUri to allow arbitrary query params
to be specified.
| C# | mit | myquay/Chq.OAuth |
60b38b27764bc1de1a6033c86124146b075b533d | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Catch.Scoring
{
internal c... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Ga... | Add the most basic score calculation for catch | Add the most basic score calculation for catch
| C# | mit | peppy/osu,Nabile-Rahmani/osu,DrabWeb/osu,peppy/osu,DrabWeb/osu,ppy/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,naoey/osu,Frontear/osuKyzer,ZLima12/osu,johnneijzen/osu,naoey/osu,peppy/osu-new,NeoAdonis/osu,Drezi126/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,Use... |
44c07c20344a7f7221913c31c7ae6e674b7a8c90 | Frameworks/MQTTnet.AspnetCore/MqttHostedServer.cs | Frameworks/MQTTnet.AspnetCore/MqttHostedServer.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using MQTTnet.Adapter;
using MQTTnet.Diagnostics;
using MQTTnet.Server;
namespace MQTTnet.AspNetCore
{
public class MqttHostedServer : MqttServer, IHostedService
{
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using MQTTnet.Adapter;
using MQTTnet.Diagnostics;
using MQTTnet.Server;
namespace MQTTnet.AspNetCore
{
public class MqttHostedServer : MqttServer, IHostedService
{
... | Fix broken ASP.NET Core integration. | Fix broken ASP.NET Core integration.
| C# | mit | JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet |
054e92521a44baf9784034dd6f10d06b0ab7fa79 | PickupMailViewer/Views/Home/GetMailDetails.cshtml | PickupMailViewer/Views/Home/GetMailDetails.cshtml | @model PickupMailViewer.Models.MailModel
<div>
<div>From: @Model.FromAddress</div>
<div>To: @Model.ToAddress</div>
<div>Sent date: @Html.DisplayFor(m => m.SentOn)</div>
<div>Subject: @Model.Subject</div>
<hr />
<div class="mail-body">@Model.Body</div>
<hr />
@Html.ActionLink("Download ... | @model PickupMailViewer.Models.MailModel
<div>
@Html.ActionLink("Download mail", "DownloadMail", new { mailId = @Model.MailId })
<hr />
<div>From: @Model.FromAddress</div>
<div>To: @Model.ToAddress</div>
<div>Sent date: @Html.DisplayFor(m => m.SentOn)</div>
<div>Subject: @Model.Subject</div>
... | Move the download link to the top | Move the download link to the top
This has the desired side effect that the mail display is not initially scrolled to the bottom, but to the top instead
| C# | mit | jeremycook/PickupMailViewer,jeremycook/PickupMailViewer |
98ed662800c7f8996b0766f112ca740147a3b314 | War/VesselSetter.cs | War/VesselSetter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace War
{
class VesselSetter
{
private List<Vessel> _Vessels;
private int _ProcessorsNumber;
public VesselSetter(List<Instruction> instruc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace War
{
class VesselSetter
{
private List<Vessel> _Vessels;
private int _ProcessorsNumber;
public VesselSetter(List<Instruction> instruc... | Divide Functions of mixing and setting instructions | Divide Functions of mixing and setting instructions
| C# | mit | joshuamataaraya/WarSimulation,joshuamataaraya/WarSimulation |
bab34932ce8f9d981353d6d95005c144fcb3a713 | src/portalbot/Commands/AskModule.cs | src/portalbot/Commands/AskModule.cs | using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace portalbot.Commands
{
public class AskModule : ModuleBase
{
private List<string> _answers = new List<string>
{
"It is certain.",
"It is decidedly s... | using Discord.Commands;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace portalbot.Commands
{
public class AskModule : ModuleBase
{
private List<string> _answers = new List<string>
{
"It is certain.",
"It is decidedly s... | Fix index out of range error | Fix index out of range error
| C# | mit | portaljacker/portalbot |
e2a3b4ae3484f3a9578311f4ea442342ed44d156 | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | using Moq;
using SFA.DAS.EAS.TestCommon.DbCleanup;
using SFA.DAS.EAS.TestCommon.DependencyResolution;
using SFA.DAS.EAS.Web;
using SFA.DAS.EAS.Web.Authentication;
using SFA.DAS.Messaging;
using StructureMap;
using TechTalk.SpecFlow;
namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps
{
[Binding]
... | Change to when the cleardown is invoked | Change to when the cleardown is invoked
Change so that the levy data is cleared after each scenario to avoid
having problems with using the same scheme number in scenarios
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
d0c3318a870e8e86d04cfb5dd6f8a6088610f5e1 | src/Spk.Common.Helpers/Service/ServiceResult.cs | src/Spk.Common.Helpers/Service/ServiceResult.cs | using System.Collections.Generic;
using System.Linq;
using Spk.Common.Helpers.Guard;
namespace Spk.Common.Helpers.Service
{
public class ServiceResult
{
public IEnumerable<string> Errors => _internalErrors;
private readonly List<string> _internalErrors = new List<string>();
public IEnu... | using System.Collections.Generic;
using System.Linq;
using Spk.Common.Helpers.Guard;
namespace Spk.Common.Helpers.Service
{
public class ServiceResult
{
public IEnumerable<string> Errors => _internalErrors;
private readonly List<string> _internalErrors = new List<string>();
public IEnu... | Leverage 'GuardIsNotNullOrWhiteSpace' method instead of 'GuardIsNotNull' | Leverage 'GuardIsNotNullOrWhiteSpace' method instead of 'GuardIsNotNull'
| C# | mit | spektrumgeeks/Spk.Common |
cac575d9b0d2cd3745cb7b3f4c88b0898e195f0e | StyleCopCmd.Core/Generator.cs | StyleCopCmd.Core/Generator.cs | //------------------------------------------------------------------------------
// <copyright
// file="Generator.cs"
// company="Schley Andrew Kutz">
// Copyright (c) Schley Andrew Kutz. All rights reserved.
// </copyright>
// <authors>
// <author>Schley Andrew Kutz</author>
// </authors>
//--------------------... | //------------------------------------------------------------------------------
// <copyright
// file="FileRunner.cs"
// company="enckse">
// Copyright (c) All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace StyleCopCmd.Core
{
/// <su... | Put the wrong header in this file | Put the wrong header in this file
| C# | bsd-3-clause | enckse/StyleCopCmd,enckse/StyleCopCmd |
7fcbf2d8d4dfc8c472f056352ce9bfea82cd3bb2 | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprite... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprite... | Add t=0 display to notes. | Add t=0 display to notes.
| C# | mit | naoey/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,tacchinotacchi/osu,ppy/osu,osu-RP/osu-RP,ppy/osu,EVAST9919/osu,naoey/osu,ZLima12/osu,smoogipooo/osu,DrabWeb/osu,Nabile-Rahmani/osu,johnneijzen/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,Drezi126/osu,naoey/osu... |
fe86ee629ed8b7a7a36eb7048064192cf9584672 | osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.cs | osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.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.IO.Network;
using osu.Game.Beatmaps;
namespace osu.Game.Online.API.Requests
{
public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<Be... | // 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.IO.Network;
using osu.Game.Beatmaps;
namespace osu.Game.Online.API.Requests
{
public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<Be... | Fix temp files from beatmap listing imports not being cleaned up | Fix temp files from beatmap listing imports not being cleaned up
As reported in #12718, it turns out that temporary files from beatmap
set downloads performed via the beatmap listing overlay could remain in
the user's filesystem even after the download has concluded.
The reason for the issue is a failure in component... | C# | mit | ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu |
c986afc43784ccd99143b38f5a00e23581c3ed92 | src/TeamCityApi/UseCases/DeleteClonedBuildChainUseCase.cs | src/TeamCityApi/UseCases/DeleteClonedBuildChainUseCase.cs | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class DeleteClonedBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(DeleteClonedBuildChainUseCase));
private readonl... | using System.Linq;
using System.Threading.Tasks;
using TeamCityApi.Helpers;
using TeamCityApi.Logging;
namespace TeamCityApi.UseCases
{
public class DeleteClonedBuildChainUseCase
{
private static readonly ILog Log = LogProvider.GetLogger(typeof(DeleteClonedBuildChainUseCase));
private readonl... | Tweak delete cloned build chain routine. | Tweak delete cloned build chain routine.
Change to delete leafs first (so it will be easier to restart
delete from root of something fails in the middle)
Also collect all build config ids to separate list before deletion,
to make it easier to inspect and debug what is about to be deleted
| C# | mit | ComputerWorkware/TeamCityApi |
8d654a2151571f42bd271ecfa8ef91872eab565f | Descriptions/AssetDescription.cs | Descriptions/AssetDescription.cs | using System;
using System.Web;
namespace Stampsy.ImageSource
{
public class AssetDescription : IDescription
{
public enum AssetImageKind
{
Thumbnail,
FullResolution
}
public AssetImageKind Kind { get; private set; }
public string AssetUrl { get;... | using System;
using System.Web;
namespace Stampsy.ImageSource
{
public class AssetDescription : IDescription
{
public enum AssetImageKind
{
Thumbnail,
FullResolution
}
public AssetImageKind Kind { get; private set; }
public string AssetUrl { get;... | Rewrite this to be shorter & consistent | Rewrite this to be shorter & consistent
| C# | mit | stampsy/Stampsy.ImageSource |
8e1acb4ada79d0a4d06f5c7f1a481bb55e6c59a0 | Source/Csla.Windows.Shared/ConfigurationExtensions.cs | Source/Csla.Windows.Shared/ConfigurationExtensions.cs | //-----------------------------------------------------------------------
// <copyright file="WebConfiguration.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extension methods for .NET Core configuration</summa... | //-----------------------------------------------------------------------
// <copyright file="WebConfiguration.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Implement extension methods for .NET Core configuration</summa... | Change UseCsla extension method from HostBuilder to IHostBuilder for: !NET40 and !NET45, as its not available for those. | Change UseCsla extension method from HostBuilder to IHostBuilder for:
!NET40 and !NET45, as its not available for those.
| C# | mit | rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla |
7f2e5930f1291de7bcbf43c7b5cebf9589bfdaa4 | Oxide.Core/Libraries/Covalence/IPlayerManager.cs | Oxide.Core/Libraries/Covalence/IPlayerManager.cs | using System.Collections.Generic;
namespace Oxide.Core.Libraries.Covalence
{
/// <summary>
/// Represents a generic player manager
/// </summary>
public interface IPlayerManager
{
#region Player Finding
/// <summary>
/// Gets all players
/// </summary>
/// ... | using System.Collections.Generic;
namespace Oxide.Core.Libraries.Covalence
{
/// <summary>
/// Represents a generic player manager
/// </summary>
public interface IPlayerManager
{
#region Player Finding
/// <summary>
/// Gets all players
/// </summary>
/// ... | Add missing interface for FindPlayerById | [Covalence] Add missing interface for FindPlayerById
| C# | mit | LaserHydra/Oxide,Visagalis/Oxide,Visagalis/Oxide,LaserHydra/Oxide |
639dbd843c0e1c12cfa6846cc66cefed39573693 | src/Glimpse.Agent.Common/Broker/IAgentBroker.cs | src/Glimpse.Agent.Common/Broker/IAgentBroker.cs | using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public interface IAgentBroker
{
IObservable<MessageListenerOptions> Listen<T>();
IObservable<MessageListenerOptions> ListenIncludeLatest<T>();
void SendMessage(object message);
}
} | using System;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public interface IAgentBroker
{
IObservable<MessageListenerOptions> Listen<T>();
IObservable<MessageListenerOptions> ListenIncludeLatest<T>();
IObservable<MessageListenerOptions> ListenAll();
IObservable<M... | Add some extra options to the agent broker interface | Add some extra options to the agent broker interface
| C# | mit | zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototy... |
22b7b521b30532991fbb37fed11d342b6507d646 | Curse.NET/SocketModel/MessageType.cs | Curse.NET/SocketModel/MessageType.cs | namespace Curse.NET.SocketModel
{
public enum RequestType
{
Login = -2101997347,
}
public enum ResponseType
{
UserActivityChange = 1260535191,
ChannelReference = -695526586,
ChatMessage = -635182161,
Login = -815187584,
UnknownChange = 149631008
}
}
// | namespace Curse.NET.SocketModel
{
public enum RequestType
{
Login = -2101997347,
}
public enum ResponseType
{
ChannelStatusChanged = 72981382,
UserActivityChange = 1260535191,
ChannelMarkedRead = -695526586,
ChatMessage = -635182161,
Login = -815187584,
MessageChanged = 149631008,
Unknown1 = 7051... | Add some more message types | Add some more message types
| C# | mit | Baggykiin/Curse.NET |
e6bd7b62a22c5c10e49d761338fc281deb9ff988 | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_ZenDeskWidget.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_ZenDeskWidget.cshtml | @using SFA.DAS.EmployerAccounts.Web.Extensions
<script type="text/javascript">
window.zESettings = {
webWidget: {
contactForm: {
attachments: false
},
chat: {
menuOptions: {
emailTranscript: false
}
... | @using SFA.DAS.EmployerAccounts.Web.Extensions
<script type="text/javascript">
window.zESettings = {
webWidget: {
contactForm: {
attachments: false
},
chat: {
menuOptions: {
emailTranscript: false
}
... | Remove semi-colon as it is being rendered in the UI | Remove semi-colon as it is being rendered in the UI
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
03d04fef8f424982d8b9de15588cf7a72e6b2883 | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserApproveFollowerRequestTests.cs | Source/Tests/TraktApiSharp.Tests/Experimental/Requests/Users/OAuth/TraktUserApproveFollowerRequestTests.cs | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users;
... | namespace TraktApiSharp.Tests.Experimental.Requests.Users.OAuth
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Experimental.Requests.Base.Post.Bodyless;
using TraktApiSharp.Experimental.Requests.Users.OAuth;
using TraktApiSharp.Objects.Get.Users;
... | Add test for authorization requirement in TraktUserApproveFollowerRequest | Add test for authorization requirement in TraktUserApproveFollowerRequest
| C# | mit | henrikfroehling/TraktApiSharp |
90a4d8ea43ddea412025df30aa97a15b2886480d | TTMouseclickSimulator/Core/ToontownRewritten/Actions/MouseHelpers.cs | TTMouseclickSimulator/Core/ToontownRewritten/Actions/MouseHelpers.cs | using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions
{
public class MouseHelpers
{
public static readonly Size ReferenceWindowSize = new Size(1600, 1151);
public static async Task DoSimpleMouseClickAsync(IIn... | using System.Threading.Tasks;
using TTMouseclickSimulator.Core.Environment;
namespace TTMouseclickSimulator.Core.ToontownRewritten.Actions
{
public class MouseHelpers
{
public static readonly Size ReferenceWindowSize = new Size(1600, 1151);
public static async Task DoSimpleMouseClickAsync(IIn... | Reduce the default button down duration to 150 ms. | Reduce the default button down duration to 150 ms.
| C# | mit | TTExtensions/MouseClickSimulator |
00c14eaa111fc80f1f24136241db0c3fbc38b139 | Assets/Microgames/YuukaWater/Scripts/YuukaWaterWaterdrop.cs | Assets/Microgames/YuukaWater/Scripts/YuukaWaterWaterdrop.cs |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NitorInc.Utility;
namespace NitorInc.YuukaWater {
public class YuukaWaterWaterdrop : MonoBehaviour {
public float scaleSpeed = 1.0f;
public GameObject sprayEffect;
Rigidbody2D rigid;
private V... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NitorInc.Utility;
namespace NitorInc.YuukaWater {
public class YuukaWaterWaterdrop : MonoBehaviour {
public float scaleSpeed = 1.0f;
public GameObject sprayEffect;
Rigidbody2D rigid;
private V... | Fix YuukaWater drop creating errors on contact | Fix YuukaWater drop creating errors on contact
| C# | mit | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare |
4de785ad26fd44fa26ee753cc8f883f607fe6ac6 | src/app/Program.cs | src/app/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
using NLog;
namespace HelloWorldApp
{
public class Program
{
// Entry point for the application.
public static void Main(string[] args)
{
SetupNLog();
var host = new WebHostBuilder()
.UseKestre... | using System.IO;
using Microsoft.AspNetCore.Hosting;
using NLog;
namespace HelloWorldApp
{
public class Program
{
// Entry point for the application.
public static void Main(string[] args)
{
SetupNLog();
var host = new WebHostBuilder()
.UseKestre... | Adjust locations where to look for wwwroot. | Adjust locations where to look for wwwroot.
| C# | mit | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr |
df8f07bc3c6123434da1495bf354cfd22b469be9 | BaskervilleWebsite/Baskerville.App/Global.asax.cs | BaskervilleWebsite/Baskerville.App/Global.asax.cs | using AutoMapper;
using Baskerville.App.App_Start;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Baskerville.App
{
public class MvcApplication : HttpApplication
... | using AutoMapper;
using Baskerville.App.App_Start;
using Baskerville.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Baskerville.App
{
public class MvcAppl... | Update mapping config with service profile. | Update mapping config with service profile.
| C# | apache-2.0 | MarioZisov/Baskerville,MarioZisov/Baskerville,MarioZisov/Baskerville |
30037ef61b9d91a8ba9f624a6dc8e7e6d7141310 | Exercism/csharp/circular-buffer/CircularBuffer.cs | Exercism/csharp/circular-buffer/CircularBuffer.cs | using System;
using System.Collections.Generic;
public class CircularBuffer<T>
{
private readonly Queue<T> _buffer;
private readonly int _capacity;
public CircularBuffer(int capacity)
{
_buffer = new Queue<T>(capacity);
_capacity = capacity;
}
public T Read()
{
ret... | using System;
using System.Collections.Generic;
public class CircularBuffer<T>
{
private readonly Queue<T> _buffer;
private readonly int _capacity;
public CircularBuffer(int capacity)
{
_buffer = new Queue<T>(capacity);
_capacity = capacity;
}
public T Read() => _buffer.Dequeu... | Use Expression-bodied members and never execeeds its capacity | Use Expression-bodied members and never execeeds its capacity
| C# | mit | neiesc/Problem-solving,neiesc/Problem-solving,neiesc/Problem-solving,neiesc/Problem-solving |
810d0cf289a92bdc4d5166f43233f0d43af2df56 | src/MongoFramework/Infrastructure/Mapping/Processors/IndexProcessor.cs | src/MongoFramework/Infrastructure/Mapping/Processors/IndexProcessor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using MongoDB.Bson.Serialization;
using MongoFramework.Attributes;
namespace MongoFramework.Infrastructure.Mapping.Processors
{
public class IndexProcessor : IMappingProcessor
{
public void ApplyMapping(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using MongoDB.Bson.Serialization;
using MongoFramework.Attributes;
namespace MongoFramework.Infrastructure.Mapping.Processors
{
public class IndexProcessor : IMappingProcessor
{
public void ApplyMapping(... | Index processor to store result, not enumerable, on definition | Index processor to store result, not enumerable, on definition
| C# | mit | TurnerSoftware/MongoFramework |
15060cceac3e9683efb44312ac8ecfa4b03828e0 | IdentityServer3.Shaolinq/DataModel/DbScope.cs | IdentityServer3.Shaolinq/DataModel/DbScope.cs | using System;
using Platform.Validation;
using Shaolinq;
namespace IdentityServer3.Shaolinq.DataModel
{
[DataAccessObject(Name = "Scope")]
public abstract class DbScope : DataAccessObject<Guid>
{
[PersistedMember]
public abstract bool Enabled { get; set; }
[PersistedMember]
[ValueRequired]
[SizeConstrain... | using System;
using IdentityServer3.Core.Models;
using Platform.Validation;
using Shaolinq;
namespace IdentityServer3.Shaolinq.DataModel
{
[DataAccessObject(Name = "Scope")]
public abstract class DbScope : DataAccessObject<Guid>
{
[PersistedMember]
public abstract bool Enabled { get; set; }
[PersistedMember]... | Use enum for scope type | Use enum for scope type
| C# | mit | samcook/IdentityServer3.Shaolinq |
b1286cfbde270e3792191c9240c429d991c2a742 | src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/Properties/AssemblyInfo.cs | src/ResourceManagement/Resource/Microsoft.Azure.ResourceManager/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | //
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | Update ARM assembly and file version to 2.0.0 | Update ARM assembly and file version to 2.0.0
| C# | mit | r22016/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,samtoubia/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,pilor/azure-sdk-for-net,peshen/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,samtoubia/azure-sdk-for-net,btasdoven/azure-sdk-fo... |
6c313f436c1a95d25fd12bbaf3d35713a80c5f6f | WeightedOffsetBlend/WeightedOffsetBlend/Plugin.cs | WeightedOffsetBlend/WeightedOffsetBlend/Plugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using PEPlugin;
namespace WeightedOffsetBlend
{
public class Plugin : PEPluginClass
{
private static MainForm FormInstance { get; set; }
public override string Name
{
get { return "重み付きオフセット付加"; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using PEPlugin;
namespace WeightedOffsetBlend
{
public class Plugin : PEPluginClass
{
private static MainForm FormInstance { get; set; }
public override string Name
{
get { return "重み付きオフセット付加"; }
... | Fix showing window at boot | Fix showing window at boot
| C# | mit | paralleltree/PmXEditorPlugins |
dff1a03f62bb6614171d46a1bdabee61a76938bf | Source/MSBuild.Community.Tasks/Properties/AssemblyInfo.cs | Source/MSBuild.Community.Tasks/Properties/AssemblyInfo.cs |
// Copyright © 2006 Paul Welter
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 assem... |
// Copyright © 2006 Paul Welter
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 assem... | Update the argument of the InternalsVisibleTo attribute. | Update the argument of the InternalsVisibleTo attribute.
| C# | bsd-2-clause | loresoft/msbuildtasks |
689c9797aa03dc23692f0364a7de697d1f8220e1 | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/MaintainabilityRules/SA1400CSharp7UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using StyleCop.Analyzers.Test.MaintainabilityRules;
public class ... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.MaintainabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using St... | Add SA1400 test for local functions | Add SA1400 test for local functions
| C# | mit | DotNetAnalyzers/StyleCopAnalyzers |
5decce1a78b37f89367ddef29d6ca24c772614f6 | apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1.Snippets/ClusterManagerClientSnippets.cs | apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1.Snippets/ClusterManagerClientSnippets.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 applic... | // 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 applic... | Use a location name in ClusterManagerClient snippet | fix: Use a location name in ClusterManagerClient snippet
(This avoids calling a now-deprecated method.)
| C# | apache-2.0 | jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet |
0962379b926cd6bb1d9f2c4ec88b28e76d2433e4 | Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs | Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs | using System;
namespace Clarius.TransformOnBuild.MSBuild.Task
{
public class TransformOnBuildTask : Microsoft.Build.Utilities.Task
{
public override bool Execute()
{
throw new NotImplementedException();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Build.Execution;
namespace Clarius.TransformOnBuild.MSBuild.Task
{
public class TransformOnBuildTask : Microsoft.Build.Utilities.Task
{
private ProjectInstance _projectInstance;
... | Move GetProjectInstance to the task | Move GetProjectInstance to the task
| C# | apache-2.0 | clariuslabs/TransformOnBuild |
8227f6f3c01b71753c9bc5946aad15480cdd62ca | src/DotVVM.Samples.Common/ViewModels/ControlSamples/CheckBox/CheckedItemsRepeaterViewModel.cs | src/DotVVM.Samples.Common/ViewModels/ControlSamples/CheckBox/CheckedItemsRepeaterViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.CheckBox
{
public class CheckedItemsRepeaterViewModel
{
public Outer Data { get; set; }
public class Outer
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.CheckBox
{
public class CheckedItemsRepeaterViewModel
{
public Outer Data { get; set; } = new Outer();
public cla... | Make the sample actually test the issue | Make the sample actually test the issue
...this time for reals
| C# | apache-2.0 | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm |
5692e69cd590274fcc5f5080f5a220a9b06fb273 | Battery-Commander.Web/Controllers/AdminController.cs | Battery-Commander.Web/Controllers/AdminController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Admin Tasks:
... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize, ApiExplorerSettings(IgnoreApi = true)]
public class AdminController : Controller
{
// Ad... | Add endpoint for getting log files | Add endpoint for getting log files
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
a132708971d347e82db76443257ec0334ed50e38 | HospitalAutomation.GUI/Program.cs | HospitalAutomation.GUI/Program.cs | using System;
using System.Windows.Forms;
namespace HospitalAutomation.GUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | using System;
using System.Windows.Forms;
namespace HospitalAutomation.GUI
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
... | Set login screen as main | Set login screen as main
| C# | apache-2.0 | OrganizeSanayi/HospitalAutomation |
b4e81f33d74677fcacce72e5c994ed054856c92f | source/FFImageLoading.Touch/Extensions/UnitsExtensions.cs | source/FFImageLoading.Touch/Extensions/UnitsExtensions.cs | using System;
using UIKit;
namespace FFImageLoading.Extensions
{
public static class UnitsExtensions
{
private static nfloat _screenScale;
static UnitsExtensions()
{
UIScreen.MainScreen.InvokeOnMainThread(() =>
{
_screenScale = _screenScale;
});
}
public static int PointsToPixels(this do... | using System;
using UIKit;
namespace FFImageLoading.Extensions
{
public static class UnitsExtensions
{
private static nfloat _screenScale;
static UnitsExtensions()
{
UIScreen.MainScreen.InvokeOnMainThread(() =>
{
_screenScale = UIScreen.MainScreen.Scale;
});
}
public static int PointsToP... | Fix bug introduced with commit about screen scale | Fix bug introduced with commit about screen scale
| C# | mit | molinch/FFImageLoading,kalarepa/FFImageLoading,petlack/FFImageLoading,daniel-luberda/FFImageLoading,luberda-molinet/FFImageLoading,AndreiMisiukevich/FFImageLoading |
4b6f23537e1ce7704859bbd23be8fa7ae54b9378 | TwitchPlaysAssembly/Src/Commands/HoldableCommands.cs | TwitchPlaysAssembly/Src/Commands/HoldableCommands.cs | using System.Collections;
/// <summary>Contains commands for holdables (including the freeplay case and the missions binder).</summary>
public static class HoldableCommands
{
#region Commands
[Command("help")]
public static bool Help(TwitchHoldable holdable, string user, bool isWhisper) => holdable.PrintHelp(user,... | using System.Collections;
/// <summary>Contains commands for holdables (including the freeplay case and the missions binder).</summary>
public static class HoldableCommands
{
#region Commands
[Command("help")]
public static bool Help(TwitchHoldable holdable, string user, bool isWhisper) => holdable.PrintHelp(user,... | Add default handlers for built in holdables | Add default handlers for built in holdables
* Freeplay / Binder / Alarm clock / IRC Manager no longer responds with
"Sorry @{user}, this holdable is not supported by Twitch Plays."
whenever an invalid command is entered.
| C# | mit | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays |
07289e780113da8656d18c49c17656bd834fc784 | Assets/Editor/PlayerPrefsEditor.cs | Assets/Editor/PlayerPrefsEditor.cs | using UnityEditor;
using UnityEngine;
public class PlayerPrefsEditor {
[MenuItem("Tools/PlayerPrefs/DeleteAll")]
static void DeleteAll(){
PlayerPrefs.DeleteAll();
Debug.Log("Delete All Data Of PlayerPrefs!!");
}
}
| using UnityEditor;
using UnityEngine;
public class PlayerPrefsEditor : EditorWindow {
string stringKey = "";
string intKey = "";
string floatKey = "";
[MenuItem("Tools/PlayerPrefs/DeleteAll")]
static void DeleteAll(){
PlayerPrefs.DeleteAll();
Debug.Log("Delete All Data Of PlayerP... | Add PlayerPrefs Value Search Func | Add PlayerPrefs Value Search Func
| C# | mit | sanukin39/unity-player-prefs-editor |
cc720587e7ae11ecf538ab9570c2c21110f8bdf6 | tests/NugetAuditor.Tests/NugetAuditorLibTests.cs | tests/NugetAuditor.Tests/NugetAuditorLibTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NugetAuditor;
namespace NugetAuditor.Tests
{
[TestClass]
public class NugetAuditorLibTests
{
[TestMethod]
public void CanAuditFiles()
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NugetAuditor;
namespace NugetAuditor.Tests
{
[TestClass]
public class NugetAuditorLibTests
{
[TestMethod]
public void CanAuditFiles()
{
... | Use correct Lib call in tests. | Use correct Lib call in tests.
| C# | bsd-3-clause | OSSIndex/audit.net,OSSIndex/audit.net |
de634a1db7c5948e2a9baf2e2da94da97665e350 | NBi.Core/Scalar/Presentation/DateTimePresenter.cs | NBi.Core/Scalar/Presentation/DateTimePresenter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Scalar.Presentation
{
public class DateTimePresenter : BasePresenter
{
protected override string PresentNotNull(object value)
{
... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Core.Scalar.Presentation
{
public class DateTimePresenter : BasePresenter
{
protected override string PresentNotNull(object value)
{
... | Fix display issue for dateTime cells | Fix display issue for dateTime cells
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
befef8000216ef894c7d9ac75920c5fa72d7e2fb | CertiPay.Common.Notifications/Notifications/ISMSService.cs | CertiPay.Common.Notifications/Notifications/ISMSService.cs | using CertiPay.Common.Logging;
using System;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background processing.
/// </remarks... | using CertiPay.Common.Logging;
using System;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background processing.
/// </remarks... | Include context in SMSService sending | Include context in SMSService sending
| C# | mit | mattgwagner/CertiPay.Common |
f55a80844226af506593fe757330ec0143791105 | src/Models/Device.cs | src/Models/Device.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
namespace Wangkanai.Detection.Models
{
[Flags]
public enum Device
{
Desktop = 0, // Windows, Mac, Linux
Tablet = 1 << 0, //... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
namespace Wangkanai.Detection.Models
{
[Flags]
public enum Device
{
Desktop = 0, // Windows, Mac, Linux
Tablet = 1 << 0, //... | Add Smart Watch to device | Add Smart Watch to device | C# | apache-2.0 | wangkanai/Detection |
990fa53bf04f8c5e88d2740ac5c1af43d543d5e6 | T4TS/Traversal/ProjectTraverser.cs | T4TS/Traversal/ProjectTraverser.cs | using EnvDTE;
using System;
using System.Linq;
namespace T4TS
{
public class ProjectTraverser
{
public Action<CodeNamespace> WithNamespace { get; private set; }
public ProjectTraverser(Project project, Action<CodeNamespace> withNamespace)
{
if (project == null)
... | using EnvDTE;
using System;
using System.Linq;
namespace T4TS
{
public class ProjectTraverser
{
public Action<CodeNamespace> WithNamespace { get; private set; }
public ProjectTraverser(Project project, Action<CodeNamespace> withNamespace)
{
if (project == null)
... | Add processing projects in solution folders | Add processing projects in solution folders
| C# | apache-2.0 | lionsoft/t4ts,lionsoft/t4ts |
42a6191adb825aef797f902e34854d81081e5296 | src/console/AssemblyInfo.cs | src/console/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Security.Permissions;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("2.4.2.7")]
[assembly: AssemblyTitle("Python Console")]
[assembly: AssemblyDefaultAlias("python.exe")]
[assem... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Security.Permissions;
[assembly: AssemblyProduct("Python for .NET")]
[assembly: AssemblyVersion("2.4.2.7")]
[assembly: AssemblyTitle("Python Console")]
[assembly: AssemblyDefaultAlias("python.exe")]
[assem... | Remove obsoleted & Unenforced PermissionSet | Remove obsoleted & Unenforced PermissionSet
See: http://stackoverflow.com/questions/11625447/securityaction-requestminimum-is-obsolete-in-net-4-0
| C# | mit | denfromufa/pythonnet,AlexCatarino/pythonnet,AlexCatarino/pythonnet,yagweb/pythonnet,dmitriyse/pythonnet,pythonnet/pythonnet,AlexCatarino/pythonnet,denfromufa/pythonnet,dmitriyse/pythonnet,vmuriart/pythonnet,Konstantin-Posudevskiy/pythonnet,vmuriart/pythonnet,QuantConnect/pythonnet,Konstantin-Posudevskiy/pythonnet,pytho... |
dce85ed1ee6f600c71cb3803b8dde059166a028c | Source/Machine.Fakes.Adapters.NSubstitute/NSubstituteMethodCallOccurance.cs | Source/Machine.Fakes.Adapters.NSubstitute/NSubstituteMethodCallOccurance.cs | using System;
using System.Diagnostics;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Machine.Fakes.Sdk;
using NSubstitute;
namespace Machine.Fakes.Adapters.NSubstitute
{
internal class NSubstituteMethodCallOccurance<TFake> : IMethodCallOccurance where TFake : class
{
... | using System;
using System.Linq;
using System.Linq.Expressions;
using Machine.Fakes.Sdk;
using NSubstitute;
using NSubstitute.Exceptions;
namespace Machine.Fakes.Adapters.NSubstitute
{
internal class NSubstituteMethodCallOccurance<TFake> : IMethodCallOccurance where TFake : class
{
private readonly TF... | Change default exception to CallNotReceivedException and CallReceivedException in NSubtitute adapter. | Change default exception to CallNotReceivedException and CallReceivedException in NSubtitute adapter.
| C# | mit | machine/machine.fakes,machine/machine.fakes |
7fa863b241212f4472cb5847ef6f2a51dfec97f0 | DesktopWidgets/Helpers/AboutHelper.cs | DesktopWidgets/Helpers/AboutHelper.cs | using System.Text;
using DesktopWidgets.Classes;
using DesktopWidgets.Properties;
namespace DesktopWidgets.Helpers
{
public static class AboutHelper
{
public static string AboutText
{
get
{
var stringBuilder = new StringBuilder();
string... | using System.Collections.Generic;
using System.Linq;
using System.Text;
using DesktopWidgets.Classes;
using DesktopWidgets.Properties;
namespace DesktopWidgets.Helpers
{
public static class AboutHelper
{
public static string AboutText
{
get
{
var stringB... | Add library credits to "About" text | Add library credits to "About" text
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
db0c365bc2dc3ffc1933b58620df2584530189f4 | Assets/Scripts/ClipPlane.cs | Assets/Scripts/ClipPlane.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ClipPlane : MonoBehaviour
{
// input objects
public Slider slider;
public Material clipPlaneMaterial;
// private objects
private Renderer cube;
private float clipX;
void Star... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ClipPlane : MonoBehaviour
{
// input objects
public Slider slider;
public Material clipPlaneMaterial;
// private objects
private Renderer cube;
private float clipX;
void Star... | Fix nullreference when try to call disabled component | Fix nullreference when try to call disabled component
| C# | mit | NataliaDSmirnova/CGAdvanced2017 |
02b557e3900ee347f4f4b236cd8202413cfd9afc | CreateXMLFile/Program.cs | CreateXMLFile/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes.txt";
Dictionary<string, string> dicoQuotes = new Dictionary<string, string>();
List<string> quotesList ... | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes-cleaned.txt";
const string XmlFileName = "quotes-XML.txt";
Dictionary<string, string> dicoQuotes = new D... | Add code to create XML file | Add code to create XML file
| C# | mit | fredatgithub/GetQuote |
c19681c914cbcc99b4211aff21d03c14716327b7 | ESISharp/Path/Character/Wallet.cs | ESISharp/Path/Character/Wallet.cs | using ESISharp.Web;
namespace ESISharp.ESIPath.Character
{
/// <summary>Authenticated Character Wallet paths</summary>
public class CharacterWallet
{
protected ESIEve EasyObject;
internal CharacterWallet(ESIEve EasyEve)
{
EasyObject = EasyEve;
}
/// <s... | using ESISharp.Web;
namespace ESISharp.ESIPath.Character
{
/// <summary>Authenticated Character Wallet paths</summary>
public class CharacterWallet
{
protected ESIEve EasyObject;
internal CharacterWallet(ESIEve EasyEve)
{
EasyObject = EasyEve;
}
/// <s... | Add wallet journal and transaction endpoints. | Add wallet journal and transaction endpoints.
| C# | mit | wranders/ESISharp |
2f251be9bd91aa39f0bb5df453801444f18b4bdc | App/StackExchange.DataExplorer/Models/Query.cs | App/StackExchange.DataExplorer/Models/Query.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StackExchange.DataExplorer.Helpers;
using System.Text;
namespace StackExchange.DataExplorer.Models {
public partial class Query {
public string BodyWithoutComments {
get {
P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StackExchange.DataExplorer.Helpers;
using System.Text;
namespace StackExchange.DataExplorer.Models {
public partial class Query {
public string BodyWithoutComments {
get {
P... | Clean up ToComment so it handles a few edge cases a bit better | Clean up ToComment so it handles a few edge cases a bit better
| C# | mit | SamSaffron/DataExplorerPG,SamSaffron/DataExplorerPG,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer |
e66f4a6616edf66f5c3735057213a3a24dca8424 | Source/Tests/RangeIt.Tests/Ranges/Range_Ints_Tests.cs | Source/Tests/RangeIt.Tests/Ranges/Range_Ints_Tests.cs | namespace RangeIt.Tests.Ranges
{
using FluentAssertions;
using RangeIt.Ranges;
using Xunit;
[Collection("Range.Ints.Tests")]
public class Range_Ints_Tests
{
[Fact]
public void Test_Range_Ints()
{
var range = Range.Ints(10);
range.Should().NotBeN... | namespace RangeIt.Tests.Ranges
{
using FluentAssertions;
using RangeIt.Ranges;
using Xunit;
[Collection("Range.Ints.Tests")]
public class Range_Ints_Tests
{
[Fact]
public void Test_Range_Ints()
{
var range = Range.Ints(10);
range.Should().NotBeN... | Add new test case for Range.Ints() | Add new test case for Range.Ints()
| C# | mit | henrikfroehling/RangeIt |
dc7e6da36f6d7dea97da811ac22d56adab389ea4 | ChildProcessUtil/Program.cs | ChildProcessUtil/Program.cs | using System;
using System.Collections.Generic;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] args)
{
... | using System;
using System.Collections.Generic;
using System.Threading;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] ar... | Change StartServer signature to take mainprocess's id as parameter | Change StartServer signature to take mainprocess's id as parameter
| C# | mit | ramik/ChildProcessUtil |
7f37e810e2489b059ee2b52997e9655711b33012 | PinSharp/Api/PathBuilder.cs | PinSharp/Api/PathBuilder.cs | using System.Linq;
namespace PinSharp.Api
{
internal class PathBuilder
{
public static string BuildPath(string basePath, RequestOptions options)
{
var path = basePath;
if (!path.EndsWith("/"))
path += "/";
if (options?.SearchQuery != null)
... | using System.Linq;
namespace PinSharp.Api
{
internal class PathBuilder
{
public static string BuildPath(string basePath, RequestOptions options)
{
var path = basePath;
if (!path.EndsWith("/"))
path += "/";
if (options?.SearchQuery != null)
... | Rearrange query string parameters limit and cursor | Rearrange query string parameters limit and cursor
| C# | unlicense | Krusen/PinSharp |
c8fb0f1df3a3e8f5788bcff8f54900e8bec5d2a2 | src/ControlzEx/Internal/SelectorAutomationPeerExtensions.cs | src/ControlzEx/Internal/SelectorAutomationPeerExtensions.cs | namespace ControlzEx.Internal
{
using System.Reflection;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
internal static class SelectorAutomationPeerExtensions
{
private static readonly MethodInfo RaiseSelectionEventsMethodInfo = typeof(SelectorAutomationPeer).GetMeth... | namespace ControlzEx.Internal
{
using System.Reflection;
using System.Windows.Automation.Peers;
using System.Windows.Controls;
internal static class SelectorAutomationPeerExtensions
{
private static readonly MethodInfo RaiseSelectionEventsMethodInfo = typeof(SelectorAutomationPeer).GetMeth... | Fix wrong method info for RaiseSelectionEvents | TabControlEx: Fix wrong method info for RaiseSelectionEvents
Fix getting the wrong method info for RaiseSelectionEvents.
| C# | mit | punker76/Controlz,ControlzEx/ControlzEx |
6377e565fb206c5d2a524d17a8940f880bebc143 | osu.Framework/Allocation/AsyncDisposalQueue.cs | osu.Framework/Allocation/AsyncDisposalQueue.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace osu.Framework.Allocation
{
/// <summary>
/// A queue which batches object... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using osu.Framework.Statistics;
namespace osu.Framework.Allocation
{
/// <summary>
... | Add last disposed drawable to global statistics | Add last disposed drawable to global statistics
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework |
760f7d02d9f757fb47002a4ea1c2b34699ccca84 | osu.Game/Graphics/UserInterface/HoverSounds.cs | osu.Game/Graphics/UserInterface/HoverSounds.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using ... | Remove AlwaysPresent (not actually required) | Remove AlwaysPresent (not actually required)
| C# | mit | smoogipoo/osu,smoogipoo/osu,ZLima12/osu,DrabWeb/osu,2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,peppy/osu,smoogipooo/osu,naoey/osu,ppy/osu,Nabile-Rahmani/... |
419c0a6659f8cad2c2dd5e89c0fc27cc88425638 | Hearts/Extensions/CardListExtensions.cs | Hearts/Extensions/CardListExtensions.cs | using Hearts.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using Hearts.Scoring;
namespace Hearts.Extensions
{
public static class CardListExtensions
{
public static void Log(this IEnumerable<Card> self, string name)
{
int padToLength = 38;
L... | using Hearts.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using Hearts.Scoring;
namespace Hearts.Extensions
{
public static class CardListExtensions
{
public static void Log(this IEnumerable<Card> self, string name)
{
int padToLength = 38;
L... | Refactor to use card extensions | Refactor to use card extensions
| C# | mit | Dootrix/Hearts |
e01102543fb7278468f6a65ffcc6026449f3b712 | Source/ParserTests/ParserTests.cs | Source/ParserTests/ParserTests.cs | using NUnit.Framework;
using Pash.ParserIntrinsics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ParserTests
{
[TestFixture]
public class ParserTests
{
[Test]
public void IfTest()
{
var parseTree = PowerShellGrammar.Par... | using NUnit.Framework;
using Pash.ParserIntrinsics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ParserTests
{
[TestFixture]
public class ParserTests
{
[Test]
[TestCase(@"if ($true) {} else {}")]
[TestCase(@"if ($true) {} elseif ($... | Use `TestCase` attribute in parser tests. | TEST: Use `TestCase` attribute in parser tests.
| C# | bsd-3-clause | mrward/Pash,sburnicki/Pash,mrward/Pash,Jaykul/Pash,Jaykul/Pash,sburnicki/Pash,JayBazuzi/Pash,ForNeVeR/Pash,Jaykul/Pash,ForNeVeR/Pash,Jaykul/Pash,JayBazuzi/Pash,mrward/Pash,WimObiwan/Pash,ForNeVeR/Pash,mrward/Pash,WimObiwan/Pash,ForNeVeR/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,sburnicki/Pash,sillvan/Pash,JayBazuzi... |
8b14068712528e1253ff1d46d07656c4926109f9 | src/FrontEnd/Pages/Session.cshtml | src/FrontEnd/Pages/Session.cshtml | @page "{id}"
@model SessionModel
<ol class="breadcrumb">
<li><a asp-page="/Index">Agenda</a></li>
<li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li>
<li class="active">@Model.Session.Title</li>
</ol>
<h1>@Model.Session.Title</h1>
<span class="label label-default"... | @page "{id}"
@model SessionModel
<ol class="breadcrumb">
<li><a asp-page="/Index">Agenda</a></li>
<li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li>
<li class="active">@Model.Session.Title</li>
</ol>
<h1>@Model.Session.Title</h1>
<span class="label label-default"... | Fix icons on session details page | Fix icons on session details page
| C# | mit | anurse/ConferencePlanner,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,anurse/ConferencePlanner,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,jongalloway/aspnetcore-app-... |
2d3a06c450df5497971dca020ac922ae633bbec8 | Winston.Test/DebuggerShim.cs | Winston.Test/DebuggerShim.cs | using System.Linq;
using System.Reflection;
using NSpec;
using NSpec.Domain;
using NSpec.Domain.Formatters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/*
* Howdy,
*
* This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run
* NSpec tests that are in the sa... | using System.Linq;
using System.Reflection;
using NSpec;
using NSpec.Domain;
using NSpec.Domain.Formatters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/*
* Howdy,
*
* This is NSpec's DebuggerShim. It will allow you to use TestDriven.Net or Resharper's test runner to run
* NSpec tests that are in the sa... | Rename test shim method name | Rename test shim method name
Give it a more friendly name than "debug" so test output at least makes
sense
| C# | mit | mattolenik/winston,mattolenik/winston,mattolenik/winston |
000c288f83ba2114cdc6ec0d335c33de438c4296 | src/Swashbuckle.AspNetCore.SwaggerUi/Application/SwaggerUiBuilderExtensions.cs | src/Swashbuckle.AspNetCore.SwaggerUi/Application/SwaggerUiBuilderExtensions.cs | using System;
using System.Reflection;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.FileProviders;
using Swashbuckle.AspNetCore.SwaggerUi;
namespace Microsoft.AspNetCore.Builder
{
public static class SwaggerUiBuilderExtensions
{
public static IApplicationBuilder UseSwaggerUi(
... | using System;
using System.Reflection;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.FileProviders;
using Swashbuckle.AspNetCore.SwaggerUi;
namespace Microsoft.AspNetCore.Builder
{
public static class SwaggerUiBuilderExtensions
{
public static IApplicationBuilder UseSwaggerUi(
... | Update EmbeddedFileProvider to reflect project name change | Update EmbeddedFileProvider to reflect project name change
| C# | mit | oconics/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,oconics/Ahoy,domaindrivendev/Ahoy |
0dce155f59cad97e448eb2e2f7aa51d2e8f2302a | Framework/Lokad.Cqrs.Portable/Feature.StreamingStorage/StreamingWriteOptions.cs | Framework/Lokad.Cqrs.Portable/Feature.StreamingStorage/StreamingWriteOptions.cs | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
namespace Lokad.Cqrs.Feature.StreamingStorage
{
[Flags]
public e... | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
namespace Lokad.Cqrs.Feature.StreamingStorage
{
[Flags]
public e... | Drop unused streaming write option. | Drop unused streaming write option.
| C# | bsd-3-clause | modulexcite/lokad-cqrs |
b6b131a16531ef5322127358454ed1e0d07d34a3 | src/Library.Test/NullTests.cs | src/Library.Test/NullTests.cs | #region Copyright and license
// // <copyright file="NullTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not ... | #region Copyright and license
// // <copyright file="NullTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not ... | Improve naming of tests to clearly indicate the feature to be tested | Improve naming of tests to clearly indicate the feature to be tested
| C# | apache-2.0 | oliverzick/Delizious-Filtering |
182945a209fcd6b05c1829e21b983b0890072f06 | tests/cs/extension-methods/ExtensionMethods.cs | tests/cs/extension-methods/ExtensionMethods.cs | using System;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
public static class Program
{
public static void... | using System;
using System.Collections.Generic;
using System.Linq;
public class Herp
{
public Herp(int X)
{
this.X = X;
}
public int X { get; private set; }
}
public static class HerpExtensions
{
public static void PrintX(this Herp Value)
{
Console.WriteLine(Value.X);
}
}
... | Update the extension method test case | Update the extension method test case
| C# | mit | jonathanvdc/ecsc |
9a62b3653f335f4e066b4dc542cd45aaf1a9a41f | WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs | using System;
using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class DialogScreenViewModel : ViewModelBase, IScreen
{
private bool _isClosing;
private bool _isDialogVisible;
public DialogScreenView... | using System;
using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class DialogScreenViewModel : ViewModelBase, IScreen
{
private bool _isClosing;
private bool _isDialogVisible;
public DialogScreenView... | Set dialog flag as Router.NavigationStack.CollectionChanged observable in blocked by _isClosing | Set dialog flag as Router.NavigationStack.CollectionChanged observable in blocked by _isClosing
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
a1dd09b877fad5a23c328cffa6d3ed5a978cb327 | kh.tools.imgz/Models/ImageModel.cs | kh.tools.imgz/Models/ImageModel.cs | using kh.kh2;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Xe.Tools;
using Xe.Tools.Wpf;
namespace kh.tools.imgz.Models
{
public class ImageModel : BaseNotifyPropertyChanged
{
private Imgd imgd;
public ImageModel(Imgd imgd)
{
Imgd = imgd;
}
public Imgd Imgd
{
get => imgd... | using kh.Imaging;
using kh.kh2;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Xe.Tools;
using Xe.Tools.Wpf;
namespace kh.tools.imgz.Models
{
public class ImageModel : BaseNotifyPropertyChanged
{
private Imgd imgd;
public ImageModel(Imgd imgd)
{
Imgd = imgd;
}
public Imgd Imgd
... | Fix compilation error on kh.tools.imgz | Fix compilation error on kh.tools.imgz
| C# | mit | Xeeynamo/KingdomHearts |
1e617a8e0bcad09c7a2d385ab9a0d593419dd00c | Gherkin.AstGenerator/Program.cs | Gherkin.AstGenerator/Program.cs | using System;
using System.Linq;
namespace Gherkin.AstGenerator
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature");
return 1... | using System;
using System.Linq;
namespace Gherkin.AstGenerator
{
class Program
{
static int Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Usage: Gherkin.AstGenerator.exe test-feature-file.feature");
return 1... | Print to STDOUT - 2> is broken on Mono/OS X | Print to STDOUT - 2> is broken on Mono/OS X
| C# | mit | chebizarro/gherkin3,curzona/gherkin3,vincent-psarga/gherkin3,SabotageAndi/gherkin,SabotageAndi/gherkin,amaniak/gherkin3,dg-ratiodata/gherkin3,SabotageAndi/gherkin,chebizarro/gherkin3,curzona/gherkin3,hayd/gherkin3,chebizarro/gherkin3,Zearin/gherkin3,araines/gherkin3,amaniak/gherkin3,dirkrombauts/gherkin3,thetutlage/ghe... |
375dad087837ba6156be5ec629b0a370c19c7891 | osu.Game.Rulesets.Mania/Judgements/ManiaJudgement.cs | osu.Game.Rulesets.Mania/Judgements/ManiaJudgement.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.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class ManiaJudgement : Judgement
{
... | // 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.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Judgements
{
public class ManiaJudgement : Judgement
{
... | Increase PERFECT from 320 to 350 score | Increase PERFECT from 320 to 350 score
| C# | mit | NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,ppy/osu |
7b7458b7668d0a599391846fab3ce0579d2322b6 | Src/ClojSharp.Core/Forms/Seq.cs | Src/ClojSharp.Core/Forms/Seq.cs | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Seq : BaseUnaryForm
{
public override object EvaluateForm(IContext context, IL... | namespace ClojSharp.Core.Forms
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Seq : BaseUnaryForm
{
public override object EvaluateForm(IContext context, IL... | Refactor seq for empty vectors | Refactor seq for empty vectors
| C# | mit | ajlopez/ClojSharp |
25623b8bbffd5e0223f43352c0406b29ee9beaea | src/Framework/Razor/Web/Mvc/ContentWebViewPageOfT.cs | src/Framework/Razor/Web/Mvc/ContentWebViewPageOfT.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace N2.Web.Mvc
{
/// <remarks>This code is here since it has dependencies on ASP.NET 3.0 which isn't a requirement for N2 in general.</remarks>
public abstract class ContentWebViewPage<TModel> :... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace N2.Web.Mvc
{
/// <remarks>This code is here since it has dependencies on ASP.NET 3.0 which isn't a requirement for N2 in general.</remarks>
public abstract class ContentWebViewPage<TModel> :... | Enable use of value types as for models. | Enable use of value types as for models.
| C# | lgpl-2.1 | EzyWebwerkstaden/n2cms,nimore/n2cms,bussemac/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,nicklv/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,bussemac/n2cms,SntsDev/n2cms,bussemac/n2cms,SntsDev/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,buss... |
e70ce98213dcc10f7339e851be6b4c7281152a4e | src/Microsoft.AspNetCore.Razor.Language/RazorParserOptions.cs | src/Microsoft.AspNetCore.Razor.Language/RazorParserOptions.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 System.Linq;
namespace Microsoft.AspNetCore.Razor.Language
{
public abstract class RazorPars... | // 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.Linq;
namespace Microsoft.AspNetCore.Razor.Language
{
public abstract class RazorPars... | Add docs about limitation of this option | Add docs about limitation of this option
This is all the work we're planning to do for #1361 for 2.0.0. Will
revisit this functionality in 2.1.0.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
62df82dc3ac35a01e8b6bce2cd81156ba3a74543 | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Models/Account/RegisterViewModel.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.RegularExpressions;
using Abp.Auditing;
using Abp.Authorization.Users;
using Abp.Extensions;
namespace AbpCompanyName.AbpProjectName.Web.Models.Account
{
public class RegisterViewModel : IValidatableObject
{
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
using Abp.Authorization.Users;
using Abp.Extensions;
using AbpCompanyName.AbpProjectName.Validation;
namespace AbpCompanyName.AbpProjectName.Web.Models.Account
{
public class RegisterViewModel : IValidatableObject
... | Use ValidationHelper for email regex | Use ValidationHelper for email regex
| C# | mit | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template |
7441684e7d8bceda353b56ceac34e8c1672ddcb8 | src/AppHarbor/Commands/LoginCommand.cs | src/AppHarbor/Commands/LoginCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private readonly AccessTokenFetcher _accessTokenFetcher;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCom... | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private const string TokenEnvironmentVariable = "AppHarborToken";
private const EnvironmentVariableTarget TokenEnvironmentVariableTarget = EnvironmentVariableTarget.User;
private readonly AccessTokenFetcher _accessTokenFetche... | Move EnvironmentVariableTarget to const member | Move EnvironmentVariableTarget to const member
| C# | mit | appharbor/appharbor-cli |
291660805f501170229e8883bdc4fce07ba3f9d2 | osu.Framework.Tests.Android/TestGameActivity.cs | osu.Framework.Tests.Android/TestGameActivity.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 osu.Framework.Android;
namespace osu.Framework.Tests.Android
{
[Activity(MainLauncher = true, ConfigurationChange... | // 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.Framework.Tests.Android
{
[Activity(M... | Hide titlebar in Android visual test activity | Hide titlebar in Android visual test activity
| C# | mit | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework |
91ac1637e57b4b2a5acb380b113491b4ce3b55b1 | Battery-Commander.Web/Controllers/APFTController.cs | Battery-Commander.Web/Controllers/APFTController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace BatteryCommander.Web.Controllers
{
[Authorize]
public class APFTController : Controller
{
private readonly Database db;
public APFTController(Database db)
{
... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers
{
[Authorize]
public class APFTController : Controller
{
private readonly Database db;
public... | Add stubs for APFT controller | Add stubs for APFT controller
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
055a48a21b9d7c024b356e547022fb197982f7f5 | src/SlashTodo.Web/Api/DefaultSlashCommandHandler.cs | src/SlashTodo.Web/Api/DefaultSlashCommandHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using SlashTodo.Core;
using SlashTodo.Infrastructure.Slack;
namespace SlashTodo.Web.Api
{
public class DefaultSlashCommandHandler : ISlashCommandHandler
{
private readonly IRepository<Cor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using SlashTodo.Core;
using SlashTodo.Infrastructure.Slack;
namespace SlashTodo.Web.Api
{
public class DefaultSlashCommandHandler : ISlashCommandHandler
{
private readonly IRepository<Cor... | Set incoming webhook usename to /todo. | Set incoming webhook usename to /todo.
| C# | mit | Hihaj/SlashTodo,Hihaj/SlashTodo |
608958b18669277c9b306d03e7a21ce4746ba3ab | osu.Game/Users/IUser.cs | osu.Game/Users/IUser.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.Game.Database;
namespace osu.Game.Users
{
public interface IUser : IHasOnlineID<int>
{
string Username { get; set; }
bool IsBot { get;... | // 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.Game.Database;
namespace osu.Game.Users
{
public interface IUser : IHasOnlineID<int>
{
string Username { get; }
bool IsBot { get; }
... | Remove unused setter in interface type | Remove unused setter in interface type
| C# | mit | ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu |
27a97f31cf6fbc1e6c40040aad1a4c506cd52528 | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | Use parallelism for puzzle 10 | Use parallelism for puzzle 10
Use Parallel LINQ for the solution to puzzle 10 to improve the
throughput.
| C# | apache-2.0 | martincostello/project-euler |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.