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 |
|---|---|---|---|---|---|---|---|---|
02aeca29ba327cf4933916d1cc9855addeb9ab6b | Fix FileLoggingConfiguration comments | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs | src/Tgstation.Server.Host/Configuration/FileLoggingConfiguration.cs | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// File logging configuration options
/// </summary>
sealed class FileLoggingConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Exten... | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Tgstation.Server.Host.Configuration
{
/// <summary>
/// File logging configuration options
/// </summary>
sealed class FileLoggingConfiguration
{
/// <summary>
/// The key for the <see cref="Microsoft.Exten... | agpl-3.0 | C# |
826ebf3bb61544c3a438024fb0471950b1026a4b | fix bug when reading authors | StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis | service/DotNetApis.Nuget/NugetPackage.InternalMetadata.cs | service/DotNetApis.Nuget/NugetPackage.InternalMetadata.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using NuGet.Packaging;
using NuGet.Packaging.Core;
namespace DotNetApis.Nuget
{
partial class NugetPackage
{
/// <summary>
/// Package metadata contained within the package itself.
/// </summar... | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Packaging;
using NuGet.Packaging.Core;
namespace DotNetApis.Nuget
{
partial class NugetPackage
{
/// <summary>
/// Package metadata contained within the package itself.
/// </summary>
public sealed c... | mit | C# |
263cbbbeeae8e30de7c4ea1b8d83652363e65d81 | delete StringLengthValidator from ResetPasswordRequestEntity | signumsoftware/framework,signumsoftware/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework,AlejandroCano/extensions | Signum.Entities.Extensions/Authorization/ResetPasswordRequest.cs | Signum.Entities.Extensions/Authorization/ResetPasswordRequest.cs | using System;
namespace Signum.Entities.Authorization
{
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional)]
public class ResetPasswordRequestEntity : Entity
{
[UniqueIndex(AvoidAttachToUniqueIndexes = true)]
public string Code { get; set; }
pub... | using System;
namespace Signum.Entities.Authorization
{
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional)]
public class ResetPasswordRequestEntity : Entity
{
[UniqueIndex(AvoidAttachToUniqueIndexes = true)]
[StringLengthValidator(AllowNulls = false, Max = 32)]
... | mit | C# |
7910e4c04c9f576739c862cdb23a9a2692ad8370 | Fix wrong namespace beeing used in TitanTest | Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan | TitanTest/ShareCodeDecoderTest.cs | TitanTest/ShareCodeDecoderTest.cs | using Titan.MatchID.Sharecode;
using Xunit;
namespace TitanTest
{
public class ShareCodeDecoderTest
{
[Fact]
public void TestDecoder()
{
if(ShareCode.Decode("CSGO-727c4-5oCG3-PurVX-sJkdn-LsXfE").MatchID == 3208347562318757960)
{
Assert.True(true... | using Titan.Sharecode;
using Xunit;
namespace TitanTest
{
public class ShareCodeDecoderTest
{
[Fact]
public void TestDecoder()
{
if(ShareCode.Decode("CSGO-727c4-5oCG3-PurVX-sJkdn-LsXfE").MatchID == 3208347562318757960)
{
Assert.True(true, "The d... | mit | C# |
6fd2db5dd6465d1dd5979b3c0cb7bfbe3107d205 | Fix missed analysis warning | natsnudasoft/AdiePlayground | test/unit/AdiePlayground.CommonTests/SystemDateTimeProviderTests.cs | test/unit/AdiePlayground.CommonTests/SystemDateTimeProviderTests.cs | // <copyright file="SystemDateTimeProviderTests.cs" company="natsnudasoft">
// Copyright (c) Adrian John Dunstan. 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
//
/... | // <copyright file="SystemDateTimeProviderTests.cs" company="natsnudasoft">
// Copyright (c) Adrian John Dunstan. 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
//
/... | apache-2.0 | C# |
07964ed5cac1a77a57b4dce839b51a150f3153a2 | Fix for setting worldCamera to null even when user chose UIRaycastCamera | HattMarris1/HoloToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/Editor/CanvasEditorExtension.cs | Assets/HoloToolkit/Utilities/Scripts/Editor/CanvasEditorExtension.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using HoloToolkit.Unity.InputModule;
using UnityEditor;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Helper class to assign the UIRayc... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using HoloToolkit.Unity.InputModule;
using UnityEditor;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Helper class to assign the UIRayc... | mit | C# |
3920839746074c01f65cc437427e658ba03105f6 | Update XML comments of `PageSnapshotsConfiguration` | atata-framework/atata,atata-framework/atata | src/Atata/Context/PageSnapshots/PageSnapshotsConfiguration.cs | src/Atata/Context/PageSnapshots/PageSnapshotsConfiguration.cs | using System;
namespace Atata
{
/// <summary>
/// Represents the configuration of page snapshots functionality.
/// </summary>
public sealed class PageSnapshotsConfiguration : ICloneable
{
/// <summary>
/// Gets or sets the strategy for a page snapshot taking.
/// The defau... | using System;
namespace Atata
{
/// <summary>
/// Represents the configuration of page snapshots functionality.
/// </summary>
public sealed class PageSnapshotsConfiguration : ICloneable
{
/// <summary>
/// Gets or sets the strategy for a page snapshot taking.
/// The defau... | apache-2.0 | C# |
4dc99f2846e92e89d332c7c509776a6ca9226445 | Handle "null" data values from Lassie API | eurofurence/ef-app_backend-dotnet-core,eurofurence/ef-app_backend-dotnet-core | src/Eurofurence.App.Server.Services/Lassie/LassieApiClient.cs | src/Eurofurence.App.Server.Services/Lassie/LassieApiClient.cs | using Eurofurence.App.Server.Services.Abstractions.Lassie;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace Eurofurence.App.Server.Services.Lassie
{
public class LassieApiClient : ILassieApiClient
{
private class DataResponseWrappe... | using Eurofurence.App.Server.Services.Abstractions.Lassie;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
namespace Eurofurence.App.Server.Services.Lassie
{
public class LassieApiClient : ILassieApiClient
{
private class DataResponseWrappe... | mit | C# |
bc046cfac56a8f5d89ab3af95a064bf72c3d00d3 | Fix tag slug | yonglehou/Orchard,geertdoornbos/Orchard,OrchardCMS/Orchard-Harvest-Website,li0803/Orchard,jtkech/Orchard,hannan-azam/Orchard,jerryshi2007/Orchard,kgacova/Orchard,omidnasri/Orchard,MpDzik/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,patricmutwiri/Orchard,SouleDesigns/SouleDesigns.Orchard,omidnasri/Orchard,arman... | src/Orchard.Web/Modules/Orchard.Tags/Providers/TagPatterns.cs | src/Orchard.Web/Modules/Orchard.Tags/Providers/TagPatterns.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Tags.Services;
using Orchard.Localization;
using Orchard.Tags.Models;
using System.Web.Routing;
namespace Orchard.Tags.Providers {
public class TagPatterns {
private readonly ITagService _tagSer... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.Tags.Services;
using Orchard.Localization;
using Orchard.Tags.Models;
using System.Web.Routing;
namespace Orchard.Tags.Providers {
public class TagPatterns {
private readonly ITagService _tagSer... | bsd-3-clause | C# |
a54c9f01c41362b89477bb4fea27f178602ee9c9 | remove accidental commit | agileharbor/shipStationAccess | src/ShipStationAccess/V2/Models/Command/ShipStationCommand.cs | src/ShipStationAccess/V2/Models/Command/ShipStationCommand.cs | namespace ShipStationAccess.V2.Models.Command
{
internal sealed class ShipStationCommand
{
public static readonly ShipStationCommand Unknown = new ShipStationCommand( string.Empty );
public static readonly ShipStationCommand GetOrders = new ShipStationCommand( "/Orders/List" );
public static readonly Shi... | namespace ShipStationAccess.V2.Models.Command
{
internal sealed class ShipStationCommand
{
public static readonly ShipStationCommand Unknown = new ShipStationCommand( string.Empty );
public static readonly ShipStationCommand GetOrders = new ShipStationCommand( "/Orders/List" );
public static readonly Shi... | bsd-3-clause | C# |
93f7e2fbcf5adcfb9febb5a27671b9afc0f08a37 | Update OpeningMicrosoftExcel2007XlsxFiles.cs | aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Files/Handling/OpeningMicrosoftExcel2007XlsxFiles.cs | Examples/CSharp/Files/Handling/OpeningMicrosoftExcel2007XlsxFiles.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningMicrosoftExcel2007XlsxFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir ... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningMicrosoftExcel2007XlsxFiles
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir ... | mit | C# |
9bb72ff7e2fcd63995ebcf0c50d94af6fbd8733a | Fix find usages of property event handlers | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Yaml/Psi/Search/UnityYamlUsageSearchFactory.cs | resharper/resharper-unity/src/Yaml/Psi/Search/UnityYamlUsageSearchFactory.cs | using System.Collections.Generic;
using System.Linq;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Caches;
using JetBrains.ReSharper.Plugins.Yaml.Psi;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Search;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using Jet... | using System.Collections.Generic;
using System.Linq;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Caches;
using JetBrains.ReSharper.Plugins.Yaml.Psi;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Search;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using Jet... | apache-2.0 | C# |
a20cdbb0dc44d651c0e216de73cdd7929a1bdc72 | Add methods to IScriptBuilder | Ackara/Daterpillar | src/Daterpillar.Core/TextTransformation/IScriptBuilder.cs | src/Daterpillar.Core/TextTransformation/IScriptBuilder.cs | namespace Gigobyte.Daterpillar.TextTransformation
{
public interface IScriptBuilder
{
void Append(string text);
void AppendLine(string text);
void Create(Table table);
void Create(Index index);
void Create(ForeignKey foreignKey);
void Drop(Table tabl... | namespace Gigobyte.Daterpillar.TextTransformation
{
public interface IScriptBuilder
{
void Create(Table table);
void Create(Index index);
void Drop(Table table);
void Drop(Index index);
void AlterTable(Table tableA, Table tableB);
}
} | mit | C# |
63c96d5a83560e864d62585aa27e9443bd968236 | Fix tail note not properly capping result | UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteTail.cs | osu.Game.Rulesets.Mania/Objects/Drawables/DrawableHoldNoteTail.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.Diagnostics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// The tail of a <see cref="Drawa... | // 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.Diagnostics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mania.Objects.Drawables
{
/// <summary>
/// The tail of a <see cref="Drawa... | mit | C# |
13ed52a990cc4f1b53b3a1f1b37694859b5427cf | Fix weird license misindent | ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu | osu.Game.Tests/Rulesets/TestSceneRulesetSkinProvidingContainer.cs | osu.Game.Tests/Rulesets/TestSceneRulesetSkinProvidingContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using... | mit | C# |
93b616af6fb208715016869c28ada5a953d70471 | Add unit tests for enum access token grant type read and write. | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Enums/TraktAccessTokenGrantTypeTests.cs | Source/Tests/TraktApiSharp.Tests/Enums/TraktAccessTokenGrantTypeTests.cs | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using TraktApiSharp.Enums;
[TestClass]
public class TraktAccessTokenGrantTypeTests
{
class TestObject
{
[JsonConverter(typeof... | namespace TraktApiSharp.Tests.Enums
{
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TraktApiSharp.Enums;
[TestClass]
public class TraktAccessTokenGrantTypeTests
{
[TestMethod]
public void TestTraktAccessTokenGrantTypeHasMembers()
{
... | mit | C# |
d8bdfe034b3810c96431d3bee27ec4dac3f35ac4 | Refactor NonTrivialConstantVisitor. | Code-Sharp/GraphClimber | src/GraphClimber/ExpressionCompiler/NonTrivialConstantVisitor.cs | src/GraphClimber/ExpressionCompiler/NonTrivialConstantVisitor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using GraphClimber.ExpressionCompiler.Extensions;
namespace GraphClimber.ExpressionCompiler
{
public class NonTrivialConstantVisitor : Express... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using GraphClimber.ExpressionCompiler.Extensions;
namespace GraphClimber.ExpressionCompiler
{
public class NonTrivialConstantVisitor : Express... | bsd-2-clause | C# |
075d64221a131249b1c90f49e622cebd8434b662 | clear the pool after the test | lnu/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,RogerKr... | src/NHibernate.Test/NHSpecificTest/NH1908ThreadSafety/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH1908ThreadSafety/Fixture.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NHibernate.Util;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1908ThreadSafety
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override bool AppliesTo(Dialect.Dialect dialect)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH1908ThreadSafety
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override bool AppliesTo(Dialect.Dialect dialect)
{
return !(dialect is D... | lgpl-2.1 | C# |
9e68c92d1917f0d7d01bd14f84e6b32ccb55da58 | Add confirm & return_url properties to SetupIntentCreateOptions | stripe/stripe-dotnet | src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs | src/Stripe.net/Services/SetupIntents/SetupIntentCreateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SetupIntentCreateOptions : BaseOptions
{
[JsonProperty("confirm")]
public bool? Confirm { get; set; }
[JsonProperty("customer")]
public string CustomerId { get; set; }
[Jso... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class SetupIntentCreateOptions : BaseOptions
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("description")]
public string Description { get; set; }
... | apache-2.0 | C# |
1aca60e9c71a6a0f85984a65977374a5db4cfa96 | sort properties | arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,NikRimington/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,NikRimington/Umbraco-CMS,umbraco/Umbraco-CMS,tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbrac... | src/Umbraco.Web/PropertyEditors/BlockListConfiguration.cs | src/Umbraco.Web/PropertyEditors/BlockListConfiguration.cs | using Newtonsoft.Json;
using System;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// The configuration object for the Block List editor
/// </summary>
public class BlockListConfiguration
{
[ConfigurationField("blocks", "Available Blocks", "v... | using Newtonsoft.Json;
using System;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// The configuration object for the Block List editor
/// </summary>
public class BlockListConfiguration
{
[ConfigurationField("blocks", "Available Blocks", "vi... | mit | C# |
8f4bea432e0e32739faa073b5b10860339dd05df | Add more complex array test to hello app | gregmac/NServiceMVC,gregmac/NServiceMVC,gregmac/NServiceMVC,ManuelRin/NServiceMVC,ManuelRin/NServiceMVC | src/NServiceMVC.Examples.HelloWorld/Controllers/ArraySampleController.cs | src/NServiceMVC.Examples.HelloWorld/Controllers/ArraySampleController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AttributeRouting;
namespace NServiceMVC.Examples.HelloWorld.Controllers
{
public class ArraySampleController : ServiceController
{
//
// GET: /ArraySample/
[G... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AttributeRouting;
namespace NServiceMVC.Examples.HelloWorld.Controllers
{
public class ArraySampleController : ServiceController
{
//
// GET: /ArraySample/
[G... | mit | C# |
1eefe32c8c0797b6351b6ac78a9903c9851001d9 | Remove ClientId option from RestConfig | Aux/NTwitch,Aux/NTwitch | src/NTwitch.Rest/TwitchRestClientConfig.cs | src/NTwitch.Rest/TwitchRestClientConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NTwitch.Rest
{
public class TwitchRestClientConfig
{
public string BaseUrl { get; set; } = "https://api.twitch.tv/kraken/";
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Twitch.Rest
{
public class TwitchRestClientConfig
{
public string BaseUrl { get; set; } = "https://api.twitch.tv/kraken/";
public uint ClientId { get; set; }
}
}
| mit | C# |
4b145d3da8f3647c8d5114c8e50f40c1ddd2da0e | Fix issue when no UserDetails created yet and get current user info is requested. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs | Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs | using System;
using System.Collections.Generic;
using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using System.Data;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Infopulse.EDemocracy.Data.Repositories
{
public c... | using System;
using System.Collections.Generic;
using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using System.Data;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Linq;
using System.Runtime.CompilerServices;
namespace Infopulse.EDemocracy.Data.Repositories
{
public c... | cc0-1.0 | C# |
c3951a5d06f560101eec5cafe751844951d1fa39 | add debug information | dinazil/blogsamples,dinazil/blogsamples,dinazil/blogsamples | run_time_code_generation/RpcClientGenerator/ClientGenerator.cs | run_time_code_generation/RpcClientGenerator/ClientGenerator.cs | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
namespace RpcClientGenerator
{
public static class ClientGenerator
{
public static T GenerateRpcClient<T>(IRpcClient client) where T : class
{
string code =... | using System;
using System.CodeDom.Compiler;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Diagnostics;
namespace RpcClientGenerator
{
public static class ClientGenerator
{
public static T GenerateRpcClient<T> (IRpcClient client) where T : class
{
string code = GenerateInterfaceWr... | mit | C# |
eb67a487e411d1a65d6896358fe2222c7f7ada48 | use a simple test framework | carterjones/beaengine-cs,carterjones/beaengine-cs | Tests/Program.cs | Tests/Program.cs | // This is free and unencumbered software released into the public domain.
namespace Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using BeaEngineCS;
/// <summary>
/// Tests various functionality of t... | // This is free and unencumbered software released into the public domain.
namespace Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using BeaEngineCS;
class Program
{
static void Main(string[] ... | bsd-2-clause | C# |
bfddb3d8a351c4d9c1195e9023b246e0fd604e8d | Fix FPS and update FPS display | litsungyi/Camus | Utilities/FPS.cs | Utilities/FPS.cs | using System.Collections.Generic;
using UnityEngine;
namespace Camus.Utilities
{
public class FPS : MonoBehaviour
{
private static readonly int MaxCount = 100;
[SerializeField] private float frames = 0f;
private Queue<float> deltas = new Queue<float>();
private void Update()
... | using System.Collections.Generic;
using UnityEngine;
namespace Camus.Utilities
{
public class FPS : MonoBehaviour
{
private static readonly int MaxCount = 100;
[SerializeField] private int count = 0;
[SerializeField] private float frames = 0f;
private Queue<float> deltas = new... | mit | C# |
f175badf0919cf79b01c9ae8373df986f326b778 | Address review comments | dotnet/roslyn,bartdesmet/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,eriawan/roslyn,diryboy/roslyn,bartdesmet/roslyn,mavasani/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,KevinRansom/ro... | src/Workspaces/Remote/ServiceHub/Host/RemoteAnalyzerAssemblyLoaderService.cs | src/Workspaces/Remote/ServiceHub/Host/RemoteAnalyzerAssemblyLoaderService.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.Composition;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using M... | // 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.Composition;
using System.IO;
using System.Reflection;
using Microsoft.CodeAnalysis.Host... | mit | C# |
a9cf0a9baae6fc677e6e34ae29690db3e059230a | Tidy up test class | JoeMighty/shouldly | src/Shouldly.Tests/ShouldThrow/FuncOfTaskWhichThrowsDirectlyScenario.cs | src/Shouldly.Tests/ShouldThrow/FuncOfTaskWhichThrowsDirectlyScenario.cs | using System;
using System.Threading.Tasks;
using Xunit;
namespace Shouldly.Tests.ShouldThrow
{
public class FuncOfTaskWhichThrowsDirectlyScenario
{
[Fact]
public void ShouldPass()
{
// ReSharper disable once RedundantDelegateCreation
var task = new Func<Task>(... | using System;
using System.Threading.Tasks;
using Xunit;
namespace Shouldly.Tests.ShouldThrow
{
public class FuncOfTaskWhichThrowsDirectlyScenario
{
[Fact]
public void ShouldPass()
{
// ReSharper disable once RedundantDelegateCreation
var task = new Func<Task>(... | bsd-3-clause | C# |
633c9fa529b55f8013097eaec774aca964ea3b6d | Change bulk op. | danielwertheim/mycouch,danielwertheim/mycouch | src/Tests/MyCouch.IntegrationTests/TestFixtures/ViewsFixture.cs | src/Tests/MyCouch.IntegrationTests/TestFixtures/ViewsFixture.cs | using System;
using System.Linq;
using MyCouch.Commands;
using MyCouch.Querying;
using MyCouch.Testing;
using MyCouch.Testing.Model;
namespace MyCouch.IntegrationTests.TestFixtures
{
public class ViewsFixture : IDisposable
{
private IClient _client;
public Artist[] Artists { get; protected se... | using System;
using System.Linq;
using MyCouch.Commands;
using MyCouch.Querying;
using MyCouch.Testing;
using MyCouch.Testing.Model;
namespace MyCouch.IntegrationTests.TestFixtures
{
public class ViewsFixture : IDisposable
{
private IClient _client;
public Artist[] Artists { get; protected se... | mit | C# |
e6ba2f9195dd10f9c1cdce5864dd7129512ee817 | Fix a bench | alexandrnikitin/MakingIntParseFaster.NET | MakingIntParseFaster/IntParseBenchmarks.cs | MakingIntParseFaster/IntParseBenchmarks.cs | using BenchmarkDotNet.Attributes;
namespace MakingIntParseFaster
{
[Config(typeof(Config))]
public class IntParseBenchmarks
{
[Benchmark]
public int OneDigit()
{
return int.Parse("1");
}
[Benchmark]
public int MaxValue()
{
re... | using BenchmarkDotNet.Attributes;
namespace MakingIntParseFaster
{
[Config(typeof(Config))]
public class IntParseBenchmarks
{
[Benchmark]
public int OneDigit()
{
return int.Parse("1");
}
[Benchmark]
public int MaxValue()
{
re... | mit | C# |
84693beca8b31be50bb6e568452a88d643cef580 | Test fixed | pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | tests/Squidex.Domain.Apps.Core.Tests/Apps/RoleExtensionTests.cs | tests/Squidex.Domain.Apps.Core.Tests/Apps/RoleExtensionTests.cs | // ==========================================================================
// RoleExtensionTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ====================================================... | // ==========================================================================
// RoleExtensionTests.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ====================================================... | mit | C# |
a782904b23ba42cf19a84a83e5e5d9c2560d48e1 | Make the MVC content verification test explicitly pass the framework | mlorbetske/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating | test/Microsoft.TemplateEngine.Cli.UnitTests/PrecedenceSelectionTests.cs | test/Microsoft.TemplateEngine.Cli.UnitTests/PrecedenceSelectionTests.cs | using Xunit;
namespace Microsoft.TemplateEngine.Cli.UnitTests
{
public class PrecedenceSelectionTests : EndToEndTestBase
{
[Theory(DisplayName = nameof(VerifyTemplateContent))]
[InlineData("mvc -f netcoreapp2.0", "MvcNoAuthTest.json", "MvcFramework20Test.json")]
[InlineData("mvc -au ind... | using Xunit;
namespace Microsoft.TemplateEngine.Cli.UnitTests
{
public class PrecedenceSelectionTests : EndToEndTestBase
{
[Theory(DisplayName = nameof(VerifyTemplateContent))]
[InlineData("mvc", "MvcNoAuthTest.json", "MvcFramework20Test.json")]
[InlineData("mvc -au individual", "MvcInd... | mit | C# |
aa382780d58c53ef5a0ede492f9b668eeaa3b9e7 | Remove more unused commented code | Microsoft/nodejstools,Microsoft/nodejstools,Microsoft/nodejstools,Microsoft/nodejstools,Microsoft/nodejstools | Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs | Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.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.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using EnvDTE;
using Micros... | // 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.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using EnvDTE;
using Micros... | apache-2.0 | C# |
a9be48e0d3d8c2664e12d45a9dcefcbda9748401 | Mark unused property obsolete | hildabarbara/PnP,markcandelora/PnP,PaoloPia/PnP,bstenberg64/PnP,selossej/PnP,zrahui/PnP,PaoloPia/PnP,durayakar/PnP,brennaman/PnP,Anil-Lakhagoudar/PnP,narval32/Shp,jlsfernandez/PnP,perolof/PnP,biste5/PnP,sjuppuh/PnP,edrohler/PnP,rgueldenpfennig/PnP,sandhyagaddipati/PnPSamples,pdfshareforms/PnP,r0ddney/PnP,spdavid/PnP,rb... | Solutions/PowerShell.Commands/HelpAttributes/CmdletHelpAttribute.cs | Solutions/PowerShell.Commands/HelpAttributes/CmdletHelpAttribute.cs | using System;
namespace OfficeDevPnP.PowerShell.CmdletHelpAttributes
{
[AttributeUsage(AttributeTargets.Class,
AllowMultiple = false)]
public sealed class CmdletHelpAttribute : Attribute
{
readonly string description;
[Obsolete("Is not used. Use DetailedDescription ... | using System;
namespace OfficeDevPnP.PowerShell.CmdletHelpAttributes
{
[AttributeUsage(AttributeTargets.Class,
AllowMultiple = false)]
public sealed class CmdletHelpAttribute : Attribute
{
readonly string description;
public string Details { get; set; }
publi... | mit | C# |
9965652c47a319023204b39665a088d8fc46fcab | Switch Deconstruct Request reach check to not use player transform position. | Necromunger/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation... | UnityProject/Assets/Scripts/Construction/Managers/Deconstruction.cs | UnityProject/Assets/Scripts/Construction/Managers/Deconstruction.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Deconstruction : MonoBehaviour
{
public GameObject wallGirderPrefab;
public GameObject metalPrefab;
//Server only:
public void TryTileDeconstruct(TileChangeManager tileChangeManager, TileType tileType, Vector3 cellPos, Ve... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Deconstruction : MonoBehaviour
{
public GameObject wallGirderPrefab;
public GameObject metalPrefab;
//Server only:
public void TryTileDeconstruct(TileChangeManager tileChangeManager, TileType tileType, Vector3 cellPos, Ve... | agpl-3.0 | C# |
413f984f1b07cd9129f73be5338c5fdfeccfe52b | Make stopping of a recording async so we dont block the next song | haefele/SpotifyRecorder | SpotifyRecorder/Tests/SpotifyRecorder.Tests.Console/Program.cs | SpotifyRecorder/Tests/SpotifyRecorder.Tests.Console/Program.cs | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Extensions;
using SpotifyRecorder.Core.Abstractions.Services;
using SpotifyRecorder.Core.Implementations.Services;
namespace SpotifyRecorder.Tests.C... | using System;
using System.IO;
using System.Linq;
using NAudio.Wave;
using SpotifyRecorder.Core.Abstractions.Entities;
using SpotifyRecorder.Core.Abstractions.Extensions;
using SpotifyRecorder.Core.Abstractions.Services;
using SpotifyRecorder.Core.Implementations.Services;
namespace SpotifyRecorder.Tests.Console
{
... | mit | C# |
8ab05fe158f54462a75b39ffe2e974b3034bc6bb | Mark IFunctionPointerTypeSymbol as deriving from ITypeSymbol | tannergooding/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,bartdesmet/roslyn,genlu/roslyn,heejaechang/roslyn,gafter/roslyn,CyrusNajmabadi/roslyn,tannergooding/roslyn,KevinRansom/roslyn,eriawan/roslyn,ErikSchierboom/roslyn,davkean/roslyn,wvdd007/roslyn,stephentoub/roslyn,mavasani/roslyn,genlu/roslyn,jmarolf/roslyn,panop... | src/Compilers/Core/Portable/Symbols/IFunctionPointerTypeSymbol.cs | src/Compilers/Core/Portable/Symbols/IFunctionPointerTypeSymbol.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.
#nullable enable
namespace Microsoft.CodeAnalysis
{
// PROTOTYPE(func-ptr): Document
// https://github.com/... | // 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
namespace Microsoft.CodeAnalysis
{
// PROTOTYPE(func-ptr): Document
// https://github.com/... | mit | C# |
28f6a5ce8e2ee72eb1620b81644f6470cacb5a2d | Fix bug where property names were always named the p1 name. | Microsoft/ApplicationInsights-SDK-Labs,frackleton/ApplicationInsights-SDK-Labs | AggregateMetrics/AggregateMetrics/MetricTelemetryExtensions.cs | AggregateMetrics/AggregateMetrics/MetricTelemetryExtensions.cs | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics
{
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
internal static class MetricTelemetryExtensions
{
internal static void ... | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics
{
using System.Globalization;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
internal static class MetricTelemetryExtensions
{
internal static void ... | mit | C# |
30a24256709b719c4b4be1fa7fd8f5e51496759f | Fix access violation on Windows | mrward/monodevelop-powershell-addin | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellOutputPad.cs | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellOutputPad.cs | //
// PowerShellOutputPad.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 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 the ... | //
// PowerShellOutputPad.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 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 the ... | mit | C# |
71d167bc7342360c6b0c9ed255df95efdbad816a | Disable failing test | BrennanConroy/corefx,Chrisboh/corefx,rjxby/corefx,fgreinacher/corefx,zhenlan/corefx,twsouthwick/corefx,mokchhya/corefx,dhoehna/corefx,PatrickMcDonald/corefx,CherryCxldn/corefx,gabrielPeart/corefx,krytarowski/corefx,CloudLens/corefx,alexandrnikitin/corefx,jeremymeng/corefx,shmao/corefx,andyhebear/corefx,ericstj/corefx,Y... | src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs | src/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class FileStream_ctor_str_fm_fa_fs_buffer_fo : FileStream_ctor_str_fm_fa... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using Xunit;
namespace System.IO.FileSystem.Tests
{
public class FileStream_ctor_str_fm_fa_fs_buffer_fo : FileStream_ctor_str_fm_fa... | mit | C# |
0e98a1a7291669f4d9dd42ac9a373487fbd15781 | fix up the casing rather than surpress | jhancock93/autorest,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,haocs/autorest,matt-gibbs/AutoRest,begoldsm/autorest,jkonecki/autorest,anudeepsharma/autorest,jianghaolu/AutoRest,jianghaolu/AutoRest,begoldsm/autorest,sharadagarwal/autorest,yonglehou/autorest,fhoring/autorest,begoldsm/autorest,jianghaolu/AutoR... | Microsoft.Rest/ClientRuntime/BasicAuthenticationCredentials.cs | Microsoft.Rest/ClientRuntime/BasicAuthenticationCredentials.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading... | mit | C# |
416d7d59f02823e032202fd959dfb40c7532fd3b | Fix negative hue | treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk | NET/Libraries/Treehopper.Libraries/Utilities/ColorConverter.cs | NET/Libraries/Treehopper.Libraries/Utilities/ColorConverter.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Treehopper.Libraries.Utilities
{
static class ColorConverter
{
/// <summary>
/// Construct a color from HSL values
/// </summary>
/// <param name="hue">The hue, in degrees ... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace Treehopper.Libraries.Utilities
{
static class ColorConverter
{
/// <summary>
/// Construct a color from HSL values
/// </summary>
/// <param name="hue">The hue, in degrees ... | mit | C# |
a197791e7f7fb2ef3f9bff37b46845910e7bc881 | use PropertyName of JsonPropertyAttribute to map attributes. | eoin55/HoneyBear.HalClient | Src/HoneyBear.HalClient/Models/ResourceConverterExtenstions.cs | Src/HoneyBear.HalClient/Models/ResourceConverterExtenstions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace HoneyBear.HalClient.Models
{
/// <summary>
/// Contains a set of IResource extensions.
/// </summary>
public static class ResourceConverterExtenstions
{
inte... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace HoneyBear.HalClient.Models
{
/// <summary>
/// Contains a set of IResource extensions.
/// </summary>
public static class ResourceConverterExtenstions
{
inte... | mit | C# |
195d7a1190241e2b02169b946835a1aad821f191 | Return a text/plain response for 500 errors | BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB,BrightstarDB/BrightstarDB | src/core/BrightstarDB.Server.Modules/CorsPipelinesExtension.cs | src/core/BrightstarDB.Server.Modules/CorsPipelinesExtension.cs | using System;
using System.Linq;
using BrightstarDB.Client;
using BrightstarDB.Dto;
using BrightstarDB.Server.Modules.Configuration;
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Responses;
using Nancy.Responses.Negotiation;
namespace BrightstarDB.Server.Modules
{
public static class CorsPipelinesExtension
... | using System;
using System.Linq;
using BrightstarDB.Client;
using BrightstarDB.Dto;
using BrightstarDB.Server.Modules.Configuration;
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Responses;
using Nancy.Responses.Negotiation;
namespace BrightstarDB.Server.Modules
{
public static class CorsPipelinesExtension
... | mit | C# |
25268b1027975b629b4ebf20f1c026cc40af8543 | Add LOGIN command tests. | jan-schubert/MailMessaging | Source/MailMessaging.Plain.IntegrationTest.Shared/_MailMessenger/Login.cs | Source/MailMessaging.Plain.IntegrationTest.Shared/_MailMessenger/Login.cs | using FluentAssertions;
using MailMessaging.Plain.Contracts;
using MailMessaging.Plain.Contracts.Commands;
using MailMessaging.Plain.Core;
using MailMessaging.Plain.Core.Commands;
using NUnit.Framework;
#if WinRT
using MailMessaging.Plain.WinRT;
#elif NET
using MailMessaging.Plain.Net;
#endif
namespace Ma... | using FluentAssertions;
using MailMessaging.Plain.Contracts;
using MailMessaging.Plain.Contracts.Commands;
using MailMessaging.Plain.Core;
using MailMessaging.Plain.Core.Commands;
using NUnit.Framework;
#if WinRT
using MailMessaging.Plain.WinRT;
#elif NET
using MailMessaging.Plain.Net;
#endif
namespace Ma... | apache-2.0 | C# |
6575b878f38a409fe59f7ff4e07d5bddf5365aa0 | use _ instead of variable | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/AddWallet/ConfirmRecoveryWordsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | mit | C# |
0096a21f6099571dc0b50e5bf60887b383d6d9a2 | Format suggestions | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/TransactionDetails/Models/AddressAmountTuple.cs | WalletWasabi.Gui/Controls/TransactionDetails/Models/AddressAmountTuple.cs | using NBitcoin;
using System;
namespace WalletWasabi.Gui.Controls.TransactionDetails.Models
{
public readonly struct AddressAmountTuple : IEquatable<AddressAmountTuple>
{
public AddressAmountTuple(string address = default, Money amount = default, bool isEmpty = true)
{
Address = address;
Amount = amount;
... | using NBitcoin;
using System;
namespace WalletWasabi.Gui.Controls.TransactionDetails.Models
{
public readonly struct AddressAmountTuple : IEquatable<AddressAmountTuple>
{
public AddressAmountTuple(string address = default(string), Money amount = default(Money), bool isEmpty = true)
{
Address = address;
Am... | mit | C# |
426958667df5750f4229065653c9d24e129921ea | add tests | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Rest.Test.EndToEnd/ServiceActionInvokeDelete.cs | Test/NakedObjects.Rest.Test.EndToEnd/ServiceActionInvokeDelete.cs | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | apache-2.0 | C# |
672c8e9e10cc6a9e8eaa02f3c5f34a0e544f596c | update comments | AsterNET/AsterNET,skrusty/AsterNET | Asterisk.2013/Asterisk.NET/Manager/Action/BlindTransferAction.cs | Asterisk.2013/Asterisk.NET/Manager/Action/BlindTransferAction.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
/// <summary>
/// Redirect all channels currently bridged to the specified channel to the specified destination.<br />
/// See <see target="_blank" href="https://wiki.asterisk... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AsterNET.Manager.Action
{
/// <summary>
/// Redirect all channels currently bridged to the specified channel to the specified destination.
///
/// See <see target="_blank" href="https://wiki.a... | mit | C# |
2a1cf85c39eab095bc0d78ea5223e366927834fc | add null tag validation | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs | AstroPhotoGallery/AstroPhotoGallery/Controllers/TagController.cs | using AstroPhotoGallery.Extensions;
using AstroPhotoGallery.Models;
using PagedList;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class TagController : Controller
{
//
// GET: Tag/ListPicsWithTag/id
public ActionRes... | using AstroPhotoGallery.Extensions;
using AstroPhotoGallery.Models;
using PagedList;
using System.Data.Entity;
using System.Linq;
using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class TagController : Controller
{
//
// GET: Tag/ListPicsWithTag/id
public ActionRes... | mit | C# |
1d63786674916e476aecfa163a3f7ee9ff97f217 | Update CommentsDisqus.cshtml | Shazwazza/Articulate,readingdancer/Articulate,readingdancer/Articulate,Shazwazza/Articulate,readingdancer/Articulate,Shazwazza/Articulate | src/Articulate.Web/App_Plugins/Articulate/Themes/VAPOR/Views/Partials/CommentsDisqus.cshtml | src/Articulate.Web/App_Plugins/Articulate/Themes/VAPOR/Views/Partials/CommentsDisqus.cshtml | @model Articulate.Models.PostModel
@if (Model.DisqusShortName.IsNullOrWhiteSpace())
{
<p>
<em>
To enable comments sign up for a <a href="http://disqus.com" target="_blank">Disqus</a> account and
enter your Disqus shortname in the Articulate node settings.
</em>
</p>
}
el... | @model Articulate.Models.PostModel
@if (Model.DisqusShortName.IsNullOrWhiteSpace())
{
<p>
<em>
To enable comments sign up for a <a href="http://disqus.com" target="_blank">Disqus</a> account and
enter your Disqus shortname in the Articulate node settings.
</em>
</p>
}
el... | mit | C# |
2aab8b9e228f3bb4ed835fc2a6016a3d6b1a75a3 | add decomposed and disassembled instruction lists | carterjones/nouzuru,carterjones/nouzuru | Nouzuru/Page.cs | Nouzuru/Page.cs | namespace Nouzuru
{
using System;
using System.Collections.Generic;
using Bunseki;
using Distorm3cs;
/// <summary>
/// Represents a memory page.
/// </summary>
public class Page
{
/// <summary>
/// Gets or sets the base address of the memory page.
/// </summ... | namespace Nouzuru
{
using System;
using System.Collections.Generic;
using Bunseki;
using Distorm3cs;
/// <summary>
/// Represents a memory page.
/// </summary>
public class Page
{
/// <summary>
/// Gets or sets the base address of the memory page.
/// </summ... | bsd-2-clause | C# |
1d0613967b84476391b7c4dfe480555223f6b43c | Update assembly metadata | ridercz/AutoACME | Altairis.AutoACME.Configuration/Properties/AssemblyInfo.cs | Altairis.AutoACME.Configuration/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Altairis AutoACME Configuration")]
[assembly: AssemblyDescription("Configuration store for ACME certificate management")]
[assembly: AssemblyCompany("Alairis, s. r. o.")]
[assembly: AssemblyProduct("Altairis AutoACME")]
[assembly: AssemblyCopyright("Copyright © Altai... | 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("Al... | mit | C# |
9a83ebb0ccd185ee331390b570069443370c7e3e | Increase version of assembly | rjasica/sign | sign/Properties/AssemblyInfo.cs | sign/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CommandLine;
[assembly: AssemblyTitle("sign")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("sign")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using CommandLine;
[assembly: AssemblyTitle("sign")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("sign")]
[assembly: ... | mit | C# |
c0c39b60d625ac775cd677a710939cd76dd8c551 | Fix surface tester. | eylvisaker/AgateLib | AgateLib.Tests/Tests.WinForms/DisplayTests/SurfaceTester/SurfaceTester.cs | AgateLib.Tests/Tests.WinForms/DisplayTests/SurfaceTester/SurfaceTester.cs | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
using AgateLib;
using AgateLib.Platform.WinForms.ApplicationModels;
namespace AgateLib.Testing.DisplayTests.SurfaceTester
... | // The contents of this file are public domain.
// You may use them as you wish.
//
using System;
using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
using AgateLib;
using AgateLib.Platform.WinForms.ApplicationModels;
namespace AgateLib.Testing.DisplayTests.SurfaceTester
... | mit | C# |
5a6c1baf7463e85cb4c2e8344a518aeda94de600 | Add unit test to save and VALIDATE file in given non-en-US culture. | jongleur1983/ClosedXML,JavierJJJ/ClosedXML,ClosedXML/ClosedXML,igitur/ClosedXML,b0bi79/ClosedXML,clinchergt/ClosedXML | ClosedXML_Tests/Excel/Saving/SavingTests.cs | ClosedXML_Tests/Excel/Saving/SavingTests.cs | using ClosedXML.Excel;
using NUnit.Framework;
using System.Globalization;
using System.IO;
using System.Threading;
namespace ClosedXML_Tests.Excel.Saving
{
[TestFixture]
public class SavingTests
{
[Test]
public void CanSuccessfullySaveFileMultipleTimes()
{
using (var wb... | using ClosedXML.Excel;
using NUnit.Framework;
using System.IO;
namespace ClosedXML_Tests.Excel.Saving
{
[TestFixture]
public class SavingTests
{
[Test]
public void CanSuccessfullySaveFileMultipleTimes()
{
using (var wb = new XLWorkbook())
{
v... | mit | C# |
a7ae7c580f9a8e85ecee3194de752fc7584f2893 | Change JSON URL: InternetExplorer -> MicrosoftEdge | mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker | PlatformStatusTracker/PlatformStatusTracker.Core/Model/DataUpdateAgent.cs | PlatformStatusTracker/PlatformStatusTracker.Core/Model/DataUpdateAgent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using PlatformStatusTracker.Core.Enum;
using PlatformStatusTracker.Core.Repository;
namespace PlatformStatusTracker.Core.Model
{
public class DataUpdateAgent
{
pri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using PlatformStatusTracker.Core.Enum;
using PlatformStatusTracker.Core.Repository;
namespace PlatformStatusTracker.Core.Model
{
public class DataUpdateAgent
{
pri... | mit | C# |
7abf54e3cde07357545514fe0c93ee4f1a4a5a01 | Remove unused CompletedTask member | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/AnalyzerConstants.cs | StyleCop.Analyzers/StyleCop.Analyzers/AnalyzerConstants.cs | namespace StyleCop.Analyzers
{
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
internal static class AnalyzerConstants
{
static AnalyzerConstants()
{
#if DEBUG
// In DEBUG builds, the tests are enabled to simplify development and testing.
DisabledNoT... | namespace StyleCop.Analyzers
{
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
internal static class AnalyzerConstants
{
static AnalyzerConstants()
{
#if DEBUG
// In DEBUG builds, the tests are enabled to simplify development and testing.
DisabledNoT... | mit | C# |
86aa3b1cf425756873d1b25b3283415b3363c4cb | Fix font not loading in initial dialogue | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/DatingSim/Scripts/DatingSimDialogueController.cs | Assets/Microgames/DatingSim/Scripts/DatingSimDialogueController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class DatingSimDialogueController : MonoBehaviour
{
public float introTextDelay;
[Tooltip("If set to >0 will slow down or speed up text advance to complete it in this time")]
public float introTextForceCompl... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class DatingSimDialogueController : MonoBehaviour
{
public float introTextDelay;
[Tooltip("If set to >0 will slow down or speed up text advance to complete it in this time")]
public float introTextForceCompl... | mit | C# |
77b725ea8991748fd400675f35f83d9d7bcfeb1b | add a little something more +semver:patch | loqu8/GrooveApi | src/GrooveApi/GrooveClass1.cs | src/GrooveApi/GrooveClass1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrooveApi
{
class GrooveClass1
{
public GrooveClass1()
{
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GrooveApi
{
class GrooveClass1
{
}
}
| apache-2.0 | C# |
41c9cbb64332f1d0b965eea028e461160294c8fe | Add ReSharper to known words | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Constants.cs | source/Nuke.Common/Constants.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
namespace Nuke.Common
{
internal static class Constants
{
internal... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.IO;
namespace Nuke.Common
{
internal static class Constants
{
internal... | mit | C# |
6658c5aaa5cec9550e4c1b5538b7ee5a8ad014f2 | Update MessagePackDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/MessagePack/MessagePackDeserializer.cs | TIKSN.Core/Serialization/MessagePack/MessagePackDeserializer.cs | using System.IO;
using MsgPack.Serialization;
namespace TIKSN.Serialization.MessagePack
{
public class MessagePackDeserializer : DeserializerBase<byte[]>
{
private readonly SerializationContext _serializationContext;
public MessagePackDeserializer(SerializationContext serializationContext) =>... | using MsgPack.Serialization;
using System.IO;
namespace TIKSN.Serialization.MessagePack
{
public class MessagePackDeserializer : DeserializerBase<byte[]>
{
private readonly SerializationContext _serializationContext;
public MessagePackDeserializer(SerializationContext serializationContext)
... | mit | C# |
0ba9b3985256a4316f18b390bbb73ef883563cf4 | Increase token timeout to 5 minutes | EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,shibayan/kudu,projectkudu/kudu,shibayan/kudu,shibayan/kudu,projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,shibayan/kudu,projectkudu/kudu,shibayan/kudu | Kudu.Core/Infrastructure/SecurityUtility.cs | Kudu.Core/Infrastructure/SecurityUtility.cs | using Microsoft.AspNetCore.DataProtection;
using Microsoft.Azure.Web.DataProtection;
using System;
using System.Security.Cryptography;
namespace Kudu.Core.Infrastructure
{
public static class SecurityUtility
{
private const string DefaultProtectorPurpose = "function-secrets";
private static s... | using Microsoft.AspNetCore.DataProtection;
using Microsoft.Azure.Web.DataProtection;
using System;
using System.Security.Cryptography;
namespace Kudu.Core.Infrastructure
{
public static class SecurityUtility
{
private const string DefaultProtectorPurpose = "function-secrets";
private static s... | apache-2.0 | C# |
920b590ae60a8f818ede5e966774860aa2fd8529 | fix null value when creating dictionary from object | mikebridge/Liquid.NET,mikebridge/Liquid.NET,mikebridge/Liquid.NET | Liquid.NET/src/Constants/DictionaryValue.cs | Liquid.NET/src/Constants/DictionaryValue.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Liquid.NET.Utils;
namespace Liquid.NET.Constants
{
// TODO: determine whether the keys should be case insensitive or not.
public class DictionaryValue : ExpressionConstant
{
private readonly IDictionary<String, Opti... | using System;
using System.Collections.Generic;
using System.Linq;
using Liquid.NET.Utils;
namespace Liquid.NET.Constants
{
// TODO: determine whether the keys should be case insensitive or not.
public class DictionaryValue : ExpressionConstant
{
private readonly IDictionary<String, Opti... | mit | C# |
cfc9aa183370420ca5c7f14a70c64c42f41155b6 | Resolve #286 - Fix usage of type property | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | ZptSharp.Impl/Rendering/ZptDocumentRendererForFilePathFactory.cs | ZptSharp.Impl/Rendering/ZptDocumentRendererForFilePathFactory.cs | using System;
using ZptSharp.Dom;
using Microsoft.Extensions.DependencyInjection;
namespace ZptSharp.Rendering
{
/// <summary>
/// Implementation of <see cref="IGetsZptDocumentRendererForFilePath"/> which uses a file path to
/// get a suitable implementation of <see cref="IRendersZptDocument"/>.
/// <... | using System;
using ZptSharp.Dom;
using Microsoft.Extensions.DependencyInjection;
namespace ZptSharp.Rendering
{
/// <summary>
/// Implementation of <see cref="IGetsZptDocumentRendererForFilePath"/> which uses a file path to
/// get a suitable implementation of <see cref="IRendersZptDocument"/>.
/// <... | mit | C# |
d807b5001e3be3aac743482139ebb61dfdd8797b | Remove the need to be Master to save/update file | DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17 | Proto/Assets/Scripts/Time/TimeController.cs | Proto/Assets/Scripts/Time/TimeController.cs | using UnityEngine;
public class TimeController : MonoBehaviour
{
public MultipleDelegate Tick = new MultipleDelegate();
public MultipleDelegate End = new MultipleDelegate();
[SerializeField] private string _filePath;
[SerializeField] private int _penalizePlayerOnWrongTarget = 20;
int _Ti... | using UnityEngine;
public class TimeController : MonoBehaviour
{
public MultipleDelegate Tick = new MultipleDelegate();
public MultipleDelegate End = new MultipleDelegate();
[SerializeField] private string _filePath;
[SerializeField] private int _penalizePlayerOnWrongTarget = 20;
int _Ti... | mit | C# |
84fa6e0abf1c015e1a657a5aee89e52fcc067600 | Convert to new Visual Studio project types | SimControl/SimControl.Reactive | SimControl.Reactive/StateMachineObserver.cs | SimControl.Reactive/StateMachineObserver.cs | // Copyright (c) SimControl e.U. - Wilhelm Medetz. See LICENSE.txt in the project root for more information.
#if false
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
// TODO: CR
namespace SimControl.Reactive
{
//public class ObservedState: INo... | // Copyright (c) SimControl e.U. - Wilhelm Medetz. See LICENSE.txt in the project root for more information.
#if false
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
// TODO: CR
namespace SimControl.Reactive
{
//public class ObservedState: INo... | mit | C# |
adec97fb92f6bf890fe5d06157537358c936c702 | change configuration service-collection-extenstions, AddPoco changed to accept key-setting | SorenZ/Alamut.DotNet | src/Alamut.Utilities.AspNet/Configuration/ServiceCollectionExtensions.cs | src/Alamut.Utilities.AspNet/Configuration/ServiceCollectionExtensions.cs | using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
// https://www.strathweb.com/2016/09/strongly-typed-configuration-in-asp-net-core-without-ioptionst/
namespace Alamut.Utilities.AspNet.Configuration
{
public static class ServiceCollectionExtensions
{
... | using System;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
// https://www.strathweb.com/2016/09/strongly-typed-configuration-in-asp-net-core-without-ioptionst/
namespace Alamut.Utilities.AspNet.Configuration
{
public static class ServiceCollectionExtensions
{
... | mit | C# |
dbaa8a377e9848be18a2b1a1a2406efe5d076c0c | Fix formatting in LINQ statement | jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/Conformance/ConformanceTestData.cs | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.Tests/Conformance/ConformanceTestData.cs | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
cbc20b8def0b576d5b605b934962e4a5edacbded | Fix bug with html escaping in view sermons. | razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum | Source/SvNaum.Web/Views/Home/Sermons.cshtml | Source/SvNaum.Web/Views/Home/Sermons.cshtml | @model IEnumerable<SvNaum.Models.Sermon>
@{
ViewBag.Title = "Проповеди";
}
@*<h2>Проповеди!</h2>*@
<br />
@if (this.User.Identity.IsAuthenticated)
{
@Html.ActionLink("Create Sermon", "SermonAdd", "Admin")
<br />
<br />
}
@if (Model != null && Model.Count() > 0)
{
foreach (var item in Model)
... | @model IEnumerable<SvNaum.Models.Sermon>
@{
ViewBag.Title = "Проповеди";
}
@*<h2>Проповеди!</h2>*@
<br />
@if (this.User.Identity.IsAuthenticated)
{
@Html.ActionLink("Create Sermon", "SermonAdd", "Admin")
<br />
<br />
}
@if (Model != null && Model.Count() > 0)
{
foreach (var item in Model)
... | mit | C# |
662ee7382c1a32bf8e39205a41d52b339de8eea7 | Add ActiveButton property to TabPanel | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Controls/TabPanel.cs | Core/Controls/TabPanel.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
sealed partial class TabPanel : UserControl{
public IEnumerable<TabButton> Buttons{
get{
return panelButtons.Controls.Cast<TabB... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
namespace TweetDck.Core.Controls{
sealed partial class TabPanel : UserControl{
public IEnumerable<TabButton> Buttons{
get{
return panelButtons.Controls.Cast<TabB... | mit | C# |
0eba9031fd3de60964c7165fe6b766bb7cae7d6e | Remove dead code | cbcrc/LinkIt | HeterogeneousDataSources/LoadLinkExpressions/INestedLoadLinkExpression.cs | HeterogeneousDataSources/LoadLinkExpressions/INestedLoadLinkExpression.cs | using System;
namespace HeterogeneousDataSources.LoadLinkExpressions
{
public interface INestedLoadLinkExpression : ILoadLinkExpression
{
Type ChildLinkedSourceType { get; }
}
} | using System;
namespace HeterogeneousDataSources.LoadLinkExpressions
{
public interface INestedLoadLinkExpression : ILoadLinkExpression
{
Type ChildLinkedSourceType { get; }
Type ChildLinkedSourceModelType { get; }
}
} | mit | C# |
9cab86aed6df0cd31b56421d0e584aa26480e841 | Fix NRE when value is not set | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Infrastructure/Tags/DefaultAspNetMvcHtmlConventions.cs | SupportManager.Web/Infrastructure/Tags/DefaultAspNetMvcHtmlConventions.cs | using System;
using System.ComponentModel.DataAnnotations;
using HtmlTags;
using HtmlTags.Conventions;
namespace SupportManager.Web.Infrastructure.Tags
{
public class DefaultAspNetMvcHtmlConventions : HtmlConventionRegistry
{
public DefaultAspNetMvcHtmlConventions()
{
Editors.Alway... | using System;
using System.ComponentModel.DataAnnotations;
using HtmlTags;
using HtmlTags.Conventions;
namespace SupportManager.Web.Infrastructure.Tags
{
public class DefaultAspNetMvcHtmlConventions : HtmlConventionRegistry
{
public DefaultAspNetMvcHtmlConventions()
{
Editors.Alway... | mit | C# |
18d658f7e15cdf06c4edc2ac6e1b03414dd8c5c9 | Add window.prompt support to JavaScriptDialogHandler | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Handling/JavaScriptDialogHandler.cs | Core/Handling/JavaScriptDialogHandler.cs | using CefSharp;
using CefSharp.WinForms;
using System.Drawing;
using System.Windows.Forms;
using TweetDck.Core.Controls;
using TweetDck.Core.Other;
namespace TweetDck.Core.Handling {
class JavaScriptDialogHandler : IJsDialogHandler{
bool IJsDialogHandler.OnJSDialog(IWebBrowser browserControl, IBrowser bro... | using CefSharp;
using CefSharp.WinForms;
using System.Windows.Forms;
using TweetDck.Core.Controls;
using TweetDck.Core.Other;
namespace TweetDck.Core.Handling {
class JavaScriptDialogHandler : IJsDialogHandler{
bool IJsDialogHandler.OnJSDialog(IWebBrowser browserControl, IBrowser browser, string originUrl... | mit | C# |
256657c8c7944dc751393ff25104bda2b959e3f3 | Update version number. | ollyau/FSActiveFires | FSActiveFires/Properties/AssemblyInfo.cs | FSActiveFires/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
df36b1066f9f9fbbd5e0eea8a51863d5c8bd3f6a | Add ResetDefinesTo | DarrenTsung/DTCommandPalette | DefaultCommands/Editor/ScriptingDefines/ScriptingDefinesManager.cs | DefaultCommands/Editor/ScriptingDefines/ScriptingDefinesManager.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace DTCommandPalette.ScriptingDefines {
public static class ScriptingDefinesManager {
public static BuildTargetGroup CurrentTargetGroup {
ge... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace DTCommandPalette.ScriptingDefines {
public static class ScriptingDefinesManager {
public static BuildTargetGroup CurrentTargetGroup {
ge... | mit | C# |
bf9c29e587f1dcfe8fa4d3b77ea9ac7fd83c9777 | Update Run.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | LoginPasswordUtil/C-Sharp-Version/Run.cs | LoginPasswordUtil/C-Sharp-Version/Run.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 ... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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 ... | apache-2.0 | C# |
43a255c649985f43a7bd719dd96a3ac836080b01 | update naming in session query | 0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3 | KQAnalytics3/src/KQAnalytics3/Services/DataCollection/SessionStorageService.cs | KQAnalytics3/src/KQAnalytics3/Services/DataCollection/SessionStorageService.cs | using KQAnalytics3.Models.Data;
using KQAnalytics3.Services.Database;
using System.Threading.Tasks;
namespace KQAnalytics3.Services.DataCollection
{
public class SessionStorageService
{
public static string SessionUserCookieStorageKey => "kq_session";
public static async Task<UserSession> Get... | using KQAnalytics3.Models.Data;
using KQAnalytics3.Services.Database;
using System.Threading.Tasks;
namespace KQAnalytics3.Services.DataCollection
{
public class SessionStorageService
{
public static string SessionUserCookieStorageKey => "kq_session";
public static async Task<UserSession> Get... | agpl-3.0 | C# |
6a35dd9f113f254b7f818a478085e88fa3289856 | Update ServiceCollectionExtensions.cs | autofac/Autofac.Extensions.DependencyInjection | src/Autofac.Extensions.DependencyInjection/ServiceCollectionExtensions.cs | src/Autofac.Extensions.DependencyInjection/ServiceCollectionExtensions.cs | // This software is part of the Autofac IoC container
// Copyright © 2017 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... | // This software is part of the Autofac IoC container
// Copyright © 2017 Autofac Contributors
// http://autofac.org
//
// 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
// restrict... | mit | C# |
842964664dd155c28686410e5f8bcedd2920744c | Fix OutFormatter | visualeyes/halcyon | src/Halcyon.Mvc/HAL/Json/JsonHalOutputFormatter.cs | src/Halcyon.Mvc/HAL/Json/JsonHalOutputFormatter.cs | using Halcyon.HAL;
using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Halcyon.Web.HAL.Json {
public class JsonHalOutputFormatter : IOutputFormatter {
public const string HalJson... | using Halcyon.HAL;
using Microsoft.AspNet.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Halcyon.Web.HAL.Json {
public class JsonHalOutputFormatter : IOutputFormatter {
public const string HalJson... | mit | C# |
73c6f86fb506d25e36aa7337c6f3dcb5255e97b4 | remove comment, found implementation in owin | Malkiat-Singh/aspnet-identity-mongo,iiwaasnet/aspnet-identity-mongo,Malkiat-Singh/aspnet-identity-mongo,s4lvo/aspnet-identity-mongo,winterdouglas/aspnet-identity-mongo,abbasmhd/aspnet-identity-mongo,abbasmhd/aspnet-identity-mongo,Dedice/aspnet-identity-mongo,FelschR/AspNetCore.Identity.DocumentDB,iiwaasnet/aspnet-ident... | src/IntegrationTests/UserConfirmationStoreTests.cs | src/IntegrationTests/UserConfirmationStoreTests.cs | namespace IntegrationTests
{
using AspNet.Identity.MongoDB;
using Microsoft.AspNet.Identity;
using NUnit.Framework;
[TestFixture]
public class UserConfirmationStoreTests : UserIntegrationTestsBase
{
[Test]
public void Create_NewUser_IsNotConfirmed()
{
var manager = GetUserManager();
var user = new I... | namespace IntegrationTests
{
using AspNet.Identity.MongoDB;
using Microsoft.AspNet.Identity;
using NUnit.Framework;
[TestFixture]
public class UserConfirmationStoreTests : UserIntegrationTestsBase
{
[Test]
public void Create_NewUser_IsNotConfirmed()
{
var manager = GetUserManager();
var user = new I... | mit | C# |
82b524c0da961daaca41a420df8302f5791a93f8 | Fix #181 that directory could be removed by user when wox running. | kdar/Wox,JohnTheGr8/Wox,derekforeman/Wox,EmuxEvans/Wox,Megasware128/Wox,Launchify/Launchify,jondaniels/Wox,mika76/Wox,sanbinabu/Wox,AlexCaranha/Wox,shangvven/Wox,yozora-hitagi/Saber,derekforeman/Wox,18098924759/Wox,apprentice3d/Wox,danisein/Wox,vebin/Wox,zlphoenix/Wox,mika76/Wox,AlexCaranha/Wox,gnowxilef/Wox,dstiert/Wo... | Wox.Plugin.SystemPlugins/Program/ProgramSources/FileSystemProgramSource.cs | Wox.Plugin.SystemPlugins/Program/ProgramSources/FileSystemProgramSource.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
{
public class FileSystemProgramSource : AbstractProgramSource
{
private string baseDir... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins.Program.ProgramSources
{
public class FileSystemProgramSource : AbstractProgramSource
{
private string baseDir... | mit | C# |
049975b5a46bce96baee5132d12157a01d2a7653 | Use kebaberize shorthand | smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,johnneijzen/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu | osu.Game.Rulesets.Catch/Skinning/CatchLegacySkinTransformer.cs | osu.Game.Rulesets.Catch/Skinning/CatchLegacySkinTransformer.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 Humanizer;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Audi... | // 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 Humanizer;
using osu.Framework.Audio.Sample;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Audi... | mit | C# |
f0e91ba43188c7cc3f7a0e660c13477551082f71 | Fix overlined playlist test scene not working | smoogipoo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,ppy/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneOverlinedPlaylist.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi;
using osu.Game.Tests.Be... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Online.Multiplayer;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Multi;
using osu.Game.Tests.Be... | mit | C# |
e67fc30a1477000c6aaec9ade210afb6353101a8 | Cut off getter / setter prefix only if it exists | danielpalme/ReportGenerator,danielpalme/ReportGenerator,danielpalme/ReportGenerator,danielpalme/ReportGenerator,danielpalme/ReportGenerator,danielpalme/ReportGenerator,danielpalme/ReportGenerator | ReportGenerator/Parser/Preprocessing/CodeAnalysis/PropertyElement.cs | ReportGenerator/Parser/Preprocessing/CodeAnalysis/PropertyElement.cs | using System;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching;
namespace Palmmedia.ReportGenerator.Parser.Preprocessing.CodeAnalysis
{
/// <summary>
/// Represents a property in a source file.
/// </summary>
internal class PropertyElement : SourceElement
{
... | using System;
using ICSharpCode.NRefactory.CSharp;
using ICSharpCode.NRefactory.PatternMatching;
namespace Palmmedia.ReportGenerator.Parser.Preprocessing.CodeAnalysis
{
/// <summary>
/// Represents a property in a source file.
/// </summary>
internal class PropertyElement : SourceElement
{
... | apache-2.0 | C# |
690a8f4ae26df2070f520362536aabbb1e65963e | Change version 1.0 | DataGenSoftware/DataGen.Extensions | DataGen.Extensions/DataGen.Extensions.Shared/Common/AssemblyInfo.Common.cs | DataGen.Extensions/DataGen.Extensions.Shared/Common/AssemblyInfo.Common.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("Da... | 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("Da... | mit | C# |
a9d2b1594ba165c7791ee3216e2872dfbc946a3c | remove redundant copy paste | WojcikMike/docs.particular.net | samples/ravendb/evolving-sagadata/Version_5/UpgradeToV3/RavenExtensions.cs | samples/ravendb/evolving-sagadata/Version_5/UpgradeToV3/RavenExtensions.cs | using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Commands;
using Raven.Abstractions.Data;
using Raven.Client;
using Raven.Client.Document;
#region RavenExtensions
public static class RavenExtensions
{
public static void BatchDelete(this DocumentStore store, IEnumerable<string> k... | using System.Collections.Generic;
using System.Linq;
using Raven.Abstractions.Commands;
using Raven.Abstractions.Data;
using Raven.Client;
using Raven.Client.Document;
#region RavenExtensions
public static class RavenExtensions
{
public static void BatchDelete(this DocumentStore store, IEnumerable<string> k... | apache-2.0 | C# |
1a7ecef8d52f2c253851a83603ffeef7e61ed378 | Fix missed rename | autofac/Autofac.Extensions.DependencyInjection | test/Autofac.Extensions.DependencyInjection.Test/HostBuilderExtensionsTests.cs | test/Autofac.Extensions.DependencyInjection.Test/HostBuilderExtensionsTests.cs | using Microsoft.Extensions.Hosting;
using Xunit;
namespace Autofac.Extensions.DependencyInjection.Test
{
public sealed class HostBuilderExtensionsTests
{
[Fact]
public void UseAutofacAutofacServiceProviderResolveable()
{
var host = Host.CreateDefaultBuilder(null)
... | using Microsoft.Extensions.Hosting;
using Xunit;
namespace Autofac.Extensions.DependencyInjection.Test
{
public sealed class HostBuilderExtensionsTests
{
[Fact]
public void UseAutofacAutofacServiceProviderResolveable()
{
var host = Host.CreateDefaultBuilder(null)
... | mit | C# |
1da9b8500cd076321b2e413d5c99359e6be2e134 | Optimize HttpClientInstrumentationOptions.EventFilter (#1170) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry.Instrumentation.Http/HttpClientInstrumentationOptions.cs | src/OpenTelemetry.Instrumentation.Http/HttpClientInstrumentationOptions.cs | // <copyright file="HttpClientInstrumentationOptions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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
//
// ... | // <copyright file="HttpClientInstrumentationOptions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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
//
// ... | apache-2.0 | C# |
e96050c085ec036da47b547cd150dcdfc9474306 | Remove unnecessary using directive. | msgpack/msgpack-cli,msgpack/msgpack-cli | src/MsgPack/IAsyncUnpackable.cs | src/MsgPack/IAsyncUnpackable.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2015 FUJIWARA, Yusuke
//
// 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.or... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2015 FUJIWARA, Yusuke
//
// 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.or... | apache-2.0 | C# |
647c0bae9bd0712f9590e877be3ff87ef1e40c8d | Test automated build | AlexStefan/template-app | Internationalization/Internationalization.Core/ViewModels/MainViewModel.cs | Internationalization/Internationalization.Core/ViewModels/MainViewModel.cs | using MvvmCross.Localization;
using MvvmCross.Plugin.JsonLocalization;
using MvvmCross.ViewModels;
namespace Internationalization.Core.ViewModels
{
public class MainViewModel : MvxViewModel
{
private readonly IMvxTextProviderBuilder builder;
public MainViewModel(IMvxTextProviderBuilder builde... | using MvvmCross.Localization;
using MvvmCross.Plugin.JsonLocalization;
using MvvmCross.ViewModels;
namespace Internationalization.Core.ViewModels
{
public class MainViewModel : MvxViewModel
{
private readonly IMvxTextProviderBuilder builder;
public MainViewModel(IMvxTextProviderBuilder builde... | mit | C# |
e8da78cd41fffb23453567dc3c391f78101a095e | Update relative point animation | AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzi... | src/Avalonia.Visuals/Animation/Animators/RelativePointAnimator.cs | src/Avalonia.Visuals/Animation/Animators/RelativePointAnimator.cs | namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="RelativePoint"/> properties.
/// </summary>
public class RelativePointAnimator : Animator<RelativePoint>
{
private static readonly PointAnimator s_pointAnimator = new PointAnimator();
public... | namespace Avalonia.Animation.Animators
{
/// <summary>
/// Animator that handles <see cref="RelativePoint"/> properties.
/// </summary>
public class RelativePointAnimator : Animator<RelativePoint>
{
private static readonly PointAnimator s_pointAnimator = new PointAnimator();
public... | mit | C# |
2f286b09cc1cc887974b9eb2b8435cf22826bc32 | Update AgreementTemplateExtensions.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Extensions/AgreementTemplateExtensions.cs | src/SFA.DAS.EmployerAccounts.Web/Extensions/AgreementTemplateExtensions.cs | using SFA.DAS.EmployerAccounts.Web.ViewModels;
using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class AgreementTemplateExtensions
{
public static readonly int[] VariationsOfv3Agreement = {3, 4, 5, 6};
public static string I... | using SFA.DAS.EmployerAccounts.Web.ViewModels;
using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class AgreementTemplateExtensions
{
public static readonly int[] VariationsOfv3Agreement = {3, 4, 5, 6};
public static string I... | mit | C# |
9b91cba2445135027f8c293ab502e51a0697d88f | Update CompositionRootSetupBaseTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/DependencyInjection/CompositionRootSetupBaseTests.cs | TIKSN.UnitTests.Shared/DependencyInjection/CompositionRootSetupBaseTests.cs | using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class CompositionRootSetupBaseTests
{
private readonly TestCompositionRootSetup _compositionRoot;
public CompositionRootSetupBaseTests(ITestOutputHelper tes... | using Microsoft.Extensions.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.DependencyInjection.Tests
{
public class CompositionRootSetupBaseTests
{
private readonly TestCompositionRootSetup _compositionRoot;
public CompositionRootSetupBaseTests(ITestOutputHelper tes... | mit | C# |
6c0cb07c7e7dcd20b85b03ce7a29a88872e04b60 | Fix table header | Mimalef/repop | src/PersonnelListEquips.aspx.cs | src/PersonnelListEquips.aspx.cs | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
p... | using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
p... | mit | C# |
0e6b2be124cbf59f4fede3c06e89ceae4c596e84 | add CurrentiOSLanguage | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/F_PlatformRegion/PlatformRegion.cs | Unity/F_PlatformRegion/PlatformRegion.cs | /**
MIT License
Copyright (c) 2017 - 2021 NDark
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class PlatformRegion
{
public static string GetDeviceLanguage()
{
string ret = string.Empty;
SystemLanguage unitySystemLangauge = Application.systemLanguage;
if (unitySystemLangauge == SystemLanguage.ChineseSimplifie... | mit | C# |
89b8977f7daf4c0f44dc6540e814a4d693c87041 | Fix not setting custom scheme response status text correctly | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Browser/Adapters/CefSchemeResourceVisitor.cs | Browser/Adapters/CefSchemeResourceVisitor.cs | using System;
using System.IO;
using System.Net;
using CefSharp;
using TweetLib.Browser.Interfaces;
using TweetLib.Browser.Request;
namespace TweetDuck.Browser.Adapters {
internal sealed class CefSchemeResourceVisitor : ISchemeResourceVisitor<IResourceHandler> {
public static CefSchemeResourceVisitor Instance { get... | using System.IO;
using System.Net;
using System.Text;
using CefSharp;
using TweetLib.Browser.Interfaces;
using TweetLib.Browser.Request;
namespace TweetDuck.Browser.Adapters {
internal sealed class CefSchemeResourceVisitor : ISchemeResourceVisitor<IResourceHandler> {
public static CefSchemeResourceVisitor Instance ... | mit | C# |
a2d95cb8f78d38a1ffccbf4b200bfee74b6b0a20 | Fix for Deserialization of complex objects | wallaceiam/CQRS.Light,wallaceiam/CQRS.Light,wallaceiam/CQRS.Light,wallaceiam/DDD.Light | CQRS.Light.Core/JsonSerializationStrategy.cs | CQRS.Light.Core/JsonSerializationStrategy.cs | using System;
using CQRS.Light.Contracts;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace CQRS.Light.Core
{
public class JsonSerializationStrategy : ISerializationStrategy
{
private readonly JsonSeriali... | using System;
using CQRS.Light.Contracts;
using Newtonsoft.Json;
namespace CQRS.Light.Core
{
public class JsonSerializationStrategy : ISerializationStrategy
{
public string Serialize(object @object)
{
return JsonConvert.SerializeObject(@object);
}
public object Des... | mit | C# |
3b3f813a3b2b91518bd68c5a1fece8c4318a50f6 | Remove all Console.Write calls from InvariantRunner | sharper-library/Sharper.C.Testing | Sharper.C.Testing/Testing/InvariantRunner.cs | Sharper.C.Testing/Testing/InvariantRunner.cs | using System;
using System.Collections.Generic;
using Microsoft.FSharp.Core;
using Microsoft.FSharp.Collections;
using FsCheck;
namespace Sharper.C.Testing
{
public struct InvariantRunner
: IRunner
{
private readonly List<InvariantResult> results;
private InvariantRunner(List<InvariantRe... | using System;
using System.Collections.Generic;
using Microsoft.FSharp.Core;
using Microsoft.FSharp.Collections;
using FsCheck;
namespace Sharper.C.Testing
{
public struct InvariantRunner
: IRunner
{
private readonly List<InvariantResult> results;
private InvariantRunner(List<InvariantRe... | mit | C# |
17556b5e4647c32c460ba9c31ccef5222c607eb4 | Change unsupported mutating methods to explicit interface implementations | fluentassertions/fluentassertions,jnyrup/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions | Src/FluentAssertions/Common/ReadOnlyNonGenericCollectionWrapper.cs | Src/FluentAssertions/Common/ReadOnlyNonGenericCollectionWrapper.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace FluentAssertions.Common;
internal static class ReadOnlyNonGenericCollectionWrapper
{
public static ReadOnlyNonGenericCollectionWrapper<DataTableCollection, DataTable> Create(DataTableCollecti... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace FluentAssertions.Common;
internal static class ReadOnlyNonGenericCollectionWrapper
{
public static ReadOnlyNonGenericCollectionWrapper<DataTableCollection, DataTable> Create(DataTableCollecti... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.