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
c997a9186beb59e5400f1889ec4dbd4a2545a568
Update custom_web_view doc region to only include BookshelfWebViewPage<T> class
GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet
aspnet/4-auth/Views/BookshelfWebViewPage.cs
aspnet/4-auth/Views/BookshelfWebViewPage.cs
using System.Web.Mvc; using GoogleCloudSamples.Models; namespace GoogleCloudSamples.Views { // [START custom_web_view] public abstract class BookshelfWebViewPage<TModel> : WebViewPage<TModel> { public User CurrentUser => new User(this.User); } // [END custom_web_view] publ...
using System.Web.Mvc; using GoogleCloudSamples.Models; // [START custom_web_view] namespace GoogleCloudSamples.Views { public abstract class BookshelfWebViewPage<TModel> : WebViewPage<TModel> { public User CurrentUser => new User(this.User); } public abstract class BookshelfWebView...
apache-2.0
C#
a92d2de7b90c206e51325bdab94ef9de37081d5e
Add todo about exceptions in properties.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tooling/Process2.cs
source/Nuke.Common/Tooling/Process2.cs
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; namespace ...
// Copyright Matthias Koch, Sebastian Karasek 2018. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; namespace ...
mit
C#
d8f857810ff10f44d18059e27e46eb4652cd278e
use symbold filter
sriramgd/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,fishg/omnisharp-roslyn,nabychan/omnisharp-roslyn,hal-ler/omnisharp-roslyn,hal-ler/omnisharp-roslyn,hitesh97/omnisharp-roslyn,jtbm37/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,nabychan/omnisharp-roslyn...
src/OmniSharp/Api/Navigation/OmnisharpController.FindSymbols.cs
src/OmniSharp/Api/Navigation/OmnisharpController.FindSymbols.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FindSymbols; using OmniSharp.Extensions; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("findsymbols"...
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FindSymbols; using OmniSharp.Extensions; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("findsymbols"...
mit
C#
7b2096997b72df88101bceac30f36fd221ceb0fe
添加了几个常量字段。信息。
yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate,yoyocms/YoYoCms.AbpProjectTemplate
src/YoYoCms.AbpProjectTemplate.Core/AbpProjectTemplateConsts.cs
src/YoYoCms.AbpProjectTemplate.Core/AbpProjectTemplateConsts.cs
namespace YoYoCms.AbpProjectTemplate { /// <summary> /// Some general constants for the application. /// </summary> public static class AbpProjectTemplateConsts { public const string LocalizationSourceName = "AbpProjectTemplate"; /// <summary> /// 表架构信息 /// </summar...
namespace YoYoCms.AbpProjectTemplate { /// <summary> /// Some general constants for the application. /// </summary> public static class AbpProjectTemplateConsts { public const string LocalizationSourceName = "AbpProjectTemplate"; /// <summary> /// 表架构信息 /// </summar...
apache-2.0
C#
4b5d7ee8bf843c3b10c7e0014fd439c8057c2535
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoB_Aop.cs
Src/Asp.Net/SqlServerTest/Demo/DemoB_Aop.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; namespace OrmTest { public class DemoB_Aop { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### Aop...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class DemoB_Aop { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### Aop Start ####"); ...
apache-2.0
C#
6346710b97200130c80536cadf615fd9e019e902
Fix tests
NikRimington/Umbraco-CMS,leekelleher/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,lars-erik/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,rasmusee...
src/Umbraco.Web/ContentApps/ContentAppDefinitionCollection.cs
src/Umbraco.Web/ContentApps/ContentAppDefinitionCollection.cs
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Models.ContentEditing; using Umbraco.Core.Logging; using Umbraco.Core.Models.Membership; namespace Umbraco.Web.ContentApps { public class ContentAppDefinitionCollection : Builder...
using System; using System.Collections.Generic; using System.Linq; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Models.ContentEditing; using Umbraco.Core.Logging; using Umbraco.Core.Models.Membership; namespace Umbraco.Web.ContentApps { public class ContentAppDefinitionCollection : Builder...
mit
C#
aa993cabcea5583da2a8c6ed62a7534e218a07e0
Rename MembershipProvider to MembershipService to differentiate from ASP.NET's MembershipProvider
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/Services/MembershipService.cs
Oogstplanner.Web/Services/MembershipService.cs
using System.Web.Security; namespace Oogstplanner.Services { public class OogstplannerMembershipService : IMembershipService { public bool ValidateUser(string userNameOrEmail, string password) { return Membership.ValidateUser(userNameOrEmail, password) || Membership...
using System.Web.Security; namespace Oogstplanner.Services { public class OogstplannerMembershipProvider : IMembershipProvider { public bool ValidateUser(string userNameOrEmail, string password) { return Membership.ValidateUser(userNameOrEmail, password) || Membersh...
mit
C#
7d683dba3561526c5123bc7aece5ffc9e2d095e8
fix form title
jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib
src/Examples/Samples/DrawStringForm.cs
src/Examples/Samples/DrawStringForm.cs
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * 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 without limit...
/* * MIT License * * Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved. * * 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 without limit...
mit
C#
ca09ae6849b94cdc2ef15c4b770212d1f8a92138
fix formatting
peppy/osu,EVAST9919/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.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.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods...
// 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.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods...
mit
C#
74ecf94861cd813bc346978a8557970e61183231
Update KurtRoggen.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/KurtRoggen.cs
src/Firehose.Web/Authors/KurtRoggen.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class KurtRoggen : IAmAMicrosoftMVP { public string FirstName => "Kurt"; public string LastName =...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class KurtRoggen : IAmAMicrosoftMVP { public string FirstName => "Kurt"; public string LastName =...
mit
C#
6bdeebabc9f2d58c86f7babbe6f7fd184a72a9e3
Correct mixed up X and Y in Position class
allyjweir/battleships
Battleships/Position.cs
Battleships/Position.cs
using System; namespace Battleships { public class Position { #region Properties public char XCoordinate { get; } public int YCoordinate { get; } public PositionStatus Status { get; set; } #endregion #region Constructors public Position(char x, int y)...
using System; namespace Battleships { public class Position { #region Properties public int XCoordinate { get; } public char YCoordinate { get; } public PositionStatus Status { get; set; } #endregion #region Constructors public Position(int x, char y)...
mit
C#
81d704dcb345440c6736a49efeae2cb667b8c27a
Remove whitespaces
githubpermutation/skylines-scaleui,githubpermutation/skylines-scaleui
ScaleUI/ScaleUILoader.cs
ScaleUI/ScaleUILoader.cs
using System; using UnityEngine; using ICities; using ColossalFramework.UI; namespace ScaleUI { public class ScaleUILoader : LoadingExtensionBase { UIComponent scaleuicomponent; public override void OnLevelLoaded (LoadMode mode) { base.OnLevelLoaded (mode); if (mode == LoadMode.LoadGame || mode == Lo...
using System; using UnityEngine; using ICities; using ColossalFramework.UI; namespace ScaleUI { public class ScaleUILoader : LoadingExtensionBase { UIComponent scaleuicomponent; public override void OnLevelLoaded (LoadMode mode) { base.OnLevelLoaded (mode); if (mode == LoadMode.LoadGame || mode == Lo...
mit
C#
f01fb13d10f4d107b31ccb4c6faae35d9479cd8c
Fix Transform3DHelper.CombineTransform creates too nested Transform3DGroup #1089
helix-toolkit/helix-toolkit,holance/helix-toolkit,JeremyAnsel/helix-toolkit,chrkon/helix-toolkit
Source/HelixToolkit.Wpf/Helpers/Transform3DHelper.cs
Source/HelixToolkit.Wpf/Helpers/Transform3DHelper.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Transform3DHelper.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Helper methods for Transform3D. // </summ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Transform3DHelper.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Helper methods for Transform3D. // </summ...
mit
C#
56d7c5dd33e8533c4a6f1764bbf786396a96b831
Fix CI complaining about no `ConfigureAwait()`
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework
osu.Framework.Tests/IO/DllResourceStoreTest.cs
osu.Framework.Tests/IO/DllResourceStoreTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.IO.Stores; using osu.Framework.Tests.Visual; namespace osu.Framework.Tests.IO { public class...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.IO.Stores; using osu.Framework.Tests.Visual; namespace osu.Framework.Tests.IO { public class...
mit
C#
3c0fa7e7bc258572da69e9b06903903c92d2b24a
Clean up Web Api Config Commit
hnidboubker/NeedDotNet,hnidboubker/NeedDotNet
Src/Web/www/NeedDotNet.Web/App_Start/WebApiConfig.cs
Src/Web/www/NeedDotNet.Web/App_Start/WebApiConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web.Http; using Microsoft.Owin.Security.OAuth; using Newtonsoft.Json.Serialization; namespace NeedDotNet.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config)...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web.Http; using Microsoft.Owin.Security.OAuth; using Newtonsoft.Json.Serialization; namespace NeedDotNet.Web { public static class WebApiConfig { public static void Register(HttpConfiguration config)...
apache-2.0
C#
0f64d1a232beaa28a48098ef9bdc7329e0754add
use generated resources in warr stance color converter
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Converters/WarriorStanceToColorConverter.cs
TCC.Core/Converters/WarriorStanceToColorConverter.cs
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; using TCC.Data; namespace TCC.Converters { public class WarriorStanceToColorConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) ...
using System; using System.Globalization; using System.Windows; using System.Windows.Data; using System.Windows.Media; using TCC.Data; namespace TCC.Converters { public class WarriorStanceToColorConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, Cultur...
mit
C#
1dcf90239367e04c4d56236f5ecbf8c17f12a0ae
add Async suffix to functions feat: add helper function CommandAsync with demanded response (throw exception if response differs)
ahessling/ActiveLoad,ahessling/ActiveLoad,ahessling/ActiveLoad
Software/ActiveLoadTool/ActiveLoadProtocol/SimpleSCPIProtocol.cs
Software/ActiveLoadTool/ActiveLoadProtocol/SimpleSCPIProtocol.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ActiveLoadProtocol { #region Exceptions [Serializable] public class UnexpectedResponseException : Exception { public UnexpectedResponseException() { } public Un...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ActiveLoadProtocol { class SimpleSCPIProtocol : ASCIIRequestResponse { public SimpleSCPIProtocol(IASCIIReadWrite readWriteInterface) : base(readWriteInterface) { ...
mit
C#
ad485ef74d7238f81bdb71e50b4aaae04cd999f6
Comment added
shahriarhossain/MailChimp.Api.Net
MailChimp.Api.Net/Services/Reports/MCReportsDomainPerformance.cs
MailChimp.Api.Net/Services/Reports/MCReportsDomainPerformance.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsDomainPerform...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsDomainPerform...
mit
C#
8a21820d8a91a37bdbacf3f95ab27048ea924236
Fix functions not being called
erebuswolf/LockstepFramework,SnpM/Lockstep-Framework,yanyiyun/LockstepFramework
Core/Game/Buffs/Buff.cs
Core/Game/Buffs/Buff.cs
using UnityEngine; using System.Collections; using System; namespace Lockstep { public class Buff { protected int Duration; protected int Timer; protected LSAgent Target; internal int ID {get; set;} public bool Active {get; private set;} public void Init...
using UnityEngine; using System.Collections; using System; namespace Lockstep { public class Buff { protected int Duration; protected int Timer; protected LSAgent Target; internal int ID {get; set;} public bool Active {get; private set;} public void Init...
mit
C#
79514dfed68eaf9ca08bc6289ae1a881d124c798
fix null exception
brookshi/UWP_ZhiHuRiBao
UWP_ZhiHuRiBao/ViewModels/MainViewModel.Favorites.cs
UWP_ZhiHuRiBao/ViewModels/MainViewModel.Favorites.cs
using Brook.ZhiHuRiBao.Models; using Brook.ZhiHuRiBao.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Brook.ZhiHuRiBao.ViewModels { public partial class MainViewModel { public int? FavoritesLastTime { get; set; } = nu...
using Brook.ZhiHuRiBao.Models; using Brook.ZhiHuRiBao.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Brook.ZhiHuRiBao.ViewModels { public partial class MainViewModel { public int? FavoritesLastTime { get; set; } = nu...
apache-2.0
C#
e875f7e9e987c6c72ce8d2b2b96601ec321441e6
Update comments
devlights/try-csharp
TryCSharp.Samples/Basic/ValueTupleSamples01.cs
TryCSharp.Samples/Basic/ValueTupleSamples01.cs
using System; using TryCSharp.Common; namespace TryCSharp.Samples.Basic { /// <summary> /// ValueTuple についてのサンプルです。 /// </summary> /// <remarks> /// REFERENCES:: http://bit.ly/2L39RFZ /// http://bit.ly/2KXgLwu /// http://bit.ly/2L2okSN /// </remarks> [Sampl...
using System; using TryCSharp.Common; namespace TryCSharp.Samples.Basic { /// <summary> /// ValueTuple についてのサンプルです。 /// </summary> [Sample] public class ValueTupleSamples01 : IExecutable { public void Execute() { // ---------------------------------------------------...
mit
C#
392984781f7b292bbbb08420154c85458eb7c790
Use IOptions in JwtIssuer constructor
YeastFx/Yeast
src/Yeast.WebApi/Security/JwtIssuer.cs
src/Yeast.WebApi/Security/JwtIssuer.cs
using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; namespace Yeast.WebApi.Security { public class JwtIssuer { private readonly JwtIssuerOptions _options; public JwtIssu...
using Microsoft.IdentityModel.Tokens; using System; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; namespace Yeast.WebApi.Security { public class JwtIssuer { private readonly JwtIssuerOptions _options; public JwtIssuer(JwtIssuerOptions options) { ...
mit
C#
34afc1cf352e92f669576cb3963fe3f1e9f31efb
Add ISqlQuery<object> SqlQuery(this DatabaseFacade database, Type type, string sqlQuery, params SqlParameter[] parameters)
PaulARoy/EntityFrameworkCore.RawSQLExtensions
EntityFrameworkCore.RawSQLExtensions/Extensions/DatabaseFacadeExtensions.cs
EntityFrameworkCore.RawSQLExtensions/Extensions/DatabaseFacadeExtensions.cs
using EntityFrameworkCore.RawSQLExtensions.SqlQuery; using Microsoft.EntityFrameworkCore.Infrastructure; using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; namespace EntityFrameworkCore.RawSQLExtensions.Extensions { public static class DatabaseFacadeExtensions { ...
using EntityFrameworkCore.RawSQLExtensions.SqlQuery; using Microsoft.EntityFrameworkCore.Infrastructure; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; namespace EntityFrameworkCore.RawSQLExtensions.Extensions { public static class DatabaseFacadeExtensions { public s...
mit
C#
08589a7bda1a57077d66adcd234311bdc9ff0189
Add an option to set the number of decimal places that will be used in the formatting
GGG-KILLER/GUtils.NET
GUtils.IO/FileSizes.cs
GUtils.IO/FileSizes.cs
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const UInt64 PiB = 1024 * TiB; private static ...
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const U...
mit
C#
f0309d185ca8dc3600bd833670f9e1429f443b11
Remove population of Visual Studio's TestCase.DisplayName property during test discovery. This has no effect and is misleading. TestCase.FullyQualifiedName is set to the method group of a test method, but TestCase.DisplayName should only be set during execution time to the full name of a test case including input param...
JakeGinnivan/fixie,KevM/fixie,EliotJones/fixie,bardoloi/fixie,fixie/fixie,Duohong/fixie,bardoloi/fixie
src/Fixie.VisualStudio.TestAdapter/Discoverer.cs
src/Fixie.VisualStudio.TestAdapter/Discoverer.cs
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; using Fixie.Execution; namespace Fixie.VisualStudio.TestAdapter { [D...
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestPlatform.ObjectModel; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter; using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging; using Fixie.Execution; namespace Fixie.VisualStudio.TestAdapter { [D...
mit
C#
e3a28266ea4b3cd25122376b11d14dcf7f24c18a
improve error messasge (#2677)
dotnet/docfx,superyyrrzz/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx
src/Microsoft.DocAsCode.Plugins/UidDefinition.cs
src/Microsoft.DocAsCode.Plugins/UidDefinition.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Plugins { using System; using Newtonsoft.Json; public class UidDefinition { [JsonProperty("name")] publ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Plugins { using System; using Newtonsoft.Json; public class UidDefinition { [JsonProperty("name")] publ...
mit
C#
dd06296d4a8658ba8899a7dc00e05e80fb9265f0
Clean up ModMonoTCPWebSource
arthot/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp,arthot/xsp,murador/xsp
src/Mono.WebServer.Apache/ModMonoTCPWebSource.cs
src/Mono.WebServer.Apache/ModMonoTCPWebSource.cs
// // Mono.WebServer.ModMonoTCPWebSource // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) Copyright 2004 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Softwar...
// // Mono.WebServer.ModMonoTCPWebSource // // Authors: // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // (C) Copyright 2004 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Softwar...
mit
C#
96a55bf907a1cabfad39c4751ac65049c4e874bd
Disable slow test
martincostello/project-euler
src/ProjectEuler.Tests/Puzzles/Puzzle035Tests.cs
src/ProjectEuler.Tests/Puzzles/Puzzle035Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; using Xunit; /// <summary> /// A class contai...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; using Xunit; /// <summary> /// A class contai...
apache-2.0
C#
819cba31cecbf0970dd8924afc83fedd347b1e34
Fix spinners not starting placement with the first click
ZLima12/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,smoogipooo/osu,naoey/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu-new,johnneijzen/osu,ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,peppy...
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.cs
osu.Game.Rulesets.Osu/Edit/Blueprints/Spinners/SpinnerPlacementBlueprint.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 osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components; using osu....
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components; using osu....
mit
C#
f2558ca2d83d1b1b16c0a423eb4e05bb5683920a
Make QTTime constant readonly
PlayScriptRedux/monomac,dlech/monomac
src/QTKit/Defs.cs
src/QTKit/Defs.cs
// // Copyright 2010, Novell, Inc. // // 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 // without limitation the rights to use, copy, modify, merge, publish, ...
// // Copyright 2010, Novell, Inc. // // 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 // without limitation the rights to use, copy, modify, merge, publish, ...
apache-2.0
C#
6178f38c95277c91e2a07cb0766d9a33318d24aa
Reword unlimited frame rate warning a bit
smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu
osu.Game/Overlays/Settings/Sections/Graphics/RendererSettings.cs
osu.Game/Overlays/Settings/Sections/Graphics/RendererSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; namespace o...
// 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.Configuration; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; namespace o...
mit
C#
ca8d787e0ae2de35e389e202058750c1e521b0d0
use MyNetUtil.getMyIPAddress() to get IP adr
yasokada/unity-151117-linemonitor-UI
Assets/SettingSend.cs
Assets/SettingSend.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Text.RegularExpressions; // for Regex using NS_MyNetUtil; // for MyNetUtil.getMyIPAddress() // for UDP send using System; using System.Text; using System.Net; using System.Net.Sockets; /* * v0.1 2015/11/23 */ public class SettingSe...
using UnityEngine; using System.Collections; using UnityEngine.UI; using System.Text.RegularExpressions; // for Regex // for UDP send using System; using System.Text; using System.Net; using System.Net.Sockets; /* * v0.1 2015/11/23 */ public class SettingSend : MonoBehaviour { public const string kCommandIpAd...
mit
C#
3cf918c507990e66e333d618640ae807b0052042
build fixed
TeamSpark/AzureSearch-iFilter
Rix/Rix.CLI/Program.cs
Rix/Rix.CLI/Program.cs
using Rix.AzureSearch; using System; using System.Threading.Tasks; using System.Linq; using System.Threading; namespace Rix.CLI { class Program { static void Main(string[] args) { var indexerHelper = new IndexerHelper(); var task1 = Task.Run(async () => await indexerHelper.EnsureIndexerCreatedAsync()); ...
using Rix.AzureSearch; using System; using System.Threading.Tasks; using System.Linq; using System.Threading; namespace Rix.CLI { class Program { static void Main(string[] args) { var indexerHelper = new IndexerHelper(); var task1 = Task.Run(async () => await indexerHelper.EnsureIndexerCreatedAsync()); ...
mit
C#
81d4260146efd818b97e531064f47fd2b0fad2fe
add previous methods
deanshackley/CondenserDotNet,Drawaes/CondenserDotNet
src/CondenserDotNet.Configuration/ServiceCollectionExtensions.cs
src/CondenserDotNet.Configuration/ServiceCollectionExtensions.cs
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CondenserDotNet.Configuration { public static class ServiceCollectionExtensions { public static IServiceCollection ConfigureReloadable<TConfig>(this IServiceCollection self, IConfigurationRe...
using System; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CondenserDotNet.Configuration { public static class ServiceCollectionExtensions { public static IServiceCollection ConfigureReloadable<TConfig>(this IServiceCollection self, IConfiguratio...
mit
C#
5993e3f88f71fd73e649780ea6e1a17da2af0978
Add PlaylistPosition to Tag
7digital/SevenDigital.Api.Schema,scooper91/SevenDigital.Api.Schema
src/Schema/Playlists/Tag.cs
src/Schema/Playlists/Tag.cs
using System; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists { [Serializable] public class Tag { [XmlElement("name")] public string Name { get; set; } [XmlElement("playlistPosition")] public int? PlaylistPosition { get; set; } public Tag() { } public...
using System; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists { [Serializable] public class Tag { [XmlElement("name")] public string Name { get; set; } public Tag() { } public Tag(string name) { Name = name; } } }
mit
C#
e212ef66af2c883fd8a49effe382e4031a6f335b
Add extra colours
It423/tron,wrightg42/tron
Tron/Tron/CellValues.cs
Tron/Tron/CellValues.cs
// CellValues.cs // <copyright file="CellValues.cs"> This code is protected under the MIT License. </copyright> namespace Tron { /// <summary> /// An enumeration to represent the possible values for a cell on the grid. /// </summary> public enum CellValues { /// <summary> /// Nothin...
// CellValues.cs // <copyright file="CellValues.cs"> This code is protected under the MIT License. </copyright> namespace Tron { /// <summary> /// An enumeration to represent the possible values for a cell on the grid. /// </summary> public enum CellValues { /// <summary> /// Nothin...
mit
C#
3ac50a36386b303fd2c1285c7ad7937f83d80bd3
Remove unneeded using
aloisdg/CountPages,aloisdg/Doccou,saidmarouf/Doccou
Counter/Document.cs
Counter/Document.cs
using Counter.Documents; using System; using System.Collections.Generic; using System.IO; using Counter.Documents.Archives; 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. /// </summary> public cla...
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#
ae5101bcaa6b5866677d2fe6f7cf74714fac56bd
Update DockerfileTemplate.cs
brthor/Dockerize.NET,brthor/Dockerize.NET
DockerfileTemplate.cs
DockerfileTemplate.cs
namespace Brthor.Dockerize { public static class DockerfileTemplate { public static string Generate(DockerizeConfiguration config, string outputBinaryName) { var addUser = config.Username == null ? "" : $@"RUN groupadd -r {config.Username} && useradd ...
namespace Brthor.Dockerize { public static class DockerfileTemplate { public static string Generate(DockerizeConfiguration config, string outputBinaryName) { var addUser = config.Username == null ? "" : $@"RUN groupadd -r {config.Username} && useradd...
mit
C#
7c4722f2946fce59f639268232a8857adcc2418b
fix bug StarMethods.AddStarToWikiAsync でエラー #73
ats124/backlog4net
src/Backlog4net/BacklogClientImpl_StarMethods.cs
src/Backlog4net/BacklogClientImpl_StarMethods.cs
using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Text; namespace Backlog4net { using Api; using Api.Option; using Http; partial class BacklogClientImpl { public async Task AddStarToIssueAsync(long issueId, CancellationToken...
using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Text; namespace Backlog4net { using Api; using Api.Option; using Http; partial class BacklogClientImpl { public async Task AddStarToIssueAsync(long issueId, CancellationToken...
mit
C#
173d12c1ec191cfcedc6398b127084720f3d1e5c
rename arrange to transform
naoey/osu,naoey/osu,peppy/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,peppy...
osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs
osu.Game.Rulesets.Osu/Mods/OsuModArrange.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; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.G...
// 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; using System.Collections.Generic; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.G...
mit
C#
0ae9c78c38ce3cd33b3b3cfce14234050ad6b05f
set drawableOnApplyCustomUpdateState private to make AppVeyor happy :)
smoogipooo/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu...
osu.Game.Rulesets.Osu/Mods/OsuModDeflate.cs
osu.Game.Rulesets.Osu/Mods/OsuModDeflate.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 osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Osu.Objects.Draw...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Osu.Objects.Draw...
mit
C#
b34b96bd9656286aad78bba3ccd0ac4627cf1ddb
Add column accessor for LockData
ygra/Diablo3ItemCollage,ygra/Diablo3ItemCollage
Helpers/LockData.cs
Helpers/LockData.cs
using System; using System.Drawing; using System.Drawing.Imaging; namespace ItemCollage { public sealed class LockData : IDisposable { public BitmapData Data { get; private set; } public int Height { get { return Data.Height; } } public int Width { get { return Data.Width; } } ...
using System; using System.Drawing; using System.Drawing.Imaging; namespace ItemCollage { public sealed class LockData : IDisposable { public BitmapData Data { get; private set; } public int Height { get { return Data.Height; } } public int Width { get { return Data.Width; } } ...
mit
C#
1816291da7d3d033b1dbbf1e373c6162d7cab26c
Remove the annoying tilda from the linked css hrefs.
bigfont/sweet-water-revolver
mvcWebApp/Views/Home/Index.cshtml
mvcWebApp/Views/Home/Index.cshtml
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Sweet Water Revolver</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link href="/...
@{ Layout = null; } <!DOCTYPE html> <html lang="en"> <head> <title>Sweet Water Revolver</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link href="~...
mit
C#
b4d7bc1a3b7a2882d11cb238ec6c789ef4dafb45
Change screen title in Android too
auth0/Xamarin.Auth0Client
src/Auth0Client.Android/Auth0Client.Android.cs
src/Auth0Client.Android/Auth0Client.Android.cs
using System; using System.Drawing; using System.Threading.Tasks; using Android.Content; using Newtonsoft.Json.Linq; using Xamarin.Auth; namespace Auth0.SDK { public partial class Auth0Client { /// <summary> /// Log a user into an Auth0 application given a connection name. /// </summary> /// <param name="con...
using System; using System.Drawing; using System.Threading.Tasks; using Android.Content; using Newtonsoft.Json.Linq; using Xamarin.Auth; namespace Auth0.SDK { public partial class Auth0Client { /// <summary> /// Log a user into an Auth0 application given a connection name. /// </summary> /// <param name="con...
mit
C#
2d8872f2a12b1f23164dfd7f2d3d513c1a2165ef
Make EmojiExtension.EnableSmiley public
lunet-io/markdig
src/Markdig/Extensions/Emoji/EmojiExtension.cs
src/Markdig/Extensions/Emoji/EmojiExtension.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using Markdig.Renderers; namespace Markdig.Extensions.Emoji { /// <summary> /// Extension to allow emoji and smiley replacement...
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using Markdig.Renderers; namespace Markdig.Extensions.Emoji { /// <summary> /// Extension to allow emoji and smiley replacement...
bsd-2-clause
C#
fbc5378c0575c2d5ecabac75383b937a67992615
Revert accidental change to @async flag.
OneGet/nuget,chocolatey/nuget-chocolatey,kumavis/NuGet,oliver-feng/nuget,dolkensp/node.net,mrward/NuGet.V2,chester89/nugetApi,pratikkagda/nuget,zskullz/nuget,chocolatey/nuget-chocolatey,oliver-feng/nuget,mrward/nuget,xero-github/Nuget,akrisiun/NuGet,jmezach/NuGet2,mono/nuget,pratikkagda/nuget,antiufo/NuGet2,pratikkagda...
src/VsConsole/Console/PowerConsole/HostInfo.cs
src/VsConsole/Console/PowerConsole/HostInfo.cs
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
apache-2.0
C#
aff216840fcf94c98a609c3f5cc9fbd4bbdc628c
Add a note about `OnlineID` potentially being zero in non-autoincrement cases
peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu
osu.Game/Database/IHasOnlineID.cs
osu.Game/Database/IHasOnlineID.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 namespace osu.Game.Database { public interface IHasOnlineID { /// <summary> /// The server-side ID representing this instance, i...
// 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 namespace osu.Game.Database { public interface IHasOnlineID { /// <summary> /// The server-side ID representing this instance, i...
mit
C#
7d221802a2fa0dc81f78204c644a6b861f23c746
Fix refresh tokens not working correctly
NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu-new,NeoAdonis/osu,naoey/osu,Nabile-Rahmani/osu,NeoAdonis/osu,nyaamara/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,Drezi126/osu,tacchinotacchi/osu,Frontear/osuKyzer,osu-RP/osu-RP,naoey/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,EVAST9919...
osu.Game/Online/API/OAuthToken.cs
osu.Game/Online/API/OAuthToken.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Globalization; using Newtonsoft.Json; using osu.Framework.Extensions; namespace osu.Game.Online.API { [Serializable] inte...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using System.Globalization; using Newtonsoft.Json; using osu.Framework.Extensions; namespace osu.Game.Online.API { [Serializable] inte...
mit
C#
e3f058d7dd4b622e03eb3574ee114d3f14281746
Scale that bad boy
jefking/King.Service.ServiceBus
Demo/King.Service.ServiceBus.WorkerRole/Scalable/ScalableQueue.cs
Demo/King.Service.ServiceBus.WorkerRole/Scalable/ScalableQueue.cs
namespace King.Service.WorkerRole.Scalable { using King.Azure.Data; using King.Service.Data; using King.Service.ServiceBus; using King.Service.ServiceBus.Queue; using System.Collections.Generic; public class ScalableQueue : QueueAutoScaler<Configuration> { public ScalableQueue(IQue...
namespace King.Service.WorkerRole.Scalable { using King.Azure.Data; using King.Service.Data; using King.Service.ServiceBus; using King.Service.ServiceBus.Queue; using System.Collections.Generic; public class ScalableQueue : QueueAutoScaler<Configuration> { public ScalableQueue(IQue...
mit
C#
d3ce82b88991f060d46f63f27e84edf789c6d920
Remove empty ctor
mrward/Pash,sillvan/Pash,JayBazuzi/Pash,ForNeVeR/Pash,mrward/Pash,sillvan/Pash,sburnicki/Pash,JayBazuzi/Pash,mrward/Pash,ForNeVeR/Pash,mrward/Pash,sburnicki/Pash,JayBazuzi/Pash,sburnicki/Pash,Jaykul/Pash,ForNeVeR/Pash,Jaykul/Pash,WimObiwan/Pash,sillvan/Pash,WimObiwan/Pash,ForNeVeR/Pash,JayBazuzi/Pash,sburnicki/Pash,Jay...
Source/Microsoft.PowerShell.Commands.Utility/SortObjectCommand.cs
Source/Microsoft.PowerShell.Commands.Utility/SortObjectCommand.cs
// Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/ using System.Management.Automation; namespace Microsoft.PowerShell.Commands { [Cmdlet("Sort", "Object")] public sealed class SortObjectCommand : OrderObjectBase { [Parameter] public SwitchParame...
// Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/ using System.Management.Automation; namespace Microsoft.PowerShell.Commands { [Cmdlet("Sort", "Object")] public sealed class SortObjectCommand : OrderObjectBase { [Parameter] public SwitchParame...
bsd-3-clause
C#
6a7594ba6b12ffa89b44b60c8473d5f7a31ea9f8
Fix to avoid IDE0060
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
ThScoreFileConverterTests/ViewModels/AboutWindowViewModelTests.cs
ThScoreFileConverterTests/ViewModels/AboutWindowViewModelTests.cs
using System; using System.IO.Packaging; using System.Threading; using System.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; using Prism.Services.Dialogs; using ThScoreFileConverter.Models; using ThScoreFileConverter.Properties; using ThScoreFileConverter.ViewModels; namespace ThScoreFileConverterTests....
using System; using System.IO.Packaging; using System.Threading; using System.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; using Prism.Services.Dialogs; using ThScoreFileConverter.Models; using ThScoreFileConverter.Properties; using ThScoreFileConverter.ViewModels; namespace ThScoreFileConverterTests....
bsd-2-clause
C#
cc32325f12761310ab544c1cb1acf38d7f628c31
Fix for #19, where a personal Page is returned and the ContentTypes enum doesn't have "personal" as a value. [release]
dapplo/Dapplo.Confluence
src/Dapplo.Confluence/Query/ContentTypes.cs
src/Dapplo.Confluence/Query/ContentTypes.cs
// Dapplo - building blocks for desktop applications // Copyright (C) 2016 Dapplo // // For more information see: http://dapplo.net/ // Dapplo repositories are hosted on GitHub: https://github.com/dapplo // // This file is part of Dapplo.Confluence // // Dapplo.Confluence is free software: you can redistribut...
// Dapplo - building blocks for desktop applications // Copyright (C) 2016 Dapplo // // For more information see: http://dapplo.net/ // Dapplo repositories are hosted on GitHub: https://github.com/dapplo // // This file is part of Dapplo.Confluence // // Dapplo.Confluence is free software: you can redistribut...
mit
C#
fc9a1a122f0c51a36dfa805bea74aa69bf71f579
bump build number
jjchiw/gelf4net,jjchiw/gelf4net
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("gelf4net")] [assembly: AssemblyFileVersion("2.0.3.3")] [assembly: AssemblyVersion("2.0.3.3")] [assembly: AssemblyCopyright("Copyright 2014")] [assemb...
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Security; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("gelf4net")] [assembly: AssemblyFileVersion("2.0.3.2")] [assembly: AssemblyVersion("2.0.3.2")] [assembly: AssemblyCopyright("Copyright 2014")] [assemb...
mit
C#
d032ba48bd9995acd12e829d56bfc084b1391ec3
Clean up dependency node class
Mike737377/NProcessPipe,Mike737377/NProcessPipe
src/NProcessPipe/DependencyAnalysis/Node.cs
src/NProcessPipe/DependencyAnalysis/Node.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NProcessPipe.DependencyAnalysis { public class Node<T> { public Node(T data) { Data = data; } public T Data { get; private set; } public bool Eq...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NProcessPipe.DependencyAnalysis { public class Node<T> { public Node(T data) { //Index = -1; Data = data; } public T Data { get; private set; ...
mit
C#
0822f81aeced1acc3dc1d892a4d6405d381ee00a
Clean up
alvivar/Hasten
Core/Data/SimpleRPG.cs
Core/Data/SimpleRPG.cs
 using UnityEngine; using System.Collections; using matnesis.TeaTime; [Reactive] public class SimpleRPG : MonoBehaviour { public IntReactiveProp hp = new IntReactiveProp(3); public IntReactiveProp stamina = new IntReactiveProp(3); public IntReactiveProp coins = new IntReactiveProp(0); }
 using UnityEngine; using System.Collections; using matnesis.TeaTime; [Reactive] public class SimpleRPG : MonoBehaviour { public IntReactiveProp hp = new IntReactiveProp(3); void Start() { // hp.Value = 9; } }
mit
C#
be2213c06b88c64dd4f25e5bef1e799484bf7789
Fix transaction version number was silently modified by NBitcoin in FundTransaction
NTumbleBit/NTumbleBit,DanGould/NTumbleBit
NTumbleBit.TumblerServer/Services/RPCServices/RPCWalletService.cs
NTumbleBit.TumblerServer/Services/RPCServices/RPCWalletService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NBitcoin; using NBitcoin.RPC; using Newtonsoft.Json.Linq; using NTumbleBit.PuzzlePromise; using NBitcoin.DataEncoders; #if !CLIENT namespace NTumbleBit.TumblerServer.Services.RPCServices #else namespace NTumbleBit.C...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NBitcoin; using NBitcoin.RPC; using Newtonsoft.Json.Linq; using NTumbleBit.PuzzlePromise; #if !CLIENT namespace NTumbleBit.TumblerServer.Services.RPCServices #else namespace NTumbleBit.Client.Tumbler.Services.RPCSer...
mit
C#
025264810eac18d604dad802ddecfff18052bd78
build fix, my bad
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.BusinessLayer/CommandHandlers/GameItemCommandHandler.cs
NinjaHive.BusinessLayer/CommandHandlers/GameItemCommandHandler.cs
using NinjaHive.Contract.Commands; using NinjaHive.Contract.Models; using NinjaHive.Core; using NinjaHive.Domain; using NinjaHive.Domain.Extensions; namespace NinjaHive.BusinessLayer.CommandHandlers { class GameItemCommandHandler : ICommandHandler<CreateEntityCommand<GameItemModel>>, ICommandHandl...
using NinjaHive.Contract.Commands; using NinjaHive.Contract.Models; using NinjaHive.Core; using NinjaHive.Domain; using NinjaHive.Domain.Extensions; namespace NinjaHive.BusinessLayer.CommandHandlers { class GameItemCommandHandler : ICommandHandler<CreateEntityCommand<GameItemModel>>, ICommandHandl...
apache-2.0
C#
1a8766a54b1c48ca437f8ec7b1db3e74c8a956ea
Update userHandle to be consistent in all examples instead of random
CodeBlueDev/CodeBlueDev.PluralSight.Core.Models
Source/CodeBlueDev.PluralSight.Core.Models/CourseExerciseFiles.cs
Source/CodeBlueDev.PluralSight.Core.Models/CourseExerciseFiles.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CourseExerciseFiles.cs" company="CodeBlueDev"> // All rights reserved. // </copyright> // <summary> // Represents a PluralSight Course's exercise files information. // </summa...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CourseExerciseFiles.cs" company="CodeBlueDev"> // All rights reserved. // </copyright> // <summary> // Represents a PluralSight Course's exercise files information. // </summa...
mit
C#
a170c9e1d8b8a7a6c802b0d7bebf64cfe4c85e43
Update EllipseDrawNode.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Modules/Renderer/SkiaSharp/Nodes/EllipseDrawNode.cs
src/Core2D/Modules/Renderer/SkiaSharp/Nodes/EllipseDrawNode.cs
#nullable enable using Core2D.Model.Renderer; using Core2D.Model.Renderer.Nodes; using Core2D.ViewModels.Shapes; using Core2D.ViewModels.Style; using SkiaSharp; using Core2D.Spatial; namespace Core2D.Modules.Renderer.SkiaSharp.Nodes; internal class EllipseDrawNode : DrawNode, IEllipseDrawNode { public EllipseSha...
#nullable enable using Core2D.Model.Renderer; using Core2D.Model.Renderer.Nodes; using Core2D.ViewModels.Shapes; using Core2D.ViewModels.Style; using SkiaSharp; using Core2D.Spatial; namespace Core2D.Modules.Renderer.SkiaSharp.Nodes; internal class EllipseDrawNode : DrawNode, IEllipseDrawNode { public EllipseSha...
mit
C#
ad5ddd775c1178231defeea1f79197909f808a41
Fix namespace gen bugs
kamsar/Leprechaun
src/Leprechaun/MetadataGeneration/StandardTypeNameGenerator.cs
src/Leprechaun/MetadataGeneration/StandardTypeNameGenerator.cs
using System; using System.Text.RegularExpressions; namespace Leprechaun.MetadataGeneration { /// <summary> /// Generates class names and relative namespaces for code generation types /// </summary> public class StandardTypeNameGenerator : ITypeNameGenerator { private readonly string _namespaceRoot; public ...
using System; using System.Text.RegularExpressions; namespace Leprechaun.MetadataGeneration { /// <summary> /// Generates class names and relative namespaces for code generation types /// </summary> public class StandardTypeNameGenerator : ITypeNameGenerator { private readonly string _namespaceRoot; public ...
mit
C#
83fa5388abbac6529ee488dfa0bf7eceb136d54e
add registration
edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,feedhenry/fh-dotnet-sdk,edewit/fh-dotnet-sdk
xamarin/FHXamarinIOSSDK/Services/Network/Push.cs
xamarin/FHXamarinIOSSDK/Services/Network/Push.cs
using System; using System.Threading.Tasks; using FHSDK.Services.Network; using AeroGear.Push; using Foundation; using UIKit; namespace FHSDK.Services { public class Push: PushBase { protected override Registration CreateRegistration() { if (UIDevice.CurrentDevice.CheckSystemVersion (8, 0)) { var notifi...
using System; using FHSDK.Services.Network; using AeroGear.Push; using UIKit; namespace FHSDK.Services { public class Push: PushBase { protected override Registration CreateRegistration() { if (UIDevice.CurrentDevice.CheckSystemVersion (8, 0)) { var notificationSettings = UIUserNotificationSettings.GetS...
apache-2.0
C#
cbf182b753c8d670b2e88303a52e2d99053f2837
Add extension method to translate text coordinates
daviwil/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer
Engine/Extensions.cs
Engine/Extensions.cs
using System; using System.Collections.Generic; using System.IO; using System.Management.Automation.Language; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions { // TODO Add documentation public static class Extensions { public static IEnumerable<string> GetLines(this string text) ...
using System.Collections.Generic; using System.IO; using System.Management.Automation.Language; namespace Microsoft.Windows.PowerShell.ScriptAnalyzer.Extensions { // TODO Add documentation public static class Extensions { public static IEnumerable<string> GetLines(this string text) { ...
mit
C#
8c92efe24662220144319ab9f23f3f5a8c7e74fe
Make Option<T>'s constructor internal.
mthamil/PlantUMLStudio,mthamil/PlantUMLStudio
Utilities/Option.cs
Utilities/Option.cs
using System; namespace Utilities { /// <summary> /// Provides a safe method for handling objects where it is expected that a value may not exist. /// This is similar to a Nullable type, but it is also usable with reference types using the Null /// Object Pattern. It is intended to serve the same function that F#...
using System; namespace Utilities { /// <summary> /// Provides a safe method for handling objects where it is expected that a value may not exist. /// This is similar to a Nullable type, but it is also usable with reference types using the Null /// Object Pattern. It is intended to serve the same function that F#...
apache-2.0
C#
6f6c4ac92b340fc74fa54c50d0399be9fd186550
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
1d73495388e375ed0572b1b35e334fd112526d9a
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
962d9830cbe00983c31e0de8f499772ebb23355c
Decrease number of socket instances in SocketPerformance_MultipleSocketClientAsync_LocalHostServerAsync
seanshpark/corefx,rubo/corefx,krytarowski/corefx,stone-li/corefx,wtgodbe/corefx,JosephTremoulet/corefx,cydhaselton/corefx,rubo/corefx,the-dwyer/corefx,dhoehna/corefx,twsouthwick/corefx,Jiayili1/corefx,ViktorHofer/corefx,stephenmichaelf/corefx,mazong1123/corefx,dotnet-bot/corefx,rubo/corefx,richlander/corefx,billwert/co...
src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs
src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.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.Net.Sockets.Tests; using System.Net.Test.Common; using Xunit; using Xunit.Abstractions; ...
// 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.Net.Sockets.Tests; using System.Net.Test.Common; using Xunit; using Xunit.Abstractions; ...
mit
C#
7b11f7e326ae96e8ee59f38093e72c44afe950e4
update helper
conversationai/conversationai-crowdsource,conversationai/conversationai-crowdsource,conversationai/conversationai-crowdsource,conversationai/conversationai-crowdsource,conversationai/conversationai-crowdsource
trollhunter-unity/Assets/ConversationAIHelper.cs
trollhunter-unity/Assets/ConversationAIHelper.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; // Helper class that connects to Conversation AI. public class ConversationAIHelper { System.Random random = new System.Random(); public interface Callback { void score(Score score); } // Query the ConversationAI. pub...
using System.Collections; using System.Collections.Generic; using UnityEngine; // Helper class that connects to Conversation AI. public class ConversationAIHelper { System.Random random = new System.Random(); public interface Callback { void score(Score score); } // Query the ConversationAI. pub...
apache-2.0
C#
355289fdd52788099bbe3b5bad88a55d76337f03
refactor to use IPropertySelector
Pondidum/Stronk,Pondidum/Stronk
src/Stronk/Extensions.cs
src/Stronk/Extensions.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Reflection; using Stronk.ValueConversion; namespace Stronk { public static class Extensions { public static void FromAppConfig(this object target) { var converters = new IValueConverter[] { new ...
using System; using System.Configuration; using System.Linq; using System.Reflection; using Stronk.ValueConversion; namespace Stronk { public static class Extensions { public static void FromAppConfig(this object target) { var converters = new IValueConverter[] { new LambdaValueConverter<Uri>(val => n...
lgpl-2.1
C#
b8717be0a48c4b6b0a4cd2cb408cf360da045f38
Clear CellsCollection on WorksheetInternals disposal to make it easier to GC to collect unused references
ClosedXML/ClosedXML,igitur/ClosedXML
ClosedXML/Excel/XLWorksheetInternals.cs
ClosedXML/Excel/XLWorksheetInternals.cs
using System; namespace ClosedXML.Excel { internal class XLWorksheetInternals : IDisposable { public XLWorksheetInternals( XLCellsCollection cellsCollection, XLColumnsCollection columnsCollection, XLRowsCollection rowsCollection, XLRanges mergedRanges ...
using System; namespace ClosedXML.Excel { internal class XLWorksheetInternals : IDisposable { public XLWorksheetInternals( XLCellsCollection cellsCollection, XLColumnsCollection columnsCollection, XLRowsCollection rowsCollection, XLRanges mergedRanges ...
mit
C#
aff095e94e5f462cd06bbbfc619af0e78a713393
Fix order of fields in Custom keyboard effect struct.
Sharparam/Colore,WolfspiritM/Colore,CoraleStudios/Colore,danpierce1/Colore
Colore/Razer/Keyboard/Effects/Custom.cs
Colore/Razer/Keyboard/Effects/Custom.cs
// --------------------------------------------------------------------------------------- // <copyright file="Custom.cs" company=""> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated...
// --------------------------------------------------------------------------------------- // <copyright file="Custom.cs" company=""> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated...
mit
C#
d249ebc68c2007a2921c9f28ed8ff04191d39ca7
Fix #10
ernado-x/X.Web.Sitemap
src/X.Web.Sitemap/Url.cs
src/X.Web.Sitemap/Url.cs
using System; using System.Xml.Serialization; namespace X.Web.Sitemap { [Serializable] [XmlRoot("url")] [XmlType("url")] public class Url { [XmlElement("loc")] public string Location { get; set; } [XmlIgnore] public DateTime TimeStamp { get; set; } /// <su...
using System; using System.Xml.Serialization; namespace X.Web.Sitemap { [Serializable] [XmlRoot("url")] [XmlType("url")] public class Url { [XmlElement("loc")] public string Location { get; set; } [XmlIgnore] public DateTime TimeStamp { get; set; } /// <su...
mit
C#
c7195d754ba3a89e96da44c5809e885c309c4137
Clean the web.config file from the repository after the node deployment is complete (removes the file if not part of the repository). This change fixes issue #308.
MavenRain/kudu,shibayan/kudu,shrimpy/kudu,juoni/kudu,sitereactor/kudu,puneet-gupta/kudu,EricSten-MSFT/kudu,uQr/kudu,sitereactor/kudu,shrimpy/kudu,duncansmart/kudu,kali786516/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,mauricionr/kudu,sitereactor/kudu,shrimpy/kudu,sitereactor/kudu,dev-enthusiast/kudu,juvchan/kudu,kali786516/...
Kudu.Core/Deployment/Generator/NodeSiteBuilder.cs
Kudu.Core/Deployment/Generator/NodeSiteBuilder.cs
using Kudu.Contracts.Settings; using Kudu.Core.SourceControl.Git; using System; using System.Globalization; using System.IO.Abstractions; using System.Threading.Tasks; namespace Kudu.Core.Deployment.Generator { public class NodeSiteBuilder : BaseBasicBuilder { public NodeSiteBuilder(IEnvironment envir...
using Kudu.Contracts.Settings; using System; using System.Globalization; using System.IO.Abstractions; namespace Kudu.Core.Deployment.Generator { public class NodeSiteBuilder : BaseBasicBuilder { public NodeSiteBuilder(IEnvironment environment, IDeploymentSettingsManager settings, IBuildPropertyProvid...
apache-2.0
C#
1dc06d0d6133eee5e5515ef693b146c9a7aebbc7
Rename connectionString to nameOrConnectionString.
xaviermonin/EntityCore
MetadataDatabase/DynamicEntity/EntityTypeCache.cs
MetadataDatabase/DynamicEntity/EntityTypeCache.cs
using EntityCore.DynamicEntity.Factory; using EntityCore.Entity; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; namespace EntityCore.DynamicEntity { static class EntityTypeCache { static private Dictionary<string, IEnumerable<Type>> typesByDatabase = new D...
using EntityCore.Entity; using System; using System.Collections.Generic; using System.Data.Common; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EntityCore.DynamicEntity { class EntityTypeCache { static private Dictionary<string, IEnumerable<Ty...
mit
C#
b0d265ddcbb03250a8ac0840a774786903b6820b
Fix title for generic report format
cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website,cake-contrib/Cake.Issues.Website
input/docs/report-formats/generic/index.cshtml
input/docs/report-formats/generic/index.cshtml
--- Title: Generic Description: Report format to create reports in any text based format (HTML, Markdown, ...). --- <p>@Html.Raw(Model.String(DocsKeys.Description))</p> <p> Support for creating reports in any text based format like HTML or Markdown is implemented in the <a href="https://www.nuget.org/packages/...
--- Title: HTML Description: Report format to create reports in any text based format (HTML, Markdown, ...). --- <p>@Html.Raw(Model.String(DocsKeys.Description))</p> <p> Support for creating reports in any text based format like HTML or Markdown is implemented in the <a href="https://www.nuget.org/packages/Cak...
mit
C#
2645b5e8b18403f22686b47633af4e9d1079ff1f
Fix namespace
IKT-Fag/IKT-Fag.no
IKTFag/Controllers/AccountController.cs
IKTFag/Controllers/AccountController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Mvc; // For more information on enablin...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Mvc; // For more information on enablin...
mit
C#
7439b92af4bc7bcc794584d1e986575114515078
Move usings inside namespace in StressTestRunner
Hammerstad/Moya
Moya.Runner/Runners/StressTestRunner.cs
Moya.Runner/Runners/StressTestRunner.cs
namespace Moya.Runner.Runners { using System; using System.Linq; using System.Reflection; using System.Threading; using Attributes; using Exceptions; using Extensions; using Models; public class StressTestRunner : IStressTestRunner { private int m_times = 1; pri...
using System.Linq; using Moya.Attributes; using Moya.Exceptions; using Moya.Extensions; namespace Moya.Runner.Runners { using System; using System.Reflection; using System.Threading; using Models; public class StressTestRunner : IStressTestRunner { private int m_times = 1; pri...
mit
C#
6cb3714299cbcb79eebb5d5291370fdad02fc4ad
update add action to add a blog with a supplied title and string added a get blog by slug
smeehan82/Hermes,smeehan82/Hermes,smeehan82/Hermes
src/Hermes.Web/Controllers/BlogsController.cs
src/Hermes.Web/Controllers/BlogsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.Logging; using Hermes.Content.Blogs; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace H...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Extensions.Logging; using Hermes.Content.Blogs; // For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace H...
mit
C#
9a330c4c56aeeda049cfccdd6a15f10c1966758c
Fix mania hold note heads hiding when frozen
peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu
osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteHead.cs
osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteHead.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Objects.Drawables; namespace osu.Game.Rulesets.Mania.Objects.Drawables { /// <summary> /// The head of a <see cref="DrawableHoldNote"/>. ...
// 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. namespace osu.Game.Rulesets.Mania.Objects.Drawables { /// <summary> /// The head of a <see cref="DrawableHoldNote"/>. /// </summary> public class Drawable...
mit
C#
a9a0e1339cd06e8d80292066f07680728d759627
Add API to extract resource from assembly
ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp
source/Htc.Vita.Core/Util/Extract.cs
source/Htc.Vita.Core/Util/Extract.cs
using System; using System.IO; using System.IO.Compression; using System.Reflection; using Htc.Vita.Core.Log; using Htc.Vita.Core.Runtime; namespace Htc.Vita.Core.Util { public static partial class Extract { public static bool FromFileToIcon( FileInfo fromFile, FileInfo...
using System.IO; using Htc.Vita.Core.Runtime; namespace Htc.Vita.Core.Util { public static partial class Extract { public static bool FromFileToIcon(FileInfo fromFile, FileInfo toIcon) { if (!Platform.IsWindows) { return false; } ...
mit
C#
1ef1e90939b417896bcd63330c1535e332d7f35b
Tweak debug message
SnpM/Lockstep-Framework
Core/Game/Agents/AgentControllerSystem/AgentControllerHelper.cs
Core/Game/Agents/AgentControllerSystem/AgentControllerHelper.cs
using UnityEngine; using Lockstep.Data; using FastCollections; namespace Lockstep { /// <summary> /// At the moment a simple script that automatically creates AgentControllers at the start of games /// </summary> public class AgentControllerHelper : BehaviourHelper { [SerializeField, DataCodeAttribute("AgentCo...
using UnityEngine; using Lockstep.Data; using FastCollections; namespace Lockstep { /// <summary> /// At the moment a simple script that automatically creates AgentControllers at the start of games /// </summary> public class AgentControllerHelper : BehaviourHelper { [SerializeField, DataCodeAttribute("AgentCo...
mit
C#
12c8d87c3a9db480eec75fc0410b1ac114ab7a60
implement DefaultDictionary
nerai/CMenu
src/ConsoleMenu/DefaultDictionary.cs
src/ConsoleMenu/DefaultDictionary.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { // todo codedoc public class DefaultDictionary<TKey, TValue> where TValue : class { private Dictionary<TKey, TValue> _D = new Dictionary<TKey, TValue> (); public TValue Default = null; public Defau...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleMenu { public class DefaultDictionary<TKey, TValue> where TValue : class { private Dictionary<TKey, TValue> _D; public TValue Default = null; public TValue this[TKey key] { get { TValue v; ...
mit
C#
7423500dc493c75031071dae28862c30152559c4
Upgrade version to 2.8.1
tangxuehua/enode,Aaron-Liu/enode
src/ENode/Properties/AssemblyInfo.cs
src/ENode/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("EN...
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("EN...
mit
C#
4815acdf45385d67c7aa4beaa8ceb667bc5ac6f6
Improve code style.
Faithlife/FaithlifeUtility
src/Faithlife.Utility/GzipUtility.cs
src/Faithlife.Utility/GzipUtility.cs
using System.IO; using System.IO.Compression; namespace Faithlife.Utility { /// <summary> /// Methods for working with gzip. /// </summary> public static class GzipUtility { /// <summary> /// Creates a compressing write stream. /// </summary> /// <param name="compressedWriteStream">The destination for the...
using System.IO; using System.IO.Compression; namespace Faithlife.Utility { /// <summary> /// Methods for working with gzip. /// </summary> public static class GzipUtility { /// <summary> /// Creates a compressing write stream. /// </summary> /// <param name="compressedWriteStream">The destination for the...
mit
C#
c173635100280eff34f442b22ed1181caf92f93d
Append numbers to created playlist names if taken
DanielCKennedy/XamMusic
XamMusic/XamMusic/XamMusic/Controls/CreatePlaylistPopup.xaml.cs
XamMusic/XamMusic/XamMusic/Controls/CreatePlaylistPopup.xaml.cs
using Rg.Plugins.Popup.Pages; using Rg.Plugins.Popup.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using XamMusic.Interfaces; using XamMusic.ViewModels; namespace XamMusic.Controls { [...
using Rg.Plugins.Popup.Pages; using Rg.Plugins.Popup.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using XamMusic.Interfaces; using XamMusic.ViewModels; namespace XamMusic.Controls { [...
mit
C#
0fc374f32ef8e9ba4a3761947e341cd9c1723360
Update response
martincostello/alexa-london-travel
src/LondonTravel.Skill/AlexaSkill.cs
src/LondonTravel.Skill/AlexaSkill.cs
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System; using System.Threading.Tasks; using Alexa.NET.Request; using Alexa.NET.Response; using Amazon.Lambda.Core; namespace MartinCostell...
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using System; using System.Threading.Tasks; using Alexa.NET.Request; using Alexa.NET.Response; using Amazon.Lambda.Core; namespace MartinCostell...
apache-2.0
C#
e233eb29634ca099dc038cd6d7a5a69542ea7b15
Set version 1.1.0
alexeykuptsov/testo,alexeykuptsov/testo
src/Testo/Properties/AssemblyInfo.cs
src/Testo/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("Te...
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("Te...
mit
C#
ce136ef8f72137e50ba0d25831929b4a024d3845
Fix compilation for WP8
sharpdx/SharpDX,sharpdx/SharpDX,RobyDX/SharpDX,mrvux/SharpDX,dazerdude/SharpDX,davidlee80/SharpDX-1,TechPriest/SharpDX,VirusFree/SharpDX,waltdestler/SharpDX,manu-silicon/SharpDX,Ixonos-USA/SharpDX,weltkante/SharpDX,mrvux/SharpDX,fmarrabal/SharpDX,TigerKO/SharpDX,VirusFree/SharpDX,davidlee80/SharpDX-1,mrvux/SharpDX,davi...
Source/SharpDX.MediaFoundation/ServiceProvider.cs
Source/SharpDX.MediaFoundation/ServiceProvider.cs
// Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modi...
mit
C#
cd3f1b91a9e412ae778efd26fa80381e5d28ce11
Fix issue with initial directory for game content
tomba/Toolkit,sharpdx/Toolkit,sharpdx/Toolkit
Source/Toolkit/SharpDX.Toolkit.Game/Desktop/GamePlatformDesktop.cs
Source/Toolkit/SharpDX.Toolkit.Game/Desktop/GamePlatformDesktop.cs
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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 without limitation the rights // to use, copy, modi...
mit
C#
3ce35a74bf5f6105e9fd5d21db3b3e4a974620b7
Update TokenFileAuth to use async read file method (#631)
kubernetes-client/csharp,kubernetes-client/csharp
src/KubernetesClient/Authentication/TokenFileAuth.cs
src/KubernetesClient/Authentication/TokenFileAuth.cs
using System; using System.Net.Http.Headers; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Rest; namespace k8s.Authentication { public class TokenFileAuth : ITokenProvider { private string token; internal string TokenFile { get; set; } internal D...
using System; using System.Net.Http.Headers; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Rest; namespace k8s.Authentication { public class TokenFileAuth : ITokenProvider { private string token; internal string TokenFile { get; set; } internal D...
apache-2.0
C#
6a761ae627cb27c219995868b6daccb07df1b87d
Improve code quality
mahedee/gen-bot-hrm,mahedee/gen-bot-hrm,mahedee/gen-bot-hrm
src/HRMBot/Dialogs/AboutPerson.cs
src/HRMBot/Dialogs/AboutPerson.cs
using HRMBot.Extensions; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using HRMBot.Repository; namespace HRMBot.Dialogs { public partial class RootLuisDialog { ...
using HRMBot.Extensions; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Web; using HRMBot.Repository; namespace HRMBot.Dialogs { public partial class RootLuisDialog { ...
mit
C#
50da2323372854f03b0066d8435616ef3cb0b61e
fix , RenderSurface.AttachDstBitmap
LayoutFarm/PixelFarm
src/PixelFarm/PixelFarm.Drawing/7_CpuBlitPainter/AggPainter/AggPainterPool.cs
src/PixelFarm/PixelFarm.Drawing/7_CpuBlitPainter/AggPainter/AggPainterPool.cs
//MIT, 2016-present, WinterDev using System; using PixelFarm.CpuBlit.VertexProcessing; namespace PixelFarm.CpuBlit { public static class AggPainterPool { public static TempContext<AggPainter> Borrow(MemBitmap bmp, out AggPainter painter) { if (!Temp<AggPainter>.IsInit()) ...
//MIT, 2016-present, WinterDev using System; using PixelFarm.CpuBlit.VertexProcessing; namespace PixelFarm.CpuBlit { public static class AggPainterPool { public static TempContext<AggPainter> Borrow(MemBitmap bmp, out AggPainter painter) { if (!Temp<AggPainter>.IsInit()) ...
bsd-2-clause
C#
0fabf2638aeea03b73e4638ec4ca1d5fa9b4ff6d
Update the version
pvdstel/cgppm
src/cgppm/Properties/AssemblyInfo.cs
src/cgppm/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 w...
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 w...
mpl-2.0
C#
a8b3856d19858dc5926215d4979d28fc7a393049
Test commit
mmkiwi/KwMusicTools,mmkiwi/KwMusicTools
UnitTests/UtilitiesTest.cs
UnitTests/UtilitiesTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using SpotifyWebApi; using System.Collections.Generic; namespace UnitTests { [TestClass] public class UtilitiesTest { [TestMethod] public void Query() { Assert.AreEqual(Utilities.GetQuery(new Dictionary<s...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using SpotifyWebApi; using System.Collections.Generic; namespace UnitTests { [TestClass] public class UtilitiesTest { [TestMethod] public void Query() { Assert.AreEqual(Utilities.GetQuery(new Dictionary<s...
apache-2.0
C#
c73e0baae1f836fc0aed9eb5a6db133ede406db2
Disable S3 bucket test
emgarten/Sleet,emgarten/Sleet
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 { // Disabled due to timing issues th...
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...
mit
C#
edc5bba360526f0eb6ed1b414981813d6e09e88e
Allow multiple fade in/outs in FadingMusic
plrusek/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare
Assets/Scripts/Audio/FadingMusic.cs
Assets/Scripts/Audio/FadingMusic.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FadingMusic : MonoBehaviour { #pragma warning disable 0649 [SerializeField] private bool fadeInFirst; [SerializeField] private float fadeSpeed; [SerializeField] private PrefsHelper.VolumeType type = Pr...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FadingMusic : MonoBehaviour { #pragma warning disable 0649 [SerializeField] private bool fadeInFirst; [SerializeField] private float fadeSpeed; [SerializeField] private PrefsHelper.VolumeType type = Pr...
mit
C#
6d7d88ae5b063098bade40ac98a61f276fa52364
Use previously defined extensions in ArrowKeyController
ethanmoffat/EndlessClient
EndlessClient/Controllers/ArrowKeyController.cs
EndlessClient/Controllers/ArrowKeyController.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Rendering.Character; using EOLib; using EOLib.Domain.Character; using EOLib.Domain.Extensions; namespace EndlessClient.Controllers { public class...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Rendering.Character; using EOLib; using EOLib.Domain.Character; namespace EndlessClient.Controllers { public class ArrowKeyController : IArrowKey...
mit
C#
b1f16b41bcad48e9005b6fe79564373c35f6bf8d
Update unit tests.
HealthCatalyst/Fabric.Platform
Fabric.Platform.UnitTests/Logging/RequestLoggingMiddlewareTests.cs
Fabric.Platform.UnitTests/Logging/RequestLoggingMiddlewareTests.cs
using System.Threading.Tasks; using Xunit; using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; using Fabric.Platform.Logging; using LibOwin; using Moq; using Serilog; namespace Fabric.Platform.UnitTests.Logging { public class RequestLoggingMiddlewareT...
using System.Threading.Tasks; using Xunit; using AppFunc = System.Func<System.Collections.Generic.IDictionary<string, object>, System.Threading.Tasks.Task>; using Fabric.Platform.Logging; using LibOwin; using Moq; using Serilog; namespace Fabric.Platform.UnitTests.Logging { public class RequestLoggingMiddlewareT...
apache-2.0
C#
0d7d07d9994fa3d4448a766b37e26a3cb9852169
Update IpAddressBlockerRule.cs
chrismckelt/WebMinder,chrismckelt/WebMinder,chrismckelt/WebMinder
Core/Rules/IpBlocker/IpAddressBlockerRule.cs
Core/Rules/IpBlocker/IpAddressBlockerRule.cs
using System; using System.Linq; using System.Web; using WebMinder.Core.Handlers; namespace WebMinder.Core.Rules.IpBlocker { public class IpAddressBlockerRule : AggregateRuleSetHandler<IpAddressRequest> { public TimeSpan? Duration { get; set; } public int? MaxAttemptsWithinDuration { get; set;...
using System; using System.Linq; using System.Web; using WebMinder.Core.Handlers; namespace WebMinder.Core.Rules.IpBlocker { public class IpAddressBlockerRule : AggregateRuleSetHandler<IpAddressRequest> { public TimeSpan? Duration { get; set; } public int? MaxAttemptsWithinDuration { get; set;...
apache-2.0
C#
08113cdee2b28d2ab8a77a69ad29bcc1f7c13909
Test sample DerivedControlUsageValidationTestControl - override property set to true
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Samples.Common/Controls/DerivedControlUsageValidationTestControl.cs
src/DotVVM.Samples.Common/Controls/DerivedControlUsageValidationTestControl.cs
using System.Collections.Generic; using DotVVM.Framework.Compilation.ControlTree.Resolved; using DotVVM.Framework.Compilation.Validation; namespace DotVVM.Samples.Common.Controls { public class DerivedControlUsageValidationTestControl : ControlUsageValidationTestControl { [ControlUsageValidator(Overri...
using System.Collections.Generic; using DotVVM.Framework.Compilation.ControlTree.Resolved; using DotVVM.Framework.Compilation.Validation; namespace DotVVM.Samples.Common.Controls { public class DerivedControlUsageValidationTestControl : ControlUsageValidationTestControl { [ControlUsageValidator(Overri...
apache-2.0
C#
afcdb1ddeb0e8e839969b32cc51511fbebe02afc
Bump version to 1.0.0.0-rc
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
mit
C#