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
a34dc1a999ac4e4adb40a7c51ac20a8e0d7ed797
Handle object disposed race on shutdown in IIS (#27309)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/IIS/IIS/src/Core/IISNativeApplication.cs
src/Servers/IIS/IIS/src/Core/IISNativeApplication.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 System; using System.IO; namespace Microsoft.AspNetCore.Server.IIS.Core { internal class IISNativeApplication { private readonly ...
// 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 System; using System.IO; namespace Microsoft.AspNetCore.Server.IIS.Core { internal class IISNativeApplication { private readonly ...
apache-2.0
C#
de468b948f7367cfd84534d54e8a6e60e3f17806
Add operating system resolver
wangkanai/Detection
src/Services/Defaults/PlatformService.cs
src/Services/Defaults/PlatformService.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using Wangkanai.Detection.Extensions; using Wangkanai.Detection.Models; namespace Wangkanai.Detection.Services { public class PlatformService : IPlatformService { ...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using Wangkanai.Detection.Extensions; using Wangkanai.Detection.Models; namespace Wangkanai.Detection.Services { public class PlatformService : IPlatformService { ...
apache-2.0
C#
89f610a86a1371d4906dbb052fccba928cfa316d
switch to RSS
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ThomasLee.cs
src/Firehose.Web/Authors/ThomasLee.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 ThomasLee : IAmACommunityMember { public string FirstName => "Thomas"; public string LastN...
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 ThomasLee : IAmACommunityMember { public string FirstName => "Thomas"; public string LastN...
mit
C#
4f14559d1cfad3cf36414cf1735c9e14cd6174cf
Use offline for advanced demo
nigel-sampson/talks,nigel-sampson/talks
ndc-sydney/Hubb.App.UWP/App.xaml.cs
ndc-sydney/Hubb.App.UWP/App.xaml.cs
using System; using System.Collections.Generic; using System.Reflection; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml.Controls; using Caliburn.Micro; using Hubb.App.UWP.Views; using Hubb.Core.Services; using Hubb.Core.ViewModels; using Octokit; namespace Hubb.App.UWP { public sealed partial cl...
using System; using System.Collections.Generic; using System.Reflection; using Windows.ApplicationModel.Activation; using Windows.UI.Xaml.Controls; using Caliburn.Micro; using Hubb.App.UWP.Views; using Hubb.Core.Services; using Hubb.Core.ViewModels; using Octokit; namespace Hubb.App.UWP { public sealed partial cl...
mit
C#
a47d4ce2f7184ba084c873083009da39acb8177f
change scheduler start time (#35)
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Scheduler/QuartzScheduler.cs
src/StockportWebapp/Scheduler/QuartzScheduler.cs
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
using System; using System.Threading.Tasks; using Quartz; using Quartz.Impl; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; namespace StockportWebapp.Scheduler { ...
mit
C#
a99f98bf1657ec43ef5ff244d8ef2998ee3cba00
Update the exception to be more developer friendly
jamesmontemagno/MediaPlugin,jamesmontemagno/MediaPlugin
src/Media.Plugin.Abstractions/MediaPermissionException.cs
src/Media.Plugin.Abstractions/MediaPermissionException.cs
using System; using System.Collections.Generic; using System.Text; using Plugin.Permissions.Abstractions; namespace Plugin.Media.Abstractions { /// <summary> /// Permission exception. /// </summary> public class MediaPermissionException : Exception { /// <summary> /// Permission required that is missin...
using System; using System.Collections.Generic; using System.Text; using Plugin.Permissions.Abstractions; namespace Plugin.Media.Abstractions { /// <summary> /// Permission exception. /// </summary> public class MediaPermissionException : Exception { /// <summary> /// Permission required that is missin...
mit
C#
09820a2c70ceabf34df3e3d6f26120ea1e6dbd21
Remove the text for packages displayed when no packages are displayed, preventing '1-0' from being displayed. Issue #192
ScottShingler/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,kudustress/NuGetGallery2,KuduApps/NugetGallery16Fx45-DeleteMe,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,kudustress/NuGetGalleryOptmized,KuduApps/NuGetGallery,ScottShingler/NuGetGaller...
Website/Views/Packages/ListPackages.cshtml
Website/Views/Packages/ListPackages.cshtml
@model PackageListViewModel @{ ViewBag.Tab = "Packages"; } <hgroup class="search"> @if (!string.IsNullOrEmpty(Model.SearchTerm)) { <h1>Search for "@Model.SearchTerm" returned @Model.TotalCount packages</h1> } else { <h1>There are @Model.TotalCount packages</h1> } @if (@Model.LastResu...
@model PackageListViewModel @{ ViewBag.Tab = "Packages"; } <hgroup class="search"> @if (!string.IsNullOrEmpty(Model.SearchTerm)) { <h1>Search for "@Model.SearchTerm" returned @Model.TotalCount packages</h1> } else { <h1>There are @Model.TotalCount packages</h1> } <h2>Displaying resul...
apache-2.0
C#
5e2022a0b77a93ae90c324bb9e2894d6d18a7879
fix generic object factory
Kukkimonsuta/Odachi
src/Odachi.CodeGen.TypeScript/Renderers/ObjectRenderer.cs
src/Odachi.CodeGen.TypeScript/Renderers/ObjectRenderer.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Odachi.CodeGen.TypeScript.Internal; using Odachi.CodeGen.IO; using Odachi.CodeModel; using Odachi.CodeGen.Rendering; namespace Odachi.CodeGen.TypeScript.Renderers { public class O...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Odachi.CodeGen.TypeScript.Internal; using Odachi.CodeGen.IO; using Odachi.CodeModel; using Odachi.CodeGen.Rendering; namespace Odachi.CodeGen.TypeScript.Renderers { public class O...
apache-2.0
C#
4604e1ddf2091344760e4df741f218e2fb8ed775
Add missing assertion
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/Puzzles/Y2017/Day03Tests.cs
tests/AdventOfCode.Tests/Puzzles/Y2017/Day03Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2017 { using System.Threading.Tasks; using Shouldly; using Xunit; using Xunit.Abs...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2017 { using System.Threading.Tasks; using Shouldly; using Xunit; using Xunit.Abs...
apache-2.0
C#
af4925c807e016862c6214793e4def32784cd3d1
fix scenario for overriding the control name
northwoodspd/UIA.Extensions,northwoodspd/UIA.Extensions
src/UIA.Extensions/AutomationProviders/ControlProvider.cs
src/UIA.Extensions/AutomationProviders/ControlProvider.cs
using System.Windows.Automation.Provider; using System.Windows.Forms; namespace UIA.Extensions.AutomationProviders { public class ControlProvider : AutomationProvider { public readonly Control Control; public ControlProvider(Control control) { Control = control; } ...
using System.Windows.Automation.Provider; using System.Windows.Forms; namespace UIA.Extensions.AutomationProviders { public class ControlProvider : AutomationProvider { public readonly Control Control; public ControlProvider(Control control) { Control = control; } ...
mit
C#
efe7bc7dc8a94743940f36c4474f0603b7c4df5a
Fix line endings
nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp
src/Libraries/Knockout/Observable.cs
src/Libraries/Knockout/Observable.cs
// Observable.cs // Script#/Libraries/Knockout // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; using System.Collections; namespace KnockoutApi { /// <summary> /// Represents an object containing an observable v...
// Observable.cs // Script#/Libraries/Knockout // This source code is subject to terms and conditions of the Apache License, Version 2.0. // using System; using System.Runtime.CompilerServices; using System.Collections; namespace KnockoutApi { /// <summary> /// Represents an object containing an ...
apache-2.0
C#
af358fb4b6afdd1a30c29b87148c602fedbc0f65
Update Usage.cs
hmemcpy/NServiceBus.Wire
src/Tests/Snippets/Usage.cs
src/Tests/Snippets/Usage.cs
using NServiceBus; using NServiceBus.Wire; using Wire; class Usage { Usage(EndpointConfiguration configuration) { #region WireSerialization configuration.UseSerialization<WireSerializer>(); #endregion } void CustomSettings(EndpointConfiguration configuration) { #...
using NServiceBus; using NServiceBus.Wire; using Wire; class Usage { Usage(EndpointConfiguration endpointConfiguration) { #region WireSerialization endpointConfiguration.UseSerialization<WireSerializer>(); #endregion } void CustomSettings(EndpointConfiguration endpointConfig...
mit
C#
a743fce7fd4eff02511fdc9ea8a8edd2036c569d
Update InactiveSiteMode.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/api/InactiveSiteMode.cs
src/api/InactiveSiteMode.cs
// Copyright 2005-2006 University of Wisconsin // All rights reserved. // // Contributors: // James Domingo, UW-Madison, Forest Landscape Ecology Lab namespace Landis.SpatialModeling { /// <summary> /// Indicates how values at inactive sites are handled for a site variable. /// </summary> ...
// Copyright 2005-2006 University of Wisconsin // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource....
apache-2.0
C#
db00a485e73351f78cfb7b10e290e3d85771dbc5
Clean code
michael-reichenauer/Dependinator
Dependiator/Modeling/LinkSegmentViewModel.cs
Dependiator/Modeling/LinkSegmentViewModel.cs
using System.Windows; using System.Windows.Media; using Dependiator.Modeling.Items; namespace Dependiator.Modeling { internal class LinkSegmentViewModel : ItemViewModel { private readonly LinkSegment linkSegment; public LinkSegmentViewModel(LinkSegment linkSegment) { this.linkSegment = linkSegment; } ...
using System.Windows; using System.Windows.Media; using Dependiator.Modeling.Items; namespace Dependiator.Modeling { internal class LinkSegmentViewModel : ItemViewModel { private readonly LinkSegment linkSegment; public LinkSegmentViewModel(LinkSegment linkSegment) { this.linkSegment = linkSegment; } ...
mit
C#
75ebc80ab120b43568aaae54d8e39d33f207e1a2
Add test for init-only properties.
autofac/Autofac
test/Autofac.Test/Core/PropertyInjectionInitOnlyTests.cs
test/Autofac.Test/Core/PropertyInjectionInitOnlyTests.cs
using Xunit; #if NET5_0 namespace Autofac.Test.Core { public class PropertyInjectionInitOnlyTests { public class HasInitOnlyProperties { public string InjectedString { get; init; } } [Fact] public void CanInjectInitOnlyProperties() { va...
mit
C#
76193420b8277a638adfbbaaa91d08fddc6f23cb
add skeleton file for OnboardingServiceTests
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Onboarding.Tests/Services/OnboardingServiceTests.cs
abremir.AllMyBricks.Onboarding.Tests/Services/OnboardingServiceTests.cs
using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; namespace abremir.AllMyBricks.Onboarding.Tests.Services { [TestClass] public class OnboardingServiceTests { [ClassInitialize] #pragma warning disable RCS1163 // Unused parameter. #pragma warning disable...
mit
C#
52fad36ce65c18460782bc705fb0d67bb514f950
Add AssemblyInfo.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.AzureAppServicesIntegration/Properties/AssemblyInfo.cs
src/Microsoft.AspNetCore.AzureAppServicesIntegration/Properties/AssemblyInfo.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 System.Reflection; using System.Resources; using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Microsoft.AspNetCore.Hosting.Azu...
apache-2.0
C#
5a942ab3c7f36e5d0c96dbe590522d55365d04a3
Create TestMongoDatabaseProvider.cs
tiksn/TIKSN-Framework
TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProvider.cs
TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoDatabaseProvider.cs
using Microsoft.Extensions.Configuration; using TIKSN.Data.Mongo; namespace TIKSN.Framework.IntegrationTests.Data.Mongo { public class TestMongoDatabaseProvider : MongoDatabaseProvider { public TestMongoDatabaseProvider(IConfiguration configuration) : base(configuration, "Mongo") { } ...
mit
C#
44fba4d2e1c0557289d848d9d8ec42492931378e
add Code Jam solution template
szmate1618/competitive-programming
google-code-jam/SolutionTemplate.cs
google-code-jam/SolutionTemplate.cs
//----------------------------------------------------------------------- // Google Code Jam solution template // by szmate1618 // This is not how I normally code, but anything goes in a competition //----------------------------------------------------------------------- using System; using System.Collections.Ge...
mit
C#
88b0d052a76ec90ec6fa575428a1d55d3901ae88
Remove the ActiveIssue(5555) tag for OSX
benpye/corefx,mazong1123/corefx,ViktorHofer/corefx,jlin177/corefx,shimingsg/corefx,krk/corefx,zhenlan/corefx,dsplaisted/corefx,Priya91/corefx-1,gkhanna79/corefx,seanshpark/corefx,ViktorHofer/corefx,iamjasonp/corefx,YoupHulsebos/corefx,gkhanna79/corefx,jcme/corefx,ViktorHofer/corefx,yizhang82/corefx,marksmeltzer/corefx,...
src/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs
src/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.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.Net.Sockets; using System.Net.Tests; using System.Security.Cryptography.X509Certificates; using System....
// 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.Net.Sockets; using System.Net.Tests; using System.Security.Cryptography.X509Certificates; using System....
mit
C#
c60f1103c6f2e3f1036a5b660533bd5d2a33ef6b
Create a class to parse the alis configuration node.
nohros/must,nohros/must,nohros/must
src/base/common/configuration/common/provider/ProviderAliasesNodeParser.cs
src/base/common/configuration/common/provider/ProviderAliasesNodeParser.cs
using System; using System.Collections; using System.Collections.Generic; using System.Xml; namespace Nohros.Configuration { internal class ProviderAliasesNode { public static ICollection<string> Parse(XmlElement element) { List<string> aliases = new List<string>(element.ChildNodes.Count); ...
mit
C#
7d87788fa1f1ee740c11927d34c1d5967f8f322b
add missing test (#70)
Drawaes/CondenserDotNet,deanshackley/CondenserDotNet
test/Condenser.Tests.Integration/Routing/RouterSumaryApiFacts.cs
test/Condenser.Tests.Integration/Routing/RouterSumaryApiFacts.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace Condenser.Tests.Integration.Routing { public class RouterSumaryApiFacts { [Fact] public async Task CanCallRouterSu...
mit
C#
d9a5131d2284760da09574561e0996b99f7f6342
implement pickler benchmarks
irmen/Pyrolite,irmen/Pyrolite,irmen/Pyrolite
dotnet/Razorvine.Pyrolite/Benchmarks/PicklerBenchmarks.cs
dotnet/Razorvine.Pyrolite/Benchmarks/PicklerBenchmarks.cs
using BenchmarkDotNet.Attributes; using Razorvine.Pickle; using System.IO; using System.Linq; namespace Benchmarks { public class PicklerBenchmarks { [Params(100, 1000)] public int Count { get; set; } private double[] _doubles; private int[] _integers; private bool[] _...
mit
C#
6c1467387bcd20180ce876181c0412901f4178b2
Add InvocationTransaction to SmartContract framework (#15)
AntShares/AntShares.SmartContract.Framework
Neo.SmartContract.Framework/Services/Neo/InvocationTransaction.cs
Neo.SmartContract.Framework/Services/Neo/InvocationTransaction.cs
namespace Neo.SmartContract.Framework.Services.Neo { public class InvocationTransaction : Transaction { public extern byte[] Script { [Syscall("Neo.InvocationTransaction.GetScript")] get; } } }
mit
C#
3eb088f89a2fd3cc3b6490574a6a6963715ecc3f
Add low difficulty overlaps check
UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Rulesets.Osu/Edit/Checks/CheckLowDiffOverlaps.cs
osu.Game.Rulesets.Osu/Edit/Checks/CheckLowDiffOverlaps.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Edit.Checks.Components; using osu.Game.Rulesets.Objects; ...
mit
C#
c85e6bc36dc08919141c446b0ae8d1f47eb779fb
Add the remote connector for freeswitch config retrieval
rryk/omp-server,justinccdev/opensim,ft-/opensim-optimizations-wip-tests,TomDataworks/opensim,justinccdev/opensim,ft-/arribasim-dev-extras,QuillLittlefeather/opensim-1,BogusCurry/arribasim-dev,ft-/arribasim-dev-tests,RavenB/opensim,TomDataworks/opensim,bravelittlescientist/opensim-performance,TomDataworks/opensim,M-O-S-...
OpenSim/Services/Connectors/Freeswitch/RemoteFreeswitchConnector.cs
OpenSim/Services/Connectors/Freeswitch/RemoteFreeswitchConnector.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
f2cb3f731b2f5362a09994e691dfc478f6e691fc
优化 CSS 样式支持
yonglehou/Jumony,zpzgone/Jumony,zpzgone/Jumony,wukaixian/Jumony,wukaixian/Jumony,yonglehou/Jumony
Ivony.Html/Css/CssStyleSpecificationBase.cs
Ivony.Html/Css/CssStyleSpecificationBase.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace Ivony.Html.Css { public abstract class CssStyleSpecificationBase { public CssStyleProperty[] TransformProperties( CssStyleProperty[] properties ) { } } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ivony.Html.Css { public abstract class CssStyleSpecificationBase { } }
apache-2.0
C#
ff12a51aff77620aa53eea4edcbdc56cc659340b
Add test coverage
ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.cs
osu.Framework.Tests/Transforms/TestSceneTransformEventBindings.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.Graphics.Containers; using osu.Framework.Testing; using osu.Framework.Tests.Visual; namespace os...
mit
C#
6df30cebf9506e4fe3c7bffb87d9a160d4b31d5f
add package resolver abstract class
tsolarin/dotnet-globals,tsolarin/dotnet-globals
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
src/DotNet.Executor.Core/PackageResolvers/PackageResolver.cs
namespace DotNet.Executor.Core.PackageResolvers { using System.IO; abstract class PackageResolver { protected DirectoryInfo PackagesFolder { get; set; } protected string Source { get; set; } abstract protected Package Resolve(); protected PackageResolver(DirectoryInfo pack...
mit
C#
cd45d0d75cead26f33ebf7702d574f7d3b0832a0
Add tests for sqlite check constraints.
sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic
src/SJP.Schematic.Sqlite.Tests/SqliteCheckConstraintTests.cs
src/SJP.Schematic.Sqlite.Tests/SqliteCheckConstraintTests.cs
using System; using NUnit.Framework; using Moq; using SJP.Schematic.Core; namespace SJP.Schematic.Sqlite.Tests { [TestFixture] internal class SqliteCheckConstraintTests { [Test] public void Ctor_GivenNullTable_ThrowsArgumentNullException() { Assert.Throws<ArgumentNullEx...
mit
C#
e4eeb0fa8680e9f80e98dcf1e50b9e2f28955ddc
simplify running a process (avoids race condition)
half-ogre/qed,Haacked/qed
Functions/RunProcess.cs
Functions/RunProcess.cs
using System; using System.Diagnostics; namespace qed { public static partial class Functions { public static int RunProcess( Process process, Action<string> log) { log(String.Format( "Running {0} {1} in {2}", process.StartI...
using System; using System.Diagnostics; namespace qed { public static partial class Functions { public static int RunProcess( Process process, Action<string> log) { process.EnableRaisingEvents = true; process.OutputDataReceived += (sender, args...
mit
C#
8a38568fb5e9e0d0ecf0036c22a73c87df870562
Add test coverage
peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Visual/Input/TestSceneInputPropagationForLoadStates.cs
osu.Framework.Tests/Visual/Input/TestSceneInputPropagationForLoadStates.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.Input.Events; using osu.Framework.Input.StateChanges; using osu.Framework.Testing; using osuTK.In...
mit
C#
22a6c64751d7da167406c2f98209931396e9d88a
Add AssemblyInfo.cs to Toolbox bindings.
rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D
Source/Tools/Toolbox/CSharp/Properties/AssemblyInfo.cs
Source/Tools/Toolbox/CSharp/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("Urho3DNet.Toolbox")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Urho3D")] [assembly: AssemblyCopyright("Copyright © 2018")] [assembly: As...
mit
C#
e1231964938ea6d8816b9d2ad1d0ebff72ca5054
add DeviceNotFoundException tests
wangkanai/Detection
test/Wangkanai.Detection.Device.Test/DeviceNotFoundExceptionTest.cs
test/Wangkanai.Detection.Device.Test/DeviceNotFoundExceptionTest.cs
using Xunit; namespace Wangkanai.Detection.Test { public class DeviceNotFoundExceptionTest { [Fact] public void ExceptionNotNull() { // arrange var exception = new DeviceNotFoundException("test"); // act var message = exception.Message; ...
apache-2.0
C#
bfe696c0c18ef9c22f4d45fe4b13e8a64e818735
add Quicksort1Partition.cs
regeldso/hrank
Algorithms/Sorting/Quicksort1Partition.cs
Algorithms/Sorting/Quicksort1Partition.cs
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void partition(int[] ar) { List<int> left = new List<int>(); List<int> right = new List<int>(); //List<int> equal = new List<int>(); int p = ar[0]; //equal.Add(p); ...
mit
C#
65db64e13e615de506c07d9c71816c294e414361
Add failing test cases
UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu
osu.Game.Tests/NonVisual/Skinning/LegacySkinTextureFallbackTest.cs
osu.Game.Tests/NonVisual/Skinning/LegacySkinTextureFallbackTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Graphics.Textures; using osu.Game.Skinning; namespace osu.Game.Tests.NonV...
mit
C#
593b042ca13c68f0e5b852c1adb14725226b6e71
Add status response
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
HiddenWallet.ChaumianCoinJoin.Tumbler/Models/StatusResponse.cs
HiddenWallet.ChaumianCoinJoin.Tumbler/Models/StatusResponse.cs
using HiddenWallet.SharedApi.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace HiddenWallet.ChaumianCoinJoin.Tumbler.Models { public class StatusResponse : BaseResponse { public StatusResponse() => Success = true; public string PubKey { get; set; ...
mit
C#
4bf789088b5a7c363f6e05282be2690c36bcdd9f
Remove dependency on IAlgorithm from brok sec initializer
Phoenix1271/Lean,StefanoRaggi/Lean,AnObfuscator/Lean,QuantConnect/Lean,AnshulYADAV007/Lean,redmeros/Lean,andrewhart098/Lean,Jay-Jay-D/LeanSTP,AnObfuscator/Lean,Jay-Jay-D/LeanSTP,squideyes/Lean,FrancisGauthier/Lean,AnObfuscator/Lean,bizcad/Lean,StefanoRaggi/Lean,tomhunter-gh/Lean,bizcad/Lean,StefanoRaggi/Lean,Mendelone/...
Common/Securities/BrokerageModelSecurityInitializer.cs
Common/Securities/BrokerageModelSecurityInitializer.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * 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 ...
apache-2.0
C#
b5c0399290e37394eed00fec6f36e2094d04c5d5
Use AutoRepositoryTypesAttribute.WithDefaultRepositoryInterfaces for NhBasedSecondaryOrmRegistrar.
beratcarsi/aspnetboilerplate,zclmoon/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,AlexGeller/aspnetboilerplate,berdankoca/aspnetboilerplate,oceanho/aspnetboilerplate,virtualcca/aspnetboilerplate,berdan...
src/Abp.NHibernate/NHibernate/NhBasedSecondaryOrmRegistrar.cs
src/Abp.NHibernate/NHibernate/NhBasedSecondaryOrmRegistrar.cs
using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Orm; using Castle.MicroKernel.Registration; namespace Abp.NHibernate { public class NhBasedSecondaryOrmRegistrar : ISecondaryOrmRegistrar, ITransientDependency { public string OrmContextKey => AbpConsts.Orms.NHibernate; public voi...
using Abp.Dependency; using Abp.Domain.Repositories; using Abp.Orm; namespace Abp.NHibernate { public class NhBasedSecondaryOrmRegistrar : ISecondaryOrmRegistrar, ITransientDependency { public string OrmContextKey => AbpConsts.Orms.NHibernate; public void RegisterRepositories(IIocManager iocM...
mit
C#
b92f06b7fa74cba020461c75813c24aa8fa69869
Add TestDatabaseContextFactory
Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/Core/TestDatabaseContextFactory.cs
tests/Tgstation.Server.Host.Tests/Core/TestDatabaseContextFactory.cs
using Microsoft.Extensions.DependencyInjection; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Threading.Tasks; using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Core.Tests { [TestClass] public sealed class TestDatabaseContextFactory { [TestMethod] p...
agpl-3.0
C#
00da407e412450cf0f3de0d03ec3ba95bea5a81c
Create Timewarp.cs
danesparza/MailChimp.NET,marmind/MailChimp.NET-APIv2
MailChimp/Reports/Timewarp.cs
MailChimp/Reports/Timewarp.cs
using System.Runtime.Serialization; namespace MailChimp.Reports { /// <summary> /// optional - various extra options based on the campaign type /// </summary> [DataContract] public class Timewarp { /// <summary> ///opens for this timezone /// </summary> [DataMember(Nam...
mit
C#
e9a62a4f7e4961342873e429fc362538f724cb73
Add acceptance tests for feature prerequisites
Simution/NServiceBus.Recoverability.RetrySuccessNotification
src/AcceptanceTests/When_notifications_are_misconfigured.cs
src/AcceptanceTests/When_notifications_are_misconfigured.cs
using System.Threading.Tasks; using NServiceBus; using NServiceBus.AcceptanceTesting; using NServiceBus.AcceptanceTests.EndpointTemplates; using NServiceBus.Features; using NServiceBus.Settings; using NUnit.Framework; [TestFixture] class When_notifications_are_misconfigured { [Test] public async Task Should_n...
mit
C#
b095529faf439f0b431c11c2e391a5afb9ac7b3f
Create exercise.cs
frainfreeze/studying,frainfreeze/studying,frainfreeze/studying,frainfreeze/studying,frainfreeze/studying,frainfreeze/studying,frainfreeze/studying,frainfreeze/studying
university/11018-ObjectOrientedProgramming/exercise.cs
university/11018-ObjectOrientedProgramming/exercise.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; //todo: validate input strings namespace ConsoleApp4 { class Program { public struct Student { public int student_id; public string name, surname; public int year; public...
mit
C#
9ae9a0597327d16d1ec2b58dd92d1069335691ee
Add SymbolEquivalenceComparer.AssemblyComparers
AlekseyTs/roslyn,jeffanders/roslyn,ValentinRueda/roslyn,antiufo/roslyn,dotnet/roslyn,OmniSharp/roslyn,michalhosala/roslyn,furesoft/roslyn,wschae/roslyn,robinsedlaczek/roslyn,genlu/roslyn,gafter/roslyn,amcasey/roslyn,xasx/roslyn,OmarTawfik/roslyn,jroggeman/roslyn,chenxizhang/roslyn,abock/roslyn,russpowers/roslyn,diryboy...
src/Workspaces/Core/Portable/Shared/Utilities/SymbolEquivalenceComparer.AssemblyComparers.cs
src/Workspaces/Core/Portable/Shared/Utilities/SymbolEquivalenceComparer.AssemblyComparers.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.Collections.Generic; namespace Microsoft.CodeAnalysis.Shared.Utilities { partial class SymbolEquivalenceComparer { private seal...
apache-2.0
C#
01472f4d08c5682510df86ca2cf0127a8e18eb2c
Create indexer.cs
kenpusney/pastebin,kenpusney/pastebin
book/indexer.cs
book/indexer.cs
using System; namespace CLR_via_CS { class Program { static void Main(string[] args) { var a = new A(); a[8] = 64; Console.WriteLine(a[7]); Console.Read(); } } class A { private int _index = 0; public int this[int...
mit
C#
39967b33547b6d10df108283f71fb6b72dbde108
Add UserTask.cs
shortgiraffe4/MomWorld,shortgiraffe4/MomWorld,shortgiraffe4/MomWorld
Articles.Entities/UserTask.cs
Articles.Entities/UserTask.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MomWorld.Entities { public class UserTask { [Key] [MaxLength(128)] public string Id { get; set; } ...
mit
C#
6792474d77ad9266f8b4fe14faa950f25a942003
Add Assembly metadata
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Identity.CoreCompat/Properties/AssemblyInfo.cs
src/Microsoft.AspNet.Identity.CoreCompat/Properties/AssemblyInfo.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 System.Reflection; using System.Resources; using System.Runtime.CompilerServices; [assembly: AssemblyMetadata("Serviceable", "True")] [assembly:...
apache-2.0
C#
5ea1cd47e3f570c3568b3f03144e1417f882b414
Add AbstractCommand class.
JeevanJames/ConsoleFx
src/CmdLine.Abstractions/AbstractCommand.cs
src/CmdLine.Abstractions/AbstractCommand.cs
#region --- License & Copyright Notice --- /* ConsoleFx CLI Library Suite Copyright 2015-2019 Jeevan James 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/LICENS...
apache-2.0
C#
a2e19b3f9d665ec32633ae981dec15f17ba617e9
Use SimpleConsoleLogger
neuecc/MagicOnion
src/MagicOnion.Generator/Program.cs
src/MagicOnion.Generator/Program.cs
using MagicOnion.GeneratorCore; using System; using System.Threading.Tasks; using ConsoleAppFramework; using Microsoft.Extensions.Hosting; namespace MagicOnion.Generator { public class Program : ConsoleAppBase { static async Task Main(string[] args) { await Host.CreateDefaultBuilder...
using MagicOnion.GeneratorCore; using System; using System.Threading.Tasks; using ConsoleAppFramework; using Microsoft.Extensions.Hosting; namespace MagicOnion.Generator { public class Program : ConsoleAppBase { static async Task Main(string[] args) { await Host.CreateDefaultBuilder...
mit
C#
a765b2ab22a4c0d0ceaba7f10caa025d32ddc423
Add a interface for the NTP time module
arkeine/Fierce-Galaxy,arkeine/Fierce-Galaxy
fierce-galaxy/fierce-galaxy-interface/TimeModule/NetworkTime.cs
fierce-galaxy/fierce-galaxy-interface/TimeModule/NetworkTime.cs
using System; namespace FierceGalaxyInterface.TimeModule { public interface NetworkTime { /// <summary> /// Return the time from a default NTP server /// </summary> DateTime GetNetworkTime(); /// <summary> /// Return the time from the given NTP server /...
apache-2.0
C#
62ef5b60752ac57d6b138caef77ee89c633aa2a5
fix broken build
abbasmhd/ReactiveTrader,AdaptiveConsulting/ReactiveTrader,abbasmhd/ReactiveTrader,abbasmhd/ReactiveTrader,mrClapham/ReactiveTrader,rikoe/ReactiveTrader,rikoe/ReactiveTrader,akrisiun/ReactiveTrader,akrisiun/ReactiveTrader,jorik041/ReactiveTrader,HalidCisse/ReactiveTrader,LeeCampbell/ReactiveTrader,HalidCisse/ReactiveTra...
src/Adaptive.ReactiveTrader.Server.Domain.Tests/CleanerTests.cs
src/Adaptive.ReactiveTrader.Server.Domain.Tests/CleanerTests.cs
using System; using System.Reactive.Concurrency; using Adaptive.ReactiveTrader.Server.Analytics; using Adaptive.ReactiveTrader.Server.Blotter; using Adaptive.ReactiveTrader.Server.Execution; using Adaptive.ReactiveTrader.Server.Pricing; using NSubstitute; using NUnit.Framework; namespace Adaptive.ReactiveTrader.Serve...
using System; using System.Reactive.Concurrency; using Adaptive.ReactiveTrader.Server.Analytics; using Adaptive.ReactiveTrader.Server.Blotter; using Adaptive.ReactiveTrader.Server.Execution; using Adaptive.ReactiveTrader.Server.Pricing; using NSubstitute; using NUnit.Framework; namespace Adaptive.ReactiveTrader.Serve...
apache-2.0
C#
01f821fcf8f407b1904562aa24a6771af7e6de4c
rename namespace
cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.Forms,cube-soft/Cube.Forms
Libraries/Operations/Bindings.cs
Libraries/Operations/Bindings.cs
/* ------------------------------------------------------------------------- */ /// /// Copyright (c) 2010 CubeSoft, Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// ht...
apache-2.0
C#
06ee320277e115bbc4f3e560f7805e60eb4e970b
Add `SCardHandle` structure
Archie-Yang/PcscDotNet
src/PcscDotNet/SCardHandle.cs
src/PcscDotNet/SCardHandle.cs
namespace PcscDotNet { /// <summary> /// A handle that identifies the connection to the smart card in the designated reader. /// </summary> public struct SCardHandle { /// <summary> /// Default value. /// </summary> public static readonly SCardHandle Default = default...
mit
C#
6026f4b98f412d9734aa834b3e489b6691dd9da9
Add temporary workaround to load annotations
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/src/resharper-unity/Rider/TempAnnotationsLoader.cs
resharper/src/resharper-unity/Rider/TempAnnotationsLoader.cs
using System; using System.Collections.Generic; using JetBrains.Application; using JetBrains.Metadata.Utils; using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.Rider { // Temporary workaround for RIDER-13547 [ShellComponent] p...
apache-2.0
C#
41bb6d9b0b7bc338476d5f0737e254c7b9b56d0d
add SymmetricTransformerFactory for IOC of DI
jimkropa/misc.corlib
src/misc.corlib/Security/Cryptography/SymmetricTransformerFactory.cs
src/misc.corlib/Security/Cryptography/SymmetricTransformerFactory.cs
namespace MiscCorLib.Security.Cryptography { using System.Security.Cryptography; public class SymmetricTransformerFactory { private readonly SymmetricAlgorithm algorithm; // For dependency injection: public SymmetricTransformerFactory( SymmetricAlgorithm algorithm) { this.algorithm = algorithm; } ...
apache-2.0
C#
0e31568d5719ab18240f5fba39f2d4bad9a953e8
Add fixed ignored request provider to allow user full controll
Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Gli...
src/Glimpse.Agent.Web/Options/FixedIgnoredRequestProvider.cs
src/Glimpse.Agent.Web/Options/FixedIgnoredRequestProvider.cs
using System.Collections.Generic; using System.Linq; namespace Glimpse.Agent.Web.Options { public class FixedIgnoredRequestProvider : IIgnoredRequestProvider { public FixedIgnoredRequestProvider() : this(Enumerable.Empty<IIgnoredRequestPolicy>()) { } public FixedIg...
mit
C#
bb943b49da20638cb39284b2286b6c5887c2f306
Add IRealmObjectHelpers to FakeForWeaverTests
Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet
Tests/WeaverTests/Realm.FakeForWeaverTests/IRealmObjectHelper.cs
Tests/WeaverTests/Realm.FakeForWeaverTests/IRealmObjectHelper.cs
/* Copyright 2016 Realm Inc - All Rights Reserved * Proprietary and Confidential */ using System; namespace Realms.Weaving { public interface IRealmObjectHelper { RealmObject CreateInstance(); } }
apache-2.0
C#
43b2aa46808fe83ae114a8986cadf55ec45c8584
Add LockedObjectPool
Spreads/Spreads
src/Spreads.Core/Collections/Concurrent/LockedObjectPool.cs
src/Spreads.Core/Collections/Concurrent/LockedObjectPool.cs
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Diagnostics; using System.Threading; namespace Spreads.Collections.Concurrent { /// ...
mpl-2.0
C#
8272035a56cde0669cb485f0177f58176e22de80
Create AssemblyDomain.cs
NMSLanX/Natasha
src/Natasha/AssemblyDomain.cs
src/Natasha/AssemblyDomain.cs
using System; public class AssemblyDomain { public static void Init() { throw new Exception(@"该方法已过时,从4.0起,组件需要分别注册,详见 https://natasha.dotnetcore.xyz/zh/helloworld.html"); } }
mpl-2.0
C#
884ef2070a3d41c908f633dd2d6c1c040146e76f
Create DeweyIndexViewModel
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Models/DeweyViewModels/DeweyIndexViewModel.cs
src/Open-School-Library/Models/DeweyViewModels/DeweyIndexViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.DeweyViewModels { public class DeweyIndexViewModel { } }
mit
C#
2a193fa7f5f19b2c6bf7affd4b114a5bac685108
Update AssemblyInfo.cs
jasper-schneider/azure-sdk-for-net,rohmano/azure-sdk-for-net,pomortaz/azure-sdk-for-net,Nilambari/azure-sdk-for-net,pattipaka/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,dasha91/azure-sdk-for-net,gubookgu/azure-sdk-for-net,vladca/azure-sdk-for-net,pomortaz/azure-sdk-for-net,felixcho-msft/azure-sdk-for-net,p...
src/ResourceManagement/HDInsight/HDInsight/Properties/AssemblyInfo.cs
src/ResourceManagement/HDInsight/HDInsight/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("HDI...
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("HDI...
apache-2.0
C#
421aa537fe6b51742e7451dc010fa410d130311d
Add comment
VSadov/roslyn,DustinCampbell/roslyn,tmat/roslyn,tannergooding/roslyn,abock/roslyn,tvand7093/roslyn,AArnott/roslyn,jeffanders/roslyn,drognanar/roslyn,mgoertz-msft/roslyn,AArnott/roslyn,swaroop-sridhar/roslyn,KevinH-MS/roslyn,physhi/roslyn,OmarTawfik/roslyn,pdelvo/roslyn,davkean/roslyn,dotnet/roslyn,pdelvo/roslyn,akrisiu...
src/EditorFeatures/Core/Implementation/Structure/VisualStudio14StructureTaggerProvider.cs
src/EditorFeatures/Core/Implementation/Structure/VisualStudio14StructureTaggerProvider.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.CodeAn...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Shared.TestHooks; using Microsoft.CodeAn...
mit
C#
b927d95e4ba38b263167902130ab48297ac2bedf
Print good numbers
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
GeeksForGeeks/good_numbers.cs
GeeksForGeeks/good_numbers.cs
// http://www.geeksforgeeks.org/print-all-good-numbers-in-given-range/ // // Given a digit ‘d’ and a range [L, R] where L < R, // print all good numbers in given range that don't contain digit 'd'. // A number is good if its every digit is larger than the sum of digits // which are on the right side of that digit....
mit
C#
2e3170e551fcb27c73cdd6c60e046a30a8544a55
add health check
ferreirix/restratp
Controllers/HealthStatus.cs
Controllers/HealthStatus.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace restratp.Controllers { [Route("/")] public class HealthStatusController : Controller { // GET public IActionResult Get() { return Ok(); } } }
mit
C#
11084c9e6253de44c4ab95da95710edb1f6eedde
Add missing file to repository
nunit/nunit-console,nunit/nunit-console,nunit/nunit-console
src/framework/Api/ISetRunState.cs
src/framework/Api/ISetRunState.cs
// *********************************************************************** // Copyright (c) 2010 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
mit
C#
95fd05fb287b3192c91ffba7b8a2a647a8b25c9d
Add unit tests for #48
SteamDatabase/ValveKeyValue
ValveKeyValue/ValveKeyValue.Test/Text/StreamsTestCase.cs
ValveKeyValue/ValveKeyValue.Test/Text/StreamsTestCase.cs
using System; using System.Globalization; using System.IO; using System.Text; using NUnit.Framework; namespace ValveKeyValue.Test; internal class StreamsTestCase { class BlockingStream : Stream { private int _backingPosition; internal BlockingStream(byte[] testData, int maxReadAtOnce = 1) ...
mit
C#
db2df938b09ecec1d29f5d3e237f4e7cbadade68
Create Multigenerator.cs
codebude/QRCoder
QRCoderDemo/Multigenerator.cs
QRCoderDemo/Multigenerator.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace QRCoderDemo { using QRCoder; public partial class Multigenerator : Form { public Multigenerator() ...
mit
C#
2e6fd6536b9359dbd7802c5db0bfe092644f838d
Add the AnimationSet skel
TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opens...
OpenSim/Framework/AnimationSet.cs
OpenSim/Framework/AnimationSet.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
24e01f3a096cbdc6b0d3492543d8784ae0ffdadc
Add DropHandlerBase
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions.DragAndDrop/DropHandlerBase.cs
src/Avalonia.Xaml.Interactions.DragAndDrop/DropHandlerBase.cs
using System.Collections.Generic; using Avalonia.Input; using Avalonia.Interactivity; namespace Avalonia.Xaml.Interactions.DragAndDrop { public abstract class DropHandlerBase : IDropHandler { protected void MoveItem<T>(IList<T> items, int sourceIndex, int targetIndex) { if (sourceI...
mit
C#
16de3ffe0aa4894b5f549b3d644425297163ca28
Add files via upload
khalidsoliman/Udacity_VR_ND_P2
HeadRotation.cs
HeadRotation.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HeadRotation : MonoBehaviour { void Start () { Input.gyro.enabled = true; //activate the gyro on the phone } // Update is called once per frame void Update () { Quaternion att = Input.gyro.attitude; //get the gyro da...
mit
C#
6eeabc5a9f5b82ccca41613cf49253bb42c1c76a
Create RegexExtension.cs
tuttomax/IniSharp
Extension/RegexExtension.cs
Extension/RegexExtension.cs
namespace IniSharp.Extension { static class RegexExtension { public static string GetGroupValue(this Regex regex, string input,int index) { return regex.Match(input).Groups[index].Value; } } }
mit
C#
7b09cb379ddded8a808d72161364d0388053974f
add MessageMarker
jwldnr/VisualLinter
VisualLinter/MessageMarker.cs
VisualLinter/MessageMarker.cs
using Microsoft.VisualStudio.Text; namespace jwldnr.VisualLinter { internal class MessageMarker { public LinterMessage Message { get; } public SnapshotSpan Span { get; } internal MessageMarker(LinterMessage message, SnapshotSpan span) { Message = message; ...
mit
C#
bc2ce6c5927c3c6841ac675d130b414b7ded33ee
Create Soccer Lobby ball factory/manager
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Services/Lobby/SoccerLobbyBallFactory.cs
src/Booma.Proxy.Client.Unity.Ship/Services/Lobby/SoccerLobbyBallFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SceneJect.Common; using Sirenix.OdinInspector; using Sirenix.Serialization; using UnityEngine; namespace Booma.Proxy { /// <summary> /// Simple manager that manages the spawning and despawning t...
agpl-3.0
C#
e18a83a02583f1066d21c8044f9e0cc83caf311a
Add ClaimsIdentity helper
geeklearningio/Testavior
src/GeekLearning.Test.Integration/Helpers/ClaimsIdentityHelper.cs
src/GeekLearning.Test.Integration/Helpers/ClaimsIdentityHelper.cs
namespace System.Security.Claims { using System.Linq; public static class ClaimsIdentityHelper { public static void ReplaceClaim(this ClaimsIdentity identity, string type, string value) { identity.TryRemoveClaim(identity.Claims.FirstOrDefault(c => c.Type == type)); ...
mit
C#
0b1e760c569d034f54600507082b8b3f8540e817
add ignored file
lvermeulen/ProGet.Net
test/ProGet.Net.Tests/Native/ProGetPackages/ProGetClientShould.cs
test/ProGet.Net.Tests/Native/ProGetPackages/ProGetClientShould.cs
using System.Threading.Tasks; using Xunit; // ReSharper disable CheckNamespace namespace ProGet.Net.Tests { public partial class ProGetClientShould { [Fact] public async Task ProGetPackages_GetPackageCountAsync() { var result = await _client.ProGetPackages_GetPackageCountA...
mit
C#
8746846a7130c55f2184de4880d32ecf62382160
Add formatter benchmark
heejaechang/roslyn,gafter/roslyn,genlu/roslyn,weltkante/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,tmat/roslyn,brettfo/roslyn,gafter/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,panopticoncentral/roslyn,tannergooding/roslyn,dotnet/roslyn,physhi/roslyn,genlu/roslyn,bartdesm...
src/Tools/IdeCoreBenchmarks/FormatterBenchmarks.cs
src/Tools/IdeCoreBenchmarks/FormatterBenchmarks.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.IO; using System.Threading; using BenchmarkDotNet.At...
mit
C#
733fafdeff2e1e3d5eb48b675123b51e00019e7c
Introduce the hal builder.
mikehaas763/hateoas
hateoas/hateoas/HalBuilder.cs
hateoas/hateoas/HalBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hateoas.Attributes; using Newtonsoft.Json.Serialization; namespace Hateoas { public class HalBuilder<T> { public Dictionary<string, string> _links { get; set; } public Hal...
bsd-3-clause
C#
89405672d8b10fb27d0c4ceea0902e58a1d633af
Create IdentityMapper.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/IdentityMapper.cs
TIKSN.Core/Data/IdentityMapper.cs
using System; namespace TIKSN.Data { public class IdentityMapper<T> : IMapper<T, T> { private static readonly Lazy<IdentityMapper<T>> LazyInstance = new(() => new IdentityMapper<T>()); private IdentityMapper() { } public static IdentityMapper<T> Instance => LazyInstance.Value;...
mit
C#
a7e77aa747555d46150c2c8cf9f5b38259c74f80
Create TabObject.cs
MatrixNAN/Unity-Artist-Tools
TabObject.cs
TabObject.cs
using UnityEngine; using System.Collections; public class TabObject : MonoBehaviour { public GameObject[] InactiveTabObject; public GameObject[] ActiveTabObject; public void ShowHide() { int count = 0; for (count = 0; count < ActiveTabObject.Length; count++) ActiveTabObject[count].SetActive(true); f...
apache-2.0
C#
640bddf5cabf5f6a8bf4cb07fefe341549c62c03
Add interface ICommandSource
jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes...
src/Avalonia.Input/ICommandSource.cs
src/Avalonia.Input/ICommandSource.cs
using System.Windows.Input; namespace Avalonia.Input { ///<summary> /// An interface for classes that know how to invoke a Command. ///</summary> public interface ICommandSource { /// <summary> /// The command that will be executed when the class is "invoked." /// Classes t...
mit
C#
317c1aed7ac3a8bb2126cc523fd5be8510bc586c
Revert "#181 proposed change to use the name not id"
dennisroche/TestStack.Seleno,dennisroche/TestStack.Seleno,TestStack/TestStack.Seleno,random82/TestStack.Seleno,TestStack/TestStack.Seleno,bendetat/TestStack.Seleno,bendetat/TestStack.Seleno,random82/TestStack.Seleno
src/TestStack.Seleno/PageObjects/Controls/InputHtmlControl.cs
src/TestStack.Seleno/PageObjects/Controls/InputHtmlControl.cs
using TestStack.Seleno.Extensions; namespace TestStack.Seleno.PageObjects.Controls { public abstract class InputHtmlControl : HTMLControl { public string Value { get { return ValueAs<string>(); } } public virtual TReturn ValueAs<TReturn>() { ...
using TestStack.Seleno.Extensions; namespace TestStack.Seleno.PageObjects.Controls { public abstract class InputHtmlControl : HTMLControl { public string Value { get { return ValueAs<string>(); } } public virtual TReturn ValueAs<TReturn>() { var ...
mit
C#
43c1373117c3e2b23feeb9a726e1bfa0bb02a973
Add slightly delay to async tests to avoid false positive failing tests.
paritoshmmmec/NEventStore,adamfur/NEventStore,deltatre-webplu/NEventStore,chris-evans/NEventStore,nerdamigo/NEventStore,AGiorgetti/NEventStore,NEventStore/NEventStore,jamiegaines/NEventStore,marcoaoteixeira/NEventStore,D3-LucaPiombino/NEventStore,gael-ltd/NEventStore
src/tests/EventStore.Core.UnitTests/AsynchronousDispatcherTests.cs
src/tests/EventStore.Core.UnitTests/AsynchronousDispatcherTests.cs
#pragma warning disable 169 // ReSharper disable InconsistentNaming namespace EventStore.Core.UnitTests { using System; using System.Threading; using Dispatcher; using Machine.Specifications; using Moq; using Persistence; using It = Machine.Specifications.It; public class when_asynchronously_dispatching_a_com...
#pragma warning disable 169 // ReSharper disable InconsistentNaming namespace EventStore.Core.UnitTests { using System; using System.Threading; using Dispatcher; using Machine.Specifications; using Moq; using Persistence; using It = Machine.Specifications.It; public class when_asynchronously_dispatching_a_com...
mit
C#
7c5a7a344e41da4afd7a53e301d09a24650557f1
Add PipeTo for non-generic Tasks for exception handling
alex-kondrashov/akka.net,eloraiby/akka.net,skotzko/akka.net,silentnull/akka.net,kstaruch/akka.net,nanderto/akka.net,alexvaluyskiy/akka.net,matiii/akka.net,rogeralsing/akka.net,alexvaluyskiy/akka.net,GeorgeFocas/akka.net,zbrad/akka.net,gwokudasam/akka.net,Chinchilla-Software-Com/akka.net,ali-ince/akka.net,tillr/akka.net...
src/core/Akka/Actor/PipeToSupport.cs
src/core/Akka/Actor/PipeToSupport.cs
//----------------------------------------------------------------------- // <copyright file="PipeToSupport.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //-...
//----------------------------------------------------------------------- // <copyright file="PipeToSupport.cs" company="Akka.NET Project"> // Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com> // Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> //-...
apache-2.0
C#
c54259d11d30d4e90f3b336449bc2d5e8b4da814
Add release manager command to show "lagging" packages
googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet
tools/Google.Cloud.Tools.ReleaseManager/ShowLaggingCommand.cs
tools/Google.Cloud.Tools.ReleaseManager/ShowLaggingCommand.cs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
b2446b2c8b57587f08ac4d5053548b644482338b
Add Require helper for argument validation
raphael-wb/sandbox
Rwb/Require.cs
Rwb/Require.cs
using System; using System.Collections.Generic; using System.IO; namespace Rwb { public static class Require { private const string NotReadableErrorMessage = "stream must support Read"; private const string NotSeekableErrorMessage = "stream must support Seek"; private const string NotWritableErrorMessage = "s...
apache-2.0
C#
6880b58c2c51299408f66d09c2e50501459ea00a
add DebugInProcessConfig and DebugBuildConfig to make troubleshooting easier, #891
alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig...
src/BenchmarkDotNet/Configs/DebugConfig.cs
src/BenchmarkDotNet/Configs/DebugConfig.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using BenchmarkDotNet.Analysers; using BenchmarkDotNet.Columns; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Environments; using BenchmarkDotNet.Exporters; using BenchmarkDotNet.Filters; using BenchmarkDotNet.Jobs; using Ben...
mit
C#
24cabcdad3253ed0884240d29c6da8b3b1776c0d
update to SerializationHelper
JimBobSquarePants/Umbraco-CMS,AndyButland/Umbraco-CMS,romanlytvyn/Umbraco-CMS,rasmusfjord/Umbraco-CMS,Myster/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,DaveGreasley/Umbraco-CMS,Spijkerboer/Umbraco-CMS,base33/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,TimoPerplex/Umbraco-CMS,Phoswork...
components/editorControls/userControlWrapper/SerializationHelper.cs
components/editorControls/userControlWrapper/SerializationHelper.cs
using System; using System.Text; using System.Xml.Serialization; using System.IO; using System.Xml; namespace umbraco.editorControls.userControlGrapper { public class SerializationHelper { public static object ValueFromXmlString(object value, Type type) { XmlSerializer ...
using System; using System.Text; using System.Xml.Serialization; using System.IO; using System.Xml; namespace umbraco.editorControls.userControlWrapper { public class SerializationHelper { public static object ValueFromXmlString(object value, Type type) { XmlSerializer ...
mit
C#
1b2c829ee8429e4f13c4c5b22045a54f39c04e19
Add FeatureManagerBuilderExtensions
YeastFx/Yeast
src/Yeast.Features.Abstractions/Extensions/FeatureManagerBuilderExtensions.cs
src/Yeast.Features.Abstractions/Extensions/FeatureManagerBuilderExtensions.cs
using System; namespace Yeast.Features.Abstractions { public static class FeatureManagerBuilderExtensions { /// <summary> /// Registers multiples <see cref="IFeatureProvider"/> /// </summary> /// <param name="builder">The <see cref="IFeatureManagerBuilder"/> reference</param> ...
mit
C#
9dc509e72985e5c5a5573dd47e56b434105731e4
Add smart indenting
Connorcpu/VisualRust,xilec/VisualRust,Connorcpu/VisualRust,Boddlnagg/VisualRust,drewet/VisualRust,PistonDevelopers/VisualRust,Vbif/VisualRust,vadimcn/VisualRust,xilec/VisualRust,Muraad/VisualRust,vosen/VisualRust,vadimcn/VisualRust,drewet/VisualRust,PistonDevelopers/VisualRust,tempbottle/VisualRust,tempbottle/VisualRus...
VisualRust/VisualRustSmartIndent.cs
VisualRust/VisualRustSmartIndent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using System.ComponentModel.Composition; using Microsoft.VisualStudio.Utilities; using Microsoft.VisualStudio.Text; using Microsoft.VisualStudio.Text.Editor; namespace ArkeIndu...
mit
C#
774d0f594ff2cfb3f03bdcfbda16a233b4f77fe4
Add displayablemodel interface
pushyka/chess-all
Model/IDisplayableModel.cs
Model/IDisplayableModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace chess.Model { /// <summary> /// This interface describes a displayable model. Any model implementing this interface /// can be displayed / updated by the View. Some of the function...
mit
C#
946aa70100564447327b05dcad5c375ac21f41e8
Make book grid artwork bigger
Carbenium/banshee,stsundermann/banshee,ixfalia/banshee,ixfalia/banshee,mono-soc-2011/banshee,ixfalia/banshee,Carbenium/banshee,GNOME/banshee,ixfalia/banshee,stsundermann/banshee,allquixotic/banshee-gst-sharp-work,Dynalon/banshee-osx,Carbenium/banshee,dufoli/banshee,arfbtwn/banshee,GNOME/banshee,GNOME/banshee,babycaseny...
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
// // AudiobookGrid.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
mit
C#
dc6e49138b6a6209521e8c4ec51b6e77d1231128
Add CameraMonitor.
Eusth/VRGIN
VRGIN/Helpers/CameraMonitor.cs
VRGIN/Helpers/CameraMonitor.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using VRGIN.Core; namespace VRGIN.Helpers { public class CameraMonitor : ProtectedBehaviour { Stopwatch _Stopwatch = new Stopwatch(); public void OnPreCull() { _...
mit
C#
af2d2e1ef70cd921ba6f55c5b96629b7e385ac2f
Fix build.
kasubram/vsts-agent,lkillgore/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent,vithati/vsts-agent,Microsoft/vsts-agent,kasubram/vsts-agent,lkillgore/vsts-agent,lkillgore/vsts-agent,lkillgore/vsts-agent,Microsoft/vsts-agent,kasubram/vsts-agent,vithati/vsts-agent,vithati/vsts-agent,kasubram/vsts-agent
src/Microsoft.VisualStudio.Services.Agent/Util/ArgUtil.cs
src/Microsoft.VisualStudio.Services.Agent/Util/ArgUtil.cs
using System; namespace Microsoft.VisualStudio.Services.Agent.Util { public static class ArgUtil { public static void NotNull(object value, string name) { if (object.ReferenceEquals(value, null)) { throw new ArgumentNullException(name); } ...
using System; namespace Microsoft.VisualStudio.Services.Agent.Util { public static class ArgUtil { public static void NotNull(object value, string name) { if (object.ReferenceEquals(value, null)) { throw new ArgumentNullException(name); } ...
mit
C#
02ffb8bdb2d3bc38b55be70446d44a30e78bf4ee
Create CascadeFieldAttribute.cs
estebanmurchio/CascadeField
src/CascadeFieldAttribute.cs
src/CascadeFieldAttribute.cs
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; namespace Depofis.Infrastructure.Attributes { [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)] public class CascadeFieldAttribute : Attribute, IMetadataAware { public string ApiUrl { get; priva...
mit
C#
201329b8d0627f433cd451e09e83e89354b99056
rewrite item deposit
Noctisae/SteamBot-H1Z1-Test,Noctisae/SteamBot-H1Z1-Test
SteamBot/Util.cs
SteamBot/Util.cs
using System; namespace SteamBot { public class EmptyClass { public EmptyClass () { } } }
mit
C#
e9fbdf5cdc03adb4c452df04aaaa7a57c30cb2bb
Add NonCopyableAttribute
bartdesmet/roslyn,tannergooding/roslyn,bartdesmet/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,brettfo/roslyn,wvdd007/roslyn,physhi/roslyn,heejaechang/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,mavasani/roslyn,physhi/roslyn,jasonmalinowski/roslyn,Er...
src/Compilers/Core/Portable/InternalUtilities/NonCopyableAttribute.cs
src/Compilers/Core/Portable/InternalUtilities/NonCopyableAttribute.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; namespace Roslyn.Utilities { [AttributeUsage(AttributeTargets.Struct | AttributeTargets.GenericP...
mit
C#
29a24cddd35c8e8a53c1230dcc380641809815a4
Update AssemblyInfo.cs
rohmano/azure-sdk-for-net,hovsepm/azure-sdk-for-net,naveedaz/azure-sdk-for-net,DeepakRajendranMsft/azure-sdk-for-net,jasper-schneider/azure-sdk-for-net,jasper-schneider/azure-sdk-for-net,herveyw/azure-sdk-for-net,gubookgu/azure-sdk-for-net,pomortaz/azure-sdk-for-net,jtlibing/azure-sdk-for-net,naveedaz/azure-sdk-for-net...
src/ResourceManagement/HDInsight/HDInsight/Properties/AssemblyInfo.cs
src/ResourceManagement/HDInsight/HDInsight/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("HDI...
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("HDI...
apache-2.0
C#
9ece350d97df095ce13c85f3da1ecc42a976387b
Create C#.cs
TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets
Backend/AddUserToUacGroup/C#.cs
Backend/AddUserToUacGroup/C#.cs
mit
C#
edb009c7a51e460d5cd36c69f98b04070f408576
Add a class containing streams constants.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Helpers/StreamsConstants.cs
src/CompetitionPlatform/Helpers/StreamsConstants.cs
namespace CompetitionPlatform.Helpers { public static class StreamsRoles { public const string Admin = "ADMIN"; } }
mit
C#
2e6c9c49ca1f2af49c9fd0dd3e2a964f898b5e92
Add default provider which uses reflection
pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimps...
src/Glimpse.Web.Common/Framework/DefaultRequestAuthorizerProvider.cs
src/Glimpse.Web.Common/Framework/DefaultRequestAuthorizerProvider.cs
using System; using System.Collections.Generic; using System.Linq; namespace Glimpse.Web { public class DefaultRequestAuthorizerProvider : IRequestAuthorizerProvider { private readonly ITypeService _typeService; public DefaultRequestAuthorizerProvider(ITypeService typeService) { ...
mit
C#