commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
f392a78c76f3756aea765f708eeaa6b33ed4ddfc
Make instruments prediction-safe.
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14
Content.Client/GameObjects/EntitySystems/InstrumentSystem.cs
Content.Client/GameObjects/EntitySystems/InstrumentSystem.cs
using Content.Client.GameObjects.Components.Instruments; using JetBrains.Annotations; using Robust.Shared.GameObjects; using Robust.Shared.GameObjects.Systems; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; namespace Content.Client.GameObjects.EntitySystems { [UsedImplicitly] public class Inst...
using Content.Client.GameObjects.Components.Instruments; using Robust.Shared.GameObjects; using Robust.Shared.GameObjects.Systems; namespace Content.Client.GameObjects.EntitySystems { public class InstrumentSystem : EntitySystem { public override void Initialize() { base.Initialize(...
mit
C#
d4c2820a9b78e42dbd1dc4c335c8f50bb80c946f
add description to testframework
Brightspace/D2L.Security.OAuth2
D2L.Security.OAuth2.TestFramework/Properties/AssemblyInfo.cs
D2L.Security.OAuth2.TestFramework/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: AssemblyTi...
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: AssemblyTi...
apache-2.0
C#
ed1b45e3bc1cd5932cf58fb4ed651f6ab556f5d3
Refactor Example to use unity driver
thefuntastic/Unity3d-Finite-State-Machine,thefuntastic/Unity3d-Finite-State-Machine
example_project/Assets/Scripts/Main.cs
example_project/Assets/Scripts/Main.cs
using UnityEngine; using System.Collections; using MonsterLove.StateMachine; public class Main : MonoBehaviour { //Declare which states we'd like use public enum States { Init, Countdown, Play, Win, Lose } public float health = 100; public float damage = 20; private float startHealth; private Stat...
using UnityEngine; using System.Collections; using MonsterLove.StateMachine; public class Main : MonoBehaviour { //Declare which states we'd like use public enum States { Init, Countdown, Play, Win, Lose } public float health = 100; public float damage = 20; private float startHealth; private Stat...
mit
C#
dafbc176bd57f905938a916eef7338d6464c91a6
remove todos only
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Authorization/AuthorizationContextProvider.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web/Authorization/AuthorizationContextProvider.cs
using System; using System.Collections.Specialized; using System.Web; using System.Web.Routing; using SFA.DAS.Authorization; using SFA.DAS.Authorization.ProviderPermissions; using SFA.DAS.NLog.Logger; using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services; using SFA.DAS.ProviderApprenticeshipsService.Web....
using System; using System.Collections.Specialized; using System.Web; using System.Web.Routing; using SFA.DAS.Authorization; using SFA.DAS.Authorization.ProviderPermissions; using SFA.DAS.NLog.Logger; using SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services; using SFA.DAS.ProviderApprenticeshipsService.Web....
mit
C#
f58adf202f2e37ad3c38b668a7305388b36a35fc
Add PlacementMode Center in Popup.
MrDaedra/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,susloparovdenis/Avalonia,grokys/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,akrisiun/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Pers...
src/Perspex.Controls/PlacementMode.cs
src/Perspex.Controls/PlacementMode.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Perspex.Controls.Primitives; namespace Perspex.Controls { /// <summary> /// Defines the placement for a <see cref="Popup"/> control. //...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using Perspex.Controls.Primitives; namespace Perspex.Controls { /// <summary> /// Defines the placement for a <see cref="Popup"/> control. //...
mit
C#
ba132d677e4b9f1b0612cdf6137949f1eac9b973
Remove unused using.
jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddin...
binder/Generators/Template.cs
binder/Generators/Template.cs
using CppSharp; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public abstract class Template : BlockGenerator { public BindingContext Context { get; private set; } public Options Options { get; private set; } protected Template(BindingContext context...
using IKVM.Reflection; using CppSharp; using CppSharp.Generators; namespace MonoEmbeddinator4000.Generators { public abstract class Template : BlockGenerator { public BindingContext Context { get; private set; } public Options Options { get; private set; } protected Templat...
mit
C#
0962379b926cd6bb1d9f2c4ec88b28e76d2433e4
Move GetProjectInstance to the task
clariuslabs/TransformOnBuild
Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs
Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Build.Execution; namespace Clarius.TransformOnBuild.MSBuild.Task { public class TransformOnBuildTask : Microsoft.Build.Utilities.Task { private ProjectInstance _projectInstance; ...
using System; namespace Clarius.TransformOnBuild.MSBuild.Task { public class TransformOnBuildTask : Microsoft.Build.Utilities.Task { public override bool Execute() { throw new NotImplementedException(); } } }
apache-2.0
C#
97e04a53b4221cc8dea0918c495335c60623458d
Update AddingLineControl.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as...
Examples/CSharp/DrawingObjects/Controls/AddingLineControl.cs
Examples/CSharp/DrawingObjects/Controls/AddingLineControl.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingLineControl { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string da...
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingLineControl { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Exa...
mit
C#
3f35c345442844c93fdf292fe65d3f305bb8d226
Change using statement order
agc93/Cake.VisualStudio,agc93/Cake.VisualStudio
template/ModuleTemplate/ReverseLog.cs
template/ModuleTemplate/ReverseLog.cs
using System.Linq; using Cake.Core; using Cake.Core.Diagnostics; namespace $safeprojectname$ { public sealed class ReverseLog : ICakeLog { private readonly IConsole _console; public Verbosity Verbosity { get; set; } public ReverseLog(IConsole console) { _console = ...
using Cake.Core; using Cake.Core.Diagnostics; using System.Linq; namespace $safeprojectname$ { public sealed class ReverseLog : ICakeLog { private readonly IConsole _console; public Verbosity Verbosity { get; set; } public ReverseLog(IConsole console) { _console = ...
mit
C#
8227f6f3c01b71753c9bc5946aad15480cdd62ca
Make the sample actually test the issue
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Samples.Common/ViewModels/ControlSamples/CheckBox/CheckedItemsRepeaterViewModel.cs
src/DotVVM.Samples.Common/ViewModels/ControlSamples/CheckBox/CheckedItemsRepeaterViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.CheckBox { public class CheckedItemsRepeaterViewModel { public Outer Data { get; set; } = new Outer(); public cla...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotVVM.Samples.BasicSamples.ViewModels.ControlSamples.CheckBox { public class CheckedItemsRepeaterViewModel { public Outer Data { get; set; } public class Outer ...
apache-2.0
C#
48c189f52f6bf1c5467d82c19df07018ca23e3cc
add missing tests for Base58Alphabet
ssg/SimpleBase,ssg/SimpleBase32,ssg/SimpleBase
test/Base58/Base58AlphabetTest.cs
test/Base58/Base58AlphabetTest.cs
/* Copyright 2014-2016 Sedat Kapanoglu 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 agre...
/* Copyright 2014-2016 Sedat Kapanoglu 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 agre...
apache-2.0
C#
5692e69cd590274fcc5f5080f5a220a9b06fb273
Add endpoint for getting log files
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/AdminController.cs
Battery-Commander.Web/Controllers/AdminController.cs
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { [Authorize, ApiExplorerSettings(IgnoreApi = true)] public class AdminController : Controller { // Ad...
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { [Authorize, ApiExplorerSettings(IgnoreApi = true)] public class AdminController : Controller { // Admin Tasks: ...
mit
C#
0604eadc1446d2e2fd4bcde67e812f5652c09406
Edit service collection extension
NicatorBa/Porthor
src/Porthor/PorthorServiceCollectionExtension.cs
src/Porthor/PorthorServiceCollectionExtension.cs
using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection.Extensions; using Porthor; using System; namespace Microsoft.Extensions.DependencyInjection { public static class PorthorServiceCollectionExtension { public static void AddPorth...
using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; namespace Porthor { public static class PorthorServiceCollectionExtension { public static IServiceColle...
apache-2.0
C#
3be045c9b0b25f23e662c6ddb50f8e8bc6e0f559
Update shape names
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/ViewModels/Containers/ProjectContainerViewModelExtensions.cs
src/Core2D/ViewModels/Containers/ProjectContainerViewModelExtensions.cs
using System.Collections.Generic; using System.Linq; using Core2D.ViewModels.Shapes; namespace Core2D.ViewModels.Containers { public static class ProjectContainerViewModelExtensions { public static IEnumerable<T> GetAllShapes<T>(this ProjectContainerViewModel project) { var shapes ...
using System.Collections.Generic; using System.Linq; using Core2D.ViewModels.Shapes; namespace Core2D.ViewModels.Containers { public static class ProjectContainerViewModelExtensions { public static IEnumerable<T> GetAllShapes<T>(this ProjectContainerViewModel project) { var shapes ...
mit
C#
6f724eb352c452c050bc8d58b884a5e8d91f3e67
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> @*<h2 style="color: blue">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</h2>*@ <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Science...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> @*<h2 style="color: blue">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</h2>*@ <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Science...
mit
C#
d66a87e7d83ab27a35eb136b9c3fe58b2feea442
add FunctionNotFoundException class
maul-esel/CobaltAHK,maul-esel/CobaltAHK
CobaltAHK/ExpressionTree/Scope.cs
CobaltAHK/ExpressionTree/Scope.cs
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace CobaltAHK.ExpressionTree { public class Scope { public Scope() : this(null) { } public Scope(Scope parentScope) { parent = parentScope; #if DEBUG var param = Expression.Parameter(typeof(string), "str"); var msgbox ...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace CobaltAHK.ExpressionTree { public class Scope { public Scope() : this(null) { } public Scope(Scope parentScope) { parent = parentScope; #if DEBUG var param = Expression.Parameter(typeof(string), "str"); var msgbox ...
mit
C#
c6dc303854e8e6c6849b0ff50653ab07af29204f
Implement CrossCuttingProxy class (incomplete)
sakapon/Samples-2017
ProxySample/CrossCuttingConsole/CrossCuttingProxy.cs
ProxySample/CrossCuttingConsole/CrossCuttingProxy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting; using System.Runtime.Remoting.Activation; using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting.Proxies; namespace CrossCuttingConsole { public class CrossCuttingProxy : RealProxy { ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Runtime.Remoting.Proxies; namespace CrossCuttingConsole { public class CrossCuttingProxy : RealProxy { public static T CreateProxy<T>() where T : MarshalByRefObject, new()...
mit
C#
ff8a4f8469aa367e36c7f9182262e05454202df5
Add for loop
jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples
logging/add-git-id/Controllers/LoggingSampleController.cs
logging/add-git-id/Controllers/LoggingSampleController.cs
/* * Copyright (c) 2017 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...
/* * Copyright (c) 2017 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...
apache-2.0
C#
3752f516257e193da184ede1dab840ef067792ab
Make Searchers endpoint return ActionResult (#13068)
abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-...
src/Umbraco.Cms.ManagementApi/Controllers/ExamineManagement/SearchersExamineManagementController.cs
src/Umbraco.Cms.ManagementApi/Controllers/ExamineManagement/SearchersExamineManagementController.cs
using Examine; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Umbraco.Cms.Infrastructure.Examine; using Umbraco.Cms.ManagementApi.ViewModels.ExamineManagement; using Umbraco.Cms.ManagementApi.ViewModels.Pagination; using Umbraco.Extensions; namespace Umbraco.Cms.ManagementApi.Controllers.Exami...
using Examine; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Umbraco.Cms.Infrastructure.Examine; using Umbraco.Cms.ManagementApi.ViewModels.ExamineManagement; using Umbraco.Cms.ManagementApi.ViewModels.Pagination; using Umbraco.Extensions; namespace Umbraco.Cms.ManagementApi.Controllers.Exami...
mit
C#
f39770e58a03006bf131dd5216d88d41e3eafb5b
print window name
shinji-yoshida/Ebis
Assets/Plugins/Ebis/WindowSpace.cs
Assets/Plugins/Ebis/WindowSpace.cs
using System; using UnityEngine; using UniPromise; using UniRx; using Lockables; namespace Ebis { public abstract class WindowSpace : ILockable { Transform windowContainer; protected CompositeLockable windowSpaceLockables; public WindowSpace (Transform windowContainer) { this.windowContainer = windowCont...
using System; using UnityEngine; using UniPromise; using UniRx; using Lockables; namespace Ebis { public abstract class WindowSpace : ILockable { Transform windowContainer; protected CompositeLockable windowSpaceLockables; public WindowSpace (Transform windowContainer) { this.windowContainer = windowCont...
mit
C#
16aeecbe6a60ba217b28fe9900c7b05698165d36
Add XML doc comments on IOAuth2Client
viagogo/gogokit.net
src/GogoKit/Clients/IOAuth2Client.cs
src/GogoKit/Clients/IOAuth2Client.cs
using System.Collections.Generic; using System.Threading.Tasks; using GogoKit.Models.Response; namespace GogoKit.Clients { /// <summary> /// Provides methods used in OAuth authentication. /// </summary> /// <remarks>See http://developer.viagogo.net/#authentication</remarks> public interface IOAuth...
using System.Collections.Generic; using System.Threading.Tasks; using GogoKit.Models.Response; namespace GogoKit.Clients { public interface IOAuth2Client { Task<OAuth2Token> GetAccessTokenAsync(string grantType, IEnumerable<string> scopes, ...
mit
C#
99b6317725def37d902e86f55a213417e1af5b01
Update MainActivity.cs
jamesmontemagno/Hanselman.Forms,jamesmontemagno/Hanselman.Forms,slombardo/Hanselman.Forms,bbqchickenrobot/Hanselman.Forms,Xerosigma/Hanselman.Forms,jamesmontemagno/Hanselman.Forms
Hanselman.Android/MainActivity.cs
Hanselman.Android/MainActivity.cs
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms.Platform.Android; using Xamarin.Forms; using Android.Content.PM; using Hanselman.Portable; using Android.Graphics.Drawables; using ImageCircle.Forms.Plugin.Dr...
using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.Forms.Platform.Android; using Xamarin.Forms; using Android.Content.PM; using Hanselman.Portable; using Android.Graphics.Drawables; using ImageCircle.Forms.Plugin.Dr...
mit
C#
a132708971d347e82db76443257ec0334ed50e38
Set login screen as main
OrganizeSanayi/HospitalAutomation
HospitalAutomation.GUI/Program.cs
HospitalAutomation.GUI/Program.cs
using System; using System.Windows.Forms; namespace HospitalAutomation.GUI { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
using System; using System.Windows.Forms; namespace HospitalAutomation.GUI { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); ...
apache-2.0
C#
e15b907e68446689f14f4230521be68b30d571e2
Fix for stub where didn't care about ukprn
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Infrastructure/Services/StubProviderRelationshipsClient.cs
src/SFA.DAS.ProviderApprenticeshipsService.Infrastructure/Services/StubProviderRelationshipsClient.cs
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using SFA.DAS.ProviderRelationships.Api.Client; using SFA.DAS.ProviderRelationships.Types.Dtos; namespace SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services { public class StubProviderRelationshi...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using SFA.DAS.ProviderRelationships.Api.Client; using SFA.DAS.ProviderRelationships.Types.Dtos; namespace SFA.DAS.ProviderApprenticeshipsService.Infrastructure.Services { public class StubProviderRelationshi...
mit
C#
c49abee11aaf0cc41931971049bb6f89f5202573
Consolidate logic for FindOrCreateBoard(..)
ballance/jsmate,ballance/jsmate,ballance/jsmate,ballance/jsmate
JsMate.Api/Modules/BoardModule.cs
JsMate.Api/Modules/BoardModule.cs
using System; using System.Runtime.InteropServices; using JsMate.Service.Models; using LiteDB; using Nancy; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace JsMate.Api { public class BoardModule : NancyModule { public BoardModule() { // Default Board G...
using System; using System.Runtime.InteropServices; using JsMate.Service.Models; using LiteDB; using Nancy; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace JsMate.Api { public class BoardModule : NancyModule { public BoardModule() { // Default Board G...
mit
C#
0faaaf746292b54585808bc4fefb1e2cec75e39e
Fix tabs/spaces in Global.asax.cs
msarchet/Bundler,msarchet/Bundler
BundlerTestSite/Global.asax.cs
BundlerTestSite/Global.asax.cs
using BundlerMiddleware; using System; using System.Web.Optimization; namespace BundlerTestSite { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { BundleTable.Bundles.Add(new ScriptBundle("~/bundles/script").IncludeDi...
using BundlerMiddleware; using System; using System.Web.Optimization; namespace BundlerTestSite { public class Global : System.Web.HttpApplication { protected void Application_Start(object sender, EventArgs e) { BundleTable.Bundles.Add(new ScriptBundle("~/bundles/script").IncludeDi...
mit
C#
b4e81f33d74677fcacce72e5c994ed054856c92f
Fix bug introduced with commit about screen scale
molinch/FFImageLoading,kalarepa/FFImageLoading,petlack/FFImageLoading,daniel-luberda/FFImageLoading,luberda-molinet/FFImageLoading,AndreiMisiukevich/FFImageLoading
source/FFImageLoading.Touch/Extensions/UnitsExtensions.cs
source/FFImageLoading.Touch/Extensions/UnitsExtensions.cs
using System; using UIKit; namespace FFImageLoading.Extensions { public static class UnitsExtensions { private static nfloat _screenScale; static UnitsExtensions() { UIScreen.MainScreen.InvokeOnMainThread(() => { _screenScale = UIScreen.MainScreen.Scale; }); } public static int PointsToP...
using System; using UIKit; namespace FFImageLoading.Extensions { public static class UnitsExtensions { private static nfloat _screenScale; static UnitsExtensions() { UIScreen.MainScreen.InvokeOnMainThread(() => { _screenScale = _screenScale; }); } public static int PointsToPixels(this do...
mit
C#
38fcc9d36d74230c11b9b01e28db531363496f0d
fix incorrect flag value
pimterry/chutzpah,stogle/chutzpah,jamestelfer/chutzpah,mmanela/chutzpah,mmanela/chutzpah,johnm25/chutzpah,NikitaEgorov/chutzpah,pimterry/chutzpah,NikitaEgorov/chutzpah,mmanela/chutzpah,andersnygaard/chutzpah,bobrin/chutzpah,stogle/chutzpah,bobrin/chutzpah,davidroberts63/chutzpah,johnm25/chutzpah,mmanela/chutzpah,jamest...
Chutzpah/Models/TestingMode.cs
Chutzpah/Models/TestingMode.cs
using System; using System.IO; namespace Chutzpah.Models { /// <summary> /// Determines what types of files we are testing /// </summary> [Flags] public enum TestingMode { JavaScript = 1, CoffeeScript = 2, TypeScript = 4, AllExceptHTML = 8, ...
using System; using System.IO; namespace Chutzpah.Models { /// <summary> /// Determines what types of files we are testing /// </summary> [Flags] public enum TestingMode { JavaScript = 1, CoffeeScript = 2, TypeScript = 4, AllExceptHTML = 8, ...
apache-2.0
C#
4b6f23537e1ce7704859bbd23be8fa7ae54b9378
Add default handlers for built in holdables
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
TwitchPlaysAssembly/Src/Commands/HoldableCommands.cs
TwitchPlaysAssembly/Src/Commands/HoldableCommands.cs
using System.Collections; /// <summary>Contains commands for holdables (including the freeplay case and the missions binder).</summary> public static class HoldableCommands { #region Commands [Command("help")] public static bool Help(TwitchHoldable holdable, string user, bool isWhisper) => holdable.PrintHelp(user,...
using System.Collections; /// <summary>Contains commands for holdables (including the freeplay case and the missions binder).</summary> public static class HoldableCommands { #region Commands [Command("help")] public static bool Help(TwitchHoldable holdable, string user, bool isWhisper) => holdable.PrintHelp(user,...
mit
C#
24778709b192383cea8088d282d5507eb386783f
Fix typo in cli help
2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,2gis/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps
Winium/Winium.StoreApps.Driver/CommandLineOptions.cs
Winium/Winium.StoreApps.Driver/CommandLineOptions.cs
namespace Winium.StoreApps.Driver { #region using CommandLine; using CommandLine.Text; #endregion internal class CommandLineOptions { #region Public Properties [Option("log-path", Required = false, HelpText = "write server log to file instead of stdout, increase...
namespace Winium.StoreApps.Driver { #region using CommandLine; using CommandLine.Text; #endregion internal class CommandLineOptions { #region Public Properties [Option("log-path", Required = false, HelpText = "write server log to file instead of stdout, increase...
mpl-2.0
C#
c2c3a87f1b9ea10678ad46f401e358e7bfe76188
Add InspectModule
Auxes/Dogey
Dogey/Modules/InspectModule.cs
Dogey/Modules/InspectModule.cs
using Discord; using Discord.Commands; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Dogey.Modules { public class InspectModule : ModuleBase { public string Inspect<T>(T obj, string property = null) { var type = obj.GetType()...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Dogey.Modules { public class InspectModule { } }
apache-2.0
C#
4c7f6634eef802ae2e8374745932e221c793eae6
Fix dictionary key confilit when deserializing;
jyfcrw/DouyuDanmu.NET
DouyuDanmu.NET/DouyuUtility.cs
DouyuDanmu.NET/DouyuUtility.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DouyuDanmu { public class DouyuUtility { public static string Serialize(Dictionary<string, object> data) { StringBuilder str = new StringBuilder(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DouyuDanmu { public class DouyuUtility { public static string Serialize(Dictionary<string, object> data) { StringBuilder str = new StringBuilder(); ...
mit
C#
07289e780113da8656d18c49c17656bd834fc784
Add PlayerPrefs Value Search Func
sanukin39/unity-player-prefs-editor
Assets/Editor/PlayerPrefsEditor.cs
Assets/Editor/PlayerPrefsEditor.cs
using UnityEditor; using UnityEngine; public class PlayerPrefsEditor : EditorWindow { string stringKey = ""; string intKey = ""; string floatKey = ""; [MenuItem("Tools/PlayerPrefs/DeleteAll")] static void DeleteAll(){ PlayerPrefs.DeleteAll(); Debug.Log("Delete All Data Of PlayerP...
using UnityEditor; using UnityEngine; public class PlayerPrefsEditor { [MenuItem("Tools/PlayerPrefs/DeleteAll")] static void DeleteAll(){ PlayerPrefs.DeleteAll(); Debug.Log("Delete All Data Of PlayerPrefs!!"); } }
mit
C#
ad77350d294a1dd9a9625b7b3530c9cd8dea0828
Fix problem
takuya-takeuchi/Demo,takuya-takeuchi/Demo,takuya-takeuchi/Demo,takuya-takeuchi/Demo,takuya-takeuchi/Demo,takuya-takeuchi/Demo
Image2/Image2/Program.cs
Image2/Image2/Program.cs
using System; using System.Diagnostics; namespace Image2 { class Program { static void Main(string[] args) { float h, s, v; var sw = new Stopwatch(); sw.Start(); for (var r = 0; r <= 255; r++) for (var g = 0; g <= 255; g++) ...
using System; using System.Diagnostics; namespace Image2 { class Program { static void Main(string[] args) { float h, s, v; var sw = new Stopwatch(); sw.Start(); for (var r = 0; r <= 255; r++) for (var g = 0; g <= 255; g++) ...
mit
C#
9858ac9a230da2b1c5e3085d2361340a953d6147
Add Player Boundries
ginja85/pong-unity
Assets/Scripts/PlayerController.cs
Assets/Scripts/PlayerController.cs
using UnityEngine; public class PlayerController : MonoBehaviour { public int PlayerNumber = 1; public float Speed = 30.0f; private Rigidbody2D playerBody; void Start() { playerBody = GetComponent<Rigidbody2D>(); } void FixedUpdate() { var v = Input.GetAxis("Vertica...
using UnityEngine; public class PlayerController : MonoBehaviour { public int PlayerNumber = 1; public float Speed = 30.0f; private Rigidbody2D playerBody; void Start() { playerBody = GetComponent<Rigidbody2D>(); } void FixedUpdate() { float v = Input.GetAxis("Verti...
mit
C#
24425910a2476c23bbbec3041a450080300ca8fa
Make a restriction on GetListOfFiles more clear. #133
LHCAtlas/AtlasSSH
AtlasWorkFlows/Locations/IPlace.cs
AtlasWorkFlows/Locations/IPlace.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtlasWorkFlows.Locations { /// <summary> /// A location where files can be stored and grid datasets can be looked up /// For example: /// - The local disk /// - A r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AtlasWorkFlows.Locations { /// <summary> /// A location where files can be stored and grid datasets can be looked up /// For example: /// - The local disk /// - A r...
mit
C#
828ec2ef35e0020fb7dbea816581c437505a7940
Remove nameof for event name
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/Kestrel/Core/src/Internal/LoggerExtensions.cs
src/Servers/Kestrel/Core/src/Internal/LoggerExtensions.cs
using System; using System.Security.Cryptography.X509Certificates; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Internal { internal static class LoggerExtensions { // Category: DefaultHttpsProvider private static readonly Action<ILogger, string, string, Exce...
using System; using System.Security.Cryptography.X509Certificates; using Microsoft.Extensions.Logging; namespace Microsoft.AspNetCore.Server.Kestrel.Internal { internal static class LoggerExtensions { // Category: DefaultHttpsProvider private static readonly Action<ILogger, string, string, Exce...
apache-2.0
C#
58eed36ced9fe891830c4dbf1994724058bd505f
Fix Replace ``AutoFac`` with ``Simpleinjector`` in method summary.(#537)
paulcbetts/splat
src/Splat.SimpleInjector/SplatSimpleInjectorExtensions.cs
src/Splat.SimpleInjector/SplatSimpleInjectorExtensions.cs
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using SimpleInjector; namespa...
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved. // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for full license information. using SimpleInjector; namespa...
mit
C#
eded1747111cf8120f110d3b24ded20b2ff13717
Add example disable gpu command line args to example
jamespearce2006/CefSharp,gregmartinhtc/CefSharp,gregmartinhtc/CefSharp,yoder/CefSharp,Livit/CefSharp,AJDev77/CefSharp,Livit/CefSharp,wangzheng888520/CefSharp,joshvera/CefSharp,zhangjingpu/CefSharp,ITGlobal/CefSharp,windygu/CefSharp,joshvera/CefSharp,twxstar/CefSharp,battewr/CefSharp,windygu/CefSharp,jamespearce2006/Cef...
CefSharp.Example/CefExample.cs
CefSharp.Example/CefExample.cs
using System; using System.Diagnostics; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; public const string TestResourceUrl = "http://test/resource/load"; public const string TestUni...
using System; using System.Diagnostics; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; public const string TestResourceUrl = "http://test/resource/load"; public const string TestUni...
bsd-3-clause
C#
cc720587e7ae11ecf538ab9570c2c21110f8bdf6
Use correct Lib call in tests.
OSSIndex/audit.net,OSSIndex/audit.net
tests/NugetAuditor.Tests/NugetAuditorLibTests.cs
tests/NugetAuditor.Tests/NugetAuditorLibTests.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using NugetAuditor; namespace NugetAuditor.Tests { [TestClass] public class NugetAuditorLibTests { [TestMethod] public void CanAuditFiles() { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using NugetAuditor; namespace NugetAuditor.Tests { [TestClass] public class NugetAuditorLibTests { [TestMethod] public void CanAuditFiles() { ...
bsd-3-clause
C#
628ff5c1ed749e1b600c9b7fbe0301ec220627d6
Update Search.xaml.cs
AccountBook/AccountBook
AccountBook/AccountBook/Search.xaml.cs
AccountBook/AccountBook/Search.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitiv...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitiv...
mit
C#
2e5e3dc5d62fae20e0e46c910cc0a503de075376
update version number in AssemblyInfo
amido/NAuto
Amido.NAuto/Properties/AssemblyInfo.cs
Amido.NAuto/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("Am...
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("Am...
apache-2.0
C#
3aa77df51ebe1d78935e0e14a8b2e7e0454f08f5
fix function structure
mspjp/201612hackathonyokohama,mspjp/201612hackathonyokohama,mspjp/201612hackathonyokohama
csharp/SampleBot/SampleBot/Controllers/MessagesController.cs
csharp/SampleBot/SampleBot/Controllers/MessagesController.cs
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Description; using Microsoft.Bot.Connector; using Newtonsoft.Json; using System.IO; using System.Web.Http.Results; namespace SampleBot...
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using Microsoft.Bot.Connector; using Newtonsoft.Json; namespace SampleBot { [BotAuthentication] public class MessagesController : ApiController ...
mit
C#
cdb2bda7524082b2aa9b1de11ee377ab0da19053
implement StartClientSpan
mdsol/Medidata.ZipkinTracerModule
Medidata.ZipkinTracerModule.Test/SpanTracerTests.cs
Medidata.ZipkinTracerModule.Test/SpanTracerTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Ploeh.AutoFixture; using Medidata.ZipkinTracerModule.Collector; using Rhino.Mocks; namespace Medidata.ZipkinTracerModule.Test { [TestClass] public class SpanTracerTests { private IFixture fixture; private SpanCollector...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Ploeh.AutoFixture; using Medidata.ZipkinTracerModule.Collector; using Rhino.Mocks; namespace Medidata.ZipkinTracerModule.Test { [TestClass] public class SpanTracerTests { private IFixture fixture; private SpanCollector...
mit
C#
e82ba2c3e261c527744b030913cac3a5249847ec
Replace workaround for symlinked build directories Make the incorrect install more obvious by removing the matching paths to gamedata.
godarklight/DarkMultiPlayer,Sanmilie/DarkMultiPlayer,godarklight/DarkMultiPlayer
Client/Utilities/InstallChecker.cs
Client/Utilities/InstallChecker.cs
using System; using System.IO; using UnityEngine; using System.Reflection; namespace DarkMultiPlayer.Utilities { [KSPAddon(KSPAddon.Startup.Instantly, true)] internal class InstallChecker : MonoBehaviour { private static string currentPath { get { ret...
using System; using System.IO; using UnityEngine; using System.Reflection; namespace DarkMultiPlayer.Utilities { [KSPAddon(KSPAddon.Startup.Instantly, true)] internal class InstallChecker : MonoBehaviour { private static string currentPath { get { ret...
mit
C#
d160dcc48ca51460386d27871ddb32044c560926
Disable roundtrip serialization
mhertis/Orleankka,pkese/Orleankka,OrleansContrib/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka,yevhen/Orleankka,mhertis/Orleankka
Source/Orleankka.TestKit/SerializationExtensions.cs
Source/Orleankka.TestKit/SerializationExtensions.cs
using Orleans.Serialization; namespace Orleankka.TestKit { static class SerializationExtensions { internal static object Roundtrip(this SerializationManager manager, object obj) => obj; } }
using Orleans.Serialization; namespace Orleankka.TestKit { static class SerializationExtensions { internal static object Roundtrip(this SerializationManager manager, object obj) => manager != null ? manager.RoundTripSerializationForTesting(obj) : obj; } }
apache-2.0
C#
e2ee8071b224fc16f19fa7b8790388d7ecaf1973
Remove some empty lines in GameField
TeamLeoTolstoy/Leo
Game/StopTheBunny/GameField.cs
Game/StopTheBunny/GameField.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StopTheBunny { public class GameField { private char[,] field; public GameField(int rows, int cols) { this.Field = new char[rows, cols]; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StopTheBunny { public class GameField { private char[,] field; public GameField(int rows, int cols) { this.Field = new char[rows, cols]; } ...
mit
C#
49fb274207b42e2fa0f09262f717f5dd9998e2e8
Remove SupportsShouldProcess as Cmdlet does not change anything on the Server Side.
ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,zhencui/azure-powershell,hungmai-msft/azure-powershell,alfantp/azure-powershell,krkhan/azure-powershell,seanbamsft/azure-powershell,rohmano/azure-powershell,atpham256/azure-powershell,ClogenyTechnologies/azure...
src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs
src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands/NewAzureApiManagementVirtualNetwork.cs
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
apache-2.0
C#
0300eb7128e32c0beda2ff408177ab282230fb4f
Remove class level variable
kchen0723/ExcelAsync
ExcelWvvm/WinGoogleHistory.xaml.cs
ExcelWvvm/WinGoogleHistory.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; ...
agpl-3.0
C#
d5c75a383c871e323fff2abc25ca43ec4404b467
Add .net core framework
syedhassaanahmed/aspnet-core-crud-demo,syedhassaanahmed/aspnet-core-crud-demo,syedhassaanahmed/aspnet-core-crud-demo
build.cake
build.cake
#tool "nuget:?package=GitVersion.CommandLine" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var framework = Argument("framework", "netcoreapp1.1"); var outputDir = "./artifacts/"; var artifactName = "artifact.zip"; var projectPath = "./AspNetCore.CrudDemo"; var ...
#tool "nuget:?package=GitVersion.CommandLine" var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var outputDir = "./artifacts/"; var artifactName = "artifact.zip"; var projectPath = "./AspNetCore.CrudDemo"; var projectJsonPath = projectPath + "/project.json"; Task("...
mit
C#
c0eabc39e37d4d8a7765593dc02604db1cfdb001
Fix xform sample
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/ClaimsTransformation/ClaimsTransformer.cs
samples/ClaimsTransformation/ClaimsTransformer.cs
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; namespace AuthSamples.ClaimsTransformer { public class ClaimsTransformer : IClaimsTransformation { public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) { ...
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; namespace AuthSamples.ClaimsTransformer { public class ClaimsTransformer : IClaimsTransformation { public Task<ClaimsPrincipal> TransformAsync(ClaimsPrincipal principal) { ...
apache-2.0
C#
71438c24888437f8c518aa64277ccbf230ca91d4
Rewrite BlockOtherPlayerLobbyLeaveEventPayloadHandler to broadcast leave event.
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLobbyLeaveEventPayloadHandler.cs
src/Booma.Proxy.Client.Unity.Ship/Handlers/Payload/BlockOtherPlayerLobbyLeaveEventPayloadHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; using SceneJect.Common; namespace Booma.Proxy { //Can leave anywhere in lobby or in game technically [AdditionalRegisterationAs(typeof(IRemotePlayerLeaveLobbyEvent...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; using SceneJect.Common; namespace Booma.Proxy { //Can leave anywhere in lobby or in game technically [SceneTypeCreate(GameSceneType.RagolDefault)] [SceneTypeCreat...
agpl-3.0
C#
f487020c95969b8631d39bfa594e3699c5b1a8d5
Fix piping issues with Storage Account Keys
krkhan/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,hungmai-msft/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,hungmai-msft/azure-powershell,devigned/azure-powershell,krkhan/azu...
src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/GetAzureStorageAccountKey.cs
src/ResourceManager/Storage/Commands.Management.Storage/StorageAccount/GetAzureStorageAccountKey.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
9a9bd4b16110f1a389943f837ceb939f1257c793
Change obsolete message
CyrusNajmabadi/roslyn,sharwell/roslyn,physhi/roslyn,diryboy/roslyn,bartdesmet/roslyn,wvdd007/roslyn,AmadeusW/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,sharwell/roslyn,bartdesmet/roslyn,eriawan/roslyn,dotnet/roslyn,sharwell/roslyn,KevinRan...
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.cs
src/EditorFeatures/Core/Extensibility/NavigationBar/NavigationBarItem.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.CodeAnalysis.Te...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.CodeAnalysis.Te...
mit
C#
a287652d2f40ef5867ac71b271a743e5ed776d0c
Move from if statements to switch
saidmarouf/Doccou,aloisdg/CountPages,aloisdg/Doccou
Counter/Document.cs
Counter/Document.cs
using Counter.Documents; using System; using System.Collections.Generic; using System.IO; using Counter.Documents.Archives; using iTextSharp.xmp.impl; namespace Counter { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here. ...
using Counter.Documents; using System; using System.Collections.Generic; using System.IO; using Counter.Documents.Archives; using iTextSharp.xmp.impl; namespace Counter { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here. ...
mit
C#
1d1f0f68ea35f6a3bf3062e18457be28d0fd6f8f
add proper key constants
jackswei/IdentityServer3,charoco/IdentityServer3,buddhike/IdentityServer3,yanjustino/IdentityServer3,bodell/IdentityServer3,bodell/IdentityServer3,Agrando/IdentityServer3,faithword/IdentityServer3,18098924759/IdentityServer3,ryanvgates/IdentityServer3,SonOfSam/IdentityServer3,tonyeung/IdentityServer3,bestwpw/IdentitySe...
source/Core/Services/Caching/CachingScopeStore.cs
source/Core/Services/Caching/CachingScopeStore.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
C#
5ce1180f818ec164ac5bfbade3d621f4d0c247b6
Rename `value` to `version`
octokit-net-test-org/octokit.net,thedillonb/octokit.net,Sarmad93/octokit.net,ivandrofly/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shiftkey/octokit.net,chunkychode/octokit.net,alfhenrik/octokit.net,octokit/octokit.net,TattsGroup/octokit.net,alfhenrik/octokit.net,TattsGroup/octokit.net,gabrielweyer/octokit.ne...
Octokit/Http/ProductHeaderValue.cs
Octokit/Http/ProductHeaderValue.cs
namespace Octokit { public class ProductHeaderValue { readonly System.Net.Http.Headers.ProductHeaderValue _productHeaderValue; public ProductHeaderValue(string name) : this(new System.Net.Http.Headers.ProductHeaderValue(name)) { } public ProductHeaderValue(...
namespace Octokit { public class ProductHeaderValue { readonly System.Net.Http.Headers.ProductHeaderValue _productHeaderValue; public ProductHeaderValue(string name) : this(new System.Net.Http.Headers.ProductHeaderValue(name)) { } public ProductHeaderValue(...
mit
C#
80348b7e5b148666c83fb66cc2e485b389334c4c
Change Hint color to DarkCyan #376
Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Tekni...
src/BenchmarkDotNet.Core/Loggers/ConsoleLogger.cs
src/BenchmarkDotNet.Core/Loggers/ConsoleLogger.cs
using System; using System.Collections.Generic; using System.Linq; namespace BenchmarkDotNet.Loggers { public sealed class ConsoleLogger : ILogger { private const ConsoleColor DefaultColor = ConsoleColor.Gray; public static readonly ILogger Default = new ConsoleLogger(); private read...
using System; using System.Collections.Generic; using System.Linq; namespace BenchmarkDotNet.Loggers { public sealed class ConsoleLogger : ILogger { private const ConsoleColor DefaultColor = ConsoleColor.Gray; public static readonly ILogger Default = new ConsoleLogger(); private read...
mit
C#
b5e471d28550e5e65a407aea9eeb8298e8edcbc1
fix parameter.
Kusumoto/PromptPayQrCode
PromptPayQrCode/PromptPayQrCode.cs
PromptPayQrCode/PromptPayQrCode.cs
using PromptPayQrCode.Core; using PromptPayQrCode.Exception; using System.Drawing; using ZXing; using ZXing.Common; using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace PromptPayQrCode { public class PromptPayQrCode { private readonly string _promptPayPayload = string.Empty; ...
using PromptPayQrCode.Core; using PromptPayQrCode.Exception; using System.Drawing; using ZXing; using ZXing.Common; using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace PromptPayQrCode { public class PromptPayQrCode { private readonly string _promptPayPayload = string.Empty; ...
mit
C#
2fa9ff89e0ff35a49e4a58e135650e246d3abf0a
Bump version
roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News
R7.News/Properties/SolutionInfo.cs
R7.News/Properties/SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany ("R7.Labs")] [assembly: AssemblyProduct ("R7.News")] [assembly: AssemblyCopyright ("Roman M. Yagodin")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyVersion ("1.10.0")] [assembly: AssemblyInformationalVersion ("1.10.0-beta.1")]
using System.Reflection; [assembly: AssemblyCompany ("R7.Labs")] [assembly: AssemblyProduct ("R7.News")] [assembly: AssemblyCopyright ("Roman M. Yagodin")] [assembly: AssemblyTrademark ("")] [assembly: AssemblyVersion ("1.10.0")] [assembly: AssemblyInformationalVersion ("1.10.0")]
agpl-3.0
C#
e6d1ad67bba28f56afa6ebddf1c75524c3038a09
fix SendMessage definition for 64-bit per http://www.pinvoke.net/default.aspx/user32.sendmessage
sverrirs/Rectify
RectifyUI/ControlExtensions.cs
RectifyUI/ControlExtensions.cs
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace RectifyUI { public static class ControlExtensions { #region Redraw Suspend/Resume // From: http://stackoverflow.com/a/778133/779521 [DllImport("user32.dll", EntryPoint = "SendMessageW", ExactSpel...
using System; using System.Runtime.InteropServices; using System.Windows.Forms; namespace RectifyUI { public static class ControlExtensions { #region Redraw Suspend/Resume // From: http://stackoverflow.com/a/778133/779521 [DllImport("user32.dll", EntryPoint = "SendMessageA", ExactSpel...
mit
C#
4d4dd519fc051f7bb9c837a99c2cde9a62ec3dcc
Update Cosmetic.cs
overtools/OWLib,kerzyte/OWLib
STULib/Types/STUUnlock/Cosmetic.cs
STULib/Types/STUUnlock/Cosmetic.cs
using static STULib.Types.Generic.Common; namespace STULib.Types.STUUnlock { [STU(0x6760479E, "STUUnlock")] public class Cosmetic: STUInstance { [STUField(0xB48F1D22, "m_name")] public STUGUID CosmeticName; [STUField(0xBB99FCD3, "m_rarity")] public Enums.STUEnumRarity CosmeticR...
using static STULib.Types.Generic.Common; namespace STULib.Types.STUUnlock { [STU(0x6760479E, "STUUnlock")] public class Cosmetic: STUInstance { [STUField(0xB48F1D22, "m_name")] public STUGUID CosmeticName; [STUField(0xBB99FCD3, "m_rarity")] public Enums.STUEnumRarity CosmeticR...
mit
C#
8b96025a87da5eb902a6c2dce98e662ef71a0d2f
Make id parameter optional
RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate
Source/Boilerplate.Templates/Content/GraphQLTemplate/Queries/RootQuery.cs
Source/Boilerplate.Templates/Content/GraphQLTemplate/Queries/RootQuery.cs
namespace GraphQLTemplate.Queries { using System; using GraphQL.Types; using GraphQLTemplate.Models; using GraphQLTemplate.Repositories; using GraphQLTemplate.Types; public class RootQuery : ObjectGraphType<object> { public RootQuery( IDroidRepository droidRepository, ...
namespace GraphQLTemplate.Queries { using System; using GraphQL.Types; using GraphQLTemplate.Models; using GraphQLTemplate.Repositories; using GraphQLTemplate.Types; public class RootQuery : ObjectGraphType<object> { public RootQuery( IDroidRepository droidRepository, ...
mit
C#
d3abe1a14e99639532e8f32eb1997e3108029a0a
Update NumberFormatting.cs
keith-hall/Extensions,keith-hall/Extensions
src/NumberFormatting.cs
src/NumberFormatting.cs
using System.Text.RegularExpressions; using System; namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private st...
using System.Text.RegularExpressions; namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private static readonly ...
apache-2.0
C#
eca716ff74060d6f7069a784bfd9012beaae6145
fix build
pixel-stuff/ld_dare_32
Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Brothers/BrothersManager.cs
Unity/ludum-dare-32-PixelStuff/Assets/Scripts/Brothers/BrothersManager.cs
using UnityEngine; using System.Collections; public enum BrothersState { MovingIntoScene, Running, // The somewhat Idle state ChoppingWood, GrabbingTrunk, PrepareAttack, Attack, Dead } public class BrothersManager : MonoBehaviour { private BrothersState _state; public BrothersState state { get { retur...
using UnityEngine; using System.Collections; public enum BrothersState { MovingIntoScene, Running, // The somewhat Idle state ChoppingWood, GrabbingTrunk, PrepareAttack, Attack, Dead } public class BrothersManager : MonoBehaviour { private BrothersState _state; public BrothersState state { get { retur...
mit
C#
de634a1db7c5948e2a9baf2e2da94da97665e350
Fix display issue for dateTime cells
Seddryck/NBi,Seddryck/NBi
NBi.Core/Scalar/Presentation/DateTimePresenter.cs
NBi.Core/Scalar/Presentation/DateTimePresenter.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Presentation { public class DateTimePresenter : BasePresenter { protected override string PresentNotNull(object value) { ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Presentation { public class DateTimePresenter : BasePresenter { protected override string PresentNotNull(object value) { ...
apache-2.0
C#
54f4f233fceb7bf91b65f814aa605e951ac06df4
Update StringExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/StringExtensions.cs
src/StringExtensions.cs
using System.Collections.Generic; using System.Linq; public static class StringExtensions { public static int IndexOfEnd (this string value, string find, int? start = null) { var pos = value.IndexOf(find, start.HasValue ? start.Value : 0); if (pos > -1) pos += find.Length; return pos; } public static IEn...
public static class StringExtensions { public static int IndexOfEnd (this string value, string find, int? start = null) { var pos = value.IndexOf(find, start.HasValue ? start.Value : 0); if (pos > -1) pos += find.Length; return pos; } public static IEnumerable<KeyValuePair<string, int>> AllIndexesOf (this...
apache-2.0
C#
c54ee580096d9a1af9176314d168457494aeefec
Support Escaped Keyword Identifiers
Fody/PropertyChanged
PropertyChanged.Fody.Analyzer/ExtensionMethods.cs
PropertyChanged.Fody.Analyzer/ExtensionMethods.cs
global using static ExtensionMethods; using System.Diagnostics; using System.Runtime.CompilerServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; [assembly: InternalsVisibleTo("PropertyChanged.Fody.Ananlyzer.Tests")] static class ExtensionMethods {...
global using static ExtensionMethods; using System.Diagnostics; using System.Runtime.CompilerServices; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; [assembly: InternalsVisibleTo("PropertyChanged.Fody.Ananlyzer.Tests")] static class ExtensionMethods {...
mit
C#
2bd09190cb3807f5e36352fa75b5f7c9030b154f
Add copyright header.
robinsedlaczek/roslyn,pdelvo/roslyn,paladique/roslyn,shyamnamboodiripad/roslyn,basoundr/roslyn,DanielRosenwasser/roslyn,nguerrera/roslyn,EricArndt/roslyn,mattwar/roslyn,pjmagee/roslyn,EricArndt/roslyn,DinoV/roslyn,Shiney/roslyn,oocx/roslyn,mirhagk/roslyn,danielcweber/roslyn,JakeGinnivan/roslyn,mirhagk/roslyn,zooba/rosl...
src/EditorFeatures/Core/Implementation/ReferenceHighlighting/WrittenReferenceHighlightTagDefinition.cs
src/EditorFeatures/Core/Implementation/ReferenceHighlighting/WrittenReferenceHighlightTagDefinition.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel.Composition; using System.Windows.Media; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using Microsoft.VisualStudio.Text.Classification; using Microsoft.VisualStudio.Utilities; namespace Microsoft.CodeAnalysis.Editor.Imp...
mit
C#
cedd019326374d8b15508bb6a233e82575459abc
Bump Version
BrianLima/UWPHook
UWPHook/Properties/AssemblyInfo.cs
UWPHook/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
949a35c46a56986b7469524a7f19a3d8c8d95db8
Make async Do more dry
inputfalken/Sharpy
GeneratorAPI/TaskExtensions.cs
GeneratorAPI/TaskExtensions.cs
using System; using System.Threading.Tasks; namespace GeneratorAPI { /// <summary> /// </summary> public static class TaskExtensions { /// <summary> /// <para> /// Maps Generator&lt;&lt;Task&gt;T&gt; into Generator&lt;&lt;Task&gt;T&gt; /// </para> //...
using System; using System.Threading.Tasks; namespace GeneratorAPI { /// <summary> /// </summary> public static class TaskExtensions { /// <summary> /// <para> /// Maps Generator&lt;&lt;Task&gt;T&gt; into Generator&lt;&lt;Task&gt;T&gt; /// </para> //...
mit
C#
4670aeb7645c1606b19b51483eae1f1a1ac40385
fix version
Fody/InfoOf
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("InfoOf")] [assembly: AssemblyProduct("InfoOf")] [assembly: AssemblyVersion("1.1.1")]
using System.Reflection; [assembly: AssemblyTitle("InfoOf")] [assembly: AssemblyProduct("InfoOf")] [assembly: AssemblyVersion("1.1.0")] [assembly: AssemblyFileVersion("1.1.0")]
mit
C#
1d4481b681f0449e3807b13ccee7584d2d371e65
Fix accidental API change
gkhanna79/core-setup,ericstj/core-setup,joperezr/core-setup,steveharter/core-setup,ravimeda/core-setup,ravimeda/core-setup,steveharter/core-setup,crummel/dotnet_core-setup,ellismg/core-setup,MichaelSimons/core-setup,ellismg/core-setup,wtgodbe/core-setup,janvorli/core-setup,ellismg/core-setup,joperezr/core-setup,karajas...
CompilationLibrary.cs
CompilationLibrary.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyModel.Resolution; namespace Microsoft.Extensions.Dependency...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyModel.Resolution; namespace Microsoft.Extensions.Dependency...
mit
C#
befef8000216ef894c7d9ac75920c5fa72d7e2fb
Include context in SMSService sending
mattgwagner/CertiPay.Common
CertiPay.Common.Notifications/Notifications/ISMSService.cs
CertiPay.Common.Notifications/Notifications/ISMSService.cs
using CertiPay.Common.Logging; using System; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background processing. /// </remarks...
using CertiPay.Common.Logging; using System; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background processing. /// </remarks...
mit
C#
af735ded57b14b4c64fcb8abe69009eb9bb5cbf4
set DontLinger for NetSocket listener
kerryjiang/SuperSocket,kerryjiang/SuperSocket,memleaks/SuperSocket
src/SuperSocket.NetSocket/NetSocketPipeConnectionListener.cs
src/SuperSocket.NetSocket/NetSocketPipeConnectionListener.cs
using System; using System.IO.Pipelines; using System.Net; using System.Threading.Tasks; using System.IO.Pipelines.Networking.Sockets; using System.Net.Sockets; namespace SuperSocket.NetSocket { public class NetSocketPipeConnectionListener : IPipeConnectionListener { private SocketListener _socketListe...
using System; using System.IO.Pipelines; using System.Net; using System.Threading.Tasks; using System.IO.Pipelines.Networking.Sockets; namespace SuperSocket.NetSocket { public class NetSocketPipeConnectionListener : IPipeConnectionListener { private SocketListener _socketListener; public void S...
apache-2.0
C#
567612c2f49206e530d99cf42cc75c8ffe60a697
Send identification on connected
ermau/Tempest.Social
Desktop/Tempest.Social/SocialClient.cs
Desktop/Tempest.Social/SocialClient.cs
// // SocialClient.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including ...
// // SocialClient.cs // // Author: // Eric Maupin <me@ermau.com> // // Copyright (c) 2012 Eric Maupin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including ...
mit
C#
9b6ffc2f016eeda5284dc22c5815bea0e343ee1f
add enum tests
dimaaan/NOpt
NOpt.Test/EnumTest.cs
NOpt.Test/EnumTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace NOpt.Test { // TODO test with flags and integers public class EnumTest { public class ValueEnumTest { public class Options { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; namespace NOpt.Test { // TODO test with flags and integers public class EnumTest { public class ValueEnumTest { public class Options { ...
mit
C#
30d41e907fafcad71044f8f4177544613d618a25
Update version from 2.8.0 to 3.0.0
TheOtherTimDuncan/TOTD
SharedAssemblyInfo.cs
SharedAssemblyInfo.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: AssemblyConfigura...
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: AssemblyConfigura...
mit
C#
6b76d677c6e6e5fdaf407b1ba7a3b6b91eb8a48d
Update TrippleSum.cs
stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity
TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/04.TrippleSum/04.TrippleSum/TrippleSum.cs
TechnologiesFundamentals/ProgrammingFundamentals/ArraysAndLists-Excercises/04.TrippleSum/04.TrippleSum/TrippleSum.cs
using System; using System.Linq; public class TrippleSum { public static void Main(string[] args) { int[] array = Console.ReadLine() .Split(' ') .Select(int.Parse). ToArray(); bool hasFoundSum = false; for (int i = 0; i < array.Length; i++) ...
using System; using System.Linq; public class TrippleSum { public static void Main(string[] args) { int[] array = Console.ReadLine() .Split(' ') .Select(int.Parse). ToArray(); int counter = 0; for (int i = 0; i < array.Length; i++) { ...
mit
C#
1aeef3877c74980f92ed48ea715366de9f1da1b5
Fix for Overflow error in CCRandom on 4S device.
zmaruo/CocosSharp,haithemaraissia/CocosSharp,TukekeSoft/CocosSharp,TukekeSoft/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,mono/CocosSharp
src/Math/CCRandom.cs
src/Math/CCRandom.cs
using System; using System.Collections.Generic; namespace CocosSharp { public class CCRandom { // random seed #if IOS private static System.Random _random = new System.Random(unchecked((int)DateTime.UtcNow.Ticks)); #else private static System.Random _random = new Syste...
using System; using System.Collections.Generic; namespace CocosSharp { public class CCRandom { // random seed private static System.Random _random = new System.Random((int)DateTime.UtcNow.Ticks); public static void Randomize(int seed) { _random = new System.Random...
mit
C#
f55a80844226af506593fe757330ec0143791105
Add Smart Watch to device
wangkanai/Detection
src/Models/Device.cs
src/Models/Device.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Wangkanai.Detection.Models { [Flags] public enum Device { Desktop = 0, // Windows, Mac, Linux Tablet = 1 << 0, //...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; namespace Wangkanai.Detection.Models { [Flags] public enum Device { Desktop = 0, // Windows, Mac, Linux Tablet = 1 << 0, //...
apache-2.0
C#
da4333aa9e280952012121d804b5e906b5fb8bd4
Update Extension.cs (#37)
DynamoDS/DynamoSamples
src/SampleExtension/Extension.cs
src/SampleExtension/Extension.cs
using Dynamo.Extensions; using Dynamo.Graph.Nodes; using Dynamo.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SampleExtension { /// <summary> /// The Extension framework for Dynamo allows you to extend /// Dynamo by loading your own classes that ca...
using Dynamo.Extensions; using Dynamo.Graph.Nodes; using Dynamo.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SampleExtension { /// <summary> /// The Extension framework for Dynamo allows you to extend /// Dynamo by loading your own classes that ca...
mit
C#
a4cfc76e44ecc767ea98ca0b57ffcb92d6a01e4c
use https
JoshKeegan/MonoKlout
MonoKlout/Request.cs
MonoKlout/Request.cs
using System; namespace MonoKlout { /* * The purpose of this class is to generate the appropriate request for the user's need. */ internal static class Request { // Base request Urls private const string BASE_REQUEST_URL = "https://api.klout.com/v2/user.json/"; private con...
using System; namespace MonoKlout { /* * The purpose of this class is to generate the appropriate request for the user's need. */ internal static class Request { // Base request Urls private const string BASE_REQUEST_URL = "http://api.klout.com/v2/user.json/"; private cons...
mit
C#
bbc3eeb6d3e10bda92c3fe02a5f358721933a457
Bump Version
durandt/Xamarin.Auth,xamarin/Xamarin.Auth,nachocove/Xamarin.Auth,ofetisov/Xamarin.Auth,severino32/Xamarin.Auth,LoQIStar/Xamarin.Auth,jorik041/Xamarin.Auth,xamarin/Xamarin.Auth,xamarin/Xamarin.Auth,YoupHulsebos/Xamarin.Auth,dbelcher/Xamarin.Auth
src/Xamarin.Auth/AssemblyInfo.cs
src/Xamarin.Auth/AssemblyInfo.cs
// // Copyright 2012, Xamarin 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...
// // Copyright 2012, Xamarin 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...
apache-2.0
C#
91c1c09ccac584293f05fa3b65fd2a05e1310566
Correct relationships
dlidstrom/MinaGlosor,dlidstrom/MinaGlosor,dlidstrom/MinaGlosor
MinaGlosor.Web/Data/Models/WordList.cs
MinaGlosor.Web/Data/Models/WordList.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; namespace MinaGlosor.Web.Data.Models { public class WordList { public WordList(string name, User owner) { if (name == null) throw new Argumen...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; namespace MinaGlosor.Web.Data.Models { public class WordList { public WordList(string name, User owner) { if (name == null) throw new Argumen...
mit
C#
f43d7c060452b93100b72f37e189da7ccb8704e8
add find plugin info
Jeffiy/NewsCollection
NewsCollection.Service/PluginHelper.cs
NewsCollection.Service/PluginHelper.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using NewLife.Log; using NewsCollection.Core; using NewsCollection.Plugin; namespace NewsCollection.Service { public static class PluginHelper { public static List<ICollect> FindPlugins() ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using NewLife.Log; using NewsCollection.Core; using NewsCollection.Plugin; namespace NewsCollection.Service { public static class PluginHelper { public static List<ICollect> FindPlugins() ...
mit
C#
fc5dd86661703218a10a275900ac327518a3863c
Update DICOMObjectWriter.cs
SuneBuur/Evil-DICOM,cureos/Evil-DICOM
EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMObjectWriter.cs
EvilDICOM.Core/EvilDICOM.Core/IO/Writing/DICOMObjectWriter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EvilDICOM.Core.Interfaces; using System.IO; using EvilDICOM.Core.Element; using EvilDICOM.Core.Helpers; namespace EvilDICOM.Core.IO.Writing { public class DICOMObjectWriter { public static bool IsFi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using EvilDICOM.Core.Interfaces; using System.IO; using EvilDICOM.Core.Element; using EvilDICOM.Core.Helpers; namespace EvilDICOM.Core.IO.Writing { public class DICOMObjectWriter { public static bool IsF...
mit
C#
395a01f92d7f51047751cc8a96c3ed10f1937c54
Adjust ContainerAnalysis smoke test for Grafeas project name change
jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet
apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1.SmokeTests/ContainerAnalysisSmokeTest.cs
apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1.SmokeTests/ContainerAnalysisSmokeTest.cs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
3127539436a6d4c845ea76f03b2b2bdb117ab463
fix : Remove nonexistent shader
tsubaki/UnityAssetCleaner
Assets/Cleaner/Editor/ShaderReferenceCollection.cs
Assets/Cleaner/Editor/ShaderReferenceCollection.cs
/** asset cleaner Copyright (c) 2015 Tatsuhiko Yamamura This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using UnityEditor; ...
/** asset cleaner Copyright (c) 2015 Tatsuhiko Yamamura This software is released under the MIT License. http://opensource.org/licenses/mit-license.php */ using UnityEngine; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using UnityEditor; ...
mit
C#
7bc265c9e755ddd341eb9138e384aa877ee513c2
Test commit 2
HaggitheSecond/BestYoutubeDownloader
BestYoutubeDownloader/Services/Test/TestService.cs
BestYoutubeDownloader/Services/Test/TestService.cs
namespace BestYoutubeDownloader.Services.Test { public class TestService : ITestService { // very important comment public int DoSomething() { return 0; } } }
namespace BestYoutubeDownloader.Services.Test { public class TestService : ITestService { public int DoSomething() { return 0; } } }
mit
C#
706f5988bb589052dba8bbb9a875b7a32238e33a
remove unused import
aixasz/ImageShareTemplate
ImageShareTemplate.Tests/ImageShareTemplateTest.cs
ImageShareTemplate.Tests/ImageShareTemplateTest.cs
using Xunit; namespace ImageShareTemplate.Tests { public class ImageShareTemplateTest { [Fact] public void Test() { // We will get rid this later. Assert.True(true); } } }
using System; using Xunit; namespace ImageShareTemplate.Tests { public class ImageShareTemplateTest { [Fact] public void Test() { // We will get rid this later. Assert.True(true); } } }
mit
C#
2b8107b6dd278559d3768ad467ac28a953eb9fd4
Rename existing SetStateByName test.
fffej/BobTheBuilder,alastairs/BobTheBuilder
BobTheBuilder.Tests/BuildFacts.cs
BobTheBuilder.Tests/BuildFacts.cs
using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace BobTheBuilder.Tests { public class BuildFacts { [Fact] public void CreateADynamicInstanceOfTheRequestedType() { var sut = A.BuilderFor<SampleType>(); var result = sut.Build(); ...
using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace BobTheBuilder.Tests { public class BuildFacts { [Fact] public void CreateADynamicInstanceOfTheRequestedType() { var sut = A.BuilderFor<SampleType>(); var result = sut.Build(); ...
apache-2.0
C#
c949a07722bf7c15cd4355515bcdb7f281d56ec9
Fix a json property name of Instance.Uri
pawotter/mastodon-api-cs
Mastodon.API/Entities/Instance.cs
Mastodon.API/Entities/Instance.cs
using System; using Newtonsoft.Json; namespace Mastodon.API { /// <summary> /// Instance. /// https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#instance /// </summary> public class Instance { [JsonProperty(PropertyName = "uri")] public string Uri { get...
using System; using Newtonsoft.Json; namespace Mastodon.API { /// <summary> /// Instance. /// https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#instance /// </summary> public class Instance { [JsonProperty(PropertyName = "id")] public string Uri { get;...
mit
C#
5f47e86fcd9b15ab51ba65541220bb91ae7c8a55
Update AssemblyInfo.cs
nilproject/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS
NiL.JS/Properties/AssemblyInfo.cs
NiL.JS/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitleAttribute("NiL.JS for Developers")] [assembly: AssemblyProductAttribute("NiL.JS Dev")] #else [assembly: AssemblyTitleAttribute("NiL.JS")] [assembly: AssemblyProductAttribute("NiL.JS")] ...
using System; using System.Reflection; using System.Resources; using System.Runtime.InteropServices; #if DEV [assembly: AssemblyTitleAttribute("NiL.JS for Developers")] [assembly: AssemblyProductAttribute("NiL.JS Dev")] #else [assembly: AssemblyTitleAttribute("NiL.JS")] [assembly: AssemblyProductAttribute("NiL.JS")] ...
bsd-3-clause
C#
0b773d5793cf1f65e4a0628dcf8976a671ab5fe5
Update IRaster.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/api/IRaster.cs
src/api/IRaster.cs
// Copyright 2004-2006 University of Wisconsin // All rights reserved. // // Contributors: // James Domingo, UW-Madison, Forest Landscape Ecology Lab // James Domingo, Green Code LLC namespace Landis.SpatialModeling { /// <summary> /// A file with raster data. /// </summary> public inte...
// Copyright 2004-2006 University of Wisconsin // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.o...
apache-2.0
C#
13e0682521fc83fafebda610ab08b27616dde2ae
Update ShopInstance.cs
pollend/Parkitect_CustomShops_Template,pollend/Parkitect_TopHats
Shop/ShopInstance.cs
Shop/ShopInstance.cs
using System; using System.Collections.Generic; namespace CustomShops { public class ShopInstance : ProductShop { public ShopInstance() { //use 'FORWARD' for a normal shop (e.g. Burgers) use 'DIRECTIONAL' for directional use (e.g. Info Kiosk) walkableFlag = WalkableFlagType.FORWARD; } public override ...
using System; using System.Collections.Generic; namespace CustomShops { public class ShopInstance : ProductShop { public ShopInstance() { } public override void Initialize () { this.gameObject.SetActive (true); base.Initialize (); } public override ShopSettings getSettings () { //hack to ...
mit
C#
0f2af47ec842da517b05b2fb9aefbc62a5674466
Fix typo in API model for GameAssets
RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Rest/API/Common/GameAssets.cs
src/Discord.Net.Rest/API/Common/GameAssets.cs
using Newtonsoft.Json; namespace Discord.API { internal class GameAssets { [JsonProperty("small_text")] public Optional<string> SmallText { get; set; } [JsonProperty("small_image")] public Optional<string> SmallImage { get; set; } [JsonProperty("large_text")] pub...
using Newtonsoft.Json; namespace Discord.API { internal class GameAssets { [JsonProperty("small_text")] public Optional<string> SmallText { get; set; } [JsonProperty("small_image")] public Optional<string> SmallImage { get; set; } [JsonProperty("large_image")] p...
mit
C#
e699b866ff77d8f8f275a1a67eb4f11dfa1f0515
use hyphenated attrs
Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core
src/JsonApiDotNetCoreExample/Models/Person.cs
src/JsonApiDotNetCoreExample/Models/Person.cs
using System.Collections.Generic; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Models; namespace JsonApiDotNetCoreExample.Models { public class Person : Identifiable<int> { public override int Id { get; set; } [Attr("first-name")] public string FirstName { get; set...
using System.Collections.Generic; using JsonApiDotNetCore.Internal; using JsonApiDotNetCore.Models; namespace JsonApiDotNetCoreExample.Models { public class Person : Identifiable<int> { public override int Id { get; set; } [Attr("firstName")] public string FirstName { get; set;...
mit
C#
5bd3be9828a01af6fba2469c63ade23cdaa0e662
tidy up API test
pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket
src/NEventSocket.Examples/Examples/ApiTest.cs
src/NEventSocket.Examples/Examples/ApiTest.cs
namespace NEventSocket.Examples.Examples { using System; using System.Threading; using System.Threading.Tasks; using ColoredConsole; using Net.CommandLine; public class ApiTest : ICommandLineTask, IDisposable { public async Task Run(CancellationToken cancellationToken) { ...
namespace NEventSocket.Examples.Examples { using System; using System.Threading; using System.Threading.Tasks; using ColoredConsole; using Net.CommandLine; public class ApiTest : ICommandLineTask, IDisposable { public async Task Run(CancellationToken cancellationToken) { ...
mpl-2.0
C#
af9402b112d34987599627bcd1a741a17e432f12
Make (unused) UnixMonoTransport internal too
tmds/Tmds.DBus
UnixMonoTransport.cs
UnixMonoTransport.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.IO; using System.Net; using System.Net.Sockets; using Mono.Unix; using Mono.Unix.Native; namespace NDesk.DBus.Transports { class UnixMonoTransport : UnixTranspo...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.IO; using System.Net; using System.Net.Sockets; using Mono.Unix; using Mono.Unix.Native; namespace NDesk.DBus.Transports { public class UnixMonoTransport : Unix...
mit
C#