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 |
|---|---|---|---|---|---|---|---|---|
3174400171a0a88275588bd451002454ad24b971 | Update AssemblyInfo.cs | jamestao/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,MichaelCommo/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,pankajsn/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,atpham256/azure-sdk-for-net,hyonholee/azure-sdk-for-net,pankajsn/azure-sdk-for-net,jackmagic313/azure-sd... | src/ResourceManagement/Compute/ComputeManagement/Properties/AssemblyInfo.cs | src/ResourceManagement/Compute/ComputeManagement/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... | mit | C# |
593744ed21348b766ec240137adfa965690b31be | Add grep & egrep | garlab/Ext.NET | Ext.NET/EnumerableExtension.cs | Ext.NET/EnumerableExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Ext.NET
{
public static class EnumerableExtension
{
public static void Each<T>(this IEnumerable<T> enumerable, Action<T> action)
{
foreach (var item... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ext.NET
{
public static class EnumerableExtension
{
public static void Each<T>(this IEnumerable<T> enumberable, Action<T> action)
{
foreach (var item in enumberable)
{
... | mit | C# |
cf58576bc40b33a581f028960ba4cc7ed5e01b80 | Fix indentation for artifactRules | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/CI/TeamCity/Configuration/TeamCityArtifactDependency.cs | source/Nuke.Common/CI/TeamCity/Configuration/TeamCityArtifactDependency.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Utilities;
namespace Nuke.Common.CI.TeamCity.Configuration
{
public class TeamCityArtifactDependency : TeamCityDependency
{
... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Utilities;
namespace Nuke.Common.CI.TeamCity.Configuration
{
public class TeamCityArtifactDependency : TeamCityDependency
{
... | mit | C# |
2b2622e0a4047c3810d3ceee0798f0f1d1600487 | Update version number to 1.1 | Haacked/SeeGit | SeeGitApp/Properties/AssemblyInfo.cs | SeeGitApp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SeeGit")]
[assembl... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SeeGit")]
[assembl... | mit | C# |
5c838f3d30d483dcadb4181233a4437fb5e7f327 | fix issue with dot3.5 BlockingCollection | somdoron/AsyncIO | Source/AsyncIO/BlockingCollection.cs | Source/AsyncIO/BlockingCollection.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using AsyncIO;
namespace System.Collections.Concurrent
{
class BlockingCollection<T>
{
private Queue<T> m_queue;
public BlockingCollection()
{
m_queue = new... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading;
using AsyncIO;
namespace System.Collections.Concurrent
{
class BlockingCollection<T>
{
private Queue<T> m_queue;
public BlockingCollection()
{
m_queue = new... | mpl-2.0 | C# |
2a936d5479f32c5e4a824a28135ef30208047d1a | convert float to int health points | SamuelKnox/F.R.E.D.,Evorlor/F.R.E.D. | Fred/Components/HealthComponent.cs | Fred/Components/HealthComponent.cs | using Artemis;
using Artemis.Interface;
using Artemis.Attributes;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fred.Components
{
class HealthComponent : IComponent
{
public HealthComponent()
: this(0)
... | using Artemis;
using Artemis.Interface;
using Artemis.Attributes;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fred.Components
{
class HealthComponent : IComponent
{
public HealthComponent()
: this(0.0f)
... | mit | C# |
4d517cb8277aee797f0968c13bbddf18d8b6255e | Fix shortcode interface registration (#6937) | stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore/OrchardCore.Shortcodes.Abstractions/ServiceCollectionExtensions.cs | src/OrchardCore/OrchardCore.Shortcodes.Abstractions/ServiceCollectionExtensions.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using Shortcodes;
namespace OrchardCore.Shortcodes
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddShortcode<T>(this IServiceCollection services, string name) where T : class, IShortcodeProvider =>
... | using System;
using Microsoft.Extensions.DependencyInjection;
using Shortcodes;
namespace OrchardCore.Shortcodes
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddShortcode<T>(this IServiceCollection services, string name) where T : class, IShortcodeProvider =>
... | bsd-3-clause | C# |
9f94db6eeba981bd61e885bc9c4a74e0d096705f | Fix index creation attempt | dawoe/umbraco-nexu,dawoe/umbraco-nexu,dawoe/umbraco-nexu | src/Our.Umbraco.Nexu.Core/Migrations/Version_2_0_0/CreateRelationTableMigration.cs | src/Our.Umbraco.Nexu.Core/Migrations/Version_2_0_0/CreateRelationTableMigration.cs | namespace Our.Umbraco.Nexu.Core.Migrations.Version_2_0_0
{
using global::Umbraco.Core.Migrations;
using Our.Umbraco.Nexu.Common.Constants;
/// <summary>
/// Represents the create relation table migration.
/// </summary>
internal class CreateRelationTableMigration : MigrationBase
{
... | namespace Our.Umbraco.Nexu.Core.Migrations.Version_2_0_0
{
using global::Umbraco.Core.Migrations;
using Our.Umbraco.Nexu.Common.Constants;
/// <summary>
/// Represents the create relation table migration.
/// </summary>
internal class CreateRelationTableMigration : MigrationBase
{
... | mit | C# |
e899f0616ec4c81ffdd1c7fd89c0c9029ae4aa72 | Reformat version tests | rosolko/WebDriverManager.Net | IntegrationTests/VersionTests.cs | IntegrationTests/VersionTests.cs | using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace IntegrationTests
{
public class IndexOfData : IEnumerable<object[]>
{
private readonly List<object[]... | using System.Text.RegularExpressions;
using WebDriverManager.DriverConfigs.Impl;
using Xunit;
namespace IntegrationTests
{
public class VersionTests
{
[Fact]
public void ChromeVersionResultNotEmptyAndMatch()
{
var chromeConfig = new ChromeConfig();
var version =... | mit | C# |
8c249262ba55e534aaad3a13f2e8b2c85a3cd053 | Add TODO note about potential improvement to dictionary | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | apache-2.0 | C# |
f830c8da35ecd30145d57e3232bee0d5ae6ec886 | Implement TypeConverter CanConvertTo() and ConvertTo() methods for Uuid. | brendanjbaker/Bakery | src/Bakery/UuidTypeConverter.cs | src/Bakery/UuidTypeConverter.cs | namespace Bakery
{
using System;
using System.ComponentModel;
using System.Globalization;
public class UuidTypeConverter
: TypeConverter
{
public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return sourceType == typeof(String);
}
public override B... | namespace Bakery
{
using System;
using System.ComponentModel;
using System.Globalization;
public class UuidTypeConverter
: TypeConverter
{
public override Boolean CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return sourceType == typeof(String);
}
public override O... | mit | C# |
1c125eef121ebfda79bf7069765092433e242eff | Make `Users` an `IList` for more flexibility server-side | smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu-new,peppy/osu,peppy/osu | osu.Game/Online/Multiplayer/MultiplayerRoom.cs | osu.Game/Online/Multiplayer/MultiplayerRoom.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using System.Collections.Generic;
using MessagePack;
using Newtonsoft.Json;
namespace osu.Game.Online.Multiplayer
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System;
using System.Collections.Generic;
using MessagePack;
using Newtonsoft.Json;
namespace osu.Game.Online.Multiplayer
{
/// <summary>
... | mit | C# |
5328481da65830daa00737516423950966ac2338 | Fix flakey tests (#475) | reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET,reactjs/React.NET | tests/React.Tests/Properties/AssemblyInfo.cs | tests/React.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
[assembly: AssemblyTitle("React.Tests.Core")]
[assembly: AssemblyDescription("Unit tests for ReactJS.NET")]
[assembly: ComVisible(false)]
[assembly: Guid("30a20b1c-18fd-4c3c-a18d-44875dba0c73")]
[assembly: CollectionBehavior(DisableTestPara... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("React.Tests.Core")]
[assembly: AssemblyDescription("Unit tests for ReactJS.NET")]
[assembly: ComVisible(false)]
[assembly: Guid("30a20b1c-18fd-4c3c-a18d-44875dba0c73")] | mit | C# |
af34debde72cb7e92a2dd254be2a56e57d2e4ba6 | remove products for product configurations in basket | jontansey/.Net-Core-Ecommerce-Base,jontansey/.Net-Core-Ecommerce-Base | src/Shop.Core/Entites/Basket.cs | src/Shop.Core/Entites/Basket.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shop.Core.BaseObjects;
using Shop.Core.Enums;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Basket : LifetimeBase, IReferenceable<Basket>
{
[Key]
public int BasketId { g... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Shop.Core.BaseObjects;
using Shop.Core.Enums;
using Shop.Core.Interfaces;
namespace Shop.Core.Entites
{
public class Basket : LifetimeBase, IReferenceable<Basket>
{
[Key]
public int BasketId { g... | mit | C# |
1a4a4754f6067858fc74109fc861202ddd949f24 | Add comment | panopticoncentral/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,ErikSchierboom/roslyn,genlu/roslyn,AmadeusW/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,genlu/roslyn,jmarolf/roslyn,aelij/roslyn,swaroop-sridhar/roslyn,eriawan/roslyn,davkean/roslyn,jcouv/roslyn,brettfo/roslyn,b... | src/EditorFeatures/Core/Implementation/SmartIndent/IBlankLineIndentationService.cs | src/EditorFeatures/Core/Implementation/SmartIndent/IBlankLineIndentationService.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;
using Microsoft.CodeAnalysis.Formatting;
namespace Microsoft.CodeAnalysis.Editor
{
internal interface IBlankLineIndentationServi... | // 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;
using Microsoft.CodeAnalysis.Formatting;
namespace Microsoft.CodeAnalysis.Editor
{
internal interface IBlankLineIndentationServi... | mit | C# |
c6a4e970755f9994720bb908dd7426c42e4de5d5 | Add constructor from separate values. | mcneel/RhinoCycles | LinearWorkflow.cs | LinearWorkflow.cs | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | /**
Copyright 2014-2015 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | apache-2.0 | C# |
8d9adaacd8da0dc946b5c40b902d9997dfd27572 | Remove unused import | MHeasell/Mappy,MHeasell/Mappy | Mappy/IO/SectionLoader.cs | Mappy/IO/SectionLoader.cs | namespace Mappy.IO
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Mappy.Data;
using TAUtil.Hpi;
using TAUtil.Sct;
public class SectionLoader : AbstractHpiLoader<Section>
{
private readonly SectionFactory ... | namespace Mappy.IO
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Mappy.Data;
using TAUtil.Gdi.Palette;
using TAUtil.Hpi;
using TAUtil.Sct;
public class SectionLoader : AbstractHpiLoader<Section>
{
p... | mit | C# |
65bbc610bf212ac9b054fef1f7e760501869cf56 | Fix start of week calculation | davidebbo/ForumScorer | Models/Helpers.cs | Models/Helpers.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForumModels
{
public static class Helpers
{
public static DateTimeOffset GetStartOfWeek(string date)
{
var dt = DateTimeOffset.Now;
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ForumModels
{
public static class Helpers
{
public static DateTimeOffset GetStartOfWeek(string date)
{
var dt = DateTimeOffset.Now;
... | apache-2.0 | C# |
b8ecfd744cb58338626e70185cb2c633b78c8e3a | Make use of asynchronous methods | Selz/PexelsNet | PexelsNet/PexelsClient.cs | PexelsNet/PexelsClient.cs | using System;
using System.Net.Http;
using Newtonsoft.Json;
using System.Threading.Tasks;
namespace PexelsNet
{
public class PexelsClient
{
private readonly string _apiKey;
private const string BaseUrl = "http://api.pexels.com/v1/";
public PexelsClient(string apiKey)
{
... | using System;
using System.Net.Http;
using Newtonsoft.Json;
namespace PexelsNet
{
public class PexelsClient
{
private readonly string _apiKey;
private const string BaseUrl = "http://api.pexels.com/v1/";
public PexelsClient(string apiKey)
{
_apiKey = apiKey;
... | mit | C# |
efbfb3dbef4b9174a6148f98e759ff2e57828301 | Implement Assembly.GetExecutingAssembly | shrah/corert,krytarowski/corert,botaberg/corert,yizhang82/corert,botaberg/corert,shrah/corert,gregkalapos/corert,yizhang82/corert,tijoytom/corert,gregkalapos/corert,tijoytom/corert,yizhang82/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,botaberg/corert,yizhang82/corert,krytarowski/corert,tijoytom/corert,gregka... | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ReflectionHelpers.cs | src/System.Private.CoreLib/src/Internal/Runtime/CompilerHelpers/ReflectionHelpers.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using Internal.Runtime.Augments;
namespace Internal.Runtime.CompilerHelper... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using Internal.Runtime.Augments;
namespace Internal.Runtime.CompilerHelper... | mit | C# |
7c5b04e89d070487c75fe1958a76dee483a5311d | Switch to version 1.4.2 | biarne-a/Zebus,Abc-Arbitrage/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.4.2")]
[assembly: AssemblyFileVersion("1.4.2")]
[assembly: AssemblyInformationalVersion("1.4.2")]
| using System.Reflection;
[assembly: AssemblyVersion("1.4.1")]
[assembly: AssemblyFileVersion("1.4.1")]
[assembly: AssemblyInformationalVersion("1.4.1")]
| mit | C# |
37e5f89921f38ffe82b9fab39485a8424bbe99b2 | use one action for find symbols | jtbm37/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,jtbm37/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,sreal/omnisharp-roslyn,khellang/omnisharp-roslyn,fishg/omnisharp-roslyn,haled/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,Ric... | src/OmniSharp/Api/Navigation/OmnisharpController.FindSymbols.cs | src/OmniSharp/Api/Navigation/OmnisharpController.FindSymbols.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.FindSymbols;
using OmniSharp.Extensions;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("findsymbols"... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.FindSymbols;
using OmniSharp.Extensions;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("findsymbols"... | mit | C# |
71402778d7589422b80fa1ab2a2dba2d58d53932 | Fix GetHistory test | svedm/monodevelop-hg-addin | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Tests/MercurialClientTests.cs | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Tests/MercurialClientTests.cs | using NUnit.Framework;
using System;
using MonoDevelop.VersionControl.Mercurial;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections.Generic;
namespace MonoDevelop.VersionControl.Tests
{
[TestFixture]
public class MercurialClientTests
{
pri... | using NUnit.Framework;
using System;
using MonoDevelop.VersionControl.Mercurial;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Collections.Generic;
namespace MonoDevelop.VersionControl.Tests
{
[TestFixture]
public class MercurialClientTests
{
pri... | mit | C# |
cfea31c7043d036bb5d12f175a653212f4aa8a5c | Throw Exception if cert == null | yfann/AuthorizationServer,yfann/AuthorizationServer,IdentityModel/AuthorizationServer,IdentityModel/AuthorizationServer | source/Libraries/Thinktecture.AuthorizationServer.Core/Models/SigningKey.cs | source/Libraries/Thinktecture.AuthorizationServer.Core/Models/SigningKey.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Thinktecture.IdentityModel;
using Thinktecture.IdentityModel.Tokens;
namespace Thinktecture.AuthorizationServer.... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Thinktecture.IdentityModel;
using Thinktecture.IdentityModel.Tokens;
namespace Thinktecture.AuthorizationServer.... | bsd-3-clause | C# |
c5f653aee20efa5ae487deb403945b8935bd8160 | Fix isssue with no defined path for console example application | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET | src/Examples/Stranne.VasttrafikNET.Examples.DownloadParkingImage/Program.cs | src/Examples/Stranne.VasttrafikNET.Examples.DownloadParkingImage/Program.cs | using System;
using System.IO;
namespace Stranne.VasttrafikNET.Examples.DownloadParkingImage
{
class Program
{
private const string DeviceId = "Download Parking Image Example";
static void Main(string[] args)
{
if (args.Length < 4)
{
Console.Wri... | using System;
using System.IO;
namespace Stranne.VasttrafikNET.Examples.DownloadParkingImage
{
class Program
{
private const string DeviceId = "Download Parking Image Example";
static void Main(string[] args)
{
if (args.Length < 4)
{
Console.Wri... | mit | C# |
a0df5b01473177f135aa26fb5dfa2bea74923d38 | Add notification before deploying to Docker | Sitecore/Sitecore-Instance-Manager | src/SIM.Tool.Windows/MainWindowComponents/Buttons/InstallContainerButton.cs | src/SIM.Tool.Windows/MainWindowComponents/Buttons/InstallContainerButton.cs | namespace SIM.Tool.Windows.MainWindowComponents
{
using System.Linq;
using System.Windows;
using SIM.Instances;
using SIM.Products;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
using SIM.Tool.Base.Profiles;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
using SIM.Tool.Base.Pipel... | namespace SIM.Tool.Windows.MainWindowComponents
{
using System.Linq;
using System.Windows;
using SIM.Instances;
using SIM.Products;
using SIM.Tool.Base;
using SIM.Tool.Base.Plugins;
using SIM.Tool.Base.Profiles;
using Sitecore.Diagnostics.Base;
using JetBrains.Annotations;
using SIM.Tool.Base.Pipel... | mit | C# |
6f3e822774d786ccf66356d1c05bfec3b459e977 | Increment build number | rajeshganesh/amqpnetlite,ChugR/amqpnetlite,mbroadst/amqpnetlite,CedarLogic/amqpnetlite,Azure/amqpnetlite,timhermann/amqpnetlite | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// 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 co... | // ------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation
// 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 co... | apache-2.0 | C# |
e87197c7fc80b9d40e85829b2120cfbbf8cca87d | Adjust text size | smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu | osu.Game/Overlays/Profile/Header/Components/ProfileHeaderStatisticsButton.cs | osu.Game/Overlays/Profile/Header/Components/ProfileHeaderStatisticsButton.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.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
us... | // 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.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
us... | mit | C# |
764ef770f78b3755db2ab579cc073cdc31ff74f0 | Update Menu.cs | nabrozidhs/unity_googleinapp_android,nabrozidhs/unity_googleinapp_android | unity/Assets/Scripts/Menu.cs | unity/Assets/Scripts/Menu.cs | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(GoogleInAppPlugin))]
public class Menu : MonoBehaviour {
private static string INAPP_ITEM = "REPLACE_INADD_ITEM";
private static Vector2 BUTTON_SIZE = new Vector2(100, 50);
private static Vector2 TEXT_SIZE = 2 * BUTTON_SIZE;
priv... | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(GoogleInAppPlugin))]
public class Menu : MonoBehaviour {
private static string INAPP_ITEM = "REPLACE_INADD_ITEM";
private static Vector2 BUTTON_SIZE = new Vector2(100, 50);
private static Vector2 TEXT_SIZE = 2 * BUTTON_SIZE;
priv... | mit | C# |
c3f1962d4b1244813bb5a9b798bf25fcb12dcbcc | Add overloads to register custom service types. | wasabii/Cogito.ServiceFabric | Cogito.ServiceFabric.AspNetCore.Kestrel.Autofac/KestrelContainerBuilderExtensions.cs | Cogito.ServiceFabric.AspNetCore.Kestrel.Autofac/KestrelContainerBuilderExtensions.cs | using Autofac;
using Cogito.ServiceFabric.AspNetCore.Autofac;
namespace Cogito.ServiceFabric.AspNetCore.Kestrel.Autofac
{
public static class KestrelContainerBuilderExtensions
{
/// <summary>
/// Registers the given <typeparamref name="TStartup"/> class to start in Kestrel stateful service.... | using Autofac;
using Cogito.ServiceFabric.AspNetCore.Autofac;
namespace Cogito.ServiceFabric.AspNetCore.Kestrel.Autofac
{
public static class KestrelContainerBuilderExtensions
{
/// <summary>
/// Registers the given <typeparamref name="TStartup"/> class to start in Kestrel stateful service.... | mit | C# |
6e580afe0e0cf234b58fd43abc0c8199644904a6 | Rename requiredTimeSlots to availableTimeSlots | victoria92/university-program-generator,victoria92/university-program-generator | UniProgramGen/Data/Requirements.cs | UniProgramGen/Data/Requirements.cs | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Requirements
{
public readonly double weight;
public readonly List<TimeSlot> availableTimeSlots;
public readonly List<Room> requiredRooms;
public Requirements(double weight, List<TimeSlot> availableT... | using System.Collections.Generic;
namespace UniProgramGen.Data
{
public class Requirements
{
public readonly double weight;
public readonly List<TimeSlot> requiredTimeSlots;
public readonly List<Room> requiredRooms;
public Requirements(double weight, List<TimeSlot> requiredTim... | bsd-2-clause | C# |
177e8408dfe6293ae644ecbbdbba71ed7148b35f | Apply new css class for displaying long email addresses and other data in panel | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/SingleProvider.cshtml |
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
<dt class="das-definition-list__title">UK Provid... |
@model SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel
<h3 class="das-panel__heading">@Model.AccountViewModel.Providers.First().Name</h3>
<dl class="das-definition-list das-definition-list--inline das-definition-list--muted govuk-!-font-size-16">
<dt class="das-definition-list__... | mit | C# |
f94728547617160837baedc43b7786a457b3e45f | Remove 2 suffix step 1 (dotnet/corefx#35904) | wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,wtgodb... | src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs | src/System.Private.CoreLib/shared/Interop/Unix/System.Native/Interop.Stat.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
internal static partial clas... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
internal static partial clas... | mit | C# |
26be28b4ab9ab321db31774956612777ce392b55 | Remove comments | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/LimeProtocol/OnDemandClientChannelFactory.cs | src/Takenet.MessagingHub.Client/LimeProtocol/OnDemandClientChannelFactory.cs | using System;
using Lime.Protocol.Client;
namespace Takenet.MessagingHub.Client.LimeProtocol
{
internal class OnDemandClientChannelFactory : IOnDemandClientChannelFactory
{
public IEstablishedClientChannelBuilder ChannelBuilder { get; set; }
public OnDemandClientChannelFactory(IEstablishedCli... | using System;
using Lime.Protocol.Client;
namespace Takenet.MessagingHub.Client.LimeProtocol
{
internal class OnDemandClientChannelFactory : IOnDemandClientChannelFactory
{
public IEstablishedClientChannelBuilder ChannelBuilder { get; set; }
public OnDemandClientChannelFactory(IEstablishedCli... | apache-2.0 | C# |
50b77663f8b734f39cd4b33ef235bf0874ffcbed | Change string formatting | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot | test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs | using Newtonsoft.Json;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class ReplyMarkupSerializationTests
{
[Theory(DisplayName = "Should serialize request poll keyboard button")]
[InlineData(null)]
[InlineData("regular")]
... | using Newtonsoft.Json;
using Telegram.Bot.Types.ReplyMarkups;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class ReplyMarkupSerializationTests
{
[Theory(DisplayName = "Should serialize request poll keyboard button")]
[InlineData(null)]
[InlineData("regular")]
... | mit | C# |
fa7cfdfff4bd146aaf6648d5d40aadaadc1e0ca1 | Remove unused parameter | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework.Templates/templates/template-flappy/FlappyDon.Game/FlappyDonGameBase.cs | osu.Framework.Templates/templates/template-flappy/FlappyDon.Game/FlappyDonGameBase.cs | using FlappyDon.Resources;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.Stores;
using osuTK.Graphics.ES30;
namespace FlappyDon.Game
{
/// <summary>
/// Set up the relevant resource stores and texture settings.
/// </summary>
public abstract class Flappy... | using FlappyDon.Resources;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.Stores;
using osu.Framework.Platform;
using osuTK.Graphics.ES30;
namespace FlappyDon.Game
{
/// <summary>
/// Set up the relevant resource stores and texture settings.
/// </summary>
... | mit | C# |
1ab987f6d23891db688d0b77735d49ea15e34835 | Fix ConnectionInfo dialog for users that do not have a password | fknx/linqpad-postgresql-driver | DynamicLinqPadPostgreSqlDriver.Shared/Extensions/ConnectionInfoExtensions.cs | DynamicLinqPadPostgreSqlDriver.Shared/Extensions/ConnectionInfoExtensions.cs | using LINQPad.Extensibility.DataContext;
using System;
using System.Text;
namespace DynamicLinqPadPostgreSqlDriver.Shared.Extensions
{
public static class ConnectionInfoExtensions
{
public static string GetPostgreSqlConnectionString(this IConnectionInfo cxInfo)
{
if (cxInfo == null)
... | using LINQPad.Extensibility.DataContext;
using System;
using System.Text;
namespace DynamicLinqPadPostgreSqlDriver.Shared.Extensions
{
public static class ConnectionInfoExtensions
{
public static string GetPostgreSqlConnectionString(this IConnectionInfo cxInfo)
{
if (cxInfo == null)
... | mit | C# |
f0b700ae1ffeb394316ae5d0624ea3967ddea52d | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
dc49af2f2a77f5874208ac8f85fd2f16f49aa533 | add using and use service instead of dbcontext | remcoros/InspectR,remcoros/InspectR | InspectR/Controllers/RequestLogger/InspectRHandlerHttpHandler.cs | InspectR/Controllers/RequestLogger/InspectRHandlerHttpHandler.cs | namespace InspectR.Controllers.RequestLogger
{
using System.Web;
using System.Web.Routing;
using InspectR.Core;
using InspectR.Core.RequestLogger;
using InspectR.Data;
public class InspectRHandlerHttpHandler : IHttpHandler
{
private readonly RequestContext _requestConte... | using System.Web;
using System.Web.Routing;
using InspectR.Core;
using InspectR.Core.RequestLogger;
using InspectR.Data;
namespace InspectR.Controllers.RequestLogger
{
public class InspectRHandlerHttpHandler : IHttpHandler
{
private readonly RequestContext _requestContext;
public ... | mit | C# |
9918490c45f9a3a96895a46d7f75a7e0fdea338f | Fix warning | rsdn/CodeJam,NN---/CodeJam | Main/src/Targeting/FW40/ValueTuple/TupleElementNamesAttribute.cs | Main/src/Targeting/FW40/ValueTuple/TupleElementNamesAttribute.cs | #if FW40
// BASEDON: https://github.com/dotnet/corefx/blob/master/src/System.ValueTuple/src/System/Runtime/CompilerServices/TupleElementNamesAttribute.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 ... | #if FW40
// BASEDON: https://github.com/dotnet/corefx/blob/master/src/System.ValueTuple/src/System/Runtime/CompilerServices/TupleElementNamesAttribute.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 ... | mit | C# |
fd357f043de1fe180a6bfbe557cae8b8779ffc8d | Fix the problem that `Hint` information cannot be displayed (#10584) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-Monaco.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-Monaco.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<TextFieldSettings>();
var monacoSettings = Model.PartFieldDefinition.GetSettings<TextFieldMonacoEditorSettings>();
var culture = await Orchard.GetContentCultureAsync(Model.Field.Conten... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<HtmlFieldSettings>();
var monacoSettings = Model.PartFieldDefinition.GetSettings<TextFieldMonacoEditorSettings>();
var culture = await Orchard.GetContentCultureAsync(Model.Field.Conten... | bsd-3-clause | C# |
fc8cd02b168566dafd284f8417e2cb9b3b68f478 | support reading from authorization header | 0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload | src/PenguinUpload/PenguinUploadBootstrapper.cs | src/PenguinUpload/PenguinUploadBootstrapper.cs | using Nancy;
using Nancy.Authentication.Stateless;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
using PenguinUpload.Services.Authentication;
namespace PenguinUpload
{
public class PenguinUploadBootstrapper : DefaultNancyBootstrapper
{
public IPenguinUploadContext ServerContext { get; set; }
... | using Nancy;
using Nancy.Authentication.Stateless;
using Nancy.Bootstrapper;
using Nancy.TinyIoc;
using PenguinUpload.Services.Authentication;
namespace PenguinUpload
{
public class PenguinUploadBootstrapper : DefaultNancyBootstrapper
{
public IPenguinUploadContext ServerContext { get; set; }
... | apache-2.0 | C# |
56a5dcea0ef791ffcb7c6aa1fe088cfad590fd90 | Bump assembly version of Stratis.Bitcoin to 3.0.5 (#3586) | fassadlr/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode | src/Stratis.Bitcoin/Properties/AssemblyInfo.cs | src/Stratis.Bitcoin/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("Str... | 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("Str... | mit | C# |
40cb77588dacf8177ef3fc08b5d70d37f15639ff | add read-only property for default culture | uzimmermann/wpf-localization,uzimmermann/wpf-localization | src/WpfLocalization.Framework/ILocalizeAnApplication.cs | src/WpfLocalization.Framework/ILocalizeAnApplication.cs | using System;
using System.Globalization;
namespace WpfLocalization.Framework
{
/// <summary>
/// Provides the features required to localize an application.
/// </summary>
public interface ILocalizeAnApplication
{
/// <summary>
/// Raised when <see cref="CurrentCulture"/> has a new... | using System;
using System.Globalization;
namespace WpfLocalization.Framework
{
/// <summary>
/// Provides the features required to localize an application.
/// </summary>
public interface ILocalizeAnApplication
{
/// <summary>
/// Raised when <see cref="CurrentCulture"/> has a new... | unlicense | C# |
6ddf3a5c5e12bbf37609ffb332e062db63d9013e | Update ILineDisassembler.cs | informedcitizenry/6502.Net | 6502.Net/ILineDisassembler.cs | 6502.Net/ILineDisassembler.cs | //-----------------------------------------------------------------------------
// Copyright (c) 2017 informedcitizenry <informedcitizenry@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// d... | //-----------------------------------------------------------------------------
// Copyright (c) 2017 informedcitizenry <informedcitizenry@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// d... | mit | C# |
507e651ca5520b42adcabdbaad46da3c5c45d862 | Disable test debug logging in appveyor. | mchaloupka/DotNetR2RMLStore,mchaloupka/EVI | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/SPARQL/SPARQL_TestSuite/Db/MSSQLDb.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.D... | using System.Collections.Generic;
using System.Configuration;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Slp.Evi.Storage;
using Slp.Evi.Storage.Bootstrap;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.Database.Vendor... | mit | C# |
af38c72b6cc9d8b0a37b29d7143f4a8cfffffa9d | Add one more unit test | kriasoft/Diffbot | test/Diffbot.Client.Tests/DiffbotClientTest.cs | test/Diffbot.Client.Tests/DiffbotClientTest.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiffbotClientTest.cs" company="KriaSoft LLC">
// Copyright © 2014 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DiffbotClientTest.cs" company="KriaSoft LLC">
// Copyright © 2014 Konstantin Tarkus, KriaSoft LLC. See LICENSE.txt
// </copyright>
// ------------------------------------------... | apache-2.0 | C# |
0acfbb05e922d7612e3b324fe1efd24d73319848 | simplify type verification | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Onboarding.Tests/Helpers/RandomKeyOptionGeneratorTests.cs | abremir.AllMyBricks.Onboarding.Tests/Helpers/RandomKeyOptionGeneratorTests.cs | using abremir.AllMyBricks.Core.Enumerations;
using abremir.AllMyBricks.Onboarding.Helpers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace abremir.AllMyBricks.Onboarding.Tests.Helpers
{
[TestClass]
public class RandomKeyOptionGeneratorTes... | using abremir.AllMyBricks.Core.Enumerations;
using abremir.AllMyBricks.Onboarding.Helpers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace abremir.AllMyBricks.Onboarding.Tests.Helpers
{
[TestClass]
public class RandomKeyOptionGeneratorTes... | mit | C# |
09af49baae1353516381c8ce8569a48ad2a3fdb4 | increase BrokerSenderSendTimeout to 10s | zesus19/hermes.net,sdgdsffdsfff/hermes.net | Arch.CMessaging.Client/Producer/Config/ProducerConfig.cs | Arch.CMessaging.Client/Producer/Config/ProducerConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arch.CMessaging.Client.Core.Ioc;
namespace Arch.CMessaging.Client.Producer.Config
{
[Named (ServiceType = typeof(ProducerConfig
))]
public class ProducerConfig
{
public string DefaultBrokerSenderNetworkIoThreadCount { g... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arch.CMessaging.Client.Core.Ioc;
namespace Arch.CMessaging.Client.Producer.Config
{
[Named (ServiceType = typeof(ProducerConfig
))]
public class ProducerConfig
{
public string DefaultBrokerSenderNetworkIoThreadCount { g... | apache-2.0 | C# |
a0e2ae155eb9e09d0f96869461fc5d5ec40c018c | Implement DisplayModeCollection.GetEnumerator | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayModeCollection.cs | Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayModeCollection.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | mit | C# |
df4a71573dd0cc50e89afb9bb762d603f39a9a93 | Update D2DGeometry.cs | jingwood/d2dlib,jingwood/d2dlib,jingwood/d2dlib | src/D2DLibExport/D2DGeometry.cs | src/D2DLibExport/D2DGeometry.cs | /*
* MIT License
*
* Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limit... | /*
* MIT License
*
* Copyright (c) 2009-2018 Jingwood, unvell.com. All right reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limit... | mit | C# |
12b33966380ed2f9b76fcb09efe1286c6a517b29 | Rename for clarity. | arlobelshee/Minions,Minions/Minions,Minions/Minions,arlobelshee/Minions | src/Fools.Tests/Tokenization.cs | src/Fools.Tests/Tokenization.cs | using FluentAssertions;
using Fools.Tokenization;
using NUnit.Framework;
namespace Fools.Tests
{
[TestFixture]
public class Tokenization
{
[Test]
public void EmptyFileShouldTokenizeToSingleEmptyStatementWithNoIndentation()
{
var tokens = new FoolsTokenStream("");
tokens.Tokens.Should().Equal(new Token[... | using FluentAssertions;
using Fools.Tokenization;
using NUnit.Framework;
namespace Fools.Tests
{
[TestFixture]
public class Tokenization
{
[Test]
public void ShouldGetCorrectIndentationLevelForEmptyLine()
{
var tokens = new FoolsTokenStream("");
tokens.Tokens.Should().Equal(new Token[] {new Indentation... | bsd-3-clause | C# |
a0efdd321b8394d94bf07796b9ffe1f18696bec2 | Support all particle vector providers that have m_vLiteralValue | SteamDatabase/ValveResourceFormat | GUI/Types/ParticleRenderer/IVectorProvider.cs | GUI/Types/ParticleRenderer/IVectorProvider.cs | using System;
using System.Numerics;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface IVectorProvider
{
Vector3 NextVector();
}
public class LiteralVectorProvider : IVectorProvider
{
private readonly Vector3 value;
public Lit... | using System;
using System.Numerics;
using ValveResourceFormat.Serialization;
namespace GUI.Types.ParticleRenderer
{
public interface IVectorProvider
{
Vector3 NextVector();
}
public class LiteralVectorProvider : IVectorProvider
{
private readonly Vector3 value;
public Lit... | mit | C# |
4714a7364df83f4c9c73f732c1d9d4cef702e824 | Fix TcpSocketManager not using assigned IP address | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketManager.cs | osu!StreamCompanion/Code/Modules/MapDataGetters/TcpSocket/TcpSocketManager.cs | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.TcpSocket
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPort = 7839;
... | using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace osu_StreamCompanion.Code.Modules.MapDataGetters.TcpSocket
{
public class TcpSocketManager : IDisposable
{
private TcpClient _tcpClient;
BinaryWriter _writer = null;
public int ServerPort = 7839;
... | mit | C# |
6fea0901113f9192d2bc415dace2daa3891aaf68 | Fix encoding | leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net | JoinRpg.CommonUI.Models/CommentExtraAction.cs | JoinRpg.CommonUI.Models/CommentExtraAction.cs | using System.ComponentModel.DataAnnotations;
using JetBrains.Annotations;
namespace JoinRpg.CommonUI.Models
{
public enum CommentExtraAction
{
[Display(Name = "Финансовая операция подтверждена", ShortName = "отмечено")]
[UsedImplicitly]
ApproveFinance,
[Display(Name = "Финансовая операция отклонен... | using System.ComponentModel.DataAnnotations;
using JetBrains.Annotations;
namespace JoinRpg.CommonUI.Models
{
public enum CommentExtraAction
{
[Display(Name = " ", ShortName = "")]
[UsedImplicitly]
ApproveFinance,
[Display(Name = " ", ShortName = "")]
[UsedImplicitly]
RejectFinance,
[... | mit | C# |
0196256e6e99452917ae13e14d0559aa52ca6226 | Change VsShellInfo to specifically look for Dev11 | dolkensp/node.net,mrward/nuget,alluran/node.net,chester89/nugetApi,oliver-feng/nuget,mrward/NuGet.V2,GearedToWar/NuGet2,mrward/NuGet.V2,rikoe/nuget,mrward/NuGet.V2,zskullz/nuget,RichiCoder1/nuget-chocolatey,atheken/nuget,ctaggart/nuget,OneGet/nuget,pratikkagda/nuget,indsoft/NuGet2,anurse/NuGet,jmezach/NuGet2,pratikkagd... | src/VisualStudio/VsShellInfo.cs | src/VisualStudio/VsShellInfo.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace NuGet.VisualStudio
{
[PartCreationPolicy(CreationPolicy.Shared)]
[Export(typeof(IVsShellInfo))]
public class VsShellInfo : IVsShellInfo
{
privat... | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace NuGet.VisualStudio
{
[PartCreationPolicy(CreationPolicy.Shared)]
[Export(typeof(IVsShellInfo))]
public class VsShellInfo : IVsShellInfo
{
privat... | apache-2.0 | C# |
1ab6e58254d8675a10fe7fa7473fa10ba14a9169 | enhance GetCultureRequest. | signumsoftware/extensions,AlejandroCano/extensions,AlejandroCano/extensions,signumsoftware/framework,signumsoftware/extensions,signumsoftware/framework | Signum.React.Extensions/Translation/TranslationServer.cs | Signum.React.Extensions/Translation/TranslationServer.cs | using Signum.Engine.Basics;
using Signum.Engine.Translation;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Facades;
using Signum.Entities.Translation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace S... | using Signum.Engine.Basics;
using Signum.Engine.Translation;
using System.Globalization;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
using Signum.React.Facades;
using Signum.Entities.Translation;
using Microsoft.AspNetCore.Builder;
namespace Signum.React.Translation
{
pu... | mit | C# |
874576d8d166393696765bd60867c72c8a14582c | Fix bug where drawn objects are also transparent, and add pen variable. | VuWall/VuWall-Motion,DanH91/vuwall-motion | vuwall-motion/vuwall-motion/TransparentForm.cs | vuwall-motion/vuwall-motion/TransparentForm.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
private Pen pen = new Pen(Color.Red, 5);
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
SetStyle(Co... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | mit | C# |
323d48439648eaf95493f021dc50e7e81c606825 | Add journals and self relations. | TeamYAGNI/LibrarySystem | LibrarySystem/LibrarySystem.Models/Subject.cs | LibrarySystem/LibrarySystem.Models/Subject.cs | // <copyright file="Subject.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Book model.</summary>
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LibrarySystem.Models
{
//... | using System.ComponentModel.DataAnnotations;
namespace LibrarySystem.Models
{
public class Subject
{
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Name { get; set; }
}
} | mit | C# |
1f39efa1195bb4fbe64e7df6692fc9d43ea6b353 | Fix bug in IQuickInfoModelProvider for SELECT column aliases | terrajobst/nquery-vnext | src/NQuery.Authoring/QuickInfo/ExpressionSelectColumnQuickInfoModelProvider.cs | src/NQuery.Authoring/QuickInfo/ExpressionSelectColumnQuickInfoModelProvider.cs | using System;
using System.ComponentModel.Composition;
using NQuery.Syntax;
namespace NQuery.Authoring.QuickInfo
{
[Export(typeof(IQuickInfoModelProvider))]
internal sealed class ExpressionSelectColumnQuickInfoModelProvider : QuickInfoModelProvider<ExpressionSelectColumnSyntax>
{
protected overri... | using System;
using System.ComponentModel.Composition;
using NQuery.Syntax;
namespace NQuery.Authoring.QuickInfo
{
[Export(typeof(IQuickInfoModelProvider))]
internal sealed class ExpressionSelectColumnQuickInfoModelProvider : QuickInfoModelProvider<ExpressionSelectColumnSyntax>
{
protected overri... | mit | C# |
64be41967f02afb44c3546bcf6d0f72bac6ef100 | check that waypoints are actually populated | AlexCuse/PathFinder | PathFinder.Loaders.Tests/Gpx/GpxLoaderTest.cs | PathFinder.Loaders.Tests/Gpx/GpxLoaderTest.cs | using System;
using NUnit.Framework;
using System.Linq;
using PathFinder.Loaders.Gpx;
namespace PathFinder.Loaders.Tests.Gpx
{
[TestFixture]
public class GpxFileLoaderTest
{
[TestCase("SampleFiles\\DamLoop.gpx", 1, 1155)]
[TestCase("SampleFiles\\GreenLane.gpx", 1, 1665)]//with garmin exten... | using NUnit.Framework;
using PathFinder.Loaders.Gpx;
namespace PathFinder.Loaders.Tests.Gpx
{
[TestFixture]
public class GpxFileLoaderTest
{
[TestCase("SampleFiles\\DamLoop.gpx", 1, 1155)]
[TestCase("SampleFiles\\GreenLane.gpx", 1, 1665)]//with garmin extensions
public void Load(st... | mit | C# |
de0086e888ccf9570e890ef13113853ff478aff9 | change user config AbsolutePath to LocalPath | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/CactbotEventSourceConfigPanel.cs | CactbotOverlay/CactbotEventSourceConfigPanel.cs | using System;
using System.Globalization;
using System.Windows.Forms;
namespace Cactbot {
public partial class CactbotEventSourceConfigPanel : UserControl {
private CactbotEventSourceConfig config;
private CactbotEventSource source;
public CactbotEventSourceConfigPanel(CactbotEventSource source) {
... | using System;
using System.Globalization;
using System.Windows.Forms;
namespace Cactbot {
public partial class CactbotEventSourceConfigPanel : UserControl {
private CactbotEventSourceConfig config;
private CactbotEventSource source;
public CactbotEventSourceConfigPanel(CactbotEventSource source) {
... | apache-2.0 | C# |
7cfc27529e2d4c91eb66323be2d4f845ffd9322b | Update tests/SixLabors.Fonts.Tests/Tables/AdvancedTypographic/Gsub/GSubTableTests.cs | SixLabors/Fonts | tests/SixLabors.Fonts.Tests/Tables/AdvancedTypographic/Gsub/GSubTableTests.cs | tests/SixLabors.Fonts.Tests/Tables/AdvancedTypographic/Gsub/GSubTableTests.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using Xunit;
namespace SixLabors.Fonts.Tests.Tables.AdvancedTypographic.Gsub
{
public class GSubTableTests
{
// TODO: add all other arabic letters
[Fact]
public void RenderArabicCharacters_WithIsolatedForm_... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using Xunit;
namespace SixLabors.Fonts.Tests.Tables.AdvancedTypographic.Gsub
{
public class GSubTableTests
{
// TODO: add all other arabic letters
[Fact]
public void RenderArabicCharacters_WithIsolatedForm_... | apache-2.0 | C# |
51e4995e3575efc47985c527db0cc018b36602f4 | Add hash code to work/username | windowsphonehacker/SparklrWP | SparklrLib/Objects/Responses/Work/Username.cs | SparklrLib/Objects/Responses/Work/Username.cs |
using System;
namespace SparklrLib.Objects.Responses.Work
{
public class Username : IEquatable<Username>
{
public string username { get; set; }
public string displayname { get; set; }
public int id { get; set; }
public override string ToString()
{
return id... |
using System;
namespace SparklrLib.Objects.Responses.Work
{
public class Username : IEquatable<Username>
{
public string username { get; set; }
public string displayname { get; set; }
public int id { get; set; }
public override string ToString()
{
return id... | mit | C# |
b3666f2d21ba3358cfdcd280afd39296c5a778f0 | Update work/username | windowsphonehacker/SparklrWP | SparklrLib/Objects/Responses/Work/Username.cs | SparklrLib/Objects/Responses/Work/Username.cs |
using System;
namespace SparklrLib.Objects.Responses.Work
{
public class Username : IEquatable<Username>
{
public string username { get; set; }
public string displayname { get; set; }
public int id { get; set; }
public override string ToString()
{
return id... |
namespace SparklrLib.Objects.Responses.Work
{
public class Username
{
public string username { get; set; }
public int id { get; set; }
public override string ToString()
{
return id + ": " + username;
}
}
} | mit | C# |
f1fa9304331a129f9dfd5a251969d6413e7ec184 | Fix formatting | RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Source/Boilerplate.Templates/Content/ApiTemplate/Options/CertificateOptions.cs | Source/Boilerplate.Templates/Content/ApiTemplate/Options/CertificateOptions.cs | namespace ApiTemplate.Options
{
public class CertificateOptions
{
public bool AllowInvalid { get; set; }
public string Subject { get; set; }
public string Store { get; set; }
public string Location { get; set; }
public string Path { get; set; }
public string ... | namespace ApiTemplate.Options
{
public class CertificateOptions
{
public bool AllowInvalid { get;set; }
public string Subject { get; set; }
public string Store { get; set; }
public string Location { get; set; }
public string Path { get; set; }
public string P... | mit | C# |
8ebf5d3f378135aabb10326d533d6c3b9d60f7ae | Fix comments. | cube-soft/Cube.Core,cube-soft/Cube.Core | Libraries/Sources/Collections/LambdaComparer.cs | Libraries/Sources/Collections/LambdaComparer.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | apache-2.0 | C# |
d6297823419371fcbfe75e148a6ffdfb9db1b66f | Update test suite for latest changes | nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Win/Extensions/DateTimeExtensions.cs | MultiMiner.Win/Extensions/DateTimeExtensions.cs | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
private static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | using System;
using System.Globalization;
namespace MultiMiner.Win.Extensions
{
public static class DateTimeExtensions
{
public static string ToReallyShortDateString(this DateTime dateTime)
{
//short date no year
string shortDateString = dateTime.ToShortDateString();
... | mit | C# |
b9e0c471ddf65b06c5398faeb860b89b5ccf1ef8 | Add bytes support to TempFile path | Ermiar/corefx,nbarbettini/corefx,wtgodbe/corefx,wtgodbe/corefx,ptoonen/corefx,ravimeda/corefx,ViktorHofer/corefx,the-dwyer/corefx,mmitche/corefx,fgreinacher/corefx,mazong1123/corefx,Jiayili1/corefx,axelheer/corefx,JosephTremoulet/corefx,ericstj/corefx,nchikanov/corefx,stone-li/corefx,seanshpark/corefx,mazong1123/corefx... | src/Common/tests/System/IO/TempFile.cs | src/Common/tests/System/IO/TempFile.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.Runtime.CompilerServices;
using Xunit;
namespace System.IO
{
/// <summary>
/// Represents a te... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.CompilerServices;
using Xunit;
namespace System.IO
{
/// <summary>
/// Represents a te... | mit | C# |
a49f8de84690665228cbcfa575903661a0ddb6ba | Fix compilation | criteo/zipkin4net,criteo/zipkin4net | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | zipkin4net-aspnetcore/Criteo.Profiling.Tracing.Middleware/TracingMiddleware.cs | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
using Criteo.Profiling.Tracing.Utils;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
... | using System;
using Microsoft.AspNetCore.Builder;
using Criteo.Profiling.Tracing;
namespace Criteo.Profiling.Tracing.Middleware
{
public static class TracingMiddleware
{
public static void UseTracing(this IApplicationBuilder app, string serviceName)
{
var extractor = new Middleware.... | apache-2.0 | C# |
fde41e6b97093e31966dd8d3a9d219e56b92c6db | Fix the build | github/VisualStudio,HeadhunterXamd/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Settings.cs | src/GitHub.VisualStudio/Settings.cs | // Guids.cs
// MUST match guids.h
using Microsoft.TeamFoundation.Controls;
using System;
namespace GitHub.VisualStudio
{
static class GuidList
{
public const string guidGitHubPkgString = "c3d3dc68-c977-411f-b3e8-03b0dccf7dfc";
public const string guidGitHubCmdSetString = "c4c91892-8881-4588-a5... | // Guids.cs
// MUST match guids.h
using Microsoft.TeamFoundation.Controls;
using System;
namespace GitHub.VisualStudio
{
static class GuidList
{
public const string guidGitHubPkgString = "c3d3dc68-c977-411f-b3e8-03b0dccf7dfc";
public const string guidGitHubCmdSetString = "c4c91892-8881-4588-a5... | mit | C# |
c5ed0f7c6765c79b38edf1d0f83cecb126df1b1f | Adjust validation in AddRockLib extension method | RockFramework/RockLib.Configuration | RockLibConfigurationBuilderExtensions.cs | RockLibConfigurationBuilderExtensions.cs | using System;
using Microsoft.Extensions.Configuration;
namespace RockLib.Configuration
{
public static class RockLibConfigurationBuilderExtensions
{
/// <summary>
///
/// </summary>
/// <param name="builder"></param>
/// <returns></returns>
public static ICon... |
using System;
using System.IO;
using Microsoft.Extensions.Configuration;
namespace RockLib.Configuration
{
public static class RockLibConfigurationBuilderExtensions
{
/// <summary>
///
/// </summary>
/// <param name="builder"></param>
/// <returns></returns>
... | mit | C# |
b35b5879741aa1a43734d1df1f6f12918ec6bb11 | Use existing bool menu item helper | unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/Matte... | SlicerConfiguration/SliceSettingsOverflowMenu.cs | SlicerConfiguration/SliceSettingsOverflowMenu.cs | /*
Copyright (c) 2018, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions an... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions an... | bsd-2-clause | C# |
de982563f0e76980524e6534e6a9fcda41c1611f | Fix error when using JSON serializer and converting integer types to smallest possible type. | anakic/Jot | Thingie.Tracking/Serialization/JsonSerializer.cs | Thingie.Tracking/Serialization/JsonSerializer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Thingie.Tracking.Serialization
{
public class JsonSerializer : ISerializer
{
JsonSerializerSettings _serializationSettings = new JsonSerializerSettings() { TypeNameHandling=TypeNameHa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Thingie.Tracking.Serialization
{
public class JsonSerializer : ISerializer
{
JsonSerializerSettings _serializationSettings = new JsonSerializerSettings() { TypeNameHandling=TypeNameHa... | mit | C# |
4dbe7398961fb2c584c413cd74b5aa6ab142e6cb | Bump to 0.6.0 | dancol90/mi-360 | Source/mi-360/Properties/AssemblyInfo.cs | Source/mi-360/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Le informazioni generali relative a un assembly sono controllate dal seguente
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
// associate a un assembly.
[assembly: Ass... | bsd-3-clause | C# |
46bde1d73cd9c1736e78ae5a7f99ddf11bbb8116 | Use the configuration with fallback for snapshot store (#112) | Aaronontheweb/Akka.Persistence.SqlServer,akkadotnet/Akka.Persistence.SqlServer,Aaronontheweb/Akka.Persistence.SqlServer,akkadotnet/Akka.Persistence.SqlServer | src/Akka.Persistence.SqlServer/Snapshot/SqlServerSnapshotStore.cs | src/Akka.Persistence.SqlServer/Snapshot/SqlServerSnapshotStore.cs | // -----------------------------------------------------------------------
// <copyright file="SqlServerSnapshotStore.cs" company="Akka.NET Project">
// Copyright (C) 2013 - 2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
// -----------------------------------------------------------... | // -----------------------------------------------------------------------
// <copyright file="SqlServerSnapshotStore.cs" company="Akka.NET Project">
// Copyright (C) 2013 - 2019 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
// -----------------------------------------------------------... | apache-2.0 | C# |
a4ba451c95a32c0bfe3f931e9dd89e6e0ef2666a | fix merge issue | dotnetgeek/dng.Syndication,dotnetgeek/dng.Syndication | src/Enclosure.cs | src/Enclosure.cs | namespace dng.Syndication
{
public class Enclosure
{
public Enclosure()
{
Length = 0;
}
public string Url { get; set; }
public int Length { get; set; }
public string MediaType { get; set; }
}
} | namespace dng.Syndication
{
public class Enclosure
{
<<<<<<< HEAD
public Enclosure()
{
Length = 0;
}
=======
>>>>>>> 173348ac0538654dbb2c584a392fa3ed4b52d57d
public string Url { get; set; }
public int Length { get; set; }
public string MediaType { ... | mit | C# |
10c2cd1bc338053bf7fcc1ee3e184d11a432dfd0 | revert of migrating deserialiser | LykkeCity/MT,LykkeCity/MT,LykkeCity/MT | src/MarginTrading.Common/RabbitMq/DeserializerWithErrorLogging.cs | src/MarginTrading.Common/RabbitMq/DeserializerWithErrorLogging.cs | using System;
using System.Text;
using Common.Log;
using Lykke.RabbitMqBroker.Subscriber;
namespace MarginTrading.Common.RabbitMq
{
public class DeserializerWithErrorLogging<TMessage> : IMessageDeserializer<TMessage>
{
private readonly ILog _log;
private readonly IMessageDeserializer<TMessage>... | using System;
using System.Text;
using Common.Log;
using Lykke.RabbitMqBroker.Subscriber;
namespace MarginTrading.Common.RabbitMq
{
public class DeserializerWithErrorLogging<TMessage> : IMessageDeserializer<TMessage>
{
private readonly ILog _log;
private readonly IMessageDeserializer<TMessage>... | mit | C# |
002540193d2419f744e7b421da878198657a573a | Move field | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.WebClients.Wasabi;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Fluent.ViewModels
{
pub... | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using JetBrains.Annotations;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.WebClients.Wasabi;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Fluent.ViewModels
{
pub... | mit | C# |
e36bdaafaf7ac04b4fa8eb71a6e4e05f02eb5036 | Remove dead line from autocomplete | kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs | WootzJs.Mvc/Views/AutocompleteTextBox.cs | WootzJs.Mvc/Views/AutocompleteTextBox.cs | using WootzJs.Web;
namespace WootzJs.Mvc.Views
{
public class AutocompleteTextBox<T> : Control
{
private Control content;
private Control overlay;
private Element contentNode;
private Element overlayContainer;
private DropDownAlignment alignment;
private T selec... | using WootzJs.Web;
namespace WootzJs.Mvc.Views
{
public class AutocompleteTextBox<T> : Control
{
private Control content;
private Control overlay;
private Element contentNode;
private Element overlayContainer;
private DropDownAlignment alignment;
private T selec... | mit | C# |
0450b700bfe8ea345e0139cc3f4eb3010b184b01 | Add order after MoveTypeToFile | weltkante/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,tmat/roslyn,stephentoub/roslyn,nguerrera/roslyn,jmarolf/roslyn,heejaechang/roslyn,aelij/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,nguerrera/roslyn,gafter/roslyn,wvdd007/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,jmarolf/roslyn,swaroop-sridhar/roslyn,t... | src/Features/Core/Portable/MoveToNamespace/MoveToNamespaceCodeActionProvider.cs | src/Features/Core/Portable/MoveToNamespace/MoveToNamespaceCodeActionProvider.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.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.Shared.Extensions;
names... | // 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.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.Shared.Extensions;
names... | mit | C# |
00bf59111cf07c9145993fde5f8c31bfc4c05b59 | Update ConductorBaseWithActiveItem.cs | tibel/Caliburn.Light | src/Caliburn.Light.Core/ViewModel/ConductorBaseWithActiveItem.cs | src/Caliburn.Light.Core/ViewModel/ConductorBaseWithActiveItem.cs | using System.Collections.Generic;
namespace Caliburn.Light
{
/// <summary>
/// A base class for various implementations of <see cref="IConductor"/> that maintain an active item.
/// </summary>
/// <typeparam name="T">The type that is being conducted.</typeparam>
public abstract class ConductorBase... | using System.Collections.Generic;
namespace Caliburn.Light
{
/// <summary>
/// A base class for various implementations of <see cref="IConductor"/> that maintain an active item.
/// </summary>
/// <typeparam name="T">The type that is being conducted.</typeparam>
public abstract class ConductorBase... | mit | C# |
25063dec8db055d39f274c84e5809e0ca16fb652 | Change ListPictures.cshtml | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml | AstroPhotoGallery/AstroPhotoGallery/Views/Home/ListPictures.cshtml | @model List<AstroPhotoGallery.Models.Picture>
@{
ViewBag.Title = "List Pictures";
}
<div class="container">
<h2>@TempData["CategoryName"]</h2>
<div class="row">
@foreach (var picture in Model)
{
<div class="row">
<div class="col-sm-12">
<div class="... | @model List<AstroPhotoGallery.Models.Picture>
@{
ViewBag.Title = "List Pictures";
}
<div class="container">
<h2>@TempData["CategoryName"]</h2>
<div class="row">
@foreach (var picture in Model)
{
<div class="col-sm-6 text-center">
<article>
... | mit | C# |
7bc0838440484129d6a1886b04d6e06ddeb82ad7 | rename asteroids to objs | ad510/time-fields-game | Assets/Scripts/Manager.cs | Assets/Scripts/Manager.cs | using UnityEngine;
using System.Collections.Generic;
public class Manager : MonoBehaviour {
public GameObject playerPrefab, asteroidPrefab, clockPrefab, fieldPrefab, propelPrefab;
const float updateRate = 33;
const float radius = 2000;
const float clockRotSpd = Mathf.PI / 1000 * updateRate;
const float propelSp... | using UnityEngine;
using System.Collections.Generic;
public class Manager : MonoBehaviour {
public GameObject playerPrefab, asteroidPrefab, clockPrefab, fieldPrefab, propelPrefab;
const float updateRate = 33;
const float radius = 2000;
const float clockRotSpd = Mathf.PI / 1000 * updateRate;
const float propelSp... | cc0-1.0 | C# |
c9e04570ba4b708c909bcfcca5da26bf120a7bc7 | Add Owin startup routing. | swegner/CareerPoll | CareerPoll.Web/Startup.cs | CareerPoll.Web/Startup.cs | using System.Web.Http;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(CareerPoll.Web.Startup))]
namespace CareerPoll.Web
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
HttpConfiguration config... | using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(CareerPoll.Web.Startup))]
namespace CareerPoll.Web
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
| mit | C# |
d226d06b508fff46c6aa776eaa703a28f41a01b9 | Update SampleService.cs | Fody/FodyAddinSamples,Fody/FodyAddinSamples | MimickSample/SampleService.cs | MimickSample/SampleService.cs | using System;
using Mimick;
namespace MimickSample
{
/// <summary>
/// A service class which persists as a singleton within the framework.
/// </summary>
[Component]
public class SampleService
{
[Value("{Message}")]
string message;
/// <summary>
/// Gets the ap... | using System;
using Mimick;
namespace MimickSample
{
/// <summary>
/// A service class which persists as a singleton within the framework.
/// </summary>
[Component]
public class SampleService
{
int count;
[Value("{Message}")]
string message;
/// <summary>
... | mit | C# |
803c016ec329dc96ee031cf2c413f906ea184104 | update algorithm to allow for line loop resistance and reactance to be passed in as parameters. | GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA | Source/Libraries/FaultData/DataWriters/TreeProbabilityGenerator.cs | Source/Libraries/FaultData/DataWriters/TreeProbabilityGenerator.cs | using GSF.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace FaultData.DataWriters
{
public class TreeProbabilityGenerator
{
public static XElement GetTreeProbability(AdoDataConnection connection, X... | using GSF.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace FaultData.DataWriters
{
public class TreeProbabilityGenerator
{
public static XElement GetTreeProbability(AdoDataConnection connection, X... | mit | C# |
4e655da05b2313663147312678023f677a17a390 | clean up | asipe/SupaCharge | src/SupaCharge.Core/ConfigurationWrapper/ConfigurationWrapper.cs | src/SupaCharge.Core/ConfigurationWrapper/ConfigurationWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using SupaCharge.Core.Converter;
namespace SupaCharge.Core.ConfigurationWrapper {
public class ConfigurationWrapper {
public bool Contains(string key) {
return (ConfigurationManager.AppSettin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using SupaCharge.Core.Converter;
namespace SupaCharge.Core.ConfigurationWrapper {
public class ConfigurationWrapper {
public bool Contains(string key) {
return (ConfigurationManager.AppSettin... | mit | C# |
6cab3b6d8cb8bd20d5ff033e46bdf909cf7a0f6b | Fix app always showing the login page after orientation change | KallynGowdy/ReactiveUI.Routing | src/UseCases/ReactiveUI.Routing.UseCases.Android/MainActivity.cs | src/UseCases/ReactiveUI.Routing.UseCases.Android/MainActivity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
using Android.Widget;
using ReactiveUI.Routing.Android;
using R... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.App;
using Android.Views;
using Android.Widget;
using ReactiveUI.Routing.Android;
using R... | mit | C# |
d0e46de7d20d7a896e1014821bdbd83663ce7722 | Add filter property to popular movies request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(Tr... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(TraktClient client... | mit | C# |
7231c97ab77c67382f1d126bbe2e3d7f434a6b27 | Fix typo. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesPopularRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(Tr... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies;
internal class TraktMoviesPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktMovie>, TraktMovie>
{
internal TraktMoviesPopularRequest(Tr... | mit | C# |
83a85292f797472ab84f22299b57ec2a56f9047b | Fix truncated text, bug #38567 | xamarin/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples | HttpClient/AppDelegate.cs | HttpClient/AppDelegate.cs | using System;
using System.IO;
using CoreGraphics;
using Foundation;
using UIKit;
namespace HttpClientSample
{
// The name AppDelegate is referenced in the MainWindow.xib file.
public partial class AppDelegate : UIApplicationDelegate
{
// This method is invoked when the application has loaded its UI and its read... | using System;
using System.IO;
using CoreGraphics;
using Foundation;
using UIKit;
namespace HttpClientSample
{
// The name AppDelegate is referenced in the MainWindow.xib file.
public partial class AppDelegate : UIApplicationDelegate
{
// This method is invoked when the application has loaded its UI and its read... | mit | C# |
0b1ddad558b68ac56e42af617a90429b9cd3f34e | Update MainActivity.cs | iperezmx87/Xamarin30Labs | Lab8/Lab8/MainActivity.cs | Lab8/Lab8/MainActivity.cs | using Android.App;
using Android.Widget;
using Android.OS;
using System;
namespace Lab8
{
[Activity(Label = "@string/ApplicationName", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
... | using Android.App;
using Android.Widget;
using Android.OS;
using System;
namespace Lab8
{
[Activity(Label = "@string/ApplicationName", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : Activity
{
protected override void OnCreate(Bundle bundle)
{
... | mit | C# |
9136d77c92f9b35f47b468049e4e8ad17b848ab2 | Create EventSystem if there is none | loicteixeira/gj-unity-api | Assets/Plugins/Editor/GameJolt/Tools.cs | Assets/Plugins/Editor/GameJolt/Tools.cs | using UnityEngine;
using UnityEngine.EventSystems;
using UnityEditor;
namespace GameJolt.Editor
{
public class Tools : MonoBehaviour {
[MenuItem("Edit/Project Settings/Game Jolt API")]
public static void Settings()
{
var asset = AssetDatabase.LoadAssetAtPath(GameJolt.API.Constants.SETTINGS_ASSET_FULL_PAT... | using UnityEngine;
using UnityEditor;
namespace GameJolt.Editor
{
public class Tools : MonoBehaviour {
[MenuItem("Edit/Project Settings/Game Jolt API")]
public static void Settings()
{
var asset = AssetDatabase.LoadAssetAtPath(GameJolt.API.Constants.SETTINGS_ASSET_FULL_PATH, typeof(GameJolt.API.Settings)... | mit | C# |
c266f4a835a913accc50535ca4c0b6e176d00dde | add is closed to shape | pabloengine/pablo | Pablo/Graphics/Shape/Shape.cs | Pablo/Graphics/Shape/Shape.cs | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics... | /*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (c) 2015, MPL Ali Taheri Moghaddar ali.taheri.m@gmail.com
*/
namespace Pablo.Graphics... | mpl-2.0 | C# |
ebce75908fb938b2a39047834accfaf45b5d6ff2 | bump version | modulexcite/Anotar,distantcam/Anotar,mstyura/Anotar,Fody/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.16.2")]
[assembly: AssemblyFileVersion("2.16.2")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.16.1")]
[assembly: AssemblyFileVersion("2.16.1")]
| mit | C# |
1732eb337dbb12f4a92975051e0a47a990389818 | Fix exception if Keys is null | ClemPi/radosgwadminapi | RadosGW.AdminAPI/Models/User.cs | RadosGW.AdminAPI/Models/User.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Radosgw.AdminAPI
{
public class User
{
[JsonProperty(PropertyName = "display_name")]
public string DisplayName { get; set; }
[JsonProperty(PropertyName = "user_id")]
public string UserId { get; se... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Radosgw.AdminAPI
{
public class User
{
[JsonProperty(PropertyName = "display_name")]
public string DisplayName { get; set; }
[JsonProperty(PropertyName = "user_id")]
public string UserId { get; se... | apache-2.0 | C# |
facd6a05488f1606c26310c24ddb4844e7775a2a | make naming consistent for oauth flows | kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,rfavillejr/Thinktect... | src/Libraries/Thinktecture.IdentityServer.Core/Models/Configuration/OAuth2Configuration.cs | src/Libraries/Thinktecture.IdentityServer.Core/Models/Configuration/OAuth2Configuration.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license.txt
*/
using System.ComponentModel.DataAnnotations;
namespace Thinktecture.IdentityServer.Models.Configuration
{
public class OAuth2Configuration : ProtocolConfiguration
{
[Display(Name = "Enable Implicit Flow", De... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license.txt
*/
using System.ComponentModel.DataAnnotations;
namespace Thinktecture.IdentityServer.Models.Configuration
{
public class OAuth2Configuration : ProtocolConfiguration
{
[Display(Name = "Enable 'Resource Owner Pa... | bsd-3-clause | C# |
15797f6b67b2a22b2e842045fd5a0e74fd45fbff | Refactor how EntryPoint.cs handles exceptions (or doesn't) in Debug builds. This way, we get the visual studio exception dialog at the line throwing the issue. | AndrewBaker/magecrawl,jeongroseok/magecrawl | Trunk/MageCrawl/EntryPoint.cs | Trunk/MageCrawl/EntryPoint.cs | using System.IO;
using libtcod;
using Magecrawl.GameUI;
namespace Magecrawl
{
public static class EntryPoint
{
public static void Main()
{
#if !DEBUG
try
#endif
{
UIHelper.SetupUI();
WelcomeWindow.Result result;
... | using System.IO;
using libtcod;
using Magecrawl.GameUI;
namespace Magecrawl
{
public static class EntryPoint
{
public static void Main()
{
try
{
UIHelper.SetupUI();
WelcomeWindow.Result result;
... | bsd-2-clause | C# |
625fb54b75c596e77f3d7317b727672dcf4300f1 | fix nonclickable links on learn pages in mobile view | smaglio81/boxstarter,napramirez/boxstarter,cam1985/boxstarter,mwrock/boxstarter,napramirez/boxstarter,tbyehl/boxstarter,fhchina/boxstarter,tbyehl/boxstarter,dex1on/pub,dex1on/pub,smaglio81/boxstarter,napramirez/boxstarter,modulexcite/boxstarter,mwrock/boxstarter,cam1985/boxstarter,fhchina/boxstarter,dhilgarth/boxstarte... | Web/Learn/_ContentLayout.cshtml | Web/Learn/_ContentLayout.cshtml | @using System.Security.Policy
@{
Layout = "~/_SiteLayout.cshtml";
var absPath = Request.Url.AbsolutePath;
var thisPage = absPath.ToLower().Substring(absPath.LastIndexOf('/')+1);
PageData[thisPage + "Style"] = "active";
PageData["Learn"] = "active";
}
@section styles {
@RenderSection("styles", ... | @using System.Security.Policy
@{
Layout = "~/_SiteLayout.cshtml";
var absPath = Request.Url.AbsolutePath;
var thisPage = absPath.ToLower().Substring(absPath.LastIndexOf('/')+1);
PageData[thisPage + "Style"] = "active";
PageData["Learn"] = "active";
}
@section styles {
@RenderSection("styles", ... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.