commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
122df808cfc7adda83ef39fc577b3ebee43d6c01
Use constants, where possible.
brendanjbaker/Bakery
src/Bakery.Time/TimeSpanExtensions.cs
src/Bakery.Time/TimeSpanExtensions.cs
using System; public static class TimeSpanExtensions { public static Int64 Microseconds(this TimeSpan timeSpan) { const Int32 MICROSECONDS_PER_MILLISECOND = 1000; const Int64 TICKS_PER_MICROSECOND = TimeSpan.TicksPerMillisecond / MICROSECONDS_PER_MILLISECOND; return timeSpan.Ticks / TICKS_PER_MICROS...
using System; public static class TimeSpanExtensions { public static Int64 Microseconds(this TimeSpan timeSpan) { const Int32 MICROSECONDS_PER_MILLISECOND = 1000; var ticksPerMicrosecond = TimeSpan.TicksPerMillisecond / MICROSECONDS_PER_MILLISECOND; return timeSpan.Ticks / ticksPerMicrosecond; }...
mit
C#
af41627cea53c60b3f3bce8c3746e84d1f080231
Update FilesController.cs
lucabriguglia/blog-post-id-2,lucabriguglia/blog-post-id-2,lucabriguglia/blog-post-id-2,lucabriguglia/blog-post-id-3,lucabriguglia/blog-post-id-3,lucabriguglia/blog-post-id-3
src/LB/Controllers/FilesController.cs
src/LB/Controllers/FilesController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace LB.Controllers { public class FilesController : ApiController { [HttpPost] public async Task<IHttpActionRe...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace LB.Controllers { public class FilesController : ApiController { [HttpPost] public async Task<IHttpActionRe...
mit
C#
1cadc54c3b3fca71fcabd90965d2dd76ad1ebaf0
Use TryAdd to add services rather than Add
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Cors.Core/CorsServiceCollectionExtensions.cs
src/Microsoft.AspNet.Cors.Core/CorsServiceCollectionExtensions.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Cors; using Microsoft.AspNet.Cors.Core; using Microsoft.Framework.ConfigurationModel; using Micro...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNet.Cors; using Microsoft.AspNet.Cors.Core; using Microsoft.Framework.ConfigurationModel; using Micro...
apache-2.0
C#
a26ea0306ff14731f83215cdd013c33bc47ec826
remove task code
zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning
my_aspnetmvc_learning/Controllers/TaskController.cs
my_aspnetmvc_learning/Controllers/TaskController.cs
using NLog; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { public class TaskController : Controller { private static readonly Logger logger = LogMana...
using NLog; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { public class TaskController : Controller { private static readonly Logger logger = LogMana...
mit
C#
ef2c9dcefb3dbebc587f02677a4e4d12a947bb55
Change from == null to is null in NodaTime.Testing
jskeet/nodatime,BenJenkinson/nodatime,nodatime/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,malcolmr/nodatime
src/NodaTime.Testing/Preconditions.cs
src/NodaTime.Testing/Preconditions.cs
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; namespace NodaTime.Testing { /// <summary> /// Helper static methods for argument/state validation. Copied from NodaTime.Utility, ...
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; namespace NodaTime.Testing { /// <summary> /// Helper static methods for argument/state validation. Copied from NodaTime.Utility, ...
apache-2.0
C#
785476bdf4b6dd35e7a5a2269aefea3e07846b28
Rename methods
ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ppy/osu-framework,...
osu.Framework.Tests/Dependencies/DependencyCachedAttributeTest.cs
osu.Framework.Tests/Dependencies/DependencyCachedAttributeTest.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using NUnit.Framework; using osu.Framework.Allocation; namespace osu.Framework.Tests.Dependencies { [TestFixture] public class DependencyCachedAttribu...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using NUnit.Framework; using osu.Framework.Allocation; namespace osu.Framework.Tests.Dependencies { [TestFixture] public class DependencyCachedAttribu...
mit
C#
e768bb74755cb997d78dbf932a4502f5df97779f
Add entity framework support
thewizster/hanc,thewizster/hanc
AspNetAPI/Startup.cs
AspNetAPI/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; using Microsoft.Extensions.Logging; using Microsoft.EntityFr...
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 Microsoft.Extensions.Logging; namespace Hanc.AspNetAP...
mit
C#
2b8b138079aefad5586c70cf5cf84f1ab9f1dfe2
Add "keybindings" search term to settings
ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Overlays/Settings/Sections/InputSection.cs
osu.Game/Overlays/Settings/Sections/InputSection.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.Collections.Generic; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprite...
// 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.Graphics.Sprites; using osu.Framework.Input.Handlers; using osu.Fram...
mit
C#
99850d29563cccc6a36521e4dc5588754d8d6a35
Fix Code Smell
rexm/Handlebars.Net,rexm/Handlebars.Net
source/Handlebars/Compiler/Lexer/Converter/BlockParamsConverter.cs
source/Handlebars/Compiler/Lexer/Converter/BlockParamsConverter.cs
using System; using System.Collections.Generic; using HandlebarsDotNet.Compiler.Lexer; namespace HandlebarsDotNet.Compiler { internal class BlockParamsConverter : TokenConverter { private static readonly BlockParamsConverter Converter = new BlockParamsConverter(); public static IEnumerable<obj...
using System; using System.Collections.Generic; using System.Linq; using HandlebarsDotNet.Compiler.Lexer; namespace HandlebarsDotNet.Compiler { internal class BlockParamsConverter : TokenConverter { private static readonly BlockParamsConverter Converter = new BlockParamsConverter(); public sta...
mit
C#
62d433c9c57b2de866d579f4bfbad543eadc9649
Adjust diffcalc test value
NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu
osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.cs
osu.Game.Rulesets.Catch.Tests/CatchDifficultyCalculatorTest.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.Game.Beatmaps; using osu.Game.Rulesets.Catch.Difficulty; using osu.Game.Rulesets.Difficulty; using osu.Game.Tests.Beatmaps; namespace os...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Difficulty; using osu.Game.Rulesets.Difficulty; using osu.Game.Tests.Beatmaps; namespace os...
mit
C#
d112adc1f257b780f992b09c8e7f709ee4f0cbee
Fix breaking changes from MVC
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/MusicStore.Spa/Infrastructure/BaseController.cs
src/MusicStore.Spa/Infrastructure/BaseController.cs
using System; using System.Linq; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Routing; namespace Microsoft.AspNet.Mvc { public class BaseController : Controller { private IEnumerable<IModelBinder...
using System; using System.Linq; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Mvc.ModelBinding; namespace Microsoft.AspNet.Mvc { public class BaseController : Controller { private IEnumerable<IModelBinder> _modelBinders; private...
apache-2.0
C#
ed04c5236f756e6f25395d98261161b27b828820
Remove unnecessary json attribute
TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,UdiBen/elasticsearch-net,azubanov/elasticsearch-net,cstlaurent/elasticsearch-net,UdiBen/elasticsearch-net,KodrAus/elasticsearch-net,RossLieberman/NEST,adam-mccoy/elasticsearch-net,CSGOpenSource/elastic...
src/Nest/Mapping/AttributeBased/BooleanAttribute.cs
src/Nest/Mapping/AttributeBased/BooleanAttribute.cs
using Newtonsoft.Json; using System; namespace Nest { public class BooleanAttribute : ElasticsearchPropertyAttribute, IBooleanProperty { IBooleanProperty Self => this; NonStringIndexOption? IBooleanProperty.Index { get; set; } double? IBooleanProperty.Boost { get; set; } bool? IBooleanProperty.NullValue { ...
using Newtonsoft.Json; using System; namespace Nest { [JsonObject(ItemTypeNameHandling = TypeNameHandling.Auto)] public class BooleanAttribute : ElasticsearchPropertyAttribute, IBooleanProperty { IBooleanProperty Self => this; NonStringIndexOption? IBooleanProperty.Index { get; set; } double? IBooleanProper...
apache-2.0
C#
fdc58d22d15df32bd357484a5aefd05344eb7e90
remove redundant dependency.
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Api/Controllers/EmployerAgreementController.cs
src/SFA.DAS.EAS.Api/Controllers/EmployerAgreementController.cs
using System.Threading.Tasks; using System.Web.Http; using SFA.DAS.EAS.Account.Api.Attributes; using SFA.DAS.EAS.Domain.Configuration; namespace SFA.DAS.EAS.Account.Api.Controllers { [RoutePrefix("api/accounts/{hashedAccountId}/legalEntities/{hashedlegalEntityId}/agreements")] public class EmployerAgreementCo...
using System.Threading.Tasks; using System.Web.Http; using SFA.DAS.EAS.Account.Api.Attributes; using SFA.DAS.EAS.Account.Api.Orchestrators; using SFA.DAS.EAS.Domain.Configuration; namespace SFA.DAS.EAS.Account.Api.Controllers { [RoutePrefix("api/accounts/{hashedAccountId}/legalEntities/{hashedlegalEntityId}/agree...
mit
C#
96de7332b967f5a942806d8ecec04b6a42276f64
Remove setters from Id and Type
TelegramBots/telegram.bot,AndyDingo/telegram.bot,MrRoundRobin/telegram.bot
src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResult.cs
src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResult.cs
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.ReplyMarkups; namespace Telegram.Bot.Types.InlineQueryResults { /// <summary> /// Base Class for inline results send in response to an <see cref="InlineQuery"/> /// </summary> [JsonObject(MemberSerialization.OptIn, Nam...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.ReplyMarkups; namespace Telegram.Bot.Types.InlineQueryResults { /// <summary> /// Base Class for inline results send in response to an <see cref="InlineQuery"/> /// </summary> [JsonObject(MemberSerialization.OptIn, Nam...
mit
C#
885c57f384d420a31106823860c0b30e111a51f8
Change IsEnglishLocal to using CurrentUICulture
VSadov/roslyn,mmitche/roslyn,khellang/roslyn,leppie/roslyn,paulvanbrenk/roslyn,reaction1989/roslyn,KiloBravoLima/roslyn,natgla/roslyn,eriawan/roslyn,mattscheffer/roslyn,basoundr/roslyn,rgani/roslyn,jeffanders/roslyn,vslsnap/roslyn,basoundr/roslyn,jcouv/roslyn,xoofx/roslyn,dpoeschl/roslyn,lorcanmooney/roslyn,jeffanders/...
src/Test/Utilities/Shared/Assert/ConditionalFactAttribute.cs
src/Test/Utilities/Shared/Assert/ConditionalFactAttribute.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text; using Xunit; namespace Roslyn.Test.Utilities { public class ConditionalFactAttribute : FactAttribute { publ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Text; using Xunit; namespace Roslyn.Test.Utilities { public class ConditionalFactAttribute : FactAttribute { publ...
mit
C#
4c8b485415419115d275ac4baef808ffaebd60de
Update assembly info (woops).
jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/m...
src/manostool/AssemblyInfo.cs
src/manostool/AssemblyInfo.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
aac54b054cc8d7c6921c0251523cb06307929feb
Correct case for test project name (unbreaking tests on Linux)
OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn
tests/OmniSharp.DotNetTest.Tests/AbstractGetTestStartInfoFacts.cs
tests/OmniSharp.DotNetTest.Tests/AbstractGetTestStartInfoFacts.cs
using System.IO; using System.Threading.Tasks; using OmniSharp.DotNetTest.Models; using OmniSharp.DotNetTest.Services; using OmniSharp.Services; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.DotNetTest.Tests { public abstract class AbstractGetTestStartInfoFacts : AbstractTestFixtur...
using System.IO; using System.Threading.Tasks; using OmniSharp.DotNetTest.Models; using OmniSharp.DotNetTest.Services; using OmniSharp.Services; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.DotNetTest.Tests { public abstract class AbstractGetTestStartInfoFacts : AbstractTestFixtur...
mit
C#
f6b65c4cfa1a5390bf86e2781fd36935b3980e74
Test build fix
tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs
tests/Tgstation.Server.Host.Tests/Core/TestGitHubClientFactory.cs
using Microsoft.Extensions.Options; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Octokit; using System; using System.Net.Http.Headers; using System.Threading.Tasks; using Tgstation.Server.Host.Configuration; using Tgstation.Server.Host.System; namespace Tgstation.Server.Host.Core.Tests { [Test...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Octokit; using System; using System.Net.Http.Headers; using System.Threading.Tasks; using Tgstation.Server.Host.System; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestGitHubClientFactory { [TestMethod] public ...
agpl-3.0
C#
98f205faa91b1d23ea1deeecba1d760ac8e9ec33
Drop unused method.
JakeGinnivan/fixie,fixie/fixie,EliotJones/fixie,bardoloi/fixie,Duohong/fixie,KevM/fixie,bardoloi/fixie
src/Fixie.Samples/Parameterized/CustomConvention.cs
src/Fixie.Samples/Parameterized/CustomConvention.cs
using System.Collections.Generic; using System.Linq; using System.Reflection; using Fixie.Conventions; namespace Fixie.Samples.Parameterized { public class CustomConvention : Convention { public CustomConvention() { Classes .Where(type => type.IsInNamespace(GetType(...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Fixie.Conventions; namespace Fixie.Samples.Parameterized { public class CustomConvention : Convention { public CustomConvention() { Classes .Where(type => type.IsInName...
mit
C#
f78a51aa97de2af468b4a78551435d95f214182d
Add a overload to AsynchronousViewTaggerProvider for TypeScript
KevinRansom/roslyn,weltkante/roslyn,tannergooding/roslyn,wvdd007/roslyn,DustinCampbell/roslyn,dotnet/roslyn,sharwell/roslyn,ErikSchierboom/roslyn,mgoertz-msft/roslyn,VSadov/roslyn,aelij/roslyn,xasx/roslyn,CyrusNajmabadi/roslyn,nguerrera/roslyn,tmat/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,abock/roslyn,mgoertz-msf...
src/EditorFeatures/Core/Tagging/AsynchronousViewTaggerProvider.cs
src/EditorFeatures/Core/Tagging/AsynchronousViewTaggerProvider.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.VisualStudio.Text; using M...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.VisualStudio.Text; using M...
mit
C#
a72e6e4ed2e9a0cb614a82f041ab9a1ab3772963
Add a using and set the position of the stream
deeja/Pigeon
Pigeon.Zipper/Mailer.cs
Pigeon.Zipper/Mailer.cs
namespace Pigeon { using System.IO; using System.Linq; using System.Net.Mail; using System.Net.Mime; using Pigeon.Adapters; public class Mailer { private readonly IMailService mailService; public Mailer(IMailService mailService) { this.mailService = ma...
namespace Pigeon { using System.Linq; using System.Net.Mail; using Pigeon.Adapters; public class Mailer { private readonly IMailService mailService; public Mailer(IMailService mailService) { this.mailService = mailService; } public void SendZi...
mit
C#
e29685440c47b84fe4ec8076436d224dfaa670b2
remove names from results (always null)
StephenClearyExamples/FunctionsAuth0
src/FunctionApp/Function.cs
src/FunctionApp/Function.cs
using System; using System.Linq; using System.Net; using System.Net.Http; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using System.Threading.Tasks; namespace FunctionApp { public static class Function { [FunctionName("Function")] ...
using System; using System.Linq; using System.Net; using System.Net.Http; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using System.Threading.Tasks; namespace FunctionApp { public static class Function { [FunctionName("Function")] ...
mit
C#
e5b6a25069a168da20111519321660f6d698790d
make WeakReference a true WeakReference, not a SoftReference, as this more closely resembles .NET semantics
dot42/api
System/WeakReference.cs
System/WeakReference.cs
// Copyright (C) 2014 dot42 // // Original filename: WeakReference.cs // // 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 // /...
// Copyright (C) 2014 dot42 // // Original filename: WeakReference.cs // // 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 // /...
apache-2.0
C#
ce6d39dd59ee17cc3eeed95655c8f667cc98ab54
Add permissions to sample app
osmdroid/OsmdroidXamarin,osmdroid/OsmdroidXamarin
xamarin-component/ComponentSample/Properties/AssemblyInfo.cs
xamarin-component/ComponentSample/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Android; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Compone...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly...
apache-2.0
C#
dea425d3b27aaec343a3fb8d9a966f4102f6dd80
Update cookie name
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Session/SessionDefaults.cs
src/Microsoft.AspNetCore.Session/SessionDefaults.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Session { /// <summary> /// Represents defaults for the Session. /// </summary> public static class Sessi...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Session { /// <summary> /// Represents defaults for the Session. /// </summary> public static class Sessi...
apache-2.0
C#
2f390fdf36ec0715cfd932c001e04345744e123f
Update Job.cs to use ITableData
Azure-Samples/app-service-mobile-donet-fieldengineer,lindydonna/fieldengineer,benlam62/app-service-mobile-dotnet-fieldengineer,Azure/fieldengineer,Azure-Samples/app-service-mobile-dotnet-fieldengineer
server/FieldEngineer/DataObjects/Job.cs
server/FieldEngineer/DataObjects/Job.cs
using Microsoft.Azure.Mobile.Server; using Microsoft.Azure.Mobile.Server.Tables; using System; using System.ComponentModel.DataAnnotations.Schema; namespace FieldEngineerLiteService.DataObjects { public class Job : ITableData { public string AgentId { get; set; } public string JobNumber { get...
using Microsoft.Azure.Mobile.Server; using Microsoft.Azure.Mobile.Server.Tables; using System; namespace FieldEngineerLiteService.DataObjects { public class Job : EntityData { public string AgentId { get; set; } public string JobNumber { get; set; } public string Title { get; set; } ...
mit
C#
b90f89eb5bbe79f0bae724aab2657ba3b2b8f399
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
2d7c8dc43c88047a27c38f55354ad85c11e95620
Connect a NetIRC client to the server
coldstorm/cac
cah/Program.cs
cah/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NetIRC; namespace cah { class Program { static void Main(string[] args) { Client client = new Client(); client.Connect("frogbox.es", 6667, false, ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cah { class Program { static void Main(string[] args) { } } }
mit
C#
4c1f8910225b09d783109c1c25fc8fd77eb3b7e9
Add ProvideLanguageExtension to markdown formats
AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadi...
src/Package/Impl/Packages/Markdown/MdPackage.cs
src/Package/Impl/Packages/Markdown/MdPackage.cs
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Microsoft.Markdown.Editor.ContentTypes; using Microsoft.VisualStudio.R.Package.Packages; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.R.Packages.Markdown { ...
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Microsoft.Markdown.Editor.ContentTypes; using Microsoft.VisualStudio.R.Package.Packages; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace Microsoft.VisualStudio.R.Packages.Markdown { ...
mit
C#
deaa4c305860bcad7cedea954418b59f664e6029
Fix XML doc comment
picrap/dnlib,yck1509/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,0xd4d/dnlib,kiootic/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib
src/Utils/SimpleLazyList.cs
src/Utils/SimpleLazyList.cs
using System.Diagnostics; namespace dot10.Utils { /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">Any class/value type</typeparam> [DebuggerDisplay("Count = {Length}")] sealed class SimpleLazyList<T> where T : class { [DebuggerBrowsable(DebuggerBrowsableSt...
using System.Diagnostics; namespace dot10.Utils { /// <summary> /// A readonly list that gets initialized lazily /// </summary> /// <typeparam name="T">A <see cref="ICodedToken"/> type</typeparam> [DebuggerDisplay("Count = {Length}")] sealed class SimpleLazyList<T> where T : class { [DebuggerBrowsable(Debugge...
mit
C#
126e02b10b8aad0173addabd29323df7e53c3e41
Add tests for something I suspected, but was not a problem.
darrencauthon/csharp-sparkpost,SparkPost/csharp-sparkpost,ZA1/csharp-sparkpost,kirilsi/csharp-sparkpost,darrencauthon/csharp-sparkpost,kirilsi/csharp-sparkpost
src/SparkPost.Tests/Utilities/SnakeCaseTests.cs
src/SparkPost.Tests/Utilities/SnakeCaseTests.cs
using NUnit.Framework; using Should; using SparkPost.Utilities; namespace SparkPost.Tests.Utilities { [TestFixture] public class SnakeCaseTests { [Test] public void It_should_convert_things_to_snake_case() { SnakeCase.Convert("T").ShouldEqual("t"); SnakeCase...
using NUnit.Framework; using Should; using SparkPost.Utilities; namespace SparkPost.Tests.Utilities { [TestFixture] public class SnakeCaseTests { [Test] public void It_should_convert_things_to_snake_case() { SnakeCase.Convert("T").ShouldEqual("t"); SnakeCase...
apache-2.0
C#
fc55d8aa9654946f693d50336d3372be7c698e87
Update MongoReminderDocument.cs (#91)
OrleansContrib/Orleans.Providers.MongoDB
Orleans.Providers.MongoDB/Reminders/Store/MongoReminderDocument.cs
Orleans.Providers.MongoDB/Reminders/Store/MongoReminderDocument.cs
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Orleans.Runtime; namespace Orleans.Providers.MongoDB.Reminders.Store { public class MongoReminderDocument { [BsonRepresentation(BsonType.String)] public string Id { get; set; } [BsonRequired] ...
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using Orleans.Runtime; namespace Orleans.Providers.MongoDB.Reminders.Store { public class MongoReminderDocument { [BsonRepresentation(BsonType.String)] public string Id { get; set; } [BsonRequired] ...
mit
C#
11ef65e3e2d72cd750f4dc1626c3373f0df92864
Remove unnecessary extension
EVAST9919/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,2y...
osu.Game/Beatmaps/Beatmap.cs
osu.Game/Beatmaps/Beatmap.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets.Objects; using System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps.ControlPoints; using Newtons...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets.Objects; using System.Collections.Generic; using System.Linq; using osu.Game.Beatmaps.ControlPoints; using Newtons...
mit
C#
38e4a21df8e74641973ffe0c89954f1a3f9ab86a
Revert orleans for backwards compatibility.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex.Infrastructure/Commands/CommandRequest.cs
backend/src/Squidex.Infrastructure/Commands/CommandRequest.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
2fa336a4c78f094f5d69d89f86205e3d59c68fd6
Call ToggleButton OnClick base method
jkoritzinsky/Avalonia,susloparovdenis/Avalonia,susloparovdenis/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,OronDF343/Avalonia,Perspex/P...
src/Perspex.Controls/Primitives/ToggleButton.cs
src/Perspex.Controls/Primitives/ToggleButton.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Perspex.Interactivity; using Perspex.Data; namespace Perspex.Controls.Primitives { public class ToggleButton : Button { ...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Perspex.Interactivity; using Perspex.Data; namespace Perspex.Controls.Primitives { public class ToggleButton : Button { ...
mit
C#
b4295a3df295fe062d6953e97e197d3eff51c476
Fix compilation with ServiceProvider
andrewst/SharpDX,davidlee80/SharpDX-1,fmarrabal/SharpDX,manu-silicon/SharpDX,weltkante/SharpDX,waltdestler/SharpDX,VirusFree/SharpDX,jwollen/SharpDX,TigerKO/SharpDX,PavelBrokhman/SharpDX,waltdestler/SharpDX,wyrover/SharpDX,PavelBrokhman/SharpDX,weltkante/SharpDX,TechPriest/SharpDX,andrewst/SharpDX,manu-silicon/SharpDX,...
Source/SharpDX.MediaFoundation/ServiceProvider.cs
Source/SharpDX.MediaFoundation/ServiceProvider.cs
// Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
// Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
mit
C#
4f826d4f3fe9812e611ee7979338c8d97a82e83f
fix build
telerik/JustMockLite
Telerik.JustMock.Tests/Properties/AssemblyInfo.cs
Telerik.JustMock.Tests/Properties/AssemblyInfo.cs
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* JustMock Lite Copyright © 2010-2014 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
C#
d2bc62ac9da44832d1c2fb74f6f24858db6f95b4
Update AssemblyInfo.cs
rsuter/VisualJsonEditor
src/VisualJsonEditor/Properties/AssemblyInfo.cs
src/VisualJsonEditor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("VisualJsonEditor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("VisualJsonEditor")] [assembly: Ass...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("VisualJsonEditor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("VisualJsonEditor")] [assembly: Ass...
mit
C#
094541fb276a70e0f182eee56fd741b6d7ee399c
disable auto flush on file logging, better performance
ArsenShnurkov/BitSharp
BitSharp.Node/LoggingModule.cs
BitSharp.Node/LoggingModule.cs
using Ninject; using Ninject.Modules; using NLog; using NLog.Config; using NLog.Targets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitSharp.Node { public class LoggingModule : NinjectModule { private rea...
using Ninject; using Ninject.Modules; using NLog; using NLog.Config; using NLog.Targets; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitSharp.Node { public class LoggingModule : NinjectModule { private rea...
unlicense
C#
1f2b2e965279fb8cdcb57712780f7a6c1d1f90a4
document transform.parse
AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,akrisiun/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,Perspex/Perspex,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/A...
src/Avalonia.Visuals/Media/Transform.cs
src/Avalonia.Visuals/Media/Transform.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Animation; using Avalonia.Animation.Animators; using Avalonia.VisualTree; namespace Avalonia.Media { /// <summary> /...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using Avalonia.Animation; using Avalonia.Animation.Animators; using Avalonia.VisualTree; namespace Avalonia.Media { /// <summary> /...
mit
C#
cb7da9ab1fd6ee3e03f04c95e895564b1e37f357
Revert ""
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/Cap.Consistency.Server/IConsumer.cs
src/Cap.Consistency.Server/IConsumer.cs
using System; using Microsoft.AspNetCore.Hosting; namespace Cap.Consistency.Server { public interface IConsumer : IDisposable { void Start(); void Start(int count); void Stop(); IConsistencyTrace Log { get; set; } ConsistencyServerOptions ServerOptions { get; set;...
using System; using Microsoft.AspNetCore.Hosting; namespace Cap.Consistency.Server { public interface IConsumer : IDisposable { void Start(); void Start(int count); void Stop(); IConsistencyTrace Log { get; set; } ConsistencyServerOptions ServerOptions { get; set...
mit
C#
d8579f502469cafe2e420c4acf5f065eb79a0655
Update DbSchemaCollection.cs
PowerMogli/Rabbit.Db
src/Micro+/Schema/DbSchemaCollection.cs
src/Micro+/Schema/DbSchemaCollection.cs
namespace MicroORM.Schema { internal static class DbSchemaAllocator<TEntity> { private static DbSchemaReader SchemaReader { get; set; } static DbSchemaAllocator() { SchemaReader = DbSchemaAllocator.SchemaReader; } internal static void Allocate() { ...
namespace MicroORM.Schema { internal static class DbSchemaAllocator<T> { private static DbSchemaReader SchemaReader { get; set; } static DbSchemaAllocator() { SchemaReader = DbSchemaAllocator.SchemaReader; } internal static void Allocate() { ...
apache-2.0
C#
2bb7b852a7948e9945ad14b6dbdea1140e3e8b15
correct url
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/mikeandwan.us/Views/Shared/_js_Stats.cshtml
src/mikeandwan.us/Views/Shared/_js_Stats.cshtml
<environment names="Staging,Production"> <script src="https://cdnjs.cloudflare.com/ajax/libs/stats.js/r17/Stats.min.js"></script> </environment> <environment names="Development"> <script src="/js/libs/stats/r17/stats.min.js"></script> </environment>
<environment names="Staging,Production"> <script src="https://cdnjs.cloudflare.com/ajax/libs/stats.js/r17/stats.min.js"></script> </environment> <environment names="Development"> <script src="/js/libs/stats/r17/stats.min.js"></script> </environment>
mit
C#
58e242ec30cfad789cab6cdfbec4a28c313bbec1
rename Add() -> SafeAdd()
TakeAsh/cs-WpfUtility
WpfUtility/UIElementCollectionExtensionMethods.cs
WpfUtility/UIElementCollectionExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; namespace WpfUtility { public static class UIElementCollectionExtensionMethods { public static void SafeAdd(this UIElementCollection items, IEnumerable<UI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; namespace WpfUtility { public static class UIElementCollectionExtensionMethods { public static void Add(this UIElementCollection items, IEnumerable<UIElem...
mit
C#
dda79fb9aeae0ab1009b129ce2256461d9fcd9c9
修改游戏读取关卡的warning。使用SceneManager的读取的方法。
AlayaElla/sangharama
Assets/Scripts/Tools/UITEST.cs
Assets/Scripts/Tools/UITEST.cs
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class UITEST : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void LoadTestLevel() { SceneManager.LoadScene("Map"); ...
using UnityEngine; using System.Collections; public class UITEST : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void LoadTestLevel() { Application.LoadLevel("Map"); } public void LoadTest2Level() ...
mpl-2.0
C#
beb61098e835e2845a81774e1f68069a0cfb5ae7
Add unit test of Ev3PortViewModel. -Modify bugs of BrickUpdater_30_01 found while unit test of Ev3PortViewModel. -Update unit test of Ev3PortViewModel.
CountrySideEngineer/Ev3Controller
dev/src/Ev3Controller/Model/BrickUpdater_30_01.cs
dev/src/Ev3Controller/Model/BrickUpdater_30_01.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ev3Controller.Ev3Command; using System.Diagnostics; namespace Ev3Controller.Model { public class BrickUpdater_30_01 : BrickUpdater { /// <summary> /// Updater ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ev3Controller.Ev3Command; using System.Diagnostics; namespace Ev3Controller.Model { public class BrickUpdater_30_01 : BrickUpdater { /// <summary> /// Updater ...
mit
C#
97abef04aa4ed65c387d4fc5bebd4830738e7948
fix DeleteFile()
marinaRupe/FER.RAUPJC-PROJEKT,marinaRupe/FER.RAUPJC-PROJEKT,marinaRupe/FER.RAUPJC-PROJEKT
SimpleWebEditor/src/SimpleWebEditorApplication/Core/Models/Page.cs
SimpleWebEditor/src/SimpleWebEditorApplication/Core/Models/Page.cs
using System; using System.IO; using System.ComponentModel.DataAnnotations; namespace SimpleWebEditorApplication.Core.Models { public class Page { public const string PUBLISHED_PAGE_PATH = "/publishedPages/"; public const string WORK_PAGE_PATH = "/workPages/"; [Key] public Gui...
using System; using System.IO; using System.ComponentModel.DataAnnotations; namespace SimpleWebEditorApplication.Core.Models { public class Page { public const string PUBLISHED_PAGE_PATH = "/publishedPages/"; public const string WORK_PAGE_PATH = "/workPages/"; [Key] public Gui...
mit
C#
b665282f1e4279790e1a09241a63a980ba4276af
fix for title clobbering custom title
SmallPlanetUnity/PUTMPro
PUTMProButton.cs
PUTMProButton.cs
/* Copyright (c) 2012 Small Planet Digital, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
/* Copyright (c) 2012 Small Planet Digital, LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files * (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
mit
C#
b49a57941103145f782810e873b811723e593139
Allow SampleInfo to specify fallback sample lookup names
smoogipooo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu
osu.Game/Audio/SampleInfo.cs
osu.Game/Audio/SampleInfo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; namespace osu.Game.Audio { /// <summary> /// Describes a gameplay sample. /// </summary> public class SampleInfo : ISam...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; namespace osu.Game.Audio { /// <summary> /// Describes a gameplay sample. /// </summary> public class SampleInfo : ISam...
mit
C#
4e8608590cff1f49729eaedbea1dd1545001cd49
Add bad know-how for NotifyIcon
shimitei/UnstableCribs
COIME/Common/Control/NotifyIconUtil.cs
COIME/Common/Control/NotifyIconUtil.cs
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Windows.Forms; namespace COIME.Common.Control { public class NotifyIconUtil { /* * for ALT + F4 problem * see http://d.hatena.ne.jp/hnx8/20131208/1386486457 */ [DllImport("user3...
using System; using System.Windows.Forms; namespace COIME.Common.Control { public class NotifyIconUtil { /// <summary> /// Setup NotifyIcon. /// The icon added to the notification area, and then retry until it succeeds. /// </summary> /// <param name="notifyIcon"></para...
apache-2.0
C#
21633af2215ba78330f6b6e26f16a1543131abb0
Update Terms.cshtml
lucasdavid/Gamedalf,lucasdavid/Gamedalf
Gamedalf/Views/Developers/Terms.cshtml
Gamedalf/Views/Developers/Terms.cshtml
@model AcceptTermsViewModel @{ ViewBag.Title = "Become a developer"; } @section scripts { @Scripts.Render("~/Scripts/app/ajax/terms.js") } <div id="terms-error" class="hidden"> @Html.Partial("_Error", new HandleErrorInfo(new ApplicationException(), "Developers", "Terms")) </div> <div id="te...
@model AcceptTermsViewModel @{ ViewBag.Title = "Become a developer"; } @section scripts { @Scripts.Render("~/Scripts/app/ajax/terms.js") } <h2> Read the terms carefully. </h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <p id="terms-content" data-resource="Develope...
mit
C#
50aa8a623bd643774cf9ac1a6a149c0f0d12cc1f
Format TargetGroupService
carbon/Amazon
src/Amazon.Elb/TargetGroupService.cs
src/Amazon.Elb/TargetGroupService.cs
using System; using System.Threading.Tasks; namespace Amazon.Elb { public sealed class TargetGroupService { private readonly ElbClient client; public TargetGroupService(ElbClient client) { this.client = client ?? throw new ArgumentNullException(nameof(client)); ...
using System; using System.Threading.Tasks; namespace Amazon.Elb { public sealed class TargetGroupService { private readonly ElbClient client; public TargetGroupService(ElbClient client) { this.client = client ?? throw new ArgumentNullException(nameof(client)); ...
mit
C#
7a14d3e2e2243f32a0b2d8592500a1f5d48db4eb
Set isNew to true only for ajax requests (#6084)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchar...
src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml
src/OrchardCore.Modules/OrchardCore.Widgets/Views/ContentCard.cshtml
@inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager @{ //Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes dynamic contentCardFrame = await New.ContentCard_Frame(); var contentItem = Model.ContentItem; ...
@inject OrchardCore.ContentManagement.Display.IContentItemDisplayManager ContentItemDisplayManager @{ //Set Model (Current Shape) as Child content of Outer Frame, Later this Model is used to render other shapes dynamic contentCardFrame = await New.ContentCard_Frame(); var contentItem = Model.ContentItem; ...
bsd-3-clause
C#
b5ac20ec9f1a78857b4345adca2b9f2f3b966967
Correct connection string for res queue (#847)
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Services/Implementations/AzureQueueReferenceEventService.cs
src/Core/Services/Implementations/AzureQueueReferenceEventService.cs
using System.Threading.Tasks; using Azure.Storage.Queues; using Bit.Core.Models.Business; using Newtonsoft.Json; namespace Bit.Core.Services { public class AzureQueueReferenceEventService : IReferenceEventService { private const string _queueName = "reference-events"; private readonly QueueCl...
using System.Threading.Tasks; using Azure.Storage.Queues; using Bit.Core.Models.Business; using Newtonsoft.Json; namespace Bit.Core.Services { public class AzureQueueReferenceEventService : IReferenceEventService { private const string _queueName = "reference-events"; private readonly QueueCl...
agpl-3.0
C#
abf6c3b19b04936e2154fcaf092660e0d54bcbc6
Send framed message async.
mterwoord/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,mterwoord/mbunit-v3,xJom/mbunit-v3,mterwoord/mbunit-v3,xJom/mbunit-v3,Gallio/mbunit-v3,Gallio/mbunit-v3,xJom/mbunit-v3,ajayanandgit/mbunit-v3,Gallio/mbunit-v3,xJom/mbunit-v3,mterwoord/mbunit-v3,Gallio/mbunit-v3,ajayanandgit/mbunit-v3,ajayanandgit/mbunit-v3,xJom/mbunit...
src/Gallio/Gallio/Common/Messaging/MessageSinks/Tcp/FramedMessage.cs
src/Gallio/Gallio/Common/Messaging/MessageSinks/Tcp/FramedMessage.cs
using System; using System.Net.Sockets; namespace Gallio.Common.Messaging.MessageSinks.Tcp { /// <summary> /// Wraps a Message, and adds the message length before when writing to a socket. /// </summary> internal class FramedMessage { private readonly byte[] messageData; public FramedMessage(byte...
using System; using System.IO; using System.Net.Sockets; namespace Gallio.Common.Messaging.MessageSinks.Tcp { /// <summary> /// Wraps a Message, and adds the message length before when writing to a socket. /// </summary> internal class FramedMessage { private readonly byte[] messageData; public ...
apache-2.0
C#
ed8b315e198b1ae187aa2556434d7685afe043f4
Update helper for the case when you want to find a node in structured trivia.
jcouv/roslyn,xasx/roslyn,shyamnamboodiripad/roslyn,paulvanbrenk/roslyn,agocke/roslyn,nguerrera/roslyn,weltkante/roslyn,gafter/roslyn,AmadeusW/roslyn,stephentoub/roslyn,KirillOsenkov/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,panopticoncentral/roslyn,paulvanbrenk/roslyn,AlekseyTs/roslyn,jcouv/roslyn,aelij/roslyn,heej...
src/Workspaces/Core/Portable/Shared/Extensions/LocationExtensions.cs
src/Workspaces/Core/Portable/Shared/Extensions/LocationExtensions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; namespace Microsoft.CodeAnalysis.Shared.Extensions { internal static class LocationExtensions { public static Syntax...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; namespace Microsoft.CodeAnalysis.Shared.Extensions { internal static class LocationExtensions { public static Syntax...
mit
C#
f9e67bd3c63ff4a43bf376adac3e27b86cb64f37
Fix attributes on ISymUnmanagedAsyncMethod.GetAsyncStepInfo
jeffanders/roslyn,KiloBravoLima/roslyn,stephentoub/roslyn,ericfe-ms/roslyn,aelij/roslyn,KevinH-MS/roslyn,abock/roslyn,heejaechang/roslyn,AnthonyDGreen/roslyn,xasx/roslyn,MatthieuMEZIL/roslyn,mmitche/roslyn,michalhosala/roslyn,CaptainHayashi/roslyn,nguerrera/roslyn,reaction1989/roslyn,dotnet/roslyn,xoofx/roslyn,amcasey/...
src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedAsyncMethod.cs
src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedAsyncMethod.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace Microsoft.DiaSymReader { [ComImport] [Guid("B20D55B3-532E-4906-87E7-25BD5734ABD2")] ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace Microsoft.DiaSymReader { [ComImport] [Guid("B20D55B3-532E-4906-87E7-25BD5734ABD2")] ...
apache-2.0
C#
e9be5eae952163dada08aeafadb452126ee4d7cc
fix repo bug
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Data/Repositories/Implementations/ListRepository.cs
src/FilterLists.Data/Repositories/Implementations/ListRepository.cs
using System.Collections.Generic; using System.Linq; using FilterLists.Data.Contexts; using FilterLists.Data.Models; using FilterLists.Data.Repositories.Contracts; namespace FilterLists.Data.Repositories.Implementations { public class ListRepository : IListRepository { private readonly IFilterListsDbC...
using System.Collections.Generic; using System.Linq; using FilterLists.Data.Contexts; using FilterLists.Data.Models; using FilterLists.Data.Repositories.Contracts; namespace FilterLists.Data.Repositories.Implementations { public class ListRepository : IListRepository { private readonly IFilterListsDbC...
mit
C#
c4247951a658a02d81af64910c054a90cf35944e
Update TestMethodCommand.cs
nunit/nunit,nunit/nunit
src/NUnitFramework/framework/Internal/Commands/TestMethodCommand.cs
src/NUnitFramework/framework/Internal/Commands/TestMethodCommand.cs
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using NUnit.Framework.Interfaces; namespace NUnit.Framework.Internal.Commands { /// <summary> /// TestMethodCommand is the lowest level concrete command /// used to run actual test cases. /// <...
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using NUnit.Framework.Interfaces; namespace NUnit.Framework.Internal.Commands { /// <summary> /// TestMethodCommand is the lowest level concrete command /// used to run actual test cases. /// <...
mit
C#
05a84d8511b912d38bad590dd52976a706b07049
Fix NRE
akrisiun/xwt,hwthomas/xwt,sevoku/xwt,steffenWi/xwt,lytico/xwt,hamekoz/xwt,directhex/xwt,residuum/xwt,cra0zy/xwt,mminns/xwt,antmicro/xwt,iainx/xwt,TheBrainTech/xwt,mono/xwt,mminns/xwt
Xwt/Xwt/XwtObject.cs
Xwt/Xwt/XwtObject.cs
// // XwtObject.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction...
// // XwtObject.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction...
mit
C#
b31bba93786e2610489a943a46ba8638ba317215
Comment out admin policy
elkingtonmcb/Glimpse,Glimpse/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,sorenhl/Glimpse,codevlabs/Glimpse,codevlabs/Glimpse,sorenhl/Glimpse,paynecrl97/Glimpse,SusanaL/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,dudzon/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,pa...
source/Glimpse.Mvc3.MusicStore.Sample/Framework/AdminPolicy.cs
source/Glimpse.Mvc3.MusicStore.Sample/Framework/AdminPolicy.cs
//using System; //using System.Collections.Generic; //using System.Linq; //using System.Web; //using Glimpse.AspNet.Extensions; //using Glimpse.Core.Extensibility; //namespace MvcMusicStore.Framework //{ // public class AdminPolicy : IRuntimePolicy // { // public RuntimePolicy Execute(IRuntimePolicyConte...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Glimpse.AspNet.Extensions; using Glimpse.Core.Extensibility; namespace MvcMusicStore.Framework { public class AdminPolicy : IRuntimePolicy { public RuntimePolicy Execute(IRuntimePolicyContext policyContext) ...
apache-2.0
C#
b1f12b8ef1e5d876fdd629a9f36003a20b3fc115
Add NumberOfDecreasesToday to ProvisionedThroughput
carbon/Amazon
src/Amazon.DynamoDb.Management/Models/ProvisionedThroughput.cs
src/Amazon.DynamoDb.Management/Models/ProvisionedThroughput.cs
namespace Amazon.DynamoDb.Models { public sealed class ProvisionedThroughput { public ProvisionedThroughput() { } public ProvisionedThroughput(int readCapacityUnits, int writeCapacityUnits) { ReadCapacityUnits = readCapacityUnits; WriteCapacityUnits = writeCapac...
namespace Amazon.DynamoDb.Models { public sealed class ProvisionedThroughput { public ProvisionedThroughput() { } public ProvisionedThroughput(int readCapacityUnits, int writeCapacityUnits) { ReadCapacityUnits = readCapacityUnits; WriteCapacityUnits = writeCapac...
mit
C#
317f9307943902e288e7efddb9c43165e07d1428
check for NotOnVariableContainingType
weltkante/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,tmat/roslyn,tannergooding/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,stephentoub/roslyn,tmat/roslyn,AlekseyTs/roslyn,physhi/roslyn,heejaechang/roslyn,KevinRansom/roslyn,physhi/roslyn,KevinRansom/roslyn,genlu/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn...
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.cs
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertNa...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertNa...
mit
C#
2b6e7f8e1891531563a67659926697a23ff715d0
add DefaultValuesFeature.GettingAnExistingItemWithTheWrongTypeOfDefault
config-r/config-r
tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/DefaultValuesFeature.cs
tests/ConfigR.Tests.Acceptance.Roslyn.CSharp/DefaultValuesFeature.cs
// <copyright file="DefaultValuesFeature.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> namespace ConfigR.Tests.Acceptance { using System; using ConfigR.Tests.Acceptance.Roslyn.CSharp.Support; using FluentAssertions; using Xb...
// <copyright file="DefaultValuesFeature.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> namespace ConfigR.Tests.Acceptance { using ConfigR.Tests.Acceptance.Roslyn.CSharp.Support; using FluentAssertions; using Xbehave; publi...
mit
C#
bec7da48f7a86673f6e4a11c960be9128bc19daa
Update version
frabert/SharpPhysFS
SharpPhysFS/Properties/AssemblyInfo.cs
SharpPhysFS/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Sh...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Sh...
mit
C#
2f45db38ab35e5de1ac352ffaa36e3a7517afef4
Fix NTStatusSeverity.Success value
jmelosegui/pinvoke,AArnott/pinvoke,fearthecowboy/pinvoke,vbfox/pinvoke
src/Windows.Core/NTStatusSeverity.cs
src/Windows.Core/NTStatusSeverity.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { /// <summary> /// Represent the 4 high bits of a <see cref="NTStat...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { /// <summary> /// Represent the 4 high bits of a <see cref="NTStat...
mit
C#
5612a2bc4369b23c7704cceefe4cdf6f2fca6f3f
Return self from GitResult methods to allow chaining.
crowar/Bonobo-Git-Server,crowar/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,braegelno5/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,igoryok-zp/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,braegelno5/Bonobo-Git-Server,lkho/Bonobo-Git-Server,gencer/Bonobo-Git-Server,larshg/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Serve...
Bonobo.Git.Server.Test/IntegrationTests/GitResult.cs
Bonobo.Git.Server.Test/IntegrationTests/GitResult.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Bonobo.Git.Server.Test.IntegrationTests { public class GitResult { public string StdErr { get; set; } public string StdOut { get; set; } public int ExitCode { get; set; } public MsysgitResources Resourc...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Bonobo.Git.Server.Test.IntegrationTests { public class GitResult { public string StdErr { get; set; } public string StdOut { get; set; } public int ExitCode { get; set; } public MsysgitResources Resourc...
mit
C#
06a19ef1d2db030572d589988b855a2422f652db
fix the origin namespace to be replaced with a default
jwChung/Experimentalism,jwChung/Experimentalism
test/Experiment.AutoFixture.NuGetFilesUnitTest/AssemblyLevelTest.cs
test/Experiment.AutoFixture.NuGetFilesUnitTest/AssemblyLevelTest.cs
using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using Xunit; using Xunit.Extensions; namespace Jwc.NuGetFiles { public class AssemblyLevelTest { [Fact] public void TargetAssemblyReferencesOnlySpecifiedAssemblies() { var sut = typeof(TheoremA...
using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using Xunit; using Xunit.Extensions; namespace Jwc.NuGetFiles { public class AssemblyLevelTest { [Fact] public void TargetAssemblyReferencesOnlySpecifiedAssemblies() { var sut = typeof(TheoremA...
mit
C#
cb63fc01ad8ed11efb0d5fc5fd18a7510e3e1097
Build nuget package.
QuickenLoans/XSerializer,rlyczynski/XSerializer
XSerializer/Properties/AssemblyInfo.cs
XSerializer/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Ass...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Ass...
mit
C#
68d28a977af5454096ae5daeaa5de4ee778ecdf4
Fix beat count returning 0 incorrectly
Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingData.cs
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingData.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Microgame Assets/YoumuSlash/Timing Data")] public class YoumuSlashTimingData : ScriptableObject { [SerializeField] private AudioClip musicClip; public AudioClip MusicClip => musicClip; [Serial...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(menuName = "Microgame Assets/YoumuSlash/Timing Data")] public class YoumuSlashTimingData : ScriptableObject { [SerializeField] private AudioClip musicClip; public AudioClip MusicClip => musicClip; [Serial...
mit
C#
936dd026948316d038641c4ee9c4e56038b6c26c
add one space before the pics' count
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListCategories.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListCategories.cshtml
@model PagedList.IPagedList<AstroPhotoGallery.Models.Category> @using PagedList.Mvc; @using System.Linq; @{ ViewBag.Title = "List"; } <link href="~/Content/PagedList.css" rel="stylesheet" /> <div class="container"> <h2 class="text-center">Browse by categories</h2> <br/> @foreach (var category in Model...
@model PagedList.IPagedList<AstroPhotoGallery.Models.Category> @using PagedList.Mvc; @using System.Linq; @{ ViewBag.Title = "List"; } <link href="~/Content/PagedList.css" rel="stylesheet" /> <div class="container"> <h2 class="text-center">Browse by categories</h2> <br/> @foreach (var category in Model...
mit
C#
ce57881a60246c1adb73d2cf3d60ae29a990548d
Hide duplicate sprite property from inspector
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine/Graphics/Animations/AGSAnimationComponent.cs
Source/Engine/AGS.Engine/Graphics/Animations/AGSAnimationComponent.cs
using AGS.API; using System.ComponentModel; using System.Threading.Tasks; namespace AGS.Engine { public class AGSAnimationComponent : AGSComponent, IAnimationComponent, ISpriteProvider { private IScale _scale; private ISpriteRenderComponent _spriteRender; public AGSAnimationComponent() { ...
using AGS.API; using System.ComponentModel; using System.Threading.Tasks; namespace AGS.Engine { public class AGSAnimationComponent : AGSComponent, IAnimationComponent, ISpriteProvider { private IScale _scale; private ISpriteRenderComponent _spriteRender; public AGSAnimationComponent() { ...
artistic-2.0
C#
f93291e25b4967edd658d3e309d33905684d5343
Remove unused override
NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new
osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs
osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.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.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects.Drawables; using osu.Game.Rulesets.Objec...
// 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.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects.Drawables; using osu.Game.Rulesets.Objec...
mit
C#
d082ad91d8c87e0972b5d340df8b4f5d07bb7015
Update AvaloniaSynchronizationContext to don't wrap exceptions to AggregateException when invoking from non-UI thread
jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,j...
src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs
src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs
using System; using System.Runtime.ConstrainedExecution; using System.Threading; namespace Avalonia.Threading { /// <summary> /// SynchronizationContext to be used on main thread /// </summary> public class AvaloniaSynchronizationContext : SynchronizationContext { /// <summary> /// ...
using System; using System.Runtime.ConstrainedExecution; using System.Threading; namespace Avalonia.Threading { /// <summary> /// SynchronizationContext to be used on main thread /// </summary> public class AvaloniaSynchronizationContext : SynchronizationContext { /// <summary> /// ...
mit
C#
b4cb70f6a0381169a247c1a3efd4ed73f6dbb825
Improve data migration code
joelverhagen/CheckRepublic,joelverhagen/CheckRepublic,joelverhagen/CheckRepublic
src/Knapcode.CheckRepublic.Logic/Entities/MigrationService.cs
src/Knapcode.CheckRepublic.Logic/Entities/MigrationService.cs
using System.Diagnostics; using System.Linq; using Knapcode.CheckRepublic.Logic.Entities.DataMigrations; using Knapcode.CheckRepublic.Logic.Entities.Migrations; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.Extensions.Logging; namespace Knapcode.Ch...
using System.Collections.Generic; using System.Linq; using Knapcode.CheckRepublic.Logic.Entities.DataMigrations; using Knapcode.CheckRepublic.Logic.Entities.Migrations; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; namespace Kn...
mit
C#
45a69b54c1e8ca1b7a7371cc9672664f2d41a795
Rename key_id token cache key name to kid
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet
src/client/Microsoft.Identity.Client/Cache/StorageJsonKeys.cs
src/client/Microsoft.Identity.Client/Cache/StorageJsonKeys.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Client.Cache { internal static class StorageJsonKeys { public const string HomeAccountId = "home_account_id"; public const string Environment = "environment"; pu...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. namespace Microsoft.Identity.Client.Cache { internal static class StorageJsonKeys { public const string HomeAccountId = "home_account_id"; public const string Environment = "environment"; pu...
mit
C#
b0a702284f742fa2830cdf4fc7bf6214c28d4318
Reorder tests in DerAsnBooleanTests
huysentruitw/pem-utils
tests/DerConverter.Tests/Asn/KnownTypes/DerAsnBooleanTests.cs
tests/DerConverter.Tests/Asn/KnownTypes/DerAsnBooleanTests.cs
using DerConverter.Asn; using DerConverter.Asn.KnownTypes; using NUnit.Framework; namespace DerConverter.Tests.Asn.KnownTypes { [TestFixture] public class DerAsnBooleanTests { [Test] public void Constructor_ShouldSetUniversalIdentifier() { var boolean = new DerAsnBoolea...
using DerConverter.Asn; using DerConverter.Asn.KnownTypes; using NUnit.Framework; namespace DerConverter.Tests.Asn.KnownTypes { [TestFixture] public class DerAsnBooleanTests { [Test] public void Constructor_ShouldDecodeCorrectly() { var boolean = new DerAsnBoolean(null,...
apache-2.0
C#
39e96b2e86a219c35b3cdc95a56b1c3f1790344b
Fix multi-input controller not adding tilt.
google/mechahamster,google/mechahamster
Assets/Hamster/Scripts/InputControllers/MultiInputController.cs
Assets/Hamster/Scripts/InputControllers/MultiInputController.cs
// Copyright 2017 Google Inc. 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 applicabl...
// Copyright 2017 Google Inc. 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 applicabl...
apache-2.0
C#
f5020d408fa4490c137f92a0e456a183a87d02c0
remove promise from container when promise finished
shinji-yoshida/UniPromise.UniRxBridge
Assets/Scripts/UniPromise/UniRxBridge/AddToPromiseExtensions.cs
Assets/Scripts/UniPromise/UniRxBridge/AddToPromiseExtensions.cs
using UnityEngine; using UniRx; using System.Collections.Generic; using System; namespace UniPromise.UniRxBridge { public static class AddToPromiseExtensions { public static Promise<T> AddPromiseTo<T>(this Promise<T> promise, ICollection<IDisposable> container) { return AddTo (promise, container); } public...
using UnityEngine; using UniRx; using System.Collections.Generic; using System; namespace UniPromise.UniRxBridge { public static class AddToPromiseExtensions { public static Promise<T> AddTo<T>(this Promise<T> promise, ICollection<IDisposable> container) { if(promise.IsPending) UniRx.DisposableExtensions.Ad...
mit
C#
97968aa9e5886a8413db4495584b02a4c02e6d2d
Add sync Run helper to sort fields visitor
exceptionless/Foundatio.Parsers,exceptionless/Exceptionless.LuceneQueryParser
src/Foundatio.Parsers.ElasticQueries/Visitors/GetSortFieldsVisitor.cs
src/Foundatio.Parsers.ElasticQueries/Visitors/GetSortFieldsVisitor.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Foundatio.Parsers.LuceneQueries.Extensions; using Foundatio.Parsers.LuceneQueries.Nodes; using Foundatio.Parsers.LuceneQueries.Visitors; using Nest; namespace Foundatio.Parsers.ElasticQueries.Visitors { public class GetSortFieldsV...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Foundatio.Parsers.LuceneQueries.Extensions; using Foundatio.Parsers.LuceneQueries.Nodes; using Foundatio.Parsers.LuceneQueries.Visitors; using Nest; namespace Foundatio.Parsers.ElasticQueries.Visitors { public class GetSortFieldsV...
apache-2.0
C#
99a395566cfa8d4908717078cc7207fa49ec08ec
Update DragDropExtensions.cs
punker76/gong-wpf-dragdrop
src/GongSolutions.WPF.DragDrop.Shared/Utilities/DragDropExtensions.cs
src/GongSolutions.WPF.DragDrop.Shared/Utilities/DragDropExtensions.cs
using System.Windows; namespace GongSolutions.Wpf.DragDrop.Utilities { public static class DragDropExtensions { /// <summary> /// Determines whether the given element is ignored on drag start (<see cref="DragDrop.DragSourceIgnore"/>). /// </summary> /// <param name="element">Th...
using System.Windows; namespace GongSolutions.Wpf.DragDrop.Utilities { public static class DragDropExtensions { /// <summary> /// Determines whether the given element is ignored on drag start (<see cref="DragDrop.DragSourceIgnore"/>). /// </summary> /// <param name="element">Th...
bsd-3-clause
C#
05998c0b9eefeb3e50d07e6243fe20734daf78bb
Update src/Features/LanguageServer/Protocol/Handler/Completion/CompletionResolveData.cs
diryboy/roslyn,eriawan/roslyn,wvdd007/roslyn,weltkante/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,wvdd007/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,physhi/roslyn,eriawan/roslyn,shyamn...
src/Features/LanguageServer/Protocol/Handler/Completion/CompletionResolveData.cs
src/Features/LanguageServer/Protocol/Handler/Completion/CompletionResolveData.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.LanguageServer.Handler.Completion; using LSP = Microsoft.VisualStudio.LanguageServer.P...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using Microsoft.CodeAnalysis.LanguageServer.Handler.Completion; using LSP = Microsoft.VisualStudi...
mit
C#
2bd2b1d7af44d94125189ff6e4b165e318f99919
fix creation of GValues for property setter in custom code
GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,GStreamer/gstreamer-sharp,G...
sources/custom/Object.cs
sources/custom/Object.cs
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
// Copyright (C) 2013 Stephan Sundermann <stephansundermann@gmail.com> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any ...
lgpl-2.1
C#
b4f363ca96f354299a06e61e0702726fc2b6f71d
Support specifying category for project template
mrward/monodevelop-template-creator-addin,mrward/monodevelop-template-creator-addin
src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/CustomSolutionTemplate.cs
src/MonoDevelop.TemplateCreator/MonoDevelop.Templating/CustomSolutionTemplate.cs
// // CustomSolutionTemplate.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2017 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in t...
// // CustomSolutionTemplate.cs // // Author: // Matt Ward <matt.ward@xamarin.com> // // Copyright (c) 2017 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in t...
mit
C#
203fd950797933c80f929c9fc2d8d0f4b8cf8d1f
Delete scheduled task when content is published
gcsuk/Orchard,fassetar/Orchard,Codinlab/Orchard,OrchardCMS/Orchard,tobydodds/folklife,tobydodds/folklife,Dolphinsimon/Orchard,grapto/Orchard.CloudBust,jersiovic/Orchard,OrchardCMS/Orchard,ehe888/Orchard,Codinlab/Orchard,abhishekluv/Orchard,aaronamm/Orchard,grapto/Orchard.CloudBust,ehe888/Orchard,Dolphinsimon/Orchard,ye...
src/Orchard.Web/Modules/Orchard.PublishLater/Handlers/PublishLaterPartHandler.cs
src/Orchard.Web/Modules/Orchard.PublishLater/Handlers/PublishLaterPartHandler.cs
using Orchard.ContentManagement.Handlers; using Orchard.PublishLater.Models; using Orchard.PublishLater.Services; using Orchard.Tasks.Scheduling; namespace Orchard.PublishLater.Handlers { public class PublishLaterPartHandler : ContentHandler { private readonly IPublishLaterService _publishLaterService; ...
using Orchard.ContentManagement.Handlers; using Orchard.PublishLater.Models; using Orchard.PublishLater.Services; using Orchard.Tasks.Scheduling; namespace Orchard.PublishLater.Handlers { public class PublishLaterPartHandler : ContentHandler { private readonly IPublishLaterService _publishLaterService; ...
bsd-3-clause
C#
2c559b8e39f776f8c3dd113b24e8dfb95398bf71
Switch to dependency injection
rprouse/CoderCamp18
AsciiArt/Program.cs
AsciiArt/Program.cs
using System; using AsciiArt.ImageConverters; using Ninject; namespace AsciiArt { class Program { static void Main(string[] args) { string filename = args.Length > 0 ? args[0] : "octocat.png"; var converter = Factory.Kernel.Get<FileConverter>(); string outp...
using System; using AsciiArt.ImageConverters; namespace AsciiArt { class Program { static void Main(string[] args) { string filename = args.Length > 0 ? args[0] : "octocat.png"; var converter = new FileConverter(new Ascii()); string output = converter.Conve...
mit
C#
7c813cb8cae25b559453b1f6d4c375632edaee80
Make sure the boolean converter derives from appropriate base class
Jericho/CakeMail.RestClient
CakeMail.RestClient/Utilities/CakeMailIntegerBooleanConverter.cs
CakeMail.RestClient/Utilities/CakeMailIntegerBooleanConverter.cs
using Newtonsoft.Json; using System; namespace CakeMail.RestClient.Utilities { /// <summary> /// Converter class used in conjuction with JSON.NET to convert a Boolean into a string format acceptable to CakeMail /// </summary> public class CakeMailIntegerBooleanConverter : JsonConverter { /// <summary> /// Wr...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System; namespace CakeMail.RestClient.Utilities { /// <summary> /// Converter class used in conjuction with JSON.NET to convert a Boolean into a string format acceptable to CakeMail /// </summary> public class CakeMailIntegerBooleanConverter : DateTim...
mit
C#
9463475202be48b011e955532de1596bcd1eb2b9
Remove now unused member
smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,DrabWeb/osu,DrabWeb/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,peppy/osu,naoey/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,ZLima12/osu,ppy/os...
osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs
osu.Game.Rulesets.Catch/Objects/CatchHitObject.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catc...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; using osu.Game.Beatmaps.ControlPoints; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catc...
mit
C#
c4b530b67e6df254f8129984444c91a33a208132
Fix missing not null check in DotvvmDiagnosticsConfiguration
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Framework/Diagnostics/DotvvmDiagnosticsConfiguration.cs
src/DotVVM.Framework/Diagnostics/DotvvmDiagnosticsConfiguration.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using Newtonsoft.Json; namespace DotVVM.Framework.Diagnostics { public class DotvvmDiagnosticsConfiguration { public DotvvmDiagnosticsConfiguration() { LoadConfiguration(); } priva...
using System; using System.Collections.Generic; using System.IO; using System.Text; using Newtonsoft.Json; namespace DotVVM.Framework.Diagnostics { public class DotvvmDiagnosticsConfiguration { public DotvvmDiagnosticsConfiguration() { LoadConfiguration(); } priva...
apache-2.0
C#
906db230f8d894dc4a5f8efe7bf6f20c776c17cb
Switch to v1.2.1
Abc-Arbitrage/Zebus,rbouallou/Zebus,AtwooTM/Zebus,biarne-a/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.1")] [assembly: AssemblyFileVersion("1.2.1")] [assembly: AssemblyInformationalVersion("1.2.1")]
using System.Reflection; [assembly: AssemblyVersion("1.2.0")] [assembly: AssemblyFileVersion("1.2.0")] [assembly: AssemblyInformationalVersion("1.2.0")]
mit
C#
f53b78740d6d01951ab839b8b91128450659e1a7
Switch to version 1.2.8
Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.8")] [assembly: AssemblyFileVersion("1.2.8")] [assembly: AssemblyInformationalVersion("1.2.8")]
using System.Reflection; [assembly: AssemblyVersion("1.2.7")] [assembly: AssemblyFileVersion("1.2.7")] [assembly: AssemblyInformationalVersion("1.2.7")]
mit
C#
087d5ad435d9c42e7029f14ff0040bc87b1f81f3
Increment version to v1.7
phdesign/NppToolBucket
phdesign.NppToolBucket/Properties/AssemblyInfo.cs
phdesign.NppToolBucket/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Np...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Np...
apache-2.0
C#
223efda82dc144bd624651d387348421ca311054
Bump version
shrayasr/cPanelSharp
cPanelSharp/Properties/AssemblyInfo.cs
cPanelSharp/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("cPanelSharp")] [assembly: AssemblyDescrip...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("cP...
apache-2.0
C#
0c4325778f2d137f6c72d597d6ccf0882babb222
fix paging bug
MattsGitCode/DevDotMail,MattsGitCode/DevDotMail
DevDotMail/DevDotMailModule.cs
DevDotMail/DevDotMailModule.cs
using Nancy; using SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DevDotMail { public class DevDotMailModule : NancyModule { public DevDotMailModule(SQLiteConnection db) { Get["/"] = _ => { ...
using Nancy; using SQLite; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DevDotMail { public class DevDotMailModule : NancyModule { public DevDotMailModule(SQLiteConnection db) { Get["/"] = _ => { ...
mit
C#
334008ecac28c82158e3e786cb4810744b04fed6
Remove exceptions from character extensions
ethanmoffat/EndlessClient
EOLib/Domain/Extensions/CharacterRenderPropertiesExtensions.cs
EOLib/Domain/Extensions/CharacterRenderPropertiesExtensions.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using System.Linq; using EOLib.Domain.Character; namespace EOLib.Domain.Extensions { public static class CharacterRenderPropertiesExtensions { ...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using System.Linq; using EOLib.Domain.Character; namespace EOLib.Domain.Extensions { public static class CharacterRenderPropertiesExtensions { ...
mit
C#
e3d7e73473314aaf9c33cf0a2803c875ac09f550
cut down newlines and make the dictionary initializer one line.
EasyPost/easypost-csharp,dmmatson/easypost-csharp,kendallb/easypost-async-csharp,EasyPost/easypost-csharp,jmalatia/easypost-csharp
EasyPost/Tracker.cs
EasyPost/Tracker.cs
using System; using System.Collections.Generic; namespace EasyPost { public class Tracker : IResource { private static Client client = new Client(); public DateTime created_at { get; set; } public string id { get; set; } public string mode { get; set; } public string s...
using System; using System.Collections.Generic; namespace EasyPost { public class Tracker : IResource { private static Client client = new Client(); public DateTime created_at { get; set; } public string id { get; set; } public string mode { get; set; } public strin...
mit
C#
bac56e96ba37ff5b13a74e97cf1e8b66be5a97fa
Update ModelBuilder.TransformHandlers.cs
Bloyteg/AW.Model.RWX,Bloyteg/AW.Model.RWX
Bloyteg.AW.Model.RWX.Data/Builder/ModelBuilder.TransformHandlers.cs
Bloyteg.AW.Model.RWX.Data/Builder/ModelBuilder.TransformHandlers.cs
// Copyright 2014 Joshua R. Rodgers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
// Copyright 2014 Joshua R. Rodgers // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
apache-2.0
C#
60c8320dee9b29c4df5735c38f17156e7f8b3027
Remove comment
Emiliya93/TelerikAcademy,Emiliya93/TelerikAcademy,Emiliya93/TelerikAcademy,Emiliya93/TelerikAcademy,Emiliya93/TelerikAcademy
CSharpPart1/IntroToProgramming/AgeAfterTenYears/AgeAfterTenYears.cs
CSharpPart1/IntroToProgramming/AgeAfterTenYears/AgeAfterTenYears.cs
using System; using System.Globalization; using System.Threading; /* Problem 15.* Age after 10 Years Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years. */ class AgeAfterTenYears { static void Main() { Thread.CurrentThr...
using System; using System.Globalization; using System.Threading; /* Problem 15.* Age after 10 Years Write a program to read your birthday from the console and print how old you are now and how old you will be after 10 years. */ class AgeAfterTenYears { static void Main() { Thread.CurrentThr...
mit
C#
ea2fd092aad700dd6a7a2f0fe70906a0fd508dd1
Add copyright header to PlatformInformation.cs
aelij/roslyn,cston/roslyn,mmitche/roslyn,bbarry/roslyn,CyrusNajmabadi/roslyn,yeaicc/roslyn,yeaicc/roslyn,weltkante/roslyn,jcouv/roslyn,reaction1989/roslyn,stephentoub/roslyn,brettfo/roslyn,mgoertz-msft/roslyn,DustinCampbell/roslyn,ErikSchierboom/roslyn,jamesqo/roslyn,DustinCampbell/roslyn,MattWindsor91/roslyn,physhi/ro...
src/Compilers/Core/Portable/InternalUtilities/PlatformInformation.cs
src/Compilers/Core/Portable/InternalUtilities/PlatformInformation.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; namespace Roslyn.Utilities { /// <summary> /// This class provides simple properties for determining whether the current platform is...
using System.IO; namespace Roslyn.Utilities { /// <summary> /// This class provides simple properties for determining whether the current platform is Windows or Unix-based. /// We intentionally do not use System.Runtime.InteropServices.RuntimeInformation.IsOSPlatfrom(...) because /// it incorrectly rep...
mit
C#
8a90029cfa82a88f9adf49118110c59be81ba4b8
Refactor GridHeader
JohanLarsson/Gu.Wpf.UiAutomation
Gu.Wpf.UiAutomation/AutomationElements/GridHeader.cs
Gu.Wpf.UiAutomation/AutomationElements/GridHeader.cs
namespace Gu.Wpf.UiAutomation { using System.Windows.Automation; /// <summary> /// Header item for grids and tables. /// </summary> public abstract class GridHeader : Control { protected GridHeader(AutomationElement automationElement) : base(automationElement) { ...
namespace Gu.Wpf.UiAutomation { using System.Linq; using System.Windows.Automation; /// <summary> /// Header item for grids and tables. /// </summary> public abstract class GridHeader : Control { protected GridHeader(AutomationElement automationElement) : base(automation...
mit
C#