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 |
|---|---|---|---|---|---|---|---|---|---|
e827d120113b92a9ad19fb62d921a9afc8057fdb | src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResultGame.cs | src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResultGame.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.ComponentModel;
using Telegram.Bot.Types.InputMessageContents;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Represents a <see cref="Game"/>.
/// </summary>
/// <seealso cref="InlineQueryResultNew" />
[Js... | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types.InlineQueryResults
{
/// <summary>
/// Represents a <see cref="Game"/>.
/// </summary>
/// <seealso cref="InlineQueryResult" />
[JsonObject(MemberSerialization = MemberSerialization.OptIn,
Namin... | Fix game inline query result | Fix game inline query result
| C# | mit | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot,AndyDingo/telegram.bot |
9f6535de2c7e21e17348fb550478c146efdd7b3f | Samples/ProjectTracker/ProjectTracker.AppServerCore/Startup.cs | Samples/ProjectTracker/ProjectTracker.AppServerCore/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependenc... | Update to use CSLA configuration | Update to use CSLA configuration
| C# | mit | rockfordlhotka/csla,JasonBock/csla,MarimerLLC/csla,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla |
6aa592f7c88177076d05888eb33d16d0874063d8 | SemanticDataSolution/AddressSpaceComplianceTestTool/Program.cs | SemanticDataSolution/AddressSpaceComplianceTestTool/Program.cs |
using System;
using System.IO;
namespace UAOOI.SemanticData.AddressSpaceTestTool
{
class Program
{
internal static void Main(string[] args)
{
FileInfo _fileToRead = GetFileToRead(args);
ValidateFile(_fileToRead);
}
internal static void ValidateFile(FileInfo _fileToRead)
{
th... |
using System;
using System.IO;
namespace UAOOI.SemanticData.AddressSpaceTestTool
{
class Program
{
internal static void Main(string[] args)
{
try
{
FileInfo _fileToRead = GetFileToRead(args);
ValidateFile(_fileToRead);
}
catch (Exception ex)
{
Consol... | Implement AddressSpaceComplianceTestTool - added top level exception handling. | Implement AddressSpaceComplianceTestTool - added top level exception handling.
| C# | mit | mpostol/OPC-UA-OOI |
b8e24e93bb189eac7f4fc58d7e90512c4ad69720 | DataAccessExamples.Core/Services/Employee/LazyOrmEmployeeService.cs | DataAccessExamples.Core/Services/Employee/LazyOrmEmployeeService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExamples.Core.Services.Employee
{
public class LazyOrmEmployeeService : IEmployeeServic... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using DataAccessExamples.Core.Actions;
using DataAccessExamples.Core.Data;
using DataAccessExamples.Core.ViewModels;
namespace DataAccessExamples.C... | Add (intentionally) broken Lazy ORM Employee service | Add (intentionally) broken Lazy ORM Employee service
| C# | cc0-1.0 | hgcummings/DataAccessExamples,hgcummings/DataAccessExamples |
638ebba9c3052a5f34d1051531b84f585eb5fe4a | src/Msg.Acceptance.Tests/TestDoubles/GarbageSpewingClient.cs | src/Msg.Acceptance.Tests/TestDoubles/GarbageSpewingClient.cs | using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.ConnectAsync (IPAd... | using System.Threading.Tasks;
using Version = Msg.Domain.Version;
using System;
using System.Net.Sockets;
using System.Net;
namespace Msg.Acceptance.Tests.TestDoubles
{
class GarbageSpewingClient
{
TcpClient client;
public async Task<byte[]> ConnectAsync() {
client = new TcpClient ();
await client.Connect... | Update garbage spewing client to use test doubles namespace. | Update garbage spewing client to use test doubles namespace.
| C# | apache-2.0 | jagrem/msg |
545fa93e4829dc260f966095518c0a8ec80b8396 | JabbR/Commands/FlagCommand.cs | JabbR/Commands/FlagCommand.cs | using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3366-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, strin... | using System;
using JabbR.Models;
using JabbR.Services;
namespace JabbR.Commands
{
[Command("flag", "Flag_CommandInfo", "Iso 3166-2 Code", "user")]
public class FlagCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, strin... | Update to use correct ISO code | Update to use correct ISO code | C# | mit | yadyn/JabbR,yadyn/JabbR,M-Zuber/JabbR,JabbR/JabbR,yadyn/JabbR,M-Zuber/JabbR,JabbR/JabbR |
15b321ac07e017f9344ba964dc44c7302621f2d4 | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUserImages.cs | Source/Lib/TraktApiSharp/Objects/Get/Users/TraktUserImages.cs | namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
public class TraktUserImages
{
[JsonProperty(PropertyName = "avatar")]
public TraktImage Avatar { get; set; }
}
}
| namespace TraktApiSharp.Objects.Get.Users
{
using Basic;
using Newtonsoft.Json;
/// <summary>A collection of images and image sets for a Trakt user.</summary>
public class TraktUserImages
{
/// <summary>Gets or sets the avatar image.</summary>
[JsonProperty(PropertyName = "avatar")... | Add get best id method for user images. | Add get best id method for user images.
| C# | mit | henrikfroehling/TraktApiSharp |
c5dfca606d316027cd1a6d267d4d872c68f62b42 | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisibleProperty =
AvaloniaProper... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
using Avalonia.Markup.Xaml;
using ReactiveUI;
using System;
using System.Reactive.Linq;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListView : UserControl
{
public static readonly StyledProperty<bool> SelectAllNonPrivateVisible... | Add binding mode and comment. | Add binding mode and comment.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
d8868dd2792b5b1760177ee04a8c24599b2bc354 | Site/Views/ProductItem.cshtml | Site/Views/ProductItem.cshtml | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
<h3>
@Model.Content.GetTitle... | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "SW_Master.cshtml";
}
<div class="clearfix">
@Html.Partial("LeftNavigation",@Model.Content)
<div class="" style="float: left;width: 75%;padding-left: 30px;">
@*<h3>
@Model.Content.GetTit... | Remove title and date from product item page | Remove title and date from product item page
| C# | mit | shengoo/umb,shengoo/umb |
9d00b88cddb9c602ebdbb083867ebda2007b2a9f | BuildSpritesheet/Program.cs | BuildSpritesheet/Program.cs | #if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetBuilder... | #if DNX451
using System;
using System.IO;
namespace BuildSpritesheet {
class Program {
static void Main(string[] args) {
PrepareOutputDirectory();
SpritePreparer.PrepareSprites();
Console.WriteLine();
Console.WriteLine("Done processing individual files");
Console.WriteLine();
SpritesheetBuilder... | Add "Press any key to exit." | Add "Press any key to exit."
| C# | mit | OlsonDev/PersonalWebApp,OlsonDev/PersonalWebApp |
1a05a6e5097a427e4c8283ee655f41b163112477 | AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBuild.cs | AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBuild.cs | using JetBrains.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigContext context)
{
context.ExecutionProvider.Execute(null);
}
}
} | using System.Windows;
using JetBrains.DataFlow;
using JetBrains.IDE.RunConfig;
using JetBrains.ProjectModel;
using JetBrains.VsIntegration.IDE.RunConfig;
namespace AlexPovar.ReSharperHelpers.Build
{
public class RunConfigProjectWithSolutionBuild : RunConfigBase
{
public override void Execute(RunConfigContext ... | Hide irrelevant options from build action configuration | Hide irrelevant options from build action configuration
| C# | mit | Zvirja/ReSharperHelpers |
74c22be3c0cd4d9490453302778852240222f10e | AnimStack.cs | AnimStack.cs | using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
#region Public Attributes
public readonly PropertyT<string> Description = new PropertyT<string>( "Description");
public readonly PropertyT<FbxTime> LocalStart = new PropertyT<FbxTime>("LocalStart");
... | using System;
namespace FbxSharp
{
public class AnimStack : Collection
{
public AnimStack(String name="")
: base(name)
{
Properties.Add(Description);
Properties.Add(LocalStart);
Properties.Add(LocalStop);
Properties.Add(ReferenceStart... | Add the built-in properties to the Properties collection. | Add the built-in properties to the Properties collection.
| C# | lgpl-2.1 | izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp |
a2006283f0732608009629594609f99b72bcd0d5 | src/IFS.Web/Views/Upload/Complete.cshtml | src/IFS.Web/Views/Upload/Complete.cshtml | @model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{
string downloadLink = this.Url.Rou... | @using System.Text.Encodings.Web
@model IFS.Web.Core.Upload.UploadedFile
@{
ViewBag.Title = $"Upload complete: {Model.Metadata.OriginalFileName}";
}
<h2>@ViewBag.Title</h2>
<div class="alert alert-success">
The upload of your file has completed: <code>@Model.Metadata.OriginalFileName</code>.
</div>
@{
s... | Replace URL in address bar for easy copying | Replace URL in address bar for easy copying
| C# | mit | Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS |
3bc663a1cf8cc232305c1adb3a8e46a6783f8492 | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | @using Aliencube.ReCaptcha.Wrapper.Mvc
@model Aliencube.ReCaptcha.Wrapper.WebApp.Models.HomeIndexViewModel
@{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
@using (Html.BeginForm(MVC.Home.ActionNames.Index, MVC.Home.Name, FormMethod.Post))
{
<div class="form-group">
@Html.LabelFor(m => m.Name)
... | Update reCaptcha API js rendering script | Update reCaptcha API js rendering script
| C# | mit | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET |
b7f5cafc7172fd8833c326d5bec9fb1edcb72a85 | src/Html2Markdown/Properties/AssemblyInfo.cs | src/Html2Markdown/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Html2Markdown")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Html2Markdown")]
[assembly: AssemblyDescr... | Increase move the version number to 2.1.3 | Increase move the version number to 2.1.3
| C# | apache-2.0 | baynezy/Html2Markdown |
035fff94c1336b7244daafbd7d820c1c6a15c375 | DynamixelServo.Quadruped/Vector3Extensions.cs | DynamixelServo.Quadruped/Vector3Extensions.cs | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
float len = vector.Length();
return new Vector3(vector.X / len, vector.Y / len, vector.Z / len);
}
pu... | using System.Numerics;
namespace DynamixelServo.Quadruped
{
public static class Vector3Extensions
{
public static Vector3 Normal(this Vector3 vector)
{
return Vector3.Normalize(vector);
}
public static bool Similar(this Vector3 a, Vector3 b, float marginOfError = f... | Update normalize extension method to use the built in hardware accelerated static method | Update normalize extension method to use the built in hardware accelerated static method
| C# | apache-2.0 | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo |
4a3ceaf19daa3f79452572d1a6f7d761063ebde2 | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | src/EditorFeatures/CSharpTest/Organizing/AbstractOrganizerTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Organizing;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Mi... | Test Fixup for a Line Normalization Issue. | Test Fixup for a Line Normalization Issue.
This is a workaround for Issue #4109. It normalizes the line endings of the expected text so that the test will compare to the correct expected value even if the input line endings are '\n' isntead of '\r\n'.
| C# | apache-2.0 | aanshibudhiraja/Roslyn,ValentinRueda/roslyn,tannergooding/roslyn,grianggrai/roslyn,DustinCampbell/roslyn,vcsjones/roslyn,dovzhikova/roslyn,oocx/roslyn,jbhensley/roslyn,devharis/roslyn,AlekseyTs/roslyn,tang7526/roslyn,jcouv/roslyn,huoxudong125/roslyn,leppie/roslyn,paulvanbrenk/roslyn,jmarolf/roslyn,KevinH-MS/roslyn,aeli... |
bb6918cafc7f2645b7e8ea77cfc6f5cdbacc4478 | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | src/Microsoft.DotNet.Build.Tasks/UpdatePackageDependencyVersion.cs | using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
publi... | using Microsoft.Build.Framework;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace Microsoft.DotNet.Build.Tasks
{
public class UpdatePackageDependencyVersion : VisitProjectDependencies
{
[Required]
public string PackageId { get; set; }
[Required]
publi... | Remove requirement for dependency nodes to have a version. | Remove requirement for dependency nodes to have a version.
In corefx this fixes references to 'test-runtime' and 'net46-test-runtime'.
| C# | mit | dotnet/buildtools,roncain/buildtools,schaabs/buildtools,karajas/buildtools,chcosta/buildtools,AlexGhiondea/buildtools,AlexGhiondea/buildtools,ChadNedzlek/buildtools,roncain/buildtools,maririos/buildtools,naamunds/buildtools,mmitche/buildtools,stephentoub/buildtools,nguerrera/buildtools,stephentoub/buildtools,ChadNedzle... |
7058bb60c1f734410c11a9c0667b981396d0037b | RedditSharp/CreatedThing.cs | RedditSharp/CreatedThing.cs | using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Populate... | using System;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
namespace RedditSharp
{
public class CreatedThing : Thing
{
private Reddit Reddit { get; set; }
public CreatedThing(Reddit reddit, JToken json) : base(json)
{
Reddit = reddit;
JsonConvert.Populate... | Add CreatedUTC to Created Thing | Add CreatedUTC to Created Thing
For International purposes. | C# | mit | CrustyJew/RedditSharp,chuggafan/RedditSharp-1,Jinivus/RedditSharp,justcool393/RedditSharp-1,tomnolan95/RedditSharp,IAmAnubhavSaini/RedditSharp,ekaralar/RedditSharpWindowsStore,epvanhouten/RedditSharp,angelotodaro/RedditSharp,pimanac/RedditSharp,SirCmpwn/RedditSharp,RobThree/RedditSharp,nyanpasudo/RedditSharp,theonlylaw... |
6e27a6aa6cdd9a06e517a6bb8ff156f1d2afb501 | Assets/Scripts/Building/AttackBuilding.cs | Assets/Scripts/Building/AttackBuilding.cs | using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider collider;
void Start () {
properties = GetComponent<BuildingProperties> ();
collider = gameObject.AddComponent<SphereCollider> ();
collider.isTrigger = true;
collider.... | using UnityEngine;
using System.Collections;
public class AttackBuilding : MonoBehaviour
{
BuildingProperties properties;
SphereCollider attackZone;
void Start () {
properties = GetComponent<BuildingProperties> ();
attackZone = gameObject.AddComponent<SphereCollider> ();
attackZone.isTrigger = true;
att... | Refactor collider name for attack behaviour | Refactor collider name for attack behaviour
| C# | mit | bastuijnman/ludum-dare-36 |
70b3a27f4b9b27443a960e06c0d6d0cc84e12311 | src/Pickles/Pickles.Test/ObjectModel/MapperTestsForDocString.cs | src/Pickles/Pickles.Test/ObjectModel/MapperTestsForDocString.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed und... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MapperTestsForDocString.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed und... | Add namespace alias for Gherkin3.Ast | Add namespace alias for Gherkin3.Ast
| C# | apache-2.0 | dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,blorgbeard/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,lud... |
051f200ffe41c49ded19745c6213e45086c0f41f | ShellHookLauncher32/ShellHookConstants.cs | ShellHookLauncher32/ShellHookConstants.cs | namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook64.dll";
public const string PanelessNamedPipe = "PanelessHookId64-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
| namespace ShellHookLauncher
{
internal static partial class ShellHookHelper
{
public const string DllFileName = "ShellHook32.dll";
public const string PanelessNamedPipe = "PanelessHookId32-5b4f1ea2-c775-11e2-8888-47c85008ead5";
}
}
| Fix up 32 bit constants. | Fix up 32 bit constants.
| C# | mit | TomPeters/WindowMessageLogger,TomPeters/WindowMessageLogger |
9fff4ae69c2473140930b9a6edcd315566cb40c8 | Perplex.Umbraco.Forms/FieldTypes/PerplexImageUpload.cs | Perplex.Umbraco.Forms/FieldTypes/PerplexImageUpload.cs | using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using static PerplexUmbraco.Forms.Code.Constants;
using Umbraco.Forms.Core;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : PerplexBase... | using PerplexUmbraco.Forms.Code.Configuration;
using System;
using System.Collections.Generic;
using Umbraco.Forms.Core;
using Umbraco.Forms.Core.Attributes;
namespace PerplexUmbraco.Forms.FieldTypes
{
public class PerplexImageUpload : PerplexBaseFileFieldType
{
protected override PerplexBaseFileConfi... | Fix for missing multiple image uploads checkbox on image upload field type. | Fix for missing multiple image uploads checkbox on image upload field type.
| C# | mit | PerplexInternetmarketing/Perplex-Umbraco-Forms,PerplexInternetmarketing/Perplex-Umbraco-Forms,PerplexInternetmarketing/Perplex-Umbraco-Forms |
a8bd9120c27a17546bc7603030fbd580436dbbc6 | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | Remove special case for odd numbers | Remove special case for odd numbers
Remove Where() that filters out even numbers that was added to improve
performance as Maths.IsPrime() now special cases even numbers.
| C# | apache-2.0 | martincostello/project-euler |
c627cd0dee7d4f169a8f7bdd89994a5e389203c4 | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyInformationalVersion("2.1.0")]
| using System.Reflection;
// These "special" version numbers are found and replaced at build time.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| Revert to fixed versioning scheme used by build | Revert to fixed versioning scheme used by build | C# | apache-2.0 | serilog-trace-listener/SerilogTraceListener |
5976e11abb46010314de6fb1eaee78dcb53c7b06 | src/Jasper.Testing/Transports/Tcp/LightweightTcpTransportCompliance.cs | src/Jasper.Testing/Transports/Tcp/LightweightTcpTransportCompliance.cs | using Jasper.Util;
using TestingSupport.Compliance;
using Xunit;
namespace Jasper.Testing.Transports.Tcp
{
public class Sender : JasperOptions
{
public Sender()
{
Endpoints.ListenForMessagesFrom($"tcp://localhost:2289/incoming".ToUri());
}
}
public class Receiver : ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using Jasper.Util;
using TestingSupport.Compliance;
using Xunit;
namespace Jasper.Testing.Transports.Tcp
{
public class Sender : JasperOptions
{
public Sen... | Allow passing port number to test setup | Allow passing port number to test setup
| C# | mit | JasperFx/jasper,JasperFx/jasper,JasperFx/jasper |
291b871862adb735f2463b02ee678ddfaaf8f817 | src/Testity.EngineComponents.Unity3D/Scripting/ITestityBehaviour.cs | src/Testity.EngineComponents.Unity3D/Scripting/ITestityBehaviour.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Testity.EngineComponents;
namespace Testity.EngineComponents.Unity3D
{
public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour
where TScriptComponentType : EngineScriptComponent
{
TScriptComponen... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Testity.EngineComponents;
namespace Testity.EngineComponents.Unity3D
{
public interface ITestityBehaviour<out TScriptComponentType> : ITestityBehaviour
where TScriptComponentType : EngineScriptComponent
{
TScriptComponen... | Add Untyped Getter for EngineScriptComponent | Add Untyped Getter for EngineScriptComponent
| C# | mit | HelloKitty/Testity,HelloKitty/Testity |
5c1e4bd22f46403a4ee8c23a7cc16d2978eafb59 | src/SharpArchContrib.Data/NHibernate/TransactionManagerBase.cs | src/SharpArchContrib.Data/NHibernate/TransactionManagerBase.cs | using System;
using System.Threading;
using log4net;
namespace SharpArchContrib.Data.NHibernate {
[Serializable]
public abstract class TransactionManagerBase : ITransactionManager {
private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase));
private static int t... | using System;
using System.Threading;
using log4net;
namespace SharpArchContrib.Data.NHibernate {
[Serializable]
public abstract class TransactionManagerBase : ITransactionManager {
private static readonly ILog logger = LogManager.GetLogger(typeof(TransactionManagerBase));
[ThreadStatic]
... | Fix thread safety issue in TransactionManager. The depth should be per-thread. | Fix thread safety issue in TransactionManager. The depth should be per-thread.
| C# | bsd-3-clause | ysdiong/Sharp-Architecture-Contrib,barser/Sharp-Architecture-Contrib,sharparchitecture/Sharp-Architecture-Contrib |
ae53b063d5d33bd98d296f87ec7e0e7f4e0c5eb9 | CSharp/Core.SQLite/Command.cs | CSharp/Core.SQLite/Command.cs | using Microsoft.Data.Sqlite;
using System.Collections.Generic;
namespace Business.Core.SQLite
{
public class Command : ICommand
{
IReader Reader { get; set; }
public SqliteConnection SQLiteConnection { get; set; }
public SqliteCommand SQLiteCommand { get; set; }
public SqliteDataReader SQLiteReader { get; se... | using Microsoft.Data.Sqlite;
using System.Collections.Generic;
namespace Business.Core.SQLite
{
public class Command : ICommand
{
IReader Reader { get; set; }
public SqliteConnection SQLiteConnection { get; set; }
public SqliteCommand SQLiteCommand { get; set; }
public SqliteDataReader SQLiteReader { get; se... | Refactor and add ExecuteScalar to SQLite wrapper | Refactor and add ExecuteScalar to SQLite wrapper
| C# | mit | jazd/Business,jazd/Business,jazd/Business |
66deaf0b3fb935027730cf470cf6a331e69f2cee | test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cshtml | test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cshtml | @page
@model RazorPagesWebSite.HelloWorldWithPageModelHandler
Hello, @Model.Message!
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
} | @page
@model RazorPagesWebSite.HelloWorldWithPageModelHandler
Hello, @Model.Message!
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
} | Make test of @page/@model whitespace | Make test of @page/@model whitespace
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
87cafb476f33a7b1ea2acdad5bfaee2f528c9312 | ExcelLaunchPad/Rawr.LaunchPad.Installer/RegistryEditor.cs | ExcelLaunchPad/Rawr.LaunchPad.Installer/RegistryEditor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Rawr.LaunchPad.Installer
{
public class RegistryEditor
{
readonly string targetPath;
readonly List<string> keyNames = new List<string>
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace Rawr.LaunchPad.Installer
{
public class RegistryEditor
{
readonly List<string> keyNames = new List<string>
{
"Excel.CSV",
... | Remove registry entries on uninstall + refactor | Remove registry entries on uninstall + refactor
| C# | mit | refactorsaurusrex/ExcelLaunchPad |
8334a0f25bacfaceda39d50177d11a5452dcd195 | src/CompetitionPlatform/Views/Shared/AuthenticationFailed.cshtml | src/CompetitionPlatform/Views/Shared/AuthenticationFailed.cshtml | @{
ViewData["Title"] = "Access Denied";
}
<div class="container">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">Authentication Failed.</h2>
<p>
You have denied Competition Platform access to your resources.
</p>
</div> | @{
ViewData["Title"] = "Access Denied";
}
<div class="container">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">Authentication Failed.</h2>
<p>
There was a remote failure during Authentication.
</p>
</div> | Change authentication failed error message. | Change authentication failed error message.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
18cd832be40a7b8e89e7c037e87958eb419dbe83 | UnityProject/Assets/Plugins/Zenject/OptionalExtras/Async/Runtime/Binders/AsyncFromBinderGeneric.cs | UnityProject/Assets/Plugins/Zenject/OptionalExtras/Async/Runtime/Binders/AsyncFromBinderGeneric.cs | using System;
using System.Threading.Tasks;
#if EXTENJECT_INCLUDE_ADDRESSABLE_BINDINGS
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.AddressableAssets;
#endif
namespace Zenject
{
[NoReflectionBaking]
public class AsyncFromBinderGeneric<TContract, TConcrete> : AsyncFromBinderBase wher... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Zenject
{
[NoReflectionBaking]
public class AsyncFromBinderGeneric<TContract, TConcrete> : AsyncFromBinderBase where TConcrete : TContract
{
public AsyncFromBinderGeneric(
DiContainer container, BindInfo bind... | Add cancel token variant for FromMethod | Add cancel token variant for FromMethod
| C# | mit | modesttree/Zenject,modesttree/Zenject,modesttree/Zenject |
0a7220718461141d1ba4558909254d9cc2e2260b | netfx-cs/db-pdftest/Program.cs | netfx-cs/db-pdftest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dbticket;
namespace db_pdftest
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Invalid... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dbticket;
namespace db_pdftest
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1)
{
Console.WriteLine("Invalid... | Fix for three bugs in three lines. | Fix for three bugs in three lines.
| C# | mit | jhinder/db-ticket |
957ec1807c5fb0b0282298e4f971325bd3661a8d | src/AspNet.Identity.MongoDB/MongoDBIdentitySettings.cs | src/AspNet.Identity.MongoDB/MongoDBIdentitySettings.cs | using System;
using System.Configuration;
namespace AspNet.Identity.MongoDB {
public class MongoDBIdentitySettings : ConfigurationSection {
private static MongoDBIdentitySettings settings = ConfigurationManager.GetSection("mongoDBIdentitySettings") as MongoDBIdentitySettings;
private const String userC... | using System;
using System.Configuration;
namespace AspNet.Identity.MongoDB {
public class MongoDBIdentitySettings : ConfigurationSection {
private static MongoDBIdentitySettings settings = ConfigurationManager.GetSection("mongoDBIdentitySettings") as MongoDBIdentitySettings;
private const String userC... | Fix issue "Unexpected RegexStringValidator failure in Configuration Property" | Fix issue "Unexpected RegexStringValidator failure in Configuration Property"
| C# | mit | steentottrup/AspNet.Identity.MongoDB |
456925d4dde40511c568a15857b174326433c35e | src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Properties/AssemblyInfo.cs | src/SDKs/CognitiveServices/dataPlane/Vision/ComputerVision/ComputerVision/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Cognitive Services ComputerVision SDK")]
[assembly: AssemblyDescription("Pro... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Cognitive Services ComputerVision SDK")]
[assembly: AssemblyDescription("Pro... | Address AssemblyVersion issue as suggested. | Address AssemblyVersion issue as suggested. | C# | mit | shahabhijeet/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,stankovski/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,stankovski/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jamestao/azure-sdk-for-net,jamestao/azure-sdk-for-net,pilor/azure-sdk-for-net,... |
fd38e0a25df5488a97ba556407470bc7ed9fe6cb | test/build.cake | test/build.cake | #addin "Cake.IIS"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
//////////////////////////////////////... | #addin "Cake.IIS"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
//////////////////////////////////////... | Fix issue related to task execution Website-Create. | Fix issue related to task execution Website-Create.
| C# | mit | SharpeRAD/Cake.IIS |
58c344c79a9d3415c8196c91f5a4b13ff9660b16 | samples/Silverpop.Client.WebTester/Infrastructure/CustomBootstrapper.cs | samples/Silverpop.Client.WebTester/Infrastructure/CustomBootstrapper.cs | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.TinyIoc;
namespace Silverpop.Client.WebTester.Infrastructure
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public CustomBootstrapper()
{
var builder = new ConfigurationBuilder()
.Set... | using Microsoft.Extensions.Configuration;
using Nancy;
using Nancy.Configuration;
using Nancy.Diagnostics;
using Nancy.TinyIoc;
namespace Silverpop.Client.WebTester.Infrastructure
{
public class CustomBootstrapper : DefaultNancyBootstrapper
{
public CustomBootstrapper()
{
var build... | Add NancyDashboardPassword setting used to enable dashboard | Add NancyDashboardPassword setting used to enable dashboard
| C# | mit | ritterim/silverpop-dotnet-api |
757b2fc5b11fc58c126dd0a3f8a4382db993e17d | src/Marvin.Cache.Headers/Extensions/ServicesExtensions.cs | src/Marvin.Cache.Headers/Extensions/ServicesExtensions.cs | // Any comments, input: @KevinDockx
// Any issues, requests: https://github.com/KevinDockx/HttpCacheHeaders
using Marvin.Cache.Headers;
using Marvin.Cache.Headers.Interfaces;
using Marvin.Cache.Headers.Stores;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Microsoft.Extensions.DependencyInje... | // Any comments, input: @KevinDockx
// Any issues, requests: https://github.com/KevinDockx/HttpCacheHeaders
using Marvin.Cache.Headers;
using Marvin.Cache.Headers.Interfaces;
using Marvin.Cache.Headers.Stores;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace Microsoft.Extensions.DependencyInje... | Add overloads for configuring options when adding services | Add overloads for configuring options when adding services
| C# | mit | KevinDockx/HttpCacheHeaders |
cfaeb79a0c76c7c72e16c7cf635064fd489fac9c | src/Common/src/Interop/Windows/mincore/Interop.Console.cs | src/Common/src/Interop/Windows/mincore/Interop.Console.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal static partial class Interop
{
private static class Libraries
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
internal static partial class Interop
{
private static class Libraries
... | Fix the name of DLL in DllImport. | Fix the name of DLL in DllImport.
| C# | mit | kyulee1/corert,manu-silicon/corert,mjp41/corert,schellap/corert,gregkalapos/corert,sandreenko/corert,botaberg/corert,schellap/corert,gregkalapos/corert,krytarowski/corert,kyulee1/corert,manu-silicon/corert,manu-silicon/corert,gregkalapos/corert,schellap/corert,tijoytom/corert,botaberg/corert,mjp41/corert,yizhang82/core... |
e83f08eb7824083532530b83bb22b82985460f2b | src/Arango/Arango.Client/API/Collections/ArangoCollectionOperation.cs | src/Arango/Arango.Client/API/Collections/ArangoCollectionOperation.cs | using Arango.Client.Protocol;
namespace Arango.Client
{
public class ArangoCollectionOperation
{
private CollectionOperation _collectionOperation;
internal ArangoCollectionOperation(CollectionOperation collectionOperation)
{
_collectionOperation = collectionOpera... | using Arango.Client.Protocol;
namespace Arango.Client
{
public class ArangoCollectionOperation
{
private CollectionOperation _collectionOperation;
internal ArangoCollectionOperation(CollectionOperation collectionOperation)
{
_collectionOperation = collectionOpera... | Add xml docs to collection operations. | Add xml docs to collection operations.
| C# | mit | kangkot/ArangoDB-NET,yojimbo87/ArangoDB-NET |
7aeb68f950b809d84e3969010d2aba1157813c3e | Ets.Mobile/Ets.Mobile.UWP/Content/Grade/GradeSummary.xaml.cs | Ets.Mobile/Ets.Mobile.UWP/Content/Grade/GradeSummary.xaml.cs | using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Ets.Mobile.Content.Grade
{
public sealed partial class GradeSummary : UserControl, INotifyPropertyChanged
{
public GradeSummary()
{
... | using System.ComponentModel;
using System.Runtime.CompilerServices;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace Ets.Mobile.Content.Grade
{
public sealed partial class GradeSummary : UserControl, INotifyPropertyChanged
{
public GradeSummary()
{
... | Remove Unecessary region in Grade Summary | Remove Unecessary region in Grade Summary
| C# | apache-2.0 | ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms |
3f55a20689394edd18dcf45f4c466c1ce43279b7 | SolidworksAddinFramework/OpenGl/Animation/LinearAnimation.cs | SolidworksAddinFramework/OpenGl/Animation/LinearAnimation.cs | using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
public T From { get; }
public T To { get; }
... | using System;
using System.Diagnostics;
using System.Numerics;
using ReactiveUI;
namespace SolidworksAddinFramework.OpenGl.Animation
{
public class LinearAnimation<T> : ReactiveObject, IAnimationSection
where T : IInterpolatable<T>
{
public T From { get; }
public T To { get; }
... | Remove unnecessary '@' before arg name | Remove unnecessary '@' before arg name
| C# | mit | Weingartner/SolidworksAddinFramework |
581c2282b05c2068a5c73522eacbdcdd20396ca2 | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/DbTransaction.cs | using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbTransaction : IDbTransaction
{
private readonly IDbFactory _factory;
protected bool Disposed;
public IDbTransaction Transaction { get; set; }
public IDbConnection C... | using System;
using System.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public abstract class DbTransaction : IDbTransaction
{
private readonly IDbFactory _factory;
protected bool Disposed;
protected ISession Session;
public IDbTransaction Transaction { get; s... | Add dispose for session if the session is not null. This means that the session is created with the uow | Add dispose for session if the session is not null. This means that the session is created with the uow
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork |
d6b304d71aad4caeef1e6bd82f0f29bc52bdaa2e | Gu.Analyzers.Test/GU0009UseNamedParametersForBooleansTests/Diagnostics.cs | Gu.Analyzers.Test/GU0009UseNamedParametersForBooleansTests/Diagnostics.cs | namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans>
{
[Test]
public async Task UnnamedBooleanParameters()
{
... | namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests
{
using System.Threading.Tasks;
using NUnit.Framework;
internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans>
{
[Test]
public async Task UnnamedBooleanParameters()
{
... | Test for different named for bool | Test for different named for bool
| C# | mit | JohanLarsson/Gu.Analyzers |
c2d6262beca7359a79b90f6ec4df2d9022bff480 | RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs | RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BasicallyMe.RobinhoodNet;
namespace RobinhoodDesktop.HomePage
{
public partial cl... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using BasicallyMe.RobinhoodNet;
namespace RobinhoodDesktop.HomePage
{
public partial class HomePageF... | Convert time received from Robinhood to local before charting it. | Convert time received from Robinhood to local before charting it. | C# | bsd-2-clause | Terohnon/RobinhoodDesktop |
a89c29c5cd0304ffcfb5c3b264aae5c8da2357dd | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | Fix RavenConfiguration for Embedded mode. | Fix RavenConfiguration for Embedded mode.
Poorly-documented, but there we go: in embedded mode, Raven assumes the
same port number as the web application, which caused no end of issues.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
5e402220be25d892c40aad57d3009bbd4163c317 | Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs | Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs | using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
AutomaticM... | using System;
using Tralus.Framework.BusinessModel.Entities;
namespace Tralus.Framework.Migration.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext>
{
public Configuration()
{
AutomaticM... | Correct Administrators Role (set IsAdministrator to false) | Correct Administrators Role (set IsAdministrator to false)
| C# | apache-2.0 | mehrandvd/Tralus,mehrandvd/Tralus |
0fe1a91cac01c81d737f60fd7ac57d5eb1dc7774 | src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptions.cs | src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptions.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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions
{
int... | // 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 Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions
{
int... | Add new option so anyone who set the option value in 17.0 doesn't forever disable async lightbulbs in 17.1 and onwards | Add new option so anyone who set the option value in 17.0 doesn't forever disable async lightbulbs in 17.1 and onwards
| C# | mit | shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,weltkante/roslyn,KevinRansom/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,mavasani/roslyn,sharwell/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,bartdesm... |
a4825133f40ca378b539cd06d7c1386a6f4adc07 | spanner/api/Spanner.Samples.Tests/QueryDataWithArrayOfStructAsyncTest.cs | spanner/api/Spanner.Samples.Tests/QueryDataWithArrayOfStructAsyncTest.cs | // Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2020 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Test was expecting ordered data without order by. | fix(Spanner): Test was expecting ordered data without order by.
| C# | apache-2.0 | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples |
360d1ee35498c537ae5b18ef1f602a833346a074 | SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs | SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs | using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
{ ... | using SPAD.neXt.Interfaces.Profile;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SPAD.neXt.Interfaces.Configuration
{
public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider
{ ... | Add option to enforce placement even if turned off | Add option to enforce placement even if turned off
| C# | mit | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt |
054543f58fd8a0ec7641047635d1b8c9d6ff821c | osu.Game.Tournament.Tests/Components/TestSceneTournamentBeatmapPanel.cs | osu.Game.Tournament.Tests/Components/TestSceneTournamentBeatmapPanel.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API.Requests;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Tournament.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Online.API.Requests.Responses;... | Revert tournament beatmap panel test change with comment | Revert tournament beatmap panel test change with comment
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu |
2c57deea2bd2724a0a333146f58c2002c18e0c22 | osu.Game/Skinning/IPooledSampleProvider.cs | osu.Game/Skinning/IPooledSampleProvider.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 JetBrains.Annotations;
using osu.Game.Audio;
namespace osu.Game.Skinning
{
/// <summary>
/// Provides pooled samples to be used by <see cref="SkinnableSoun... | // 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 JetBrains.Annotations;
using osu.Game.Audio;
namespace osu.Game.Skinning
{
/// <summary>
/// Provides pooled samples to be used by <see cref="SkinnableSoun... | Trim double full-stop in xmldoc | Trim double full-stop in xmldoc
| C# | mit | peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu |
b1a8734e0682a9975161f93ae94374030da3ba4c | src/SilentHunter.FileFormats/Extensions/DebugExtensions.cs | src/SilentHunter.FileFormats/Extensions/DebugExtensions.cs | #if DEBUG
using System;
using System.IO;
using System.Reflection;
using SilentHunter.FileFormats.IO;
namespace SilentHunter.FileFormats.Extensions
{
internal static class DebugExtensions
{
internal static string GetBaseStreamName(this Stream s)
{
Stream baseStream = s;
if (baseStream is RegionStream)
{... | #if DEBUG
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Reflection;
using SilentHunter.FileFormats.IO;
namespace SilentHunter.FileFormats.Extensions
{
[ExcludeFromCodeCoverage]
internal static class DebugExtensions
{
internal static string GetBaseStreamName(this Stream s)
{... | Exclude debug extensions from coverage | Exclude debug extensions from coverage
| C# | apache-2.0 | skwasjer/SilentHunter |
68bfb31cd4450311f0cc44d644bc4904c07f6706 | CompleteSample/CompleteSample.Authentication/AuthenticationMiddleware.cs | CompleteSample/CompleteSample.Authentication/AuthenticationMiddleware.cs | using Microsoft.Owin;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
namespace CompleteSample.Authentication
{
public class AuthenticationMiddleware : OwinMiddleware
{
public AuthenticationMiddleware(OwinMiddleware next)
: base(next)
{
}
... | using Microsoft.Owin;
using System.Linq;
using System.Security.Principal;
using System.Threading.Tasks;
namespace CompleteSample.Authentication
{
public class AuthenticationMiddleware : OwinMiddleware
{
public AuthenticationMiddleware(OwinMiddleware next)
: base(next)
{
}
... | Update how the 401 status code is returned when authenticating | Update how the 401 status code is returned when authenticating
| C# | mit | fvilers/OWIN-Katana |
f6c0441fe27d75c6b333cfbd7d89463d6948c9c1 | PackageExplorer/Converters/FrameworkAssemblyReferenceConverter.cs | PackageExplorer/Converters/FrameworkAssemblyReferenceConverter.cs | using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
using System.Windows;
using System.Windows.Data;
using NuGet;
namespace PackageExplorer {
public class FrameworkAssemblyReferenceConverter : IValueConverter {
public object Convert(object value, Type targetType, ob... | using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
using System.Windows;
using System.Windows.Data;
using NuGet;
namespace PackageExplorer {
public class FrameworkAssemblyReferenceConverter : IValueConverter {
public object Convert(object value, Type targetType, ob... | Fix an issue with the binding converter of framework assembly reference. | Fix an issue with the binding converter of framework assembly reference.
--HG--
branch : 2.0
| C# | mit | NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer |
529a5e10d94d9c8022cbb557cdfdd2afb5f19123 | src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs | src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs | using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
public class Log4... | using Serilog.Core;
using Serilog.Events;
namespace Umbraco.Core.Logging.SerilogExtensions
{
/// <summary>
/// This is used to create a new property in Logs called 'Log4NetLevel'
/// So that we can map Serilog levels to Log4Net levels - so log files stay consistent
/// </summary>
public class Log4... | Use string.PadRight to be more explicit with what we are doing with the Log4Net level property enricher | Use string.PadRight to be more explicit with what we are doing with the Log4Net level property enricher
| C# | mit | dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,WebCentrum/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,lars-erik/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,abjerner/Umbraco-CMS,leeke... |
ab7fed434523204d2ed6adcee84ae63abd91c678 | Source/Engine/AGS.Engine/UI/Text/Dialogs/AGSDialogLayout.cs | Source/Engine/AGS.Engine/UI/Text/Dialogs/AGSDialogLayout.cs | using System;
using AGS.API;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AGS.Engine
{
public class AGSDialogLayout : IDialogLayout
{
private IGame _game;
public AGSDialogLayout(IGame game)
{
_game = game;
}
#region IDialogLayout implementation
public async Task Layou... | using System;
using AGS.API;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AGS.Engine
{
public class AGSDialogLayout : IDialogLayout
{
private IGame _game;
public AGSDialogLayout(IGame game)
{
_game = game;
}
#region IDialogLayout implementation
public async Task Layou... | Increase the amount of retries when rendering the dialog | Increase the amount of retries when rendering the dialog
This is to have the dialog render properly even at very low FPS.
| C# | artistic-2.0 | tzachshabtay/MonoAGS |
8e9ac6f6ef2a00d5032d038fc481c0d7032f612a | dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs | dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Apollo.Converters;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Apollo.Converters;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
... | Return some error if we fuck up hard | Return some error if we fuck up hard
| C# | mit | TheTree/branch,TheTree/branch,TheTree/branch |
43b9cc9b4f50fcd948fce7f110674979ab8032aa | CatchAllRule/CatchAllRule/Controllers/EverythingController.cs | CatchAllRule/CatchAllRule/Controllers/EverythingController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CatchAllRule.Controllers
{
public class EverythingController : Controller
{
// GET: Everything
public ActionResult Index()
{
return View();
}
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace CatchAllRule.Controllers
{
public class EverythingController : Controller
{
// GET: Everything
public ActionResult Index()
{
// use your logger to track outd... | Add log statement to track outdated links | CatchAllRule: Add log statement to track outdated links
| C# | apache-2.0 | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets |
ad6a3752f5e717bc5136183ccea4f0d4ff08663f | FluentAutomation.Tests/Pages/InputsPage.cs | FluentAutomation.Tests/Pages/InputsPage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentAutomation.Tests.Pages
{
public class InputsPage : PageObject<InputsPage>
{
public InputsPage(FluentTest test)
: base(test)
{
this.Url = "/Inputs";
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FluentAutomation.Tests.Pages
{
public class InputsPage : PageObject<InputsPage>
{
public InputsPage(FluentTest test)
: base(test)
{
this.Url = "/Inputs";
}
p... | Fix for text-changed selector in tests | Fix for text-changed selector in tests
| C# | mit | stirno/FluentAutomation,jorik041/FluentAutomation,tablesmit/FluentAutomation,stirno/FluentAutomation,tablesmit/FluentAutomation,tablesmit/FluentAutomation,jorik041/FluentAutomation,mirabeau-nl/WbTstr.Net,jorik041/FluentAutomation,stirno/FluentAutomation,mirabeau-nl/WbTstr.Net |
046f5ec2bc36bfb1a2085d12d59c5a35916ceceb | src/AppHarbor/Commands/LoginAuthCommand.cs | src/AppHarbor/Commands/LoginAuthCommand.cs | using System;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
public LoginAuthCommand(IAccessTokenConfiguration accessTokenConfiguration... | using System;
using RestSharp;
using RestSharp.Contrib;
namespace AppHarbor.Commands
{
[CommandHelp("Login to AppHarbor")]
public class LoginAuthCommand : ICommand
{
private readonly IAccessTokenConfiguration _accessTokenConfiguration;
public LoginAuthCommand(IAccessTokenConfiguration accessTokenConfiguration... | Throw exception if access token is null | Throw exception if access token is null
| C# | mit | appharbor/appharbor-cli |
aee81948b19e19440acd26be4b3561ced5c4a6e8 | src/Glimpse.Server.Web/Resources/HelloGlimpseResource.cs | src/Glimpse.Server.Web/Resources/HelloGlimpseResource.cs | using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Web.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path.StartsWith("/Glimpse");
}
... | using Glimpse.Web;
using System;
using System.Text;
using System.Threading.Tasks;
namespace Glimpse.Server.Web.Resources
{
public class HelloGlimpseResource : IRequestHandler
{
public bool WillHandle(IContext context)
{
return context.Request.Path == "/Glimpse";
}
... | Make test resource more specific | Make test resource more specific
| C# | mit | pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Protot... |
82352d45e1d97f84bfdc866521bbe70311be117b | src/Engine/CommonInfo.cs | src/Engine/CommonInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("lozanotek")]
[assembly: AssemblyProduct("MvcTurbine")]
[assembly: AssemblyCopyright("Copyright © lozanotek, inc. 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("lozanotek")]
[assembly: AssemblyProduct("MvcTurbine")]
[assembly: AssemblyCopyright("Copyright © lozanotek, inc. 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false... | Update the version to 3.2.1. | Update the version to 3.2.1.
| C# | apache-2.0 | lozanotek/mvcturbine,lozanotek/mvcturbine |
7c8888e4eaa8499005ed54931c57b7eac1e33259 | util/AttributeCollection.cs | util/AttributeCollection.cs | using System.Collections.Generic;
using System.Linq;
namespace NMaier.SimpleDlna.Utilities
{
using Attribute = KeyValuePair<string, string>;
using System;
public sealed class AttributeCollection : IEnumerable<Attribute>
{
private readonly IList<Attribute> list = new List<Attribute>();
public int Co... | using System;
using System.Collections.Generic;
using System.Linq;
namespace NMaier.SimpleDlna.Utilities
{
using Attribute = KeyValuePair<string, string>;
public sealed class AttributeCollection : IEnumerable<Attribute>
{
private readonly IList<Attribute> list = new List<Attribute>();
public int Coun... | Move using where it belongs | Move using where it belongs
| C# | bsd-2-clause | antonio-bakula/simpleDLNA,itamar82/simpleDLNA,bra1nb3am3r/simpleDLNA,nmaier/simpleDLNA |
d557d2c9ed02254f7d66351a9a10dbc87b7ac611 | Examples/Authentication/TraktOAuthAuthenticationExample/Program.cs | Examples/Authentication/TraktOAuthAuthenticationExample/Program.cs | namespace TraktOAuthAuthenticationExample
{
class Program
{
static void Main(string[] args)
{
}
}
}
| namespace TraktOAuthAuthenticationExample
{
using System;
using System.Threading.Tasks;
using TraktApiSharp;
using TraktApiSharp.Authentication;
using TraktApiSharp.Exceptions;
class Program
{
private const string CLIENT_ID = "ENTER_CLIENT_ID_HERE";
private const string CLI... | Add implementation for oauth authentication example. | Add implementation for oauth authentication example.
| C# | mit | henrikfroehling/TraktApiSharp |
8f296752af28d18b3f18ec31798d5c14a7fbf578 | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | src/NBench.VisualStudio.TestAdapter/NBenchTestDiscoverer.cs | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | namespace NBench.VisualStudio.TestAdapter
{
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
public class NBenchTestDiscoverer : ITestDiscoverer
{
... | Remove the test for the situation whree all the parameters are valid. | Remove the test for the situation whree all the parameters are valid.
| C# | apache-2.0 | SeanFarrow/NBench.VisualStudio |
c777fd1a5ef0cc71ee32e662dcaa4c0019640184 | Debugger/LoadingExtension.cs | Debugger/LoadingExtension.cs | using System;
using ColossalFramework;
using ICities;
namespace ModTools
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnCreated(ILoading loading)
{
base.OnCreated(loading);
ModToolsBootstrap.inMainMenu = false;
ModToolsBootst... | using System;
using ColossalFramework;
using ICities;
namespace ModTools
{
public class LoadingExtension : LoadingExtensionBase
{
public override void OnCreated(ILoading loading)
{
base.OnCreated(loading);
ModToolsBootstrap.inMainMenu = false;
ModToolsBootst... | Set initialized to false in OnCreated | Set initialized to false in OnCreated
| C# | mit | joaofarias/Unity-ModTools,earalov/Skylines-ModTools |
fa4e997380a25b47817edbb2e3cbff6740505575 | Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs | Source/Qvision.Umbraco.PollIt/Controllers/ApiControllers/AnswerApiController.cs | namespace Qvision.Umbraco.PollIt.Controllers.ApiControllers
{
using System.Net;
using System.Net.Http;
using System.Web.Http;
using global::Umbraco.Web.Editors;
using Qvision.Umbraco.PollIt.Attributes;
using Qvision.Umbraco.PollIt.CacheRefresher;
using Qvision.Umbraco.PollIt.Models.Pocos;... | namespace Qvision.Umbraco.PollIt.Controllers.ApiControllers
{
using System.Net;
using System.Net.Http;
using System.Web.Http;
using global::Umbraco.Web.Editors;
using Qvision.Umbraco.PollIt.Attributes;
using Qvision.Umbraco.PollIt.CacheRefresher;
using Qvision.Umbraco.PollIt.Models.Pocos;... | Add missing return when creating Answer | Add missing return when creating Answer
| C# | mit | janvanhelvoort/qvision-poll-it,janvanhelvoort/qvision-poll-it,janvanhelvoort/qvision-poll-it |
269334230bb922b6bb63f425bb658e7905551905 | src/GogoKit/Models/Response/Seating.cs | src/GogoKit/Models/Response/Seating.cs | using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "seat_fro... | using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
[DataContract]
public class Seating
{
[DataMember(Name = "section")]
public string Section { get; set; }
[DataMember(Name = "row")]
public string Row { get; set; }
[DataMember(Name = "seat_fro... | Update status enum to match current data base setup | Update status enum to match current data base setup
| C# | mit | viagogo/gogokit.net |
10ccbc76d3c32169efe793b2a032d475c0e56908 | src/WebHost/App_Start/SwaggerConfig.cs | src/WebHost/App_Start/SwaggerConfig.cs | using System.Web.Http;
using Swashbuckle.Application;
using System;
namespace WebHost
{
internal static class SwaggerConfig
{
public static void Register(HttpConfiguration httpConfigurations)
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
httpConfigurations
... | using System.Web.Http;
using Swashbuckle.Application;
using System;
using System.IO;
namespace WebHost
{
internal static class SwaggerConfig
{
public static void Register(HttpConfiguration httpConfigurations)
{
var thisAssembly = typeof(SwaggerConfig).Assembly;
var core... | Check of XML file existance | Check of XML file existance
| C# | mit | Enttoi/enttoi-api,Enttoi/enttoi-api,Enttoi/enttoi-api-dotnet,Enttoi/enttoi-api-dotnet |
99af62c825c27d26a63f019f6aee8f705fbb8eb4 | hnb/Views/Shared/_Head.cshtml | hnb/Views/Shared/_Head.cshtml | <title>Hearts and Bones Dog Rescue - Pet Adoption - @ViewBag.Title</title>
@* Recommended meta tags for bootstrap *@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Hearts & Bones Rescue is a 501(c)3 non-profit or... | <title>Hearts & Bones Dog Rescue - Pet Adoption - @ViewBag.Title</title>
@* Recommended meta tags for bootstrap *@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Hearts & Bones Rescue is a 501(c)3 non-profit ... | Update page title to ampersand | Update page title to ampersand
| C# | unlicense | jcolebrand/hnb,jcolebrand/hnb |
afda150f522678269805321546bf693b9bacdfd1 | UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/SceneContextEditor.cs | UnityProject/Assets/Plugins/Zenject/Source/Editor/Editors/SceneContextEditor.cs | #if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SceneContext))]
public class SceneContextEditor : RunnableContextEditor
{
SerializedProperty _contractNameProperty;
SerializedProperty _parentNamesProperty;
SerializedProper... | #if !ODIN_INSPECTOR
using UnityEditor;
namespace Zenject
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SceneContext))]
public class SceneContextEditor : RunnableContextEditor
{
SerializedProperty _contractNameProperty;
SerializedProperty _parentNamesProperty;
SerializedProper... | Fix for scene context editor crash | Fix for scene context editor crash
| C# | mit | modesttree/Zenject,modesttree/Zenject,modesttree/Zenject |
b987a534c8f09d3590ad4020f84f8b0f167ca05f | src/Cimpress.Extensions.Http/HttpResponseMessageExtensions.cs | src/Cimpress.Extensions.Http/HttpResponseMessageExtensions.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
public static async Task LogAndThrowIfNotSuccessStatusCode(this HttpResponseMessage message, ILogger logger)
... | using System;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Cimpress.Extensions.Http
{
public static class HttpResponseMessageExtensions
{
public static async Task LogAndThrowIfNotSuccessStatusCode(this HttpResponseMessage message, ILogger logger)
... | Add option to throw an exception without logging it. | Add option to throw an exception without logging it.
| C# | apache-2.0 | Cimpress-MCP/dotnet-core-httputils |
c05c200a1de7e5319ab04554da9c422d5123c56f | src/System.Data.Common/src/System/Data/Common/DbDataReaderExtension.cs | src/System.Data.Common/src/System/Data/Common/DbDataReaderExtension.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Data.Common
{
public static class DbDataReaderExtension
{
public static System.Coll... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Data.Common
{
public static class DbDataReaderExtension
{
public static System.Coll... | Add the query for capability | Add the query for capability
| C# | mit | iamjasonp/corefx,wtgodbe/corefx,krk/corefx,JosephTremoulet/corefx,gkhanna79/corefx,SGuyGe/corefx,the-dwyer/corefx,jlin177/corefx,nbarbettini/corefx,alphonsekurian/corefx,shahid-pk/corefx,krk/corefx,Petermarcu/corefx,BrennanConroy/corefx,axelheer/corefx,yizhang82/corefx,twsouthwick/corefx,pallavit/corefx,yizhang82/coref... |
3916cf197c2344ecabf202c499c9be07445ecdfb | PluginLoader.Tests/Plugins_Tests.cs | PluginLoader.Tests/Plugins_Tests.cs | using PluginContracts;
using System;
using System.Collections.Generic;
using Xunit;
namespace PluginLoader.Tests
{
public class Plugins_Tests
{
[Fact]
public void PluginsFound()
{
// Arrange
var path = @"..\..\..\..\LAN\bin\Debug\netstandard1.3";
// ... | using PluginContracts;
using System;
using System.Collections.Generic;
using Xunit;
namespace PluginLoader.Tests
{
public class Plugins_Tests
{
[Fact]
public void PluginsFoundFromLibsFolder()
{
// Arrange
var path = @"..\..\..\..\LAN\bin\Debug\netstandard1.3";
... | Change test method names to follow "Feature to be tested" pattern | Change test method names to follow "Feature to be tested" pattern
| C# | mit | tparviainen/oscilloscope |
1551813f2145a2fc47387c282eca3ec21dec8643 | src/Dotnet.Microservice/Health/Checks/PostgresqlHealthCheck.cs | src/Dotnet.Microservice/Health/Checks/PostgresqlHealthCheck.cs | using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npgsql co... | using System;
using Npgsql;
namespace Dotnet.Microservice.Health.Checks
{
public class PostgresqlHealthCheck
{
/// <summary>
/// Check that a connection can be established to Postgresql and return the server version
/// </summary>
/// <param name="connectionString">An Npgsql co... | Clear connection pool so that an actual connection is created always | Clear connection pool so that an actual connection is created always
| C# | isc | lynxx131/dotnet.microservice |
297efce497397a3ca069fe7d70ff968f880e6ba8 | SocialToolBox.Core.Mocks/Database/Projections/InMemoryStore.cs | SocialToolBox.Core.Mocks/Database/Projections/InMemoryStore.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An in-memory implementation of <see cref... | using System.Collections.Generic;
using System.Threading.Tasks;
using SocialToolBox.Core.Async;
using SocialToolBox.Core.Database;
using SocialToolBox.Core.Database.Projection;
using SocialToolBox.Core.Database.Serialization;
namespace SocialToolBox.Core.Mocks.Database.Projections
{
/// <summary>
/// An in-me... | Use lock for in-memory store | Use lock for in-memory store
| C# | mit | VictorNicollet/SocialToolBox |
63ebafe5ea10e1de7ed310ef12309e9598ae8f20 | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | Allow to run build even if git repo informations are not available | Allow to run build even if git repo informations are not available
| C# | mit | Abc-Arbitrage/ZeroLog |
27c917f4e073da6e3b1a14640ee86909ff23f886 | CertiPay.ACH/Properties/AssemblyInfo.cs | CertiPay.ACH/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ce... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ce... | Make internals visible to the test assembly | Make internals visible to the test assembly
| C# | mit | mattgwagner/CertiPay.ACH,CertiPay/CertiPay.ACH |
bf298268c9828e0d4300d1fbf7effe398471ca3d | Extensions/LocationServiceExtensions.cs | Extensions/LocationServiceExtensions.cs | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | Use th esupplied access mappign instead of looking it up a second time. | Use th esupplied access mappign instead of looking it up a second time.
| C# | apache-2.0 | tfsaggregator/tfsaggregator-core |
48f280440c696925653ed36a6794e83f404cf637 | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerMatchFooter.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.Rooms;
using osu.Game.Screens.OnlinePlay.Multiplayer.M... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.OnlinePlay.Multiplayer.Match;
namespace osu.Game.Tes... | Fix incorrect clearing of room | Fix incorrect clearing of room
| C# | mit | ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu |
9f7c44c64ebfb23acd1bb06aa22c5bc39ad5079a | src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs | using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Constants.Pr... | using System.Collections.Generic;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Editors;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// Represents a media picker property editor.
/// </summary>
[DataEditor(
Constants.Pr... | Handle for multiple picked media relations | 7879: Handle for multiple picked media relations
| C# | mit | hfloyd/Umbraco-CMS,madsoulswe/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,bjarnef/Umbraco-CMS,abjerner/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umb... |
c142036fd0255fa7a43c9722be5b99d1be5bd5ea | src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Mapping/OverviewMap.xaml.cs | src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/Mapping/OverviewMap.xaml.cs | using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
public ... | using Esri.ArcGISRuntime;
using Esri.ArcGISRuntime.Controls;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Layers;
using System.Linq;
using Windows.UI.Xaml.Controls;
namespace ArcGISRuntimeSDKDotNet_StoreSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category>Mapping</category>
public ... | Adjust the MapOverView map scale | Adjust the MapOverView map scale
| C# | apache-2.0 | Esri/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet,Tyshark9/arcgis-runtime-samples-dotnet,AkshayHarshe/arcgis-runtime-samples-dotnet,sharifulgeo/arcgis-runtime-samples-dotnet,Arc3D/arcgis-runtime-samples-dotnet,Esri/arcgis-runtime-samples-dotnet |
0319177c5c10b8eff6f71f202005a676731b3c3b | osu.Game/Screens/Edit/Setup/SetupScreen.cs | osu.Game/Screens/Edit/Setup/SetupScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupScreen :... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.Containers;
namespace osu.Game.Screens.Edit.Setup
{
public class SetupScreen :... | Fix pixels poking out of the top edge of editor setup screen | Fix pixels poking out of the top edge of editor setup screen
| C# | mit | ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu |
f77f4bd4b2d5e44c28ce27a838d64134783614e8 | MitternachtWeb/Program.cs | MitternachtWeb/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static async Task Main(string[] args) {
await new MitternachtBot(0, 0).RunAsync(args);
await CreateHostBuilder(args).Build().Run... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using Mitternacht;
using System.Threading.Tasks;
namespace MitternachtWeb {
public class Program {
public static MitternachtBot MitternachtBot;
public static async Task Main(string[] args) {
MitternachtBot = new MitternachtBot(0, 0);
a... | Move MitternachtBot instance to a static variable. | Move MitternachtBot instance to a static variable.
| C# | mit | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW |
e39088739044674aa3c03ed1eb2d2baea95e2c79 | Assets/Scripts/HarryPotterUnity/Cards/Quidditch/Items/BluebottleBroom.cs | Assets/Scripts/HarryPotterUnity/Cards/Quidditch/Items/BluebottleBroom.cs | using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealableCards(... | using HarryPotterUnity.Cards.BasicBehavior;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Quidditch.Items
{
[UsedImplicitly]
public class BluebottleBroom : ItemLessonProvider
{
public override void OnSelectedAction()
{
var card = Player.Discard.GetHealableCards(... | Add CanPerformAction condition to bluebottle broom | Add CanPerformAction condition to bluebottle broom
| C# | mit | StefanoFiumara/Harry-Potter-Unity |
318a43f433f156f0cc1ed3e95b65e2c4066cab5a | tests/Firestorm.Tests.Examples.Football/Tests/FootballTestFixture.cs | tests/Firestorm.Tests.Examples.Football/Tests/FootballTestFixture.cs | using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private readonly IWebHost _host;
public HttpClient HttpCli... | using System;
using System.IO;
using System.Net.Http;
using Firestorm.Tests.Examples.Football.Web;
using Microsoft.AspNetCore.Hosting;
namespace Firestorm.Tests.Examples.Football.Tests
{
public class FootballTestFixture : IDisposable
{
private static int _startPort = 3000;
private readonly IWe... | Test fixture uses incrementing ports to avoid conflicts | Test fixture uses incrementing ports to avoid conflicts
| C# | mit | connellw/Firestorm |
07e975a0ed5d7d8bd3f5cd83d54d1d59a12d7e62 | src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonSerializerSettingsProvider.cs | src/Microsoft.AspNetCore.Mvc.Formatters.Json/JsonSerializerSettingsProvider.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper class whic... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Microsoft.AspNetCore.Mvc.Formatters
{
/// <summary>
/// Helper class whic... | Return a shared contract resolver | Return a shared contract resolver
Return a shared contract resolver from CreateSerializerSettings for performance | C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
fd0bd93f5897d3e4d2151d0d1657bc4821132e94 | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameFormatter.cs | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameFormatter.cs | using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName typeName = reader.ReadString();
return type... | using Utf8Json;
namespace Nest
{
internal class TypeNameFormatter : IJsonFormatter<TypeName>, IObjectPropertyNameFormatter<TypeName>
{
public TypeName Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
if (reader.GetCurrentJsonToken() == JsonToken.String)
{
TypeName typeNam... | Allow TypeName to be used as Dictionary key | Allow TypeName to be used as Dictionary key
| C# | apache-2.0 | elastic/elasticsearch-net,elastic/elasticsearch-net |
39116f9b2f8ed2d3c76a57b8226b264ac556df6e | Tests/IntegrationTests.cs | Tests/IntegrationTests.cs | namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly Assembly _assembly;
public Integ... | namespace Tests
{
using System;
using System.IO;
using System.Reflection;
using System.Xml.Linq;
using JetBrains.Annotations;
using Tests.Properties;
using Xunit;
public class IntegrationTests
{
[NotNull]
private readonly string _targetFolder = AppDomain.CurrentD... | Fix file location for build server | Fix file location for build server
| C# | mit | Fody/JetBrainsAnnotations |
2e1b56e1dc17256f81332a39ae79b39b2410e753 | Talks.CodeToDiFor.Solution/Talks.C2DF.Web/Controllers/HomeController.cs | Talks.CodeToDiFor.Solution/Talks.C2DF.Web/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
//ICostCalculator calculator;
//public HomeController(ICostCalculator calculator)
//{
// th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Talks.C2DF.BetterApp.Lib.Logging;
using Talks.C2DF.Interfaces;
namespace Talks.C2DF.Web.Controllers
{
public class HomeController: Controller
{
ISendingMicroApp sendingApp;
IAppLogger _logger;
pu... | Update Home Controller to send message - and log it | Update Home Controller to send message - and log it
| C# | mit | calebjenkins/Talks.CodeToDiFor,calebjenkins/Talks.CodeToDiFor,calebjenkins/Talks.CodeToDiFor |
e274e1046e233979ef68149df4d6498fdadf573a | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTabViewModel
{
public TransactionInfoTabViewModel(TransactionDetailsViewModel transaction) : base("")
{
... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | Fix lurking wife mode on transaction id in details | Fix lurking wife mode on transaction id in details
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
c96bc6012d42264b2e82733b945718322bb44400 | resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs | resharper/resharper-yaml/test/src/UnityTestsSpecificYamlFileExtensionMapping.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.DataFlow;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
public clas... | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Yaml.Tests
{
[ShellComponent]
public class UnityTestsSpecificYamlFi... | Fix breaking change in SDK | Fix breaking change in SDK
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
899d5d95efd9b4735506d6cf73d5eff340f9946f | MultiMiner.Xgminer.Api/Parsers/VersionInformationParser.cs | MultiMiner.Xgminer.Api/Parsers/VersionInformationParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MultiMiner.Xgminer.Api.Parsers
{
class VersionInformationParser : ResponseTextParser
{
public static void ParseTextForVersionInformation(string text, MultiMiner.Xgminer.Api.Data.VersionInformation versionInformation)
... | Work around incomatibility in SGMiner 4.0 with the CGMiner RPC API | Work around incomatibility in SGMiner 4.0 with the CGMiner RPC API
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner |
80995230032f34666df436d788291fa9d59bf2fc | src/Setup/DeviceHive.Setup.Actions/Validation/SqlDatabaseValidator.cs | src/Setup/DeviceHive.Setup.Actions/Validation/SqlDatabaseValidator.cs | using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection == nu... | using System;
using System.Data;
using System.Data.SqlClient;
using Microsoft.SqlServer.Server;
namespace DeviceHive.Setup.Actions
{
class SqlDatabaseValidator
{
private SqlConnection _connection;
public SqlDatabaseValidator(SqlConnection connection)
{
if (connection == nu... | Check database name input parameter | Check database name input parameter
| C# | mit | devicehive/devicehive-.net,devicehive/devicehive-.net,devicehive/devicehive-.net |
4e4435223a3c779bfabe3f633d0bc99f0573aa81 | tools/docfixer/docfixer.mt.cs | tools/docfixer/docfixer.mt.cs | //
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocBase ()... | //
// MonoTouch defines for docfixer
//
using System;
using System.IO;
using System.Reflection;
using MonoTouch.Foundation;
public partial class DocGenerator {
static Assembly assembly = typeof (MonoTouch.Foundation.NSObject).Assembly;
const string BaseNamespace = "MonoTouch";
static string GetMostRecentDocBase ()... | Fix docfixed to work with iOS5 | Fix docfixed to work with iOS5
| C# | apache-2.0 | mono/maccore,cwensley/maccore,jorik041/maccore |
d905719be4745baa4d434a88ed75a26db0f49aa5 | Src/XmlDocInspections.Plugin.Tests/Integrative/AddDocCommentFixTest.cs | Src/XmlDocInspections.Plugin.Tests/Integrative/AddDocCommentFixTest.cs | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTest : C... | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Intentions.CSharp.QuickFixes;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace XmlDocInspections.Plugin.Tests.Integrative
{
[TestFixture]
[TestNetFramework4]
public class AddDocCommentFixTest : C... | Refactor to expr. bodied members | Refactor to expr. bodied members
| C# | mit | ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections |
639fc9d10f760508702e21b51628a84b45398e6b | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | Add correlationId to fix startup of the EAS web application. Copied from specific branch | Add correlationId to fix startup of the EAS web application. Copied from specific branch
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
e4d0e181e33b4928d681c5e19dc43e1bb22c4538 | Libraries/src/Amazon.Lambda.AspNetCoreServer/APIGatewayProxyFunctionExtensions.cs | Libraries/src/Amazon.Lambda.AspNetCoreServer/APIGatewayProxyFunctionExtensions.cs | using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
namespace Amazon.Lambda.AspNetCoreServer
{
/// <summary>
/// Helper extensions for APIGatewayProxyFunction
/// </summary>
p... | using Amazon.Lambda.Core;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Amazon.Lambda.APIGatewayEvents;
using Amazon.Lambda.AspNetCoreServer;
namespace Amazon.Lambda.TestUtilities
{
/// <summary>
/// Extension methods for APIGatewayPro... | Change namespace for helper extension method to Amazon.Lambda.TestUtilities to make it more discover able when writing tests. | Change namespace for helper extension method to Amazon.Lambda.TestUtilities to make it more discover able when writing tests.
| C# | apache-2.0 | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.