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 |
|---|---|---|---|---|---|---|---|---|
7476c31e91c000c3ec95f1fe20c717ddb8b01a35 | support query without paramaters | tocsoft/GraphQLCodeGen,tocsoft/GraphQLCodeGen | Tocsoft.GraphQLCodeGen/ObjectModel/Operation.cs | Tocsoft.GraphQLCodeGen/ObjectModel/Operation.cs | using System;
using System.Collections.Generic;
using System.Text;
using GraphQLParser.AST;
using System.Linq;
using Tocsoft.GraphQLCodeGen.ObjectModel.Selections;
namespace Tocsoft.GraphQLCodeGen.ObjectModel
{
internal class Operation : IGraphQLInitter
{
private GraphQLOperationDefinition operation;
... | using System;
using System.Collections.Generic;
using System.Text;
using GraphQLParser.AST;
using System.Linq;
using Tocsoft.GraphQLCodeGen.ObjectModel.Selections;
namespace Tocsoft.GraphQLCodeGen.ObjectModel
{
internal class Operation : IGraphQLInitter
{
private GraphQLOperationDefinition operation;
... | mit | C# |
4dc062ba50b076ea38a6b818bb0285c26531533f | Allow connections to MongoDB 1.5.2+ that now returns 'ok' in the status message as a boolean, not a decimal | atheken/NoRM,atheken/NoRM | NoRM/Protocol/SystemMessages/Responses/BaseStatusMessage.cs | NoRM/Protocol/SystemMessages/Responses/BaseStatusMessage.cs | using Norm.Configuration;
using Norm.BSON;
using System.Collections.Generic;
using System.Linq;
namespace Norm.Responses
{
/// <summary>
/// Represents a message with an Ok status
/// </summary>
public class BaseStatusMessage : IExpando
{
private Dictionary<string, object> _properties = new... | using Norm.Configuration;
using Norm.BSON;
using System.Collections.Generic;
using System.Linq;
namespace Norm.Responses
{
/// <summary>
/// Represents a message with an Ok status
/// </summary>
public class BaseStatusMessage : IExpando
{
private Dictionary<string, object> _properties = new... | bsd-3-clause | C# |
61ce75cd3cd3ace636845038d2be79f1735f16ee | remove IsLowPopulation in MultiEnumDN | AlejandroCano/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework | Signum.Entities/Basics/MultiEnum.cs | Signum.Entities/Basics/MultiEnum.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Utilities;
using System.Linq.Expressions;
namespace Signum.Entities.Basics
{
[Serializable, EntityKind(EntityKind.SystemString, EntityData.Master)]
public abstract class MultiEnum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Utilities;
using System.Linq.Expressions;
namespace Signum.Entities.Basics
{
[Serializable, EntityKind(EntityKind.SystemString, EntityData.Master, IsLowPopulation = true)]
public ... | mit | C# |
241c2cf1f038f6e27d4e41a6848de385b7fd044f | Use math round for nodes | AlbericTrancart/karambaToSofistik | Source/GhToSofistik/Classes/Node.cs | Source/GhToSofistik/Classes/Node.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GhToSofistik.Classes {
class Node {
public int id;
public double x, y, z;
public List<string> constraints;
public Node(Karamba.Nodes.Node node = null) {
id = 1;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GhToSofistik.Classes {
class Node {
public int id;
public double x, y, z;
public List<string> constraints;
public Node(Karamba.Nodes.Node node = null) {
id = 1;
... | apache-2.0 | C# |
c036b9ee9b0ece284cad73a21148e439fc1c6064 | Add HasDirectory trait to HasSys trait | louthy/language-ext,StanJav/language-ext | LanguageExt.Sys/Traits/SysIO.cs | LanguageExt.Sys/Traits/SysIO.cs | using LanguageExt.Effects.Traits;
namespace LanguageExt.Sys.Traits
{
/// <summary>
/// Convenience trait - captures the BCL IO behaviour
/// </summary>
/// <typeparam name="RT">Runtime</typeparam>
public interface HasSys<RT> :
HasCancel<RT>,
HasConsole<RT>,
HasEncoding<RT... | using LanguageExt.Effects.Traits;
namespace LanguageExt.Sys.Traits
{
/// <summary>
/// Convenience trait - captures the BCL IO behaviour
/// </summary>
/// <typeparam name="RT">Runtime</typeparam>
public interface HasSys<RT> :
HasCancel<RT>,
HasConsole<RT>,
HasEncoding<RT... | mit | C# |
19c9ed45c194176dbaba37f2acd4d46f38a5a4ec | Load list of quotes into a dictionary | fredatgithub/GetQuote | CreateXMLFile/Program.cs | CreateXMLFile/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes.txt";
Dictionary<string, string> dicoQuotes = new Dictionary<string, string>();
List<string> quotesList ... | using System;
using System.Collections.Generic;
using System.IO;
namespace CreateXMLFile
{
internal static class Program
{
private static void Main()
{
const string fileName = "quotes.txt";
Dictionary<string, string> dicoQuotes = new Dictionary<string, string>();
List<string> quotesList ... | mit | C# |
1e174b36cfd57eab6be32a2263c3c350d251c081 | remove binding context on disappear | nukedbit/nukedbit-mvvm | NukedBit.Mvvm/Views/ViewBase.cs | NukedBit.Mvvm/Views/ViewBase.cs | /***************************************************************************
Copyright 2015 Sebastian Faltoni aka NukedBit
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... | /***************************************************************************
Copyright 2015 Sebastian Faltoni aka NukedBit
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... | apache-2.0 | C# |
b88d931f3121dc312ad35c0ca544ce54602f1696 | Replace the Obsolete method of SecurityRequirementsOperationFilter | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | using System.Collections.Generic;
using System.Linq;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
using Abp.Authorization;
namespace AbpCompanyName.AbpProjectName.Web.Host.Startup
{
public class SecurityRequirementsOperationFilter : IOperationFilter
{
public void Apply... | mit | C# |
629abcbdbc9f46c8448989b12ca8008d56b8b334 | Fix for issue 278 (https://github.com/dotnet/corert/issues/278) The CreateDynamicDelegate API is a dead one. Deleting it... (linq expressions use CreateObjectArrayDelegate when compiled without FEATURE_DYNAMIC_DELEGATE) | gregkalapos/corert,yizhang82/corert,krytarowski/corert,krytarowski/corert,botaberg/corert,yizhang82/corert,yizhang82/corert,tijoytom/corert,shrah/corert,sandreenko/corert,krytarowski/corert,gregkalapos/corert,tijoytom/corert,tijoytom/corert,sandreenko/corert,shrah/corert,shrah/corert,krytarowski/corert,gregkalapos/core... | src/System.Private.CoreLib/src/Internal/Runtime/Augments/DynamicDelegateAugments.cs | src/System.Private.CoreLib/src/Internal/Runtime/Augments/DynamicDelegateAugments.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.
//Internal.Runtime.Augments
//-------------------------------------------------
// Why does this exist?:
// Refl... | // 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.
//Internal.Runtime.Augments
//-------------------------------------------------
// Why does this exist?:
// Refl... | mit | C# |
03f5460dd2e269c28ae116df0ebd7317f7df9137 | Mark OsuModTestScene as abstract | smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Rulesets.Osu.Tests/Mods/OsuModTestScene.cs | osu.Game.Rulesets.Osu.Tests/Mods/OsuModTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Osu.Tests.Mods
{
public abstract class OsuModTestScene : ModTestScene
{
protected override Rules... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Osu.Tests.Mods
{
public class OsuModTestScene : ModTestScene
{
protected override Ruleset Create... | mit | C# |
9d61854c550b84cac4bb4e1994238fb2433b6de8 | Update UrlHelperTests.cs | Particular/SyncOMatic | src/Tests/UrlHelperTests.cs | src/Tests/UrlHelperTests.cs | using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class UrlHelperTests
{
[Fact]
public Task Company()
{
return Verifier.Verify(UrlHelper.GetCompany("https://github.com/org/repository"));
}
[Fact]
public Task Project()
{
return Verifier.Verif... | using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
public class UrlHelperTests
{
[Fact]
public Task Company()
{
return Verifier.Verify(UrlHelper.GetCompany("https://github.com/org/repository"));
}
[Fact]
public Task Project()
{
return Verifier.Verify(UrlHelper.G... | mit | C# |
68ed6170769154463098b046aa81eaa2c72b0bf6 | Remove PublicClient and AllowPromptNone Add missing AllowPlainTextPkce | diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB,diogodamiani/IdentityServer4.MongoDB | src/IdentityServer4.MongoDB/Entities/Client.cs | src/IdentityServer4.MongoDB/Entities/Client.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using MongoDB.Bson;
using System.Collections.Generic;
namespace IdentityServer4.MongoDB.Entities
{
public class Client
{
pub... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using MongoDB.Bson;
using System.Collections.Generic;
namespace IdentityServer4.MongoDB.Entities
{
public class Client
{
pub... | apache-2.0 | C# |
73d7ff36fb5a06728c7475b748e052f1abf30b22 | reset the listview selecteditem | sander1095/DnD_Soundboard_Edres | DnDSoundboard/ViewModels/SoundboardItemViewModel.cs | DnDSoundboard/ViewModels/SoundboardItemViewModel.cs | using System;
using System.ComponentModel;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using DnDSoundboard.Models;
using DnDSoundboard.DependencyServices.Interfaces;
namespace DnDSoundboard.ViewModels
{
public class SoundboardItemViewModel : INotifyPropertyChanged
{
private ListView listview { ge... | using System;
using System.ComponentModel;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using DnDSoundboard.Models;
using DnDSoundboard.DependencyServices.Interfaces;
namespace DnDSoundboard.ViewModels
{
public class SoundboardItemViewModel : INotifyPropertyChanged
{
private ListView listview { ge... | mit | C# |
202f86d8308994c364b74009fe974c56c796fbba | Update Program.cs | vishipayyallore/CSharp-DotNet-Core-Samples | LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs | LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs | using System;
using System.Runtime.InteropServices;
using static System.Console;
namespace LinkedList.Demos
{
public class Node
{
public int Value { get; set; }
public Node NextNode { get; set; }
public override string ToString()
{
GCHandle handle = GCHandle.All... | using System;
using System.Runtime.InteropServices;
using static System.Console;
namespace LinkedList.Demos
{
public class Node
{
public int Value { get; set; }
}
class Program
{
static void Main(string[] args)
{
var node = new Node { Value = 101 };
... | apache-2.0 | C# |
b23b0c34dc89eab1153cdbe77835147a70040d44 | Make CilInstructionLabel a class and mutable. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.PE/DotNet/Cil/CilInstructionLabel.cs | src/AsmResolver.PE/DotNet/Cil/CilInstructionLabel.cs | using System;
namespace AsmResolver.PE.DotNet.Cil
{
/// <summary>
/// Represents a label that references an instruction by its instruction object in a CIL method body.
/// </summary>
public struct CilInstructionLabel : ICilLabel
{
/// <summary>
/// Creates a new instructio... | using System;
namespace AsmResolver.PE.DotNet.Cil
{
/// <summary>
/// Represents a label that references an instruction by its instruction object in a CIL method body.
/// </summary>
public struct CilInstructionLabel : ICilLabel
{
/// <summary>
/// Creates a new instructio... | mit | C# |
7ca4c6e53086847a9808368e61e334e71284700a | Update Singleton.cs | efruchter/UnityUtilities | Patterns/Singleton.cs | Patterns/Singleton.cs | using UnityEngine.Assertions;
namespace Patterns
{
/// <summary>
/// Singleton manager.
/// </summary>
public static class Singleton<T> where T : class
{
public delegate void SingletonReady(T t);
private static T _singleton;
private static SingletonReady _onAdd;
/// <summary>
/// O(1) Fetch or add a s... | using System;
using UnityEngine.Assertions;
namespace Patterns
{
/// <summary>
/// Singleton manager. Provides a warning when trying to double-add or get null singletons.
/// </summary>
public static class Singleton<T> where T : class
{
private static T _singleton;
private static Action<T> _onAdd;
/// <sum... | mit | C# |
ee9297293a22bd812d518496d9094021d2875c8c | Fix typo in icon picker style tag (#3265) | petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orc... | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.Co... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.Co... | bsd-3-clause | C# |
7eea796babbab24677dc38b3a664338198df857a | Change Test Attribute | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/SpecialTests/SqlDialogueHelperTests.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/SpecialTests/SqlDialogueHelperTests.cs | using Dapper.FastCrud;
using NUnit.Framework;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests.Repository;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWor... | using Dapper.FastCrud;
using NUnit.Framework;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests.Repository;
using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Helpers;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWor... | mit | C# |
8abac92b2bc3cb215b84d401511d47bdee27de3a | Remove unused property from view locator | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewLocator.cs | WalletWasabi.Fluent/ViewLocator.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
public clas... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Avalonia.Controls;
using Avalonia.Controls.Templates;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent
{
public clas... | mit | C# |
fbc7ac0e8bb34766e36327a52d7ce9af4fc7d546 | set precompiled output to updatable | kjelliverb/condep-dsl-operations | ConDep.Dsl/Operations/PreCompile/PreCompileOperation.cs | ConDep.Dsl/Operations/PreCompile/PreCompileOperation.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Web.Compilation;
using ConDep.Dsl.Builders;
using ConDep.Dsl.Operations.WebDeploy.Model;
namespace ConDep.Dsl
{
public class PreCompileOperation : IOperateConDep
{
private readonly string _webApplicationName;
private readonly string _webApplic... | using System;
using System.Diagnostics;
using System.IO;
using System.Web.Compilation;
using ConDep.Dsl.Builders;
using ConDep.Dsl.Operations.WebDeploy.Model;
namespace ConDep.Dsl
{
public class PreCompileOperation : IOperateConDep
{
private readonly string _webApplicationName;
private readonly string _webApplic... | bsd-2-clause | C# |
685b186eb12861ffabff81ff33816722866cfebe | Update replicas only on single index | adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elastic... | src/Tests/Indices/IndexSettings/UpdateIndicesSettings/UpdateIndexSettingsApiTests.cs | src/Tests/Indices/IndexSettings/UpdateIndicesSettings/UpdateIndexSettingsApiTests.cs | using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
using static Nest.Infer;
namespace Tests.Indices.IndexSettings.UpdateIndicesSettings
{
[Collection(TypeOfCluster.Indexing)]
public class UpdateIndexSettingsApiT... | using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Xunit;
using static Nest.Infer;
namespace Tests.Indices.IndexSettings.UpdateIndicesSettings
{
[Collection(TypeOfCluster.Indexing)]
public class UpdateIndexSettingsApiT... | apache-2.0 | C# |
06af4afa2b6038c87b34d10ad92e42a2b00334ff | Add TagsClient to GitHubClient inteface | octokit/octokit.net,forki/octokit.net,octokit/octokit.net,kolbasov/octokit.net,nsnnnnrn/octokit.net,chunkychode/octokit.net,yonglehou/octokit.net,magoswiat/octokit.net,ivandrofly/octokit.net,cH40z-Lord/octokit.net,Red-Folder/octokit.net,darrelmiller/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,octokit-net-test... | Octokit/IGitHubClient.cs | Octokit/IGitHubClient.cs | using Octokit.Internal;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IIssuesClient Issue { get; }
IMiscellaneousClient Miscellaneous { get; }
IOrganizationsClient Organization { get; }... | using Octokit.Internal;
namespace Octokit
{
public interface IGitHubClient
{
IConnection Connection { get; }
IAuthorizationsClient Authorization { get; }
IIssuesClient Issue { get; }
IMiscellaneousClient Miscellaneous { get; }
IOrganizationsClient Organization { get; }... | mit | C# |
eb04820d01a1957a4cf0ec37642d0a63f622c874 | fix possible NRE if empty filter was called | stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-commands/src/ListCommandBase.cs | nuget-extensions/nuget-commands/src/ListCommandBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.TeamCity.NuGet.ExtendedCommands.Util;
using NuGet;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
public abstract class ListCommandBase : Command... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Linq.Expressions;
using JetBrains.TeamCity.NuGet.ExtendedCommands.Util;
using NuGet;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
public abstract class ListCommandBase : Command... | apache-2.0 | C# |
bad30d9e602537a6e2afbfb41333d89d9235a4c4 | Fix dialog dangerous button being clickable at edges | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game/Overlays/Dialog/PopupDialogDangerousButton.cs | osu.Game/Overlays/Dialog/PopupDialogDangerousButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Ga... | mit | C# |
9b978def26979a79cc449c64291aa4b816ee4d18 | Add DynamicTemplates tests | toddams/RazorLight,toddams/RazorLight | tests/RazorLight.Tests/RazorLightEngineTest.cs | tests/RazorLight.Tests/RazorLightEngineTest.cs | using System.Collections.Generic;
using System.Dynamic;
using RazorLight.Razor;
using RazorLight.Tests.Razor;
using RazorLight.Tests.Utils;
namespace RazorLight.Tests
{
using System.Threading.Tasks;
using Xunit;
public class RazorLightEngineTest
{
[Fact]
public async Task Ensure_Option_Disable_Encoding_Rend... | using RazorLight.Tests.Utils;
namespace RazorLight.Tests
{
using System.Threading.Tasks;
using Xunit;
public class RazorLightEngineTest
{
[Fact]
public async Task Ensure_Option_Disable_Encoding_Renders_Models_Raw()
{
//Arrange
var engine = new RazorLightEngineBuilder()
.UseMemoryCachingProvider(... | apache-2.0 | C# |
2aedd82e27a490a09c5efe526e2e45a7120b12e0 | Document room states and remove unnecessary WaitingForResults state | UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu,ppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomState.cs | osu.Game/Online/RealtimeMultiplayer/MultiplayerRoomState.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// The current overall state of a realtime multiplayer room.
/// </summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// The current overall state of a realtime multiplayer room.
/// </summary>
... | mit | C# |
2a2f285430d53a4b5628b7fa1c9d5843f1030ff1 | Fix LogError argument order in WebAssemblyErrorBoundaryLogger (#39223) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/WebAssembly/WebAssembly/src/Services/WebAssemblyErrorBoundaryLogger.cs | src/Components/WebAssembly/WebAssembly/src/Services/WebAssemblyErrorBoundaryLogger.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Components.WebAssembly.Services;
internal sealed class WebAssemblyErro... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Components.Web;
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.Components.WebAssembly.Services;
internal sealed class WebAssemblyErro... | apache-2.0 | C# |
adb563bc0323dda13e55e92ebfa57a24fdd3fbbc | Remove pipeline draft | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Execution/BuildExtensionAttributeBase.cs | source/Nuke.Common/Execution/BuildExtensionAttributeBase.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nuke.Common.Execution
{
public interface IBuildExtension
{
void Execute(NukeBuild build, I... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
namespace Nuke.Common.Execution
{
public interface IBuildExtension
{
void Execute(NukeBuild build, I... | mit | C# |
5963a131c5bef7dc5b7fa06dfb5bfdf320cbee11 | Enable comments | davidebbo-test/BlogConverter | BlogConverter/Program.cs | BlogConverter/Program.cs | using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace BlogConverter
{
class Program
{
static void Main(string[] args)
{
var root = XElement.Load(ar... | using HtmlAgilityPack;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace BlogConverter
{
class Program
{
static void Main(string[] args)
{
var root = XElement.Load(ar... | apache-2.0 | C# |
94db82167b42463d4cc070f6f6d2d87356edba1d | Remove dots from built in variables | anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit,anilmujagic/DeploymentCockpit | src/DeploymentCockpit.Core/Common/VariableHelper.cs | src/DeploymentCockpit.Core/Common/VariableHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Insula.Common;
namespace DeploymentCockpit.Common
{
public static class VariableHelper
{
public const string ProductVersionVariable = "ProductVersion";
public const string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Insula.Common;
namespace DeploymentCockpit.Common
{
public static class VariableHelper
{
public const string ProductVersionVariable = "ProductVersion";
public const string ... | apache-2.0 | C# |
0005bd70ff56702898bc79c624ca987b74fe85a0 | add comments to IGherkinLine | dg-ratiodata/gherkin3,pjlsergeant/gherkin,amaniak/gherkin3,concertman/gherkin3,thetutlage/gherkin3,chebizarro/gherkin3,dg-ratiodata/gherkin3,chiranjith/gherkin,SabotageAndi/gherkin,curzona/gherkin3,cucumber/gherkin3,thiblahute/gherkin3,thr0w/gherkin3,dg-ratiodata/gherkin3,moreirap/gherkin3,dirkrombauts/gherkin3,Sabotag... | csharp/Gherkin/IGherkinLine.cs | csharp/Gherkin/IGherkinLine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gherkin
{
/// <summary>
/// Represents a line of a Gherkin file
/// </summary>
public interface IGherkinLine
{
/// <summary>
/// One-based lin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gherkin
{
public interface IGherkinLine
{
int LineNumber { get; }
void Detach();
int Indent { get; }
bool IsEmpty();
bool Star... | mit | C# |
dddbc8e0ed599e0591d8bfb219b2be2b6e8ccdac | Add user images | davidebbo/ForumScorer | ForumScorer/index.cshtml | ForumScorer/index.cshtml | @using Newtonsoft.Json;
@{
string dataFile = Server.MapPath("~/App_Data/data.json");
string json = File.ReadAllText(dataFile);
var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json);
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Forum ... | @using Newtonsoft.Json;
@{
string dataFile = Server.MapPath("~/App_Data/data.json");
string json = File.ReadAllText(dataFile);
var data = (IEnumerable<dynamic>)JsonConvert.DeserializeObject(json);
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Forum ... | apache-2.0 | C# |
51d8fd005ea6c452d18b1f2cb32733b6227866d1 | Remove obsolete documentation. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/Protocol/Serialization/IByteHandler.cs | src/MySqlConnector/Protocol/Serialization/IByteHandler.cs | using System;
using System.Threading.Tasks;
using MySqlConnector.Utilities;
namespace MySqlConnector.Protocol.Serialization
{
internal interface IByteHandler : IDisposable
{
/// <summary>
/// The remaining timeout (in milliseconds) for the next I/O read. Use <see cref="Constants.InfiniteTimeout"/> to represent n... | using System;
using System.Threading.Tasks;
using MySqlConnector.Utilities;
namespace MySqlConnector.Protocol.Serialization
{
internal interface IByteHandler : IDisposable
{
/// <summary>
/// The remaining timeout (in milliseconds) for the next I/O read. Use <see cref="Constants.InfiniteTimeout"/> to represent n... | mit | C# |
8e37f4c24d450853a0f750211d8c6a7ea63d557e | Add extension methods for pinning to top and bottom layout guide | mallibone/PureLayout.Net | PureLayout.Binding/PureLayout.Binding/Extras.cs | PureLayout.Binding/PureLayout.Binding/Extras.cs | using System;
using UIKit;
namespace PureLayout.Net
{
public partial class UIViewPureLayout
{
public static NSLayoutConstraint[] AutoPinEdgesToSuperviewEdgesExcludingEdge(this UIView view, ALEdge excludingEdge)
{
return view.AutoPinEdgesToSuperviewEdgesExcludingEdge(ALHelpers.ALEdg... | using System;
using UIKit;
namespace PureLayout.Net
{
public partial class UIViewPureLayout
{
public static NSLayoutConstraint[] AutoPinEdgesToSuperviewEdgesExcludingEdge(this UIView view, ALEdge excludingEdge)
{
return view.AutoPinEdgesToSuperviewEdgesExcludingEdge(ALHelpers.ALEdg... | mit | C# |
a01de4dc4212d34c6e5f507e8b741d92b4a7e53c | Remove redundant 'base()' call. | proyecto26/RestClient | src/Proyecto26.RestClient/Utils/RequestException.cs | src/Proyecto26.RestClient/Utils/RequestException.cs | using System;
namespace Proyecto26
{
public class RequestException : Exception
{
private bool _isHttpError;
public bool IsHttpError
{
get { return _isHttpError; }
private set { _isHttpError = value; }
}
private bool _isNetworkError;
publi... | using System;
namespace Proyecto26
{
public class RequestException : Exception
{
private bool _isHttpError;
public bool IsHttpError
{
get { return _isHttpError; }
private set { _isHttpError = value; }
}
private bool _isNetworkError;
publi... | mit | C# |
65dc49ee2b92343265ceb66778e14628f82da310 | add validation route | Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | Tweek.ApiService.NetCore/Controllers/ValidationController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Engine.Core.Rules;
using Engine.Drivers.Rules;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Engine.Core.Rules;
// For more information on ena... | mit | C# |
ded56395b79f4ce2535e537fdedf5f69dbbeb90f | Clean up whitespace and file header on type enumeration | jcolag/CreditCardValidator | CreditCardRange/CreditCardRange/CreditCardType.cs | CreditCardRange/CreditCardRange/CreditCardType.cs | //-----------------------------------------------------------------------
// <copyright file="CreditCardType.cs" company="Colagioia Industries">
// Provided under the terms of the AGPL v3.
// </copyright>
//-----------------------------------------------------------------------
/// <summary>
/// Credit card type.
... | /// <summary>
/// Credit card type.
/// </summary>
namespace CreditCardProcessing
{
using System.ComponentModel;
/// <summary>
/// Credit card type.
/// </summary>
public enum CreditCardType
{
/// <summary>
/// Unknown issuers.
/// </summary>
[Description("Unknown Issuer")]
Unknown,
/// ... | agpl-3.0 | C# |
b6837aaba5112436738e2eb1e4de65b79d98b4f8 | Refactor RootedObjectEventHandler | MatterHackers/agg-sharp,larsbrubaker/agg-sharp,jlewin/agg-sharp | agg/RootedObjectEventHandler.cs | agg/RootedObjectEventHandler.cs | using System;
using System.Collections.Generic;
namespace MatterHackers.Agg
{
public class RootedObjectEventHandler
{
private EventHandler internalEvent;
public void RegisterEvent(EventHandler functionToCallOnEvent, ref EventHandler unregisterEvents)
{
internalEvent += functionToCallOnEvent;
unregiste... | using System;
using System.Collections.Generic;
namespace MatterHackers.Agg
{
#if false
public interface IReceiveRootedWeakEvent
{
void RootedEvent(string eventType, EventArgs e);
}
public class RootedObjectWeakEventHandler
{
List<WeakReference> classesToCall = new List<WeakRefere... | bsd-2-clause | C# |
33c91ceca966eae98f18258955620c5a4fdb1e13 | Set default back to sqlite | sharwell/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,physhi/roslyn,sharwell/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,mavasani/roslyn,physhi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,weltkante/rosl... | src/Workspaces/Core/Portable/Storage/StorageOptions.cs | src/Workspaces/Core/Portable/Storage/StorageOptions.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.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | // 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.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
e2b07aff4d1b5a872b7e928b4785309fa7b333c4 | Fix RavenConfiguration for Embedded mode. | alastairs/cgowebsite,alastairs/cgowebsite | src/CGO.Web/NinjectModules/RavenModule.cs | src/CGO.Web/NinjectModules/RavenModule.cs | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | using Ninject;
using Ninject.Modules;
using Ninject.Web.Common;
using Raven.Client;
using Raven.Client.Embedded;
namespace CGO.Web.NinjectModules
{
public class RavenModule : NinjectModule
{
public override void Load()
{
Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume... | mit | C# |
83a2539fe629e0a43588c5c52fcf67583d3f8090 | Update MaciejHorbacz.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/MaciejHorbacz.cs | src/Firehose.Web/Authors/MaciejHorbacz.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MaciejHorbacz : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Maciej";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MaciejHorbacz : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Maciej";
... | mit | C# |
e1e166ae66421c038c24c05e5d71481d6c86cb20 | Revert "Revert "Update Examples/.vs/Aspose.Email.Examples.CSharp/v15/Server/sqlite3/storage.ide-wal"" | aspose-email/Aspose.Email-for-.NET,asposeemail/Aspose_Email_NET | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | Examples/CSharp/Outlook/OLM/LoadAndReadOLMFile.cs | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | using System;
using Aspose.Email.Storage.Olm;
using Aspose.Email.Mapi;
namespace Aspose.Email.Examples.CSharp.Email.Outlook.OLM
{
class LoadAndReadOLMFile
{
public static void Run()
{
// The path to the File directory.
string dataDir = RunExamples.GetDataDir_Outlook();
... | mit | C# |
e963c6bd4b6f7760df861b18733a10c2d30e7c0c | Fix "change password message" view | ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager | src/TM.UI.MVC/Views/Manage/Message.cshtml | src/TM.UI.MVC/Views/Manage/Message.cshtml | @model string
@section Title{
Message
}
<h2>@Model</h2>
| @model string
@section Title{
Message
}
<h2>@ViewBag.StatusMessage</h2>
| mit | C# |
c14f5b3e9a85b6c654406fbeab0f8fb3017d42b1 | use next working day if D+2 falls into weekend in spot tiles | AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud | src/server/Adaptive.ReactiveTrader.Server.Pricing/MeanReversionRandomWalkPriceGenerator.cs | src/server/Adaptive.ReactiveTrader.Server.Pricing/MeanReversionRandomWalkPriceGenerator.cs | using System;
using System.Diagnostics;
using Adaptive.ReactiveTrader.Contract;
namespace Adaptive.ReactiveTrader.Server.Pricing
{
public sealed class MeanReversionRandomWalkPriceGenerator : BaseWalkPriceGenerator, IPriceGenerator
{
private readonly decimal _halfSpreadPercentage;
private readonly decimal _... | using System;
using System.Diagnostics;
using Adaptive.ReactiveTrader.Contract;
namespace Adaptive.ReactiveTrader.Server.Pricing
{
public sealed class MeanReversionRandomWalkPriceGenerator : BaseWalkPriceGenerator, IPriceGenerator
{
private readonly decimal _halfSpreadPercentage;
private readonly decimal _... | apache-2.0 | C# |
a5b1f1a688fe3d9ad0bd2e87b89f45e3c403ad6a | mark the string as nullable. | ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu | osu.Game/Extensions/TypeExtensions.cs | osu.Game/Extensions/TypeExtensions.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
namespace osu.Game.Extensions
{
internal static class TypeExtensions
{
/// <summary>
/// Returns <paramref name=... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
namespace osu.Game.Extensions
{
internal static class TypeExtensions
{
/// <summary>
/// Returns <paramref name=... | mit | C# |
1acfc1bbabf365c15401b121a6c2f1eab9b46c1f | Fix ModHardRock not properly clamping Drain/OD | peppy/osu-new,ppy/osu,DrabWeb/osu,DrabWeb/osu,EVAST9919/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,2yangk23/osu,naoey/osu,ZLima12/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,johnneijzen/os... | osu.Game/Rulesets/Mods/ModHardRock.cs | osu.Game/Rulesets/Mods/ModHardRock.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModHardRock : Mod, IApplicableToDifficulty
... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModHardRock : Mod, IApplicableToDifficulty
... | mit | C# |
385438e492db445668240ecfdcfc67f8de92d590 | Fix error | PTRPlay/SchoolWebProject,PTRPlay/SchoolWebProject,PTRPlay/SchoolWebProject | SchoolWebProject.Data/Infrastructure/DbFactory.cs | SchoolWebProject.Data/Infrastructure/DbFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SchoolWebProject.Domain.Models;
namespace SchoolWebProject.Data.Infrastructure
{
public class DbFactory : Disposable, IDbFactory
{
private SchoolContext dbContext;
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SchoolWebProject.Domain.Models;
namespace SchoolWebProject.Data.Infrastructure
{
public class DbFactory : IDbFactory
{
private SchoolContext dbContext;
public SchoolContex... | isc | C# |
93fc9cb6d4a566774a4e23074500ad5fe3084167 | Add expiration to token response | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | #region Copyright
// Copyright 2016 SnapMD, Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by ap... | apache-2.0 | C# |
b7a3ebf09257e151a3406168265211fc83fc4d85 | Add try catch to support clean startup abort on missing starterGear.json (#3713) | ACEmulator/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE | Source/ACE.Server/Factories/StarterGearFactory.cs | Source/ACE.Server/Factories/StarterGearFactory.cs | using System;
using System.IO;
using System.Reflection;
using ACE.Server.Entity;
using log4net;
using Newtonsoft.Json;
namespace ACE.Server.Factories
{
public class StarterGearFactory
{
private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
priv... | using System;
using System.IO;
using System.Reflection;
using ACE.Server.Entity;
using log4net;
using Newtonsoft.Json;
namespace ACE.Server.Factories
{
public class StarterGearFactory
{
private static readonly ILog log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
priv... | agpl-3.0 | C# |
a1d7d8080b8ea2c823b3617097e9b7891b147be9 | Fix cross-commit contamination | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/IO/FontStoreTest.cs | osu.Framework.Tests/IO/FontStoreTest.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.Framework.IO.Stores;
using osu.Framework.Text;
namespace osu.Framework.Tests.IO
{
[TestFixture]
pu... | // 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.Framework.IO.Stores;
using osu.Framework.Text;
namespace osu.Framework.Tests.IO
{
[TestFixture]
pu... | mit | C# |
2188f76a91b43fd27ad5a30600fca70edc6a3ee1 | Remove unused System.Net.Http reference | larsbrubaker/MatterControl,jlewin/MatterControl,rytz/MatterControl,mmoening/MatterControl,rytz/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,tellingmachine/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,tellingmachine/MatterControl,MatterHackers/MatterC... | VersionManagement/RetrievePublicProfileRequest.cs | VersionManagement/RetrievePublicProfileRequest.cs | using MatterHackers.MatterControl.DataStorage;
using MatterHackers.MatterControl.SettingsManagement;
using System.IO;
using System.Net;
namespace MatterHackers.MatterControl.VersionManagement
{
class RetrievePublicProfileRequest
{
internal static string DownloadBaseUrl { get; set; }
public RetrievePublicProfil... | using MatterHackers.MatterControl.DataStorage;
using MatterHackers.MatterControl.SettingsManagement;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace MatterHackers.MatterControl.VersionManagement
{
class RetrievePublicProfileRequest
{
internal static string Downloa... | bsd-2-clause | C# |
d76a94d16a1d345f3bbe4c48fc8ef65740cdc7f7 | Update Contact View. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Views/Home/Contact.cshtml | src/Open-School-Library/Views/Home/Contact.cshtml | @{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"]</h2>
<br />
<address>
<strong>Project Issues Page:</strong> <a href="https://github.com/Programazing/Open-School-Library/issues">https://github.com/Programazing/Open-School-Library/issues</a>
<br />
<strong>Creator:</strong> <a href="mailto:c... | @{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"].</h2>
<h3>@ViewData["Message"]</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@... | mit | C# |
d3e2031e211bcfe4150db27d4f4ba00f29749953 | Trim whitespace | DrabWeb/osu-framework,naoey/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,paparony03/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-... | osu.Framework.VisualTests/Tests/TestCaseBufferedContainer.cs | osu.Framework.VisualTests/Tests/TestCaseBufferedContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using System;
namespace osu.Framework.VisualTests.Tests
{
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
using System;
namespace osu.Framework.VisualTests.Tests
{
... | mit | C# |
08a92c38d728e030b64bc0135607ce25ce01f5cd | adjust naming | UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipooo/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,peppy/osu... | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | osu.Game/Screens/Multi/Match/Components/MatchBeatmapPanel.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Direct;
using osu.Ga... | mit | C# |
53668fc84a0518850f1eb57147242de6272636a5 | Add a cast missing from #259. Closes #261 | rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rab... | dotnet/Worker/Worker.cs | dotnet/Worker/Worker.cs | using System;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Text;
using System.Threading;
class Worker
{
public static void Main()
{
var factory = new ConnectionFactory() { HostName = "localhost" };
using(var connection = factory.CreateConnection())
using(var channel... | using System;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System.Text;
using System.Threading;
class Worker
{
public static void Main()
{
var factory = new ConnectionFactory() { HostName = "localhost" };
using(var connection = factory.CreateConnection())
using(var channel... | apache-2.0 | C# |
dbbd0cfc4385dcb1b05406c46645dbaaa9669140 | Remove list | A408a/Projekt | ChangeDatabase/ChangeDatabase/ChangeDatabase/Program.cs | ChangeDatabase/ChangeDatabase/ChangeDatabase/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChangeDatabase
{
class Program
{
static void Main(string[] args)
{
int start = 0;
if (start == 1)
{
AutomaticRemoveF... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LoadTextLibrary;
namespace ChangeDatabase
{
class Program
{
static void Main(string[] args)
{
int start = 0;
if (start == 1)
{
... | mit | C# |
9ff8c4adf9cb2943012ffc0579fcfac034a05336 | build fix | Chinchilla-Software-Com/CQRS,cdmdotnet/CQRS | Framework/Cqrs.Tests/Substitutes/TestHandleRegistrar.cs | Framework/Cqrs.Tests/Substitutes/TestHandleRegistrar.cs | using System;
using System.Collections.Generic;
using Cqrs.Bus;
using Cqrs.Messages;
namespace Cqrs.Tests.Substitutes
{
public class TestHandleRegistrar : IEventHandlerRegistrar, ICommandHandlerRegistrar
{
public static readonly IList<TestHandlerListItem> HandlerList = new List<TestHandlerListItem>();
... | using System;
using System.Collections.Generic;
using Cqrs.Bus;
using Cqrs.Messages;
namespace Cqrs.Tests.Substitutes
{
public class TestHandleRegistrar : IEventHandlerRegistrar, ICommandHandlerRegistrar
{
public static readonly IList<TestHandlerListItem> HandlerList = new List<TestHandlerListItem>();
... | lgpl-2.1 | C# |
c9d86ac6de20662aa594e7a9eb35eeed82844401 | Clarify documentation. | jkoritzinsky/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,susloparovdenis/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,OronDF343/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Av... | src/Avalonia.SceneGraph/Platform/IBitmapImpl.cs | src/Avalonia.SceneGraph/Platform/IBitmapImpl.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.IO;
namespace Avalonia.Platform
{
/// <summary>
/// Defines the platform-specific interface for a <see cref="Avalonia.Media.Imaging.... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.IO;
namespace Avalonia.Platform
{
/// <summary>
/// Defines the platform-specific interface for a <see cref="Avalonia.Media.Imaging.... | mit | C# |
26d342bde9df9a7d303b8919b3c2c9c45c45e697 | Bump version | Weingartner/ReactiveCompositeCollections | ReactiveCompositeCollections/Properties/AssemblyInfo.cs | ReactiveCompositeCollections/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Re... | 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("Re... | mit | C# |
27f6929e898d01bff14b4683eef349122660d460 | write first failing test | fffej/codekatas,fffej/codekatas,fffej/codekatas | MineField/MineSweeperTest.cs | MineField/MineSweeperTest.cs | using NUnit.Framework;
using FluentAssertions;
namespace Fatvat.Katas.MineSweeper
{
[TestFixture]
public class MineSweeperTest
{
// ReSharper disable InconsistentNaming
[Test]
public void Given_Simplest_MineField_Can_ProduceOutput()
{
const string mineFieldInput... | using NUnit.Framework;
using FluentAssertions;
namespace Fatvat.Katas.MineSweeper
{
[TestFixture]
public class MineSweeperTest
{
}
}
| mit | C# |
ca0f14e353952a4c5222fc64239ca1152ce8d30c | Fix broken unit test | mike-ward/tweetz-desktop | tweetz5/tweetz5UnitTests/Controls/TimelineControllerTests.cs | tweetz5/tweetz5UnitTests/Controls/TimelineControllerTests.cs | // Copyright (c) 2012 Blue Onion Software - All rights reserved
using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using tweetz5.Controls;
using tweetz5.Model;
using tweetz5.Utilities.System;
namespace tweetz5UnitTests
{
... | // Copyright (c) 2012 Blue Onion Software - All rights reserved
using System;
using System.Collections.Generic;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using tweetz5.Controls;
using tweetz5.Model;
using tweetz5.Utilities.System;
namespace tweetz5UnitTests
{
... | mit | C# |
bbce8c3e4f9457828bb12f6d1859cd4e335a838f | Fix item collection reset event occurring when changing build | mihailim/PoESkillTree,EmmittJ/PoESkillTree,PoESkillTree/PoESkillTree | WPFSKillTree/Model/ObservableItemCollectionConverter.cs | WPFSKillTree/Model/ObservableItemCollectionConverter.cs | using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using MoreLinq;
using PoESkillTree.GameModel.Items;
using POESKillTree.Utils.Extensions;
using OldItem = POESKillTree.Model.Items.Item;
namespace POESKillTree.Model
{
public class ObservableIte... | using System.Collections;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using MoreLinq;
using PoESkillTree.GameModel.Items;
using POESKillTree.Utils.Extensions;
using OldItem = POESKillTree.Model.Items.Item;
namespace POESKillTree.Model
{
public class ObservableIte... | mit | C# |
6f197eed2b4bc6728a310f2bcd8388be43c901e2 | Add more comments to DbContextFactory | aliencube/Entity-Context-Library,aliencube/Entity-Context-Library,aliencube/Entity-Context-Library | SourceCodes/EntityContextLibrary/DbContextFactory.cs | SourceCodes/EntityContextLibrary/DbContextFactory.cs | using System;
using System.Data.Entity;
using Aliencube.EntityContextLibrary.Interfaces;
namespace Aliencube.EntityContextLibrary
{
/// <summary>
/// This represents the factory entity for <c>DbContext</c>.
/// </summary>
/// <typeparam name="TContext">
/// Type parameter of the context class inh... | using System;
using System.Data.Entity;
using Aliencube.EntityContextLibrary.Interfaces;
namespace Aliencube.EntityContextLibrary
{
/// <summary>
/// This represents the factory entity for <c>DbContext</c>.
/// </summary>
public class DbContextFactory<TContext> : IDbContextFactory where TContext : DbC... | mit | C# |
ef9820745c15b4d5d13804c5f393608fccdac38d | fix converter | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Converters/GuardianPointsStringConverter.cs | TCC.Core/Converters/GuardianPointsStringConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace TCC.Converters
{
class GuardianPointsStringConverter : IValueConverter
{
public object Convert(object value, Type targetT... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace TCC.Converters
{
class GuardianPointsStringConverter : IValueConverter
{
public object Convert(object value, Type targetT... | mit | C# |
f79d3365eae76939ed502f81bff596ae0daede10 | resolve #389 | rollbar/Rollbar.NET | UnitTest.Rollbar/AccessTokenQueuesMetadataFixture.cs | UnitTest.Rollbar/AccessTokenQueuesMetadataFixture.cs | namespace UnitTest.Rollbar
{
using global::Rollbar;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
/// <summary>
/// Defines test class AccessTokenQueuesMetadataFixture.
/// </summary>
[TestClass]
[TestCategory(nameof(AccessTokenQueuesMetadataFixture))]
public cl... | namespace UnitTest.Rollbar
{
using global::Rollbar;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
/// <summary>
/// Defines test class AccessTokenQueuesMetadataFixture.
/// </summary>
[TestClass]
[TestCategory(nameof(AccessTokenQueuesMetadataFixture))]
public cl... | mit | C# |
fc459071868ec616ac50ec31d7d3180518ce9adf | Put back to match nhibernate in svn. | lingxyd/fluent-nhibernate,lingxyd/fluent-nhibernate,oceanho/fluent-nhibernate,oceanho/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,owerkop/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,bogdan7/nhibernate,MiguelMadero/fluent-nhibernate,hzhgis/ss,chester89/fluent-nhibernate,narnau/fluent-nhibernate,bogdan7... | src/FluentNHibernate.Framework/SessionSource.cs | src/FluentNHibernate.Framework/SessionSource.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
namespace FluentNHibernate.Framework
{
public interface ISessionSource
{
ISession CreateSession();
void BuildSchema();
Persiste... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Dialect;
namespace FluentNHibernate.Framework
{
public interface ISessionSource
{
ISession CreateSession();
void Build... | bsd-3-clause | C# |
4a1a06c4369e25b5fb59ec3dbeb505bdc3bfaa2f | add new mwthods 9jio | Nahalius/testo,Nahalius/testo | DataTypes/Methods/Methods/ConsoleApplication1/MethodsShort.cs | DataTypes/Methods/Methods/ConsoleApplication1/MethodsShort.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class MethodsShort
{
static void Main(string[] args)
{
var number = 5;
string text = "some text"; //String.Format("Hello {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class MethodsShort
{
static void Main(string[] args)
{
InputData();
OutputData();
}
static void InputDat... | mit | C# |
9d8b4782a68c1718b463db8cc2f9adc1d3cf70cb | remove array | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string[] address_1 { get; se... | apache-2.0 | C# |
0454a8e109cbafeae2b6cd98e0d107038de00e9c | Remove [NonSerialized] attribute. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Shared/Exceptions/MagickException.cs | src/Magick.NET/Shared/Exceptions/MagickException.cs | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (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.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (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.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
c14a74f4e0871ddb4f09916d27b3e75b40275b2a | Add default TryConvertFromString to test converter | cemdervis/SharpConfig | Tests/CustomConverterTest.cs | Tests/CustomConverterTest.cs | // Copyright (c) 2013-2018 Cemalettin Dervis, MIT License.
// https://github.com/cemdervis/SharpConfig
using System;
using SharpConfig;
using NUnit.Framework;
namespace Tests
{
class Person
{
public string Name { get; set; }
public int Age { get; set; }
}
class PersonStringConverter : TypeStringConv... | // Copyright (c) 2013-2018 Cemalettin Dervis, MIT License.
// https://github.com/cemdervis/SharpConfig
using System;
using SharpConfig;
using NUnit.Framework;
namespace Tests
{
class Person
{
public string Name { get; set; }
public int Age { get; set; }
}
class PersonStringConverter : TypeStringConv... | mit | C# |
49e35332ea39edb95399f40fca54befeeb81bb48 | Add missing tests. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/app.tests/WebApi/HelloWorldControllerTest.cs | test/app.tests/WebApi/HelloWorldControllerTest.cs | using System.Threading.Tasks;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Xunit;
using Moq;
using FluentAssertions;
using HelloWorldApp.WebApi.Actions;
using HelloWorldApp.WebApi.Messages;
using HelloWorldApp.WebApi;
namespace HelloWorldApp.Test
{
public class HelloWorldControllerTest
{
[Fa... | using System.Threading.Tasks;
using System.Net;
using Microsoft.AspNetCore.Mvc;
using Xunit;
using Moq;
using FluentAssertions;
using HelloWorldApp.WebApi.Actions;
using HelloWorldApp.WebApi.Messages;
using HelloWorldApp.WebApi;
namespace HelloWorldApp.Test
{
public class HelloWorldControllerTest
{
[Fa... | mit | C# |
15d2b14e7de89972b7b787baf8a1df9c5507a5eb | remove unused param | volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity | src/Serenity.Net.Core/ComponentModel/Extensibility/DefaultTypeSource.cs | src/Serenity.Net.Core/ComponentModel/Extensibility/DefaultTypeSource.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Serenity.Abstractions
{
/// <summary>
/// Default implementation for a type source
/// </summary>
public class DefaultTypeSource : ITypeSource
{
private readonly IEnumerable<As... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Serenity.Abstractions
{
/// <summary>
/// Default implementation for a type source
/// </summary>
public class DefaultTypeSource : ITypeSource
{
private readonly IEnumerable<As... | mit | C# |
a05871afba9749b9c9b87220fb837a1ef4a8c561 | make sure view renders partial interface | tkirill/elasticsearch-net,elastic/elasticsearch-net,robertlyson/elasticsearch-net,adam-mccoy/elasticsearch-net,LeoYao/elasticsearch-net,ststeiger/elasticsearch-net,DavidSSL/elasticsearch-net,azubanov/elasticsearch-net,SeanKilleen/elasticsearch-net,UdiBen/elasticsearch-net,abibell/elasticsearch-net,UdiBen/elasticsearch-... | src/CodeGeneration/CodeGeneration.LowLevelClient/Views/IElasticsearchClient.Generated.cshtml | src/CodeGeneration/CodeGeneration.LowLevelClient/Views/IElasticsearchClient.Generated.cshtml | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net.Connection;
///Generated File Please Do Not Edit Manually
namespace Elasticsearch.Net
{
///<summary>
///Raw operations with elasticsearch
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net.Connection;
///Generated File Please Do Not Edit Manually
namespace Elasticsearch.Net
{
///<summary>
///Raw operations with elasticsearch
... | apache-2.0 | C# |
51e946e81892111970604dfef8b4df520ac91cb9 | Add Epsilon within Within in TestKitSampleTest.cs | simonlaroche/akka.net,simonlaroche/akka.net | docs/examples/DocsExamples/Testkit/TestKitSampleTest.cs | docs/examples/DocsExamples/Testkit/TestKitSampleTest.cs | using System;
using Akka.Actor;
using Akka.TestKit.Xunit2;
using Xunit;
namespace DocsExamples.Testkit
{
public class SomeActor : ReceiveActor
{
IActorRef target = null;
public SomeActor()
{
Receive<string>(s => s.Equals("hello"), (message) => {
Sender.Tel... | using System;
using Akka.Actor;
using Akka.TestKit.Xunit2;
using Xunit;
namespace DocsExamples.Testkit
{
public class SomeActor : ReceiveActor
{
IActorRef target = null;
public SomeActor()
{
Receive<string>(s => s.Equals("hello"), (message) => {
Sender.Tel... | apache-2.0 | C# |
09f2db031c845f021f02a93910afb47bfac12d98 | Update PlayFabCommon.Build.cs (#539) | PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator | targets/UnrealMarketplacePlugin/source/PlayFab/Source/PlayFabCommon/PlayFabCommon.Build.cs | targets/UnrealMarketplacePlugin/source/PlayFab/Source/PlayFabCommon/PlayFabCommon.Build.cs | //////////////////////////////////////////////////////
// Copyright (C) Microsoft. 2018. All rights reserved.
//////////////////////////////////////////////////////
using UnrealBuildTool;
using System.IO;
public class PlayFabCommon : ModuleRules
{
public PlayFabCommon(ReadOnlyTargetRules Target) : base(Target)
... | //////////////////////////////////////////////////////
// Copyright (C) Microsoft. 2018. All rights reserved.
//////////////////////////////////////////////////////
using UnrealBuildTool;
using System.IO;
public class PlayFabCommon : ModuleRules
{
public PlayFabCommon(ReadOnlyTargetRules Target) : base(Target)
... | apache-2.0 | C# |
daeab0d7d333515399afe3e881949a9734566dd1 | Leverage query syntax for cleaner Spawn implementation | weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq | src/Core/Sys/SysQuery.cs | src/Core/Sys/SysQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | apache-2.0 | C# |
45348c2f7de3d784c6898ae31120f74e4a9d072a | add WhereIf single parameters. useful in mongoDB | SorenZ/Alamut | src/Alamut.Data/Linq/QueryExtensions.cs | src/Alamut.Data/Linq/QueryExtensions.cs | using System;
using System.Linq;
using System.Linq.Expressions;
namespace Alamut.Data.Linq
{
/// <summary>
/// IQueryable Helpers
/// </summary>
public static class QueryExtensions
{
/// <summary>
/// 'Select' by condition before query executed in provider.
/// </summary>
... | using System;
using System.Linq;
using System.Linq.Expressions;
namespace Alamut.Data.Linq
{
/// <summary>
/// IQueryable Helpers
/// </summary>
public static class QueryExtensions
{
/// <summary>
/// 'Select' by condition before query executed in provider.
/// </summary>
... | mit | C# |
0bb5a612a7a60bb835d6c3cb83a338728d9fb853 | Add description to AssemblyInfo | EnableSoftware/Enable.Common.Argument | src/Argument/Properties/AssemblyInfo.cs | src/Argument/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Enable.Common.Argument")]
[assembly: AssemblyDescription("Enable.Common.Argument")]
[assembly: AssemblyCompany("Enable · enable.com")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: ComVisible(false)]
... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Enable.Common.Argument")]
[assembly: AssemblyCompany("Enable · enable.com")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyVersion(... | mit | C# |
79837ded7ed3c80ab950851b49ea3c45661e5e41 | use AppDomain root to locate the logs directory | mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket | mainline/Common/LogUtil.cs | mainline/Common/LogUtil.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using log4net.Config;
namespace SuperSocket.Common
{
public class LogUtil
{
private static ILogger m_logger;
public static void Setup()
{
Setup(@"Config\log4net.config");
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using log4net.Config;
namespace SuperSocket.Common
{
public class LogUtil
{
private static ILogger m_logger;
public static void Setup()
{
Setup(@"Config\log4net.config");
... | apache-2.0 | C# |
42f2bc18e959f5fa1ebe2e3f93eb6d5e805a0206 | Update run test endpoint name | DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,nabychan/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,jtbm37/omnisharp-roslyn,nabychan/omnisharp-roslyn,jtbm37/omnisharp-roslyn | src/OmniSharp.Abstractions/Endpoints.cs | src/OmniSharp.Abstractions/Endpoints.cs | using System.Threading.Tasks;
using OmniSharp.Mef;
namespace OmniSharp
{
public interface RequestHandler<TRequest, TResponse> : IRequestHandler
{
Task<TResponse> Handle(TRequest request);
}
public interface IAggregateResponse
{
IAggregateResponse Merge(IAggregateResponse response);... | using System.Threading.Tasks;
using OmniSharp.Mef;
namespace OmniSharp
{
public interface RequestHandler<TRequest, TResponse> : IRequestHandler
{
Task<TResponse> Handle(TRequest request);
}
public interface IAggregateResponse
{
IAggregateResponse Merge(IAggregateResponse response);... | mit | C# |
14a52479a2d23cd94fb0e0556eb5889e57e4963c | Use LD_TRUST_TOKEN as Mercurial password (#129) | sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge | src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs | src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs | // Copyright (c) 2016-2018 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using SIL.Network;
using LfMerge.Core.Settings;
using SIL.LCModel;
using System.Web;
namespace LfMerge.Core.Actions.Infrastructure
{
public class ChorusHelp... | // Copyright (c) 2016-2018 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using Autofac;
using SIL.Network;
using LfMerge.Core.Settings;
using SIL.LCModel;
using System.Web;
namespace LfMerge.Core.Actions.Infrastructure
{
public class ChorusHelp... | mit | C# |
4b17c3f40c7f9839573384dfcaab854412b1c09f | Set version to 0.7. | strayfatty/ShowFeed,strayfatty/ShowFeed | src/ShowFeed/Properties/AssemblyInfo.cs | src/ShowFeed/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sh... | mit | C# |
9b4ee980862313ecc7325b44dc3cb146a1cc22b0 | build fix for ecng update | StockSharp/StockSharp | Algo/Storages/Binary/BoardStateBinarySerializer.cs | Algo/Storages/Binary/BoardStateBinarySerializer.cs | namespace StockSharp.Algo.Storages.Binary
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Ecng.Common;
using Ecng.Collections;
using StockSharp.Localization;
using StockSharp.Messages;
class BoardStateMetaInfo : BinaryMetaInfo
{
public BoardStateMetaInfo(DateT... | namespace StockSharp.Algo.Storages.Binary
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Ecng.Collections;
using Ecng.Serialization;
using StockSharp.Localization;
using StockSharp.Messages;
class BoardStateMetaInfo : BinaryMetaInfo
{
public BoardStateMetaInf... | apache-2.0 | C# |
1627bd0c18b18cf1042116e327b44a6a99e9ac76 | Fix null check oversight in getting localized text | uulltt/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Localization/LocalizationManager.cs | Assets/Scripts/Localization/LocalizationManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class LocalizationManager : MonoBehaviour
{
private const string NotFoundString = "LOCALIZED TEXT NOT FOUND";
public static LocalizationManager instance;
[SerializeField]
private string forceLanguage;
private... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class LocalizationManager : MonoBehaviour
{
private const string NotFoundString = "LOCALIZED TEXT NOT FOUND";
public static LocalizationManager instance;
[SerializeField]
private string forceLanguage;
private... | mit | C# |
469f6a2188382c41c5f8e8a8eac72546d10dc3a2 | Fix compilation strategy | binore/linterhub-cli,repometric/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli | src/cli/Strategy/CatalogStrategy.cs | src/cli/Strategy/CatalogStrategy.cs | namespace Linterhub.Cli.Strategy
{
using System;
using System.Linq;
using Runtime;
using Engine;
using Engine.Exceptions;
using Engine.Extensions;
public class CatalogStrategy : IStrategy
{
public object Run(RunContext context, LinterFactory factory, LogManager log)
{
... | namespace Linterhub.Cli.Strategy
{
using System;
using System.Linq;
using Runtime;
using Engine;
using Engine.Exceptions;
using Engine.Extensions;
public class CatalogStrategy : IStrategy
{
public object Run(RunContext context, LinterFactory factory, LogManager log)
{
... | mit | C# |
66fafb301bf72c15c39a1fc72678a4ba9556888d | Switch to version 1.2.5 | AtwooTM/Zebus,biarne-a/Zebus,Abc-Arbitrage/Zebus,rbouallou/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.5")]
[assembly: AssemblyFileVersion("1.2.5")]
[assembly: AssemblyInformationalVersion("1.2.5")]
| using System.Reflection;
[assembly: AssemblyVersion("1.2.4")]
[assembly: AssemblyFileVersion("1.2.4")]
[assembly: AssemblyInformationalVersion("1.2.4")]
| mit | C# |
1d096c35d1cf8e8c25896e055c3f678fd9d1ed9d | Remove unused timer | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Operations/Publisher.cs | src/RawRabbit/Operations/Publisher.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
using RawRabbit.Common;
using RawRabbit.Configuration.Publish;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Framing;
using RawRabbit.Common;
using RawRabbit.Configuration.Publish;
using RawRabbit.Context;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.... | mit | C# |
0485d51b6c740092c0e01fb30f16a84695d9e16b | Tidy up comments | VladMukhitdinovLic/i18n,sms1991/i18n | src/i18n/Abstract/ITextLocalizer.cs | src/i18n/Abstract/ITextLocalizer.cs | namespace i18n
{
using System.Collections.Concurrent;
/// <summary>
/// Defines a service for retrieving localized text from a data source.
/// </summary>
public interface ITextLocalizer
{
/// <summary>
/// Obtains dictionary of language tags (key = langtag string, value = Lan... | namespace i18n
{
using System.Collections.Concurrent;
/// <summary>
/// Defines a service for retrieving localized text from a data source.
/// </summary>
public interface ITextLocalizer
{
/// <summary>
/// Obtains dictionary of language tags (key = langtag string, value = Lan... | mit | C# |
86817f3a70bcaa002a9cbd8aef4c5e35fd9e3df1 | Update Program.cs | medhajoshi27/GitTest1 | ConsoleApplication1/ConsoleApplication1/Program.cs | ConsoleApplication1/ConsoleApplication1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//Code was Edited in Git Hub
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
50f650c47e3f6f25a54a34e217b76e7c6908884e | Fix Travis CI / AppVeyor | lecaillon/Evolve | test/Evolve.Test.Utilities/PostgreSqlDockerContainer.cs | test/Evolve.Test.Utilities/PostgreSqlDockerContainer.cs | using System.Runtime.InteropServices;
namespace Evolve.Test.Utilities
{
public class PostgreSqlDockerContainer : IDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "5432";
public string HostPort => RuntimeInfo... | using System.Runtime.InteropServices;
namespace Evolve.Test.Utilities
{
public class PostgreSqlDockerContainer : IDockerContainer
{
private DockerContainer _container;
public string Id => _container.Id;
public string ExposedPort => "5432";
public string HostPort => RuntimeInfo... | mit | C# |
1b8b5f95376013b35a4931818fb0d5107609cbf6 | test suite: modifiers + minor docs | stephenlautier/.netcore-labs | experimental/Slabs.Experimental.Console/TestSuite.cs | experimental/Slabs.Experimental.Console/TestSuite.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Slabs.Experimental.ConsoleClient
{
public class TestSuiteBuilder
{
private readonly string _name;
private List<List<TestEntity>> TestGroups { get; }
private List<TestEntity> _currentParallelGroup;
public TestSuiteBuild... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Slabs.Experimental.ConsoleClient
{
internal class TestSuiteBuilder
{
private readonly string _name;
private List<List<TestEntity>> TestGroups { get; }
private List<TestEntity> _currentParallelGroup;
public TestSuiteBui... | mit | C# |
d62a05ac10f21a4488bf051c51dcc956327b5abb | add performance log type (#10616) | valfirst/selenium,titusfortner/selenium,HtmlUnit/selenium,HtmlUnit/selenium,titusfortner/selenium,titusfortner/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,joshmgrant/selenium,valfirst/selenium,titusfortner/selenium,valfirst/selenium,joshmgrant/selenium,SeleniumHQ/selenium,valfirst/selenium,HtmlUnit/selenium,joshmg... | dotnet/src/webdriver/LogType.cs | dotnet/src/webdriver/LogType.cs | // <copyright file="LogType.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you ... | // <copyright file="LogType.cs" company="WebDriver Committers">
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you ... | apache-2.0 | C# |
19ddd2ad3bbfe56635ab1579e941e05db7498145 | Update style.csss | troke12/troke12.github.com,troke12/troke12.github.com,troke12/troke12.github.com | style.cs | style.cs | /*====================================================*/
/* Copyright by Troke */
/*====================================================*/
body
{
background-color: #FFFF00;
background: url(https://github.com/troke12/trokewebsite/blob/master/images/The-Night-Sky-Wallpaper.jpg?raw=true) top center no... | /*====================================================*/
/* Copyright by Troke */
/*====================================================*/
body
{
background-color: #FFFF00;
background: url(images/The-Night-Sky-Wallpaper.jpg) top center no-repeat;
background-size: cover;
color: #000000;
fon... | mit | C# |
7d03fb84169f9965387ec058e0d00d4e72cceaee | Add xmldoc to RomanisableString class | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework/Localisation/RomanisableString.cs | osu.Framework/Localisation/RomanisableString.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Configuration;
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A string that has a romanised fallback to allow a ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
namespace osu.Framework.Localisation
{
/// <summary>
/// A string that has variations in Unicode and Romanised form.
/// </summary>
pub... | mit | C# |
f23dba05d700493772903e93e5971b4e4a106b8c | Add Render to IRuntimeElement interface, useful for lower level engines that expect explicit draw calls | craigomatic/IMML | src/Imml.Runtime/IRuntimeElement.cs | src/Imml.Runtime/IRuntimeElement.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Imml.Runtime
{
public interface IRuntimeElement<T> : IDisposable
{
/// <summary>
/// Gets the parent of this element
/// </summary>
ImmlElement Parent { get; }
T ... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Imml.Runtime
{
public interface IRuntimeElement<T> : IDisposable
{
/// <summary>
/// Gets the parent of this element
/// </summary>
ImmlElement Parent { get; }
T ... | mit | C# |
134ac2dd369c6ce20bc02facb0ee6b2baf0daf27 | Update Assembly Infos | Dexiom/Dexiom.EPPlusExporter | Dexiom.EPPlusExporter/Properties/AssemblyInfo.cs | Dexiom.EPPlusExporter/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("De... | 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("De... | mit | C# |
11710d09fb74e6d863bcd13532ac77b90f48e9c2 | Add an RS5 prerelease build | File-New-Project/EarTrumpet | EarTrumpet/Extensions/OperatingSystemExtensions.cs | EarTrumpet/Extensions/OperatingSystemExtensions.cs | using System;
namespace EarTrumpet.Extensions
{
public enum OSVersions : int
{
RS3 = 16299,
RS4 = 17134,
RS5_Prerelease = 17723,
}
public static class OperatingSystemExtensions
{
public static bool IsAtLeast(this OperatingSystem os, OSVersions version)
{
... | using System;
namespace EarTrumpet.Extensions
{
public enum OSVersions : int
{
RS3 = 16299,
RS4 = 17134,
}
public static class OperatingSystemExtensions
{
public static bool IsAtLeast(this OperatingSystem os, OSVersions version)
{
return os.Version.Buil... | mit | C# |
b8e4573c134f70dae72015595cab4719755f1a8c | Add documentation | David-Desmaisons/EasyActor | EasyActor/DispatcherManagers/IDispatcherManager.cs | EasyActor/DispatcherManagers/IDispatcherManager.cs | using System;
using Concurrent;
using EasyActor.Options;
namespace EasyActor.DispatcherManagers
{
/// <summary>
/// Dispatcher manager
/// </summary>
public interface IDispatcherManager : IAsyncDisposable
{
/// <summary>
/// true if the Dispatcher should be released
/// </s... | using System;
using Concurrent;
using EasyActor.Options;
namespace EasyActor.DispatcherManagers
{
public interface IDispatcherManager : IAsyncDisposable
{
bool DisposeDispatcher { get; }
ActorFactorType Type { get; }
ICancellableDispatcher GetDispatcher();
}
}
| mit | C# |
56b9acfd0daa405e872bda30adbbae1e51626a8e | Set domain on cookie to match ARR v3 | envoyat/Envoy.ArrCookieRestorer | Envoy.ArrCookieRestorer/ArrCookieRestorerModule.cs | Envoy.ArrCookieRestorer/ArrCookieRestorerModule.cs | using System.Configuration;
using System.Text.RegularExpressions;
using System.Web;
namespace Envoy.ArrCookieRestorer
{
// Concept based on http://improve.dk/blog/2009/12/09/fixing-flash-bugs-by-intercepting-iis-application-request-routing-cookies
public sealed class ArrCookieRestorerModule : IHttpModule
{
reado... | using System.Configuration;
using System.Text.RegularExpressions;
using System.Web;
namespace Envoy.ArrCookieRestorer
{
// Concept based on http://improve.dk/blog/2009/12/09/fixing-flash-bugs-by-intercepting-iis-application-request-routing-cookies
public sealed class ArrCookieRestorerModule : IHttpModule
{
reado... | mit | C# |
a89f16ab70c7d8129e7bebf28ca95a9bd31cde46 | Add Unit tests for IEnumerable<BranchTree>.GetAllChildren() | WolfVR/git-tfs,allansson/git-tfs,kgybels/git-tfs,jeremy-sylvis-tmg/git-tfs,codemerlin/git-tfs,allansson/git-tfs,bleissem/git-tfs,TheoAndersen/git-tfs,kgybels/git-tfs,bleissem/git-tfs,hazzik/git-tfs,codemerlin/git-tfs,NathanLBCooper/git-tfs,git-tfs/git-tfs,modulexcite/git-tfs,pmiossec/git-tfs,NathanLBCooper/git-tfs,jere... | GitTfsTest/Core/TfsInterop/BranchExtensionsTest.cs | GitTfsTest/Core/TfsInterop/BranchExtensionsTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Rhino.Mocks;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
namespace Sep.Git.Tfs.Test.Core.TfsInterop
{
public class BranchExtensionsTest
{
[Fact]
public void AllChildrenAlwaysReturnsAnEnumerable()
{
... | using System;
using System.Collections.Generic;
using Sep.Git.Tfs.Core.TfsInterop;
using Xunit;
namespace Sep.Git.Tfs.Test.Core.TfsInterop
{
public class BranchExtensionsTest
{
[Fact]
public void AllChildrenAlwaysReturnsAnEnumerable()
{
IEnumerable<BranchTree> result = ((Br... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.