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 |
|---|---|---|---|---|---|---|---|---|---|
9eaecba44d0e697320d51f9470214c45da427e74 | MonoHaven.Client/UI/ImageButton.cs | MonoHaven.Client/UI/ImageButton.cs | using System;
using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Utils;
using OpenTK.Input;
namespace MonoHaven.UI
{
public class ImageButton : Widget
{
private bool isPressed;
public ImageButton(Widget parent)
: base(parent)
{
IsFocusable = true;
}
public event EventHandler Clicked;
... | using System;
using System.Drawing;
using MonoHaven.Graphics;
using MonoHaven.Utils;
using OpenTK.Input;
namespace MonoHaven.UI
{
public class ImageButton : Widget
{
private bool isPressed;
public ImageButton(Widget parent)
: base(parent)
{
IsFocusable = true;
}
public event EventHandler Clicked;
... | Add image for a hovered state in image button | Add image for a hovered state in image button
| C# | mit | k-t/SharpHaven |
901659ec12f3e592ba22996058aedba7cbdd812f | Mntone.SplatoonClient/Mntone.SplatoonClient/SplatoonContextFactory.cs | Mntone.SplatoonClient/Mntone.SplatoonClient/SplatoonContextFactory.cs | using System.Threading.Tasks;
using Mntone.NintendoNetworkHelper;
using Mntone.SplatoonClient.Internal;
namespace Mntone.SplatoonClient
{
public static class SplatoonContextFactory
{
public static async Task<SplatoonContext> GetContextAsync(string username, string password)
{
var authorizer = new NintendoNet... | using System.Threading.Tasks;
using Mntone.NintendoNetworkHelper;
using Mntone.SplatoonClient.Internal;
namespace Mntone.SplatoonClient
{
public static class SplatoonContextFactory
{
public static async Task<SplatoonContext> GetContextAsync(string username, string password)
{
var authorizer = new NintendoNet... | Change source code as Nintendo updates SplatNet (bug fix). | Change source code as Nintendo updates SplatNet (bug fix).
| C# | mit | mntone/SplatoonClient,mntone/SplatoonClient |
8e39c51ab21f99e4c27652ee827f7b45137b642a | src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1119
{
[TestFixture]
public class Fixture : BugTestCase
{
public override string BugNumber
{
get { return "NH1119"; }
}
[Test]
public void SelectMinFromEmptyTable()
{
using (ISession s = OpenSession())... | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1119
{
[TestFixture]
public class Fixture : BugTestCase
{
public override string BugNumber
{
get { return "NH1119"; }
}
[Test]
public void SelectMinFromEmptyTable()
{
using (ISession s = OpenSession())... | Check that it can work with nullables too. | Check that it can work with nullables too.
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@3063
| C# | lgpl-2.1 | ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,fredericDelaporte/nhibe... |
25a8f2a233a026f86a1d8e15d445fdaefb53b540 | BlogTemplate/Pages/Post.cshtml.cs | BlogTemplate/Pages/Post.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
using Microsoft.AspNetCore.Mvc;
using System.Xml;
using System.Xml.Linq;
using Microsoft.AspNetCore.Authorization;
namespace BlogTemplate.Pa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
using Microsoft.AspNetCore.Mvc;
using System.Xml;
using System.Xml.Linq;
using Microsoft.AspNetCore.Authorization;
namespace BlogTemplate.Pa... | Remove [AllowAnonymous] since added by default | Remove [AllowAnonymous] since added by default
| C# | mit | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate |
d4609ef367a3b7ddf212b8b5424657f39e3faf87 | Tvl.VisualStudio.InheritanceMargin/CSharpInheritanceTaggerProvider.cs | Tvl.VisualStudio.InheritanceMargin/CSharpInheritanceTaggerProvider.cs | namespace Tvl.VisualStudio.InheritanceMargin
{
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Utilities;
using I... | namespace Tvl.VisualStudio.InheritanceMargin
{
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;
using Microsoft.VisualStudio.Utilities;
using I... | Fix all violations of SA1127 | Fix all violations of SA1127
| C# | mit | tunnelvisionlabs/InheritanceMargin |
bfa75d92874c4c441691be268d81154094598186 | UniProgramGen/Helpers/TimeSlot.cs | UniProgramGen/Helpers/TimeSlot.cs | using System;
namespace UniProgramGen.Helpers
{
public class TimeSlot
{
public TimeSlot(DayOfWeek day, uint startHour, uint endHour)
{
Day = day;
StartHour = startHour;
EndHour = endHour;
}
public DayOfWeek Day { get; private set; }
p... | using System;
namespace UniProgramGen.Helpers
{
public class TimeSlot
{
public const uint START_HOUR = 8;
public const uint END_HOUR = 22;
public const uint TOTAL_DAY_HOURS = END_HOUR - START_HOUR;
public TimeSlot(DayOfWeek day, uint startHour, uint endHour)
{
... | Add convenience methods for timeslots | Add convenience methods for timeslots
| C# | bsd-2-clause | victoria92/university-program-generator,victoria92/university-program-generator |
8a345a475312f0b4e917c1f275fd9fd89e1f1aa3 | ValveKeyValue/ValveKeyValue.Test/Text/CommentOnEndOfTheLine.cs | ValveKeyValue/ValveKeyValue.Test/Text/CommentOnEndOfTheLine.cs | using System.Linq;
using System.Text;
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class CommentOnEndOfTheLine
{
[Test]
public void CanHandleCommentOnEndOfTheLine()
{
var text = new StringBuilder();
text.AppendLine(@"""test_kv""");
text.Appe... | using System.Linq;
using System.Text;
using NUnit.Framework;
namespace ValveKeyValue.Test
{
class CommentOnEndOfTheLine
{
[Test]
public void CanHandleCommentOnEndOfTheLine()
{
var text = new StringBuilder();
text.Append(@"""test_kv""" + "\n");
text.A... | Improve the test in regards to \r\n | Improve the test in regards to \r\n
| C# | mit | SteamDatabase/ValveKeyValue |
7bc65ffd5a115da378e8f63d44ceb65f54959231 | src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs | src/Tools/ExternalAccess/OmniSharp/Internal/PickMembers/OmniSharpPickMembersService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.ExternalAc... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.ExternalAc... | Revert "Fix up for 16.11" | Revert "Fix up for 16.11"
This reverts commit 28955d0f02e5e369dbac824f167cd87c8fd1dfb3.
| C# | mit | KevinRansom/roslyn,eriawan/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,weltkante/roslyn,physhi/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,mavasani/roslyn,diryboy/roslyn,dotnet/roslyn,wvdd007/roslyn,mavasani/roslyn,mavasani/roslyn,Am... |
60fcbe7b1b79c226a0204cb7c40c9ffd760fcdbd | src/VisualStudio/IntegrationTest/TestSetup/TestExtensionErrorHandler.cs | src/VisualStudio/IntegrationTest/TestSetup/TestExtensionErrorHandler.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.VisualStudio.Text;
namespace Microsoft.VisualStudio.Int... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.VisualStudio.Text;
namespace Microsoft.VisualStudio.Int... | Work around failure in light bulb controller | Work around failure in light bulb controller
See #35123
| C# | mit | shyamnamboodiripad/roslyn,jmarolf/roslyn,agocke/roslyn,nguerrera/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,KirillOsenkov/roslyn,reaction1989/roslyn,CyrusNajmabadi/roslyn,nguerrera/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,heejaechang/rosl... |
77c94e5eb30eec95159e99c365196f168e608198 | samples/WebApiContrib.Formatting.Jsonp.SampleWebHost/Global.asax.cs | samples/WebApiContrib.Formatting.Jsonp.SampleWebHost/Global.asax.cs | using System.Net.Http.Formatting;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using WebApiContrib.Formatting.Jsonp;
using WebContribContrib.Formatting.Jsonp.SampleWebHost.App_Start;
namespace WebContr... | using System.Net.Http.Formatting;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using WebApiContrib.Formatting.Jsonp;
using WebContribContrib.Formatting.Jsonp.SampleWebHost.App_Start;
namespace WebContr... | Fix order of route registration. | Fix order of route registration.
| C# | mit | puco/WebApiContrib.Formatting.Jsonp,puco/WebApiContrib.Formatting.Jsonp,WebApiContrib/WebApiContrib.Formatting.Jsonp,WebApiContrib/WebApiContrib.Formatting.Jsonp |
b576f349bbe755f51030b181f5d9e3ecd7b7374d | Conventions/VisualStudioProjectTemplates/Console/consoleabstraction.cs | Conventions/VisualStudioProjectTemplates/Console/consoleabstraction.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConsoleAbstraction.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -----------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ConsoleAbstraction.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -----------------------------------------------------... | Tweak in Console VS Project Template. | Tweak in Console VS Project Template.
| C# | mit | NaosProject/Naos.Build |
3bcfc914368f2cf8cd704d5dcf82d678af30fd4d | src/VisualStudio/LiveShare/Impl/GotoDefinitionWithFarHandler.Exports.cs | src/VisualStudio/LiveShare/Impl/GotoDefinitionWithFarHandler.Exports.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.ComponentModel.Composition;
using Microsoft.VisualStudio.LiveShare.LanguageServices;
using Microsoft.CodeAnalysis.Editor;
using Microsoft.Visual... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Editor;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Micro... | Sort usings in gotodef exports. | Sort usings in gotodef exports.
| C# | mit | KevinRansom/roslyn,weltkante/roslyn,gafter/roslyn,dotnet/roslyn,gafter/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,physhi/roslyn,mavasani/roslyn,jmarolf/roslyn,abock/roslyn,tannergooding/roslyn,AlekseyTs/roslyn,eriawan/roslyn,dotnet/roslyn,reaction1989/roslyn,wvdd007/roslyn,agocke/roslyn,brettfo/roslyn,sharwell/roslyn... |
afc4b940f17b8d6c721e141f4cda625b925363c6 | src/VisualStudio/VisualStudioInteractiveComponents/AssemblyRedirects.cs | src/VisualStudio/VisualStudioInteractiveComponents/AssemblyRedirects.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
using Roslyn.VisualStudio.Setup;
[assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.Scripting.dll")]
[as... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Shell;
using Roslyn.VisualStudio.Setup;
[assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.Scripting.dll")]
[as... | Include a codebase for System.IO.FileSystem | Include a codebase for System.IO.FileSystem
| C# | apache-2.0 | KevinH-MS/roslyn,jamesqo/roslyn,tvand7093/roslyn,tmeschter/roslyn,TyOverby/roslyn,dpoeschl/roslyn,khellang/roslyn,managed-commons/roslyn,jaredpar/roslyn,panopticoncentral/roslyn,yeaicc/roslyn,stephentoub/roslyn,bbarry/roslyn,thomaslevesque/roslyn,mseamari/Stuff,reaction1989/roslyn,srivatsn/roslyn,gafter/roslyn,sharwell... |
1c62c1a16ea87dee67383a839413f00038129a25 | src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs | src/Winium.Desktop.Driver/CommandExecutors/IsElementSelectedExecutor.cs | namespace Winium.Desktop.Driver.CommandExecutors
{
#region using
using System.Windows.Automation;
using Winium.Cruciatus.Exceptions;
using Winium.Cruciatus.Extensions;
using Winium.StoreApps.Common;
#endregion
internal class IsElementSelectedExecutor : CommandExecutorBase
{
... | namespace Winium.Desktop.Driver.CommandExecutors
{
#region using
using System.Windows.Automation;
using Winium.Cruciatus.Exceptions;
using Winium.Cruciatus.Extensions;
using Winium.StoreApps.Common;
#endregion
internal class IsElementSelectedExecutor : CommandExecutorBase
{
... | Check if using SelectedItem pattern first | Check if using SelectedItem pattern first
| C# | mpl-2.0 | 2gis/Winium.Desktop,zebraxxl/Winium.Desktop,jorik041/Winium.Desktop |
38cd5c2e6071f15a1ca7ecced6a84d6e32df976b | .intellisense.csx | .intellisense.csx | #r "C:\Program Files (x86)\Luminescence Software\Metatogger 5.8\Metatogger.exe"
using System.Collections.Generic;
using Metatogger.Data;
IEnumerable<AudioFile> files = new List<AudioFile>(); // list of checked audio files in the workspace | #r "C:\Program Files (x86)\Luminescence Software\Metatogger 5.9\Metatogger.exe"
using System.Collections.Generic;
using Metatogger.Data;
IEnumerable<AudioFile> files = new List<AudioFile>(); // list of checked audio files in the workspace | Update Metatogger default install path | Update Metatogger default install path
| C# | mpl-2.0 | luminescence-software/scripts |
e3e29a9c3d4a8346a60fc6cff9ae7009fe990ad8 | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | Fix bug: Searching too fast in dialog returns no results when enter is pressed Work items: 598 | Fix bug: Searching too fast in dialog returns no results when enter is pressed
Work items: 598
--HG--
branch : 1.1
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
82556adb7148d5bb83061953b0d15fae84cf1d8e | src/Microsoft.Azure.WebJobs.Extensions.Storage/StorageAccountProvider.cs | src/Microsoft.Azure.WebJobs.Extensions.Storage/StorageAccountProvider.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Configuration;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
/// Abstraction ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensions.Configuration;
namespace Microsoft.Azure.WebJobs
{
/// <summary>
/// Abstraction ... | Make generic for local and production | Make generic for local and production | C# | mit | Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk |
29c723ebc94814d68d050c06f5a6233d732c0800 | src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs | src/xunit.netcore.extensions/Attributes/PlatformSpecificAttribute.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method to specify this is a platform specific test.
/... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method to specify this is a platform specific test.
/... | Allow PlatformSpecific on a class | Allow PlatformSpecific on a class
| C# | mit | weshaggard/buildtools,karajas/buildtools,ianhays/buildtools,FiveTimesTheFun/buildtools,MattGal/buildtools,joperezr/buildtools,maririos/buildtools,karajas/buildtools,joperezr/buildtools,maririos/buildtools,tarekgh/buildtools,alexperovich/buildtools,schaabs/buildtools,roncain/buildtools,roncain/buildtools,roncain/buildto... |
f64d01e42f4576d0965f904a79238cce141cd855 | Assets/Scripts/ReduxMovementLookExample/Renderers/MoveCamera.cs | Assets/Scripts/ReduxMovementLookExample/Renderers/MoveCamera.cs | using UnityEngine;
using UniRx;
namespace Reduxity.Example.PlayerMovementLook {
[RequireComponent(typeof(Camera))]
public class MoveCamera : MonoBehaviour {
private Camera camera_;
private void Awake() {
camera_ = GetComponent<Camera>();
}
void Start() {
... | using UnityEngine;
using UniRx;
namespace Reduxity.Example.PlayerMovementLook {
[RequireComponent(typeof(Camera))]
public class MoveCamera : MonoBehaviour {
private Camera camera_;
private void Awake() {
camera_ = GetComponent<Camera>();
}
void Start() {
... | Apply rendering code, now need to test | WIP: Apply rendering code, now need to test
| C# | mit | austinmao/reduxity,austinmao/reduxity |
b642d2dba85bfa6231069f8ee43b02f972c88ed3 | FaqTemplate.Infrastructure/Services/SimpleMemoryCacheService.cs | FaqTemplate.Infrastructure/Services/SimpleMemoryCacheService.cs | using FaqTemplate.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaqTemplate.Infrastructure.Services
{
public class SimpleMemoryCacheService<T> : ICacheService<T>
{
public Task AddOrUpdate(string key, T value... | using FaqTemplate.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FaqTemplate.Infrastructure.Services
{
public class SimpleMemoryCacheService<T> : ICacheService<T>
{
private IDictionary<string, T> _cache;
... | Add implementation for simple cache using Dictionary | Add implementation for simple cache using Dictionary
| C# | mit | iperoyg/faqtemplatebot |
e18bdd156de64961237b2b84f1b79ce876d380c8 | Source/DynamicPlaceholders.Mvc/Extensions/SitecoreHelperExtensions.cs | Source/DynamicPlaceholders.Mvc/Extensions/SitecoreHelperExtensions.cs | using System.Linq;
using Sitecore.Mvc.Helpers;
using Sitecore.Mvc.Presentation;
using System.Collections.Generic;
using System.Web;
namespace DynamicPlaceholders.Mvc.Extensions
{
public static class SitecoreHelperExtensions
{
public static List<string> DynamicPlaceholders = new List<string>();
public static Ht... | using Sitecore.Mvc.Helpers;
using Sitecore.Mvc.Presentation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace DynamicPlaceholders.Mvc.Extensions
{
public static class SitecoreHelperExtensions
{
public static HtmlString ... | Revert "Added ability to have more than one dynamic placeholder in the same rendering" | Revert "Added ability to have more than one dynamic placeholder in the same rendering"
This reverts commit c69f12278522dc585254dbeac3176c8d790c9e9c.
| C# | mit | Fortis-Collection/dynamic-placeholders-mvc |
3f5351ee02e8d91629b5a9357b0d7be54f2be1c8 | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/AzureFirewallFqdnTagTests.cs | src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/AzureFirewallFqdnTagTests.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | Add test owner to FqdnTag test | Add test owner to FqdnTag test
| C# | apache-2.0 | ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur... |
10341a8d62e5f6094620ddee999886f80da98222 | src/Umbraco.Web.Website/ViewEngines/RenderRazorViewEngineOptionsSetup.cs | src/Umbraco.Web.Website/ViewEngines/RenderRazorViewEngineOptionsSetup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.Options;
namespace Umbraco.Cms.Web.Website.ViewEngines
{
/// <summary>
/// Configure view engine locations for front-end rendering
/// </summary>
public class RenderRazorV... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.Options;
namespace Umbraco.Cms.Web.Website.ViewEngines
{
/// <summary>
/// Configure view engine locations for front-end rendering
/// </summary>
public class RenderRazorV... | Fix ordering of views so the ordering is the same as v8 | Fix ordering of views so the ordering is the same as v8
| C# | mit | robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-C... |
b8b096f626a41e32f5f66110c9e3235125147a53 | ethernet/maps/eth1/mission.cs | ethernet/maps/eth1/mission.cs | // This script is executed on the server
$MAP_ROOT = "ethernet/maps/eth1/";
$sgLightEditor::lightDBPath = $MAP_ROOT @ "lights/";
$sgLightEditor::filterDBPath = $MAP_ROOT @ "filters/";
sgLoadDataBlocks($sgLightEditor::lightDBPath);
sgLoadDataBlocks($sgLightEditor::filterDBPath);
//exec("./difs/propertymap.cs");
//exe... | // This script is executed on the server
$MAP_ROOT = "ethernet/maps/eth1/";
$sgLightEditor::lightDBPath = $MAP_ROOT @ "lights/";
$sgLightEditor::filterDBPath = $MAP_ROOT @ "filters/";
sgLoadDataBlocks($sgLightEditor::lightDBPath);
sgLoadDataBlocks($sgLightEditor::filterDBPath);
//---------------------------... | Add material mappings to eth1. | Add material mappings to eth1.
| C# | lgpl-2.1 | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game |
b280f8faa36f127f910145da8a9ccb05ea64d2c8 | RightpointLabs.ConferenceRoom.Services/Controllers/DeviceController.cs | RightpointLabs.ConferenceRoom.Services/Controllers/DeviceController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using RightpointLabs.ConferenceRoom.Domain.Models;
using RightpointLabs.ConferenceRoom.Domain.Models.Entities;
using RightpointLabs.ConferenceRoom.Domain.Repositories;
using RightpointLabs... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
using RightpointLabs.ConferenceRoom.Domain.Models;
using RightpointLabs.ConferenceRoom.Domain.Models.Entities;
using RightpointLabs.ConferenceRoom.Domain.Repositories;
u... | Update device creation to just return the raw token | Update device creation to just return the raw token
| C# | mit | RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room |
5ed7a1104a941295f1619e7120ed6028eb7d0422 | src/Workspaces/Core/Portable/Extensions/NotificationOptionExtensions.cs | src/Workspaces/Core/Portable/Extensions/NotificationOptionExtensions.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.CodeStyle
{
internal static class NotificationOptionExtensions
{
public static string ToEditorConfigString(t... | // 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 Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal static class NotificationOptionExtensions
{
public static strin... | Create mapping from NotificationOption to EditorConfig severity string. | Create mapping from NotificationOption to EditorConfig severity string. | C# | mit | shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,sharwell/roslyn,agocke/roslyn,AlekseyTs/roslyn,dotnet/roslyn,dotnet/roslyn,nguerrera/roslyn,KirillOsenkov/roslyn,abock/roslyn,jmarolf/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,tannergooding/roslyn,bartdesm... |
d2264a428e7150adde0847524c26c725df5ca684 | Entitas.Unity/Assets/Entitas/Unity/VisualDebugging/Entity/Editor/TypeDrawer/EnumTypeDrawer.cs | Entitas.Unity/Assets/Entitas/Unity/VisualDebugging/Entity/Editor/TypeDrawer/EnumTypeDrawer.cs | using System;
using Entitas;
using UnityEditor;
namespace Entitas.Unity.VisualDebugging {
public class EnumTypeDrawer : ITypeDrawer {
public bool HandlesType(Type type) {
return type.IsEnum;
}
public object DrawAndGetNewValue(Type memberType, string memberName, object value, En... | using System;
using Entitas;
using UnityEditor;
namespace Entitas.Unity.VisualDebugging {
public class EnumTypeDrawer : ITypeDrawer {
public bool HandlesType(Type type) {
return type.IsEnum;
}
public object DrawAndGetNewValue(Type memberType, string memberName, object value, En... | Support visual debugging of enum masks. | Support visual debugging of enum masks.
| C# | mit | sschmid/Entitas-CSharp,sschmid/Entitas-CSharp |
02f07532866ab6065ac58b22eee20cbd8767336e | Diskordia.Columbus.Bots.Host/Services/SingaporeAirlines/PageObjects/FareDealsSectionComponent.cs | Diskordia.Columbus.Bots.Host/Services/SingaporeAirlines/PageObjects/FareDealsSectionComponent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
namespace Diskordia.Columbus.Bots.Host.Services.SingaporeAirlines.PageObjects
{
public class FareDealsSectionComponent
{
private readonly IWebDriver driver;
private readonly IWebElement element;
public FareDealsSectionC... | using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
namespace Diskordia.Columbus.Bots.Host.Services.SingaporeAirlines.PageObjects
{
public class FareDealsSectionComponent
{
private readonly IWebDriver driver;
private readonly IWebElement element;
public FareDealsSectionC... | Make sure the departure airport gets filled correctly. | fix(SingaporeAirlinesBot): Make sure the departure airport gets filled correctly.
| C# | mit | lehmamic/columbus,lehmamic/columbus |
14d2eb02440f14ea94af9169fca24f19cbed6fd7 | Eutherion/Shared/Text/Json/RootJsonSyntax.cs | Eutherion/Shared/Text/Json/RootJsonSyntax.cs | #region License
/*********************************************************************************
* RootJsonSyntax.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | #region License
/*********************************************************************************
* RootJsonSyntax.cs
*
* Copyright (c) 2004-2019 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | Throw on null syntax or errors. | Throw on null syntax or errors.
| C# | apache-2.0 | PenguinF/sandra-three |
7fbd5198b28f16624b1f935957ca0891e2169495 | CertiPay.Common/ExtensionMethods.cs | CertiPay.Common/ExtensionMethods.cs | using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
namespace CertiPay.Common
{
public static class ExtensionMethods
{
/// <summary>
/// Trims the string of any whitestace and leaves null if there is no content.
/// </summary>
public static Strin... | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
namespace CertiPay.Common
{
public static class ExtensionMethods
{
/// <summary>
/// Trims the string of any whitestace and leaves null if there is no content.
/// </summary>
... | Tweak to use typed GetCustomAttributes from field | Tweak to use typed GetCustomAttributes from field
| C# | mit | mattgwagner/CertiPay.Common |
6823a94ed34e27da0796102eaf55d53e75980ec1 | src/Dolstagis.Web/Views/Nustache/NustacheViewEngine.cs | src/Dolstagis.Web/Views/Nustache/NustacheViewEngine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using global::Nustache.Core;
namespace Dolstagis.Web.Views.Nustache
{
public class NustacheViewEngine : ViewEngineBase
{
private static readonly string[] _extensions = new[] {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using global::Nustache.Core;
namespace Dolstagis.Web.Views.Nustache
{
public class NustacheViewEngine : ViewEngineBase
{
private static readonly string[] _extensions = new[] {... | Allow .mustache extension as well for Nustache views | Allow .mustache extension as well for Nustache views
| C# | mit | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web |
43836c86659a49ba55d7ed892dca58cb355c3f0e | source/Nuke.Common/IO/YamlTasks.cs | source/Nuke.Common/IO/YamlTasks.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Core.Execution;
using Nuke.Core.Tooling;
using YamlDotNet.Serialization;
usin... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
using Nuke.Core.Execution;
using Nuke.Core.Tooling;
using YamlDotNet.Serialization;
usin... | Add string based YAML tasks. | Add string based YAML tasks.
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
07c2e0ced0bd443b784ff0418ae432f78e852c80 | src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs | src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.ProjectJsonMigration
{
internal class ConstantPackageVersions
{
public const string AspNetToolsVersion... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.ProjectJsonMigration
{
internal class ConstantPackageVersions
{
public const string AspNetToolsVersion... | Change ASP.NET tool version to reflect project format. | Change ASP.NET tool version to reflect project format.
| C# | mit | blackdwarf/cli,EdwardBlair/cli,ravimeda/cli,nguerrera/cli,ravimeda/cli,EdwardBlair/cli,Faizan2304/cli,EdwardBlair/cli,dasMulli/cli,AbhitejJohn/cli,AbhitejJohn/cli,weshaggard/cli,svick/cli,mlorbetske/cli,Faizan2304/cli,mlorbetske/cli,jonsequitur/cli,harshjain2/cli,weshaggard/cli,dasMulli/cli,jonsequitur/cli,blackdwarf/c... |
42ba93628c1b0edd61cf3e6f099bdaa0b7525dfd | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/AnalyzerTests.cs | DebuggerStepThroughRemover/DebuggerStepThroughRemover.Test/AnalyzerTests.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace DebuggerStepThroughRemover.Test
{
[TestClass]
public class AnalyzerTests : DiagnosticVerifier
{
[TestMethod]
public void WithEmptySourceF... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace DebuggerStepThroughRemover.Test
{
[TestClass]
public class AnalyzerTests : DiagnosticVerifier
{
[TestMethod]
public void WithEmptySourceF... | Add unit test for analyzing class without imported namespace. | Add unit test for analyzing class without imported namespace.
| C# | mit | tiesmaster/DebuggerStepThroughRemover,modulexcite/DebuggerStepThroughRemover |
53303bfce7c3c26e23632c4693d889a5c354638f | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ExpireFundsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ExpireFundsJob
{
private readonly IMessageSession _messageSession;
... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ExpireFundsJob
{
private readonly IMessageSession _messageSession;
... | Remove code to trigger expiry of funds processing until fix has been implemented for the calculation | Remove code to trigger expiry of funds processing until fix has been implemented for the calculation
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
ed482462a70928f4328c25585385a69c1ee4bab4 | Src/Dashboard/Services/TestResults/Queries/FindTestResultsFromSession.cs | Src/Dashboard/Services/TestResults/Queries/FindTestResultsFromSession.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Linq;
using Tellurium.VisualAssertions.Infrastructure;
using Tellurium.VisualAssertions.Screenshots.Domain;
namespace Tellurium.VisualAssertion.Dashboard.Services.TestResults.Queries
{
public class FindTestResultsFromSession : IQu... | using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate.Linq;
using Tellurium.VisualAssertions.Infrastructure;
using Tellurium.VisualAssertions.Screenshots.Domain;
namespace Tellurium.VisualAssertion.Dashboard.Services.TestResults.Queries
{
public class FindTestResultsFromSession : IQu... | Fix filtered test result ordering | Fix filtered test result ordering
| C# | mit | cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium |
a268405f06e51e5ccc4f7933395cb3acfc313edb | src/BmpListener/Bmp/PeerUpNotification.cs | src/BmpListener/Bmp/PeerUpNotification.cs | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | using System;
using System.Net;
using BmpListener.Bgp;
using System.Linq;
using BmpListener.MiscUtil.Conversion;
namespace BmpListener.Bmp
{
public class PeerUpNotification : BmpMessage
{
public IPAddress LocalAddress { get; private set; }
public int LocalPort { get; private set; }
pub... | Fix peer up port decoding bug | Fix peer up port decoding bug
| C# | mit | mstrother/BmpListener |
372b331740a1dd400751b1466b810c45eb44ed4d | src/Fixie.Tests/Execution/OptionsTests.cs | src/Fixie.Tests/Execution/OptionsTests.cs | namespace Fixie.Tests.Execution
{
using System;
using Fixie.Cli;
using Fixie.Execution;
public class OptionsTests
{
public void DemandsAssemblyPathProvided()
{
var options = new Options(null);
Action validate = options.Validate;
validate.Should... | namespace Fixie.Tests.Execution
{
using System;
using Fixie.Cli;
using Fixie.Execution;
public class OptionsTests
{
public void DemandsAssemblyPathProvided()
{
var options = new Options(null);
Action validate = options.Validate;
validate.Should... | Test coverage for validation of the --report command line option. | Test coverage for validation of the --report command line option.
| C# | mit | fixie/fixie |
ae30a903a54338c8055791df1e9f331108239967 | src/DeviceId/DeviceIdFormatters.cs | src/DeviceId/DeviceIdFormatters.cs | using System.Security.Cryptography;
using DeviceId.Encoders;
using DeviceId.Formatters;
namespace DeviceId
{
/// <summary>
/// Provides access to some of the default formatters.
/// </summary>
public static class DeviceIdFormatters
{
/// <summary>
/// Returns the default formatter ... | using System.Security.Cryptography;
using DeviceId.Encoders;
using DeviceId.Formatters;
namespace DeviceId
{
/// <summary>
/// Provides access to some of the default formatters.
/// </summary>
public static class DeviceIdFormatters
{
/// <summary>
/// Returns the default formatter ... | Use Crockford Base32 by default. | Use Crockford Base32 by default.
| C# | mit | MatthewKing/DeviceId |
7952beccde30ac9f2e9990392d7a056affc2371b | ToxRt/ToxRt.Shared/ViewModel/LoadProfileViewModel.cs | ToxRt/ToxRt.Shared/ViewModel/LoadProfileViewModel.cs | using System;
using System.Collections.Generic;
using System.Text;
using GalaSoft.MvvmLight.Views;
using ToxRt.Helpers;
using ToxRt.Model;
using ToxRt.NavigationService;
namespace ToxRt.ViewModel
{
public class LoadProfileViewModel : NavigableViewModelBase
{
#region Fields
#endregion
... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Views;
using ToxRt.Helpers;
using ToxRt.Model;
using ToxRt.NavigationService;
namespace ToxRt.ViewModel
{
public class LoadProfileViewModel : Navigabl... | Add Needed Vm properties and cmds | Add Needed Vm properties and cmds
| C# | mit | SamTheDev/ToxRt,SamTheDev/ToxRt,SamTheDev/ToxRt |
fa742a2ef1567072065c8bb3d7b8de7ccf5def1d | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/ControlPointPart.cs | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/ControlPointPart.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.Collections.Specialized;
using System.Linq;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Gam... | // 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.Collections.Specialized;
using System.Linq;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Gam... | Update to consume framework fixes | Update to consume framework fixes
| C# | mit | NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu |
faa97214c37bdf7ecdd8f758304a9eab53ab015b | JAGBE/Stats/AttributeReflector.cs | JAGBE/Stats/AttributeReflector.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using JAGBE.Attributes;
namespace JAGBE.Stats
{
internal static class AttributeReflector
{
/// <summary>
/// Gets the methods of <paramref name="type"/> with the <see cref="Attribute"/> of type
/// <paramref name=... | using System;
using System.Collections.Generic;
using System.Reflection;
using JAGBE.Attributes;
namespace JAGBE.Stats
{
internal static class AttributeReflector
{
/// <summary>
/// Gets the methods of <paramref name="type"/> with the <see cref="Attribute"/> of type
/// <paramref name=... | Make GetAllStubs return a List<string> instead of immediately writing the output to console | Make GetAllStubs return a List<string> instead of immediately writing the output to console
| C# | mit | izik1/JAGBE |
b75e24d30c805c33652e0d0fc607050263529f3e | Assets/Scripts/StretchScript.cs | Assets/Scripts/StretchScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StretchScript : MonoBehaviour {
public float orthographicSize = 4;
public float aspect = 0.6f;
void Start()
{
Camera.main.projectionMatrix = Matrix4x4.Ortho(
-orthographicSize * aspect... | using UnityEngine;
// Source: http://answers.unity3d.com/questions/464487/windowed-game-to-fullscreen.html
public class StretchScript : MonoBehaviour {
public float orthographicSize = 4;
public float aspect = 0.6f;
void Start()
{
Camera.main.projectionMatrix = Matrix4x4.Ortho(
... | Add source of script and remove unnecessary usings | Add source of script and remove unnecessary usings
| C# | mit | itay347/TheBoat |
8b44ecf24d6152a94c90df4cc0f8a386e5c89ea2 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0.
| C# | mit | autofac/Autofac.Mef |
3b5580ede91159e4c43373ba42393387611b112d | APIClient/Query/ValueStringizer.cs | APIClient/Query/ValueStringizer.cs | using System;
using System.Web;
namespace VersionOne.SDK.APIClient {
internal class ValueStringizer {
private readonly string valueWrapper;
public ValueStringizer(string valueWrapper = "'") {
this.valueWrapper = valueWrapper;
}
public string Stringize(object value) {
... | using System;
using System.Web;
namespace VersionOne.SDK.APIClient {
internal class ValueStringizer {
private readonly string valueWrapper;
public ValueStringizer(string valueWrapper = "'") {
this.valueWrapper = valueWrapper;
}
public string Stringize(object value) {
... | Fix for stringize when values contain single quotes. | Fix for stringize when values contain single quotes.
There was no need for using 2 single quotes since we are doing url
encode to the value.
| C# | bsd-3-clause | versionone/VersionOne.SDK.NET.APIClient,versionone/VersionOne.SDK.NET.APIClient |
3b229ea4be644a8239d7e4daa9be18052ee4dcf0 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | jango2015/Autofac.Extras.DynamicProxy,autofac/Autofac.Extras.DynamicProxy |
dfac63d845cc9832da1bc5f6c8fcaf51bfba1413 | Assets/Scripts/Team.cs | Assets/Scripts/Team.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class Team : MonoBehaviour {
//public List<Drone> team = new List<Drone>();
public ArrayList team = new ArrayList();
public GameObject DronePrefab;
public void addDrone(Drone drone){
team.Add(drone);
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class Team : MonoBehaviour {
//public List<Drone> team = new List<Drone>();
public ArrayList team = new ArrayList();
public GameObject DronePrefab;
public void addDrone(Drone drone){
team.Add(drone);
... | Add drone to the right og 10x | Add drone to the right og 10x
| C# | mit | LunaPg/RoguEvE |
58cea5200c44fe6ac87b04e944ef00c1bdcf4003 | Assets/Scripts/Map/MapPresenter.cs | Assets/Scripts/Map/MapPresenter.cs | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class MapPresenter : MonoBehaviour {
private int sizeX;
private int sizeY;
private GameObject rootObject;
private Transform root;
public Mesh mesh;
public Material material;
public void Setup(int sizeX, int sizeY) {
thi... | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class MapPresenter : MonoBehaviour {
private int sizeX;
private int sizeY;
private GameObject rootObject;
private Transform root;
public Mesh mesh;
public Material material;
private Tile[] tiles;
public void Setup(int s... | Add some new map code | Add some new map code
| C# | apache-2.0 | EightBitBoy/EcoRealms |
abf1271c603679ba2086d546571b43714c352b03 | source/projects/MyCouch/Serialization/SerializationContractResolver.cs | source/projects/MyCouch/Serialization/SerializationContractResolver.cs | using MyCouch.Extensions;
using Newtonsoft.Json.Serialization;
namespace MyCouch.Serialization
{
public class SerializationContractResolver : DefaultContractResolver
{
public SerializationContractResolver() : base(true) { }
protected override string ResolvePropertyName(string propertyName)
... | using MyCouch.Extensions;
using Newtonsoft.Json.Serialization;
namespace MyCouch.Serialization
{
public class SerializationContractResolver : DefaultContractResolver
{
protected override string ResolvePropertyName(string propertyName)
{
return base.ResolvePropertyName(propertyName.... | Remove obsolete chain to base ctor | Remove obsolete chain to base ctor
The bootstraper is having this as single instance anyway,
so as long as the bootstraper is reused, it is ok.
| C# | mit | danielwertheim/mycouch,danielwertheim/mycouch |
3541f948c3d1ca96f4aea5269d1f8650aa219b86 | src/Glimpse.Agent.Web/Providers/Mvc/Messages/IActionVewFoundMessage.cs | src/Glimpse.Agent.Web/Providers/Mvc/Messages/IActionVewFoundMessage.cs | using System.Collections.Generic;
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public interface IActionViewFoundMessage
{
string ActionId { get; set; }
string ViewName { get; set; }
bool DidFind { get; set; }
ViewResult ViewData { get; set; }
}
} | using System.Collections.Generic;
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public interface IActionViewMessage
{
string ActionId { get; set; }
string ViewName { get; set; }
bool DidFind { get; set; }
ViewResult ViewData { get; set; }
}
} | Update IActionViewMessage message to remove verb | Update IActionViewMessage message to remove verb
| C# | mit | peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototy... |
e207bd381aae0860253a36131b1099bd49ea318e | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs | osu.Framework/Graphics/UserInterface/DirectorySelectorDirectory.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.IO;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Input.Events;
using osu.Framework.Ext... | Improve readability of previous implementation. | Improve readability of previous implementation.
Co-authored-by: Dean Herbert <1db828bcd41de75377dce59825af73ae7fca5651@ppy.sh> | C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
4c22c0caf21e5c34c9a4bcccd7a5dcbff9edf126 | TextPet/Commands/GameCommand.cs | TextPet/Commands/GameCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TextPet.Commands {
/// <summary>
/// A command line interface command that sets the current active game.
/// </summary>
internal class GameCommand : CliCommand {
public override string Name => "game";
public overri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TextPet.Commands {
/// <summary>
/// A command line interface command that sets the current active game.
/// </summary>
internal class GameCommand : CliCommand {
public override string Name => "game";
public overri... | Fix console color staying red after unrecognized game error. | Fix console color staying red after unrecognized game error.
| C# | mit | Prof9/TextPet |
6d1e3d9bdd82c294fdb1c9226c6a55219cd08373 | IvionSoft/XmlConfig.cs | IvionSoft/XmlConfig.cs | using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
namespace IvionSoft
{
public abstract class XmlConfig
{
public XElement Config { get; private set; }
public XmlConfig(string file)
{
try
{
Config = XElement.Load(fil... | using System;
using System.IO;
using System.Xml;
using System.Xml.Linq;
namespace IvionSoft
{
public abstract class XmlConfig
{
public XElement Config { get; private set; }
public XmlConfig(string file)
{
try
{
Config = XElement.Load(fil... | Add an extra catch to handle incorrect paths | Add an extra catch to handle incorrect paths
| C# | bsd-2-clause | IvionSauce/MeidoBot |
1dec31d691b2745fbaf910bd3b3876adb5f70def | src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs | src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs | using System;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution
{
public enum ExecutionPriority
{
Normal,
Next,
}
public record ExecutionOptions
{
public static ExecutionOptions Default = new()
{
Priority = ExecutionPriority.No... | using System;
namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution
{
public enum ExecutionPriority
{
Normal,
Next,
}
// Some of the fields of this class are not orthogonal,
// so it's possible to construct self-contradictory execution options.
// We shou... | Add comment to execution options class | Add comment to execution options class
| C# | mit | PowerShell/PowerShellEditorServices |
4c41e4d73eb655aee445ddb9f9fffee3c2a87b03 | Battery-Commander.Web/Views/Reports/EvaluationsDue.cshtml | Battery-Commander.Web/Views/Reports/EvaluationsDue.cshtml | @model IEnumerable<BatteryCommander.Web.Models.Evaluation>
<h1>Past Due and Upcoming Evaluations</h1>
<table border="1">
<thead>
<tr>
<th>Ratee</th>
<th>Rater</th>
<th>Senior Rater</th>
<th>Due Date</th>
<th>Status</th>
<th>Last Updat... | @model IEnumerable<BatteryCommander.Web.Models.Evaluation>
<h1>Past Due and Upcoming Evaluations</h1>
<table border="1">
<thead>
<tr>
<th>Ratee</th>
<th>Rater</th>
<th>Senior Rater</th>
<th>Due Date</th>
<th>Status</th>
<th>Last Updat... | Tweak eval due email for thru and last update dates | Tweak eval due email for thru and last update dates
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
a0dc86d2935df0889ce4ff44d305cbe6289e0be3 | MVVM.HTML.Core/Binding/Mapping/IJavascriptObjectFactory_CreateEnum_extesion.cs | MVVM.HTML.Core/Binding/Mapping/IJavascriptObjectFactory_CreateEnum_extesion.cs | using MVVM.HTML.Core.V8JavascriptObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVVM.HTML.Core.Infra;
using MVVM.HTML.Core.Exceptions;
namespace MVVM.HTML.Core.Binding
{
public static class IJavascriptObjectFactory_CreateEnum_exte... | using MVVM.HTML.Core.V8JavascriptObject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVVM.HTML.Core.Infra;
using MVVM.HTML.Core.Exceptions;
namespace MVVM.HTML.Core.Binding
{
public static class IJavascriptObjectFactory_CreateEnum_exte... | Correct broken test - wrong exception | Correct broken test - wrong exception
| C# | mit | NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,sjoerd222888/MVVM.CEF.Glue |
578f65725b6f93e3efcb60990fe51390ca43b319 | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | Trim search strings in deskapp. | Trim search strings in deskapp.
| C# | mit | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin |
31948285fc564eb4d71f9f345f69f72970f7c5d5 | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | Chalmers.ILL/Controllers/SurfaceControllers/Page/ChalmersILLDiskPageController.cs | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | using Chalmers.ILL.Members;
using Chalmers.ILL.Models.Page;
using Chalmers.ILL.OrderItems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Mvc;
using Umbraco.Web.Models;
using Umbraco.Web.Mvc;
namespace Chalmers.ILL.Co... | Include Förlorad and Förlorad? in disk page. | Include Förlorad and Förlorad? in disk page.
| C# | mit | ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin,ChalmersLibrary/Chillin |
9a125b7b126e4689274d9c97e69df8531d6108a9 | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | src/mscorlib/corefx/System/Globalization/TextInfo.Unix.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.Contracts;
using System.Text;
namespace System.Globalization
{
public partial class TextInfo
{
////////////////////////////////... | Initialize TextInfo's m_textInfoName in stubbed out globalization | Initialize TextInfo's m_textInfoName in stubbed out globalization
Some System.Runtime.Extensions tests are failing due to IsAsciiCasingSameAsInvariant trying to use a null m_textInfoName.
| C# | mit | YongseopKim/coreclr,qiudesong/coreclr,Godin/coreclr,AlfredoMS/coreclr,Djuffin/coreclr,yeaicc/coreclr,gitchomik/coreclr,manu-silicon/coreclr,ramarag/coreclr,sjsinju/coreclr,schellap/coreclr,poizan42/coreclr,fffej/coreclr,vinnyrom/coreclr,mokchhya/coreclr,rartemev/coreclr,schellap/coreclr,naamunds/coreclr,gitchomik/corec... |
190ad666ee38e5df9e596a25088dd7f7f72d1b11 | Src/VanillaTransformer.Core/ValuesProviders/XmlInlineConfigurationValuesProvider.cs | Src/VanillaTransformer.Core/ValuesProviders/XmlInlineConfigurationValuesProvider.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using VanillaTransformer.Core.Utility;
namespace VanillaTransformer.Core.ValuesProviders
{
public class XmlInlineConfigurationValuesProvider:IValuesProvider
{
private readonly XElement inlineValues;
p... | using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using VanillaTransformer.Core.Utility;
namespace VanillaTransformer.Core.ValuesProviders
{
public class XmlInlineConfigurationValuesProvider:IValuesProvider
{
private readonly XElement inlineValues;
p... | Fix handling empty values collection | Fix handling empty values collection
| C# | mit | cezarypiatek/VanillaTransformer |
f98e22ec4ba93f8b9332f51d176cbdb0af0b016b | Nuget.Lucene.Web.Extension/Controllers/NuGetMultiRepositoryDocumentationController.cs | Nuget.Lucene.Web.Extension/Controllers/NuGetMultiRepositoryDocumentationController.cs | namespace NuGet.Lucene.Web.Extension.Controllers
{
#region Usings
using AspNet.WebApi.HtmlMicrodataFormatter;
using NuGet.Lucene.Web.DataServices;
using NuGet.Lucene.Web.Hubs;
#endregion
/// <summary>
/// Provides documentation and semantic information about various
/// reso... | namespace NuGet.Lucene.Web.Extension.Controllers
{
#region Usings
using AspNet.WebApi.HtmlMicrodataFormatter;
using NuGet.Lucene.Web.DataServices;
using NuGet.Lucene.Web.Hubs;
#endregion
/// <summary>
/// Provides documentation and semantic information about various
/// reso... | Remove currently not used signal r documentation | Remove currently not used signal r documentation
| C# | mit | baseclass/nuserv,baseclass/nuserv,baseclass/nuserv |
2cdbada87e2bfe8e8bafca51c37242b379243b54 | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Screens;
namespace osu.Game.Gra... | Fix screen breadcrumb control updating on click | Fix screen breadcrumb control updating on click
| C# | mit | UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu |
3889fe96979818cd57dc444efb19f4541f7d7665 | src/MySqlConnector/MySqlClient/MySqlDbType.cs | src/MySqlConnector/MySqlClient/MySqlDbType.cs | using System;
namespace MySql.Data.MySqlClient
{
public enum MySqlDbType
{
Decimal,
Byte,
Int16,
Int24 = 9,
Int32 = 3,
Int64 = 8,
Float = 4,
Double,
Timestamp = 7,
Date = 10,
Time,
DateTime,
[Obsolete("The Datetime enum value is obsolete. Please use DateTime.")]
Datetime = 12,
Year,
... | using System;
namespace MySql.Data.MySqlClient
{
public enum MySqlDbType
{
Decimal,
Byte,
Int16,
Int32,
Float,
Double,
Timestamp = 7,
Int64,
Int24,
Date,
Time,
DateTime,
[Obsolete("The Datetime enum value is obsolete. Please use DateTime.")]
Datetime = 12,
Year,
Newdate,
VarString,... | Rearrange values in numeric order. | Rearrange values in numeric order.
| C# | mit | mysql-net/MySqlConnector,mysql-net/MySqlConnector |
5318fe42184645e9d652709320ec6025ea138e73 | src/Abp/EntityHistory/EntityHistoryInterceptorRegistrar.cs | src/Abp/EntityHistory/EntityHistoryInterceptorRegistrar.cs | using System;
using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
namespace Abp.EntityHistory
{
internal static class EntityHistoryInterceptorRegistrar
{
public static void Initialize(IIocManager iocManager)
{
iocManager.IocContainer.Kernel.Componen... | using System;
using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
namespace Abp.EntityHistory
{
internal static class EntityHistoryInterceptorRegistrar
{
public static void Initialize(IIocManager iocManager)
{
iocManager.IocContainer.Kernel.Componen... | Remove unintended use of Selectors for interception | Remove unintended use of Selectors for interception
| C# | mit | AlexGeller/aspnetboilerplate,andmattia/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,Nongzhsh/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,andmattia/aspnetboilerplate,ryancyq/aspnetboilerplate,zclmoon/aspnetboilerplate,fengyeju... |
70e2fe13724ddaf6a586c16cbf8f988486b71ce0 | VotingApplication/VotingApplication.Web/Api/Controllers/ManagePollTypeController.cs | VotingApplication/VotingApplication.Web/Api/Controllers/ManagePollTypeController.cs | using System;
using System.Linq;
using System.Net;
using System.Web.Http;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Models.DBViewModels;
namespace VotingApplication.Web.Api.Controllers
{
public class ManagePollTypeController : WebApiController
{
... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Http;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Models.DBViewModels;
namespace VotingApplication.Web.Api.Controllers
{
pub... | Remove votes when changing poll type | Remove votes when changing poll type
| C# | apache-2.0 | Generic-Voting-Application/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-applicati... |
c39eee584c31de91470bd099a72d2db9bb666f53 | Src/TypeScanner.cs | Src/TypeScanner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Conventional
{
public class TypeScanner : ITypeScanner
{
private readonly ITypeSource _typeSource;
private readonly IList<IConvention> _conventions = new List<IConvention>();
public Typ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Conventional
{
public class TypeScanner : ITypeScanner
{
private readonly ITypeSource _typeSource;
private readonly IList<IConvention> _conventions = new List<IConvention>();
public Typ... | Clean up type scanner and remove lazy initialization of assembly types | Clean up type scanner and remove lazy initialization of assembly types
| C# | mit | wolfbyte/conventional,mikeminutillo/conventional |
9c7669fd2668cc48ccee0692715d7e29dc48ae81 | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/DeleteLocalCommand.cs | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/DeleteLocalCommand.cs | using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using WebCamImageCollector.RemoteControl.Views;
namespace WebCamImageCollector.RemoteControl.ViewModels.Com... | using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using WebCamImageCollector.RemoteControl.Views;
namespace WebCamImageCollector.RemoteControl.ViewModels.Com... | Fix navigation to Overview after deleting LocalClient. | Fix navigation to Overview after deleting LocalClient.
| C# | apache-2.0 | maraf/WebCamImageCollector |
6d87fd4bc97e317441b67d836664254037a64190 | Sandbox/Program.cs | Sandbox/Program.cs | namespace Sandbox
{
public class Program
{
public static void Main()
{
}
}
} | using System.Threading.Tasks;
namespace Sandbox
{
public class Program
{
public static void Main() => new Program().MainAsync().GetAwaiter().GetResult();
private async Task MainAsync()
{
}
}
} | Use MainAsync instead of Main | Use MainAsync instead of Main
| C# | mit | i3arnon/Sandbox |
7e15e852349a2ab7c1cf37e4ab2b1ba4210a2611 | NuPack.Dialog/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | NuPack.Dialog/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuPack.Dialog.PackageManagerUI {
public class StringCollectionsToStringConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuPack.Dialog.PackageManagerUI {
public class StringCollectionsToStringConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | Fix bug in the StringCollection converter when DataServicePackage.Authors is a simple string. | Fix bug in the StringCollection converter when DataServicePackage.Authors is a simple string.
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
e102a4a9b25498d8f3b4e7b1ec147defa3dd9949 | SharpLayout/Section.cs | SharpLayout/Section.cs | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SharpLayout
{
public class Section
{
public PageSettings PageSettings { get; }
public List<Table> Tables { get; } = new List<Table>();
public Section(PageSettings pageSettings)
{
Pag... | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SharpLayout
{
public class Section
{
public PageSettings PageSettings { get; }
public List<Table> Tables { get; } = new List<Table>();
public Section(PageSettings pageSettings)
{
Pag... | Add method to add paragraph to section | Add method to add paragraph to section
| C# | mit | AVPolyakov/SharpLayout |
20265711868d7470feca72a21a3752bc1510045f | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
... | Make sure to assign concatted value to variable | Make sure to assign concatted value to variable
| C# | mit | appharbor/appharbor-cli |
04b025eb3f930656db5d9c2934cd231f0625e9f6 | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | using Windows.UI.Xaml;
using System.Threading.Tasks;
using TraktApiSharp.Example.UWP.Services.SettingsServices;
using Windows.ApplicationModel.Activation;
using Template10.Controls;
using Template10.Common;
using System;
using System.Linq;
using Windows.UI.Xaml.Data;
namespace TraktApiSharp.Example.UWP
{
/// Docum... | using System.Threading.Tasks;
using Template10.Controls;
using TraktApiSharp.Example.UWP.Services.SettingsServices;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace TraktApiSharp.Example.UWP
{
/// Documentation on APIs used in this page:
/// https://github... | Remove startup delay from project template. | Remove startup delay from project template.
| C# | mit | henrikfroehling/TraktApiSharp |
4e51984547b22f48de09587842201dcd523f18dd | Builder/Options.cs | Builder/Options.cs | using CommandLine;
using CommandLine.Text;
namespace Builder
{
public enum OptionBool
{
False,
True
}
public class Options
{
[Option("buildDir", Required = true)]
public string BuildDir { get; set; }
[Option("buildArtifactsCacheDir", Required = false)]
... | using CommandLine;
using CommandLine.Text;
namespace Builder
{
public enum OptionBool
{
False,
True
}
public class Options
{
[Option("buildDir", Required = true)]
public string BuildDir { get; set; }
[Option("buildArtifactsCacheDir", Required = false)]
... | Add skipCertVerify back to options | Add skipCertVerify back to options
| C# | apache-2.0 | cloudfoundry/windows_app_lifecycle,cloudfoundry-incubator/windows_app_lifecycle |
a7c7df04814ac069bae2828a157969aa979dc7e9 | Engine/Game/Data/Profile.cs | Engine/Game/Data/Profile.cs | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class ProfileKeys {
public static string login_count = "login_count";
}
public class Profile : DataObject {
public virtual int login_count {
get {
return Get<int>(ProfileKeys.login_count);
... | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class ProfileKeys {
public static string login_count = "login_count";
}
public class Profile : DataObject {
public virtual int login_count {
get {
return Get<int>(ProfileKeys.login_count);
... | Update change user, don't update if same val. | Update change user, don't update if same val.
| C# | mit | drawcode/game-lib-engine |
0f87897aaee9b156839ae414f3bce269d6f0092e | src/Avalonia.Native/ScreenImpl.cs | src/Avalonia.Native/ScreenImpl.cs | using System;
using System.Collections.Generic;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
class ScreenImpl : IScreenImpl, IDisposable
{
private IAvnScreens _native;
public ScreenImpl(IAvnScreens native)
{
_native = native;
}... | using System;
using System.Collections.Generic;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
class ScreenImpl : IScreenImpl, IDisposable
{
private IAvnScreens _native;
public ScreenImpl(IAvnScreens native)
{
_native = native;
}... | Use Array.Empty instead of list. | Use Array.Empty instead of list.
Co-authored-by: jp2masa <9fbaf4cd1a94d3d15b2d6800c6bfb955d5b2dc3c@users.noreply.github.com> | C# | mit | wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/A... |
d7ff6ae4ab287e61b9625dbb623c6679f1c60237 | src/Generator/Utils/TestsUtils.cs | src/Generator/Utils/TestsUtils.cs | using System.IO;
using CppSharp.Generators;
namespace CppSharp.Utils
{
public abstract class LibraryTest : ILibrary
{
readonly string name;
readonly LanguageGeneratorKind kind;
public LibraryTest(string name, LanguageGeneratorKind kind)
{
this.name = name;
... | using System.IO;
using CppSharp.Generators;
namespace CppSharp.Utils
{
public abstract class LibraryTest : ILibrary
{
readonly string name;
readonly LanguageGeneratorKind kind;
public LibraryTest(string name, LanguageGeneratorKind kind)
{
this.name = name;
... | Update test utility class for new ILibrary interface. | Update test utility class for new ILibrary interface.
| C# | mit | u255436/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSharp,imazen/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,ktopouzi/CppSharp,xistoso/CppSharp,mydogisbox/CppSharp,SonyaSa/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,genuinelucifer/CppSharp,nalkaro/CppSharp,inordertotest/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSha... |
8e234a38d723871837c7c2828bb9fcd450d9d0d9 | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml |
@using SpaceBlog.Models;
@model IEnumerable<Article>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<table class="table">
<tr>
<th> Title</th>
<th> Author</th>
</tr>
@foreach(var article in Model)
{
<tr>
<td... |
@using SpaceBlog.Models;
@model IEnumerable<Article>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<table class="table">
<tr>
<th> Title</th>
<th> Author</th>
</tr>
@foreach(var article in Model)
{
<tr>
<td... | Add action to "Read more" button | Add action to "Read more" button
| C# | mit | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog |
70e75b154a97a571e70fa5d39669b2c51b97386f | test/WebApps/SimpleApi/Startup.cs | test/WebApps/SimpleApi/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
servi... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Mvc;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection servi... | Set compatibility version to 2.2 in simple API test project | Set compatibility version to 2.2 in simple API test project
| C# | mit | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions |
cbce58e5e363f2aec4056178e5f8eafb494d2c84 | src/GiveCRM.Web/Views/Member/MembersList.cshtml | src/GiveCRM.Web/Views/Member/MembersList.cshtml | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | Remove refs to "ShowPager" that isn't relevant any more | Remove refs to "ShowPager" that isn't relevant any more
| C# | mit | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM |
0045c1a2ccf7223777c271e49bd076610c2abb2f | WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFXWPFWebWindowFactory.cs | WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFXWPFWebWindowFactory.cs | using System;
using Chromium;
using Chromium.WebBrowser;
using Neutronium.Core;
using Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;
using Neutronium.WebBrowserEngine.ChromiumFx.Session;
using Neutronium.WPF;
using Chromium.Event;
namespace Neutronium.WebBrowserEngine.ChromiumFx
{
public class ChromiumFXWP... | using System;
using Chromium;
using Chromium.WebBrowser;
using Neutronium.Core;
using Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;
using Neutronium.WebBrowserEngine.ChromiumFx.Session;
using Neutronium.WPF;
using Chromium.Event;
namespace Neutronium.WebBrowserEngine.ChromiumFx
{
public class ChromiumFXWP... | Improve granularity of component description | Improve granularity of component description
| C# | mit | David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,sjoerd222888/MVVM.CEF.Glue |
c97ba90afb6f6e49aefb6780f5edbed438e3fa19 | src/backend/SO115App.CompositionRoot/PersistenceServicesConfigurator.MongoDB.cs | src/backend/SO115App.CompositionRoot/PersistenceServicesConfigurator.MongoDB.cs | using Microsoft.Extensions.Configuration;
using Persistence.MongoDB;
using SimpleInjector;
using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Persistence.MongoDB;
namespace SO115App.CompositionRoot
{
internal static class PersistenceServicesConfigurator_MongoDB
{
interna... | using Microsoft.Extensions.Configuration;
using Persistence.MongoDB;
using SimpleInjector;
using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Persistence.MongoDB;
namespace SO115App.CompositionRoot
{
internal static clas... | Add - Aggiunta la registrazione nella composition root della ricerca della richiesta di assistenza | Add - Aggiunta la registrazione nella composition root della ricerca della richiesta di assistenza
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
29b45afdcf53a99d2be2e72bf5a5f5efc0869107 | conduit/Program.cs | conduit/Program.cs | using System;
using System.IO;
namespace Conduit
{
class Program
{
public static string APP_NAME = "Mimic Conduit";
public static string VERSION = "2.0.0";
public static string HUB_WS = "ws://127.0.0.1:51001/conduit";
public static string HUB = "http://127.0.0.1:510... | using System;
using System.IO;
namespace Conduit
{
class Program
{
public static string APP_NAME = "Mimic Conduit";
public static string VERSION = "2.0.0";
public static string HUB_WS = "ws://rift.mimic.lol/conduit";
public static string HUB = "https://rift.mimic.lo... | Switch Conduit to use rift.lol | :electric_plug: Switch Conduit to use rift.lol
| C# | mit | molenzwiebel/Mimic,BonusPlay/Mimic,Querijn/Mimic,Querijn/Mimic,molenzwiebel/Mimic,BonusPlay/Mimic,molenzwiebel/Mimic,Querijn/Mimic,BonusPlay/Mimic,Querijn/Mimic,molenzwiebel/Mimic,BonusPlay/Mimic |
0c91a44f40927d15b9d6dade96c4c3285bc51efa | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostWatchedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostWatchedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostWatchedMovie>, Tr... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostW... | Add filter property to most watched movies request. | Add filter property to most watched movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
c25f85dde9cf44ba3b5cc231ce56961043e61516 | Cogito.Components.Server/Program.cs | Cogito.Components.Server/Program.cs | using Topshelf;
using Topshelf.HostConfigurators;
namespace Cogito.Components.Server
{
public static class Program
{
/// <summary>
/// Main application entry point.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
public static int Main(s... | using Topshelf;
using Topshelf.HostConfigurators;
namespace Cogito.Components.Server
{
public static class Program
{
/// <summary>
/// Main application entry point.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
public static int Main(s... | Enable shutdown and set reset period. | Enable shutdown and set reset period.
| C# | mit | wasabii/Cogito,wasabii/Cogito |
645fe1ea30ef711dd82ce75e1e37d0a41aeb5df1 | src/UKParliData.BPTweets/TweetLog.cs | src/UKParliData.BPTweets/TweetLog.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UKParliData.BPTweets
{
public class TweetLog : ITweetLog
{
private string filename;
public TweetLog(string filename)
{
this.filena... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UKParliData.BPTweets
{
public class TweetLog : ITweetLog
{
private string filename;
public TweetLog(string filename)
{
this.filena... | Create the log file if it doesn't already exist | Create the log file if it doesn't already exist
| C# | mit | UKParliData/bptweets |
769566aa3d6d8a11692bc37b3efc68aaa53c2617 | P2EApp/Program.cs | P2EApp/Program.cs | using System;
using System.Linq;
using CommandLine;
using Ninject;
using P2E.ExtensionMethods;
using P2E.Interfaces.AppLogic;
using P2E.Interfaces.CommandLine;
namespace P2EApp
{
internal static class Program
{
static void Main(string[] args)
{
try
{
var... | using System;
using System.Linq;
using CommandLine;
using Ninject;
using P2E.ExtensionMethods;
using P2E.Interfaces.AppLogic;
using P2E.Interfaces.CommandLine;
namespace P2EApp
{
internal static class Program
{
static void Main(string[] args)
{
try
{
// ... | Use using() for Ninject kernel. | Use using() for Ninject kernel.
| C# | bsd-2-clause | SludgeVohaul/P2EApp |
b7dc99206b36c34ddc5d10607edc315e6d7bf5f8 | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
private Inje... | using System;
using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
... | Fix threading issue on initialisation | Fix threading issue on initialisation
When using DbLocalizationProvider the display channels would occasionaly
cause exceptions on start by trying to add duplicate keys (assume this
is due to trying to initialise display channels in parallel during start
up which in turn trying to initialise the localisation service i... | C# | apache-2.0 | episerver/AlloyDemoKit,episerver/AlloyDemoKit,episerver/AlloyDemoKit |
93093e8c5c1a83c06d74963e82c6e26e10933fa7 | ModGL/Numerics/MatrixExtensions.cs | ModGL/Numerics/MatrixExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ModGL.Numerics
{
public static class MatrixExtensions
{
public static Matrix4f Translate(this Matrix4f mat, Vector3f offset)
{
return... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ModGL.Numerics
{
public static class MatrixExtensions
{
public static Matrix4f Translate(this Matrix4f mat, Vector3f offset)
{
return... | Add missing RotateZ helper function. | Add missing RotateZ helper function.
| C# | lgpl-2.1 | GeirGrusom/ModGL |
5cbaa33001067235490daef2df1c054347cf7fc7 | Sitecore.Courier.Runner/Program.cs | Sitecore.Courier.Runner/Program.cs | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | Add help text when incorrect args passed in | Add help text when incorrect args passed in
| C# | mit | adoprog/Sitecore-Courier,cmgutmanis/Sitecore-Courier,rauljmz/Sitecore-Courier,unic/Sitecore-Courier,csteeg/Sitecore-Courier |
8d2d71ab15d26c5065c7254678634aa1b6ec00b8 | SupportManager.Control/ATHelper.cs | SupportManager.Control/ATHelper.cs | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string port)
{
serialPort = new SerialPort(po... | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string port)
{
serialPort = new SerialPort(po... | Apply a ReadTimeout/WriteTimeout to serialport stream | Apply a ReadTimeout/WriteTimeout to serialport stream
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
a45a4427f575a7cf8c66d8b9b442ded2aab70f8c | tests/Bugsnag.Tests/ReportTests.cs | tests/Bugsnag.Tests/ReportTests.cs | using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests
{
public class ReportTests
{
[Fact]
public void BasicTest()
{
System.Exception exception = null;
var configuration = new Configuration("123456");
try
{
throw new System.Exception("test");
}
catch (S... | using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests
{
public class ReportTests
{
[Fact]
public void BasicTest()
{
System.Exception exception = null;
var configuration = new Configuration("123456");
try
{
throw new System.Exception("test");
}
catch (S... | Test that a non thrown exception produces a report | Test that a non thrown exception produces a report
| C# | mit | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet |
31ad3927a6be78ccebce17104a92834b8d9778c3 | src/ILCompiler.CppCodeGen/src/Compiler/DependencyAnalysis/CppCodegenNodeFactory.cs | src/ILCompiler.CppCodeGen/src/Compiler/DependencyAnalysis/CppCodegenNodeFactory.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using ILCompiler.DependencyAnalysisFramework;
using Internal.TypeSystem;
namespace ILCompiler.Depend... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using ILCompiler.DependencyAnalysisFramework;
using Internal.TypeSystem;
namespace ILCompiler.Depend... | Fix CppCodegen build break and hook up CppCodegen to TFS build | Fix CppCodegen build break and hook up CppCodegen to TFS build
This project builds quickly and building it avoids unpleasant surprises coming through the mirror.
[tfs-changeset: 1658774]
| C# | mit | yizhang82/corert,tijoytom/corert,shrah/corert,shrah/corert,tijoytom/corert,krytarowski/corert,gregkalapos/corert,gregkalapos/corert,tijoytom/corert,yizhang82/corert,krytarowski/corert,yizhang82/corert,krytarowski/corert,krytarowski/corert,gregkalapos/corert,shrah/corert,tijoytom/corert,gregkalapos/corert,yizhang82/core... |
75ec4211c11cbb57c3d05123173f2049bb78e546 | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.cs | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.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.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | Fix huge oops in test scene (we actually want ConfigureAwait(true) here) | Fix huge oops in test scene (we actually want ConfigureAwait(true) here)
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework |
a443026387c31ebd3869b1e20f86008c0f810a60 | src/Steeltoe.Extensions.Configuration.ConfigServer/ConfigServerConfigurationBuilderExtensions.cs | src/Steeltoe.Extensions.Configuration.ConfigServer/ConfigServerConfigurationBuilderExtensions.cs | //
// Copyright 2017 the original author or authors.
//
// 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 ... | //
// Copyright 2017 the original author or authors.
//
// 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 ... | Add extension method with environment string | Add extension method with environment string
| C# | apache-2.0 | SteelToeOSS/Configuration,SteelToeOSS/Configuration,SteelToeOSS/Configuration |
5832e983a372046b9551f2245058221a6c9d232f | CubeServer/DataAccess/ModelFormats.cs | CubeServer/DataAccess/ModelFormats.cs | // // //-------------------------------------------------------------------------------------------------
// // // <copyright file="ModelFormats.cs" company="Microsoft Corporation">
// // // Copyright (c) Microsoft Corporation. All rights reserved.
// // // </copyright>
// // //---------------------------------------... | // // //-------------------------------------------------------------------------------------------------
// // // <copyright file="ModelFormats.cs" company="Microsoft Corporation">
// // // Copyright (c) Microsoft Corporation. All rights reserved.
// // // </copyright>
// // //---------------------------------------... | Add support for ctm model format | Add support for ctm model format
| C# | mit | PyriteServer/PyriteServer,obsoleted/PyriteServer,PyriteServer/PyriteServer,obsoleted/PyriteServer |
09c4e61536d26d00b40189fc06f70702730f7e34 | PackageExplorer/AboutWindow.xaml.cs | PackageExplorer/AboutWindow.xaml.cs | using System;
using System.Deployment.Application;
using System.Globalization;
using System.Windows;
using System.Windows.Documents;
using StringResources = PackageExplorer.Resources.Resources;
namespace PackageExplorer
{
/// <summary>
/// Interaction logic for AboutWindow.xaml
/// </summary>
public p... | using System;
using System.Deployment.Application;
using System.Globalization;
using System.Reflection;
using System.Windows;
using System.Windows.Documents;
using StringResources = PackageExplorer.Resources.Resources;
namespace PackageExplorer
{
/// <summary>
/// Interaction logic for AboutWindow.xaml
//... | Use informational attribute for version | Use informational attribute for version
| C# | mit | campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer |
342063ea5cd397a2c8731da1f4af4da97512b620 | NativeWiFiApi_TestWinForm/Form1.cs | NativeWiFiApi_TestWinForm/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NativeWiFiApi_TestWinForm
{
public partial class Form1 : Form
{
public Form1()
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace NativeWiFiApi_TestWinForm
{
public partial class Form1 : Form
{
public Form1()
{
... | Test 1st commit from explorer to GitHub. | Test 1st commit from explorer to GitHub. | C# | apache-2.0 | edvergara/Wifi-Detector |
79a178b55a28b8be40e1fe631c72f941f68558af | NBi.Core/Etl/IntegrationService/EtlRunner.cs | NBi.Core/Etl/IntegrationService/EtlRunner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.SqlServer.Dts.Runtime;
namespace NBi.Core.Etl.IntegrationService
{
abstract class EtlRunner: IEtlRunner
{
public IEtl Etl { get; private set; }
public EtlRunner(IEtl etl)
{
Etl ... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.SqlServer.Dts.Runtime;
namespace NBi.Core.Etl.IntegrationService
{
abstract class EtlRunner: IEtlRunner
{
public IEtl Etl { get; private set; }
public EtlRunner(IEtl etl)
{
Etl ... | Enforce an exception when the ETL has failed | Enforce an exception when the ETL has failed
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
52b4670b3582f36362e84dfa36585e4d484ab351 | ShopifySharp/Lists/ListResult.cs | ShopifySharp/Lists/ListResult.cs | using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
using System.Collections.Generic;
using System.Linq;
namespace ShopifySharp.Lists
{
public class ListResult<T>
{
public IEnumerable<T> Items { get; }
public LinkHeaderParseResult<T> LinkHeader { get; }
public bool HasNextP... | using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
using System.Collections.Generic;
using System.Linq;
namespace ShopifySharp.Lists
{
public class ListResult<T>
{
public IEnumerable<T> Items { get; }
public LinkHeaderParseResult<T> LinkHeader { get; }
public bool HasNextP... | Allow passing fields to next/previous page filters | Allow passing fields to next/previous page filters
| C# | mit | clement911/ShopifySharp,nozzlegear/ShopifySharp |
3e92ef0f9e7a306e45df73e42033b7a2c302b29b | src/HorseDate/Assets/Dialoguer/DialogueEditor/Scripts/Editor/DialogueEditorAssetModificationProcessor.cs | src/HorseDate/Assets/Dialoguer/DialogueEditor/Scripts/Editor/DialogueEditorAssetModificationProcessor.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
using DialoguerEditor;
public class DialogueEditorAssetModificationProcessor : UnityEditor.AssetModificationProcessor {
public static string[] OnWillSaveAssets(string[] paths){
//DialogueEditorWindow window = (DialogueEditorWindow)EditorWindow.GetWind... | using UnityEngine;
using UnityEditor;
using System.Collections;
using DialoguerEditor;
public class DialogueEditorAssetModificationProcessor : UnityEditor.AssetModificationProcessor {
public static string[] OnWillSaveAssets(string[] paths){
//DialogueEditorWindow window = (DialogueEditorWindow)EditorWindow.GetWind... | Fix Dialoguer using a deprecated Unity feature | Fix Dialoguer using a deprecated Unity feature
| C# | mit | harjup/HorseDate |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.