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 |
|---|---|---|---|---|---|---|---|---|
c33524b61bed9a230168668c1314ba4b00476232 | 微调代码。 :wedding: | Zongsoft/Zongsoft.Data | tests/Common/Expressions/InsertStatementBuilderTest.cs | tests/Common/Expressions/InsertStatementBuilderTest.cs | using System;
using System.Linq;
using System.Collections.Generic;
using Zongsoft.Data.Common;
using Zongsoft.Data.Common.Expressions;
using Zongsoft.Data.Tests.Models;
using Xunit;
namespace Zongsoft.Data.Tests
{
public class InsertStatementBuilderTest
{
#region 常量定义
private const string APPLICATION_NAME = "... | using System;
using System.Linq;
using System.Collections.Generic;
using Zongsoft.Data.Common;
using Zongsoft.Data.Common.Expressions;
using Zongsoft.Data.Tests.Models;
using Xunit;
namespace Zongsoft.Data.Tests
{
public class InsertStatementBuilderTest
{
#region 常量定义
private const string APPLICATION_NAME = "... | lgpl-2.1 | C# |
aea0e7d5f61a5fa662586a0e51209a4fc54a3c09 | Add an option to enable handling of help on empty invocations | mrahhal/Konsola | src/Konsola/Parser/ContextOptionsAttribute.cs | src/Konsola/Parser/ContextOptionsAttribute.cs | using System;
namespace Konsola.Parser
{
/// <summary>
/// Configures the options when parsing args and binding them to a context.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ContextOptionsAttribute : Attribute
{
/// <summary>
/// Gets or se... | using System;
namespace Konsola.Parser
{
/// <summary>
/// Configures the options when parsing args and binding them to a context.
/// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public class ContextOptionsAttribute : Attribute
{
/// <summary>
/// Gets or se... | mit | C# |
936a656723b678626010bd034ff192d31d424153 | Remove Lazy | shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,jasonmalinowski/rosl... | src/Workspaces/Core/Portable/Log/EtwLogger.cs | src/Workspaces/Core/Portable/Log/EtwLogger.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 disable
using System;
using System.Diagnostics.Tracing;
using System.Threading;
using Microsoft.CodeAnal... | // 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 disable
using System;
using System.Diagnostics.Tracing;
using System.Threading;
using Microsoft.CodeAnal... | mit | C# |
2c6156a149bb7ef0e6f9ea6c68ead7b0c8145340 | Add missing test | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.Blazor.E2ETest/Tests/MonoSanityTest.cs | test/Microsoft.Blazor.E2ETest/Tests/MonoSanityTest.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.E2ETest.Infrastructure;
using OpenQA.Selenium;
using Xunit;
namespace Microsoft.Blazor.E2ETest.Tests
{
public class MonoSan... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Blazor.E2ETest.Infrastructure;
using OpenQA.Selenium;
using Xunit;
namespace Microsoft.Blazor.E2ETest.Tests
{
public class MonoSan... | apache-2.0 | C# |
1d27825897814d195fd13bfaf6ae57c58605486e | remove reference to `IResolver` | wangkanai/Detection | src/Detection.Device/src/Abstractions/IDeviceResolver.cs | src/Detection.Device/src/Abstractions/IDeviceResolver.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
namespace Wangkanai.Detection
{
/// <summary>
/// Get device resolver to generate the device result
/// </summary>
public interface IDeviceResolver// : IRes... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
namespace Wangkanai.Detection
{
/// <summary>
/// Get device resolver to generate the device result
/// </summary>
public interface IDeviceResolver : IResol... | apache-2.0 | C# |
5be5ab90180abb1f01418dc96f7b7021fc3ef030 | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728 | OneGet/nuget,jmezach/NuGet2,jholovacs/NuGet,chocolatey/nuget-chocolatey,rikoe/nuget,xoofx/NuGet,indsoft/NuGet2,chocolatey/nuget-chocolatey,alluran/node.net,xoofx/NuGet,kumavis/NuGet,rikoe/nuget,xoofx/NuGet,chester89/nugetApi,zskullz/nuget,pratikkagda/nuget,akrisiun/NuGet,pratikkagda/nuget,alluran/node.net,jmezach/NuGet... | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cu... | apache-2.0 | C# |
8805bed3b010fcc14cbd5daf76808e10cd416067 | Update BoundsQuadraticBezier.cs | Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/Bounds/Shapes/BoundsQuadraticBezier.cs | src/Core2D/Editor/Bounds/Shapes/BoundsQuadraticBezier.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsQuadraticBezier... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsQuadraticBezier... | mit | C# |
f3c073929aa23cd85a258cbff8634923f84156f7 | set individual destination or source multiplicity | GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack | MagicdrawMigrator/Correctors/FixAssociations.cs | MagicdrawMigrator/Correctors/FixAssociations.cs | using System.Collections.Generic;
using System.Linq;
using System;
using EAAddinFramework.Utilities;
using TSF_EA =TSF.UmlToolingFramework.Wrappers.EA;
using UML = TSF.UmlToolingFramework.UML;
using System.Diagnostics;
using System.Xml;
namespace MagicdrawMigrator
{
/// <summary>
/// Fix the (Unspecified)..(Unspeci... | using System.Collections.Generic;
using System.Linq;
using System;
using EAAddinFramework.Utilities;
using TSF_EA =TSF.UmlToolingFramework.Wrappers.EA;
using UML = TSF.UmlToolingFramework.UML;
using System.Diagnostics;
using System.Xml;
namespace MagicdrawMigrator
{
/// <summary>
/// Check if association between ac... | bsd-2-clause | C# |
3777618702d867690db36cd3c10a2b8e74668407 | Update PlatformerPlayer.cs | jhocking/uia-2e,jhocking/uia-2e,jhocking/uia-2e,jhocking/uia-2e | ch06/Assets/Scripts/PlatformerPlayer.cs | ch06/Assets/Scripts/PlatformerPlayer.cs | using UnityEngine;
using System.Collections;
public class PlatformerPlayer : MonoBehaviour {
public float speed = 4.5f;
public float jumpForce = 12.0f;
private BoxCollider2D _box;
private Rigidbody2D _body;
private Animator _anim;
// Use this for initialization
void Start() {
_box = GetComponent<BoxCollide... | using UnityEngine;
using System.Collections;
public class PlatformerPlayer : MonoBehaviour {
public float speed = 250.0f;
public float jumpForce = 12.0f;
private BoxCollider2D _box;
private Rigidbody2D _body;
private Animator _anim;
// Use this for initialization
void Start() {
_box = GetComponent<BoxColli... | mit | C# |
4f2b161be78f6e58cd2a9a489fd66a402577f418 | change version | gaochundong/Cowboy | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | mit | C# |
4d3caeb663c66095a249efd9a8fed428b7e0f2ab | Change ModelBuilder to use old EntityFrameworkCore RC1 naming conventions | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | src/Dangl.WebDocumentation/Models/ApplicationDbContext.cs | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
... | using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace Dangl.WebDocumentation.Models
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions op... | mit | C# |
674efe1cb2507f1692244f238fb196acab7eaa9d | Handle null values | amroel/fluentmigrator,igitur/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,amroel/fluentmigrator,schambers/fluentmigrator,schambers/fluentmigrator,stsrki/fluentmigrator,eloekset/fluentmigrator,spaccabit/fluentmigrator,spaccabit/fluentmigrator,igitur/fluentmigrator,fluentmigrator/fluentmigrator,eloe... | src/FluentMigrator.Runner.Db2/Generators/Db2/Db2Quoter.cs | src/FluentMigrator.Runner.Db2/Generators/Db2/Db2Quoter.cs | #region License
// Copyright (c) 2018, Fluent Migrator Project
//
// 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 License
// Copyright (c) 2018, Fluent Migrator Project
//
// 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# |
bfc2caf2e0b1ccd8e9d510a2956963f1f6c859c2 | Add test for generic name collision on frontend | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript | src/WebApiTestApplication/Controllers/ThingyController.cs | src/WebApiTestApplication/Controllers/ThingyController.cs | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
public class Chain1<T>
{
public T Value { get; set; }
}
public class Chain1<T1, T2>
{
publi... | using System.Web.Http;
using Newtonsoft.Json;
namespace WebApiTestApplication.Controllers
{
public class MegaClass : AnotherClass
{
public int Something { get; set; }
}
public class Chain1<T1, T2>
{
public T1 Value11 { get; set; }
public T2 Value12 { get; set; }
}
... | mit | C# |
3b20501f63fd79d083a705990a023a21e574026a | fix test | IdentityModel/IdentityModel,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel2 | test/UnitTests/DiscoveryResponseTests.cs | test/UnitTests/DiscoveryResponseTests.cs | using System.IO;
using Microsoft.Extensions.PlatformAbstractions;
using Xunit;
using IdentityModel.Client;
using FluentAssertions;
namespace IdentityModel.UnitTests
{
public class DiscoveryResponseTests
{
string _document;
public DiscoveryResponseTests()
{
var fileName = P... | using System.IO;
using Microsoft.Extensions.PlatformAbstractions;
using Xunit;
using IdentityModel.Client;
using FluentAssertions;
namespace IdentityModel.UnitTests
{
public class DiscoveryResponseTests
{
string _document;
public DiscoveryResponseTests()
{
var fileName = P... | apache-2.0 | C# |
620798a3ed959386c1375249fc84457374e1d43c | update to newer style | haoyk/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,haoyk/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,IdentityServer/IdentityServer4.Samples,haoyk/IdentityServer4.Samples,haoyk/IdentityServer4.Samples | Quickstarts/6_AspNetIdentity/src/Api/Startup.cs | Quickstarts/6_AspNetIdentity/src/Api/Startup.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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.D... | // 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 Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.D... | apache-2.0 | C# |
b0f4405519571f76dc4670dae5d566d01d398917 | add slot routing explicitly | davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/... | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | apache-2.0 | C# |
71742f1eeb1c78f8d2ae312ffa085a9bb2eff4fa | update Bundles | csyntax/BlogSystem | Source/BlogSystem.Web/App_Start/BundleConfig.cs | Source/BlogSystem.Web/App_Start/BundleConfig.cs | namespace BlogSystem.Web
{
using System.Web.Optimization;
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
RegisterScripts(bundles);
... | namespace BlogSystem.Web
{
using System.Web.Optimization;
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
RegisterScripts(bundles);
... | mit | C# |
d637175bc3a62ec8e71ac8b5834ec939e155d614 | move default target definition to the correct place | adamralph/xbehave.net | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("build", () => RunAsync("dotnet", $"build --configuration Release --nologo --verbosity quiet")... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", $"b... | mit | C# |
ab9f92aed04fd95e236f192d6dcd0f8697594a19 | revert test | tparnell8/UntappedWidget,tparnell8/UntappedWidget | src/UntappedWidgetGenerator.Web/Views/Index/index.cshtml | src/UntappedWidgetGenerator.Web/Views/Index/index.cshtml | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<string>
@{
Layout = "Views/Shared/_Layout.cshtml";
}
<div id="target"></div>
@section styles{
<link rel="stylesheet" href="~/Content/jquery.UntappedWidget.min.css" />
}
@section scripts{
<script src="~/Scripts/jquery.UntappedWidget.js"></scr... | @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<string>
@{
Layout = "Views/Shared/_Layout.cshtml";
}
<div id="target">test commit</div>
@section styles{
<link rel="stylesheet" href="~/Content/jquery.UntappedWidget.min.css" />
}
@section scripts{
<script src="~/Scripts/jquery.UntappedWidge... | mit | C# |
0ba41af57388f7acf5a8908624a3defb64d4d37b | Update MongoUnitOfWorkFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Mongo/MongoUnitOfWorkFactory.cs | TIKSN.Core/Data/Mongo/MongoUnitOfWorkFactory.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace TIKSN.Data.Mongo
{
public class MongoUnitOfWorkFactory : IMongoUnitOfWorkFactory
{
private readonly IMongoClientProvider _mongoClientProvider;
private readonly IServiceP... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace TIKSN.Data.Mongo
{
public class MongoUnitOfWorkFactory : IMongoUnitOfWorkFactory
{
private readonly IMongoClientProvider _mongoClientProvider;
private readonly IServiceP... | mit | C# |
8f37ceefee23f9bb8c3ea2556b2f741234f66a0e | Add overloads to common.cake | fwinkelbauer/Bumpy | Source/common.cake | Source/common.cake | #tool vswhere
private const string ArtifactsDirectory = "../Artifacts";
void CleanArtifacts()
{
CleanDirectory(ArtifactsDirectory);
}
void StoreChocolatey(string nuspecPattern)
{
StoreChocolatey(GetFiles(nuspecPattern));
}
void StoreChocolatey(IEnumerable<FilePath> nuspecPaths)
{
var dir = $"{ArtifactsD... | #tool vswhere
private const string ArtifactsDirectory = "../Artifacts";
void CleanArtifacts()
{
CleanDirectory(ArtifactsDirectory);
}
void StoreChocolatey(FilePath nuspec)
{
var dir = $"{ArtifactsDirectory}/Chocolatey";
EnsureDirectoryExists(dir);
Information("Creating Chocolatey package in directory... | mit | C# |
744e64ca8a11364e236f5f9f2bc1694c4810cc36 | increment pre-release version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
f5d89a8db5e4794955d6a94980532e7c93ebbaaa | Fix potential reference after dispose. | wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,OronDF343/Avalonia,SuperJMN/Avalonia,kekekeks/Perspex,jazzay/Perspex,AvaloniaUI/Avalonia,kekekeks/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,danwalmsley/Perspex,OronDF343/Avalonia,jkoritzinsky/Avalonia,Super... | Windows/Perspex.Direct2D1/Media/GeometryImpl.cs | Windows/Perspex.Direct2D1/Media/GeometryImpl.cs | // -----------------------------------------------------------------------
// <copyright file="GeometryImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Direct... | // -----------------------------------------------------------------------
// <copyright file="GeometryImpl.cs" company="Steven Kirk">
// Copyright 2014 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.Direct... | mit | C# |
7947c6c6ff2a29760d944dfc10e19b43a3459dc6 | Fix supported enum check in type extentions. | dtretyakov/WindowsAzure,dtretyakov/WindowsAzure | WindowsAzure/Table/Extensions/TypeExtentions.cs | WindowsAzure/Table/Extensions/TypeExtentions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace WindowsAzure.Table.Extensions
{
internal static class TypeExtentions
{
private static readonly HashSet<Type> _supportedEntityPropertyTypes = new HashSet<Type>
{
typeof(long),
typeof(int),... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace WindowsAzure.Table.Extensions
{
internal static class TypeExtentions
{
private static readonly HashSet<Type> _supportedEntityPropertyTypes = new HashSet<Type>
{
typeof(long),
typeof(int),... | mit | C# |
49fe92f745544e4f03cc12f5da4a47bb1fccddc4 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
8b63c1c9da48719393e888457cb6d5dbf17997b9 | Fix load state. | Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x | unity/Runtime/IronSource/Internal/IronSourceRewardedAd.cs | unity/Runtime/IronSource/Internal/IronSourceRewardedAd.cs | using System.Threading.Tasks;
using UnityEngine.Assertions;
namespace EE.Internal {
internal class IronSourceRewardedAd
: ObserverManager<IRewardedAdObserver>, IRewardedAd {
private readonly IAsyncHelper<IRewardedAdResult> _displayer;
private readonly IronSource _plugin;
private re... | using System.Threading.Tasks;
using UnityEngine.Assertions;
namespace EE.Internal {
internal class IronSourceRewardedAd
: ObserverManager<IRewardedAdObserver>, IRewardedAd {
private readonly IAsyncHelper<IRewardedAdResult> _displayer;
private readonly IronSource _plugin;
private re... | mit | C# |
88e0178f01f3180b6ad5142dab51c8574c8a073e | Fix annotations loader for tests | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/test/src/AnnotationsLoader.cs | resharper/resharper-unity/test/src/AnnotationsLoader.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
[ShellComponent]
public c... | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
[ShellComponent]
public c... | apache-2.0 | C# |
cf4dba46b2b91ac70df3334fd633c8d3c782ef6d | Improve the documentation | ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Android/AndroidGameActivity.cs | osu.Framework.Android/AndroidGameActivity.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 Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
namespace osu.Framework.Android
{
public abstract class Andr... | // 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 Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
namespace osu.Framework.Android
{
public abstract class Andr... | mit | C# |
2ba6a33184d22dee752ac63df5ef24c42d50e4aa | Update FindCellsWithSpecificStyle.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell... | Examples/CSharp/Articles/FindCellsWithSpecificStyle.cs | Examples/CSharp/Articles/FindCellsWithSpecificStyle.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class FindCellsWithSpecificStyle
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class FindCellsWithSpecificStyle
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Method... | mit | C# |
366e1c10cd434dde191b46d80ef02976da2eb904 | Add parameterless constructor | Gibe/Gibe.DittoProcessors | Gibe.DittoProcessors/Processors/LinkPickerAttribute.cs | Gibe.DittoProcessors/Processors/LinkPickerAttribute.cs | using System.Web.Mvc;
using Gibe.DittoProcessors.Processors.Models;
using Gibe.UmbracoWrappers;
using Newtonsoft.Json;
using Our.Umbraco.Ditto;
namespace Gibe.DittoProcessors.Processors
{
public class LinkPickerAttribute : DittoProcessorAttribute
{
private readonly IUmbracoWrapper _umbracoWrapper;
public LinkP... | using Gibe.DittoProcessors.Processors.Models;
using Gibe.UmbracoWrappers;
using Newtonsoft.Json;
using Our.Umbraco.Ditto;
namespace Gibe.DittoProcessors.Processors
{
public class LinkPickerAttribute : DittoProcessorAttribute
{
private readonly IUmbracoWrapper _umbracoWrapper;
public LinkPickerAttribute(IUmbrac... | mit | C# |
a8cd86bdf7648f0ab9c73f3dd249ae77d1090f48 | fix schedule access (again) | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Controllers/Schedule/ShowScheduleController.cs | Joinrpg/Controllers/Schedule/ShowScheduleController.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using JoinRpg.Data.Interfaces;
using JoinRpg.Helpers;
using JoinRpg.Services.Interfaces;
using JoinRpg.Web.Models;
using JoinRpg.Web.Models.Schedules;
using JoinRpg.WebPortal.Managers.Schedule;
namespace JoinRpg.We... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using JoinRpg.Data.Interfaces;
using JoinRpg.Helpers;
using JoinRpg.Services.Interfaces;
using JoinRpg.Web.Models;
using JoinRpg.Web.Models.Schedules;
using JoinRpg.WebPortal.Managers.Schedule;
namespace JoinRpg.We... | mit | C# |
fbbec1db8eb65afc89d1bb662a0ab15ecb1c070c | Fix to close returned XmlReader of ReadSubtree. | furesoft/NBug,Stef569/NBug,soygul/NBug,JuliusSweetland/NBug | NBug/Core/Util/Serialization/SerializableDictionary.cs | NBug/Core/Util/Serialization/SerializableDictionary.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializableDictionary.cs" company="NBusy Project">
// Copyright (c) 2010 - 2011 Teoman Soygul. Licensed under LGPLv3 (http://www.gnu.org/licenses/lgpl.html).
// </copyright>... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializableDictionary.cs" company="NBusy Project">
// Copyright (c) 2010 - 2011 Teoman Soygul. Licensed under LGPLv3 (http://www.gnu.org/licenses/lgpl.html).
// </copyright>... | mit | C# |
b6afea737362c3e2b756f9f56134193f87981ba3 | Update agreement view to render partial and have signed info at top | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Web/Views/EmployerAgreement/View.cshtml | src/SFA.DAS.EAS.Web/Views/EmployerAgreement/View.cshtml | @using SFA.DAS.EAS.Domain
@using SFA.DAS.EAS.Domain.Models.EmployerAgreement
@using SFA.DAS.EAS.Web;
@using SFA.DAS.EAS.Web.Extensions
@model OrchestratorResponse<SFA.DAS.EAS.Web.ViewModels.EmployerAgreementViewModel>
@{ViewBag.Title = "Employer agreement";}
<div class="grid-row">
<div class="column-two-thirds... | @using SFA.DAS.EAS.Domain
@using SFA.DAS.EAS.Domain.Models.EmployerAgreement
@using SFA.DAS.EAS.Web;
@using SFA.DAS.EAS.Web.Extensions
@model OrchestratorResponse<SFA.DAS.EAS.Web.ViewModels.EmployerAgreementViewModel>
@{ViewBag.Title = "Employer agreement";}
<div class="grid-row">
<div class="column... | mit | C# |
9af1fc5703b3d8ddacb068b1f1ca8822db5a96b8 | Update properties on WebAppSettings to be virtual for testing/mocking | justinyoo/Scissorhands.NET,GetScissorhands/Scissorhands.NET,GetScissorhands/Scissorhands.NET,aliencube/Scissorhands.NET,ujuc/Scissorhands.NET,GetScissorhands/Scissorhands.NET,aliencube/Scissorhands.NET,justinyoo/Scissorhands.NET,ujuc/Scissorhands.NET,aliencube/Scissorhands.NET,ujuc/Scissorhands.NET,justinyoo/Scissorhan... | src/Scissorhands.Core/Models/Settings/WebAppSettings.cs | src/Scissorhands.Core/Models/Settings/WebAppSettings.cs | using System.Collections.Generic;
namespace Scissorhands.Models.Settings
{
/// <summary>
/// This represents the entity for web app settings.
/// </summary>
public class WebAppSettings
{
/// <summary>
/// Gets or sets the server.
/// </summary>
public virtual Server... | using System.Collections.Generic;
namespace Scissorhands.Models.Settings
{
/// <summary>
/// This represents the entity for web app settings.
/// </summary>
public class WebAppSettings
{
/// <summary>
/// Gets or sets the server.
/// </summary>
public virtual Server... | mit | C# |
0852d9adc7264575667f97cf3d58f3d61e0d5a0f | Revert "Use dot instead of dash to separate build metadata" | ParticularLabs/GitVersion,gep13/GitVersion,dazinator/GitVersion,gep13/GitVersion,GitTools/GitVersion,dazinator/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,ermshiperete/GitVersion | build/version.cake | build/version.cake | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | public class BuildVersion
{
public GitVersion GitVersion { get; private set; }
public string Version { get; private set; }
public string Milestone { get; private set; }
public string SemVersion { get; private set; }
public string GemVersion { get; private set; }
public string VsixVersion { get; ... | mit | C# |
aee34910134e19c1f5862b69ccb5590c5af9ce39 | Update the assembly info | grantcolley/dipstate | DevelopmentInProgress.DipState/Properties/AssemblyInfo.cs | DevelopmentInProgress.DipState/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("Di... | 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("Di... | apache-2.0 | C# |
185cb4885b1e350106c5b643c8e01fcfece9bf5d | Fix UserValidator | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.Authentication/Properties/AssemblyInfo.cs | InfinniPlatform.Authentication/Properties/AssemblyInfo.cs | // 1
// 0
// 0
// 7
// d9127c89-8481-426a-b93b-287557004c14
// 604E64920F7133DF518B7841DB78E790
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("InfinniPlatform.Authentication")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCom... | // 1
// 0
// 0
// 6
// d9127c89-8481-426a-b93b-287557004c14
// 2D5A820ADF191FB5F5C8552C4EDFC3FA
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("InfinniPlatform.Authentication")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCom... | agpl-3.0 | C# |
f26f219e562a7e19c22ca5d20794b5915a106386 | Add test that aggregate exception is last | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void CorrectNumberOfExceptions()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception,... | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void CorrectNumberOfExceptions()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception,... | mit | C# |
80e73275403b94ff74defe4f6431421613aa21dd | Add ENVIROAPPSYMBOL field | agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro,agrc/deq-enviro | api/Deq.Search.Soe/Configuration/DebugConfiguration.cs | api/Deq.Search.Soe/Configuration/DebugConfiguration.cs | using Deq.Search.Soe.Infastructure;
using Deq.Search.Soe.Models.Configuration;
using ESRI.ArcGIS.esriSystem;
namespace Deq.Search.Soe.Configuration {
#region License
//
// Copyright (C) 2012 AGRC
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
//... | using Deq.Search.Soe.Infastructure;
using Deq.Search.Soe.Models.Configuration;
using ESRI.ArcGIS.esriSystem;
namespace Deq.Search.Soe.Configuration {
#region License
//
// Copyright (C) 2012 AGRC
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
//... | mit | C# |
7ec5398770948d246f72150659932651b385fea3 | Add namespace | EightBitBoy/EcoRealms | Assets/Scripts/Map/MapHighlightManager.cs | Assets/Scripts/Map/MapHighlightManager.cs | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class MapHighlightManager : MonoBehaviour {
void Setup () {
}
}
}
| using UnityEngine;
using System.Collections;
public class MapHighlightManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| apache-2.0 | C# |
f2abb8f102649596275057e1f9fcd508c8a1927b | Fix a few tests | Seddryck/NBi,Seddryck/NBi | NBi.Testing/Unit/Core/Variable/TestVariableFactoryTest.cs | NBi.Testing/Unit/Core/Variable/TestVariableFactoryTest.cs | using Moq;
using NBi.Core.Query.Resolver;
using NBi.Core.Scalar.Resolver;
using NBi.Core.Transformation;
using NBi.Core.Variable;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Variable
{
pu... | using Moq;
using NBi.Core.Query.Resolver;
using NBi.Core.Scalar.Resolver;
using NBi.Core.Transformation;
using NBi.Core.Variable;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Variable
{
pu... | apache-2.0 | C# |
c9e3c484e714dd2eb1f8f6c792fc1c7e8fb715fe | Remove closing bracket from arguments | zedr0n/AngleSharp.Local,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl... | AngleSharp/Css/ValueConverters/FunctionValueConverter.cs | AngleSharp/Css/ValueConverters/FunctionValueConverter.cs | namespace AngleSharp.Css.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Linq;
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
sealed class FunctionValueConverter<T> : IValueConverter<T>
{
readonly String _name;
readonly IValueConverter... | namespace AngleSharp.Css.ValueConverters
{
using System;
using System.Collections.Generic;
using System.Linq;
using AngleSharp.Dom.Css;
using AngleSharp.Parser.Css;
sealed class FunctionValueConverter<T> : IValueConverter<T>
{
readonly String _name;
readonly IValueConverter... | mit | C# |
a66d9488f1147be02319e789b44b986ad2bc3c28 | Change DLX OpCodes to use UpperCase | ilovepi/Compiler,ilovepi/Compiler | compiler/backend/OpCodes.cs | compiler/backend/OpCodes.cs | namespace compiler.backend
{
public enum OpCodes
{
ADD = 0,
SUB = 1,
MUL = 2,
DIV = 3,
MOD = 4,
CMP = 5,
OR = 8,
AND = 9,
BIC = 10,
XOR = 11,
LSH = 12,
ASH = 13,
CHK = 14,
ADDI = 16,
SUBI = ... | namespace compiler.backend
{
public enum OpCodes
{
Add = 0,
Sub = 1,
Mul = 2,
Div = 3,
Mod = 4,
Cmp = 5,
Or = 8,
And = 9,
Bic = 10,
Xor = 11,
Lsh = 12,
Ash = 13,
Chk = 14,
Addi = 16,
Subi = ... | mit | C# |
daf9602962facd35094a63be9633fe1f7b70da24 | Increase Major Version | darbio/cap-net,TeamnetGroup/cap-net | src/CAPNet/Properties/AssemblyInfo.cs | src/CAPNet/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("cap-net")]
[assembly: AssemblyDescription("A Common Alerting Protocol serialization library for the .NET framework.")]
[assembly: AssemblyProduct("cap-net")]
[assembly: AssemblyCopyright("Copyright © 2013 Matt Chandler and contri... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("cap-net")]
[assembly: AssemblyDescription("A Common Alerting Protocol serialization library for the .NET framework.")]
[assembly: AssemblyProduct("cap-net")]
[assembly: AssemblyCopyright("Copyright © 2013 Matt Chandler and contri... | mit | C# |
6559137b1ed07c724ff084a348f4fa291d3dac10 | Update DirectInputPadPlugin.Build.cs | katze7514/UEDirectInputPadPlugin,katze7514/UEDirectInputPadPlugin | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | Source/DirectInputPadPlugin/DirectInputPadPlugin.Build.cs | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
"DirectInputPadPlugin/Public",
// ..... | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
namespace UnrealBuildTool.Rules
{
public class DirectInputPadPlugin : ModuleRules
{
public DirectInputPadPlugin(ReadOnlyTargetRules Target):base(Target)
{
PublicIncludePaths.AddRange(
new string[] {
"DirectInputPadPlugin/Public",
// ..... | mit | C# |
775f114d7438799617c1faf57646eb569f82fe47 | add ulong IsEven() and IsOdd() extensions | martinlindhe/Punku | punku/Extensions/ULongExtensions.cs | punku/Extensions/ULongExtensions.cs | using System;
using System.Text;
public static class ULongExtensions
{
/**
* @return the number of digits in n
*/
public static uint CountDigits (this ulong n, uint numberBase = 10)
{
uint cnt = 1;
while (n >= numberBase) {
cnt++;
n /= numberBase;
}
return cnt;
}
/**
* @return byte array o... | using System;
using System.Text;
public static class ULongExtensions
{
/**
* @return the number of digits in n
*/
public static uint CountDigits (this ulong n, uint numberBase = 10)
{
uint cnt = 1;
while (n >= numberBase) {
cnt++;
n /= numberBase;
}
return cnt;
}
/**
* @return byte array o... | mit | C# |
97cafeb38f18c253c9cefd927d63991e06bf2153 | Adjust version number to match DokanNet | viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,dokan-dev/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet | DokanNet.Tests/Properties/AssemblyInfo.cs | DokanNet.Tests/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DokanNet.Tests")]
[a... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DokanNet.Tests")]
[a... | mit | C# |
4f8d0b0e873bc71b5494b5e594c3553c1849b198 | disable testdata | vip32/eventfeedback,vip32/eventfeedback,vip32/eventfeedback,vip32/eventfeedback | Domain/Migrations/Configuration.cs | Domain/Migrations/Configuration.cs | namespace EventFeedback.Domain.Migrations
{
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<DataContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
}
protected override void Seed... | namespace EventFeedback.Domain.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<EventFeedback.Domain.DataContext>
{
public Configuration()
{
... | mit | C# |
a398af5500d2ca05d2bef64385880cc4feceee89 | test commit 2 | Krzyrok/FsxWithGoogleMaps,Krzyrok/FsxWebApi | FsxWebApi/FsxWebApi/Program.cs | FsxWebApi/FsxWebApi/Program.cs | namespace FsxWebApi
{
using System.Web.Http.SelfHost;
class Program
{
static void Main(string[] args)
{
var configuration = new HttpSelfHostConfiguration("http://localhost:8080");
WebApiConfig.Register(configuration);
WebApiStarter.StartServer(configurat... | namespace FsxWebApi
{
using System.Web.Http.SelfHost;
class Program
{
static void Main(string[] args)
{
var configuration = new HttpSelfHostConfiguration("http://localhost:8080");
WebApiConfig.Register(configuration);
WebApiStarter.StartServer(configurat... | mit | C# |
0856933e27d4eccdca393f8b019b02b311fbc692 | Add docs 2 | yishn/GTPWrapper | GTPWrapper/Sgf/GoExtensions.cs | GTPWrapper/Sgf/GoExtensions.cs | using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.Sgf {
/// <summary>
/// Provides SGF extension methods for the game of Go.
/// </summary>
public static class GoExtensions {
/// ... | using GTPWrapper.DataTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GTPWrapper.Sgf {
public static class GoExtensions {
/// <summary>
/// Converts given vertex on given board into SGF coordinates.
/// </s... | mit | C# |
02a1f503bc9bacb86f84e75956e1cd2b6ec4dcae | Increment version to 1.10. | mjvh80/jefferson | Jefferson.Core/Properties/AssemblyInfo.cs | Jefferson.Core/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("Je... | 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("Je... | apache-2.0 | C# |
5d9add07f289e7b6991e55fcb33b0a8b52a9f8bd | create checkers in ctor. Fixes #1 | Olorin71/RetreatCode,Olorin71/RetreatCode | c#/TexasHoldEmSolution/TexasHoldEm/HandInvestigator.cs | c#/TexasHoldEmSolution/TexasHoldEm/HandInvestigator.cs | using System;
using System.Collections.Generic;
using TexasHoldEm.Interfaces;
namespace TexasHoldEm
{
internal class HandInvestigator : IHandInvestigator
{
private IList<CheckerBase> checkers = new List<CheckerBase>();
public HandInvestigator()
{
CreateCheckers();
... | using System;
using System.Collections.Generic;
using TexasHoldEm.Interfaces;
namespace TexasHoldEm
{
internal class HandInvestigator : IHandInvestigator
{
private IList<CheckerBase> checkers = new List<CheckerBase>();
public IBestPossibleHand LocateBestHand(IEnumerable<ICard> theHoleCards, I... | mit | C# |
24c828176dd02d5bce88cbcfcc464a98c3642de1 | Update Recipients.cs (#355) | brandonseydel/MailChimp.Net | MailChimp.Net/Models/Recipients.cs | MailChimp.Net/Models/Recipients.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Recipients.cs" company="Brandon Seydel">
// N/A
// </copyright>
// --------------------------------------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Recipients.cs" company="Brandon Seydel">
// N/A
// </copyright>
// --------------------------------------------------------------------------------------------------------------... | mit | C# |
5640385f480c6bdbca0ba1bbb0fc030c1a552c60 | Update the length once during construction | smoogipoo/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,naoey/osu,naoey/osu,ppy/osu,peppy/osu,ppy/osu,ZLima12/osu,2yangk23/osu,DrabWeb/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,NeoA... | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs | osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.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.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | // 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.Linq;
using osu.Framework.Audio.Track;
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Beatmaps
{
public partial class WorkingBeatmap
{
... | mit | C# |
3f60d2da5da5e351ee17dc129c34c0dc1036ae04 | Revert CrytoConfiguration to using Credential implementation | RockFramework/Rock.Encryption | Rock.Encryption/Symmetric/CryptoConfiguration.cs | Rock.Encryption/Symmetric/CryptoConfiguration.cs | using System.Collections.Generic;
namespace RockLib.Encryption.Symmetric
{
/// <summary>
/// Defines an xml-serializable object that contains the information needed to configure an
/// instance of <see cref="SymmetricCrypto"/>.
/// </summary>
public class CryptoConfiguration
{
/// <sum... | using System.Collections.Generic;
namespace RockLib.Encryption.Symmetric
{
/// <summary>
/// Defines an xml-serializable object that contains the information needed to configure an
/// instance of <see cref="SymmetricCrypto"/>.
/// </summary>
public class CryptoConfiguration
{
/// <sum... | mit | C# |
ddc983e1018ddf3b5e83ca259aadb59dc3955832 | Fix model key frame in raw project | paralleltree/Scallion | Scallion/Raw/Components/Project/ModelKeyFrame.cs | Scallion/Raw/Components/Project/ModelKeyFrame.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Scallion.Core;
using Scallion.Internal;
namespace Scallion.Raw.Components.Project
{
internal class ModelKeyFrame : LinkableKeyFrame<ModelState>
{
public int IKBonesCount { get; set; }
public int ExternalParentBonesCount ... | using System;
using System.Collections.Generic;
using System.Linq;
using Scallion.Core;
using Scallion.Internal;
namespace Scallion.Raw.Components.Project
{
internal class ModelKeyFrame : LinkableKeyFrame<ModelState>
{
public int IKBonesCount { get; set; }
public int ExternalParentBonesCount ... | mit | C# |
99307423e0f1ae7a51d63b340c7253a0bfe939f2 | fix line endings ind status | coolya/logv.http | SimpleHttpServerExtensions/ResponseExtensions.cs | SimpleHttpServerExtensions/ResponseExtensions.cs | /*
Copyright 2012 Kolja Dummann <k.dummann@gmail.com>
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 applica... | /*
Copyright 2012 Kolja Dummann <k.dummann@gmail.com>
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 applica... | apache-2.0 | C# |
9ded2b1d01705d87ae805b90a520ac18c9fa742f | Add frame counter to give DrawVis a bit more activity. | ZLima12/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,peppy/osu-framework,default0/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWe... | osu.Framework.VisualTests/VisualTestGame.cs | osu.Framework.VisualTests/VisualTestGame.cs | //Copyright (c) 2007-2016 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 osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Drawables;
usi... | //Copyright (c) 2007-2016 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 osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Drawables;
usi... | mit | C# |
da8565c0fa653c7b8dee30ec71d8a51d0cdf97f1 | Add 10K mod to incompatibility list | smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game.Rulesets.Mania/Mods/ManiaKeyMod.cs | osu.Game.Rulesets.Mania/Mods/ManiaKeyMod.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;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Mania.Mods
{... | // 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;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Mania.Mods
{... | mit | C# |
3b84ce7c9f4317cf4a3f3d4e8011385579d6ec1f | Remove redundant test step | UselessToucan/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,naoey/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,DrabWeb/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,DrabWeb/osu,johnneijzen/osu,2yangk23/o... | osu.Game.Tests/Visual/TestCaseHoldToQuit.cs | osu.Game.Tests/Visual/TestCaseHoldToQuit.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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Screens.Play.HUD;
namespace osu.Game.Tests... | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Screens.Play.HUD;
namespace osu.Game.Tests... | mit | C# |
15ee1db58584e2fd67541b51082a20f325f7b1c2 | Test commit | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaScheme/ScadaSchemeEditor/FrmAbout.cs | ScadaScheme/ScadaSchemeEditor/FrmAbout.cs | /*
* Copyright 2014 Mikhail Shiryaev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2014 Mikhail Shiryaev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | C# |
94971f92cd5e3bf2dbc7cc2e7a0f24438ef214fe | Prepare 0.4.0 | bitbeans/SimpleDnsCrypt,robin98/SimpleDnsCrypt,jerryhou85/SimpleDnsCrypt | SimpleDnsCrypt/Properties/AssemblyInfo.cs | SimpleDnsCrypt/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Simple DnsCrypt")]
[assembly: AssemblyDescription("Simple management tool for dnscrypt-proxy")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Simple DNSCryp... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Simple DnsCrypt")]
[assembly: AssemblyDescription("Simple management tool for dnscrypt-proxy")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Simple DNSCryp... | mit | C# |
1d22952cd83a098f05d0b611941ad506cd7ea3d8 | Prepare 0.2.9 | jerryhou85/SimpleDnsCrypt,bitbeans/SimpleDnsCrypt,robin98/SimpleDnsCrypt | SimpleDnsCrypt/Properties/AssemblyInfo.cs | SimpleDnsCrypt/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Simple DnsCrypt")]
[assembly: AssemblyDescription("Simple management tool for dnscrypt-proxy")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Simple DNSCryp... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Simple DnsCrypt")]
[assembly: AssemblyDescription("Simple management tool for dnscrypt-proxy")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Simple DNSCryp... | mit | C# |
5169c82bd982d776e5aa7b4ac63b8fd1bb27f1cd | Implement OxideApi.Authenticate | Skippeh/Oxide.Ext.ServerManager | Oxide.PluginWebApi/Net/OxideApi.cs | Oxide.PluginWebApi/Net/OxideApi.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
namespace Oxide.PluginWebApi.Net
{
public class OxideApi : IDisposable
{
private static readonly CookieCont... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Oxide.PluginWebApi.Net
{
public class OxideApi : IDisposable
{
private static readonly CookieContainer cookieContainer = new CookieContainer();
priva... | mit | C# |
3d9c3e7a26ee13b8464f5d6871de134d67939ac6 | Revert "Fix issue with API header binding when running under a subdirectory" | projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,KuduApps/NuGetGallery,KuduApps/NuGetGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGal... | Website/Infrastructure/HttpHeaderValueProviderFactory.cs | Website/Infrastructure/HttpHeaderValueProviderFactory.cs | using System;
using System.Web.Mvc;
namespace NuGetGallery
{
public class HttpHeaderValueProviderFactory : ValueProviderFactory
{
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
{
var request = controllerContext.RequestContext.HttpContext.Reques... | using System;
using System.Web.Mvc;
namespace NuGetGallery
{
public class HttpHeaderValueProviderFactory : ValueProviderFactory
{
public override IValueProvider GetValueProvider(ControllerContext controllerContext)
{
var request = controllerContext.RequestContext.HttpContext.Reques... | apache-2.0 | C# |
42c68744bc1562783ae471ddb905327eff30c074 | Allow the vibration only on Mobile | FabienLavocat/kodi-remote | src/KodiRemote.Uwp/Core/Helpers.cs | src/KodiRemote.Uwp/Core/Helpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Phone.Devices.Notification;
using Windows.System.Profile;
using Windows.UI.Xaml.Media;
namespace KodiRemote.Uwp.Core
{
internal static class Helpers
{
//public static async... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Phone.Devices.Notification;
using Windows.UI.Xaml.Media;
namespace KodiRemote.Uwp.Core
{
internal static class Helpers
{
//public static async Task<ImageBrush> LoadBackgrou... | mit | C# |
76d32b1b731041e5322bfe84545077d3d763bdca | Fix whitespace | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
n... | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Windows.Input;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
n... | mit | C# |
f5b46505cf9dabc136210b21051721419d88a209 | Update version. | DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | DanTup.DartAnalysis/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assembly: AssemblyProduct("DartAnalysis.NET: A .NET wrapper around Google's Analysis Server for Dart.")]
[assem... | mit | C# |
2351a0d1ca86e8a4b7cb7df78dacd2cf248fb3e4 | Fix crash in ChatModeCalculatorService and refactor | ethanmoffat/EndlessClient | EOLib/Domain/Chat/ChatModeCalculatorService.cs | EOLib/Domain/Chat/ChatModeCalculatorService.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
namespace EOLib.Domain.Chat
{
public class ChatModeCalculatorService : IChatModeCalculatorService
{
public ChatMode CalculateChatType(string... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
namespace EOLib.Domain.Chat
{
public class ChatModeCalculatorService : IChatModeCalculatorService
{
public ChatMode CalculateChatType(string... | mit | C# |
ff82b2a76ac878c58b2d377c20b2c2cc5281052e | fix selection rendering issue when anchor was above caret and anchor column larger than caret column | Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor | src/CodeEditor.Text.UI/Selection.cs | src/CodeEditor.Text.UI/Selection.cs | using System;
namespace CodeEditor.Text.UI
{
public class Selection
{
public Position Anchor {get; set;}
readonly ICaret _caret;
public Selection (ICaret caret)
{
_caret = caret;
Clear ();
}
public Position BeginDrawPos
{
get
{
int column;
if (Anchor.Row == Caret.Row)
colum... | using System;
namespace CodeEditor.Text.UI
{
public class Selection
{
public Position Anchor {get; set;}
readonly ICaret _caret;
public Selection (ICaret caret)
{
_caret = caret;
Clear ();
}
public Position BeginDrawPos
{
get
{
return new Position (
Anchor.Row < Caret.Row ? Anc... | mit | C# |
dc6eb0953ae66bbff581908940d4433dac13309b | add tests for assemblyhelper | peopleware/net-ppwcode-util-oddsandends | src/Test.II/AssemblyHelperTests.cs | src/Test.II/AssemblyHelperTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using PPWCode.Util.OddsAndEnds.II.AssemblyHelpers;
namespace PPWCode.Util.OddsAndEnds.Test.II
{
[TestFixture]
public class AssemblyHelperTests
{
[Test]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace PPWCode.Util.OddsAndEnds.Test.II
{
[TestFixture]
public class AssemblyHelperTests
{
}
}
| apache-2.0 | C# |
e8c39b9c373fde667de33389a1e4425cb1c9ed44 | Fix test screen loading | peppy/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,DrabWeb/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,UselessToucan/osu,2ya... | osu.Game/Tests/Visual/ScreenTestCase.cs | osu.Game/Tests/Visual/ScreenTestCase.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
/// A test case which can 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 osu.Framework.Screens;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <summary>
/// A test case which can be used to test a screen (that re... | mit | C# |
bb2e44394b5f5b30d8e2fc6c486245eca7e2d7e4 | Make UserControl a name scope. | wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,MrDaedra/Avalonia,MrDaedra/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,susloparovdeni... | src/Perspex.Controls/UserControl.cs | src/Perspex.Controls/UserControl.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Styling;
namespace Perspex.Controls
{
public class UserControl : ContentControl, IStyleable, INameScope
{
pri... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Styling;
namespace Perspex.Controls
{
public class UserControl : ContentControl, IStyleable
{
Type IStyleable... | mit | C# |
f13c1b2fe29edfd124d1037ea361bf4086ef972e | add OwinEnvironmentService to show it works | IdentityServer/IdentityServer3.Samples,IdentityServer/IdentityServer3.Samples,geffzhang/Thinktecture.IdentityServer.v3.Samples,codehedgehog/IdentityServer3.Samples,geffzhang/Thinktecture.IdentityServer.v3.Samples,codehedgehog/IdentityServer3.Samples,IdentityServer/IdentityServer3.Samples,codehedgehog/IdentityServer3.Sa... | source/DependencyInjection/SelfHost/MyCustomServices.cs | source/DependencyInjection/SelfHost/MyCustomServices.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Claims;
using System.Text;
using IdentityServer3.Core;
using IdentityServer3.Core.Services;
using IdentityServer3.Core.Services.Default;
using IdentityServer3.Core.Services.InMemory;
namespace SelfHost
{... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Claims;
using System.Text;
using IdentityServer3.Core;
using IdentityServer3.Core.Services;
using IdentityServer3.Core.Services.Default;
using IdentityServer3.Core.Services.InMemory;
namespace SelfHost
{... | apache-2.0 | C# |
c6adb794d1294a7ba4c29515c8e6e5d9fca90657 | Fix typo | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.Domain/Internal/CommandUnitOfWork.cs | src/Aggregates.NET.Domain/Internal/CommandUnitOfWork.cs | using NServiceBus.Pipeline;
using NServiceBus.Pipeline.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Internal
{
internal class CommandUnitOfWork : IBehavior<IncomingContext>
{
public void Invoke(Incomi... | using NServiceBus.Pipeline;
using NServiceBus.Pipeline.Contexts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates.Internal
{
internal class CommandUnitOfWork : IBehavior<IncomingContext>
{
public void Invoke(Incomi... | mit | C# |
4d908a64eed76aa50720b8ff7b241cf254659c4d | Fix a typo | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Samples.Tests/Complex/NestedComboBoxTests.cs | src/DotVVM.Samples.Tests/Complex/NestedComboBoxTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Samples.Tests.Base;
using DotVVM.Testing.Abstractions;
using Riganti.Selenium.Core;
using Riganti.Selenium.DotVVM;
using Xunit;
using Xunit.Abstractions;
namespace DotVVM.Samples.Tests.Comp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Samples.Tests.Base;
using DotVVM.Testing.Abstractions;
using Riganti.Selenium.Core;
using Riganti.Selenium.DotVVM;
using Xunit;
using Xunit.Abstractions;
namespace DotVVM.Samples.Tests.Comp... | apache-2.0 | C# |
cdfde35629c46a7dbd5137a3bf90753ec7ad1a86 | Update AssemblyInfo.cs | csuffyy/Orc.FilterBuilder | src/FilterBuilder/Properties/AssemblyInfo.cs | src/FilterBuilder/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# |
b32251510cb534f38c5cd80e06205e662777b189 | Add Metadata dictionary to IStore Extensions declarations | geeklearningio/gl-dotnet-storage | src/GeekLearning.Storage/IStoreExtensions.cs | src/GeekLearning.Storage/IStoreExtensions.cs | namespace GeekLearning.Storage
{
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
public static class IStoreExtensions
{
public static ValueTask<IFileReference[]> ListAsync(this IStore store, string path, bool recursive = false, bool withMetadata = false)
... | namespace GeekLearning.Storage
{
using System.IO;
using System.Threading.Tasks;
public static class IStoreExtensions
{
public static ValueTask<IFileReference[]> ListAsync(this IStore store, string path, bool recursive = false, bool withMetadata = false)
=> store.ListAsync(path, rec... | mit | C# |
7f002d8f4ff154db51225d8b78587ef489ccf989 | remove general tab in tenant -edit-view #31 | dfch/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfensgmbh/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI,dfch/biz.dfch.CS.Appclusive.UI | src/biz.dfch.CS.Appclusive.UI/Views/Tenants/Edit.cshtml | src/biz.dfch.CS.Appclusive.UI/Views/Tenants/Edit.cshtml | @model biz.dfch.CS.Appclusive.UI.Models.Core.Tenant
@using biz.dfch.CS.Appclusive.UI.App_LocalResources
@{
ViewBag.Title = @Model.GetType().Name + " edit";
}
@section Title{
<h2>@Html.DisplayFor(model => model.Id)</h2>
<h4>@GeneralResources.ResourceManager.GetString(@Model.GetType().Name)</h4>
}
<div>
... | @model biz.dfch.CS.Appclusive.UI.Models.Core.Tenant
@using biz.dfch.CS.Appclusive.UI.App_LocalResources
@{
ViewBag.Title = @Model.GetType().Name + " edit";
}
@section Title{
<h2>@Html.DisplayFor(model => model.Id)</h2>
<h4>@GeneralResources.ResourceManager.GetString(@Model.GetType().Name)</h4>
}
<div>
... | apache-2.0 | C# |
f8cf33ad5b09082dc0cb84e2ffbd6e6a9a6abe0a | Add fix-all test. | DustinCampbell/roslyn,agocke/roslyn,nguerrera/roslyn,gafter/roslyn,AmadeusW/roslyn,mavasani/roslyn,dotnet/roslyn,tmat/roslyn,gafter/roslyn,sharwell/roslyn,genlu/roslyn,AlekseyTs/roslyn,weltkante/roslyn,KevinRansom/roslyn,brettfo/roslyn,mgoertz-msft/roslyn,genlu/roslyn,dotnet/roslyn,tannergooding/roslyn,eriawan/roslyn,A... | src/EditorFeatures/CSharpTest/UsePatternMatching/CSharpAsAndNullCheckTests_FixAllTests.cs | src/EditorFeatures/CSharpTest/UsePatternMatching/CSharpAsAndNullCheckTests_FixAllTests.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.UsePatternM... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.UsePatternM... | mit | C# |
18f314229b06a2c06fcfc2a78309c6f5cb907de6 | Update ApplyConditionalFormattingFormula.cs | asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,as... | Examples/CSharp/Articles/ApplyConditionalFormatting/ApplyConditionalFormattingFormula.cs | Examples/CSharp/Articles/ApplyConditionalFormatting/ApplyConditionalFormattingFormula.cs | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Articles.ApplyConditionalFormatting
{
public class ApplyConditionalFormattingFormula
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.... | using System.IO;
using Aspose.Cells;
using System.Drawing;
namespace Aspose.Cells.Examples.Articles.ApplyConditionalFormatting
{
public class ApplyConditionalFormattingFormula
{
public static void Main(string[] args)
{
// The path to the documents directory.
string data... | mit | C# |
fb94b12be5aae3ab2f7cd2df4bff0aae1060b90d | add of report num | 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; set;... | apache-2.0 | C# |
0ffe3be1a035a40baeac8e7a512bffa59c5ab505 | Add disk check | yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit,yappy/DollsKit | Shanghai/HealthCheck.cs | Shanghai/HealthCheck.cs | using System.IO;
using System.Text;
namespace Shanghai
{
class HealthCheck
{
public HealthCheck()
{ }
public void Proc(TaskServer server, string taskName)
{
var msg = new StringBuilder("[Health Check]\n");
msg.AppendFormat("CPU Temp: {0:F... | using System.IO;
using System.Text;
namespace Shanghai
{
class HealthCheck
{
public HealthCheck()
{ }
public void Proc(TaskServer server, string taskName)
{
var msg = new StringBuilder();
msg.Append("[Health Check]\n");
msg.App... | mit | C# |
cb6ff9f4470dea772e708deb0f7b2419d2074ff1 | make addAttribute chainable | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/AssetInfo.cs | Dashen/AssetInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Dashen
{
public class AssetInfo
{
private const string SelfClosingFormat = "<{0} {1} />";
private const string NonClosingFormat = "<{0} {1}></{0}>";
public string Tag { get; protected set; }
public bool SelfClosing { get; protected... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Dashen
{
public class AssetInfo
{
private const string SelfClosingFormat = "<{0} {1} />";
private const string NonClosingFormat = "<{0} {1}></{0}>";
public string Tag { get; protected set; }
public bool SelfClosing { get; protected... | lgpl-2.1 | C# |
129686837dd77519b7dca46c1a43bf72f9604c59 | Edit program cs | eklnc/TwitterStream | TwitterStream/Program.cs | TwitterStream/Program.cs | using System;
using System.Net;
using TwitterStream.Tables;
namespace TwitterStream
{
class Program
{
static void Main(string[] args)
{
using (var context = new TwitterStreamContext())
{
TwitterStream stream = new TwitterStream(context);
... | using System;
using System.Net;
using TwitterStream.Tables;
namespace TwitterStream
{
class Program
{
static void Main(string[] args)
{
//using (var context = new TwitterStreamContext())
//{
// TwitterStream stream = new TwitterStream(context);
... | mit | C# |
94b7f4677ac105e322bf90dcba058524eb9886fc | Convert tabs to spaces | mminer/unity-extensions | Vector3IntExtensions.cs | Vector3IntExtensions.cs | using System;
using UnityEngine;
namespace UnityExtensions
{
/// <summary>
/// Extension methods for UnityEngine.Vector3Int.
/// </summary>
public static class Vector3IntExtensions
{
/// <summary>
/// Converts a Vector3Int struct to a Vector3.
/// </summary>
/// <par... | using System;
using UnityEngine;
namespace UnityExtensions
{
/// <summary>
/// Extension methods for UnityEngine.Vector3Int.
/// </summary>
public static class Vector3IntExtensions
{
/// <summary>
/// Converts a Vector3Int struct to a Vector3.
/// </summary>
/// <par... | mit | C# |
b6489e14635b630b8b39d3cd65a267cae7ccc8a6 | Check if eventargs is null | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet | src/Core/Managed/Shared/Extensibility/Implementation/Tracing/DiagnosticsEventListener.cs | src/Core/Managed/Shared/Extensibility/Implementation/Tracing/DiagnosticsEventListener.cs | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
{
using System;
#if !NET40
using System.Diagnostics.Tracing;
#endif
using System.Linq;
#if NET40
using Microsoft.Diagnostics.Tracing;
#endif
internal class DiagnosticsEventListener : EventListener
{
private co... | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing
{
using System;
#if !NET40
using System.Diagnostics.Tracing;
#endif
using System.Linq;
#if NET40
using Microsoft.Diagnostics.Tracing;
#endif
internal class DiagnosticsEventListener : EventListener
{
private co... | mit | C# |
3dc170200f5914a10dd333cefb3a5f3248cd316e | Remove unused private field `index`. Update file `Points.cs` | lifebeyondfife/Group.Net | Group.Net/Points.cs | Group.Net/Points.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Group.Net
{
public class Points : IComparable<Points>, IEnumerable<int>
{
private readonly IList<int> points;
public int Count
{
get { return points.Count; }
}
public int... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace Group.Net
{
public class Points : IComparable<Points>, IEnumerable<int>
{
private readonly IList<int> points;
private readonly IList<int> index;
public int Count
{
get { ret... | mit | C# |
902fbe4c3a0832aeaeebc5f4d7c3b17a902a9b54 | Update ThreadImpl.cs | CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | source/Cosmos.System2_Plugs/System/Threading/ThreadImpl.cs | source/Cosmos.System2_Plugs/System/Threading/ThreadImpl.cs | using System;
using Cosmos.HAL;
using IL2CPU.API.Attribs;
namespace Cosmos.System_Plugs.System.Threading
{
[Plug(Target = typeof(global::System.Threading.Thread))]
public static class ThreadImpl
{
public static void Sleep(TimeSpan timeout)
{
Global.PIT.Wait((uint)timeout.TotalMi... | using System;
using Cosmos.HAL;
using IL2CPU.API.Attribs;
namespace Cosmos.System_Plugs.System.Threading
{
[Plug("System.Threading.Thread, System.Private.CoreLib")]
public static class ThreadImpl
{
public static void Sleep(TimeSpan timeout)
{
Global.PIT.Wait((uint)timeout.TotalM... | bsd-3-clause | C# |
eb33df31c962e55502610d568067c49172a5831e | Declare FormattedSize class as static | igece/SoxSharp | src/FormattedSize.cs | src/FormattedSize.cs | using System;
using System.Globalization;
namespace SoxSharp
{
/// <summary>
/// Utility class that converts a a SoX file size string (an integer or double value, optionally followed by a k, M or G character) to a numeric value.
/// </summary>
public static class FormattedSize
{
/// <summary>
/// C... | using System;
using System.Globalization;
namespace SoxSharp
{
/// <summary>
/// Utility class that converts a a SoX file size string (an integer or double value, optionally followed by a k, M or G character) to a numeric value.
/// </summary>
public class FormattedSize
{
/// <summary>
/// Converts... | apache-2.0 | C# |
0406e137204713cadb47c795c500ad77f647541c | rename CreateQueueCallback | calebdoise/flowbasis,calebdoise/flowbasis | src/FlowBasis/FlowBasis.SimpleQueues/SimpleQueueManager.cs | src/FlowBasis/FlowBasis.SimpleQueues/SimpleQueueManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlowBasis.SimpleQueues
{
public class SimpleQueueManager : ISimpleQueueManager
{
private SimpleQueueManagerOptions options;
private Dictionary<string, RegisteredQueue>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlowBasis.SimpleQueues
{
public class SimpleQueueManager : ISimpleQueueManager
{
private SimpleQueueManagerOptions options;
private Dictionary<string, RegisteredQueue>... | mit | C# |
ba84bb90ff486472157e87e70621c004ce65c808 | Disable debugger due to Mono crash. | mrward/monodevelop-dnx-addin | src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxExecutionHandler.cs | src/MonoDevelop.Dnx/MonoDevelop.Dnx/DnxExecutionHandler.cs | //
// DnxExecutionHandler.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// 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 restri... | //
// DnxExecutionHandler.cs
//
// Author:
// Matt Ward <ward.matt@gmail.com>
//
// Copyright (c) 2015 Matthew Ward
//
// 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 restri... | mit | C# |
eca5c9f30d7875671ac30c4ea7f21d720793d8f4 | update unittest | yanghongjie/DotNetDev | tests/Test.Dev/Tests/ServiceContainerTest.cs | tests/Test.Dev/Tests/ServiceContainerTest.cs | using System.Linq;
using Dev.ServiceContainer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Test.Dev.Components;
using Test.Dev.Config;
namespace Test.Dev.Tests
{
[TestClass]
public class ServiceContainerTest
{
[TestInitialize]
public void TestInit()
{
//Co... | using System.Linq;
using Dev.ServiceContainer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Test.Dev.Components;
using Test.Dev.Config;
namespace Test.Dev.Tests
{
[TestClass]
public class ServiceContainerTest
{
[TestInitialize]
public void TestInit()
{
//Co... | apache-2.0 | C# |
f722befc5c5be2972e01dfb397dfb13b7e34e54c | Update blueprints | dimmpixeye/Unity3dTools | Assets/[0]Framework/LibBlueprints/Blueprint.cs | Assets/[0]Framework/LibBlueprints/Blueprint.cs | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 2/27/2018 10:12 PM
================================================================*/
using System;
using System.Collections.Ge... | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 2/27/2018 10:12 PM
================================================================*/
using System;
using System.Collections.Ge... | mit | C# |
399292fee89882b83df16255dd832f3261419f1e | return ServiceStackHost from UseAutofac extension method to ensure fluent configuration of the host | alexeyzimarev/Autofac.Extras.ServiceStack | src/Autofac.Extras.ServiceStack/AutofacLifecycleFilter.cs | src/Autofac.Extras.ServiceStack/AutofacLifecycleFilter.cs | using System;
using Autofac.Core.Lifetime;
using ServiceStack;
namespace Autofac.Extras.ServiceStack
{
public static class ServiceStackAutofac
{
public static ServiceStackHost UseAutofac(this ServiceStackHost appHost, IContainer container)
{
appHost.Container.Adapter = new AutofacI... | using System;
using Autofac.Core.Lifetime;
using ServiceStack;
namespace Autofac.Extras.ServiceStack
{
public static class ServiceStackAutofac
{
public static void UseAutofac(this ServiceStackHost appHost, IContainer container)
{
appHost.Container.Adapter = new AutofacIocAdapter(co... | apache-2.0 | C# |
40d120cd2d85e23430dc9f15058957e65ad337e9 | refresh page | tiagosilva1702/PreventCataclysmSystems,tiagosilva1702/PreventCataclysmSystems,tiagosilva1702/PreventCataclysmSystems,tiagosilva1702/PreventCataclysmSystems | web/PreventCataclysmSystems/Views/Shared/_Layout.cshtml | web/PreventCataclysmSystems/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Sistema de prevensão de catalcismos.">
<meta property="og:title" content="Prevent Cataclysm Systems" />
<meta property="og:url" content="ht... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Sistema de prevensão de catalcismos.">
<meta property="og:title" content="Prevent Cataclysm Systems" />
<meta property="og:url" content="ht... | mit | C# |
63056bd4fb1474077444e855edd43f2e2b45db05 | disable fake server | tym32167/arma3beclient | src/Arma3BE.Server/ServerFactory/BattlEyeServerFactory.cs | src/Arma3BE.Server/ServerFactory/BattlEyeServerFactory.cs | using Arma3BE.Server.Abstract;
using Arma3BE.Server.Mocks;
using Arma3BE.Server.ServerDecorators;
using Arma3BEClient.Common.Logging;
using BattleNET;
namespace Arma3BE.Server.ServerFactory
{
public class BattlEyeServerFactory : IBattlEyeServerFactory
{
private readonly ILog _log;
public Battl... | using Arma3BE.Server.Abstract;
using Arma3BE.Server.Mocks;
using Arma3BEClient.Common.Logging;
using BattleNET;
namespace Arma3BE.Server.ServerFactory
{
public class BattlEyeServerFactory : IBattlEyeServerFactory
{
private readonly ILog _log;
public BattlEyeServerFactory(ILog log)
{
... | apache-2.0 | C# |
783588935826aeb142d35c0870e18da595478999 | remove test data | akaSybe/Disqus.NET | src/Disqus.NET/Disqus.NET.Tests/DisqusTestsInitializer.cs | src/Disqus.NET/Disqus.NET.Tests/DisqusTestsInitializer.cs | using System;
using NUnit.Framework;
namespace Disqus.NET.Tests
{
public class DisqusTestsInitializer
{
private const string DisqusKey = "X06iuWTeIlPzxRByY43SXFQO3oBnFoYtJ8MHQQG6J8MOEoBiHIHJogK7A69whLs7";
protected static class TestData
{
public const string AccessToken = ... | using System;
using NUnit.Framework;
namespace Disqus.NET.Tests
{
public class DisqusTestsInitializer
{
private const string DisqusKey = "X06iuWTeIlPzxRByY43SXFQO3oBnFoYtJ8MHQQG6J8MOEoBiHIHJogK7A69whLs7";
protected static class TestData
{
public const string AccessToken = ... | mit | C# |
5708d5aa3d049f3b8d7ad0375bec5105dde28772 | Add method to get current power source. | duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,duplicati/duplicati,sitofabi/duplicati,duplicati/duplicati,sitofabi/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,sitofabi/duplicati,mnaiman/duplicati,sitofabi/duplicati | Duplicati/Library/Utility/Power/PowerSupply.cs | Duplicati/Library/Utility/Power/PowerSupply.cs | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | // Copyright (C) 2017, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// L... | lgpl-2.1 | C# |
ed0b7417d86c7d3931dd86be85cb1e5b612fb5ec | fix issue871 where child steps in the failed Saga container do not get retried when the suspended workflow is resumed | danielgerlag/workflow-core | src/WorkflowCore/Services/ErrorHandlers/SuspendHandler.cs | src/WorkflowCore/Services/ErrorHandlers/SuspendHandler.cs | using System;
using System.Collections.Generic;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Models.LifeCycleEvents;
namespace WorkflowCore.Services.ErrorHandlers
{
public class SuspendHandler : IWorkflowErrorHandler
{
private readonly ILifeCycleEventPublisher _eventPubl... | using System;
using System.Collections.Generic;
using WorkflowCore.Interface;
using WorkflowCore.Models;
using WorkflowCore.Models.LifeCycleEvents;
namespace WorkflowCore.Services.ErrorHandlers
{
public class SuspendHandler : IWorkflowErrorHandler
{
private readonly ILifeCycleEventPublisher _eventPubl... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.