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 |
|---|---|---|---|---|---|---|---|---|---|
5926596ad9f63bb0daf6f8c9dec3b1839ab40bdf | BoozeHoundCloud/Areas/Core/Views/Account/Index.cshtml | BoozeHoundCloud/Areas/Core/Views/Account/Index.cshtml | @Html.Partial("_AccountTypeLinks")
<h2>All Accounts</h2>
<table id="accountsTable" class="table table-bordered table-hover">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Balance</th>
</tr>
</thead>
</table>
@section scripts
{
<script>
$(document).ready(function() {
$('#acco... | @Html.Partial("_AccountTypeLinks")
<h2>All Accounts</h2>
<table id="accountsTable" class="table table-bordered table-hover">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Balance</th>
</tr>
</thead>
</table>
@section scripts
{
<script>
$(document).ready(function() {
$('#acco... | Edit accounts of 'all' page. | Edit accounts of 'all' page.
| C# | mit | grae22/BoozeHoundCloud,grae22/BoozeHoundCloud,grae22/BoozeHoundCloud |
c6bc6be1280dfff8db52757ab51ab8aa9111b28b | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.cs | osu.Game/Rulesets/Edit/ExpandingToolboxContainer.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.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Containers;
using osuTK;
namespace osu.Game.Rulesets.Edit
{
public class Expa... | Fix toolbox expand being interrupted by gaps between groups | Fix toolbox expand being interrupted by gaps between groups
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu |
9604c1a705be65f526b5c3b612416b84fabda425 | src/Stripe.net/Services/Products/ProductListOptions.cs | src/Stripe.net/Services/Products/ProductListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class ProductListOptions : ListOptionsWithCreated
{
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("ids")]
public string[] Ids { get; set; }
[JsonProperty("shippable")]
public bool? ... | namespace Stripe
{
using Newtonsoft.Json;
public class ProductListOptions : ListOptionsWithCreated
{
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("ids")]
public string[] Ids { get; set; }
[JsonProperty("shippable")]
public bool? ... | Add support for `type` when listing Products | Add support for `type` when listing Products
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
47b681e1b849eb1e4ab827c782a73c8f10d95ecd | Sources/DSCPullServerWeb/Helpers/FileActionResult.cs | Sources/DSCPullServerWeb/Helpers/FileActionResult.cs | using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace DSCPullServerWeb.Helpers
{
public class FileActionResult : IHttpActionResult
{
private FileInfo _file;
public FileActionResult(FileInfo... | using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http;
namespace DSCPullServerWeb.Helpers
{
public class FileActionResult : IHttpActionResult
{
private FileInfo _file;
public FileActionResult(FileInfo... | Add content type for downloads | Add content type for downloads
| C# | mit | claudiospizzi/DSCPullServerWeb |
76c978af8bff77facbffcc2864705678aad6d320 | osu.Framework/Platform/BasicStorage.cs | osu.Framework/Platform/BasicStorage.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.IO;
using SQLite.Net;
namespace osu.Framework.Platform
{
public abstract class BasicStorage
{
public st... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.IO;
using osu.Framework.IO.File;
using SQLite.Net;
namespace osu.Framework.Platform
{
public abstract class BasicStorage
{
... | Add sanity check to dissalow invalid file paths | Add sanity check to dissalow invalid file paths
| C# | mit | EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,default0/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,RedNesto/osu-framework,naoey/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,smoogip... |
bf606522c1c3cd33ec90d70d1290fbfd5114d3aa | osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs | osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs | using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
[Ignore("getting CI working")]
public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer
{
public TestCaseHyperdash()
: ... | using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Catch.Objects;
namespace osu.Game.Rulesets.Catch.Tests
{
[TestFixture]
[Ignore("getting CI working")]
public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer
{
public TestCaseHyperdash()
: ... | Make hyperdash testcase easier to win again | Make hyperdash testcase easier to win again
| C# | mit | NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,peppy/osu,ppy/osu,peppy/osu,Frontear/osuKyzer,naoey/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,p... |
bb931fd42210a285e178cd00591b937ac0183088 | AssemblyVersionFromGit/AssemblyVersionReader.cs | AssemblyVersionFromGit/AssemblyVersionReader.cs | using System;
using System.Linq;
using System.Reflection;
namespace AssemblyVersionFromGit
{
public static class AssemblyVersionReader
{
/// <summary>
/// Formats the assembly version from the specified assembly.
/// Requires that the AssemblyInfo.cs file contains the AssemblyInformati... | using System;
using System.Linq;
using System.Reflection;
namespace AssemblyVersionFromGit
{
public static class AssemblyVersionReader
{
/// <summary>
/// Formats the assembly version from the specified assembly.
/// Requires that <paramref name="assembly"/> contains an AssemblyInforma... | Fix slight error in documentation | Fix slight error in documentation
| C# | mit | albinsunnanbo/AssemblyVersionFromGit,albinsunnanbo/AssemblyVersionFromGit |
e28711619b8f424c370ef82ae477e33cdb9a5fc5 | Lib/Infrastructure/EntityFramework/EFContext.cs | Lib/Infrastructure/EntityFramework/EFContext.cs | using System.Data.Entity;
using MyPersonalShortner.Lib.Domain.Url;
namespace MyPersonalShortner.Lib.Infrastructure.EntityFramework
{
public class EFContext : DbContext
{
public EFContext()
: base("MyPersonalShortner")
{
// TODO: Remove In Prod
Database.Creat... | using System.Data.Entity;
using MyPersonalShortner.Lib.Domain.Url;
namespace MyPersonalShortner.Lib.Infrastructure.EntityFramework
{
public class EFContext : DbContext
{
public EFContext()
: base("MyPersonalShortner")
{
Database.SetInitializer(new MyPersonalSHortnerInit... | Create a database initializer with a url for the github project | Create a database initializer with a url for the github project
| C# | mit | marciotoshio/MyPersonalShortner,marciotoshio/MyPersonalShortner |
25f5a13722aa9200633dd11663389d245a92d68d | OttoMail/OttoMail.Tests/ModelTests/EmailTest.cs | OttoMail/OttoMail.Tests/ModelTests/EmailTest.cs | using OttoMail.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace OttoMail.Tests
{
public class EmailTest
{
[Fact]
public void GetSubjectTest()
{
//Arrange
var email = ne... | using OttoMail.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace OttoMail.Tests
{
public class EmailTest
{
[Fact]
public void GetSubjectTest()
{
//Arrange
var email = ne... | Add Email test for ReadState. | Add Email test for ReadState.
| C# | mit | ottoetc/OttoMail,ottoetc/OttoMail,ottoetc/OttoMail |
82f301f33d5c3421bf24563e32cbc34271c29a8e | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/bootstrap.min.css")
</head>
<body>
<div>
@RenderBody()
</div>
@RenderSection("Scripts", false)
</bo... | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/bootstrap.min.css")
@Styles.Render("~/Content/bootstrap-responsive.min.css")
@Styles.Render("~/bundles/font-awesome")
... | Add styles and scripts to admin Layout. | Add styles and scripts to admin Layout.
Bootstrap responsive stylesheet, plus jQuery, Modernizr, HTML5 shim, and
Knockout.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
0e9b2fdecf343852fc34ee85aac76759b8f75848 | src/dotless.Test/Specs/Functions/ExtractFixture.cs | src/dotless.Test/Specs/Functions/ExtractFixture.cs | namespace dotless.Test.Specs.Functions
{
using NUnit.Framework;
public class ExtractFixture : SpecFixtureBase
{
[Test]
public void TestExtractFromCommaSeparatedList()
{
var input =
@"
@list: ""Arial"", ""Helvetica"";
.someClass {
font-fami... | namespace dotless.Test.Specs.Functions
{
using NUnit.Framework;
public class ExtractFixture : SpecFixtureBase
{
[Test]
public void TestExtractFromCommaSeparatedList()
{
var input =
@"
@list: ""Arial"", ""Helvetica"";
.someClass {
font-fami... | Test data whitespace fixes (from tabs to spaces) | Test data whitespace fixes (from tabs to spaces) | C# | apache-2.0 | r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,modulexcite/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis/dotless,dotless/dotless,modulexcite/dotless,rytmis/dotless,modulexcite/dotless... |
22eeb8d7a77f04e9895c19596776efb96fa2249d | Src/ClojSharp.Core/Context.cs | Src/ClojSharp.Core/Context.cs | namespace ClojSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Context : ClojSharp.Core.IContext
{
private IDictionary<string, object> values = new Dictionary<string, object>();
... | namespace ClojSharp.Core
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClojSharp.Core.Language;
public class Context : ClojSharp.Core.IContext
{
private IDictionary<string, object> values = new Dictionary<string, object>();
... | Refactor context to not use vars | Refactor context to not use vars
| C# | mit | ajlopez/ClojSharp |
1862bb5820a9cfa68703a35af3ba39d3c109f1d8 | Logger.cs | Logger.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities
{
public static class Logger
{
public static Action<String> WriteLine = (String s) =>
{
Console.WriteLine(s);
};
}
}
| using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities
{
public static class Logger
{
public static Action<String> WriteLine = (String s) =>
{
Trace.WriteLine(s);
... | Use Trace instead of Console | Use Trace instead of Console
| C# | mit | SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities |
6d9d05d181bd0d85dce443370a0bb64a0137a6b8 | src/PatchKit.Api/WrapHttpWebRequest.cs | src/PatchKit.Api/WrapHttpWebRequest.cs | using System;
using System.Net;
namespace PatchKit.Api
{
public class WrapHttpWebRequest : IHttpWebRequest
{
private readonly HttpWebRequest _httpWebRequest;
public int Timeout
{
get { return _httpWebRequest.Timeout; }
set { _httpWebRequest.Timeout = value; }
... | using System;
using System.Net;
namespace PatchKit.Api
{
public class WrapHttpWebRequest : IHttpWebRequest
{
private readonly HttpWebRequest _httpWebRequest;
public int Timeout
{
get { return _httpWebRequest.Timeout; }
set { _httpWebRequest.Timeout = value; }
... | Fix issue when WebException with ProtocolError status has empty response | Fix issue when WebException with ProtocolError status has empty response
| C# | mit | patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet |
909cc655cbf8e07c9eb6d76ecc051fb50a11e6e3 | src/hihapi/Models/Library/LibraryBookBorrowRecord.cs | src/hihapi/Models/Library/LibraryBookBorrowRecord.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace hihapi.Models.Library
{
[Table("T_LIB_BOOK_BORROW_RECORD")]
public class LibraryBookBorrowRecord: BaseModel
{
[Key]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace hihapi.Models.Library
{
[Table("T_LIB_BOOK_BORROW_RECORD")]
public class LibraryBookBorrowRecord: BaseModel
{
[Key]
... | Prepare add IsValid for book borrow record | Prepare add IsValid for book borrow record
| C# | mit | alvachien/achihapi |
57bff87f7185fc0fb968648bd8ff9b599b9d8985 | src/EventSourcingTodo/Domain/TodoListRepository.cs | src/EventSourcingTodo/Domain/TodoListRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EventSourcingTodo.Domain
{
public interface ITodoListRepository
{
IList<Event> Events { get; }
TodoList Get();
void PostChanges(TodoList todoList);
}
public class TodoLis... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace EventSourcingTodo.Domain
{
public interface ITodoListRepository
{
IList<Event> Events { get; }
TodoList Get();
void PostChanges(TodoList todoList);
}
public class TodoLis... | Make the event steam static again | Make the event steam static again
| C# | mit | jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo,jbrianskog/EventSourcingTodo |
c345783b9407281134be0386152cf91b51eecf76 | projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs | projects/EventHandlerSample/source/EventHandlerSample.Core/LoopingScheduler.cs | //-----------------------------------------------------------------------
// <copyright file="LoopingScheduler.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace EventHandlerSample
{
us... | //-----------------------------------------------------------------------
// <copyright file="LoopingScheduler.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace EventHandlerSample
{
us... | Refactor default GetElapsed to use static readonly instance | Refactor default GetElapsed to use static readonly instance
| C# | unlicense | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync |
8ddeee0a829a307454e32b58fc2b5d1850a62703 | src/Services/JsonNetJsonSerializerService.cs | src/Services/JsonNetJsonSerializerService.cs | namespace DarkSky.Services
{
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
/// <summary>
/// Interface to use for handling JSON serialization via Json.NET
/// </summary>
public class JsonNetJsonSerializerService : IJsonSerializerService
{
JsonSerializer... | namespace DarkSky.Services
{
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
/// <summary>
/// Interface to use for handling JSON serialization via Json.NET
/// </summary>
public class JsonNetJsonSerializerService : IJsonSerializerService
{
JsonSerializer... | Fix spelling in error message | fix(spelling): Fix spelling in error message
| C# | mit | amweiss/dark-sky-core |
f0337d6c8914b85ce25b6ff4ef4a170cf37b43db | src/tests/EventStore.Persistence.AcceptanceTests/EnviromentConnectionFactory.cs | src/tests/EventStore.Persistence.AcceptanceTests/EnviromentConnectionFactory.cs | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using SqlPersistence;
public class EnviromentConnectionFactory : IConnectionFactory
{
private readonly string providerInvariantName;
privat... | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Data;
using System.Data.Common;
using System.Diagnostics;
using SqlPersistence;
public class EnviromentConnectionFactory : IConnectionFactory
{
private readonly string providerInvariantName;
privat... | Use "." instead of ":" in env var key. | Use "." instead of ":" in env var key.
| C# | mit | paritoshmmmec/NEventStore,jamiegaines/NEventStore,chris-evans/NEventStore,marcoaoteixeira/NEventStore,gael-ltd/NEventStore,AGiorgetti/NEventStore,D3-LucaPiombino/NEventStore,NEventStore/NEventStore,adamfur/NEventStore,nerdamigo/NEventStore,deltatre-webplu/NEventStore |
6fc692c0cb13f4f2762141bf131bb3fa4552a4c9 | src/System.Security.Cryptography.Xml/tests/TestHelpers.cs | src/System.Security.Cryptography.Xml/tests/TestHelpers.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.IO;
namespace System.Security.Cryptography.Xml.Tests
{
internal static class TestHelpers
{
... | // 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.IO;
namespace System.Security.Cryptography.Xml.Tests
{
internal static class TestHelpers
{
... | Add missing .dtd file contents. | Add missing .dtd file contents.
| C# | mit | parjong/corefx,jlin177/corefx,nchikanov/corefx,stephenmichaelf/corefx,jlin177/corefx,fgreinacher/corefx,krytarowski/corefx,krk/corefx,Ermiar/corefx,mmitche/corefx,richlander/corefx,jlin177/corefx,Ermiar/corefx,mmitche/corefx,YoupHulsebos/corefx,rubo/corefx,ravimeda/corefx,zhenlan/corefx,the-dwyer/corefx,twsouthwick/cor... |
de95de8c5267af3e12d331142f6226ba5cec3df2 | Okanshi.InfluxDBObserver/InfluxDbObserverOptions.cs | Okanshi.InfluxDBObserver/InfluxDbObserverOptions.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Okanshi.Observers {
public class InfluxDbObserverOptions {
public string DatabaseName { get; }
public string RetentionPolicy { get; set; }
public Func<Tag, bool> TagToFieldSelector { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Okanshi.Observers {
public class InfluxDbObserverOptions {
public string DatabaseName { get; }
public string RetentionPolicy { get; set; }
public Func<Tag, bool> TagToFieldSelector { get; set; } = x => false;
... | Add default values to options | Add default values to options
| C# | mit | mvno/Okanshi,mvno/Okanshi,mvno/Okanshi |
13add0c355eb4b06a9a97c5f55f13a23a65f25e7 | src/Umbraco.Web/Install/InstallSteps/UpgradeStep.cs | src/Umbraco.Web/Install/InstallSteps/UpgradeStep.cs | using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
/// <summary>
/// This step is purely here to show the button to commence the upgrade
/// </summary>
[InstallSetupStep(InstallationType.Upgrade,
"Upgrade", "upgrade", 1, "Upgrading Umbraco to the latest and greatest ... | using Semver;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Web.Install.Models;
namespace Umbraco.Web.Install.InstallSteps
{
/// <summary>
/// This step is purely here to show the button to commence the upgrade
/// </summary>
[InstallSetupStep(InstallationType.Upgrade,
"Up... | Update the ViewModel we return as JSON to the Upgrade Installer Step - Has logic for checking latest logic (Needs bullet proof testing & discussion most likely) | Update the ViewModel we return as JSON to the Upgrade Installer Step - Has logic for checking latest logic (Needs bullet proof testing & discussion most likely)
| C# | mit | lars-erik/Umbraco-CMS,tompipe/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,NikRimington/Umbraco-CMS,gavinfaux/Umbraco-CMS,kgiszewski/Umbraco-CMS,romanlytvyn/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,romanlytvyn/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,hfloyd/Umbraco-C... |
b3be4015e1dd30ce275e86b15638c8b4a381125d | classes/lib/CommandFactory.cs | classes/lib/CommandFactory.cs | using System;
using System.Collections.Generic;
using Admo.classes.lib.commands;
using NLog;
using Newtonsoft.Json;
namespace Admo.classes.lib
{
class CommandFactory
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly Dictionary<string, Type> ... | using System;
using System.Collections.Generic;
using Admo.classes.lib.commands;
using NLog;
using Newtonsoft.Json;
namespace Admo.classes.lib
{
class CommandFactory
{
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
private static readonly Dictionary<string, Type> ... | Add calibrate command to the factory to be able to be parsed | Add calibrate command to the factory to be able to be parsed
| C# | mit | admoexperience/admo-kinect,admoexperience/admo-kinect |
21e6351c5354467ad641f5fee2971438b50b2ad6 | osu.Game/Online/Placeholders/LoginPlaceholder.cs | osu.Game/Online/Placeholders/LoginPlaceholder.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace... | Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests) | Allow DI for LoginOverlay to resolve to null in non-graphical environments (fix tests)
| C# | mit | peppy/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu-new,smoogipooo/osu,2yangk23/osu,peppy/osu |
e02d627f5818026cc048f3ece5e937100f2f8417 | src/Glimpse.Server.Web/GlimpseServerServices.cs | src/Glimpse.Server.Web/GlimpseServerServices.cs | using Glimpse.Server;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServerServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
{
return ... | using Glimpse.Agent;
using Glimpse.Server;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection;
using System.Collections.Generic;
namespace Glimpse
{
public class GlimpseServerServices
{
public static IEnumerable<IServiceDescriptor> GetDefaultServices()
... | Add missing namespace from service registration | Add missing namespace from service registration
| C# | mit | pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Pro... |
224d86920e7d78cead1bedc64ca06688fec3fc76 | src/Nancy.Demo.Authentication.Basic/UserValidator.cs | src/Nancy.Demo.Authentication.Basic/UserValidator.cs | namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Authentication.Basic;
using Nancy.Security;
public class UserValidator : IUserValidator
{
public IUserIdentity Validate(string username, string password)
{
if (username == "demo" && password == "demo")
return new DemoUserIden... | namespace Nancy.Demo.Authentication.Basic
{
using Nancy.Authentication.Basic;
using Nancy.Security;
public class UserValidator : IUserValidator
{
public IUserIdentity Validate(string username, string password)
{
if (username == "demo" && password == "demo")
... | Fix indentation; add braces around single-line if. | Fix indentation; add braces around single-line if.
| C# | mit | MetSystem/Nancy,nicklv/Nancy,blairconrad/Nancy,lijunle/Nancy,SaveTrees/Nancy,JoeStead/Nancy,phillip-haydon/Nancy,ccellar/Nancy,felipeleusin/Nancy,jchannon/Nancy,albertjan/Nancy,malikdiarra/Nancy,tareq-s/Nancy,thecodejunkie/Nancy,AlexPuiu/Nancy,ccellar/Nancy,danbarua/Nancy,joebuschmann/Nancy,davidallyoung/Nancy,jongleur... |
87d77b07ed246662bb54457431e754385cd9a101 | Source/Content/ApiTemplate/Controllers/HomeController.cs | Source/Content/ApiTemplate/Controllers/HomeController.cs | namespace ApiTemplate.Controllers
{
using ApiTemplate.Constants;
using Microsoft.AspNetCore.Mvc;
[Route("")]
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : ControllerBase
{
/// <summary>
/// Redirects to the swagger page.
/// </summary>
///... | namespace ApiTemplate.Controllers
{
using ApiTemplate.Constants;
using Microsoft.AspNetCore.Mvc;
[Route("")]
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : ControllerBase
{
/// <summary>
/// Redirects to the swagger page.
/// </summary>
///... | Use temporary redirect to swagger | Use temporary redirect to swagger
| C# | mit | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates |
57758bd9f24dd42e959d0d7c11c54ee4deb43f34 | CConst/CConst/ConstPolymorphismCodeFixProvider.cs | CConst/CConst/ConstPolymorphismCodeFixProvider.cs | using System;
using System.Composition;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | using System;
using System.Composition;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnal... | Make codefixer for explicit interface polymorph analyzer | Make codefixer for explicit interface polymorph analyzer
| C# | mit | FonsDijkstra/CConst |
ca74fa9c050150697b904d95bec19533f50a7731 | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | src/Dawn.SocketAwaitable/Properties/AssemblyInfo.cs | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | // Copyright
// ----------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="https://github.com/safakgur/Dawn.SocketAwaitable">
// MIT
// </copyright>
// <license>
// This source code is subject to terms and condit... | Increase assembly version to 1.0. | Increase assembly version to 1.0.
| C# | mit | safakgur/Dawn.SocketAwaitable |
3606a2c3120bf26148beb0ca46b728950056874a | src/MR.AspNetCore.Jobs/JobsServiceProviderExtensions.cs | src/MR.AspNetCore.Jobs/JobsServiceProviderExtensions.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
namespace MR.AspNetCore.Jobs
{
public static class JobsWebHostExtensions
{
public static Task StartJobsAsync(this IWebHost host)
{
var bootstrapper = host.Services.GetRequiredService<IBootstrappe... | using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace MR.AspNetCore.Jobs
{
public static class JobsWebHostExtensions
{
public static Task StartJobsAsync(this IHost host)
{
var bootstrapper = host.Services.GetRequiredService<IBootstrapper>(... | Change StartJobsAsync to work on the generic host | Change StartJobsAsync to work on the generic host
| C# | mit | mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs |
8d608daa9e08aca7563aad7b1bba2dbf2903295d | LiveSplit/LiveSplit.View/View/SpeedrunComOAuthForm.cs | LiveSplit/LiveSplit.View/View/SpeedrunComOAuthForm.cs | using LiveSplit.Options;
using System;
using System.Windows.Forms;
namespace LiveSplit.Web.Share
{
public partial class SpeedrunComOAuthForm : Form, ISpeedrunComAuthenticator
{
private string accessToken;
public SpeedrunComOAuthForm()
{
InitializeComponent();
}
... | using LiveSplit.Options;
using System;
using System.Windows.Forms;
namespace LiveSplit.Web.Share
{
public partial class SpeedrunComOAuthForm : Form, ISpeedrunComAuthenticator
{
private string accessToken;
public SpeedrunComOAuthForm()
{
InitializeComponent();
}
... | Set the access token properly in the OAuth form | Set the access token properly in the OAuth form
| C# | mit | Glurmo/LiveSplit,Glurmo/LiveSplit,chloe747/LiveSplit,stoye/LiveSplit,zoton2/LiveSplit,kugelrund/LiveSplit,stoye/LiveSplit,chloe747/LiveSplit,Fluzzarn/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,Fluzzarn/LiveSplit,Dalet/LiveSplit,zoton2/LiveSplit,Fluzzarn/LiveSplit,kugelrund/LiveSp... |
2eafd77e13d94618b40e8773eb23bd20bff830bd | Mindscape.Raygun4Net/Messages/RaygunMessageDetails.cs | Mindscape.Raygun4Net/Messages/RaygunMessageDetails.cs | using System.Collections;
using System.Collections.Generic;
namespace Mindscape.Raygun4Net.Messages
{
public class RaygunMessageDetails
{
public string MachineName { get; set; }
public string GroupingKey { get; set; }
public string Version { get; set; }
public RaygunErrorMessage Error { get; set... | using System.Collections;
using System.Collections.Generic;
namespace Mindscape.Raygun4Net.Messages
{
public class RaygunMessageDetails
{
public string MachineName { get; set; }
public string GroupingKey { get; set; }
public string Version { get; set; }
public string CorrelationId { get; set; }
... | Add new properties to message schema | Add new properties to message schema
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
4d6b9d123ec011b629e181c0f584c5674643806a | src/AppHarbor.Tests/Commands/LogoutAuthCommandTest.cs | src/AppHarbor.Tests/Commands/LogoutAuthCommandTest.cs | using System.IO;
using AppHarbor.Commands;
using Moq;
using Xunit;
namespace AppHarbor.Tests.Commands
{
public class LogoutAuthCommandTest
{
[Fact]
public void ShouldLogoutUser()
{
var accessTokenConfigurationMock = new Mock<AccessTokenConfiguration>();
var writer = new Mock<TextWriter>();
var logout... | using System.IO;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class LogoutAuthCommandTest
{
[Theory, AutoCommandData]
public void ShouldLogoutUser([Frozen]Mock<IAccessTokenConfiguration> accessTokenConfigurationMock, [Fro... | Use AutoFixture to populate test objects | Use AutoFixture to populate test objects
| C# | mit | appharbor/appharbor-cli |
9fec2103a305e6a6cdb7d080c7af8a81100472ef | TokenAuthentification/App_Start/WebApiConfig.cs | TokenAuthentification/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace TokenAuthentification
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API route... | using Newtonsoft.Json.Serialization;
using System.Linq;
using System.Net.Http.Formatting;
using System.Web.Http;
namespace TokenAuthentification
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
... | Add default format (json) in web api config | Add default format (json) in web api config
| C# | mit | aliziani/ELearning,aliziani/ELearning,aliziani/ELearning |
7cf28608ae7fb76b37ed6b3068cca102fec6c70f | TrueCraft.Core/TerrainGen/Biomes/TundraBiome.cs | TrueCraft.Core/TerrainGen/Biomes/TundraBiome.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrueCraft.Core.TerrainGen.Noise;
using TrueCraft.Core.Logic.Blocks;
using TrueCraft.API.World;
using TrueCraft.API;
namespace TrueCraft.Core.TerrainGen.Biomes
{
public class TundraBiome : BiomeProvider
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TrueCraft.Core.TerrainGen.Noise;
using TrueCraft.Core.Logic.Blocks;
using TrueCraft.API.World;
using TrueCraft.API;
namespace TrueCraft.Core.TerrainGen.Biomes
{
public class TundraBiome : BiomeProvider
{
public... | Remove plants from tundra biome | Remove plants from tundra biome
| C# | mit | creatorfromhell/TrueCraft,Mitch528/TrueCraft,christopherbauer/TrueCraft,blha303/TrueCraft,flibitijibibo/TrueCraft,manio143/TrueCraft,SirCmpwn/TrueCraft,manio143/TrueCraft,flibitijibibo/TrueCraft,thdtjsdn/TrueCraft,thdtjsdn/TrueCraft,thdtjsdn/TrueCraft,christopherbauer/TrueCraft,flibitijibibo/TrueCraft,Mitch528/TrueCraf... |
ac163a6ec61c9b5e76527d08253d5d73e7f4b0ff | src/LondonTravel.Site/Views/Shared/_SignInForm.cshtml | src/LondonTravel.Site/Views/Shared/_SignInForm.cshtml | @inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@{
var providers = SignInManager.GetExternalAuthenticationSchemes()
.OrderBy((p) => p.DisplayName)
.ThenBy((p) => p.AuthenticationScheme)
.ToList();
var schemesToShow = ViewData["AuthenticationSchemesTo... | @inject Microsoft.AspNetCore.Identity.SignInManager<LondonTravelUser> SignInManager
@{
var providers = SignInManager.GetExternalAuthenticationSchemes()
.OrderBy((p) => p.DisplayName)
.ThenBy((p) => p.AuthenticationScheme)
.ToList();
/*
var schemesToShow = ViewData["AuthenticationSc... | Disable provider filtering for Alexa | Disable provider filtering for Alexa
Disable filtering of external authentication schemes to investigate #36.
| C# | apache-2.0 | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site |
8a8d9193a7a93bfa34780cbe5b110ab2e0ba5f1c | IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs | IntUITive.Selenium.Tests/IntuitivelyFindByIdTests.cs | using NUnit.Framework;
namespace IntUITive.Selenium.Tests
{
[TestFixture]
public class IntuitivelyFindByIdTests : BaseIntuitivelyTests
{
[Test]
public void Find_WithIdAsTerm_ReturnsSingleElement()
{
var element = Intuitively.Find("uniqueId");
Ass... | using NUnit.Framework;
namespace IntUITive.Selenium.Tests
{
[TestFixture]
public class IntuitivelyFindByIdTests : BaseIntuitivelyTests
{
[Test]
public void Find_WithIdAsTerm_ReturnsElement()
{
var element = Intuitively.Find("uniqueId");
Assert.Th... | Refactor - rename test methods | Refactor - rename test methods
| C# | apache-2.0 | stoneass/IntUITive,stoneass/IntUITive |
4b086b7e1cf38d386ad6c2bcffed2fee89e4679f | src/Nancy/Json/JsonSettings.cs | src/Nancy/Json/JsonSettings.cs | namespace Nancy.Json
{
using System.Collections.Generic;
using Converters;
/// <summary>
/// Json serializer settings
/// </summary>
public static class JsonSettings
{
/// <summary>
/// Max length of json output
/// </summary>
public static int M... | namespace Nancy.Json
{
using System.Collections.Generic;
using Converters;
/// <summary>
/// Json serializer settings
/// </summary>
public static class JsonSettings
{
/// <summary>
/// Max length of json output
/// </summary>
public static int M... | Fix default JSON response charset | Fix default JSON response charset
| C# | mit | rudygt/Nancy,thecodejunkie/Nancy,dbabox/Nancy,wtilton/Nancy,thecodejunkie/Nancy,AcklenAvenue/Nancy,phillip-haydon/Nancy,kekekeks/Nancy,EIrwin/Nancy,hitesh97/Nancy,nicklv/Nancy,xt0rted/Nancy,horsdal/Nancy,davidallyoung/Nancy,davidallyoung/Nancy,cgourlay/Nancy,guodf/Nancy,adamhathcock/Nancy,AcklenAvenue/Nancy,cgourlay/Na... |
51556a809d578f159387664cf23ce26a856643b1 | osu.Game/Online/API/Requests/MarkChannelAsReadRequest.cs | osu.Game/Online/API/Requests/MarkChannelAsReadRequest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class MarkChannelAsReadRequest : APIRequest
{
private readonly Channel chann... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class MarkChannelAsReadRequest : APIRequest
{
private readonly Channel chann... | Fix variables not being used inside target string | Fix variables not being used inside target string
| C# | mit | ppy/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu |
228c5d7f6590272a3ceec5342cf30c71eecae3bd | Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs | Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs | namespace Serilog.Exceptions.Core
{
using System;
using System.Collections.Generic;
using Serilog.Exceptions.Filters;
internal class ExceptionPropertiesBag : IExceptionPropertiesBag
{
private readonly Type exceptionType;
private readonly IExceptionPropertyFilter filter;
priv... | namespace Serilog.Exceptions.Core
{
using System;
using System.Collections.Generic;
using Serilog.Exceptions.Filters;
internal class ExceptionPropertiesBag : IExceptionPropertiesBag
{
private readonly Type exceptionType;
private readonly IExceptionPropertyFilter filter;
priv... | Document fail-fast approach for exception bag property add after results collected | Document fail-fast approach for exception bag property add after results collected
| C# | mit | RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions |
2e0eb93a7c20896471789353d8f492581b53b875 | kh.kh2/Messages/MsgSerializer.Text.cs | kh.kh2/Messages/MsgSerializer.Text.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace kh.kh2.Messages
{
public partial class MsgSerializer
{
public static string SerializeText(IEnumerable<MessageCommandModel> entries)
{
var sb = new StringBuilder();
foreach (var entry in entries... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace kh.kh2.Messages
{
public partial class MsgSerializer
{
public static string SerializeText(IEnumerable<MessageCommandModel> entries)
{
var sb = new StringBuilder();
for... | Fix crash in Serializer on MessageCommand.End or empty getter | Fix crash in Serializer on MessageCommand.End or empty getter
| C# | mit | Xeeynamo/KingdomHearts |
63386dc390ec777a7c60f8b75cc119ba9905334f | osu.Framework/Graphics/Containers/CircularContainer.cs | osu.Framework/Graphics/Containers/CircularContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
public class CircularContainer : Container
{
public override float Corne... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container which come with masking and automatic corner radius... | Add comment and add masking back. | Add comment and add masking back.
| C# | mit | Nabile-Rahmani/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,naoey/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,paparony03/osu-framework,peppy/osu-framework,naoey/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,default0/o... |
89c40e588ef5aa094a6321835f91c138a574a87e | KeepOn/Program.cs | KeepOn/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
namespace KeepOn
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
namespace KeepOn
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static v... | Handle the exception when parsing the arguments | Handle the exception when parsing the arguments
| C# | mit | celeron533/KeepOn |
dee819af6a2bf2610b9501a2dc52167c82dc9d5d | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/OPService/SetStatoSquadra.cs | src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/OPService/SetStatoSquadra.cs | using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ServiziEsterni.OPService;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.OPService;
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
n... | using Microsoft.Extensions.Configuration;
using Newtonsoft.Json;
using SO115App.ExternalAPI.Client;
using SO115App.Models.Classi.ServiziEsterni.OPService;
using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.OPService;
using System;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
n... | Set Stato Squadra - Abilitata la chiamata a OpService | Set Stato Squadra - Abilitata la chiamata a OpService
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf |
74d472f96e44d8842cd21078adf1d710b32ef970 | BmpListener/Bgp/IPAddrPrefix.cs | BmpListener/Bgp/IPAddrPrefix.cs | using System;
using System.Linq;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
public IPAddrPrefix(ArraySegment<byte> data, Bgp.AddressFamily afi = Bgp.AddressFamily.IP)
{
DecodeFromBytes(data, afi);
}
public byte Length { get; private s... | using System;
using System.Linq;
using System.Net;
namespace BmpListener.Bgp
{
public class IPAddrPrefix
{
//TODO add offset to ctor
public IPAddrPrefix(ArraySegment<byte> data, int offset = 0, AddressFamily afi = AddressFamily.IP)
{
DecodeFromBytes(data, afi);
}
... | Add offset as optional parameter | Add offset as optional parameter
| C# | mit | mstrother/BmpListener |
9ee8df443a4816155ca977352a4a776cb352d8ab | Web/Infrastructure/NinjectDependencyResolver.cs | Web/Infrastructure/NinjectDependencyResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Data.UnitWork;
using Ninject;
using Cats.Services.EarlyWarning;
namespace Cats.Infrastructure
{
public class NinjectDependencyResolver : IDependencyResolver
{
private IKernel kernel;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Cats.Data.UnitWork;
using Ninject;
using Cats.Services.EarlyWarning;
namespace Cats.Infrastructure
{
public class NinjectDependencyResolver : IDependencyResolver
{
private IKernel kernel;
... | Update Dependency Resolver to include Requisition Service | Update Dependency Resolver to include Requisition Service
| C# | apache-2.0 | ndrmc/cats,ndrmc/cats,ndrmc/cats |
10d1aae992815039e04b9c256617413731ffc632 | resharper/resharper-unity/src/Rider/CodeInsights/UnityCodeInsightCodeInsightProvider.cs | resharper/resharper-unity/src/Rider/CodeInsights/UnityCodeInsightCodeInsightProvider.cs | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.GotoByName;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.CodeInsights.Providers;
using JetBrains.Rider.Model;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.CodeInsights
{
[SolutionComponent]
public class... | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.GotoByName;
using JetBrains.Platform.RdFramework.Util;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.CodeInsights.Providers;
using JetBrains.Rider.Model;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.CodeInsights
{
... | Fix code vision order in not-unity projects | Fix code vision order in not-unity projects
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
032cb054cdac434c33fc9b2aaf4067bc04f5fbc0 | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.cs | test/Microsoft.NET.TestFramework/Commands/MSBuildTest.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.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | // 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.
using System;
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.Utils;
namespace Microsoft.NET.TestFramework.Commands
{
public ... | Set NUGET_PACKAGES environment variable when running MSBuild commands | Set NUGET_PACKAGES environment variable when running MSBuild commands
This is needed for running tests from Visual Studio, where the build.ps1 script hasn't set this value
| C# | mit | nkolev92/sdk,nkolev92/sdk |
0e37dce5c981454c3116ff2d9b082d9a9f47940d | src/Nest/XPack/Watcher/PutWatch/PutWatchResponse.cs | src/Nest/XPack/Watcher/PutWatch/PutWatchResponse.cs | using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
[ReadAs(typeof(PutWatchResponse))]
public class PutWatchResponse : ResponseBase
{
[DataMember(Name = "created")]
public bool Created { get; internal set; }
[DataMember(Name = "_id")]
public string Id { get; internal set; }
[D... | using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
public class PutWatchResponse : ResponseBase
{
[DataMember(Name = "created")]
public bool Created { get; internal set; }
[DataMember(Name = "_id")]
public string Id { get; internal set; }
[DataMember(Name = "_version")]
publ... | Remove ReadAsAttribute from concrete response | Remove ReadAsAttribute from concrete response
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
5d4cf2d3e04dcc75c7835e31d844f6276db32bbf | src/Stripe.net/Entities/StripeBalanceTransaction.cs | src/Stripe.net/Entities/StripeBalanceTransaction.cs | namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class StripeBalanceTransaction : StripeEntityWithId
{
[JsonProperty("object")]
public string Object { get; set; }
[JsonProperty("amount")]
... | namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class StripeBalanceTransaction : StripeEntityWithId
{
[JsonProperty("object")]
public string Object { get; set; }
[JsonProperty("amount")]
... | Add exchange_rate to the Balance Transaction resource | Add exchange_rate to the Balance Transaction resource
| C# | apache-2.0 | stripe/stripe-dotnet,richardlawley/stripe.net |
da8e211639c7e04e9bd966a166e216bc0ee838fb | StressMeasurementSystem/ViewModels/PatientViewModel.cs | StressMeasurementSystem/ViewModels/PatientViewModel.cs | using System.Collections.Generic;
using StressMeasurementSystem.Models;
namespace StressMeasurementSystem.ViewModels
{
public class PatientViewModel
{
private Patient _patient;
public PatientViewModel()
{
_patient = null;
}
public PatientViewModel(Patient ... | using System.Collections.Generic;
using StressMeasurementSystem.Models;
namespace StressMeasurementSystem.ViewModels
{
public class PatientViewModel
{
private Patient _patient;
public PatientViewModel()
{
_patient = new Patient();
}
public PatientViewModel... | Fix null assignment in default constructor | Fix null assignment in default constructor
| C# | apache-2.0 | SICU-Stress-Measurement-System/frontend-cs |
d5fd59b954ecff7125b5111c4f19fa74328301b4 | app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs | app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Archetype.Models
{
[JsonObject]
public class ArchetypeModel : IEnumerable<ArchetypeFieldsetModel>
{
[JsonProperty("fieldsets")]
public I... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Archetype.Models
{
[JsonObject]
public class ArchetypeModel : IEnumerable<ArchetypeFieldsetModel>
{
[JsonProperty("fieldsets")]
public I... | Remove editorState from model before persisting | Remove editorState from model before persisting
| C# | mit | kgiszewski/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,kipusoep/Archetype,imulus/Archetype,imulus/Archetype,kipusoep/Archetype,kipusoep/Archetype,kjac/Archetype,kgiszewski/Archetype,Nicholas-Westby/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,kgiszewski/Archetype,imulus/Archetype |
f055d0e5e85c04299b71b22d78b7166abf3bfd97 | src/Bundlr/BundleExtensions.cs | src/Bundlr/BundleExtensions.cs | using System.IO;
using System.Web.Optimization;
namespace Bundlr
{
public static class BundleExtensions
{
public static TBundle IncludePath<TBundle>(this TBundle bundle, string root, params string[] files)
where TBundle : Bundle
{
foreach (string file in files)
... | using System.IO;
using System.Web.Optimization;
namespace Bundlr
{
public static class BundleExtensions
{
public static TBundle AddTo<TBundle>(this TBundle bundle, BundleCollection collection)
where TBundle : Bundle
{
collection.Add(bundle);
return bundle;
... | Add extension method for adding bundle to bundle collection. | Add extension method for adding bundle to bundle collection.
| C# | mit | mrydengren/templar,mrydengren/templar |
743bf289e1d2992292f7e4a0e4f1430761793f97 | src/Listy.Web/App_Start/BundleConfig.cs | src/Listy.Web/App_Start/BundleConfig.cs | using System.Web.Optimization;
namespace Listy.Web
{
public class BundleConfig
{
public class BootstrapResourcesTransform : IItemTransform
{
public string Process(string includedVirtualPath, string input)
{
return input.Replace(@"../fonts/", @"/Content/f... | using System.Web.Optimization;
namespace Listy.Web
{
public class BundleConfig
{
public class BootstrapResourcesTransform : IItemTransform
{
public string Process(string includedVirtualPath, string input)
{
return input.Replace(@"../fonts/", @"/Content/f... | Remove a bundle directive which pointed to an empty folder (which blew up Azure) | Remove a bundle directive which pointed to an empty folder (which blew up Azure)
| C# | apache-2.0 | bendetat/Listy-Azure,bendetat/Listy-Azure |
d9ea2d720deb961b1054418c437f0212573bdaea | ConsoleApplication1/Program.cs | ConsoleApplication1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Trek.BalihooApiClient;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
// https://github.com/balihoo/local-connect-client
var client = new BalihooApiClient();
//cl... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Trek.BalihooApiClient.Sample
{
class Program
{
static void Main()
{
// https://github.com/balihoo/local-connect-client
var client = new BalihooApiClient();
//client.GenerateClientA... | Change namespace to match project | Change namespace to match project
| C# | mit | TrekBikes/Trek.BalihooApiClient |
14ff22e962afad5cbf51de089364e72a131037f8 | NBi.Xml/InstanceSettlingXml.cs | NBi.Xml/InstanceSettlingXml.cs | using NBi.Xml.Settings;
using NBi.Xml.Variables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace NBi.Xml
{
[XmlInclude(typeof(InstanceUnique))]
public class InstanceSettlingXml
{
[XmlEleme... | using NBi.Xml.Settings;
using NBi.Xml.Variables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace NBi.Xml
{
[XmlInclude(typeof(InstanceUnique))]
public class InstanceSettlingXml
{
[XmlEleme... | Improve handling of the singleton pattern of UniqueInstance | Improve handling of the singleton pattern of UniqueInstance
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
5ce7dfa09d60e9edd5b8907b4f7c18acb51f0821 | src/MSBuildProjectBuilder.UnitTest/ProjectTest.cs | src/MSBuildProjectBuilder.UnitTest/ProjectTest.cs | using Microsoft.MSBuildProjectBuilder;
using NUnit.Framework;
using Shouldly;
namespace MSBuildProjectBuilder.UnitTest
{
[TestFixture]
public class ProjectTest
{
private ProjectBuilder _project;
[OneTimeSetUp]
public void TestInitialize()
{
_project = new Proje... | using Microsoft.MSBuildProjectBuilder;
using NUnit.Framework;
using Shouldly;
namespace MSBuildProjectBuilder.UnitTest
{
[TestFixture]
public class ProjectTest
{
private ProjectBuilder _project;
[OneTimeSetUp]
public void TestInitialize()
{
_project = new Proje... | Test removing new lines for compare | Test removing new lines for compare
| C# | mit | CommonBuildToolset/CBT.Modules,jeffkl/CBT.Modules |
74ef373de7b4e1729a1ff99e872d9e029f2a735d | test/Autofac.Test/Features/Metadata/StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied.cs | test/Autofac.Test/Features/Metadata/StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied.cs | using System;
using Autofac.Core;
using Autofac.Core.Registration;
using Autofac.Features.Metadata;
using Autofac.Test.Features.Metadata.TestTypes;
using Autofac.Util;
using Xunit;
namespace Autofac.Test.Features.Metadata
{
public class StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied
{
private ICont... | using Autofac.Core;
using Autofac.Features.Metadata;
using Autofac.Test.Features.Metadata.TestTypes;
using Autofac.Util;
using Xunit;
namespace Autofac.Test.Features.Metadata
{
public class StronglyTypedMeta_WhenNoMatchingMetadataIsSupplied
{
private readonly IContainer _container;
public Stro... | Fix broken metadata unit test | Fix broken metadata unit test
| C# | mit | autofac/Autofac |
10b9d9f2e762c2df7410eeff8776159bb68d1f84 | src/Stripe.net/Entities/StripeSubscriptionItem.cs | src/Stripe.net/Entities/StripeSubscriptionItem.cs | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeSubscriptionItem : StripeEntityWithId, ISupportMetadata
{
[JsonProperty("object")]
public string Object { get; set; }
[JsonProperty("created")]
... | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using Stripe.Infrastructure;
namespace Stripe
{
public class StripeSubscriptionItem : StripeEntityWithId, ISupportMetadata
{
[JsonProperty("object")]
public string Object { get; set; }
[JsonProperty("created")]
... | Add subscription to the subscription item class | Add subscription to the subscription item class
| C# | apache-2.0 | richardlawley/stripe.net,stripe/stripe-dotnet |
67e19661fd2284263841f6663a0e8a99b5ffb258 | TestApp/Form1.cs | TestApp/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;
using System.Threading;
using SimpleScale.HeadNode;
namespace TestApp
{
public class Member {
public string Name;
}
... | 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;
using System.Threading;
using SimpleScale.HeadNode;
namespace TestApp
{
public partial class Form1 : Form
{
public F... | Rearrange class order so form designer works | Rearrange class order so form designer works
| C# | mit | SimpleScale/SimpleScale,SimpleScale/SimpleScale |
3ac85abd28d1aa235f102c97da3474e66435dd2e | src/ChessVariantsTraining/Extensions/ChessGameExtensions.cs | src/ChessVariantsTraining/Extensions/ChessGameExtensions.cs | using ChessDotNet;
using ChessDotNet.Variants.Crazyhouse;
using System.Collections.Generic;
namespace ChessVariantsTraining.Extensions
{
public static class ChessGameExtensions
{
public static Dictionary<string, int> GenerateJsonPocket(this ChessGame game)
{
CrazyhouseChessGame zhC... | using ChessDotNet;
using ChessDotNet.Variants.Crazyhouse;
using System.Collections.Generic;
namespace ChessVariantsTraining.Extensions
{
public static class ChessGameExtensions
{
public static Dictionary<string, int> GenerateJsonPocket(this ChessGame game)
{
CrazyhouseChessGame zhC... | Rewrite GenerateJsonPocket to complete output | Rewrite GenerateJsonPocket to complete output
| C# | agpl-3.0 | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training |
40ffd7866c33deeb528181435ac3534f6e639774 | PayPalMobileForXamarin/libPayPalMobile.linkwith.cs | PayPalMobileForXamarin/libPayPalMobile.linkwith.cs | using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libPayPalMobile.a",
LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator,
ForceLoad = true,
Frameworks="AVFoundation CoreMedia CoreVideo SystemConfiguration Security MessageUI OpenGLES... | using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("libPayPalMobile.a",
LinkTarget.ArmV7 | LinkTarget.ArmV7s | LinkTarget.Simulator,
ForceLoad = true,
Frameworks="AVFoundation CoreMedia CoreVideo SystemConfiguration Security MessageUI OpenGLES... | Fix linking errors when compiled for arm | Fix linking errors when compiled for arm
| C# | bsd-2-clause | deruss/xamarin-paypal-ios-sdk |
781c0bea9d5d0e515e859ae1eedec074d7a11ed2 | Source/Totem/Runtime/Client.cs | Source/Totem/Runtime/Client.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Totem.Runtime
{
/// <summary>
/// A user or process establishing a security context with a runtime service
/// </summary>
public class Client
{
public Client()
{
Id = Id.Unassigned;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
namespace Totem.Runtime
{
/// <summary>
/// A user or process establishing a security context with a runtime service
/// </summary>
public class Client
{
public Client()
{
Id = Id.Unassigned;
... | Add check for anonymous clients | Add check for anonymous clients
| C# | mit | bwatts/Totem,bwatts/Totem |
ee682135893e78786005ccc66fe3af11df8e8e43 | test/NEventSocket.Tests/Sockets/OutboundSocketTests.cs | test/NEventSocket.Tests/Sockets/OutboundSocketTests.cs | namespace NEventSocket.Tests.Sockets
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Common.Logging;
using Common.Logging.Simple;
using Xunit;
public class OutboundSocketTests
{
public OutboundSocketTests()
{
LogM... | namespace NEventSocket.Tests.Sockets
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Common.Logging;
using Common.Logging.Simple;
using Xunit;
public class OutboundSocketTests
{
public OutboundSocketTests()
{
LogM... | Make ObservableSocket log using it's inherited type | Make ObservableSocket log using it's inherited type
| C# | mpl-2.0 | danbarua/NEventSocket,pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket |
1eab4e179ddb5583ded246af115edafdc41b89c1 | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | osu.Game.Tests/Visual/Online/TestSceneShowMoreButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Overlays.Profile.Sections;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
namespace osu.Game.Tests.Visual.Online
{
pub... | Add sample action to test so hover effect is visible | Add sample action to test so hover effect is visible
| C# | mit | johnneijzen/osu,peppy/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,2y... |
ff52a5ddc6bc5cbb4d5dfdf52fed460b6e660826 | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.cs | osu.Game/Online/RealtimeMultiplayer/ISpectatorClient.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.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | // 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.Tasks;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining a spectator client instance.
/// </summ... | Add callbacks for join/leave events to notify other room occupants | Add callbacks for join/leave events to notify other room occupants
| C# | mit | smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu |
0dc257d1d72852d0d83f1fa0bc795c6ad60ae7b9 | src/Cassette.Aspnet/RawFileRequestRewriter.cs | src/Cassette.Aspnet/RawFileRequestRewriter.cs | using System;
using System.Text.RegularExpressions;
using System.Web;
namespace Cassette.Aspnet
{
public class RawFileRequestRewriter
{
readonly HttpContextBase context;
readonly IFileAccessAuthorization fileAccessAuthorization;
readonly HttpRequestBase request;
pu... | using System;
using System.Text.RegularExpressions;
using System.Web;
namespace Cassette.Aspnet
{
public class RawFileRequestRewriter
{
readonly HttpContextBase context;
readonly IFileAccessAuthorization fileAccessAuthorization;
readonly HttpRequestBase request;
pu... | Change raw file request rewriter to use AppRelativeCurrentExecutionFilePath instead of PathInfo to determine the file path. When not running in IIS PathInfo seems to be empty at the point when the rewriter is called. | Change raw file request rewriter to use AppRelativeCurrentExecutionFilePath instead of PathInfo to determine the file path. When not running in IIS PathInfo seems to be empty at the point when the rewriter is called.
| C# | mit | damiensawyer/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette |
2d7e461d7eb581c8e05164791096e78880d25b78 | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | src/Lime.Protocol/Network/EnvelopeTooLargeException.cs | using System;
namespace Lime.Protocol.Network
{
public class EnvelopeTooLargeException : Exception
{
public EnvelopeTooLargeException()
: base()
{
}
public EnvelopeTooLargeException(string message)
: base(message)
{
}
public Env... | using System;
namespace Lime.Protocol.Network
{
public class EnvelopeTooLargeException : Exception
{
public EnvelopeTooLargeException()
: base()
{
}
public EnvelopeTooLargeException(string message)
: base(message)
{
}
public Env... | Remove unneed ToString (on string) | Remove unneed ToString (on string)
| C# | apache-2.0 | takenet/lime-csharp |
710354895a812f7142a2a43c4c29cba9296ecbc7 | Views/EditorTemplates/Parts/CodePrettifySettings.cshtml | Views/EditorTemplates/Parts/CodePrettifySettings.cshtml | @model Devworx.CodePrettify.ViewModels.CodePrettifySettingsViewModel
<fieldset>
<legend>@T("Code Prettify")</legend>
<div>
@Html.EditorFor(m => m.PrettifySettingsPart.UseAutoLoader)
<label for="@Html.FieldIdFor(m => m.PrettifySettingsPart.UseAutoLoader)" class="forcheckbox">@T("Use default asy... | @model Devworx.CodePrettify.ViewModels.CodePrettifySettingsViewModel
<fieldset>
<legend>@T("Code Prettify")</legend>
<div>
@Html.CheckBox("UseAutoLoader", Model.PrettifySettingsPart.UseAutoLoader)
<label for="CodePrettifySettings_UseAutoLoader" class="forcheckbox">@T("Use default async auto lo... | Fix change that broke updating the setting. | Fix change that broke updating the setting.
| C# | mit | devworx-au/Devworx.CodePrettify,devworx-au/Devworx.CodePrettify |
4f9e1e4945d002ea20a35855bd2bcdd160aa50eb | osu.Game/Skinning/Editor/SkinBlueprintContainer.cs | osu.Game/Skinning/Editor/SkinBlueprintContainer.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.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game... | // 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.Graphics;
using osu.Framework.Testing;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game... | Check for new components every one second to handle late loaders | Check for new components every one second to handle late loaders
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu |
98e773ab8ad11b077e7d04be93e0dd219d123262 | src/Avalonia.Visuals/Rendering/ICustomSimpleHitTest.cs | src/Avalonia.Visuals/Rendering/ICustomSimpleHitTest.cs | using System.Collections.Generic;
using System.Linq;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
/// <summary>
/// An interface to allow non-templated controls to customize their hit-testing
/// when using a renderer with a simple hit-testing algorithm without a scene graph,
/// such as <... | using System.Collections.Generic;
using System.Linq;
using Avalonia.VisualTree;
namespace Avalonia.Rendering
{
/// <summary>
/// An interface to allow non-templated controls to customize their hit-testing
/// when using a renderer with a simple hit-testing algorithm without a scene graph,
/// such as <... | Remove comment, expanding the hittable area is possible | ICustomHitTest: Remove comment, expanding the hittable area is possible
| C# | mit | jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,grokys/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Su... |
dd2e037b9930cdf15b92d75e88626d9a334176da | LeetCode/remote/remove_duplicates_from_sorted_list.cs | LeetCode/remote/remove_duplicates_from_sorted_list.cs | // https://leetcode.com/submissions/detail/52724586/
//
//
// Submission Details
// 164 / 164 test cases passed.
// Status: Accepted
// Runtime: 160 ms
//
// Submitted: 0 minutes ago
//
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* ... | // https://leetcode.com/submissions/detail/52724586/
//
//
// Submission Details
// 164 / 164 test cases passed.
// Status: Accepted
// Runtime: 160 ms
//
// Submitted: 0 minutes ago
//
/**
* Definition for singly-linked list.
* public class ListNode {
* public int val;
* ... | Remove duplicates from sorted list - slower lol | Remove duplicates from sorted list - slower lol
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews |
572dc74674d05074fe1f898e85f67aa499954089 | LAN/LANInterface.cs | LAN/LANInterface.cs | using PluginContracts;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communication interface for os... | using PluginContracts;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace LAN
{
public class LANInterface : IPluginV1
{
public string Name { get; } = "LAN";
public string Description { get; } = "LAN communication interface for os... | Read available data inside of while loop | Read available data inside of while loop
| C# | mit | tparviainen/oscilloscope |
87cd390eed6f7a23d1db3b7d1ad3726065deb288 | test/Evolve.Test.Utilities/CassandraDockerContainer.cs | test/Evolve.Test.Utilities/CassandraDockerContainer.cs | using System;
namespace Evolve.Test.Utilities
{
public class CassandraDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "9042";
public string HostPort => "9042";
public string ClusterName => "evolve";
... | using System;
namespace Evolve.Test.Utilities
{
public class CassandraDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "9042";
public string HostPort => "9042";
public string ClusterName => "evolve";
... | Increase Cassandra delay after startup (90 sec) | Increase Cassandra delay after startup (90 sec)
| C# | mit | lecaillon/Evolve |
ddfac15670ad981f3b7786383ff92b77700f27d2 | IndexerSetup.RegisterProperties/RegisterAction.cs | IndexerSetup.RegisterProperties/RegisterAction.cs | using System;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.Deployment.WindowsInstaller;
namespace IndexerSetup.RegisterProperties
{
public class RegisterAction
{
[CustomAction]
public static ActionResult RegisterPropDescFile(Session session)
{
sessi... | using System;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.Deployment.WindowsInstaller;
namespace IndexerSetup.RegisterProperties
{
public class RegisterAction
{
[CustomAction]
public static ActionResult RegisterPropDescFile(Session session)
{
sessi... | Fix error in custom action code | Fix error in custom action code
This was causing the install to fail silently with no error message.
| C# | mpl-2.0 | SunburstApps/WordPerfectIndexer,SunburstApps/WordPerfectIndexer |
01871952854d85d080de51390df533f3ddbc4a21 | src/Stripe.net/Services/Disputes/DisputeListOptions.cs | src/Stripe.net/Services/Disputes/DisputeListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
/// <summary>
/// The optional arguments you can pass. <a href="https://stripe.com/docs/api#list_disputes">Stripe Documentation</a>.
/// </summary>
public class DisputeListOptions : ListOptionsWithCreated
{
/// <summary>
/// Only return ... | namespace Stripe
{
using Newtonsoft.Json;
/// <summary>
/// The optional arguments you can pass. <a href="https://stripe.com/docs/api#list_disputes">Stripe Documentation</a>.
/// </summary>
public class DisputeListOptions : ListOptionsWithCreated
{
/// <summary>
/// Only return ... | Add PaymentIntent to filter lists of Disputes | Add PaymentIntent to filter lists of Disputes
| C# | apache-2.0 | stripe/stripe-dotnet |
9803e63e6f0c9a2a14f6427c9faafb629c5ef2ac | osu.Game/IPC/ArchiveImportIPCChannel.cs | osu.Game/IPC/ArchiveImportIPCChannel.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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | Update IPC usage to return `null` | Update IPC usage to return `null`
| C# | mit | peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu |
d3f7dae8ac24961a8b7e9a6fb149461c356ef199 | PracticeGit/PracticeGit/Controllers/HomeController.cs | PracticeGit/PracticeGit/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PracticeGit.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
return View();
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
// ADDED FIRST LINE
namespace PracticeGit.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
re... | Test Major/Minor versions - Commit 1 | Test Major/Minor versions - Commit 1 | C# | mit | ravi-msi/practicegit,ravi-msi/practicegit,ravi-msi/practicegit |
bebba27f2620e16dadd2cccc01e57c8d4c125637 | tests/Toppler.Tests.Integration/TestHelpers/TestBase.cs | tests/Toppler.Tests.Integration/TestHelpers/TestBase.cs | using System;
using System.Diagnostics;
namespace Toppler.Tests.Integration.TestHelpers
{
public class TestBase
{
private static Random Generator = new Random();
protected string TestEventSource { get; private set; }
protected string TestDimension { get; private set; }
public... | using System;
using System.Diagnostics;
namespace Toppler.Tests.Integration.TestHelpers
{
public class TestBase
{
private static Random Generator = new Random();
protected string TestEventSource { get; private set; }
protected string TestDimension { get; private set; }
public... | Fix Dimension in integration tests | Fix Dimension in integration tests
| C# | mit | Cybermaxs/Toppler |
7ed065126334a36ed976984cbaa6023889a28ef2 | PalasoUIWindowsForms/ReleaseNotes/ShowReleaseNotesDialog.cs | PalasoUIWindowsForms/ReleaseNotes/ShowReleaseNotesDialog.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using Palaso.IO;
namespace Palaso.UI.WindowsForms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private readonl... | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Palaso.IO;
namespace Palaso.UI.WindowsForms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private readonly st... | Set the icon for the release notes dialog so it displays correctly on Linux | Set the icon for the release notes dialog so it displays correctly on Linux
| C# | mit | gmartin7/libpalaso,JohnThomson/libpalaso,glasseyes/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,ddaspit/libpalaso,hatton/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,ddaspit/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,chri... |
ba767df5dd51b50e3d41df8dcd5f77c345df7514 | CAD2Unity/3DXMLLoader/Implementation/Model/ThreeDRepFile.cs | CAD2Unity/3DXMLLoader/Implementation/Model/ThreeDRepFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Xml.Linq;
using Ionic.Zip;
namespace ThreeDXMLLoader.Implementation.Model
{
/// <summary>
/// In memory archive implementation for the IThreeDArchive interface.
/// </summary>
class ThreeDRepFile... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using Ionic.Zip;
namespace ThreeDXMLLoader.Implementation.Model
{
/// <summary>
/// In memory archive implementation for the IThreeDArchive interface.
/... | Implement the in memory archive | Implement the in memory archive
| C# | apache-2.0 | i2e-haw-hamburg/stp-loader,i2e-haw-hamburg/cad-in-unity |
d7f5ffb1908ef6b9df68b7c396ef9e589ac00c60 | FEZ.Mod.mm/FezGame/patch_Fez.cs | FEZ.Mod.mm/FezGame/patch_Fez.cs | using System;
using FezGame.Mod;
namespace FezGame {
public class patch_Fez {
public void orig_Exit() {
}
public void Exit() {
orig_Exit();
FEZMod.Exit();
}
}
}
| using System;
using FezGame.Mod;
namespace FezGame {
public class patch_Fez {
public void OnExiting(Object sender, EventArgs args) {
//It's possible that FEZ doesn't contain this method and thus orig_OnExiting won't exist.
FEZMod.Exit();
}
}
}
| Change when FEZMod.Exit gets called. Either LiveSplit doesn't crash on my PC or it's fixed now. | Change when FEZMod.Exit gets called.
Either LiveSplit doesn't crash on my PC or it's fixed now.
| C# | mit | AngelDE98/FEZMod,AngelDE98/FEZMod |
4bb23f62dc3b3bd01a36f5a8634c899ef0e1df03 | SpotfireDomViewer/MethodNode.cs | SpotfireDomViewer/MethodNode.cs | namespace SpotfireDomViewer
{
using System.Reflection;
public class MethodNode : DomNode
{
private object parentObject;
private MethodInfo method;
public MethodNode(object parentObj, MethodInfo m)
: base(null, NodeTypes.Method, m.ToString())
{
pare... | namespace SpotfireDomViewer
{
using System.Reflection;
public class MethodNode : DomNode
{
private object parentObject;
private MethodInfo method;
public MethodNode(object parentObj, MethodInfo m)
: base(null, NodeTypes.Method, m.ToString())
{
pare... | Fix crash in Spotfire 7.0, remove pre-invoke at binding beginning. | Fix crash in Spotfire 7.0, remove pre-invoke at binding beginning.
| C# | mit | Jarrey/spotfire_dom_viewer |
b4d6495f99a60194a8609cf3d35d048166001b03 | osu.Game/Screens/Edit/EditorSkinProvidingContainer.cs | osu.Game/Screens/Edit/EditorSkinProvidingContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | Fix editor skin providing container not providing playable beatmap | Fix editor skin providing container not providing playable beatmap
| C# | mit | ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu |
79fc8cd4c6a03da01cb78f02eb456edf4f3c8069 | Training.CSharpWorkshop/User.cs | Training.CSharpWorkshop/User.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public RoleEnum Role { get; set; }
}
namespa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public RoleEnum Role { get; set; }
}
} | Revert "Enum - Add methods to verify against the user's role if the user can add, delete, or find users" | Revert "Enum - Add methods to verify against the user's role if the user can add, delete, or find users"
This reverts commit 471ff585580ff97eb462ceef5e3325fc360d56f3.
| C# | mit | penblade/Training.CSharpWorkshop |
d415af6a06fdf460c479cd5404b2720b130c3920 | src/VisualStudio/Core/Def/Telemetry/RoslynTelemetrySetup.cs | src/VisualStudio/Core/Def/Telemetry/RoslynTelemetrySetup.cs | using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.Internal.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.Visu... | using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.Internal.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.Visu... | Delete initialization of the IProjectTypeLookupService | Delete initialization of the IProjectTypeLookupService
This doesn't need to be initialized on the UI thread at all.
| C# | mit | orthoxerox/roslyn,bbarry/roslyn,KevinRansom/roslyn,gafter/roslyn,AnthonyDGreen/roslyn,gafter/roslyn,pdelvo/roslyn,brettfo/roslyn,tmat/roslyn,ErikSchierboom/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,pdelvo/roslyn,wvdd007/roslyn,jeffanders/roslyn,CaptainHayashi/roslyn,AlekseyTs/roslyn,tmeschter/roslyn,Giftednewt/rosl... |
7afcf0fdb6447979d72ccb39301e908049efef84 | CurrencyRates.Tests/Base/Extensions/StringUtilsTest.cs | CurrencyRates.Tests/Base/Extensions/StringUtilsTest.cs | namespace CurrencyRates.Tests.Base.Extensions
{
using System;
using CurrencyRates.Base.Extensions;
using NUnit.Framework;
[TestFixture]
public class StringUtilsTest
{
private static readonly object[] TruncateTestCases =
{
new object[] { string.Empty, ... | namespace CurrencyRates.Tests.Base.Extensions
{
using System;
using CurrencyRates.Base.Extensions;
using NUnit.Framework;
[TestFixture]
public class StringUtilsTest
{
private static readonly object[] TruncateTestCases =
{
new object[] { string.Empty, ... | Refactor test to use modern assertions | Refactor test to use modern assertions
| C# | mit | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates |
b6242021ed91dbb1085eb023869e3f6d5f8fdab9 | ReferenceApiWeblessUmbraco/App_Start/OwinStartup.cs | ReferenceApiWeblessUmbraco/App_Start/OwinStartup.cs | using System;
using Microsoft.Owin;
using Owin;
using ReferenceApiWeblessUmbraco.Application;
using ReferenceApiWeblessUmbraco.App_Start;
[assembly: OwinStartup(typeof(OwinStartup))]
namespace ReferenceApiWeblessUmbraco.App_Start
{
public class OwinStartup
{
public void Configuration(IAppBuilder app)... | using System;
using Microsoft.Owin;
using Owin;
using ReferenceApiWeblessUmbraco.Application;
using ReferenceApiWeblessUmbraco.App_Start;
using UmbracoVault;
[assembly: OwinStartup(typeof(OwinStartup))]
namespace ReferenceApiWeblessUmbraco.App_Start
{
public class OwinStartup
{
public void Configurat... | Set override Umbraco Vault context in app startup | Set override Umbraco Vault context in app startup
| C# | apache-2.0 | wkallhof/UmbracoVault.Lite,thenerdery/UmbracoVault,thenerdery/UmbracoVault,thenerdery/UmbracoVault |
004dc1865a31902e61ffb125b0d7a4af8b46c4a0 | ScooterController/ScooterController/HardwareController.cs | ScooterController/ScooterController/HardwareController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
class HardwareController
{
public HardwareController()
{
if (UsbRelayDevice.Init() != 0)
{
Console.WriteLine... |
using System;
namespace ScooterController
{
class HardwareController
{
private readonly int deviceHandle;
public static void LogError(string message)
{
throw new Exception(message);
}
public HardwareController(string serialNumber = "FDP2R")
{
... | Implement constructor and dispose method to open/close device | Implement constructor and dispose method to open/close device
| C# | mit | vejuhust/msft-scooter |
55e6d63fd51306e7376b94e837face6630e4e11d | src/ProcessorFactory.cs | src/ProcessorFactory.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PseudoInternationalization {
class ProcessorFactory {
private static readonly Dictionary<string, Type> _extensionMap = new Dictionary<string, Type> {
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PseudoInternationalization {
class ProcessorFactory {
private static readonly Dictionary<string, Type> _extensionMap = new Dictionary<string, Type> {
... | Fix iOS strings processor loading | Fix iOS strings processor loading
| C# | mit | LorenzCK/Pseudo-i18n |
e123db183b6ec975fd2624f8824a5f3a4c79a153 | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.cs | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | Remove redundant buffer free check. | Remove redundant buffer free check.
| C# | mit | DrabWeb/osu-framework,naoey/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Tom94/osu-framework,default0/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,default0/osu... |
8ab1af4f9319895c1b231f29576fe6ba0c5befbc | WebApplicationFireAndForget/Controllers/HomeController.cs | WebApplicationFireAndForget/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace WebApplicationFireAndForget.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionRes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace WebApplicationFireAndForget.Controllers
{
public class HomeController : Controller
{
public async Task<ActionResult> Index()
{
await Ta... | Test async fire & forget | Test async fire & forget
| C# | apache-2.0 | davidebbo-test/MvcFireAndForgetIssue,davidebbo-test/MvcFireAndForgetIssue |
c577377bf043a0aafd05dffaedf4cd64a1a9b5a1 | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs | labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... |
using System;
using System.Diagnostics;
using System.ServiceModel;
using NUnit.Framework;
using TechTalk.SpecFlow;
namespace Host.Specs
{
/// <summary>
/// An **copy** of the interface specifying the contract for this service.
/// </summary>
[ServiceContract(
Namespace = "http://www.thatindig... | Repair error by changing endpoint address. | Repair error by changing endpoint address.
Yowza! I do not yet understand how all the WCF pieces fit together. The
test passed by changing the `ServiceHost` URI from `http://localhost:8000/HelloIndigo/` to `http://localhost:8000/HelloIndigo/HelloIndigoService`.
Previously, in these exercises, the URI was `http://loca... | C# | epl-1.0 | mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf |
7811c4f5790a07c2f108fe536f10673dd50767f1 | MarkdownSharp/Extensions/Mal/Profile.cs | MarkdownSharp/Extensions/Mal/Profile.cs | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// Create short link f... | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// Create short link f... | Fix MAL profile regex name | Fix MAL profile regex name
| C# | mit | hey-red/Markdown |
565b8906b08971e7021803252282f37e5ca9bbd6 | sln2cmake/SolutionConverter.cs | sln2cmake/SolutionConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace Sln2CMake
{
internal class SolutionConverter
{
static public void Run(IS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace Sln2CMake
{
internal class SolutionConverter
{
static public void Run(IS... | Add progress and project name in statusbar. | Add progress and project name in statusbar.
| C# | mit | zhaoboqiang/sln2cmake,zhaoboqiang/sln2cmake |
a83a5b2ddb553e48471cf87fec0a8f782f643822 | TwitchBot2002/Program.cs | TwitchBot2002/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TwitchLib;
using TwitchLib.Models.Client;
using System.Speech.Synthesis;
namespace TwitchBot2002
{
class Program
{
static SpeechSynthesizer synth;
static void Main(string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TwitchLib;
using TwitchLib.Models.Client;
using System.Speech.Synthesis;
namespace TwitchBot2002
{
class Program
{
static SpeechSynthesizer synth;
static void Main(string... | Add commit for auth order | Add commit for auth order
| C# | mit | drasticactions/TwitchBot2002 |
2acf4ee2ab65634bc05fabe5ad5e1e71181b8ea5 | src/NancyAzureFileUpload/Helpers/CustomBootstrapper.cs | src/NancyAzureFileUpload/Helpers/CustomBootstrapper.cs | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
using NancyAzureFileUpload.Services;
namespace NancyAzureFileUpload.Helpers
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public IConfigurationRoot Configuration;
public CustomBootstrapper()
{
... | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
using NancyAzureFileUpload.Services;
namespace NancyAzureFileUpload.Helpers
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public IConfigurationRoot Configuration;
public CustomBootstrapper()
{
... | Add TracingConfig to catch error | Add TracingConfig to catch error
| C# | mit | nandotech/NancyAzureFileUpload |
e47d234416dd9734c317a1f5170b3bac0babeecc | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Chrome.cs | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | using System;
using System.Text;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
namespace SeleniumTasksProject1._1
{
[TestFixture]
public class Chrome
{
... | Revert "Revert "LoginTest is completed"" | Revert "Revert "LoginTest is completed""
This reverts commit 2ef38d17255b46d86a7e688d86251265eb144669.
| C# | apache-2.0 | oleksandrp1/SeleniumTasks |
c0f7a83f6f3d4aaab9ce0d4d9ee2ae9674d238de | osu.Game/Overlays/Changelog/ChangelogUpdateStreamItem.cs | osu.Game/Overlays/Changelog/ChangelogUpdateStreamItem.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 Humanizer;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamItem ... | // 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 Humanizer;
using osu.Game.Online.API.Requests.Responses;
using osuTK.Graphics;
namespace osu.Game.Overlays.Changelog
{
public class ChangelogUpdateStreamItem ... | Fix featured stream item width | Fix featured stream item width
| C# | mit | smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu |
c1a4bc6876cf40cf993bb96a01f367f398d89432 | src/TramlineFive/TramlineFive/ViewModels/ArrivalViewModel.cs | src/TramlineFive/TramlineFive/ViewModels/ArrivalViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.Common;
using TramlineFive.Common.Models;
using TramlineFive.Views.Dialogs;
namespace TramlineFive.ViewModels
{
public class ArrivalViewModel... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.Common;
using TramlineFive.Common.Models;
using TramlineFive.Views.Dialogs;
namespace TramlineFive.ViewModels
{
public class ArrivalViewModel... | Fix UI bugs with time. | Fix UI bugs with time.
| C# | apache-2.0 | betrakiss/Tramline-5,betrakiss/Tramline-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.