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 |
|---|---|---|---|---|---|---|---|---|
adc9cdc30d653b041155847123efb15e4d869a50 | Create CrowdSSOAPICall.cs | ryanmcdonough/CrowdSSO | CrowdSSOAPICall.cs | CrowdSSOAPICall.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public sealed class CrowdSSOAPICall
{
private readonly String name;
private readonly int value;
public static readonly CrowdSSOAPICall Authenticate = new CrowdSSOAPICall(1, "authentication?username=")... | mit | C# | |
95f808e17f6827f8f9e8b9b0b52c77fb451e2194 | Add calls to AssertIsOnMainThread. | AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknad... | src/Package/Impl/ProjectSystem/IVsHierarchyExtensions.cs | src/Package/Impl/ProjectSystem/IVsHierarchyExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.R.Components.Extensions;
using Microsoft.VisualStudio.ProjectSystem;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStud... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.VisualStudio.ProjectSystem;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStudio.Shell.Interop;
namespace Microsoft.Vi... | mit | C# |
abfbadbaf4a40654c429ef165e437fd218192401 | Copy FileSystemGlobbing and HashCodeCombiner sources | schellap/core-setup,ravimeda/core-setup,vivmishra/core-setup,cakine/core-setup,weshaggard/core-setup,rakeshsinghranchi/core-setup,cakine/core-setup,joperezr/core-setup,chcosta/core-setup,rakeshsinghranchi/core-setup,ravimeda/core-setup,cakine/core-setup,joperezr/core-setup,janvorli/core-setup,joperezr/core-setup,schell... | HashCodeCombiner.cs | HashCodeCombiner.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Microsoft.DotNet.InternalAbstractions
{
public struct Ha... | mit | C# | |
515b169f13582ae0083fcc6245b6dca7ffe7c62a | Add generic WebAgentPool | CrustyJew/RedditSharp,justcool393/RedditSharp-1,pimanac/RedditSharp | RedditSharp/WebAgentPool.cs | RedditSharp/WebAgentPool.cs | using Microsoft.Extensions.Caching.Memory;
using System;
using System.Collections.Generic;
using System.Reactive.Subjects;
using System.Text;
using System.Threading.Tasks;
namespace RedditSharp
{
/// <summary>
/// Generic memory cache wrapper for storing and retrieving <see cref="IWebAgent"/>s. Items are stor... | mit | C# | |
80adc2102019acf2211461f149dd0da472b45cec | Add Factory5 with PresentAllowTearing feature check. | sharpdx/SharpDX,sharpdx/SharpDX,sharpdx/SharpDX | Source/SharpDX.DXGI/Factory5.cs | Source/SharpDX.DXGI/Factory5.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# | |
c8dda5bbb1bc56787c8c0baf0bd96bc72e2c37c6 | Add ProductBuilderFromScratch. | tdpreece/TestObjectBuilderCsharp | Examples/ProductBuilderFromScratch.cs | Examples/ProductBuilderFromScratch.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Examples
{
class ProductBuilderFromScratch
{
Product Build()
{
return new Product(this.X);
}
ProductBuilderFromScratch With(int x)
{
this.X = x;
... | mit | C# | |
0ca73bfb52f9e40e5c6d56bb78e4791b22d96113 | Update core | sunkaixuan/SqlSugar | Src/Asp.NetCore2/SqlSeverTest/SqlSugar/OnlyCore/Compatible.cs | Src/Asp.NetCore2/SqlSeverTest/SqlSugar/OnlyCore/Compatible.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class SugarCompatible
{
public const bool IsFramework = false;
}
}
| apache-2.0 | C# | |
884079fd8b2e3ba1dc3991e8939ad1025bd0e1e2 | Create EditorWindowExtension.cs | kinifi/framework-unity | EditorExtensions/Template/Editor/EditorWindowExtension.cs | EditorExtensions/Template/Editor/EditorWindowExtension.cs | /*
* Must be located in a folder called "Editor"
* Note: the %l is the shortcut for opening this window in unity. % = Alt/CMD button
*/
using UnityEngine;
using UnityEditor;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Assertions;
public class EditorW... | mit | C# | |
af039ef132047ee4f1dd8139b05f3bfb1c70ff6b | Create RowParseTest.cs | bytefish/TinyCsvParser | TinyCsvParser/TinyCsvParser.Test/Examples/RowParseTest.cs | TinyCsvParser/TinyCsvParser.Test/Examples/RowParseTest.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using TinyCsvParser.Mapping;
using TinyCsvParser.Model;
namespace TinyCsvParser.Test.Examples
{
public static class Enumer... | mit | C# | |
97229c7e19ba065381dd96c24a4be086bdda15a3 | Bump version to 3.1 | deluxetiky/FluentValidation,cecilphillip/FluentValidation,glorylee/FluentValidation,roend83/FluentValidation,regisbsb/FluentValidation,roend83/FluentValidation,IRlyDontKnow/FluentValidation,olcayseker/FluentValidation,robv8r/FluentValidation,ruisebastiao/FluentValidation,mgmoody42/FluentValidation,pacificIT/FluentValid... | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | #region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | apache-2.0 | C# |
34dfa06b4b4898799016e12c9c5b77abb800c475 | add unary call overhead benchmark | stanley-cheung/grpc,nicolasnoble/grpc,ctiller/grpc,nicolasnoble/grpc,ejona86/grpc,firebase/grpc,ejona86/grpc,vjpai/grpc,donnadionne/grpc,muxi/grpc,donnadionne/grpc,nicolasnoble/grpc,ctiller/grpc,muxi/grpc,firebase/grpc,pszemus/grpc,pszemus/grpc,jtattermusch/grpc,pszemus/grpc,firebase/grpc,ejona86/grpc,donnadionne/grpc,... | src/csharp/Grpc.Microbenchmarks/UnaryCallOverheadBenchmark.cs | src/csharp/Grpc.Microbenchmarks/UnaryCallOverheadBenchmark.cs | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... | apache-2.0 | C# | |
bde26a8282cf7d3e173413a49a88f25a6bee0db1 | Add missing file | EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,RavenB/opensim,RavenB/opensim,TomDataworks/opensim,TomDataworks/o... | OpenSim/Framework/Capabilities/LLSDTaskScriptUploadComplete.cs | OpenSim/Framework/Capabilities/LLSDTaskScriptUploadComplete.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# | |
eec7996b3713dce42b456d53a39258662d5f3075 | Test for code creation from generating polynomial was added | litichevskiydv/GfPolynoms,litichevskiydv/GfPolynoms | test/WaveletCodesTools.Tests/StandardCodesFactoryTests.cs | test/WaveletCodesTools.Tests/StandardCodesFactoryTests.cs | namespace AppliedAlgebra.WaveletCodesTools.Tests
{
using CodesResearchTools.NoiseGenerator;
using Decoding.ListDecoderForFixedDistanceCodes;
using Decoding.StandartDecoderForFixedDistanceCodes;
using FixedDistanceCodesFactory;
using GeneratingPolynomialsBuilder;
using GfAlgorithms.CombinationsC... | mit | C# | |
2b980cd972492660beb80aedd219ef08cbd05364 | Update LibraryApp | gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3,gdm-201516-prodev3/wdad3 | LibraryApp/App.API/Controllers/LibraryItemsController.cs | LibraryApp/App.API/Controllers/LibraryItemsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using App.Data;
using App.Models;
using App.Services;
using App.Services.Ahs;
namespace App.API.Controllers
{
[Route("api/[controller]")]
public class LibraryItemsController : Controller... | apache-2.0 | C# | |
09768cd74054e6cb806f0858bb5732bc9b27fd61 | Add test coverage | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Taiko.Tests/Mods/TestSceneTaikoModClassic.cs | osu.Game.Rulesets.Taiko.Tests/Mods/TestSceneTaikoModClassic.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 NUnit.Framework;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.Taiko.Beatmaps;
using osu.Game.Rulesets.Taiko.Mods;
usin... | mit | C# | |
ae2c90e8c697a24a921ec58368971a0c2766ad93 | Add tests for Generator | tunnelvisionlabs/dotnet-trees | Tvl.Collections.Trees.Test/GeneratorTest.cs | Tvl.Collections.Trees.Test/GeneratorTest.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Tvl.Collections.Trees.Test
{
using System.Reflection;
using Xunit;
public class GeneratorTest
{
[Fact]
public vo... | mit | C# | |
79100f7c42d595c42e54d3ec234bb43012169982 | Add TypeData abstract class | kcotugno/OpenARLog | OpenARLog.Data/TypeData.cs | OpenARLog.Data/TypeData.cs | /*
* Copyright (C) 2015-2016 kcotugno
* All rights reserved
*
* Distributed under the terms of the BSD 2 Clause software license. See the
* accompanying LICENSE file or http://www.opensource.org/licenses/BSD-2-Clause.
*
* Author: kcotugno
* Date: 4/6/2016
*/
using System.Data;
namespace OpenARLo... | mit | C# | |
6fb0d9c51c939b59e6249c6caac8d488721b9e45 | Add converter for old storable objects | TheEadie/LazyLibrary,TheEadie/LazyStorage,TheEadie/LazyStorage | src/LazyStorage/StorableConverter.cs | src/LazyStorage/StorableConverter.cs | using System;
using LazyStorage.Interfaces;
namespace LazyStorage.Xml
{
internal class StorableConverter<T> : IConverter<T> where T : IStorable<T>, IEquatable<T>, new()
{
public StorableObject GetStorableObject(T item)
{
return new StorableObject(item.GetStorageInfo());
}
... | mit | C# | |
5d8aacdc9d89b975b555606e352b2cad6f551f43 | Create SameAsConstraintTests.cs | blairconrad/FakeItEasy,wenyanw/FakeItEasy,wenyanw/FakeItEasy,robvanschelven/FakeItEasy,FakeItEasy/FakeItEasy,thomaslevesque/FakeItEasy,adamralph/FakeItEasy,jamiehumphries/FakeItEasy,CedarLogic/FakeItEasy,robvanschelven/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy,CedarLogic/FakeItEasy,khellang/FakeItEasy,jamie... | Source/FakeItEasy.Tests/ArgumentConstraintExtensions/SameAsConstraintTests.cs | Source/FakeItEasy.Tests/ArgumentConstraintExtensions/SameAsConstraintTests.cs | namespace FakeItEasy.Tests.ArgumentValidationExtensions
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
internal class SameAsConstraintTests
: ArgumentConstraintTestBase<object>
{
protected override IEnumerable<object> InvalidValues
{
get... | mit | C# | |
c57a388621e8cabaf17b1f5fc349f8ce5d9d4b5d | Handle cases where IThreadingContext does not provide a main thread | tannergooding/roslyn,gafter/roslyn,dotnet/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,panopticoncentral/roslyn,eriawan/roslyn,diryboy/roslyn,ErikSchierboom/roslyn,gafter/roslyn,AlekseyTs/roslyn,panopticoncentral/roslyn,eriawan/roslyn,stephentoub/roslyn,KirillOs... | src/EditorFeatures/Core/Shared/Utilities/VisualStudioTaskSchedulerProvider.cs | src/EditorFeatures/Core/Shared/Utilities/VisualStudioTaskSchedulerProvider.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.Generic;
using System.Composition;
using System.Threading.Tasks;
using Micro... | // 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.Generic;
using System.Composition;
using System.Threading.Tasks;
using Micro... | mit | C# |
3ba8c2d3f0d2d4859586d4d14a1b064ef70c750c | Add ListenHandleTests (#1923) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ListenHandleTests.cs | test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/ListenHandleTests.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.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.AspNetCore.Te... | apache-2.0 | C# | |
6e42a4db2bf063cc7f18bdf30fa2239d2700e027 | Add benchmark coverage of logger | smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework.Benchmarks/BenchmarkLogger.cs | osu.Framework.Benchmarks/BenchmarkLogger.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 BenchmarkDotNet.Attributes;
using osu.Framework.Logging;
using osu.Framework.Testing;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
... | mit | C# | |
97be3f445fbd155b8e3246a992e7fbfb74511177 | Create gisttyleoverride.cs | ShibumiWare/Blog | gisttyleoverride.cs | gisttyleoverride.cs |
.gist {
color: #000000;
direction: ltr;
font-size: 14px;
text-align: left;
}
.gist-meta a {
color: #000000 !important;
text-decoration: none;
}
.gist .gist .blob-wrapper table {
border-collapse: collapse;
}
.gist .highlight {
... | mit | C# | |
6c80742b14f928b0b56420198adbe082ea09d7e8 | Fix #64 : REPL intellisense, up/down arrow naviates history, not the intellisense | MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/R... | src/Package/Impl/Repl/Commands/HistoryNavigationCommand.cs | src/Package/Impl/Repl/Commands/HistoryNavigationCommand.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller.Command;
using Microsoft.Languages.Editor.Shell;
using Microsoft.VisualStudio.InteractiveWindow.Shell;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Te... | using System;
using Microsoft.Languages.Editor;
using Microsoft.Languages.Editor.Controller.Command;
using Microsoft.VisualStudio.InteractiveWindow.Shell;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.VisualStudio.R.Package.Repl.Commands
{
public sealed class HistoryNavigationCommand : ViewCommand... | mit | C# |
9e2a7d548fa5c742aa3def030122db20dd2c6c4b | Remove unneeded suppression | gafter/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,jasonmalinowski/roslyn,stephentoub/roslyn,mgoertz-msft/roslyn,tmat/roslyn,diryboy/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,heejaechang/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,gafter/roslyn,mavasani/roslyn,bartdesmet... | src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.cs | src/Scripting/CoreTestUtilities/ObjectFormatterFixtures/MockDesktopSpinLock.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;
using System.Threading;
namespace ObjectFormatterFixtur... | // 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;
using System.Threading;
namespace ObjectFormatterFixtur... | mit | C# |
b07d42d416bf27ec12d711e71882474634e62b48 | Add XML DOM constants | iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept | src/Peachpie.Library.XmlDom/XmlDom.cs | src/Peachpie.Library.XmlDom/XmlDom.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Peachpie.Library.XmlDom
{
#region Constants
/// <summary>
/// Enumerates possible DOM node types.
/// </summary>
public enum NodeType
{
Element = 1,
Attribute = 2,
Text = 3,
CharacterD... | apache-2.0 | C# | |
03847cbc61f0bae618664e9108e7060b4969f9b9 | Fix tests | MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,Alexander... | src/Markdown/Editor/Test/ContainedLanguage/RLanguageHandlerTest.cs | src/Markdown/Editor/Test/ContainedLanguage/RLanguageHandlerTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Common.Core.Services;
using Microsoft.Common.Core.Shell;
using Microsoft... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Languages.Editor.Projection;
using Microsoft.Markdown.Editor.ContentType... | mit | C# |
4b6c0770765beb67d89c9a7b4269023042bfe7a5 | Create FibonacciNumbers.cs | DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges | Fibonacci_Numbers/FibonacciNumbers.cs | Fibonacci_Numbers/FibonacciNumbers.cs | using System;
namespace EvenFibonacciNumbers
{
class MainClass
{
public static void Main(string[] args)
{
if (args.Length != 3)
{
Console.WriteLine("This program requires 2 starting integers, and the max terms to count!\n");
Environment.Exit(0);
}
int start1 = Convert.ToInt32(args[0]);
in... | unlicense | C# | |
b03acd6fc530c22a2cd6cac062aaedbb14bd1992 | Create CartItem.cs | daniela1991/hack4europecontest | CartItem.cs | CartItem.cs | namespace Cdiscount.OpenApi.ProxyClient.Contract.GetCart
{
/// <summary>
/// Cart item detail
/// </summary>
public class CartItem
{
/// <summary>
/// Product condition (new or used)
/// </summary>
public string Condition { get; set; }
/// <summary>
/... | mit | C# | |
541a093e6d55ead5906a07e2e31d7af8758e9622 | Add serviceable attribute to projects. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.StaticFiles/Properties/AssemblyInfo.cs | src/Microsoft.AspNet.StaticFiles/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
[assembly: AssemblyMetadata("Serviceable", "True")] | apache-2.0 | C# | |
acc676376bb50cce2fd630f181ba4370594602d0 | Add ITranslatorFactory | kotorihq/kotori-core | KotoriCore/Translators/ITranslatorFactory.cs | KotoriCore/Translators/ITranslatorFactory.cs | using KotoriCore.Database.DocumentDb;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.Documents.OData.Core.Sql;
namespace KotoriCore.Translators
{
public interface ITranslatorFactory<T> where T:IEntity
{
ITranslator<T> CreateTranslator();
}
} | mit | C# | |
ab87c93ebe1a6b5f4a7be50b4b4f746e80788b25 | Add tests for ConfigQueryResult | Choc13/Winton.Extensions.Configuration.Consul,Choc13/Winton.Extensions.Configuration.Consul | test/AspNetCore.Configuration.Consul.Test/ConfigQueryResultTests.cs | test/AspNetCore.Configuration.Consul.Test/ConfigQueryResultTests.cs | using System.Net;
using Consul;
using NUnit.Framework;
namespace Chocolate.AspNetCore.Configuration.Consul
{
[TestFixture]
internal sealed class ConfigQueryResultTests
{
[Test]
public void ShouldSetExistsToFalseWhenConstructedFromNullResult()
{
var configQueryResult = ne... | apache-2.0 | C# | |
de9e8e2fb2c344d3a81cf94dc08b7079179605e4 | Add IServiceResolver | AspectCore/Abstractions,AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework | src/IoC/src/AspectCore.Extensions.IoC/IServiceResolver.cs | src/IoC/src/AspectCore.Extensions.IoC/IServiceResolver.cs | using System;
namespace AspectCore.Extensions.IoC
{
public interface IServiceResolver : IServiceProvider
{
object Resolve(Type serviceType, object key);
}
}
| mit | C# | |
0259790f72dde84705ab81425008e8815b6709a6 | Update InactiveSite.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/api/InactiveSite.cs | src/api/InactiveSite.cs | // Copyright 2004-2006 University of Wisconsin
// All rights reserved.
//
// Contributors:
// James Domingo, UW-Madison, Forest Landscape Ecology Lab
namespace Landis.SpatialModeling
{
/// <summary>
/// Provides information about inactive sites on a landscape.
/// </summary>
public static... | // Copyright 2004-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# |
991723a3ec700197a9b99ed4c9af3c3d3b1c4ae8 | add reports to auth | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Controllers/ReviewerController.cs | Anlab.Mvc/Controllers/ReviewerController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Anlab.Core.Data;
using Microsoft.EntityFrameworkCore;
using Anlab.Core.Models;
using Microsoft.AspNetCore.Authorization;
using AnlabMvc.Models.Roles;
namespace AnlabMvc.Controllers
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Anlab.Core.Data;
using Microsoft.EntityFrameworkCore;
using Anlab.Core.Models;
using Microsoft.AspNetCore.Authorization;
using AnlabMvc.Models.Roles;
namespace AnlabMvc.Controllers
{
... | mit | C# |
eb85f0e432d17db321ff95609960adade4664c66 | add version 3 databus doco | yuxuac/docs.particular.net,WojcikMike/docs.particular.net,pedroreys/docs.particular.net,eclaus/docs.particular.net | Snippets/Snippets_3/DataBus/DataBus.cs | Snippets/Snippets_3/DataBus/DataBus.cs | using NServiceBus;
public class DataBus
{
public void FileShareDataBus()
{
string databusPath = null;
#region FileShareDataBus
Configure configure = Configure.With()
.FileShareDataBus(databusPath);
#endregion
}
}
namespace DataBusProperties
{
#region Me... | apache-2.0 | C# | |
ffee3cddfd510b499b7c6f44b1993c21c7654df9 | Add a partial view with form to reply to comments. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Project/CommentReplyFormPartial.cshtml | src/CompetitionPlatform/Views/Project/CommentReplyFormPartial.cshtml | @using System.Threading.Tasks
@using CompetitionPlatform.Helpers
@model CompetitionPlatform.Models.ProjectViewModels.ProjectCommentPartialViewModel
<form asp-controller="ProjectDetails" asp-action="AddComment" enctype="multipart/form-data">
@if (ClaimsHelper.GetUser(User.Identity).Email != null)
{
<div... | mit | C# | |
6d93031860d13302a5c41cf114407823cf7dc641 | Fix #28 | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Controllers/PlayingController.cs | Gamedalf/Controllers/PlayingController.cs | using Gamedalf.Core.Models;
using Gamedalf.Services;
using Gamedalf.ViewModels;
using Microsoft.AspNet.Identity;
using PagedList;
using System.Net;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace Gamedalf.Controllers
{
[Authorize(Roles = "player")]
public class PlayingController : Co... | mit | C# | |
69afe90571f1ab7c98564c091fb35987de0854af | add helper extension to get ef sql output | Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreExampleTests/Helpers/Extensions/IQueryableExtensions.cs | test/JsonApiDotNetCoreExampleTests/Helpers/Extensions/IQueryableExtensions.cs | using System;
using System.Linq;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Remotion.Linq.Parsing.Structure;
using Database = Microsoft.EntityFrameworkCore.Storage.Database;
namespace JsonAp... | mit | C# | |
4e72109803d93e8423954e699f36bc2e58d9e6df | Create Problem59.cs | fireheadmx/ProjectEuler,fireheadmx/ProjectEuler | Problems/Problem59.cs | Problems/Problem59.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace ProjectEuler.Problems
{
class Problem59
{
private Dictionary<byte, char> ByteToChar = new Dictionary<byte, char>();
private Dictionary<char, byte> CharToByte = new Dictionary<char, byte>();
public Problem59()
... | mit | C# | |
8e33ca8515f1c328d920e4daa6c40e0948ecd68b | Create Excercise_08.cs | jesushilarioh/Questions-and-Exercises-in-C-Sharp | Excercise_08.cs | Excercise_08.cs | using System;
public class Exercise_08
{
public static void Main()
{
/********************************************************************
*
* 8. Write a program that takes a number as input and
* print its multiplication table.
*
*
* By: Jesus Hilario Hernandez
* Last Updated: O... | mit | C# | |
d0f1969322a62d949d9610fd5118d851c6758a74 | Drop cassette config in for less integration | Mike737377/Exceptional,Mike737377/Exceptional,Mike737377/Exceptional,Mike737377/Exceptional | src/Exceptional.Web/CassetteConfiguration.cs | src/Exceptional.Web/CassetteConfiguration.cs | using Cassette;
using Cassette.Scripts;
using Cassette.Stylesheets;
namespace Exceptional.Web
{
/// <summary>
/// Configures the Cassette asset bundles for the web application.
/// </summary>
public class CassetteBundleConfiguration : IConfiguration<BundleCollection>
{
public voi... | mit | C# | |
7ed226ea97579b3399c64668b963a9a44fdd101f | fix signature | xamarin/monotouch-samples,kingyond/monotouch-samples,iFreedive/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples,iFreedive/monotouch-samples,kingyond/monotouch-samples,markradacz/monotouch-samples,albertoms/monotouch-samples,markradacz/monotouch-samples,W3SS/monotouch-samples,W3SS/monotouch-samples,... | ios9/MetalPerformanceShadersHelloWorld/MetalPerformanceShadersHelloWorld/GameViewController.cs | ios9/MetalPerformanceShadersHelloWorld/MetalPerformanceShadersHelloWorld/GameViewController.cs | using CoreAnimation;
using Foundation;
using Metal;
using MetalKit;
using MetalPerformanceShaders;
using UIKit;
using CoreGraphics;
namespace MetalPerformanceShadersHelloWorld {
public partial class GameViewController : UIViewController, IMTKViewDelegate, INSCoding {
MTKView metalView;
IMTLCommandQueue commandQu... | using CoreAnimation;
using Foundation;
using Metal;
using MetalKit;
using MetalPerformanceShaders;
using UIKit;
namespace MetalPerformanceShadersHelloWorld {
public partial class GameViewController : UIViewController, IMTKViewDelegate, INSCoding {
MTKView metalView;
IMTLCommandQueue commandQueue;
IMTLTexture s... | mit | C# |
d03ecb96bd77e5d2c3f4120301a19a7009de7210 | Create CandiesDP.cs | denivy/CSharpCode,denivy/CSharpCode | CandiesDP.cs | CandiesDP.cs | using System;
using System.IO;
class CandiesDP
{
static void Main(String[] args)
{
System.IO.StreamReader file = new System.IO.StreamReader(@"file_path.txt");
Console.SetIn(file);
int numKids, next, answer, j;
numKids = int.Parse(Console.ReadLine());
int[] ratings = new... | mit | C# | |
b917c422adcba76c7d06e2393c3fccbd0217f2c6 | Create Factorial.cs | fireheadmx/ProjectEuler,fireheadmx/ProjectEuler | Factorial.cs | Factorial.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
namespace ProjectEuler
{
class Factorial
{
private List<BigInteger> value;
public Factorial() {
value = new List<BigInteger>();
value.Add(1);
value.A... | mit | C# | |
1b1303c8c2df60520eee8ffffca3cb37bc89750e | Add file missed in build | yizhang82/corert,krytarowski/corert,shrah/corert,botaberg/corert,shrah/corert,yizhang82/corert,gregkalapos/corert,gregkalapos/corert,tijoytom/corert,shrah/corert,botaberg/corert,krytarowski/corert,tijoytom/corert,krytarowski/corert,tijoytom/corert,shrah/corert,yizhang82/corert,botaberg/corert,yizhang82/corert,tijoytom/... | src/ILCompiler.Compiler/src/Compiler/INonEmittableType.cs | src/ILCompiler.Compiler/src/Compiler/INonEmittableType.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.
namespace ILCompiler
{
/// <summary>
/// Used to mark TypeDesc types that are not part of the core type sys... | mit | C# | |
e4a843f1fbbd6bd916f712806386f5f31dbd85a3 | Add NeutralResourcesLanguageAttribute to Channels lib | adamsitnik/corefxlab,tarekgh/corefxlab,whoisj/corefxlab,Vedin/corefxlab,dotnet/corefxlab,joshfree/corefxlab,VSadov/corefxlab,VSadov/corefxlab,dotnet/corefxlab,KrzysztofCwalina/corefxlab,benaadams/corefxlab,Vedin/corefxlab,benaadams/corefxlab,VSadov/corefxlab,whoisj/corefxlab,ericstj/corefxlab,ahsonkhan/corefxlab,ahsonk... | src/System.Threading.Tasks.Channels/AssemblyAttributes.cs | src/System.Threading.Tasks.Channels/AssemblyAttributes.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.Resources;
[assembly:NeutralResourcesLanguage("en")]
| mit | C# | |
936bedb70a6ef52811b1dbe1aaa9b6984d329e7d | Create res.Designer.cs | Kivitoe/Web-Status | src/res.Designer.cs | src/res.Designer.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | mit | C# | |
66bbc09fb958f7b41b73dc04991ad7330e59d8d2 | Create MainView.xaml.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.NetCore/MainView.xaml.cs | src/Draw2D.NetCore/MainView.xaml.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 Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Draw2D.NetCore
{
public class MainView : UserControl
{
public MainV... | mit | C# | |
4476bd20637e4c16f3dd62601682061b1551a246 | Add code for creating challenge from IdentityModel | ZEISS-PiWeb/PiWeb-Api | src/Common/Utilities/ProtocolHelperExtensions.cs | src/Common/Utilities/ProtocolHelperExtensions.cs | #region Copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* Carl Zeiss IMT (IZfM Dresden) */
/* Softwaresystem PiWeb */
/* (c) Carl Zeiss 2020 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespace Zeiss.I... | bsd-3-clause | C# | |
e3c205ce3f879da09b3395dd178d445b8993c59f | Create Update.cs | zelbo/Number-Guessing | Update.cs | Update.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NumberGuessing
{
partial class Program
{
static void Update()
{
// --------------------
// Non-State-Specific Processes (quit, help)
//if(KeyState[(int)MyKeys.Esca... | mit | C# | |
c6287f92fc965132fde7494aff2e04f21c6f6bb9 | Add C# 7.0 Pattern variable with switch-statement example | devlights/try-csharp | TryCSharp.Samples/CSharp7/PatternVariableWithSwitchStatement.cs | TryCSharp.Samples/CSharp7/PatternVariableWithSwitchStatement.cs | using TryCSharp.Common;
namespace TryCSharp.Samples.CSharp7
{
[Sample]
public class PatternVariableWithSwitchStatement : IExecutable
{
public void Execute()
{
// C# 7.0 から Pattern Variables の概念が導入された
// switch 文でもパターンが利用できるようになった
this.SwitchWithPattern(10... | mit | C# | |
fc85f37eb606d44f101bf5fef3b3e89460f1b410 | Add IGameRepository interface | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/DbRepositories/Variant960/IGameRepository.cs | src/ChessVariantsTraining/DbRepositories/Variant960/IGameRepository.cs | using ChessVariantsTraining.Models.Variant960;
namespace ChessVariantsTraining.DbRepositories.Variant960
{
public interface IGameRepository
{
void Add(Game game);
void Get(string id);
void Update(Game game);
}
}
| agpl-3.0 | C# | |
abd8bbd74fc33ee9f57897d0c62e8755523653f8 | fix crash when saving weld command | Rynchodon/ARMS,Rynchodon/Autopilot,Rynchodon/Autopilot,Souper07/Autopilot,Souper07/Autopilot,Rynchodon/ARMS | Scripts/Autopilot/Instruction/Command/Weld.cs | Scripts/Autopilot/Instruction/Command/Weld.cs | using System;
using System.Collections.Generic;
using System.Text;
using Rynchodon.Autopilot.Navigator;
using Sandbox.Game.Entities;
using Sandbox.Game.Gui;
using Sandbox.ModAPI.Interfaces.Terminal;
using VRage.Utils;
namespace Rynchodon.Autopilot.Instruction.Command
{
public class Weld : ACommand
{
private Stri... | using System;
using System.Collections.Generic;
using System.Text;
using Rynchodon.Autopilot.Navigator;
using Sandbox.Game.Entities;
using Sandbox.Game.Gui;
using Sandbox.ModAPI.Interfaces.Terminal;
using VRage.Utils;
namespace Rynchodon.Autopilot.Instruction.Command
{
public class Weld : ACommand
{
private Stri... | cc0-1.0 | C# |
b504b0c9fefb3398834a36d0e524e40329d91078 | Add a missing file | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/Core.AppGlobal.cs | CreviceApp/Core.AppGlobal.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CreviceApp
{
public class AppGlobal
{
public readonly Core.Config.UserConfig UserConfig;
p... | mit | C# | |
2a28ef0e0e787b17e1d0226f9f98b85b8a8c7109 | Add debug printing to the TAPCfgTest class about packet headers | zhanleewo/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,eyecreate/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,juhovh/tapcfg | src/bindings/TAPCfgTest.cs | src/bindings/TAPCfgTest.cs |
using TAP;
using System;
using System.Net;
public class TAPCfgTest {
private static void Main(string[] args) {
EthernetDevice dev = new EthernetDevice();
dev.Start();
dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16);
dev.SetAddress(IPAddress.Parse("fc00::1"), 64);
dev.Enabled = true;
while (true) {
... |
using TAP;
using System.Net;
public class TAPCfgTest {
private static void Main(string[] args) {
EthernetDevice dev = new EthernetDevice();
dev.Start();
dev.SetAddress(IPAddress.Parse("192.168.1.1"), 16);
dev.SetAddress(IPAddress.Parse("fc00::1"), 64);
dev.Enabled = true;
System.Threading.Thread.Sleep(1... | lgpl-2.1 | C# |
ba26ec513ddcbd054e924517f73089e1d16395ba | enhance AutoGrab script | thestonefox/VRTK,mbbmbbmm/SteamVR_Unity_Toolkit,virror/VRTK,Innoactive/IA-unity-VR-toolkit-VRTK,red-horizon/VRTK,phr00t/SteamVR_Unity_Toolkit,nmccarty/htvr,jcrombez/SteamVR_Unity_Toolkit,gpvigano/SteamVR_Unity_Toolkit,Blueteak/SteamVR_Unity_Toolkit,adamjweaver/VRTK,Fulby/VRTK,pargee/SteamVR_Unity_Toolkit,gomez-addams/S... | Assets/SteamVR_Unity_Toolkit/Scripts/VRTK_ObjectAutoGrab.cs | Assets/SteamVR_Unity_Toolkit/Scripts/VRTK_ObjectAutoGrab.cs | namespace VRTK
{
using UnityEngine;
using System.Collections;
public class VRTK_ObjectAutoGrab : MonoBehaviour
{
public VRTK_InteractableObject objectToGrab;
public bool cloneGrabbedObject;
private VRTK_InteractGrab controller;
private IEnumerator Start()
{
... | namespace VRTK
{
using UnityEngine;
using System.Collections;
public class VRTK_ObjectAutoGrab : MonoBehaviour
{
public GameObject objectToGrab;
public bool cloneGrabbedObject;
private VRTK_InteractGrab controller;
private IEnumerator Start()
{
con... | mit | C# |
8998322f932c6f6afe322d6f4eb4a82f623c5151 | Add assembly info. | hymerman/nvidia-texture-tools,salamanderrake/nvidia-texture-tools,svn2github/nvidia-texture-tools,svn2github/nvidia-texture-tools,hymerman/nvidia-texture-tools,hymerman/nvidia-texture-tools,salamanderrake/nvidia-texture-tools,casseveritt/nvidia-texture-tools,hymerman/nvidia-texture-tools,casseveritt/nvidia-texture-tool... | project/vc8/Nvidia.TextureTools/Properties/AssemblyInfo.cs | project/vc8/Nvidia.TextureTools/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: AssemblyTi... | mit | C# | |
423a836bad0454a226895533e894f98b56a995d7 | Add new class to facilitate multi-threaded onion generation | printerpam/purpleonion,printerpam/purpleonion,neoeinstein/purpleonion | src/Xpdm.PurpleOnion/OnionGenerator.cs | src/Xpdm.PurpleOnion/OnionGenerator.cs | using System;
using System.ComponentModel;
namespace Xpdm.PurpleOnion
{
class OnionGenerator
{
private readonly BackgroundWorker worker = new BackgroundWorker();
public OnionGenerator()
{
worker.DoWork += GenerateOnion;
worker.RunWorkerCompleted += RunWorkerCompleted;
}
public event EventHandle... | bsd-3-clause | C# | |
29206d321129910331493317c0a1ecb88771a605 | Remove test classes | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.ServiceHost/ContainerModule.cs | InfinniPlatform.ServiceHost/ContainerModule.cs | using InfinniPlatform.IoC;
namespace InfinniPlatform.ServiceHost
{
public class ContainerModule : IContainerModule
{
public void Load(IContainerBuilder builder)
{
// Register dependencies
}
}
} | using System;
using System.Reflection;
using System.Threading.Tasks;
using InfinniPlatform.Cache;
using InfinniPlatform.Http;
using InfinniPlatform.IoC;
namespace InfinniPlatform.ServiceHost
{
public class ContainerModule : IContainerModule
{
public void Load(IContainerBuilder builder)
{
... | agpl-3.0 | C# |
f518696f6e2adf57c6c06a02988775a998d0591f | add courses controller | alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university | ContosoUniversity.Spa.React/Controllers/CoursesController.cs | ContosoUniversity.Spa.React/Controllers/CoursesController.cs | using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using ContosoUniversity.Common.Interfaces;
using ContosoUniversity.Data.Entities;
using System.Linq;
using ContosoUniversity.Common;
using ContosoUniversity.Data.DbContexts;
using ContosoUniversity.Com... | mit | C# | |
b13736500d26464b730426d9589b757d0b1f4bd0 | Add unit of work interface | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | src/ZobShop.Data/Contracts/IUnitOfWork.cs | src/ZobShop.Data/Contracts/IUnitOfWork.cs | using System;
namespace ZobShop.Data.Contracts
{
public interface IUnitOfWork : IDisposable
{
void Commit();
}
}
| mit | C# | |
f7cf56f130e7a3f1965f8ba2a0277ed073cc69dc | test value handling | ElderByte-/Archimedes.Framework | Archimedes.Framework.Test/ConfigurationTest/Values/TestValueService.cs | Archimedes.Framework.Test/ConfigurationTest/Values/TestValueService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Archimedes.Framework.DI.Attribute;
using Archimedes.Framework.Stereotype;
namespace Archimedes.Framework.Test.ConfigurationTest.Values
{
[Service]
public class TestValueService
{
... | mit | C# | |
020ef160a2eb77e7369f4f78b7dd75a220d0ac9d | Create Day_2.cs | leocabrallce/HackerRank,leocabrallce/HackerRank | Day_2.cs | Day_2.cs | using System;
class Solution
{
static void Main(String[] args)
{
var mealCost = double.Parse(Console.ReadLine());
var tipPercent = int.Parse(Console.ReadLine());
var taxPercent = int.Parse(Console.ReadLine());
var tip = tipPercent * mealCost / 100;
var tax = taxPercent ... | mit | C# | |
d7936f98d44fe4aa83948a00e0dd4b84adbf18bd | fix #11 - uwp scheduled notifications message ID was incorrect | aritchie/notifications | Acr.Notifications.Uwp/NotificationsImpl.cs | Acr.Notifications.Uwp/NotificationsImpl.cs | using System;
using System.Linq;
using Windows.Data.Xml.Dom;
using Windows.Storage;
using Windows.UI.Notifications;
namespace Acr.Notifications
{
public class NotificationsImpl : AbstractNotificationsImpl
{
const string TOAST_TEMPLATE = @"
<toast>
{0}
<visual>
<binding template=""ToastText02"... | mit | C# | |
bb79f9a309033d6cfa1514f6959861b767367508 | Create CertificateMixed.cs | OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core/IdentityModel/TokenProviders/ADFS/CertificateMixed.cs | Core/OfficeDevPnP.Core/IdentityModel/TokenProviders/ADFS/CertificateMixed.cs | mit | C# | ||
64609ae9366c624e930ba79b6c6edd0ac28eebb0 | Add DriverStandings tests. | lewishenson/FluentErgast | FluentErgast.Tests/F1/DriverStandingsTests.cs | FluentErgast.Tests/F1/DriverStandingsTests.cs | using System;
using System.Threading.Tasks;
using FluentAssertions;
using FluentErgast.F1.Mappers;
using FluentErgast.Http;
using NSubstitute;
using Xunit;
using Dtos = FluentErgast.F1.Dtos;
using DriverStandingsInstance = FluentErgast.F1.DriverStandings;
using InternalDtos = FluentErgast.F1.InternalDtos;
namespace Fl... | mit | C# | |
94a737891650685023e88a9143d842a54b012682 | Fix MessageBox behaviour | zlphoenix/Wox,EmuxEvans/Wox,kayone/Wox,renzhn/Wox,danisein/Wox,kdar/Wox,JohnTheGr8/Wox,jondaniels/Wox,18098924759/Wox,gnowxilef/Wox,shangvven/Wox,kdar/Wox,yozora-hitagi/Saber,Megasware128/Wox,dstiert/Wox,apprentice3d/Wox,Launchify/Launchify,vebin/Wox,gnowxilef/Wox,18098924759/Wox,jondaniels/Wox,vebin/Wox,mika76/Wox,san... | Wox.Plugin.SystemPlugins/Program/ProgramSetting.xaml.cs | Wox.Plugin.SystemPlugins/Program/ProgramSetting.xaml.cs | using System.Windows;
using System.Windows.Controls;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins.Program
{
/// <summary>
/// Interaction logic for ProgramSetting.xaml
/// </summary>
public partial class ProgramSetting : UserControl
{
public ProgramSett... | using System.Windows;
using System.Windows.Controls;
using Wox.Infrastructure.Storage.UserSettings;
namespace Wox.Plugin.SystemPlugins.Program
{
/// <summary>
/// Interaction logic for ProgramSetting.xaml
/// </summary>
public partial class ProgramSetting : UserControl
{
public ProgramSett... | mit | C# |
9277b38426ac865715e5da382d8e995af45d7de7 | Add PublicAccessPrevention integration test | jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/PublicAccessPreventionTest.cs | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/PublicAccessPreventionTest.cs | // Copyright 2021 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# | |
55327c16e3828c52496fa3c2bfe29f5859c5cc60 | Create HelloWorld.cs | m181190/2017Challenges,erocs/2017Challenges,erocs/2017Challenges,erocs/2017Challenges,DakRomo/2017Challenges,m181190/2017Challenges,m181190/2017Challenges,DakRomo/2017Challenges,mindm/2017Challenges,mindm/2017Challenges,mindm/2017Challenges,m181190/2017Challenges,erocs/2017Challenges,erocs/2017Challenges,erocs/2017Chal... | challenge_0/CSharp/badoomtch/HelloWorld.cs | challenge_0/CSharp/badoomtch/HelloWorld.cs | using System;
namespace ProgrammingPlayground
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
}
}
}
| mit | C# | |
5dc910c8808479430a2ba90687e5583788ae801d | Add utility class. | ShooShoSha/SEUtility | Utility.cs | Utility.cs | /*
Copyright (c) 2015 Kevin O'Brien
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute,... | mit | C# | |
991517d647d7f72ff066c61ff162af92aaa266c8 | Add simple test case | smoogipooo/osu-framework,Tom94/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-... | osu.Framework.Tests/Visual/TestCaseCircularContainerSizing.cs | osu.Framework.Tests/Visual/TestCaseCircularContainerSizing.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Fra... | mit | C# | |
c14fe94699e79fdedc4f68e3237dd863534a966e | Add test class 'FindInfoCarrierTest' | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.EFCore.FunctionalTests/FindInfoCarrierTest.cs | test/InfoCarrier.Core.EFCore.FunctionalTests/FindInfoCarrierTest.cs | namespace InfoCarrier.Core.EFCore.FunctionalTests
{
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Specification.Tests;
public abstract class FindInfoCarrierTest
: FindTestBase<TestStore, FindInfoCarrierTest.FindInfoCarrierFixture>
{
... | mit | C# | |
98b2b746ef63a2c9a8ea5f6463a838a43871c34c | Create DeleteSkillCommandHandler.cs | NinjaVault/NinjaHive,NinjaVault/NinjaHive | NinjaHive.BusinessLayer/CommandHandlers/DeleteSkillCommandHandler.cs | NinjaHive.BusinessLayer/CommandHandlers/DeleteSkillCommandHandler.cs | using NinjaHive.Contract.Commands;
using NinjaHive.Core;
using NinjaHive.Domain;
namespace NinjaHive.BusinessLayer.CommandHandlers
{
public class DeleteSkillCommandHandler
: ICommandHandler<DeleteSkillCommand>
{
private readonly IRepository<SkillEntity> skillEntityRepository;
public D... | apache-2.0 | C# | |
0cf1157c8d6242d7c18532aab521a9987481f68d | Implement AbstractRemoveRedundantEqualityWithTrueCodeFixProvider | eriawan/roslyn,stephentoub/roslyn,eriawan/roslyn,KevinRansom/roslyn,panopticoncentral/roslyn,bartdesmet/roslyn,aelij/roslyn,brettfo/roslyn,jasonmalinowski/roslyn,aelij/roslyn,physhi/roslyn,diryboy/roslyn,wvdd007/roslyn,bartdesmet/roslyn,AlekseyTs/roslyn,ErikSchierboom/roslyn,sharwell/roslyn,KirillOsenkov/roslyn,CyrusNa... | src/Analyzers/Core/CodeFixes/RemoveRedundantEqualityWithTrue/AbstractRemoveRedundantEqualityWithTrueCodeFixProvider.cs | src/Analyzers/Core/CodeFixes/RemoveRedundantEqualityWithTrue/AbstractRemoveRedundantEqualityWithTrueCodeFixProvider.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.Threading;
using System.Threading.Tasks;
using Micro... | mit | C# | |
402c2308a4b7c6d4eb8febedd874d52eb1f41249 | Add test to ensure ClaimsPrincipal serializes via MobileFormatter | MarimerLLC/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,rockfordlhotka/csla | Source/csla.netcore.test/Serialization/ClaimsPrincipalTests.cs | Source/csla.netcore.test/Serialization/ClaimsPrincipalTests.cs | //-----------------------------------------------------------------------
// <copyright file="ClaimsPrincipalTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//-----------------------------------... | mit | C# | |
0ed077fc2559ad60d6d3fea9156137164ead1749 | Create CountFactorielZeros.cs | emilisa/CountFactorielZeros | CountFactorielZeros.cs | CountFactorielZeros.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
namespace CountFactorielZeros
{
class CountFactorielZeros
{
/// <Exercise>
/// Write a program that calculates for given N how many trailing zeros present at the end of the number N!.
... | mit | C# | |
ed92f53c50959e9273305d400d8d0895da1f5480 | Create RecordDeclarationOrganizer.cs | sharwell/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,eriawan/roslyn,wvdd007/roslyn,CyrusNajmabadi/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,diryboy/roslyn,physhi/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,tmat/roslyn,weltka... | src/Features/CSharp/Portable/Organizing/Organizers/RecordDeclarationOrganizer.cs | src/Features/CSharp/Portable/Organizing/Organizers/RecordDeclarationOrganizer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using M... | mit | C# | |
faf87cb0d00d3830393608090590b28f50e99654 | add concat | m5knt/ThunderEgg.Extensions | src/Collections/Concat.cs | src/Collections/Concat.cs | /**
* @file
* @brief Repeat操作
*/
using System;
using System.Collections;
using System.Collections.Generic;
namespace ThunderEgg.Extentions {
public static partial class A {
/// <summary>IEnumerator を連結します</summary>
public static IEnumerator //
Concat(this IEnumerator @this, IEnum... | mit | C# | |
2c990e5474aeac92d354c1441063de5db401b7bd | add http request reason provider test | carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,carldai0106/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/... | test/Abp.Web.Tests/EntityHistory/EntityHistory_Reason_Tests.cs | test/Abp.Web.Tests/EntityHistory/EntityHistory_Reason_Tests.cs | using System.Threading.Tasks;
using Abp.Dependency;
using Abp.EntityHistory;
using Abp.TestBase;
using Abp.Web.EntityHistory;
using Shouldly;
using Xunit;
namespace Abp.Web.Tests
{
public class EntityHistory_Reason_Tests : AbpIntegratedTestBase<AbpWebModule>
{
private readonly MyNonUseCaseMarkedClass ... | mit | C# | |
765bd3b35e286c910eb83b0e4ffa1ed6a33828b5 | add OnTestChecker | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter/AsyncHelpers/ConfigureAwaitCheckers/CustomCheckers/OnTestChecker.cs | AsyncConverter/AsyncHelpers/ConfigureAwaitCheckers/CustomCheckers/OnTestChecker.cs | using AsyncConverter.Checkers;
using AsyncConverter.Settings;
using JetBrains.Application.Settings;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
namespace AsyncConverter.AsyncHelpers.ConfigureAwaitCheckers.CustomCheckers
{
[SolutionComponent]
int... | mit | C# | |
24b2b06ea019f1d6a39ad7af58f54dccd5624996 | Disable concurrent test execution | jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/AssemblyInfo.cs | apis/Google.Cloud.Translation.V2/Google.Cloud.Translation.V2.Tests/AssemblyInfo.cs | // Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | apache-2.0 | C# | |
a39d5c01e1693576e48f50d02d3a0033f1cd2003 | Create SamplePacket.cs | cfairchi/MulticastUDP | packets/SamplePacket.cs | packets/SamplePacket.cs | namespace MulticastUDP.packets {
public class SamplePacket : Packet {
public double DoubleValue {get;set;}
public string StringValue {get;set;}
public DateTime DateTimeValue {get;set}
public override PACKETTYPE PacketType {get { return PACKETTYPE.SAMPLE; }}
... | mit | C# | |
8faecc20eb4337b6a47fba7117005b7cc099f2e7 | Create KelvinTegelaar.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KelvinTegelaar.cs | src/Firehose.Web/Authors/KelvinTegelaar.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 KelvinTegelaar : IAmACommunityMember
{
public string FirstName => "Kelvin";
public string ... | mit | C# | |
b44db9f5e5036fd59cb4e62f2b2a40df56aaff14 | Add test scene for thumbnail component | peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Beatmaps/TestSceneBeatmapCardThumbnail.cs | osu.Game.Tests/Visual/Beatmaps/TestSceneBeatmapCardThumbnail.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps.Drawables.Cards;
using osu.Game.Overlays;
using osuTK;
names... | mit | C# | |
b8824e64c45ef9cc2a38869a745877b43b691f00 | Add near-empty Row class | 12joan/hangman | row.cs | row.cs | using System;
namespace Hangman {
public class Row {
public Row() {
}
}
}
| unlicense | C# | |
fec7c44606cacd645ac8e4d37520d653c4d85e0a | Create program.cs | nathanrosspowell/presentations,nathanrosspowell/presentations,nathanrosspowell/presentations,nathanrosspowell/presentations | src/beginner_guides/programmer_talk/program.cs | src/beginner_guides/programmer_talk/program.cs | // Lesson 1 CPP examples.
#include "stdafx.h" // This is what a basic 'Console Application' gets set up with in Visual Studio
#include <stdio.h> // Includes the function like printf
#include <vector> // Includes std::vector, which means standard resizable array -or- a list
#include <string> // Includes std::string ... | mit | C# | |
9176a8b50f627f25d624138309c5df3166c47257 | Create BaseService.cs | ioab/.NET-EF6-GenericRepository,CypressNorth/.NET-EF6-GenericRepository | BaseService.cs | BaseService.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace com.youapp.data.services
{
public class BaseService<TObject> where TObject : class
{
protected RecipeContext _context;
public Base... | mit | C# | |
9796bb82fa99f40def19326346364aaa97ba0cf1 | Create ProductSize.cs | daniela1991/hack4europecontest | ProductSize.cs | ProductSize.cs | namespace Cdiscount.OpenApi.ProxyClient.Contract.Common
{
/// <summary>
/// product size entity
/// </summary>
public class ProductSize
{
/// <summary>
/// Size identifier
/// </summary>
public string Id { get; set; }
/// <summary>
/// Size na... | mit | C# | |
53db9f7f9dbcdc87a566f4865f3227103ea2fea4 | Insert new files, Alura, C# e seus Fundamentos, Aula 1 | fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs | alura/c-sharp/Form1.cs | alura/c-sharp/Form1.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 OiMundo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private vo... | mit | C# | |
c0c8167b8981859b3caee3068c3674beedb8a5aa | Add AddAspectScope extensions | AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions | extras/src/AspectCore.Extensions.AspNetCore/Extensions/ServiceCollectionExtensions.cs | extras/src/AspectCore.Extensions.AspNetCore/Extensions/ServiceCollectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Text;
using AspectCore.DynamicProxy;
using AspectCore.Extensions.AspectScope;
using Microsoft.Extensions.DependencyInjection;
namespace AspectCore.Extensions.AspNetCore
{
public static class ServiceCollectionExtensions
{
public static IServi... | mit | C# | |
347eeec65fcbefea577cd2de488b6f1b0fafb7a4 | Add shader disposal test coverage | ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Tests/Shaders/TestSceneShaderDisposal.cs | osu.Framework.Tests/Shaders/TestSceneShaderDisposal.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.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Graphics.Shaders;
using osu.Framework.IO.Stores;
using osu.Framework.Testing;
u... | mit | C# | |
6e797ddcac59f939f7fed68a9f0a91c1bf9a5143 | Add test coverage of creating, saving and loading a new beatmap | NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorSaving.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.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Edit;
usi... | mit | C# | |
b9ce54f3cabdede8f7d2092787ca55f7a7fefd43 | Make sure changelist timer is enabled in watchdog, because Steamkit can get stuck between being connected and logging in | agarbuno/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend | Managers/Watchdog.cs | Managers/Watchdog.cs | /*
* Copyright (c) 2013-2015, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
using System;
using System.Threading;
namespace SteamDatabaseBackend
{
class Watchdog
{
public Watchdog()
{
new T... | /*
* Copyright (c) 2013-2015, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
using System;
using System.Threading;
namespace SteamDatabaseBackend
{
public class Watchdog
{
public Watchdog()
{
... | bsd-3-clause | C# |
21e20056adf05009833d39631dcb72480fda96ae | Make Activity Serializable on NET 4.5 since it's stored in CallContext | YoupHulsebos/corefx,JosephTremoulet/corefx,alexperovich/corefx,rjxby/corefx,axelheer/corefx,seanshpark/corefx,wtgodbe/corefx,YoupHulsebos/corefx,Ermiar/corefx,JosephTremoulet/corefx,dhoehna/corefx,fgreinacher/corefx,stephenmichaelf/corefx,rubo/corefx,ravimeda/corefx,DnlHarvey/corefx,parjong/corefx,BrennanConroy/corefx,... | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs | src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Remoting.Messaging;
using System.Security;
using System.Threading;
namespace System.Diagnostic... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Remoting.Messaging;
using System.Security;
using System.Threading;
namespace System.Diagnostic... | mit | C# |
6eec78211044fa0ec5047304bebd8fca24ab133c | Add basic Dispatcher class | Vtek/Bartender | src/Bartender/Dispatcher.cs | src/Bartender/Dispatcher.cs | namespace Bartender
{
/// <summary>
/// Dispatcher.
/// </summary>
public class Dispatcher
{
/// <summary>
/// Dependency container.
/// </summary>
private IDependencyContainer Container { get; }
/// <summary>
/// Initializes a new instance of the Dis... | mit | C# | |
49abe00fb7e9e35bf775e0b5c0d98f8e6676acf1 | Add credentials template to fix ci build errors | InfiniteSoul/Azuria | Azuria.Test/Credentials.cs | Azuria.Test/Credentials.cs | namespace Azuria.Test
{
internal static class Credentials
{
public const string ApiKey = "";
public const string Password = "";
public const string Username = "";
}
} | mit | C# | |
3cd6dcaed2e8a77e7ba372c7f8dc0d0509ae2268 | add ParseException | rit-sse-mycroft/core | Mycroft.Messages/ParseException.cs | Mycroft.Messages/ParseException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mycroft.Messages
{
public class ParseException : Exception
{
public string Received { get; private set; }
public string Message { get; private set; }
public vo... | bsd-3-clause | C# | |
77c293e067a8b2263a51a541c7744a584746d60e | Comment code. | tannergooding/roslyn,robinsedlaczek/roslyn,davkean/roslyn,brettfo/roslyn,stephentoub/roslyn,jkotas/roslyn,genlu/roslyn,sharadagrawal/Roslyn,yeaicc/roslyn,wvdd007/roslyn,aelij/roslyn,AlekseyTs/roslyn,AArnott/roslyn,jamesqo/roslyn,KiloBravoLima/roslyn,MattWindsor91/roslyn,ericfe-ms/roslyn,ErikSchierboom/roslyn,mattwar/ro... | src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/IDeclarationInfo.cs | src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/IDeclarationInfo.cs | using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.FindSymbols
{
/// <summary>
/// Information about all the declarations defined within a document. Each declaration in the
/// document get a single item in <see cref="IDeclarationInfo.DeclaredSymbolInfos"/>.
/// </summary>
interna... | using System.Collections.Generic;
namespace Microsoft.CodeAnalysis.FindSymbols
{
internal interface IDeclarationInfo
{
IReadOnlyList<DeclaredSymbolInfo> DeclaredSymbolInfos { get; }
}
} | apache-2.0 | C# |
7d8cec63e7f5ea08c1a1c2cc3caa508e0c012ca7 | Revert "try threaded" | Fody/EmptyConstructor | Tests/TestConfig.cs | Tests/TestConfig.cs | using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)] | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.