commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
6d29ff092869b2e58ae983c8919bec93b2b6cc9b
osu.Game.Rulesets.Catch/Objects/BananaShower.cs
osu.Game.Rulesets.Catch/Objects/BananaShower.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; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catch.Objects { public class BananaSh...
// 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; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catch.Objects { public class BananaSh...
Fix banana showers not using cancellation token
Fix banana showers not using cancellation token
C#
mit
smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu
633199938fec473556cffd84ff2b952517af05b9
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
Move to SemVer for packaging
Move to SemVer for packaging
C#
mit
alfhenrik/ScriptCs.OctoKit
16fdfe3af834bcad78c5cfc51a51eb6cb8227c76
TwitchPlaysAssembly/Src/Commands/AlarmClockCommands.cs
TwitchPlaysAssembly/Src/Commands/AlarmClockCommands.cs
using System.Collections; using System.Reflection; using Assets.Scripts.Props; /// <summary>Commands for the alarm clock.</summary> public static class AlarmClockCommands { [Command(@"snooze")] public static IEnumerator Snooze(AlarmClock clock, string user, bool isWhisper) { var onField = typeof(AlarmClock).Get...
using System.Collections; using System.Reflection; using Assets.Scripts.Props; /// <summary>Commands for the alarm clock.</summary> public static class AlarmClockCommands { [Command("snooze")] public static IEnumerator Snooze(TwitchHoldable holdable, string user, bool isWhisper) => holdable.RespondToCommand(user,...
Fix Alarm clock snooze command
Fix Alarm clock snooze command
C#
mit
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
66fb79bafb75672c28d2c12dc563c9102663b0e0
SCPI/Extensions/ValueTypeExtensions.cs
SCPI/Extensions/ValueTypeExtensions.cs
namespace SCPI.Extensions { public static class ValueTypeExtensions { /// <summary> /// Checks that the value is within specified range /// </summary> /// <param name="value">Value to check</param> /// <param name="minValue">The inclusive lower bound</param> /// ...
using System.Globalization; namespace SCPI.Extensions { public static class ValueTypeExtensions { /// <summary> /// Checks that the value is within specified range /// </summary> /// <param name="value">Value to check</param> /// <param name="minValue">The inclusive low...
Add method to convert scientific notation string to float
Add method to convert scientific notation string to float
C#
mit
tparviainen/oscilloscope
fa5568ff9263a3c0f46acc8dc93d9bca6fc578b5
csharp/HOLMS.Platform/HOLMS.Platform/Support/ReservationTags/MigratedReservationTag.cs
csharp/HOLMS.Platform/HOLMS.Platform/Support/ReservationTags/MigratedReservationTag.cs
namespace HOLMS.Platform.Support.ReservationTags { class MigratedReservationTag : ReservationTagBase { protected override string[] GetDescriptorPartsAfterCategory() => new string[] { }; protected override string GetCategoryDescriptor() => MigratedBookingCategory; public overri...
namespace HOLMS.Platform.Support.ReservationTags { public class MigratedReservationTag : ReservationTagBase { protected override string[] GetDescriptorPartsAfterCategory() => new string[] { }; protected override string GetCategoryDescriptor() => MigratedBookingCategory; public...
Add public designator to tag
Add public designator to tag
C#
mit
PietroProperties/holms.platformclient.net
aaccc198d26895cb860b06a0a3d6cae2b000f45e
src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs
src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs
#if NET471 namespace Fixie.Tests.Execution { using System; using System.Configuration; using System.Linq; using System.Runtime.Versioning; using Assertions; public class ExecutionEnvironmentTests { public void ShouldEnableAccessToTestAssemblyConfigFile() { Confi...
#if NET471 namespace Fixie.Tests.Execution { using System; using System.Configuration; using System.Linq; using System.Runtime.Versioning; using Assertions; public class ExecutionEnvironmentTests { public void ShouldEnableAccessToTestAssemblyConfigFile() { Config...
Remove deprecated "quirks mode" test coverage: although this concept has been an issue for test frameworks, it was never really an issue for Fixie as Fixie has always targeted net45 or higher, and the problem involved only applied to end users whose projects really targeted 4.0. Also, the test was meant to catch regres...
Remove deprecated "quirks mode" test coverage: although this concept has been an issue for test frameworks, it was never really an issue for Fixie as Fixie has always targeted net45 or higher, and the problem involved only applied to end users whose projects really targeted 4.0. Also, the test was meant to catch regres...
C#
mit
fixie/fixie
84a3b221bf3fa5dd3a15fb8d35b673710b79e506
src/SFA.DAS.EmployerUsers.Web/Models/LoginViewModel.cs
src/SFA.DAS.EmployerUsers.Web/Models/LoginViewModel.cs
namespace SFA.DAS.EmployerUsers.Web.Models { public class LoginViewModel { public string EmailAddress { get; set; } public string Password { get; set; } public string OriginatingAddress { get; set; } public bool InvalidLoginAttempt { get; set; } public string R...
namespace SFA.DAS.EmployerUsers.Web.Models { public class LoginViewModel : ViewModelBase { public string EmailAddress { get; set; } public string Password { get; set; } public string OriginatingAddress { get; set; } public string ReturnUrl { get; set; } ...
Add error messages to model
Add error messages to model Implemented the ViewModelBase and added the Error Messags for the email address and password.
C#
mit
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
19fa3895cb9a903a7a222a41ebf02cb69aaf3036
NinjaNye.SearchExtensions.Tests/LevenshteinTests/LevenshteinDistancePerformanceTests.cs
NinjaNye.SearchExtensions.Tests/LevenshteinTests/LevenshteinDistancePerformanceTests.cs
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; using NinjaNye.SearchExtensions.Levenshtein; namespace NinjaNye.SearchExtensions.Tests.LevenshteinTests { [TestFixture] public class LevenshteinDistancePerformanceTests : BuildStringTestsBase { #if DEBUG // P...
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; using NinjaNye.SearchExtensions.Levenshtein; namespace NinjaNye.SearchExtensions.Tests.LevenshteinTests { #if DEBUG // Performance test will always fail in debug mode [Ignore] #endif [TestFixture] public class Levenshtei...
Update performance tests to use TestData attribute
Update performance tests to use TestData attribute
C#
mit
ninjanye/SearchExtensions
af55d3e4c6d4f0a036a7ce8336e326a0f6d505df
src/DoTheMath.Linear/Properties/AssemblyInfo.cs
src/DoTheMath.Linear/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("DoTheMath.Linear")] [assembly: AssemblyDescription("A bunch of stuff for Linear Algebra.")]
using System; using System.Reflection; [assembly: AssemblyTitle("DoTheMath.Linear")] [assembly: AssemblyDescription("A bunch of stuff for Linear Algebra.")] [assembly: CLSCompliant(true)]
Mark assembly as CLS compliant
Mark assembly as CLS compliant closes #3
C#
mit
aarondandy/DoTheMath.Linear
d6e38548096f5ae29bbed548bcccdd4668022daf
sources/Leak.Announce/Program.cs
sources/Leak.Announce/Program.cs
using System; using System.Threading; using Leak.Client.Tracker; using Leak.Common; using Pargos; namespace Leak.Announce { public static class Program { public static void Main(string[] args) { Options options = Argument.Parse<Options>(args); if (options.IsValid()) ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Leak.Client.Tracker; using Leak.Common; using Pargos; namespace Leak.Announce { public static class Program { public static void Main(string[] args) { Options options = Argument.Parse<Options>(args)...
Use options to decide if analyze is enabled.
Use options to decide if analyze is enabled.
C#
mit
amacal/leak
83e72796ece32a983af7edec856bf30a8bd3b574
src/Sakuno.Base/IO/StreamExtensions.cs
src/Sakuno.Base/IO/StreamExtensions.cs
using System.ComponentModel; using System.IO; namespace Sakuno.IO { [EditorBrowsable(EditorBrowsableState.Never)] public static class StreamExtensions { public static int FillBuffer(this Stream stream, byte[] buffer, int offset, int count) { var remaining = count; ...
using System; using System.ComponentModel; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Sakuno.IO { [EditorBrowsable(EditorBrowsableState.Never)] public static class StreamExtensions { public static int FillBuffer(this Stream stream, byte[] buffer, int offset, i...
Add value task to FillBuffer()
Add value task to FillBuffer()
C#
mit
KodamaSakuno/Sakuno.Base
e1ce546ca5c46d5d140d7e45910685da6092ffb0
src/Website/Startup.cs
src/Website/Startup.cs
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Ext...
// Copyright (c) Martin Costello, 2016. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.Website { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Ext...
Use type/attribute for user secrets
Use type/attribute for user secrets Use type to configure user secrets instead of hard-coded string.
C#
apache-2.0
martincostello/website,martincostello/website,martincostello/website,martincostello/website
a7742d61d9469d4a1da3ea592f5d84d7c23d60b6
src/Microsoft.Diagnostics.Runtime/MemoryReadException.cs
src/Microsoft.Diagnostics.Runtime/MemoryReadException.cs
using System.IO; namespace Microsoft.Diagnostics.Runtime { /// <summary> /// Thrown when we fail to read memory from the target process. /// </summary> public class MemoryReadException : IOException { /// <summary> /// The address of memory that could not be read. /// </sum...
using System.IO; namespace Microsoft.Diagnostics.Runtime { /// <summary> /// Thrown when we fail to read memory from the target process. /// </summary> public class MemoryReadException : IOException { /// <summary> /// The address of memory that could not be read. /// </sum...
Fix missing string format parameter
Fix missing string format parameter
C#
mit
Microsoft/clrmd,cshung/clrmd,cshung/clrmd,tomasr/clrmd,Microsoft/clrmd
e096628e3d9c67b5f80c5ebfa53e5154bd5d042b
DotNetRu.AzureService/Controllers/DiagnosticsController.cs
DotNetRu.AzureService/Controllers/DiagnosticsController.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; namespace DotNetRu.Azure { [Route("diagnostics")] public class DiagnosticsController : ControllerBase { private readonly ILogger logger; public D...
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using DotNetRu.AzureService; namespace DotNetRu.Azure { [Route("diagnostics")] public class DiagnosticsController : ControllerBase { private readonly ILogger logger; private readonly RealmSettings realmSettings; pr...
Add method to get service settings
Add method to get service settings
C#
mit
DotNetRu/App,DotNetRu/App
91b3b791ff79621a48e56aa3df2553eca8a88936
Installer/Windows/UpdateVersion/Properties/AssemblyInfo.cs
Installer/Windows/UpdateVersion/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("UpdateVersion")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [asse...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("UpdateVersion")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assem...
Fix to avoid unwanted updates after builds
Fix to avoid unwanted updates after builds
C#
lgpl-2.1
sitofabi/duplicati,sitofabi/duplicati,duplicati/duplicati,duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,sitofabi/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati
961bea5cd3577eba03f5be8ca172c0d0ea6851b1
Source/Lib/TraktApiSharp/Objects/Get/People/TraktPerson.cs
Source/Lib/TraktApiSharp/Objects/Get/People/TraktPerson.cs
namespace TraktApiSharp.Objects.Get.People { using Extensions; using Newtonsoft.Json; using System; public class TraktPerson { [JsonProperty(PropertyName = "name")] public string Name { get; set; } [JsonProperty(PropertyName = "ids")] public TraktPersonIds Ids { ge...
namespace TraktApiSharp.Objects.Get.People { using Extensions; using Newtonsoft.Json; using System; /// <summary>A Trakt person.</summary> public class TraktPerson { /// <summary>Gets or sets the person name.</summary> [JsonProperty(PropertyName = "name")] public string...
Add get best id method for person.
Add get best id method for person.
C#
mit
henrikfroehling/TraktApiSharp
cde429c47f66391942b4fa939275dc72240b01aa
tests/Meziantou.Framework.ResxSourceGenerator.GeneratorTests/ResxGeneratorTests.cs
tests/Meziantou.Framework.ResxSourceGenerator.GeneratorTests/ResxGeneratorTests.cs
#pragma warning disable CA1304 #pragma warning disable MA0011 using System.Globalization; using TestUtilities; using Xunit; namespace Meziantou.Framework.ResxSourceGenerator.GeneratorTests; public class ResxGeneratorTests { [RunIfFact(globalizationMode: FactInvariantGlobalizationMode.Disabled)] public void F...
#pragma warning disable CA1304 #pragma warning disable MA0011 using System.Globalization; using TestUtilities; using Xunit; namespace Meziantou.Framework.ResxSourceGenerator.GeneratorTests; public class ResxGeneratorTests { [RunIfFact(globalizationMode: FactInvariantGlobalizationMode.Disabled)] public void F...
Validate nullable attributes are set
Validate nullable attributes are set
C#
mit
meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework
da864799e352775e4304a5d5543d61f52a2eb111
src/Diploms.WebUI/Controllers/DepartmentsController.cs
src/Diploms.WebUI/Controllers/DepartmentsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Diploms.Core; namespace Diploms.WebUI.Controllers { [Route("api/[controller]")] public class DepartmentsController : Controller { [HttpGet("")] public IEnum...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Diploms.Core; namespace Diploms.WebUI.Controllers { [Route("api/[controller]")] public class DepartmentsController : Controller { private readonly IRepository<Depar...
Add possibility to add department and DepartmentAddDto
Add possibility to add department and DepartmentAddDto
C#
mit
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
beaefd3cb1f82cc5670610f0b61469b4a8a6320f
src/NHibernate.Test/TypesTest/BinaryBlobTypeFixture.cs
src/NHibernate.Test/TypesTest/BinaryBlobTypeFixture.cs
using System; using NHibernate; using NUnit.Framework; namespace NHibernate.Test.TypesTest { /// <summary> /// Summary description for BinaryBlobTypeFixture. /// </summary> [TestFixture] public class BinaryBlobTypeFixture : TypeFixtureBase { protected override string TypeName { get { return "BinaryBlob"...
using System; using NHibernate; using NUnit.Framework; namespace NHibernate.Test.TypesTest { /// <summary> /// Summary description for BinaryBlobTypeFixture. /// </summary> [TestFixture] public class BinaryBlobTypeFixture : TypeFixtureBase { protected override string TypeName { get { return "BinaryBlob"...
Test for large binary blobs (more than 8000 bytes), just to be sure it works.
Test for large binary blobs (more than 8000 bytes), just to be sure it works. SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@2185
C#
lgpl-2.1
livioc/nhibernate-core,hazzik/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDela...
1f248b90ccef86e9030fe1001f085f1222b571cf
osu.Framework/Configuration/FrameworkDebugConfig.cs
osu.Framework/Configuration/FrameworkDebugConfig.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.Runtime; using osu.Framework.Caching; namespace osu.Framework.Configuration { public class FrameworkDebugConfigManager : IniConfigManager<DebugSetting>...
// 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.Runtime; using osu.Framework.Caching; namespace osu.Framework.Configuration { public class FrameworkDebugConfigManager : IniConfigManager<DebugSetting>...
Set FTBPass to true by default
Set FTBPass to true by default
C#
mit
peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework
a31b1095c7208754449fb6a6ffe1a2c572db84bb
tests/hello-world/hello-world.cs
tests/hello-world/hello-world.cs
public static unsafe class Program { public static extern void* malloc(ulong size); public static extern void free(void* data); public static extern int puts(byte* str); public static int Main() { byte* str = (byte*)malloc(3); *str = (byte)'h'; *(str + 1) = (byte)'i'; ...
public static unsafe class Program { public static extern void* malloc(ulong size); public static extern void free(void* data); public static extern int puts(byte* str); public static void FillString(byte* str) { *str = (byte)'h'; *(str + 1) = (byte)'i'; *(str + 2) = (byte)'...
Tweak the hello world test
Tweak the hello world test
C#
mit
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
387ef550ed6071d6113ffe719f50ed5e03a45e85
resharper/src/resharper-unity/Json/Daemon/Stages/Resolve/UnresolvedReferenceErrorHandler.cs
resharper/src/resharper-unity/Json/Daemon/Stages/Resolve/UnresolvedReferenceErrorHandler.cs
using System.Collections.Generic; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.Json.Daemon.Errors; using JetBrains.ReSharper.Plugins.Unity.Json.Psi.Resolve; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JSon; using JetBrains.ReSharper...
using System.Collections.Generic; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.Json.Daemon.Errors; using JetBrains.ReSharper.Plugins.Unity.Json.Psi.Resolve; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.JavaScript.LanguageImpl.JSon; using JetBrains.ReSharper...
Disable error for invalid asmdef reference
Disable error for invalid asmdef reference Fixes #647. Fixes RIDER-17700
C#
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
2c4f71316f208dae8039a0f61e60eea56e867409
Digirati.IIIF/Model/Types/ImageApi/ImageServiceProfile.cs
Digirati.IIIF/Model/Types/ImageApi/ImageServiceProfile.cs
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types.ImageApi { public class ImageServiceProfile : IProfile { [JsonProperty(Order = 1, PropertyName = "formats")] public string[] Formats { get; set; } [JsonProperty(Order = 2, PropertyName = "qualities")] public string[] Q...
using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types.ImageApi { public class ImageServiceProfile : IProfile { [JsonProperty(Order = 1, PropertyName = "formats")] public string[] Formats { get; set; } [JsonProperty(Order = 2, PropertyName = "qualities")] public string[] Q...
Add maxWidth Image API 2.1 property
Add maxWidth Image API 2.1 property
C#
mit
digirati-co-uk/iiif-model,Riksarkivet/iiif-model
4de9aad469f44ebb60573881b61d1abade9b5108
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
resharper/resharper-unity/src/Unity/CSharp/Psi/CodeStyle/AdditionalFileLayoutPatternProvider.cs
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.Core.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; ...
using System; using JetBrains.Application; using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.CSharp.FileLayout; using JetBrains.ReSharper.Plugins.Unity.Core.ProjectModel; using JetBrains.ReSharper.Psi.CSharp.CodeStyle; using JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.MemberReordering; ...
Fix unity plugin after CodeCleanupModel refactoring
Fix unity plugin after CodeCleanupModel refactoring
C#
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
cfd1561946a4df25b2653187728eff7333ef195d
PreMailer.Net/PreMailer.Net/Sources/LinkTagCssSource.cs
PreMailer.Net/PreMailer.Net/Sources/LinkTagCssSource.cs
using System; using System.Linq; using System.Net; using AngleSharp.Dom; using PreMailer.Net.Downloaders; namespace PreMailer.Net.Sources { public class LinkTagCssSource : ICssSource { private readonly Uri _downloadUri; private string _cssContents; public LinkTagCssSource(IElement node, Uri baseUri) { /...
using System; using System.Linq; using System.Net; using AngleSharp.Dom; using PreMailer.Net.Downloaders; namespace PreMailer.Net.Sources { public class LinkTagCssSource : ICssSource { private readonly Uri _downloadUri; private string _cssContents; public LinkTagCssSource(IElement node, Uri baseUri) { /...
Add debug info to troubleshoot failing test
Add debug info to troubleshoot failing test
C#
mit
milkshakesoftware/PreMailer.Net
d25527f6349dcd99958ab6c4ed1f79db6a7c82a2
src/Firehose.Web/Authors/KevinMarquette.cs
src/Firehose.Web/Authors/KevinMarquette.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 KevinMarquette : IAmAMicrosoftMVP { public string FirstName => "Kevin"; public string Last...
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 KevinMarquette : IAmAMicrosoftMVP { public string FirstName => "Kevin"; public string Last...
Move Kevin's blog to his new domain at powershellexplained.com
Move Kevin's blog to his new domain at powershellexplained.com
C#
mit
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
719ff8b0314f290f372cde9c2c64f8b0ceeab973
src/SFA.DAS.EmployerUsers.Web/Authentication/IdsContext.cs
src/SFA.DAS.EmployerUsers.Web/Authentication/IdsContext.cs
using System; using System.Text; using System.Web.Security; using Newtonsoft.Json; using NLog; namespace SFA.DAS.EmployerUsers.Web.Authentication { public class IdsContext { public string ReturnUrl { get; set; } public string ClientId { get; set; } public static string CookieName => "IDS"...
using System; using System.Text; using System.Web.Security; using Newtonsoft.Json; using NLog; namespace SFA.DAS.EmployerUsers.Web.Authentication { public class IdsContext { public string ReturnUrl { get; set; } public string ClientId { get; set; } public static string CookieName => "IDS"...
Return new IDSContext if data is null
Return new IDSContext if data is null
C#
mit
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
52c25d5081232d7610d4ae38db2f1841e509e67a
AspNetCore.RouteAnalyzer.SampleWebProject/Startup.cs
AspNetCore.RouteAnalyzer.SampleWebProject/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace AspNetCore.RouteAnalyzer.SampleWebProject { pu...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System.Diagnostics; namespace AspNetCore.RouteAnalyzer...
Print all route information to debug stream (Visual Studio Output panel).
Sample: Print all route information to debug stream (Visual Studio Output panel).
C#
mit
kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer
9a2fb8ca6c26daf8cb926f8744cc550496e7e5d7
osu.Game.Tournament.Tests/Screens/TestSceneSeedingScreen.cs
osu.Game.Tournament.Tests/Screens/TestSceneSeedingScreen.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Tournament.Models; using osu.Game.Tournament.Screens.TeamIntro; namespace osu.Game.Tournamen...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Tournament.Models; usi...
Add test coverage for null mod on seeding screen
Add test coverage for null mod on seeding screen
C#
mit
peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu
ce367bcc421f8865a4ef249767100667968a8bd9
osu.Game/Overlays/Settings/Sections/Debug/GCSettings.cs
osu.Game/Overlays/Settings/Sections/Debug/GCSettings.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.Runtime; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; namespace osu.Game.Overlays.Settin...
// 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.Runtime; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; namespace osu.Game.Overlays.Settin...
Fix invalid GC latency mode being set
Fix invalid GC latency mode being set
C#
mit
ZLima12/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu-new,pepp...
b94bcd07e302a20e171ac36ec82b537097acf241
Alexa.NET/Response/Response.cs
Alexa.NET/Response/Response.cs
using System; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProper...
using System; using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProper...
Make _shouldEndSession false rather than null
Make _shouldEndSession false rather than null
C#
mit
stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet
187209bd1a772bd47052cad5ac7309b7aedcf6f3
PROProtocol/Language.cs
PROProtocol/Language.cs
using System.Collections.Generic; using System.Xml; namespace PROProtocol { public class Language { private Dictionary<string, string> _texts; public Language() { XmlDocument xml = new XmlDocument(); xml.Load("Resources/Lang.xml"); _t...
using System.Collections.Generic; using System.IO; using System.Xml; namespace PROProtocol { public class Language { private const string FileName = "Resources/Lang.xml"; private Dictionary<string, string> _texts = new Dictionary<string, string>(); public Language() ...
Make the language XML file optional
Make the language XML file optional
C#
mit
MeltWS/proshine,bobus15/proshine,Silv3rPRO/proshine
ef7cf7dde328a43758faeca07057595c0eb92a8d
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(); ...
Use explicit type to cast back to SampleType.
Use explicit type to cast back to SampleType. Using var on the `sut.Build()` line will always result in result being of type `dynamic`, which we don't want. We need to explicitly specify the type of the `result` variable to fix intellisense and compilation.
C#
apache-2.0
alastairs/BobTheBuilder,fffej/BobTheBuilder
54794ffd5094bfc87b204182632b394d09eb7dc2
resharper/resharper-unity/test/src/AnnotationsLoader.cs
resharper/resharper-unity/test/src/AnnotationsLoader.cs
using System; using System.Collections.Generic; using JetBrains.Application; using JetBrains.Diagnostics; using JetBrains.Metadata.Utils; using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations; using JetBrains.TestFramework.Utils; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.Tests { ...
using System; using System.Collections.Generic; using JetBrains.Application; using JetBrains.Diagnostics; using JetBrains.Metadata.Utils; using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations; using JetBrains.TestFramework.Utils; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.Tests { ...
Fix path to annotations in tests
Fix path to annotations in tests
C#
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
84e5d348c17551f4b013d52c99308626084c78bd
Espera.Network/NetworkPlaylist.cs
Espera.Network/NetworkPlaylist.cs
using System.Collections.ObjectModel; namespace Espera.Network { public class NetworkPlaylist { public int? CurrentIndex { get; set; } public string Name { get; set; } public int? RemainingVotes { get; set; } public ReadOnlyCollection<NetworkSong> Songs { get; set; } } }
using System.Collections.ObjectModel; namespace Espera.Network { public class NetworkPlaylist { public int? CurrentIndex { get; set; } public string Name { get; set; } public NetworkPlaybackState PlaybackState { get; set; } public int? RemainingVotes { get; set; } p...
Add a playback state property to the playlist
Add a playback state property to the playlist
C#
mit
flagbug/Espera.Network
1ba392cbd559ee85b25a811b35d56f8eccd23281
JoinRpg.Portal/Controllers/Comments/CommentRedirectHelper.cs
JoinRpg.Portal/Controllers/Comments/CommentRedirectHelper.cs
using JoinRpg.DataModel; using JoinRpg.Domain; using Microsoft.AspNetCore.Mvc; namespace JoinRpg.Portal.Controllers.Comments { internal static class CommentRedirectHelper { public static ActionResult RedirectToDiscussion(IUrlHelper Url, CommentDiscussion discussion, int? commentId = null) { ...
using JoinRpg.DataModel; using JoinRpg.Domain; using Microsoft.AspNetCore.Mvc; namespace JoinRpg.Portal.Controllers.Comments { internal static class CommentRedirectHelper { public static ActionResult RedirectToDiscussion(IUrlHelper Url, CommentDiscussion discussion, int? commentId = null) { ...
Fix bug about not redirecting to forums
Fix bug about not redirecting to forums
C#
mit
leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net
57736d7d4de0fc1a872b8f46d0a5ec91ea336478
src/ResourceManagement/CognitiveServices/Microsoft.Azure.Management.CognitiveServices/Properties/AssemblyInfo.cs
src/ResourceManagement/CognitiveServices/Microsoft.Azure.Management.CognitiveServices/Properties/AssemblyInfo.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 applicable la...
// // 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 applicable la...
Revert assembly version and assembly file version back to 0.2.0.0
Revert assembly version and assembly file version back to 0.2.0.0 Revert assembly version and assembly file version back to 0.2.0.0 as suggested.
C#
mit
yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,stankovski/azure-sdk-for-net,olydis/azure-sdk-for-net,jamestao/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jamestao/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,hyonholee/azure-sdk-for-...
eee58224dfb27060b9dee9cab3fe5d3d10f18f43
src/Nest/Indices/Analyze/AnalyzeToken.cs
src/Nest/Indices/Analyze/AnalyzeToken.cs
using Newtonsoft.Json; namespace Nest { [JsonObject] public class AnalyzeToken { [JsonProperty(PropertyName = "token")] public string Token { get; internal set; } [JsonProperty(PropertyName = "type")] public string Type { get; internal set; } //TODO change to long in 6.0 [JsonProperty(PropertyName = ...
using System; using Newtonsoft.Json; namespace Nest { [JsonObject] public class AnalyzeToken { [JsonProperty("token")] public string Token { get; internal set; } [JsonProperty("type")] public string Type { get; internal set; } //TODO change to long in 6.0... RC: (this is int in Elasticsearch codebase) ...
Introduce EndOffset to Analyze token
Introduce EndOffset to Analyze token remove misspelt EndPostion (cherry picked from commit 5e4e0e5f357edbc5c8cef3630d2f4fb40a9066d6)
C#
apache-2.0
adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net
630f2a0b96d43cdb253aff706cd4c1433d6c4e2a
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/GetApprenticeshipsQueryValidator.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/GetApprenticeshipsQueryValidator.cs
using System; using System.Linq; using FluentValidation; using SFA.DAS.CommitmentsV2.Models; namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships { public class GetApprenticeshipsQueryValidator : AbstractValidator<GetApprenticeshipsQuery> { public GetApprenticeshipsQueryValidator() ...
using System; using System.Linq; using FluentValidation; using SFA.DAS.CommitmentsV2.Models; namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships { public class GetApprenticeshipsQueryValidator : AbstractValidator<GetApprenticeshipsQuery> { public GetApprenticeshipsQueryValidator() ...
Remove Restrictions on search endpoint
Remove Restrictions on search endpoint
C#
mit
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
0a1d117d92bb71452ff7c4763a7ca042fe46062f
Portal.CMS.Web/Areas/Builder/Views/Container/_Edit.cshtml
Portal.CMS.Web/Areas/Builder/Views/Container/_Edit.cshtml
@model Portal.CMS.Web.Areas.Builder.ViewModels.Container.EditViewModel @{ Layout = ""; } <script type="text/javascript"> function Delete() { $('#@Model.ContainerElementId').remove(); var dataParams = { "pageSectionId": @Model.PageSectionId , "componentId": "@Model.ContainerElementId", "__...
@model Portal.CMS.Web.Areas.Builder.ViewModels.Container.EditViewModel @{ Layout = ""; } <script type="text/javascript"> function Delete() { $('#@Model.ContainerElementId').remove(); var dataParams = { "pageSectionId": @Model.PageSectionId , "componentId": "@Model.ContainerElementId", "__...
Remove form Fields from Container Edit
Remove form Fields from Container Edit
C#
mit
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
5864dc0f815655f573523d90178f3e7c093c544e
Assets/Scripts/Player/PlayerMovement.cs
Assets/Scripts/Player/PlayerMovement.cs
using UnityEngine; using System.Collections.Generic; public class PlayerMovement { private const float Gravity = -1.0f; public bool IsOnGround { get; set; } public Vector3 Update() { if (IsOnGround) { return Vector2.zero; } return new Vector3(0....
using UnityEngine; using System.Collections.Generic; public class PlayerMovement { private const float Gravity = -1.0f; public bool IsOnGround { get; set; } private Vector3 currentVelocity; public Vector3 Update() { if (IsOnGround) { return Vector2.zero; ...
Test for accelerating whilst falling now passes
Test for accelerating whilst falling now passes
C#
mit
Pyroka/TddPlatformer,Pyroka/TddPlatformer
53a6932e924c3a9d202eaaadc934692c91f9257e
Eve.NET.Net4/Properties/AssemblyInfo.cs
Eve.NET.Net4/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("Eve.NET.Net4")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [ass...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("Eve.NET.Net4")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [ass...
Align .NET4 assembly version with main project
Align .NET4 assembly version with main project
C#
bsd-3-clause
nicolaiarocci/Eve.NET
e870ac6456c334577f4cc57fff54305179cae041
osu.Game/Screens/Edit/Setup/ColoursSection.cs
osu.Game/Screens/Edit/Setup/ColoursSection.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Graphics.UserInterfaceV2; using osu.Game...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Graphics.UserInterfaceV2; using osu.Game...
Fix code quality for CI
Fix code quality for CI
C#
mit
peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu
27e2bcbb1c14f866bd755832e1a1a4b5c1cf8d94
UnityEngineAnalyzer/UnityEngineAnalyzer.Test/Coroutines/DoNotUseCoroutinesAnalyzerTests.cs
UnityEngineAnalyzer/UnityEngineAnalyzer.Test/Coroutines/DoNotUseCoroutinesAnalyzerTests.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Text; using NUnit.Framework; using RoslynNUnitLight; using UnityEngineAnalyzer.Coroutines; namespace UnityEngineAnalyzer.Test.Coroutines { [TestFixture] sealed class DoNotUseCoroutinesAnalyzerTests : AnalyzerT...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Text; using NUnit.Framework; using RoslynNUnitLight; using UnityEngineAnalyzer.Coroutines; namespace UnityEngineAnalyzer.Test.Coroutines { [TestFixture] sealed class DoNotUseCoroutinesAnalyzerTests : AnalyzerT...
Fix wrong id used in DoNotUseCoroutines test
Fix wrong id used in DoNotUseCoroutines test
C#
mit
Kasperki/UnityEngineAnalyzer,Kasperki/UnityEngineAnalyzer
c84b4707e3cf92d3c85b7d07ae36985e25e0fd8d
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Identity/IdentityService.cs
src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Identity/IdentityService.cs
using IdentityModel.Client; using System; using System.Collections.Generic; namespace eShopOnContainers.Core.Services.Identity { public class IdentityService : IIdentityService { public string CreateAuthorizationRequest() { // Create URI to authorization endpoint var au...
using IdentityModel.Client; using System; using System.Collections.Generic; namespace eShopOnContainers.Core.Services.Identity { public class IdentityService : IIdentityService { public string CreateAuthorizationRequest() { // Create URI to authorization endpoint var au...
Add locations to allow scopes to dictionary
Add locations to allow scopes to dictionary
C#
mit
dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopO...
3ed3fcf315ab1ffc5040c8cb39a05548aa7cc731
Engine/Game/Actor/NavMeshAgentFollowController.cs
Engine/Game/Actor/NavMeshAgentFollowController.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Engine.Game.Actor { public class NavMeshAgentFollowController : MonoBehaviour { public NavMeshAgent agent; public Transform targetFollow; // Use this for initialization ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Engine.Game.Actor { public class NavMeshAgentFollowController : MonoBehaviour { public NavMeshAgent agent; public Transform targetFollow; // Use this for initialization private ...
Update ai/navmesh agents to stop pursuing during content display state.
Update ai/navmesh agents to stop pursuing during content display state.
C#
mit
drawcode/game-lib-engine
bdd6df1a23292d8adb7377a61ce99591ee924daf
MediaManager/Notifications/NotificationManagerBase.cs
MediaManager/Notifications/NotificationManagerBase.cs
using System; using System.Collections.Generic; using System.Text; namespace MediaManager { public abstract class NotificationManagerBase : INotificationManager { protected NotificationManagerBase() { Enabled = true; } private bool _enabled = true; ...
using System; using System.Collections.Generic; using System.Text; namespace MediaManager { public abstract class NotificationManagerBase : INotificationManager { protected NotificationManagerBase() { Enabled = true; ShowPlayPauseControls = true; ShowNavigat...
Call ShowPlayPauseControls and ShowNavigationControls setters in base constructor
Call ShowPlayPauseControls and ShowNavigationControls setters in base constructor
C#
mit
martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager
0887b5777041555334c4a14a86af161427e7d7f4
src/LearnWordsFast.API/Controllers/TrainingController.cs
src/LearnWordsFast.API/Controllers/TrainingController.cs
using LearnWordsFast.API.Exceptions; using LearnWordsFast.API.Services; using LearnWordsFast.API.ViewModels.TrainingController; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace LearnWordsFast.API.Controllers { [Route("api/Training")] [Auth...
using LearnWordsFast.API.Exceptions; using LearnWordsFast.API.Services; using LearnWordsFast.API.ViewModels.TrainingController; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace LearnWordsFast.API.Controllers { [Route("api/Training")] [Auth...
Update Authorize attribute to use Bearer policy
Update Authorize attribute to use Bearer policy
C#
mit
drussilla/LearnWordsFast,drussilla/LearnWordsFast
316948064199493c6823bf97d4493c0869983ede
WinRSJS.Runtime/Collections.cs
WinRSJS.Runtime/Collections.cs
using System; using System.Collections.Generic; namespace WinRSJS { public sealed class Collections { static public object /* IMap<?, ?> */ createMap(string keyTypeName, string valTypeName) { Type typeKey = Type.GetType(keyTypeName); if (typeKey == null) ...
using System; using System.Collections.Generic; namespace WinRSJS { public sealed class Collections { static public object /* IMap<?, ?> */ CreateMap(string keyTypeName, string valTypeName) { Type typeKey = Type.GetType(keyTypeName); if (typeKey == null) ...
Use Pascal casing for method name
Use Pascal casing for method name
C#
apache-2.0
nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS
2b8c4423d732a9d6e856f0e7736a5a6dce1b7e78
PackageExplorer/MefServices/ImageFileViewer.cs
PackageExplorer/MefServices/ImageFileViewer.cs
using System.IO; using System.Windows.Controls; using System.Windows.Media.Imaging; using NuGetPackageExplorer.Types; namespace PackageExplorer { [PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif")] internal class ImageFileViewer : IPackageContentViewer { public object GetView(st...
using System.IO; using System.Windows.Controls; using System.Windows.Media.Imaging; using NuGetPackageExplorer.Types; namespace PackageExplorer { [PackageContentViewerMetadata(99, ".jpg", ".gif", ".png", ".tif", ".bmp", ".ico")] internal class ImageFileViewer : IPackageContentViewer { public o...
Add more supported image extensions to the image viewer plugin.
Add more supported image extensions to the image viewer plugin.
C#
mit
campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
ea1a210a3bd4e7ea24fa5610fcead0007762934c
AnimalHope/AnimalHope.Web/Global.asax.cs
AnimalHope/AnimalHope.Web/Global.asax.cs
using AnimalHope.Web.Infrastructure.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace AnimalHope.Web { public class MvcApplication : System.Web.HttpApplication { protect...
using AnimalHope.Web.Infrastructure.Mapping; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace AnimalHope.Web { public class MvcApplication : System.Web.HttpApplication { protect...
Clear all view engines and add only Razor view engine (performance)
Clear all view engines and add only Razor view engine (performance)
C#
mit
juliameleshko/AnimalHope,juliameleshko/AnimalHope
00febf3a56b6b912da578d8ce78b7de0fa82fd55
Archaius.Net/EnvironmentConfiguration.cs
Archaius.Net/EnvironmentConfiguration.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Archaius { public class EnvironmentConfiguration : DictionaryConfiguration { public EnvironmentConfiguration() : base(GetEnvironmentVariables()) { } public overri...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Archaius { public class EnvironmentConfiguration : DictionaryConfiguration { public EnvironmentConfiguration() : base(GetEnvironmentVariables()) { } public overri...
Load environment variables from different targets to support ASP.Net applications.
Load environment variables from different targets to support ASP.Net applications.
C#
mit
CH3CHO/Archaius.Net
434377aa52300a5af7698733722f462196434840
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
osu.Game.Rulesets.Catch.Tests/TestSceneCatchPlayerLegacySkin.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Skinning.Legac...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Tests.Visual; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] public class TestSceneCatchPlayerLegacySkin : LegacyS...
Revert "Add failing test case"
Revert "Add failing test case" This reverts commit ec89a149dd752d242e1675a4462c8af4e360eb3e.
C#
mit
ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu
1f14d9b690d39122cd89ef799429c12c7511e34e
osu.Game.Rulesets.Catch/UI/CatchPlayfieldAdjustmentContainer.cs
osu.Game.Rulesets.Catch/UI/CatchPlayfieldAdjustmentContainer.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.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.UI; using osuTK; namespace osu.Game.Rulesets.Catch.UI { public class C...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.UI; using osuTK; namespace osu.Game.Rulesets.Catch.UI { public class C...
Use correct width adjust for osu!catch playfield
Use correct width adjust for osu!catch playfield
C#
mit
peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,ppy/osu,ppy/osu
be4ab386ff70d997b6b419fba0e719d43d94b2ba
MonoGameUtils/Drawing/Utilities.cs
MonoGameUtils/Drawing/Utilities.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace MonoGameUtils.Drawing { /// <summary> /// Various useful utility methods that don't obviously go elsewhere. /...
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace MonoGameUtils.Drawing { /// <summary> /// Various useful utility methods that...
Add contracts to verifty the DrawModel() method doesn't receive null data.
Add contracts to verifty the DrawModel() method doesn't receive null data.
C#
mit
dneelyep/MonoGameUtils
c595e969c62a16e028a1c7ac8ace1bb8bcf1cc48
LINQToTTree/LINQToTTreeLib/Statements/StatementRecordIndicies.cs
LINQToTTree/LINQToTTreeLib/Statements/StatementRecordIndicies.cs
 using System.Collections.Generic; using LinqToTTreeInterfacesLib; namespace LINQToTTreeLib.Statements { /// <summary> /// Sits inside a loop and records the integer that it is given on each call by pushing it onto a vector. It *does not* /// check for uniqueness. /// </summary> class Stat...
 using System.Collections.Generic; using LinqToTTreeInterfacesLib; using LINQToTTreeLib.Variables; namespace LINQToTTreeLib.Statements { /// <summary> /// Sits inside a loop and records the integer that it is given on each call by pushing it onto a vector. It *does not* /// check for uniqueness of ...
Clean up and add comments
Clean up and add comments
C#
lgpl-2.1
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
5800a2306678cdf3cda71dd1351b5fe4b7423538
FFImageLoading.Droid/Extensions/ImageViewExtensions.cs
FFImageLoading.Droid/Extensions/ImageViewExtensions.cs
using Android.Widget; using FFImageLoading.Work; namespace FFImageLoading.Extensions { public static class ImageViewExtensions { /// <summary> /// Retrieve the currently active work task (if any) associated with this imageView. /// </summary> /// <param name="imageView"></param> /// <returns></returns> p...
using Android.Widget; using FFImageLoading.Work; using System; namespace FFImageLoading.Extensions { public static class ImageViewExtensions { /// <summary> /// Retrieve the currently active work task (if any) associated with this imageView. /// </summary> /// <param name="imageView"></param> /// <returns>...
Check validity if the ImageView before trying to access its Drawable
Check validity if the ImageView before trying to access its Drawable
C#
mit
luberda-molinet/FFImageLoading,daniel-luberda/FFImageLoading,petlack/FFImageLoading,kalarepa/FFImageLoading,AndreiMisiukevich/FFImageLoading,molinch/FFImageLoading
defaba820615bfe17e567087087703af3862e20c
src/Cake.GitVersioning/GitVersioningAliases.cs
src/Cake.GitVersioning/GitVersioningAliases.cs
using System.IO; using System.Reflection; using Cake.Core; using Cake.Core.Annotations; using Nerdbank.GitVersioning; namespace Cake.GitVersioning { /// <summary> /// Contains functionality for using Nerdbank.GitVersioning. /// </summary> [CakeAliasCategory("Git Versioning")] public static class G...
using System.IO; using System.Reflection; using Cake.Core; using Cake.Core.Annotations; using Nerdbank.GitVersioning; namespace Cake.GitVersioning { /// <summary> /// Contains functionality for using Nerdbank.GitVersioning. /// </summary> [CakeAliasCategory("Git Versioning")] public static class G...
Convert relative path into full path
Convert relative path into full path
C#
mit
AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning
2e2f8723a0b704632ab23c04545611ab548e9d5c
src/Umbraco.Web/Models/ContentEditing/PropertyGroupDisplay.cs
src/Umbraco.Web/Models/ContentEditing/PropertyGroupDisplay.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "propertyGroup", Namespace = "")] public class PropertyGroupDisplay { public Pr...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "propertyGroup", Namespace = "")] public class PropertyGroupDisplay { public Pr...
Set collections on property groups
Set collections on property groups
C#
mit
gkonings/Umbraco-CMS,rasmuseeg/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,gavinfaux/Umbraco-CMS,mittonp/Umbraco-CMS,kasperhhk/Umbraco-CMS,PeteDuncanson/Umbraco-CMS,hfloyd/Umbraco-CMS,mittonp/Umbraco-CMS,romanlytvyn/Umbraco-CMS,rustyswayne/Umbraco-CMS,mittonp/Umbraco-CMS,TimoPerplex/Umbraco-CMS,mattbrails...
4a316fad2fedf334db9761764a46d59fb9e18e3a
osu.Game/Graphics/Containers/OsuRearrangeableListContainer.cs
osu.Game/Graphics/Containers/OsuRearrangeableListContainer.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 disable using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Graphics.Containers { pub...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Specialized; using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Audio.Sample; using osu.Framework....
Add audio feedback for rearranging list items
Add audio feedback for rearranging list items
C#
mit
ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu
4bf26c24c8f692a9cb186fb3c731a9ec0affa797
samples/DNXLibrary/SampleTests.cs
samples/DNXLibrary/SampleTests.cs
using Microsoft.Xunit.Performance; using Xunit; namespace DNXLibrary { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build". public class DNXSampleTests ...
using Microsoft.Xunit.Performance; using Xunit; namespace DNXLibrary { // This project can output the Class library as a NuGet Package. // To enable this option, right-click on the project and select the Properties menu item. In the Build tab select "Produce outputs on build". public class DNXSampleTests ...
Update benchmarks to new format
Update benchmarks to new format
C#
mit
ianhays/xunit-performance,ericeil/xunit-performance,mmitche/xunit-performance,visia/xunit-performance,Microsoft/xunit-performance,pharring/xunit-performance,Microsoft/xunit-performance
2196b52d4b3409ab8c81532203aba26d0cc2094a
Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml
Joinrpg/Views/Shared/EditorTemplates/MarkdownString.cshtml
@model JoinRpg.DataModel.MarkdownString @{ var requiredMsg = new MvcHtmlString(""); var validation = false; foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetadata)) { if (attr.Key == "data-val-required") { requiredMs...
@model JoinRpg.DataModel.MarkdownString @{ var requiredMsg = new MvcHtmlString(""); var validation = false; foreach (var attr in @Html.GetUnobtrusiveValidationAttributes(@ViewData.TemplateInfo.HtmlFieldPrefix, @ViewData.ModelMetadata)) { if (attr.Key == "data-val-required") { requiredMs...
Make Markdown help open in another window
Make Markdown help open in another window
C#
mit
kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
3ccc04cb816399d7ca583dcf4b97dd8dd6de737f
ConsoleTesting/WhistTest.cs
ConsoleTesting/WhistTest.cs
// WhistTest.cs // <copyright file="WhistTest.cs"> This code is protected under the MIT License. </copyright> using System; using CardGames.Whist; namespace ConsoleTesting { /// <summary> /// The whist test class /// </summary> public class WhistTest : IGameTest { /// <summary>...
// WhistTest.cs // <copyright file="WhistTest.cs"> This code is protected under the MIT License. </copyright> using System; using CardGames.Whist; namespace ConsoleTesting { /// <summary> /// The whist test class /// </summary> public class WhistTest : IGameTest { /// <summary>...
Add english as well as german
Add english as well as german
C#
mit
ashfordl/cards
645ad873c2baf6a22fbf949173f689a0b93ce156
DesktopWidgets/Widgets/Search/ViewModel.cs
DesktopWidgets/Widgets/Search/ViewModel.cs
using System.Diagnostics; using System.Windows.Input; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using DesktopWidgets.ViewModelBase; using GalaSoft.MvvmLight.Command; namespace DesktopWidgets.Widgets.Search { public class ViewModel : WidgetViewModelBase { private string _searchText; ...
using System.Diagnostics; using System.Windows.Input; using DesktopWidgets.Classes; using DesktopWidgets.Helpers; using DesktopWidgets.ViewModelBase; using GalaSoft.MvvmLight.Command; namespace DesktopWidgets.Widgets.Search { public class ViewModel : WidgetViewModelBase { private string _searchText; ...
Fix "Search" widget ignoring search errors
Fix "Search" widget ignoring search errors
C#
apache-2.0
danielchalmers/DesktopWidgets
d12e93bfc67598007192899b440726396b8e202e
osu.Game/Tests/Visual/LegacySkinPlayerTestScene.cs
osu.Game/Tests/Visual/LegacySkinPlayerTestScene.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.IO.Stores; using osu.Game.Rulesets; using osu.Game.Skinning; namespace osu.Game.Tests.Visual {...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.IO.Stores; using osu.Framework.Testing; u...
Add skin traget resetting on setup/teardown steps
Add skin traget resetting on setup/teardown steps
C#
mit
NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu
9ee572de4a681452d763ba76564c92ac435602d9
pinboard.net/Models/LastUpdate.cs
pinboard.net/Models/LastUpdate.cs
namespace pinboard.net.Models { public class LastUpdate { } }
using Newtonsoft.Json; using System; namespace pinboard.net.Models { public class LastUpdate { [JsonProperty("update_time")] public DateTimeOffset UpdateTime { get; set; } } }
Implement last update model, had forgotten, hehe
Implement last update model, had forgotten, hehe
C#
mit
shrayasr/pinboard.net
3fc0b967831108ba6e2f830c01108caaa0218350
Eve/Properties/AssemblyInfo.cs
Eve/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
Align assembly version with package version
Align assembly version with package version
C#
bsd-3-clause
nicolaiarocci/Eve.NET
f4b69ceb8ae23ba438fd3230738b3b6e5469e0a1
osu.Game/Overlays/BeatmapSet/BeatmapRulesetSelector.cs
osu.Game/Overlays/BeatmapSet/BeatmapRulesetSelector.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.Bindables; using osu.Framework.Graphics.UserInterface; using osu.Game.Beatmaps; using osu.Game.Rulesets; using System.Linq; using osu.Framework.Alloc...
// 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.Bindables; using osu.Framework.Graphics.UserInterface; using osu.Game.Beatmaps; using osu.Game.Rulesets; using System.Linq; namespace osu.Game.Overl...
Remove unused using embedded in reverted changes
Remove unused using embedded in reverted changes
C#
mit
smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu-new
c68f579253e2d98d3e08668889a372132a2af152
HelloSignNet.Core/HSSendSignatureRequestData.cs
HelloSignNet.Core/HSSendSignatureRequestData.cs
using System.Collections.Generic; using System.IO; using System.Linq; namespace HelloSignNet.Core { public class HSSendSignatureRequestData { public string Title { get; set; } public string Subject { get; set; } public string Message { get; set; } public string SigningRedirectUr...
using System.Collections.Generic; using System.IO; using System.Linq; namespace HelloSignNet.Core { public class HSSendSignatureRequestData { public string Title { get; set; } public string Subject { get; set; } public string Message { get; set; } public string SigningRedirectUr...
Add TextTags properties to request data
Add TextTags properties to request data * HSSendSignatureRequestData now support the use of [TextTags](https://www.hellosign.com/api/textTagsWalkthrough) in API call
C#
mit
kwokhou/HelloSignNet
525d01e0549f46e0f96245808d15bdfe75e3b826
Programs/Downlitor/Downlitor/ItemInfoControl.cs
Programs/Downlitor/Downlitor/ItemInfoControl.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace Downlitor { public partial class ItemInfoControl : UserControl { public ItemInfoControl(DlcItem dlc) ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace Downlitor { public partial class ItemInfoControl : UserControl { public ItemInfoControl(DlcItem dlc) ...
Add item index for multiple items with same name
Downlitor: Add item index for multiple items with same name
C#
apache-2.0
pleonex/Ninokuni,pleonex/Ninokuni,pleonex/Ninokuni
20d353eede8c4bf20e664ccf816df0a11933c9e3
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
rethinkdb-net-newtonsoft/Configuration/NewtonSerializer.cs
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
using RethinkDb.DatumConverters; namespace RethinkDb.Newtonsoft.Configuration { public class NewtonSerializer : AggregateDatumConverterFactory { public NewtonSerializer() : base( PrimitiveDatumConverterFactory.Instance, TupleDatumConverterFactory.Instance, Anonymous...
Add support for compound index keys to newtonsoft
Add support for compound index keys to newtonsoft
C#
apache-2.0
nkreipke/rethinkdb-net,nkreipke/rethinkdb-net
05080d7e6d21a45948e2e37efa96751dd2c08a59
NBi.NUnit.Runtime/NBiSection.cs
NBi.NUnit.Runtime/NBiSection.cs
using System; using System.Configuration; using System.Linq; namespace NBi.NUnit.Runtime { public class NBiSection : ConfigurationSection { // Create a "remoteOnly" attribute. [ConfigurationProperty("testSuite", IsRequired = true)] public string TestSuiteFilename { ...
using System; using System.Configuration; using System.Linq; namespace NBi.NUnit.Runtime { public class NBiSection : ConfigurationSection { // Create a "remoteOnly" attribute. [ConfigurationProperty("testSuite", IsRequired = true)] public string TestSuiteFilename { ...
Add placeholder in config file to load settings from an external file
Add placeholder in config file to load settings from an external file
C#
apache-2.0
Seddryck/NBi,Seddryck/NBi
2b9d775bd24bf126d16305ba3cf722488d34770c
Compiler/Crayon/Workers/UsageDisplayWorker.cs
Compiler/Crayon/Workers/UsageDisplayWorker.cs
using Common; using System; namespace Crayon { internal class UsageDisplayWorker { private static readonly string USAGE = Util.JoinLines( "Usage:", " crayon BUILD-FILE -target BUILD-TARGET-NAME [OPTIONS...]", "", "Flags:", "", ...
using Common; using System; namespace Crayon { internal class UsageDisplayWorker { private static readonly string USAGE = Util.JoinLines( "Crayon version " + VersionInfo.VersionString, "", "To export:", " crayon BUILD-FILE -target BUILD-TARGE...
Update usage notes when crayon.exe is invoked without arguments.
Update usage notes when crayon.exe is invoked without arguments.
C#
mit
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
719b2424e0f90e1cd5f2a5c5a936d34f6b347d35
src/AsmResolver.DotNet/Config/Json/RuntimeConfiguration.cs
src/AsmResolver.DotNet/Config/Json/RuntimeConfiguration.cs
using System.IO; using System.Text.Json; namespace AsmResolver.DotNet.Config.Json { /// <summary> /// Represents the root object of a runtime configuration, stored in a *.runtimeconfig.json file. /// </summary> public class RuntimeConfiguration { private static readonly JsonSerializerOption...
using System.IO; using System.Text.Json; namespace AsmResolver.DotNet.Config.Json { /// <summary> /// Represents the root object of a runtime configuration, stored in a *.runtimeconfig.json file. /// </summary> public class RuntimeConfiguration { private static readonly JsonSerializerOption...
Add json serialization for runtime configuration.
Add json serialization for runtime configuration.
C#
mit
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
1451b2743ebf3fd77a42ce93d498e4915eecf075
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.SignalR")] [assembly: AssemblyDescription("Autofac ASP.NET SignalR Integration")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)]
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Integration.SignalR")] [assembly: ComVisible(false)] [assembly: CLSCompliant(false)]
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
C#
mit
autofac/Autofac.SignalR
eb3b266372b37f9a60fda8f8216cba6bff7e4447
osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs
osu.Framework.Tests/Audio/AudioCollectionManagerTest.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; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
// 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; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
Fix test event ordering to correctly test fail case
Fix test event ordering to correctly test fail case
C#
mit
ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
90fecbc9c7435ff5c2f3077b8fdebb96ff3d6c52
osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.cs
osu.Game.Tests/Visual/UserInterface/TestSceneModIcon.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 disable using System.Linq; using NUnit.Framework; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Mods; using osu.Game.Rulesets.UI; namespace osu.Gam...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu....
Add test showing all mod icons for reference
Add test showing all mod icons for reference
C#
mit
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
b24a0a434221adc3e5a67a095a698a4955e720d7
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
src/AppHarbor.Tests/ApplicationConfigurationTest.cs
using System.IO; using System.Text; using Moq; using Xunit; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { [Fact] public void ShouldReturnApplicationIdIfConfigurationFileExists() { var fileSystem = new Mock<IFileSystem>(); var applicationName = "bar"; var configurationFile =...
using System.IO; using System.Text; using Moq; using Xunit; namespace AppHarbor.Tests { public class ApplicationConfigurationTest { public static string ConfigurationFile = Path.GetFullPath(".appharbor"); [Fact] public void ShouldReturnApplicationIdIfConfigurationFileExists() { var fileSystem = new Mock...
Verify that an ApplicationConfigurationException is thrown if no configuration file exists
Verify that an ApplicationConfigurationException is thrown if no configuration file exists
C#
mit
appharbor/appharbor-cli
8bf207eb545a4b6ca29c955c2e9d6e50a99addff
Job/Entities/AuthorizationToken.cs
Job/Entities/AuthorizationToken.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Create.CSP.GitHub.Reporting.Entities { public class AuthorizationToken { /// <summary> /// Captures when the token expires /// </summary> public DateTim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Create.CSP.GitHub.Reporting.Entities { public class AuthorizationToken { /// <summary> /// Captures when the token expires /// </summary> public DateTim...
Test IsNearExpiracy while converted ToLocalTime
Test IsNearExpiracy while converted ToLocalTime
C#
mit
createitpt/Create.CSP.GitHub.Reporting,createitpt/Create.CSP.GitHub.Reporting,createitpt/Create.CSP.GitHub.Reporting
408defff7d685494271bd1dfae87fe7b86792aed
WaveDev.ModelR.Server/ModelRHub.cs
WaveDev.ModelR.Server/ModelRHub.cs
using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using System.Collections.Generic; using WaveDev.ModelR.Models; using System; using System.Globalization; namespace WaveDev.ModelR.Server { public class ModelRHub : Hub { #region Private Fields private IList<SceneInfoModel> _scenes;...
using System.Threading.Tasks; using Microsoft.AspNet.SignalR; using System.Collections.Generic; using System; using System.Globalization; using WaveDev.ModelR.Shared.Models; namespace WaveDev.ModelR.Server { public class ModelRHub : Hub { #region Private Fields private IList<SceneInfoModel> _...
Add shared project for models for client-server communication.
Add shared project for models for client-server communication.
C#
mit
robinsedlaczek/ModelR
2550541d311c418bc3a635ccf1c223d29f21809c
Assets/Alensia/Core/Character/Humanoid.cs
Assets/Alensia/Core/Character/Humanoid.cs
using Alensia.Core.Locomotion; using Alensia.Core.Sensor; using UnityEngine; using UnityEngine.Assertions; using Zenject; namespace Alensia.Core.Character { public class Humanoid : Character<IBinocularVision, ILeggedLocomotion>, IHumanoid { public override Transform Head { get; } public overr...
using Alensia.Core.Locomotion; using Alensia.Core.Sensor; using UnityEngine; using UnityEngine.Assertions; using Zenject; namespace Alensia.Core.Character { public class Humanoid : Character<IBinocularVision, ILeggedLocomotion>, IHumanoid { public override Transform Head { get; } public overr...
Make vision and locomotion required on humanoids
Make vision and locomotion required on humanoids
C#
apache-2.0
mysticfall/Alensia
f84b3369693ff9231ed48431b78d0f657ca9a81c
Properties/VersionAssemblyInfo.cs
Properties/VersionAssemblyInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
C#
mit
autofac/Autofac.Web
8b6e4693a0a007b0b38a7a93f034e86c1445cfd8
Assets/Scripts/UI/TogglePlayPresenter.cs
Assets/Scripts/UI/TogglePlayPresenter.cs
using UniRx; using UnityEngine; using UnityEngine.UI; public class TogglePlayPresenter : MonoBehaviour { [SerializeField] Button togglePlayButton; [SerializeField] Sprite iconPlay; [SerializeField] Sprite iconPause; NotesEditorModel model; void Awake() { model = NotesEdit...
using UniRx; using UniRx.Triggers; using UnityEngine; using UnityEngine.UI; public class TogglePlayPresenter : MonoBehaviour { [SerializeField] Button togglePlayButton; [SerializeField] Sprite iconPlay; [SerializeField] Sprite iconPause; NotesEditorModel model; void Awake() { ...
Add toggle play by keyboard input
Add toggle play by keyboard input
C#
mit
setchi/NotesEditor,setchi/NoteEditor
3cc156b0b9cbf85c0d6c956b556dd352f4604f58
PusherClient/ConnectionState.cs
PusherClient/ConnectionState.cs
namespace PusherClient { public enum ConnectionState { Initialized, Connecting, Connected, Unavailable, Disconnected, WaitingToReconnect } }
namespace PusherClient { public enum ConnectionState { Initialized, Connecting, Connected, Disconnected, WaitingToReconnect } }
Remove unused `Unavailable` connection state
Remove unused `Unavailable` connection state
C#
mit
pusher-community/pusher-websocket-dotnet
69fae13cf2ad6b2ed5f5162ae46dbf159121dbff
Server/AjaxControlToolkit/Properties/AssemblyInfo.cs
Server/AjaxControlToolkit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions; using System.Web.UI; using AjaxControlToolkit; // Dependency Attribute for assemblies [assembly: DependencyAttribute("Syste...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using System.Security.Permissions; using System.Web.UI; using AjaxControlToolkit; // Dependency Attribute for assemblies [assembly: DependencyAttribute("Syste...
Exclude Seadragon.config.js from combining because it does substitution.
Exclude Seadragon.config.js from combining because it does substitution. --HG-- extra : convert_revision : svn%3Ae6b3c636-de15-0940-aca3-4844ac488b3a%4013
C#
bsd-3-clause
darilek/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,darilek/AjaxControlToolkit,DevExpress/AjaxControlToolkit
c490dba7b3e0e22202ab861e0132a5779d818f0f
osu.Game/Scoring/ScoreStore.cs
osu.Game/Scoring/ScoreStore.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using Microsoft.EntityFrameworkCore; using osu.Framework.Platform; using osu.Game.Database; namespace osu.Game.Scoring { public class ScoreStore ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using Microsoft.EntityFrameworkCore; using osu.Framework.Platform; using osu.Game.Database; namespace osu.Game.Scoring { public class ScoreStore ...
Fix crash on local score display
Fix crash on local score display
C#
mit
peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu
58cccb380bf324c4b066c61bad29d54ed491de51
WebScriptHook.Terminal/Program.cs
WebScriptHook.Terminal/Program.cs
using System; using System.Threading; using WebScriptHook.Framework; using WebScriptHook.Framework.BuiltinPlugins; using WebScriptHook.Terminal.Plugins; namespace WebScriptHook.Terminal { class Program { static WebScriptHookComponent wshComponent; static void Main(string[] args) { ...
using System; using System.Threading; using WebScriptHook.Framework; using WebScriptHook.Framework.BuiltinPlugins; using WebScriptHook.Terminal.Plugins; namespace WebScriptHook.Terminal { class Program { static WebScriptHookComponent wshComponent; static void Main(string[] args) { ...
Use GUID for component name
Use GUID for component name
C#
mit
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
5cb3b646b21fdc67545e0f7b88eb64e79540d683
src/postgresql/main/Migration/Internal/PostgreSqlSchemaCreator.cs
src/postgresql/main/Migration/Internal/PostgreSqlSchemaCreator.cs
using Dapper; using RapidCore.Migration; using RapidCore.PostgreSql.Internal; using System.Threading.Tasks; namespace RapidCore.PostgreSql.Migration.Internal { public static class PostgreSqlSchemaCreator { public static async Task CreateSchemaIfNotExists(IMigrationContext context) { ...
using Dapper; using RapidCore.Migration; using RapidCore.PostgreSql.Internal; using System.Threading.Tasks; namespace RapidCore.PostgreSql.Migration.Internal { public static class PostgreSqlSchemaCreator { public static async Task CreateSchemaIfNotExists(IMigrationContext context) { ...
Add primary key to completed steps db table
Add primary key to completed steps db table
C#
mit
rapidcore/rapidcore,rapidcore/rapidcore
41aca7012eb7c5ee7b8ef06aba4e78ae4750e4ad
BindingTest/Control/CheckboxControl.xaml.cs
BindingTest/Control/CheckboxControl.xaml.cs
using System.Windows; using System.Windows.Controls; namespace BindingTest.Control { public partial class CheckboxControl : UserControl { public bool Checked { get { return (bool)GetValue(CheckboxProperty); } set { SetValue(Checkb...
using System.Windows; using System.Windows.Controls; namespace BindingTest.Control { public partial class CheckboxControl : UserControl { public bool Checked { get { return (bool)GetValue(CheckboxProperty); } set { SetValue(Checkb...
Set default value to PropertyMetadata
Set default value to PropertyMetadata
C#
mit
naotaco/BindingTest
856f60169232370989d514b695abdf272d6182cf
TribalWars/Controls/Common/TimeConverterCalculatorControl.cs
TribalWars/Controls/Common/TimeConverterCalculatorControl.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace TribalWars.Controls { /// <summary> /// Adds addings time functionality to the TimeConverterControl /// </summary> public partia...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace TribalWars.Controls { /// <summary> /// Adds addings time functionality to the TimeConverterControl /// </summary> public partia...
Set today as default value
TImeConverterControl: Set today as default value
C#
mit
SanguPackage/TWTactics
ed982e8dd13f9f4657e1463a7bd19a7aac2f41f4
osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/RingPiece.cs
osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/RingPiece.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.Graphics; using osu.Framework.Graphics.Containers; using osuTK; using osuTK.Graphics; using osu.Framework.Graphics.Shapes; namespace osu.Game.Ruleset...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osuTK; using osuTK.Graphics; using osu.Framework.Graphics.Shapes; namespace osu.Game.Ruleset...
Make stacked hitcircles more visible when using default skin
Make stacked hitcircles more visible when using default skin
C#
mit
UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu
e2dd7df304328f3a2631efa0db4fb234165f858c
src/OmniSharp.Cake/Services/ScriptGenerationToolResolver.cs
src/OmniSharp.Cake/Services/ScriptGenerationToolResolver.cs
using System.IO; using System.Linq; using OmniSharp.Cake.Configuration; namespace OmniSharp.Cake.Services { internal static class ScriptGenerationToolResolver { public static string GetExecutablePath(string rootPath, ICakeConfiguration configuration) { var toolPath = GetToolPath(ro...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using OmniSharp.Cake.Configuration; namespace OmniSharp.Cake.Services { internal static class ScriptGenerationToolResolver { public static string GetExecutablePath(string rootPath,...
Make Cake Bakery resolution case insensitive
Make Cake Bakery resolution case insensitive
C#
mit
DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
09613f4e3e7263904530b4605a93320b522ed3bc
Samples/iCongress/PortableCongress/Controllers/PoliticianController.cs
Samples/iCongress/PortableCongress/Controllers/PoliticianController.cs
using System; using PortableRazor; namespace PortableCongress { public class PoliticianController { IHybridWebView webView; IDataAccess dataAccess; public PoliticianController (IHybridWebView webView, IDataAccess dataAccess) { this.webView = webView; this.dataAccess = dataAccess; } public voi...
using System; using PortableRazor; namespace PortableCongress { public class PoliticianController { IHybridWebView webView; IDataAccess dataAccess; public PoliticianController (IHybridWebView webView, IDataAccess dataAccess) { this.webView = webView; this.dataAccess = dataAccess; } public voi...
Add jQuery mobile loader widget
Add jQuery mobile loader widget
C#
mit
xamarin/PortableRazor,MilenPavlov/PortableRazor
90ef417afc30e542bcef8b43ac2c290217230372
Source/Eto.Mac/Properties/AssemblyInfo.cs
Source/Eto.Mac/Properties/AssemblyInfo.cs
using System.Reflection; #if XAMMAC2 [assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac v2.0 Platform")] [assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using Xamarin.Mac v2.0")] #elif XAMMAC [assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac Platform")] [assembly: AssemblyDescription("OS X ...
using System.Reflection; #if XAMMAC2 [assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac v2.0 Platform")] [assembly: AssemblyDescription("OS X Platform for the Eto.Forms UI Framework using Xamarin.Mac v2.0")] #elif XAMMAC [assembly: AssemblyTitle("Eto.Forms - Xamarin.Mac Platform")] [assembly: AssemblyDescription("OS X ...
Fix naming of MonoMac vs MonoMac 64-bit platform
Fix naming of MonoMac vs MonoMac 64-bit platform
C#
bsd-3-clause
l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto
9326e0a548912653f5a3ac57c0d64779e73f331b
Inscribe/Text/TweetTextCounter.cs
Inscribe/Text/TweetTextCounter.cs
using System.Linq; using System.Text.RegularExpressions; namespace Inscribe.Text { public static class TweetTextCounter { public static int Count(string input) { // URL is MAX 20 Chars (if URL has HTTPS scheme, URL is MAX 21 Chars) int prevIndex = 0; int tot...
using System.Linq; using System.Text.RegularExpressions; namespace Inscribe.Text { public static class TweetTextCounter { public static int Count(string input) { // Input maybe contains CRLF as a new line, but twitter converts CRLF to LF. // It means CRLF should be trea...
Fix issue of wrong counting characters if a text contains newline
Fix issue of wrong counting characters if a text contains newline Fix it by replacing CRLF to LF. Because WPF text control recognize CRLF as a new line, the new line has two characters (\r\n). But twitter converts CRLF to LF so that one new lines should be treated as "one" character. Some people insist using @"\n" i...
C#
mit
fin-alice/Mystique,azyobuzin/Mystique
abb399c4b695a6c7a2494eac6f8fd3e7c6e773a9
src/SFA.DAS.EmployerAccounts.Web/Extensions/HtmlHelperExtensions.cs
src/SFA.DAS.EmployerAccounts.Web/Extensions/HtmlHelperExtensions.cs
using SFA.DAS.Authorization; using System; using System.Linq; using System.Linq.Expressions; using System.Web.Mvc; namespace SFA.DAS.EmployerAccounts.Web.Extensions { public static class HtmlHelperExtensions { public static MvcHtmlString CommaSeperatedAddressToHtml(this HtmlHelper htmlHelper, string c...
using SFA.DAS.Authorization; using System; using System.Linq; using System.Web.Mvc; namespace SFA.DAS.EmployerAccounts.Web.Extensions { public static class HtmlHelperExtensions { public static MvcHtmlString CommaSeperatedAddressToHtml(this HtmlHelper htmlHelper, string commaSeperatedAddress) {...
Fix bug by removing duplicate code
Fix bug by removing duplicate code
C#
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
58266453419f965c3c104b18a3ac3060d83f0be5
WebApi/Controllers/ServiceDirectoryController.cs
WebApi/Controllers/ServiceDirectoryController.cs
/* Empiria Extensions Framework ****************************************************************************** * * * Module : Empiria Web Api Component : Base controllers ...
/* Empiria Extensions Framework ****************************************************************************** * * * Module : Empiria Web Api Component : Base controllers ...
Update GetServiceDirectory() API to use EndpointConfig
Update GetServiceDirectory() API to use EndpointConfig
C#
agpl-3.0
Ontica/Empiria.Extended
ca454c1fcb2c7cbf1d71f4a8b0e6560225807914
MonoHaven.Client/UI/Label.cs
MonoHaven.Client/UI/Label.cs
using System.Drawing; using MonoHaven.Graphics; namespace MonoHaven.UI { public class Label : Widget { private string text; private readonly TextBlock textBlock; public Label(Widget parent) : base(parent) { textBlock = new TextBlock(Fonts.Default); } public string Text { get { return text; ...
using System.Drawing; using MonoHaven.Graphics; namespace MonoHaven.UI { public class Label : Widget { private string text; private readonly TextBlock textBlock; public Label(Widget parent, SpriteFont font) : base(parent) { textBlock = new TextBlock(font); textBlock.TextColor = Color.White; SetSiz...
Allow to specify font in the label constructor
Allow to specify font in the label constructor
C#
mit
k-t/SharpHaven
8c52789658c519fabdbd0644e932502b027d28c5
src/Arkivverket.Arkade/Core/Addml/Processes/AnalyseFindMinMaxValues.cs
src/Arkivverket.Arkade/Core/Addml/Processes/AnalyseFindMinMaxValues.cs
using System; using Arkivverket.Arkade.Tests; namespace Arkivverket.Arkade.Core.Addml.Processes { public class AnalyseFindMinMaxValues : IAddmlProcess { public const string Name = "Analyse_FindMinMaxValues"; private readonly TestRun _testRun; private int? _minValue; private int...
using System; using Arkivverket.Arkade.Tests; namespace Arkivverket.Arkade.Core.Addml.Processes { public class AnalyseFindMinMaxValues : IAddmlProcess { public const string Name = "Analyse_FindMinMaxValues"; private readonly TestRun _testRun; private int? _minValue; private int...
Refactor process to remove FormatException from trace log
Refactor process to remove FormatException from trace log
C#
agpl-3.0
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
61ca3d9db9a1085b6a1c0568094d48ef77aa6469
src/samples/Orc.CheckForUpdate.BasicServer/Views/Releases/Index.cshtml
src/samples/Orc.CheckForUpdate.BasicServer/Views/Releases/Index.cshtml
@model Orc.CheckForUpdate.Web.Models.VersionsViewModel @{ ViewBag.Title = "Index"; } @section additionalstyles { @Styles.Render("~/Content/css/downloads") } <h2>Releases</h2> <div> @{ Html.RenderPartial("ReleasesList", Model); } </div>
@model Orc.CheckForUpdate.Web.Models.VersionsViewModel @{ ViewBag.Title = "Index"; } @section additionalstyles { @Styles.Render("~/Content/css/releases") } <h2>Releases</h2> <div> @{ Html.RenderPartial("ReleasesList", Model); } </div>
Fix styling for users download page
Fix styling for users download page
C#
mit
Orcomp/Orc.CheckForUpdates,Orcomp/Orc.CheckForUpdates,Orcomp/Orc.CheckForUpdates