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 |
|---|---|---|---|---|---|---|---|---|---|
e28c33d8be6e8d66c2505cfa5a84c67aaa21fb58 | shared/AppSettingsHelper.csx | shared/AppSettingsHelper.csx | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = this.GetType().FullName;
try
... | #load "LogHelper.csx"
#load "FunctionNameHelper.csx"
using System.Configuration;
public static class AppSettingsHelper
{
public static string GetAppSetting(string SettingName, bool LogValue = true )
{
string SettingValue = "";
string methodName = this.GetType().FullName;
try
... | Use the correct call to FunctionNameHelper | Use the correct call to FunctionNameHelper
| C# | mit | USDXStartups/CalendarHelper |
f80d1016394c2240912ad47b7b14ecc8f1d709ff | AutoLegality/AutoLegality.Designer.cs | AutoLegality/AutoLegality.Designer.cs | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | namespace PKHeX.WinForms
{
partial class Main
{
public System.Windows.Forms.ToolStripMenuItem EnableAutoLegality(System.ComponentModel.ComponentResourceManager resources)
{
this.Menu_ShowdownImportPKMModded = new System.Windows.Forms.ToolStripMenuItem();
this.Menu_Showdow... | Change aliasing of Modded Showdown Import | Change aliasing of Modded Showdown Import
New Alias: Import with Auto-Legality Mod | C# | mit | architdate/PKHeX-Auto-Legality-Mod,architdate/PKHeX-Auto-Legality-Mod |
038ff618c24c042b604b7326c1de200cd6ca7db6 | test/Sleet.AmazonS3.Tests/AmazonS3FileSystemTests.cs | test/Sleet.AmazonS3.Tests/AmazonS3FileSystemTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NuGet.Test.Helpers;
using Sleet.Test.Common;
namespace Sleet.AmazonS3.Tests
{
public class AmazonS3FileSystemTests
{
[EnvVarExistsFact(AmazonS3TestConte... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NuGet.Test.Helpers;
using Sleet.Test.Common;
namespace Sleet.AmazonS3.Tests
{
public class AmazonS3FileSystemTests
{
[EnvVarExistsFact(AmazonS3TestConte... | Fix S3 create bucket test | Fix S3 create bucket test
| C# | mit | emgarten/Sleet,emgarten/Sleet |
dc6a79a481af4d2c5a3c6b90b6ca92b6b40ec2c7 | ViewModels/PostBodyEditorViewModel.cs | ViewModels/PostBodyEditorViewModel.cs | using NGM.Forum.Models;
namespace NGM.Forum.ViewModels {
public class PostBodyEditorViewModel {
public PostPart PostPart { get; set; }
public string Text {
get { return PostPart.Record.Text; }
set { PostPart.Record.Text = value; }
}
public strin... | using NGM.Forum.Models;
namespace NGM.Forum.ViewModels {
public class PostBodyEditorViewModel {
public PostPart PostPart { get; set; }
public string Text {
get { return PostPart.Record.Text; }
set { PostPart.Record.Text = string.IsNullOrWhiteSpace(value) ? value : ... | Trim end of post on Save. Incase someone hits enter loads and then blows the size of the page. This will stop that. | Trim end of post on Save. Incase someone hits enter loads and then blows the size of the page. This will stop that.
| C# | bsd-3-clause | Jetski5822/NGM.Forum |
4b9d0941a46b41b7831fa12e81eefec4c9235ba0 | src/Umbraco.Web/Net/AspNetHttpContextAccessor.cs | src/Umbraco.Web/Net/AspNetHttpContextAccessor.cs | using System;
using System.Web;
namespace Umbraco.Web
{
internal class AspNetHttpContextAccessor : IHttpContextAccessor
{
public HttpContextBase HttpContext
{
get
{
return new HttpContextWrapper(System.Web.HttpContext.Current);
}
... | using System;
using System.Web;
namespace Umbraco.Web
{
internal class AspNetHttpContextAccessor : IHttpContextAccessor
{
public HttpContextBase HttpContext
{
get
{
var httpContext = System.Web.HttpContext.Current;
return httpContext is n... | Fix if httpContext is null we cannot wrap it | Fix if httpContext is null we cannot wrap it
| C# | mit | robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/U... |
916f79ea864cb099b2b5ee3a7bf2e5888344021d | ADWS/Models/UserInfoResponse.cs | ADWS/Models/UserInfoResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract]
public class UserInfoResponse
{
[DataMember]
public string Title { set; get; }
[DataMember]
public string Display... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;
namespace ADWS.Models
{
[DataContract]
public class UserInfoResponse
{
[DataMember]
public string Title { set; get; }
[DataMember]
public string Display... | Add message inside this class to convey exception | Add message inside this class to convey exception
| C# | apache-2.0 | sghaida/ADWS |
9b0f302db8afd9a853bf3ce749ac7967efef5d02 | src/SFA.DAS.EmployerUsers.RegistrationTidyUpJob/RegistrationManagement/RegistrationManager.cs | src/SFA.DAS.EmployerUsers.RegistrationTidyUpJob/RegistrationManagement/RegistrationManager.cs | using System;
using System.Threading.Tasks;
using MediatR;
using NLog;
using SFA.DAS.EmployerUsers.Application.Commands.DeleteUser;
using SFA.DAS.EmployerUsers.Application.Queries.GetUsersWithExpiredRegistrations;
namespace SFA.DAS.EmployerUsers.RegistrationTidyUpJob.RegistrationManagement
{
public class... | using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Azure;
using NLog;
using SFA.DAS.EmployerUsers.Application.Commands.DeleteUser;
using SFA.DAS.EmployerUsers.Application.Queries.GetUsersWithExpiredRegistrations;
namespace SFA.DAS.EmployerUsers.RegistrationTidyUpJob.RegistrationManagem... | Add log for audit api | Add log for audit api
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
316c9783751e60545c155a8201c953b496957511 | server/Startup.cs | server/Startup.cs | using System;
using System.IO;
using hutel.Filters;
using hutel.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Newtons... | using System;
using System.IO;
using hutel.Filters;
using hutel.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using Newtons... | Move https redirection above basic auth | Move https redirection above basic auth
| C# | apache-2.0 | demyanenko/hutel,demyanenko/hutel,demyanenko/hutel |
74fa9dba58babe0d70076da50811e4b3f1ba0e9f | RailPhase.Demo/Program.cs | RailPhase.Demo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RailPhase.Demo
{
class Program
{
static void Main(string[] args)
{
// Create a simple web app and serve content on to URLs.
var app = new App();... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RailPhase.Demo
{
class Program
{
static void Main(string[] args)
{
// Create a simple web app and serve content on to URLs.
var app = new App();... | Use port for demo application that doesn't need privileges | Use port for demo application that doesn't need privileges
| C# | mit | RailPhase/RailPhase,LukasBoersma/Web2Sharp,RailPhase/RailPhase,LukasBoersma/Web2Sharp,LukasBoersma/RailPhase,LukasBoersma/RailPhase |
6a2a3e10d5c1bac248b55916e15e64bb57ee5749 | Core/CasperException.cs | Core/CasperException.cs | using System;
namespace Casper {
public class CasperException : Exception {
public const int EXIT_CODE_COMPILATION_ERROR = 1;
public const int EXIT_CODE_MISSING_TASK = 2;
public const int EXIT_CODE_CONFIGURATION_ERROR = 3;
public const int EXIT_CODE_TASK_FAILED = 4;
public const int EXIT_CODE_UNHANDLED_EX... | using System;
namespace Casper {
public class CasperException : Exception {
public const int EXIT_CODE_COMPILATION_ERROR = 1;
public const int EXIT_CODE_MISSING_TASK = 2;
public const int EXIT_CODE_CONFIGURATION_ERROR = 3;
public const int EXIT_CODE_TASK_FAILED = 4;
public const int EXIT_CODE_UNHANDLED_EX... | Fix formatting exception when script compilation fails with certain error messages | Fix formatting exception when script compilation fails with certain error messages
| C# | mit | eatdrinksleepcode/casper,eatdrinksleepcode/casper |
b05a3bf0ed21a6fd25807f34c69987ead0cee9b0 | src/Dotnet.Microservice/Health/Checks/RavenDbHealthCheck.cs | src/Dotnet.Microservice/Health/Checks/RavenDbHealthCheck.cs | using Raven.Abstractions.Data;
using System;
namespace Dotnet.Microservice.Health.Checks
{
public class RavenDbHealthCheck
{
public static HealthResponse CheckHealth(string connectionString)
{
try
{
ConnectionStringParser<RavenConnectionStringOptions> pa... | using Raven.Abstractions.Data;
using System;
namespace Dotnet.Microservice.Health.Checks
{
public class RavenDbHealthCheck
{
public static HealthResponse CheckHealth(string connectionString)
{
try
{
ConnectionStringParser<RavenConnectionStringOptions> pa... | Make the client request the RavenDB server version. If we don't do this the client doesn't appear to raise an exception in the case of a dead server so the health check will still return healthy. | Make the client request the RavenDB server version. If we don't do this the client doesn't appear to raise an exception in the case of a dead server so the health check will still return healthy.
| C# | isc | lynxx131/dotnet.microservice |
660cb7714eea0f1fe8e33952ea1502544ad26713 | src/GraphQL/Types/InputObjectGraphType.cs | src/GraphQL/Types/InputObjectGraphType.cs | using System;
namespace GraphQL.Types
{
public interface IInputObjectGraphType : IComplexGraphType
{
}
public class InputObjectGraphType : InputObjectGraphType<object>
{
}
public class InputObjectGraphType<TSourceType> : ComplexGraphType<TSourceType>, IInputObjectGraphType
{
p... | using System;
namespace GraphQL.Types
{
public interface IInputObjectGraphType : IComplexGraphType
{
}
public class InputObjectGraphType : InputObjectGraphType<object>
{
}
public class InputObjectGraphType<TSourceType> : ComplexGraphType<TSourceType>, IInputObjectGraphType
{
p... | Fix argument name param order | Fix argument name param order
| C# | mit | graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet |
6cad2257793e884a6776312697e648eadedec443 | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | Battery-Commander.Web/Jobs/SqliteBackupJob.cs | using FluentEmail.Core;
using FluentScheduler;
using System;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "mattgwagner+backup@gmail.com"; // TODO Make this configurable
private readonly IFluentEmail emailSvc;
public Sqli... | using FluentEmail.Core;
using FluentScheduler;
using System;
namespace BatteryCommander.Web.Jobs
{
public class SqliteBackupJob : IJob
{
private const String Recipient = "Backups@RedLeg.app";
private readonly IFluentEmail emailSvc;
public SqliteBackupJob(IFluentEmail emailSvc)
... | Switch to new backup email recipient | Switch to new backup email recipient | C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
5f4b013d3ff4234c836e6a7ef39936d32815096a | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | using System;
using LinqToTTreeInterfacesLib;
using LINQToTTreeLib.Utils;
namespace LINQToTTreeLib.Variables
{
/// <summary>
/// A simple variable (like int, etc.).
/// </summary>
public class VarSimple : IVariable
{
public string VariableName { get; private set; }
publ... | Fix up how we generate debugging info for var simple. | Fix up how we generate debugging info for var simple.
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
650aac06335a8dffabb4321ee62a1a498febc438 | Assets/Editor/MicrogameCollectionEditor.cs | Assets/Editor/MicrogameCollectionEditor.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | Add editor button to update build path | Add editor button to update build path
| C# | mit | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare |
5e4717cedcf366f03c0499c64b9f05d7cc409e0c | DynamixelServo.Quadruped/MathExtensions.cs | DynamixelServo.Quadruped/MathExtensions.cs | using System;
namespace DynamixelServo.Quadruped
{
static class MathExtensions
{
public static double RadToDegree(this double angle)
{
return angle * (180.0 / Math.PI);
}
public static float RadToDegree(this float angle)
{
return angle * (180f /... | using System;
namespace DynamixelServo.Quadruped
{
static class MathExtensions
{
public static double RadToDegree(this double angle)
{
return angle * (180.0 / Math.PI);
}
public static float RadToDegree(this float angle)
{
return angle * (180f /... | Add square extension method to floats | Add square extension method to floats
| C# | apache-2.0 | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo |
42eefec1cb19382bf6952f725b73bf7f36c85037 | Source/JabbR.Eto/Actions/AddServer.cs | Source/JabbR.Eto/Actions/AddServer.cs | using System;
using Eto.Forms;
using JabbR.Eto.Interface.Dialogs;
using JabbR.Eto.Model.JabbR;
using System.Diagnostics;
namespace JabbR.Eto.Actions
{
public class AddServer : ButtonAction
{
public const string ActionID = "AddServer";
public bool AutoConnect { get; set; }
public AddServer ()
{
this.... | using System;
using Eto.Forms;
using JabbR.Eto.Interface.Dialogs;
using JabbR.Eto.Model.JabbR;
using System.Diagnostics;
namespace JabbR.Eto.Actions
{
public class AddServer : ButtonAction
{
public const string ActionID = "AddServer";
public bool AutoConnect { get; set; }
public AddServer ()
{
this.... | Use https by default for new servers | Use https by default for new servers
| C# | mit | cwensley/JabbR.Eto,cwensley/JabbR.Eto,JabbR/JabbR.Desktop,cwensley/JabbR.Eto,JabbR/JabbR.Desktop,JabbR/JabbR.Desktop |
3d1e15a4e159d23c71a9d94211de31323f6ef0f2 | Cheer/Views/Organization.cshtml | Cheer/Views/Organization.cshtml | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "_Layout.cshtml";
}
@{ Html.RenderPartial("PageHeading"); }
<div class="row">
<div class="small-12 large-12 columns">
@{
var members = Umbraco.TypedContentAtXPath("//OrganizationMember")
.Where(m => m.GetPropertyVal... | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
Layout = "_Layout.cshtml";
}
@{ Html.RenderPartial("PageHeading"); }
<div class="row">
<div class="small-12 large-12 columns">
@{
var members = Umbraco.TypedContentAtXPath("//OrganizationMember")
.Where(m => m.GetPropertyVal... | Order organization members by name. | Order organization members by name.
| C# | mit | chrisjsherm/OrganizationCMS,chrisjsherm/OrganizationCMS,chrisjsherm/OrganizationCMS |
bd0c9a3d586107e41dc06ce829d78b910ef9162a | Source/Eto.Platform.iOS/EtoAppDelegate.cs | Source/Eto.Platform.iOS/EtoAppDelegate.cs | using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Platform.iOS.Forms;
using Eto.Forms;
namespace Eto.Platform.iOS
{
[MonoTouch.Foundation.Register("EtoAppDelegate")]
public class EtoAppDelegate : UIApplicationDelegate
{
public EtoAppDelegate ()
{
}
public override bool WillFinishLa... | using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Eto.Platform.iOS.Forms;
using Eto.Forms;
namespace Eto.Platform.iOS
{
[MonoTouch.Foundation.Register("EtoAppDelegate")]
public class EtoAppDelegate : UIApplicationDelegate
{
public EtoAppDelegate ()
{
}
public override bool FinishedLaun... | Fix running on < iOS 6.0 | iOS: Fix running on < iOS 6.0
| C# | bsd-3-clause | PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto |
84e6895f77cef2044d59dbe53e1aafa0f41045c2 | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs | using Newtonsoft.Json;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
}
} | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class QuestionDisplayOptionsCustomOptions
{
public List<string> OptionSet { get; set; }
public int StartingPosition { get; set; }
publi... | Add custom display option props based on sliders | Add custom display option props based on sliders
| C# | mit | bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3 |
4f9fdc883e9d0087583e48d53dde2804c8d56ebd | Presentation.Web/Global.asax.cs | Presentation.Web/Global.asax.cs | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.... | using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Presentation.Web
{
// Note: For instructions on enabling IIS6 or IIS7 classic mode,
// visit http://go.microsoft.com/?LinkId=9394801
... | Convert all dates to UTC time | Convert all dates to UTC time
| C# | mpl-2.0 | os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos |
329868e99ec7455455bae11dfd7246cd0a4fafe3 | BmpListener/Bgp/ASPathSegment.cs | BmpListener/Bgp/ASPathSegment.cs | namespace BmpListener.Bgp
{
public class ASPathSegment
{
public ASPathSegment(Type type, int[] asns)
{
SegmentType = Type;
ASNs = asns;
}
public enum Type
{
AS_SET = 1,
AS_SEQUENCE,
AS_CONFED_SEQUENCE,
... | using System.Collections.Generic;
namespace BmpListener.Bgp
{
public class ASPathSegment
{
public ASPathSegment(Type type, IList<int> asns)
{
SegmentType = type;
ASNs = asns;
}
public enum Type
{
AS_SET = 1,
AS_SEQUENCE,
... | Change ASN int array to IList | Change ASN int array to IList
| C# | mit | mstrother/BmpListener |
59fb6ac9b9644effe3503de5d46ba00d7719cfdd | SurveyMonkey/Properties/AssemblyInfo.cs | SurveyMonkey/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("Su... | 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("Su... | Bump assembly info for 1.2.2 release | Bump assembly info for 1.2.2 release
| C# | mit | NellyHaglund/SurveyMonkeyApi,bcemmett/SurveyMonkeyApi |
99bd9a2bf8a0bb0f0f4897defceaa326e851b5a9 | Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/MixedRealityControllerVisualizerInspector.cs | Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/MixedRealityControllerVisualizerInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Input.Editor
{
[CustomEditor(typeof(MixedRealityControllerVisualizer))]
public class MixedRealit... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Input.Editor
{
[CustomEditor(typeof(MixedRealityControllerVisualizer), true)]
public class Mixed... | Use inspector for child classes | Use inspector for child classes
| C# | mit | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity |
59938835d439bbfb3b19b8240bcf310f8dfd7eb9 | T4MVCHostMvcApp/App_Start/BundleConfig.cs | T4MVCHostMvcApp/App_Start/BundleConfig.cs | using System.Diagnostics.CodeAnalysis;
using System.Web.Optimization;
namespace T4MVCHostMvcApp.App_Start
{
public static class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
[SuppressMessage("Microsoft.Design", "CA1062:Validate argument... | using System.Diagnostics.CodeAnalysis;
using System.Web.Optimization;
namespace T4MVCHostMvcApp.App_Start
{
public static class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
[SuppressMessage("Microsoft.Design", "CA1062:Validate argument... | Update bundle config to match exampe in wiki page | Update bundle config to match exampe in wiki page
| C# | apache-2.0 | M1chaelTran/T4MVC,jkonecki/T4MVC,payini/T4MVC,T4MVC/T4MVC,scott-xu/T4MVC,jkonecki/T4MVC,scott-xu/T4MVC,payini/T4MVC,T4MVC/T4MVC,M1chaelTran/T4MVC |
81b922ecb73f3c8dda8a08a4826eb4985d4eac9d | slang/Lexing/Trees/Nodes/Transitions.cs | slang/Lexing/Trees/Nodes/Transitions.cs | using System.Collections.Generic;
namespace slang.Lexing.Trees.Nodes
{
public class Transitions : Dictionary<char,Node>
{
}
}
| using System.Collections.Generic;
namespace slang.Lexing.Trees.Nodes
{
public class Transitions : Dictionary<Character,Transition>
{
}
}
| Use character class as transition key | Use character class as transition key
| C# | mit | jagrem/slang,jagrem/slang,jagrem/slang |
0dc62903399db2dc21a4f1d78c4dae14cf9b3b85 | src/SmugMugModel.v2/Types/SiteEntity.cs | src/SmugMugModel.v2/Types/SiteEntity.cs | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.v2.Authentication;
using System.Threading.Tasks;
namespace SmugMug.v2.Types
{
public class SiteEntity : SmugMugEntity
{
public SiteE... | // Copyright (c) Alex Ghiondea. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using SmugMug.v2.Authentication;
using System.Threading.Tasks;
namespace SmugMug.v2.Types
{
public class SiteEntity : SmugMugEntity
{
public SiteE... | Add a way to get the vendors from the Site entity. | Add a way to get the vendors from the Site entity.
| C# | mit | AlexGhiondea/SmugMug.NET |
13209028425ad8887ea29600a13c037d9c0b7060 | src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Services/MockDBContextService.cs | src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Services/MockDBContextService.cs | using System.ComponentModel.Composition;
using Microsoft.EntityFrameworkCore;
using Waf.BookLibrary.Library.Applications.Data;
using Waf.BookLibrary.Library.Applications.Services;
using Waf.BookLibrary.Library.Domain;
namespace Test.BookLibrary.Library.Applications.Services
{
[Export, Export(typeof(IDBContextServ... | using System.ComponentModel.Composition;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage;
using Waf.BookLibrary.Library.Applications.Data;
using Waf.BookLibrary.Library.Applications.Services;
using Waf.BookLibrary.Library.Domain;
namespace Test.BookLibrary.Library.Applications.Service... | Fix InMemory context for unit tests | BookLib: Fix InMemory context for unit tests
| C# | mit | jbe2277/waf |
9cb9ef5c563316df57f7a49400359463ead3f49b | osu.Game/Overlays/Settings/SettingsEnumDropdown.cs | osu.Game/Overlays/Settings/SettingsEnumDropdown.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsEnumDropdown<T> : Set... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsEnumDropdown<T> : Set... | Refactor the menu's max height to be a property | Refactor the menu's max height to be a property
| C# | mit | ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu |
01ab6e0572b195a9acc796085dd6a2c3b677d7d9 | HealthBarGUI.cs | HealthBarGUI.cs | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the HealthBar extension for Unity. Licensed under the
// MIT license. See LICENSE file in the project root folder. Based on HealthBar
// component made by Zero3Growlithe (zero3growlithe@gmail.com).
using UnityEngine;
namespac... | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the HealthBar extension for Unity. Licensed under the
// MIT license. See LICENSE file in the project root folder. Based on HealthBar
// component made by Zero3Growlithe (zero3growlithe@gmail.com).
using UnityEngine;
namespac... | Reorder fields in the inspector | Reorder fields in the inspector
| C# | mit | bartlomiejwolk/HealthBar |
45571fd2475781a2d04bc4cd90cc43be4717a887 | test/Grobid.PdfToXml.Test/TokenBlockFactoryTest.cs | test/Grobid.PdfToXml.Test/TokenBlockFactoryTest.cs | using System;
using FluentAssertions;
using Xunit;
namespace Grobid.PdfToXml.Test
{
public class TokenBlockFactoryTest
{
[Fact]
public void TestA()
{
var stub = new TextRenderInfoStub();
var testSubject = new TokenBlockFactory(100, 100);
... | using System;
using FluentAssertions;
using iTextSharp.text.pdf.parser;
using Xunit;
namespace Grobid.PdfToXml.Test
{
public class TokenBlockFactoryTest
{
[Fact]
public void FactoryShouldNormalizeUnicodeStrings()
{
var stub = new TextRenderInfoStub
... | Write test to ensure characters are normalized. | Write test to ensure characters are normalized.
| C# | apache-2.0 | boumenot/Grobid.NET |
c420d3d29b5010dec9203479b6f647ed26ff5876 | aspnet/4-auth/Controllers/SessionController.cs | aspnet/4-auth/Controllers/SessionController.cs | // Copyright(c) 2016 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 agree... | // Copyright(c) 2016 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 agree... | Simplify Login() action - no explicit return necessary | Simplify Login() action - no explicit return necessary
| C# | apache-2.0 | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet |
81280dfd257fe482e0baeab20c828849b26837a8 | osu.Game/Screens/Edit/Setup/ColoursSection.cs | osu.Game/Screens/Edit/Setup/ColoursSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Screens.Edit.... | Use editable skin structure in combo colour picker | Use editable skin structure in combo colour picker
| C# | mit | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu |
2fdfe5e667b92664f6e8a7d16d60871d450150ec | commercetools.NET/Carts/CustomLineItemDraft.cs | commercetools.NET/Carts/CustomLineItemDraft.cs | using System.Collections.Generic;
using commercetools.Common;
using commercetools.CustomFields;
using Newtonsoft.Json;
namespace commercetools.Carts
{
/// <summary>
/// API representation for creating a new CustomLineItem.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-... | using System.Collections.Generic;
using commercetools.Common;
using commercetools.CustomFields;
using Newtonsoft.Json;
namespace commercetools.Carts
{
/// <summary>
/// API representation for creating a new CustomLineItem.
/// </summary>
/// <see href="http://dev.commercetools.com/http-api-projects-... | Update Custom field to the correct POCO representation | Update Custom field to the correct POCO representation
| C# | mit | commercetools/commercetools-dotnet-sdk |
114c71592c87809626beb354c73a6e3ef32a7ed1 | src/Cronofy/ICronofyUserInfoClient.cs | src/Cronofy/ICronofyUserInfoClient.cs | namespace Cronofy
{
using System;
/// <summary>
/// Interface for a Cronofy client base that manages the
/// access token and any shared client methods.
/// </summary>
public interface ICronofyUserInfoClient
{
/// <summary>
/// Gets the user info belonging to the account.
... | namespace Cronofy
{
using System;
/// <summary>
/// Interface for a Cronofy client base that manages the
/// access token and any shared client methods.
/// </summary>
public interface ICronofyUserInfoClient
{
/// <summary>
/// Gets the user info belonging to the account.
... | Remove unnecessary argument exception documentation on user info | Remove unnecessary argument exception documentation on user info
| C# | mit | cronofy/cronofy-csharp |
a6e95b8677825a9dde286e47da608ee26d5e79ad | src/MyParcelApi.Net/Models/Carrier.cs | src/MyParcelApi.Net/Models/Carrier.cs | namespace MyParcelApi.Net.Models
{
public enum Carrier
{
PostNl = 1,
BPost = 2
}
}
| namespace MyParcelApi.Net.Models
{
public enum Carrier
{
None = 0,
PostNl = 1,
BPost = 2
}
}
| Improve when there is no carrier | Improve when there is no carrier
| C# | mit | janssenr/MyParcelApi.Net |
a6f151dd9e8300d8c6153beddf4883af76f4f678 | Assets/Scripts/ShotControl.cs | Assets/Scripts/ShotControl.cs | using UnityEngine;
using System.Collections;
public class ShotControl : MonoBehaviour {
public float speed = 0.2f;
private bool inBlock;
private int life = 3;
void Start () {
}
void Update () {
// Old position
Vector3 position = transform.position;
// Move
transform.Translate(Vector3.up * speed);... | using UnityEngine;
using System.Collections;
public class ShotControl : MonoBehaviour {
public float speed = 0.2f;
private bool inBlock;
private int life = 3;
void Start () {
}
void Update () {
// Old position
Vector3 position = transform.position;
// Move
transform.Translate(Vector3.up * speed);... | Check for shots going out of bounds and kill them | Check for shots going out of bounds and kill them
| C# | apache-2.0 | mlepage/karmbat |
5f05f95c45b3b36f10140a7307d4548396ab49d3 | WootzJs.Mvc/StyleExtensions.cs | WootzJs.Mvc/StyleExtensions.cs | using WootzJs.Mvc.Views;
using WootzJs.Mvc.Views.Css;
namespace WootzJs.Mvc
{
public static class StyleExtensions
{
public static T WithBold<T>(this T control) where T : Control
{
control.Style.Font.Weight = new CssFontWeight(CssFontWeightType.Bold);
return control;
... | using WootzJs.Mvc.Views;
using WootzJs.Mvc.Views.Css;
namespace WootzJs.Mvc
{
public static class StyleExtensions
{
public static T WithBold<T>(this T control) where T : Control
{
control.Style.Font.Weight = new CssFontWeight(CssFontWeightType.Bold);
return control;
... | Add more style extension methods | Add more style extension methods
| C# | mit | kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs |
b8b17f0999a1cc2e757a33f57ad3c3f6edd82609 | MultiMiner.MobileMiner.Api/ApiContext.cs | MultiMiner.MobileMiner.Api/ApiContext.cs | using System.Net;
using System.Web.Script.Serialization;
namespace MultiMiner.MobileMiner.Api
{
public class ApiContext
{
static public void SubmitMiningStatistics(string url, MiningStatistics miningStatistics)
{
string fullUrl = url + "/api/MiningStatisticsInput";
usin... | using System.Net;
using System.Web.Script.Serialization;
namespace MultiMiner.MobileMiner.Api
{
public class ApiContext
{
static public void SubmitMiningStatistics(string url, MiningStatistics miningStatistics)
{
if (!url.EndsWith("/"))
url = url + "/";
... | Handle URL's with or without a / suffix | Handle URL's with or without a / suffix
| C# | mit | IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner |
74a5b9a7d3bd51eadb3372dd1ca002335fe400db | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cak... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cake.Hg",
repositoryOwner: "cake-contrib",
repositoryName: "Cake.Hg... | Disable dupfinder because of Hg.Net | Disable dupfinder because of Hg.Net
| C# | mit | vCipher/Cake.Hg |
4610d8592feded4b7ea030bc7f5800695b4e3267 | Properties/AssemblyInfo.cs | 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("Mo... | 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("Mo... | Increase version number & add 2014 copyright | Increase version number & add 2014 copyright
| C# | mit | MaartenStaa/mow-chat,MaartenStaa/mow-chat |
b664fc2a65dc1cc95e24c56e6393a1375c29d983 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DomainServices")]
[assembly: AssemblyDescription("Autofac Integration for RIA Services")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.DomainServices")]
[assembly: ComVisible(false)] | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Extras.DomainServices |
87e8074cd267f9f8676fa7f7f5ecc18ae3a56029 | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | Use a const for excess length | Use a const for excess length
| C# | mit | ZLima12/osu,naoey/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,johnneijzen/osu,2yangk23/osu,N... |
a22e6cf46b2fd8833b7dc20600e54f0fba04daec | source/Nuke.Core/Tooling/ProcessExtensions.cs | source/Nuke.Core/Tooling/ProcessExtensions.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core.Utilities;
namespace Nuke.Core.To... | Remove printing of invocation in case of non-zero exit code. | Remove printing of invocation in case of non-zero exit code.
| C# | mit | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke |
a677091e838febe3c9ff0ea05548b9cd9587a542 | Src/MvcPages/BrowserCamera/Storage/FileSystemScreenshotStorage.cs | Src/MvcPages/BrowserCamera/Storage/FileSystemScreenshotStorage.cs | using System;
using System.Drawing.Imaging;
using System.IO;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera.Storage
{
public class FileSystemScreenshotStorage : IScreenshotStorage
{
private readonly string screenshotDirectoryPath;
public FileSystemScreenshotStorage... | using System;
using System.Drawing.Imaging;
using System.IO;
using Tellurium.MvcPages.Utils;
namespace Tellurium.MvcPages.BrowserCamera.Storage
{
public class FileSystemScreenshotStorage : IScreenshotStorage
{
private readonly string screenshotDirectoryPath;
public FileSystemScreenshotStorage... | Create directory for error screenshot if it does not exist | Create directory for error screenshot if it does not exist
| C# | mit | cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium |
fb5d92bdc02f1ed2af73fc26bbee67be20a2bb99 | src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs | src/Microsoft.AspNetCore.Mvc.Core/Internal/TaskCache.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Mvc.Internal
{
public static class TaskCache
{
#if NET451
static readonly ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Mvc.Internal
{
public static class TaskCache
{
/// <summary>
/// ... | Change our cached task to a field | Change our cached task to a field
This makes it more inlinable and saves a volatile lookup on netstandard.
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
0369da1b3a05c57ea658b48fa0c02a00091fb190 | tests/Magick.NET.Tests/ResourceLimitsTests/TheMaxMemoryRequest.cs | tests/Magick.NET.Tests/ResourceLimitsTests/TheMaxMemoryRequest.cs | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
using Xunit.Sdk;
namespace Magick.NET.Tests
{
public partial class ResourceLimitsTests
{
[Collection(nameof(RunTestsSeparately))]
public class T... | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
using Xunit.Sdk;
namespace Magick.NET.Tests
{
public partial class ResourceLimitsTests
{
[Collection(nameof(RunTestsSeparately))]
public class T... | Use different percentage in the unit test. | Use different percentage in the unit test.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
c6eaba6efe0334aa9a612b5d8a116c67b89d9c34 | State.cs | State.cs | using System.Collections.Generic;
namespace AttachToolbar
{
internal static class State
{
public static string ProcessName = "";
public static List<string> ProcessList = new List<string>();
public static EngineType EngineType = EngineType.Native;
public static bool IsAttached =... | using System.Collections.Generic;
namespace AttachToolbar
{
internal static class State
{
public static int ProcessIndex = -1;
public static List<string> ProcessList = new List<string>();
public static EngineType EngineType = EngineType.Native;
public static bool IsAttached = f... | Add process index to state as primary key. Use process name as property | Add process index to state as primary key. Use process name as property
| C# | mit | fareloz/AttachToolbar |
2af63bf54c7e5c1aa0709a214b2f1b947ed7f4b4 | src/BloomExe/Utils/MemoryUtils.cs | src/BloomExe/Utils/MemoryUtils.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bloom.Utils
{
class MemoryUtils
{
/// <summary>
/// A crude way of measuring when we might be short enough of memory to need a full reload.
/// </summary>
/... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bloom.Utils
{
class MemoryUtils
{
/// <summary>
/// A crude way of measuring when we might be short enough of memory to need a full reload.
/// </summary>
/... | Fix system memory check for Linux (20210323) | Fix system memory check for Linux (20210323)
| C# | mit | gmartin7/myBloomFork,gmartin7/myBloomFork,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDeskt... |
b87918def42cb623c3ce0435101d80302a0d7667 | src/Narochno.Credstash/Internal/CredstashItem.cs | src/Narochno.Credstash/Internal/CredstashItem.cs | using System.Collections.Generic;
using Amazon.DynamoDBv2.Model;
namespace Narochno.Credstash.Internal
{
public class CredstashItem
{
public const string DEFAULT_DIGEST = "SHA256";
public string Name { get; set; }
public string Version { get; set; }
public string Contents { ge... | using System.Collections.Generic;
using Amazon.DynamoDBv2.Model;
namespace Narochno.Credstash.Internal
{
public class CredstashItem
{
public const string DEFAULT_DIGEST = "SHA256";
public string Name { get; set; }
public string Version { get; set; }
public string Contents { ge... | Update for Dict contains before null check | Update for Dict contains before null check
| C# | apache-2.0 | Narochno/Narochno.Credstash |
cb264e95b7527044f159ea1a9e9c5f4875bf1db4 | FileLogging.cs | FileLogging.cs | using System;
using System.Diagnostics;
using System.IO;
namespace PackageRunner
{
/// <summary>
/// </summary>
internal class FileLogging
{
private readonly string _file;
private static readonly object _lock = new object();
public FileLogging(string file)
{
... | using System;
using System.Diagnostics;
using System.IO;
namespace PackageRunner
{
/// <summary>
/// </summary>
internal class FileLogging
{
private readonly string _file;
private static readonly object _lock = new object();
public FileLogging(string file)
{
... | Add new line for file logging | Add new line for file logging
| C# | mit | pandell/PackageRunner |
8d8349d27bce60508b2a4416b5a3e07ad8e3102b | Src/Dashboard/Program.cs | Src/Dashboard/Program.cs | using System;
using System.Threading;
using Topshelf;
namespace Tellurium.VisualAssertion.Dashboard
{
public class Program
{
public static void Main(string[] args)
{
#if DEBUG
using (var server = new WebServer())
{
server.Run(consoleMode:true);
... | using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Topshelf;
namespace Tellurium.VisualAssertion.Dashboard
{
public class Program
{
public static void Main(string[] args)
{
#if DEBUG
using (var server = new WebServer())
{
... | Add Debug writer for diagnostic purpose | Add Debug writer for diagnostic purpose
| C# | mit | cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium |
95f28d916ddc6f460f2aa2bc1f04fd9275f0c0c0 | BaskervilleWebsite/Baskerville.Models/DataModels/ProductCategory.cs | BaskervilleWebsite/Baskerville.Models/DataModels/ProductCategory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Baskerville.Models.DataModels
{
public class ProductCategory
{
public ProductCategory()
{
this.Products = new HashSet<Product>();
this.Subcatego... | namespace Baskerville.Models.DataModels
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class ProductCategory
{
public ProductCategory()
{
this.Products = new HashSet<Product>();
this.Subcategories = new HashSet<ProductCat... | Add Db validation for ProductCategories model | Add Db validation for ProductCategories model
| C# | apache-2.0 | MarioZisov/Baskerville,MarioZisov/Baskerville,MarioZisov/Baskerville |
62cf350f010cf42be020ae0a5db1d210fa945194 | Core/Theraot/Threading/ThreadingHelper.extra.cs | Core/Theraot/Threading/ThreadingHelper.extra.cs | #if FAT
namespace Theraot.Threading
{
public static partial class ThreadingHelper
{
private static readonly RuntimeUniqueIdProdiver _threadIdProvider = new RuntimeUniqueIdProdiver();
// Leaked until AppDomain unload
private static readonly NoTrackingThreadLocal<RuntimeUniqueIdProdiver.... | #if FAT
namespace Theraot.Threading
{
public static partial class ThreadingHelper
{
// Leaked until AppDomain unload
private static readonly NoTrackingThreadLocal<RuntimeUniqueIdProdiver.UniqueId> _threadRuntimeUniqueId = new NoTrackingThreadLocal<RuntimeUniqueIdProdiver.UniqueId>(RuntimeUniqu... | Fix - RuntimeUniqueIdProdiver is static | Fix - RuntimeUniqueIdProdiver is static
| C# | mit | theraot/Theraot |
7543b4fb93889fc704b6d200a9306ef91bccdedd | src/IdentityServer3.Contrib.RedisStores/Stores/RefreshTokenStore.cs | src/IdentityServer3.Contrib.RedisStores/Stores/RefreshTokenStore.cs | using IdentityServer3.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer3.Core.Models;
using IdentityServer3.Contrib.RedisStores.Models;
using StackExchange.Redis;
using IdentityServer3.Contrib.RedisStores.Converters;
namespace Identity... | using IdentityServer3.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer3.Core.Models;
using IdentityServer3.Contrib.RedisStores.Models;
using StackExchange.Redis;
using IdentityServer3.Contrib.RedisStores.Converters;
namespace Identity... | Fix namespace and add inheritance | Fix namespace and add inheritance
| C# | mit | mniak/IdentityServer3.Contrib.RedisStores |
5b3e02eaac6add02774d8030c216e95d772f6bc7 | EOLib/PacketHandlers/ConnectionPlayerHandler.cs | EOLib/PacketHandlers/ConnectionPlayerHandler.cs | using AutomaticTypeMapper;
using EOLib.Logger;
using EOLib.Net;
using EOLib.Net.Communication;
using EOLib.Net.Handlers;
using EOLib.Net.PacketProcessing;
namespace EOLib.PacketHandlers
{
/// <summary>
/// Handles incoming CONNECTION_PLAYER packets which are used for updating sequence numbers in the EO protoc... | using AutomaticTypeMapper;
using EOLib.Logger;
using EOLib.Net;
using EOLib.Net.Communication;
using EOLib.Net.Handlers;
using EOLib.Net.PacketProcessing;
namespace EOLib.PacketHandlers
{
/// <summary>
/// Handles incoming CONNECTION_PLAYER packets which are used for updating sequence numbers in the EO protoc... | Fix handling of CONNECTION_PLAYER when sending response to GameServer | Fix handling of CONNECTION_PLAYER when sending response to GameServer
| C# | mit | ethanmoffat/EndlessClient |
c8c77a465d3468cacbd81dc55fb4f46f975c2cba | gdRead.Data/Models/Post.cs | gdRead.Data/Models/Post.cs | using System;
namespace gdRead.Data.Models
{
public class Post
{
public int Id { get; set; }
public int FeedId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Summary { get; set; }
public string Content { get; set; }... | using System;
using DapperExtensions.Mapper;
namespace gdRead.Data.Models
{
public class Post
{
public int Id { get; set; }
public int FeedId { get; set; }
public string Name { get; set; }
public string Url { get; set; }
public string Summary { get; set; }
publ... | Fix issue where Dapper was trying to insert Read into the post table where that column doesnt exist | Fix issue where Dapper was trying to insert Read into the post table where that column doesnt exist
| C# | mit | gavdraper/gdRead,gavdraper/gdRead |
cb5c6e2531d47151884300c5dd3d46e139867042 | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserFilterViewModel.cs | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserFilterViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Controls;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.ManagedDialogs
{
internal class ManagedFileChooserFilterViewModel : ViewModelBase
{
private readonly string[] Extensions;
public string Name { get; }
public... | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Controls;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.ManagedDialogs
{
internal class ManagedFileChooserFilterViewModel : ViewModelBase
{
private IEnumerable<string> Extensions { get; }
public string Name { get; }... | Replace string[] field by IEnumerable<string> property | Replace string[] field by IEnumerable<string> property
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
a3570e38720fcf3a1890466656c1f136e53ac669 | Samples/BuildDependencyTestApp/Properties/AssemblyInfo.cs | Samples/BuildDependencyTestApp/Properties/AssemblyInfo.cs | // Copyright (c) 2015 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your proje... | // Copyright (c) 2015 Eberhard Beilharz
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your proje... | Use GitVersion for test app | Use GitVersion for test app
| C# | mit | ermshiperete/BuildDependency |
23091ff4ffc8cbc3b53853912a8735c1faf94f5b | src/DotVVM.Framework/Compilation/Binding/DefaultExtensionsProvider.cs | src/DotVVM.Framework/Compilation/Binding/DefaultExtensionsProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Framework.Compilation.Binding
{
public class DefaultExtensionsProvider : IExtensionsProvider
{
private readonly List<Type> typesLookup;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace DotVVM.Framework.Compilation.Binding
{
public class DefaultExtensionsProvider : IExtensionsProvider
{
private readonly List<Type> typesLookup;
... | Fix issue when adding type to ExtensionsProvider | Fix issue when adding type to ExtensionsProvider
| C# | apache-2.0 | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm |
df5a781b1e31473f4baa8c558edc74172b0d1755 | samples/cs/minigzip/Main.cs | samples/cs/minigzip/Main.cs | // project created on 11.11.2001 at 15:19
using System;
using System.IO;
using ICSharpCode.SharpZipLib.GZip;
class MainClass
{
public static void Main(string[] args)
{
if (args[0] == "-d") { // decompress
Stream s = new GZipInputStream(File.OpenRead(args[1]));
FileStream fs = File.Create(Path.GetFileNameWit... | // project created on 11.11.2001 at 15:19
using System;
using System.IO;
using ICSharpCode.SharpZipLib.GZip;
class MainClass
{
public static void Main(string[] args)
{
if ( args.Length > 0 ) {
if ( args[0] == "-d" ) { // decompress
Stream s = new GZipInputStream(File.OpenRead(args[1]));
FileStream fs =... | Stop exception when no argument sare suppplied to minigzip | Stop exception when no argument sare suppplied to minigzip
| C# | mit | McNeight/SharpZipLib |
1cea040c48466d64f5e637202df3cbb051d692ab | src/wrapper/Program.cs | src/wrapper/Program.cs | using System;
using System.IO;
using System.Reflection;
// ReSharper disable once CheckNamespace
internal static class Program
{
private static int Main(string[] args)
{
// Mono's XBuild uses assembly redirects to make sure it uses .NET 4.5 target binaries.
// We emulate it using our own assem... | using System;
using System.IO;
using System.Reflection;
// ReSharper disable once CheckNamespace
internal static class Program
{
private static int Main(string[] args)
{
var mainAsm = Assembly.Load("citizenmp_server_updater");
mainAsm.GetType("Costura.AssemblyLoader")
.GetMethod("... | Remove assembly load debug lines. | Remove assembly load debug lines.
| C# | mit | icedream/citizenmp-server-updater |
ef220c14cdef4e4844b041795863bab7d76a1fef | SaurusConsole.Tests/MoveTests.cs | SaurusConsole.Tests/MoveTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SaurusConsole.OthelloAI;
namespace SaurusConsoleTests
{
[TestClass]
public class MoveTests
{
[TestMethod]
public void NotationConstuctorTest()
{
Move e4move = new Move("E4");
Assert.AreEqual("E4", e4mov... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SaurusConsole.OthelloAI;
namespace SaurusConsoleTests
{
[TestClass]
public class MoveTests
{
[TestMethod]
public void NotationConstuctorTest()
{
Move e4move = new Move("E4");
Assert.AreEqual("E4", e4mov... | Test if a failed test will fail the build | Test if a failed test will fail the build
| C# | mit | plzb0ss/Saurus-Othello |
fa3a3f4f0b3e0325d018e0946331b0416e2e1d33 | SupportManager.Web/Program.cs | SupportManager.Web/Program.cs | using System.Diagnostics;
using System.IO;
using Hangfire;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.HttpSys;
using SupportManager.Contracts;
using Topshelf;
namespace SupportManager.Web
{
public class Program
{
private static string[] args;
... | using System.Diagnostics;
using System.IO;
using Hangfire;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Server.HttpSys;
using SupportManager.Contracts;
using Topshelf;
namespace SupportManager.Web
{
public class Program
{
private static string[] args;
... | Set interval to 10 minutes | ReadAllTeamStatus: Set interval to 10 minutes
| C# | mit | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager |
62d4704d69b0e15675ec6a088b7e22dc09779bd0 | src/Nether.Web/Features/Identity/Controllers/IdentityTestController.cs | src/Nether.Web/Features/Identity/Controllers/IdentityTestController.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
namespace Nether.Web.Features.Identity
{
[Route("identity-test")]
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
namespace Nether.Web.Features.Identity
{
[Route("identity-test")]
... | Make identity-test API easier to consume | Make identity-test API easier to consume
| C# | mit | vflorusso/nether,stuartleeks/nether,navalev/nether,brentstineman/nether,ankodu/nether,vflorusso/nether,stuartleeks/nether,vflorusso/nether,navalev/nether,krist00fer/nether,MicrosoftDX/nether,ankodu/nether,brentstineman/nether,navalev/nether,ankodu/nether,brentstineman/nether,vflorusso/nether,brentstineman/nether,olivia... |
59b65197f5fa35904f3cf047c482241ae7aa94fc | Brokerages/Alpaca/Markets/Messages/JsonError.cs | Brokerages/Alpaca/Markets/Messages/JsonError.cs | /*
* The official C# API client for alpaca brokerage
* Sourced from: https://github.com/alpacahq/alpaca-trade-api-csharp/tree/v3.0.2
*/
using System;
using Newtonsoft.Json;
namespace QuantConnect.Brokerages.Alpaca.Markets
{
internal sealed class JsonError
{
[JsonProperty(PropertyName = "code", Requ... | /*
* The official C# API client for alpaca brokerage
* Sourced from: https://github.com/alpacahq/alpaca-trade-api-csharp/tree/v3.0.2
*/
using System;
using Newtonsoft.Json;
namespace QuantConnect.Brokerages.Alpaca.Markets
{
internal sealed class JsonError
{
[JsonProperty(PropertyName = "code", Requ... | Fix Alpaca error message deserialization | Fix Alpaca error message deserialization
Some JSON error messages could not be deserialized because they do not contain the "code" property.
| C# | apache-2.0 | jameschch/Lean,JKarathiya/Lean,StefanoRaggi/Lean,jameschch/Lean,AlexCatarino/Lean,QuantConnect/Lean,QuantConnect/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AlexCatarino/Lean,AlexCatarino/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,JKarathiya/Lean,StefanoRaggi/Lean,QuantConnect/Lean,JKarathiya/Lean,JKarathiya/Lean,jameschch/... |
1013749a83365c54d7585e1a4289c54113754e52 | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomUser.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomUser.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using osu.Game.Users;
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerRoomUser : IEquatabl... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using osu.Game.Users;
namespace osu.Game.Online.RealtimeMultiplayer
{
[Serializable]
public class MultiplayerRoomUser : IEquatabl... | Change user id type to int | Change user id type to int
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu |
66d270fc28a9b7ff70452576819af9f9b05295ae | IvionSoft/History.cs | IvionSoft/History.cs | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
public int Length { get; private set; }
HashSet<T> hashes;
Queue<T> queue;
object _locker = new object();
public History(int length) : this(length, null)
{}
... | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
public int Length { get; private set; }
HashSet<T> hashes;
Queue<T> queue;
public History()
{
Length = 0;
}
public History(int length) : this(l... | Remove locking code and make it possible to have a dummy history, by calling the parameterless constructor. | Remove locking code and make it possible to have a dummy history, by calling the parameterless constructor. | C# | bsd-2-clause | IvionSauce/MeidoBot |
d4b35d236c240ca3e90fcb6c4ff31531a4930497 | Confuser.Core/Project/Patterns/ModuleFunction.cs | Confuser.Core/Project/Patterns/ModuleFunction.cs | using System;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the module of definition.
/// </summary>
public class ModuleFunction : PatternFunction {
internal const string FnName = "module";
/// <inheritdoc />
public override string Name {
ge... | using System;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the module of definition.
/// </summary>
public class ModuleFunction : PatternFunction {
internal const string FnName = "module";
/// <inheritdoc />
public override string Name {
ge... | Support module def in module function | Support module def in module function
| C# | mit | Desolath/Confuserex,Desolath/ConfuserEx3,timnboys/ConfuserEx,yeaicc/ConfuserEx,engdata/ConfuserEx |
e0ba1ddf58b73f8b6bfd86d01e1929352d1a904a | Destinations/FileDestination.cs | Destinations/FileDestination.cs | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Stampsy.ImageSource
{
public class FileDestination : IDestination<FileRequest>
{
public string Folder { get; private set; }
public FileDestination (string folder)
{
Folder = fold... | using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Stampsy.ImageSource
{
public class FileDestination : IDestination<FileRequest>
{
public static FileDestination InLibrary (params string [] folders)
{
var folder = Path.... | Add helpers for saving in Library and Library/Caches | Add helpers for saving in Library and Library/Caches
| C# | mit | stampsy/Stampsy.ImageSource |
cd09499bbe4017e3fe29f7798177a8264836bec5 | Simple.Domain/Model/Organization/Organization.cs | Simple.Domain/Model/Organization/Organization.cs | using System;
using System.Collections.Generic;
namespace Simple.Domain.Model
{
public class Organization
{
public Guid Id { get; set; }
public string Name { get; set; }
public string CatchPhrase { get; set; }
public string BSPhrase { get; set; }
// Ref
public DomainUser Owner { get; set; }
// List ... | using System;
using System.Collections.Generic;
using Simple.Domain.Entities;
namespace Simple.Domain.Model
{
public class Organization
{
public Guid Id { get; set; }
public string Name { get; set; }
public string CatchPhrase { get; set; }
public string BSPhrase { get; set; }
// Ref
public User Owner {... | Update to use new User | Update to use new User
| C# | mit | csengineer13/Simple.MVC,csengineer13/Simple.MVC,csengineer13/Simple.MVC |
000c021d81956b48bac83f43e9b9a5ccea2513f0 | ElectronicCash/Alice.cs | ElectronicCash/Alice.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicCash
{
/// <summary>
/// The customer
/// </summary>
public class Alice : BaseActor
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicCash
{
/// <summary>
/// The customer
/// </summary>
public class Alice : BaseActor
{
public List<MoneyOrder> MoneyOrders { get; private set; }
pu... | Add some helpers and stuff | Add some helpers and stuff
| C# | mit | 0culus/ElectronicCash |
967c658b5d023b72ef74de8c1724e875068f4891 | Source/ue4czmq/ue4czmq.Build.cs | Source/ue4czmq/ue4czmq.Build.cs | // Copyright 2015 Palm Stone Games, Inc. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class ue4czmq : ModuleRules
{
public ue4czmq(TargetInfo Target)
{
// Include paths
//PublicIncludePaths.AddRange(new string[] {});
//PrivateIncludePat... | // Copyright 2015 Palm Stone Games, Inc. All Rights Reserved.
using System.IO;
namespace UnrealBuildTool.Rules
{
public class ue4czmq : ModuleRules
{
public ue4czmq(TargetInfo Target)
{
// Include paths
//PublicIncludePaths.AddRange(new string[] {});
//PrivateIncludePat... | Revert "Use a PrivateAdditionalLibrary for czmq.lib instead of a public one" | Revert "Use a PrivateAdditionalLibrary for czmq.lib instead of a public one"
This reverts commit f1e6a83fdd73c5589772ab9d3fef316853a5cd19.
| C# | apache-2.0 | DeltaMMO/ue4czmq,DeltaMMO/ue4czmq |
168fe28aec0c3b76e00722cd017f2ca4a18f4fb4 | Battery-Commander.Web/Views/APFT/Edit.cshtml | Battery-Commander.Web/Views/APFT/Edit.cshtml | @model APFT
@using (Html.BeginForm("Edit", "APFT", FormMethod.Post, new { @class = "form-horizontal" role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Soldier)
... | @model APFT
@using (Html.BeginForm("Edit", "APFT", FormMethod.Post, new { @class = "form-horizontal" role = "form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(model => model.Id)
@Html.ValidationSummary()
<div class="form-group form-group-lg">
@Html.DisplayNameFor(model => model.Soldier)
... | Make soldier a dropdown list | Make soldier a dropdown list
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
4756056234f799b67f7b2f8404f07c14551e2243 | UnitTestProject1/SimpleTests.cs | UnitTestProject1/SimpleTests.cs | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimpleTests.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the pro... | #region copyright
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SimpleTests.cs" company="Stephen Reindl">
// Copyright (c) Stephen Reindl. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the pro... | Update unit test error for new const | Update unit test error for new const
| C# | mit | steven-r/Oberon0Compiler |
baadacc2a22ee0814473866b442b5d6af9e5958a | Source/CaliburnMicro/CaliburnMicro.WinForms/Logging.cs | Source/CaliburnMicro/CaliburnMicro.WinForms/Logging.cs | namespace MvvmFx.CaliburnMicro
{
using System;
/// <summary>
/// Used to manage logging.
/// </summary>
public static class LogManager
{
private static readonly Logging.ILog NullLogInstance = new Logging.NullLogger();
/// <summary>
/// Creates an <see cref="Logging.ILo... | namespace MvvmFx.CaliburnMicro
{
using System;
/// <summary>
/// Used to manage logging.
/// </summary>
public static class LogManager
{
private static readonly Logging.ILog NullLogInstance = new Logging.NullLogger();
#pragma warning disable CS3003 // Type is not CLS-compliant
... | Disable warning "Type is not CLS-compliant" | Disable warning "Type is not CLS-compliant"
| C# | mit | tfreitasleal/MvvmFx,MvvmFx/MvvmFx |
839c1c772ec9a52ca7dfa4ce201f98bae16274b6 | source/CsQuery/Implementation/TrueStringComparer.cs | source/CsQuery/Implementation/TrueStringComparer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsQuery.Implementation
{
public class TrueStringComparer : IComparer<string>, IEqualityComparer<string>
{
public int Compare(string x, string y)
{
int pos =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsQuery.Implementation
{
public class TrueStringComparer : IComparer<string>, IEqualityComparer<string>
{
public int Compare(string x, string y)
{
int pos =... | Use custom string comparer for RangeSortedDictionary | Use custom string comparer for RangeSortedDictionary
| C# | mit | hn5092/CsQuery,rucila/CsQuery,prepare/CsQuery,modulexcite/CsQuery,prepare/CsQuery,rucila/CsQuery,modulexcite/CsQuery,rucila/CsQuery,hn5092/CsQuery,joelverhagen/CsQuery,hn5092/CsQuery,jamietre/CsQuery,prepare/DomQuery,prepare/DomQuery,jamietre/CsQuery,azraelrabbit/CsQuery,jamietre/CsQuery,joelverhagen/CsQuery,prepare/Do... |
e9e4a06d68ef7a6ef10f630fc2eb5441cfffb65f | src/Sakuno.Base/Collections/EnumerableExtensions.cs | src/Sakuno.Base/Collections/EnumerableExtensions.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace Sakuno.Collections
{
[EditorBrowsable(EditorBrowsableState.Never)]
public static class EnumerableExtensions
{
public static bool AnyNull<T>(this IEnumerable<T> source) where T : class
{
... | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
namespace Sakuno.Collections
{
[EditorBrowsable(EditorBrowsableState.Never)]
public static class EnumerableExtensions
{
public static bool AnyNull<T>(this IEnumerable<T> source) where T : class
{
... | Add field names in returned tuple of EnumerateItemAndIfIsLast() | Add field names in returned tuple of EnumerateItemAndIfIsLast()
| C# | mit | KodamaSakuno/Sakuno.Base |
178509c71a4de86b273ea78944b7fe99813d67d3 | Code/OpenRealEstate.Services/ITransmorgrifier.cs | Code/OpenRealEstate.Services/ITransmorgrifier.cs | namespace OpenRealEstate.Services
{
public interface ITransmorgrifier
{
/// <summary>
/// Converts some given data into a listing instance.
/// </summary>
/// <param name="data">some data source, like Xml data or json data.</param>
/// <param name="isClearAllIsMo... | namespace OpenRealEstate.Services
{
public interface ITransmorgrifier
{
/// <summary>
/// Converts some given data into a listing instance.
/// </summary>
/// <param name="data">some data source, like Xml data or json data.</param>
/// <param name="areBadCharacte... | Correct ordering of method arguments. | Correct ordering of method arguments.
| C# | mit | OpenRealEstate/OpenRealEstate.NET,FeodorFitsner/OpenRealEstate.NET,OpenRealEstate/OpenRealEstate.NET,FeodorFitsner/OpenRealEstate.NET |
c6464b4194f1fa141fc9563ac65b8a18342d2691 | src/Core2D.Avalonia/MainWindow.xaml.cs | src/Core2D.Avalonia/MainWindow.xaml.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.Avalonia
{
public class MainWindow : Window
{
public MainWin... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.Avalonia
{
public class MainWindow : Window
{
public MainWin... | Enable only in debug mode | Enable only in debug mode
| C# | mit | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D |
cb81928fee1c77867d611972d36902249ff91f1b | Scripts/GameApi/Attributes/SyncFieldAttribute.cs | Scripts/GameApi/Attributes/SyncFieldAttribute.cs | using LiteNetLib;
using System;
namespace LiteNetLibManager
{
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class SyncFieldAttribute : Attribute
{
/// <summary>
/// Sending method type
/// </summary>
public DeliveryMethod deliveryM... | using LiteNetLib;
using System;
namespace LiteNetLibManager
{
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class SyncFieldAttribute : Attribute
{
/// <summary>
/// Sending method type
/// </summary>
public DeliveryMethod deliveryM... | Set default values to sync field attribute | Set default values to sync field attribute
| C# | mit | insthync/LiteNetLibManager,insthync/LiteNetLibManager |
3f185a44defeabc22d662e0938553cf594230098 | osu.Game/Migrations/20181007180454_StandardizePaths.cs | osu.Game/Migrations/20181007180454_StandardizePaths.cs | using System;
using Microsoft.EntityFrameworkCore.Migrations;
using System.IO;
namespace osu.Game.Migrations
{
public partial class StandardizePaths : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
string sanitized = Path.DirectorySeparatorChar.ToString... | using System;
using Microsoft.EntityFrameworkCore.Migrations;
using System.IO;
namespace osu.Game.Migrations
{
public partial class StandardizePaths : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
string windowsStyle = @"\";
string standard... | Fix Windows-style path separators not being migrated on Unix systems | Fix Windows-style path separators not being migrated on Unix systems
| C# | mit | smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,ZLima12/osu,DrabWeb/osu,2yangk23/osu,naoey/osu,peppy/osu,DrabWeb/osu,2yangk23/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/o... |
3ebd2c9c9259a77b18b15ce04b23563b5a0d59b1 | src/Narvalo.Fx/Applicative/Qullable.cs | src/Narvalo.Fx/Applicative/Qullable.cs | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
using Narvalo;
// Query Expression Pattern for nullables.
public static class Qullable
{
public static TResult? Select<TSource, TR... | // Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Applicative
{
using System;
using Narvalo;
// Query Expression Pattern for nullables.
public static class Qullable
{
public static TResult? Select<TSource, TR... | Add one overload for Nullable<T>.SelectMany. | Add one overload for Nullable<T>.SelectMany.
| C# | bsd-2-clause | chtoucas/Narvalo.NET,chtoucas/Narvalo.NET |
7fa1ccef47304f92fcf86a84c5d29df3e7472b1f | src/Engine/MvcTurbine/ComponentModel/CommonAssemblyFilter.cs | src/Engine/MvcTurbine/ComponentModel/CommonAssemblyFilter.cs | namespace MvcTurbine.ComponentModel {
using System;
/// <summary>
/// Defines common assemblies to filter. These assemblies are:
/// System, mscorlib, Microsoft, WebDev, CppCodeProvider).
/// </summary>
[Serializable]
public class CommonAssemblyFilter : AssemblyFilter {
... | namespace MvcTurbine.ComponentModel {
using System;
/// <summary>
/// Defines common assemblies to filter. These assemblies are:
/// System, mscorlib, Microsoft, WebDev, CppCodeProvider).
/// </summary>
[Serializable]
public class CommonAssemblyFilter : AssemblyFilter {
... | Add a comma to the MvcTurbine filters, which will prevent MvcTurbine from being included but not block out MvcTurbine.*. | Add a comma to the MvcTurbine filters, which will prevent MvcTurbine from being included but not block out MvcTurbine.*.
| C# | apache-2.0 | lozanotek/mvcturbine,lozanotek/mvcturbine |
f1d892b8c2d8d5ad2e54024728fa1f06f349d533 | src/Hyde/Table/Memory/DynamicMemoryQuery.cs | src/Hyde/Table/Memory/DynamicMemoryQuery.cs | using System.Collections.Generic;
using TechSmith.Hyde.Table.Azure;
namespace TechSmith.Hyde.Table.Memory
{
internal class DynamicMemoryQuery : AbstractMemoryQuery<dynamic>
{
public DynamicMemoryQuery( IEnumerable<GenericTableEntity> entities )
: base( entities )
{
}
private Dy... | using System.Collections;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using TechSmith.Hyde.Table.Azure;
namespace TechSmith.Hyde.Table.Memory
{
internal class DynamicMemoryQuery : AbstractMemoryQuery<dynamic>
{
public DynamicMemoryQuery( IEnumerable<GenericTableEntity> entit... | Fix issue with null values returned by Memory provider | Fix issue with null values returned by Memory provider
| C# | bsd-3-clause | dontjee/hyde |
e2282e30e5349b7b277977e3aa12a5f2d0cc4727 | OptionsDisplay/HearthWindow.cs | OptionsDisplay/HearthWindow.cs | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
public HearthWind... | using Hearthstone_Deck_Tracker;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
namespace OptionsDisplay
{
class HearthWindow : InfoWindow
{
private HearthstoneTextBlock info;
public HearthWind... | Add trivial history programming to overlay window to clear each turn | Add trivial history programming to overlay window to clear each turn
| C# | agpl-3.0 | theAprel/OptionsDisplay |
320634f42a8402967cb688104e4209df0ead1032 | src/NetIRC/Messages/PingMessage.cs | src/NetIRC/Messages/PingMessage.cs | namespace NetIRC.Messages
{
public class PingMessage : IRCMessage, IServerMessage
{
public string Target { get; }
public PingMessage(ParsedIRCMessage parsedMessage)
{
Target = parsedMessage.Trailing ?? parsedMessage.Parameters[0];
}
}
}
| namespace NetIRC.Messages
{
public class PingMessage : IRCMessage, IServerMessage
{
public string Target { get; }
public PingMessage(ParsedIRCMessage parsedMessage)
{
Target = parsedMessage.Trailing;
}
}
}
| Remove unnecessary null coalescing operator | Remove unnecessary null coalescing operator
| C# | mit | Fredi/NetIRC |
1f4c17b8f856a1d010fd2e45345d199c51dfba14 | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | osu.Game/Screens/Play/ScreenSuspensionHandler.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Diagnostics;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using os... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Platform;
nam... | Apply changes to AllowScreenSuspension bindable | Apply changes to AllowScreenSuspension bindable
| C# | mit | UselessToucan/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu |
a5e9189f8a0234f082c65abfbc30e4ff04970e78 | FalconHelper.cs | FalconHelper.cs | using System;
namespace FalconUDP
{
internal static class FalconHelper
{
internal static unsafe void WriteFalconHeader(byte[] dstBuffer,
int dstIndex,
PacketType type,
SendOptions opts,
ushort seq,
ushort payloadSize)
{
... | using System;
namespace FalconUDP
{
internal static class FalconHelper
{
internal static unsafe void WriteFalconHeader(byte[] dstBuffer,
int dstIndex,
PacketType type,
SendOptions opts,
ushort seq,
ushort payloadSize)
{
... | Use float instead of int | Use float instead of int
| C# | mit | markmnl/FalconUDP |
46ce5cabbcbb1346d48588972a1bb35dc9d43758 | cslalightcs/Csla/Security/MembershipIdentity.partial.cs | cslalightcs/Csla/Security/MembershipIdentity.partial.cs | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.DataPortalClient;
using Csla.Silverlight;
using Csla.Core;
namespace Csla.Security
{
public abstract partial class Membe... | using System;
using System.Security.Principal;
using Csla.Serialization;
using System.Collections.Generic;
using Csla.Core.FieldManager;
using System.Runtime.Serialization;
using Csla.DataPortalClient;
using Csla.Silverlight;
using Csla.Core;
namespace Csla.Security
{
public partial class MembershipIden... | Change MembershipIdentity so it is not an abstract class. bugid: 153 | Change MembershipIdentity so it is not an abstract class.
bugid: 153
| C# | mit | rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,JasonBock/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,ronnymgm/csla-light,BrettJaner/csla,BrettJaner/csla |
26f8ab75a7a3d8a9b2dbc7f0efed1fe97ade1b0d | src/Stripe.net/Constants/FilePurpose.cs | src/Stripe.net/Constants/FilePurpose.cs | namespace Stripe
{
public static class FilePurpose
{
public const string AdditionalVerification = "additional_verification";
public const string BusinessIcon = "business_icon";
public const string BusinessLogo = "business_logo";
public const string CustomerSignature = "custome... | namespace Stripe
{
public static class FilePurpose
{
public const string AccountRequirement = "account_requirement";
public const string AdditionalVerification = "additional_verification";
public const string BusinessIcon = "business_icon";
public const string BusinessLogo = "... | Add missing enums for File purpose | Add missing enums for File purpose
| C# | apache-2.0 | stripe/stripe-dotnet |
597b74c73ce6456a3f95883e3da1c082605a1ae5 | Assets/Scripts/UI/ChangeOrderInLayer.cs | Assets/Scripts/UI/ChangeOrderInLayer.cs | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ChangeOrderInLayer : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private Renderer _renderer;
[SerializeField]
private int orderInLayer;
#pragma warning restore 0649
void Start()
{
if (_renderer ... | using UnityEngine;
using System.Collections;
[ExecuteInEditMode]
public class ChangeOrderInLayer : MonoBehaviour
{
[SerializeField]
private Renderer _renderer;
[SerializeField]
private int orderInLayer;
[SerializeField]
private string sortingLayer = "Default";
[SerializeField]
private ... | Add disableOnPlay option to changeOrderInLayer | Add disableOnPlay option to changeOrderInLayer
| C# | mit | NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare |
c707c7a4f6216c46518e5079658438e13fda9e02 | Bearded.Utilities.Testing/Core/MaybeAssertions.cs | Bearded.Utilities.Testing/Core/MaybeAssertions.cs | using FluentAssertions;
using FluentAssertions.Execution;
namespace Bearded.Utilities.Testing
{
public sealed class MaybeAssertions<T>
{
private readonly Maybe<T> subject;
public MaybeAssertions(Maybe<T> instance) => subject = instance;
[CustomAssertion]
public void Be... | using FluentAssertions;
using FluentAssertions.Execution;
namespace Bearded.Utilities.Testing
{
public sealed class MaybeAssertions<T>
{
private readonly Maybe<T> subject;
public MaybeAssertions(Maybe<T> instance) => subject = instance;
[CustomAssertion]
public void Be... | Use Be instead of BeEquivalentTo | :bug: Use Be instead of BeEquivalentTo
| C# | mit | beardgame/utilities |
326a2c05eaf7ed2125642509327165ecb0cb5296 | src/Procon.Setup.Test/Models/CertificateModelTest.cs | src/Procon.Setup.Test/Models/CertificateModelTest.cs | using System.Security.Cryptography.X509Certificates;
using NUnit.Framework;
using Procon.Service.Shared;
using Procon.Setup.Models;
namespace Procon.Setup.Test.Models {
[TestFixture]
public class CertificateModelTest {
/// <summary>
/// Tests a certificate will be generated and can be read by ... | using System.Security.Cryptography.X509Certificates;
using NUnit.Framework;
using Procon.Service.Shared;
using Procon.Setup.Models;
namespace Procon.Setup.Test.Models {
[TestFixture]
public class CertificateModelTest {
/// <summary>
/// Tests a certificate will be generated and can be read by ... | Fix certificate generation not refreshing test | Fix certificate generation not refreshing test
| C# | apache-2.0 | phogue/Potato,phogue/Potato,phogue/Potato |
90a3abb6aa442779090799448a831ffd8ea5c8fc | JsonComparer.Console/Parameters/SplitParameter.cs | JsonComparer.Console/Parameters/SplitParameter.cs | namespace BigEgg.Tools.JsonComparer.Parameters
{
using BigEgg.Tools.ConsoleExtension.Parameters;
[Command("split", "Split the big JSON file to multiple small files.")]
public class SplitParameter
{
[StringProperty("input", "i", "The path of JSON file to split.", Required = true)]
publi... | namespace BigEgg.Tools.JsonComparer.Parameters
{
using BigEgg.Tools.ConsoleExtension.Parameters;
[Command("split", "Split the big JSON file to multiple small files.")]
public class SplitParameter
{
[StringProperty("input", "i", "The path of JSON file to split.", Required = true)]
publi... | Fix the help message of output_pattern | Fix the help message of output_pattern
| C# | mit | BigEggTools/JsonComparer |
fe947c2337990fb639e638e4357afa1654f92ee7 | SpotifyRecorder/Core/SpotifyRecorder.Core.Implementations/Services/ID3TagService.cs | SpotifyRecorder/Core/SpotifyRecorder.Core.Implementations/Services/ID3TagService.cs | using System.IO;
using System.Linq;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Services;
using TagLib;
using TagLib.Id3v2;
using File = TagLib.File;
namespace SpotifyRecorder.Core.Implementations.Services
{
public class ID3TagService : IID3TagService
{
pu... | using System.IO;
using System.Linq;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Services;
using TagLib;
using TagLib.Id3v2;
using File = TagLib.File;
namespace SpotifyRecorder.Core.Implementations.Services
{
public class ID3TagService : IID3TagService
{
pu... | Improve how much space we reserve for tag changes | Improve how much space we reserve for tag changes
| C# | mit | haefele/SpotifyRecorder |
5449ef951e2bad06a80aa15a492fdfcbceb28bc6 | src/Autofac/ResolveRequest.cs | src/Autofac/ResolveRequest.cs | using System.Collections.Generic;
using Autofac.Core;
namespace Autofac
{
/// <summary>
/// The details of an individual request to resolve a service.
/// </summary>
public class ResolveRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="ResolveRequest"/> class... | using System.Collections.Generic;
using Autofac.Core;
namespace Autofac
{
/// <summary>
/// The details of an individual request to resolve a service.
/// </summary>
public class ResolveRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="ResolveRequest"/> class... | Remove extra char that sneaked onto XML comment | Remove extra char that sneaked onto XML comment
| C# | mit | autofac/Autofac |
c101d629be13cc47a81b9d5776254cb140a6f812 | CefSharp/InternalWebBrowserExtensions.cs | CefSharp/InternalWebBrowserExtensions.cs | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using CefSharp.Internals;
namespace CefSharp
{
internal static class InternalWebBrowserExtensions
{
internal static void SetHandl... | // Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using CefSharp.Internals;
namespace CefSharp
{
internal static class InternalWebBrowserExtensions
{
internal static void SetHandl... | Set RenderProcessMessageHandler and LoadHandler to null on Dispose Reoder so they match the order in IWebBrowser so they're easier to compare | Set RenderProcessMessageHandler and LoadHandler to null on Dispose
Reoder so they match the order in IWebBrowser so they're easier to compare
| C# | bsd-3-clause | jamespearce2006/CefSharp,jamespearce2006/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,dga711/CefSharp,dga711/CefSharp,VioletLife/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,Livit/CefSharp,VioletLife/CefSharp,Livit/CefSharp,VioletLife/CefSharp,w... |
0850b533d8d4016b7200f84c491d5cfb407c5106 | Src/Support/CommonAssemblyInfo.cs | Src/Support/CommonAssemblyInfo.cs | /*
Copyright 2015 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 writing, software
dist... | /*
Copyright 2015 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 writing, software
dist... | Fix revision number of support libraries to 0 | Fix revision number of support libraries to 0
Otherwise the libraries built from the Net45 and Portable projects
end up with different versions and strongnames.
| C# | apache-2.0 | jskeet/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,chrisdunelm/google-api-dotnet-client,ivannaranjo/google-api-dotnet-client,jskeet/google-api-dotnet-client,Duikmeester/google-api-dotnet-clie... |
7b7c631244de8430b92a31bb2ece3439e041a08d | Website/Infrastructure/Lucene/PerFieldAnalyzer.cs | Website/Infrastructure/Lucene/PerFieldAnalyzer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
namespace NuGetGallery
{
public class PerFieldAnalyzer : PerFieldAnalyzerWrapper
{
public PerFieldAnalyzer()
: base(new StandardAnalyzer... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
namespace NuGetGallery
{
public class PerFieldAnalyzer : PerFieldAnalyzerWrapper
{
public PerFieldAnalyzer()
: base(new StandardAnalyzer... | Stop filtering out stop words in package ids and titles. | Stop filtering out stop words in package ids and titles.
| C# | apache-2.0 | KuduApps/NuGetGallery,KuduApps/NuGetGallery,KuduApps/NuGetGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.