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 |
|---|---|---|---|---|---|---|---|---|
fbe9c65d06de67c4930ad34c9c14a91306294a43 | Add an abstraction for either reporting an array or results, or streaming them in LSP scenarios. | heejaechang/roslyn,heejaechang/roslyn,diryboy/roslyn,physhi/roslyn,physhi/roslyn,eriawan/roslyn,panopticoncentral/roslyn,sharwell/roslyn,sharwell/roslyn,mavasani/roslyn,AlekseyTs/roslyn,mavasani/roslyn,gafter/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,dotnet/roslyn,AmadeusW/roslyn,wvdd007/roslyn,AmadeusW/ros... | src/Features/LanguageServer/Protocol/Handler/BufferedProgress.cs | src/Features/LanguageServer/Protocol/Handler/BufferedProgress.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAnalysis.Langu... | mit | C# | |
49300afad6308ca2334fa0fd911b62d1a41291a0 | Test to repro multiple subscribers issue | petedavis/MassTransit,lahma/MassTransit,lahma/MassTransit,abombss/MassTransit,ccellar/MassTransit,lahma/MassTransit,ccellar/MassTransit,ccellar/MassTransit,abombss/MassTransit,petedavis/MassTransit,vebin/MassTransit,D3-LucaPiombino/MassTransit,lahma/MassTransit,vebin/MassTransit,jsmale/MassTransit,ccellar/MassTransit,a... | src/MassTransit.Tests/Subscriptions/MultipleSubscribers_Specs.cs | src/MassTransit.Tests/Subscriptions/MultipleSubscribers_Specs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MassTransit.Tests.TextFixtures;
using MassTransit.TestFramework;
using MassTransit.BusConfigurators;
using NUnit.Framework;
using Magnum.TestFramework;
using Magnum;
using Magnum.Extensions;
namespace MassTransit.Tests.Subscri... | apache-2.0 | C# | |
5e2ba4cc68a34234befac01e157b25b369d85070 | Add DiplomWorksController | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.WebUI/Controllers/DiplomWorksController.cs | src/Diploms.WebUI/Controllers/DiplomWorksController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Diploms.Core;
using Diploms.Dto;
using Diploms.Services.DiplomWorks;
namespace Diploms.WebUI.Controllers
{
[Route("api/[controller]")]
public class DiplomWorksController : Cont... | mit | C# | |
ba5fa3beb59b92747aeb51e5f6e9bb27ed11cf76 | Improve test coverage | carbon/Amazon | src/Amazon.Route53.Tests/Actions/GetChangeResponseTests.cs | src/Amazon.Route53.Tests/Actions/GetChangeResponseTests.cs | using Xunit;
namespace Amazon.Route53.Tests
{
public class GetChangeResponseTests
{
[Fact]
public void Deserialize()
{
string text = @"<GetChangeResponse xmlns=""https://route53.amazonaws.com/doc/2013-04-01/"">
<ChangeInfo>
<Id>1</Id>
<Status>INSY... | mit | C# | |
250dbdb4f8cb918257dcfd9d15907c4a2444ef04 | Add test cases for ViewModels.AboutWindowViewModel | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/ViewModels/AboutWindowViewModelTests.cs | ThScoreFileConverterTests/ViewModels/AboutWindowViewModelTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Properties;
using ThScoreFileConverter.ViewModels;
namespace ThScoreFileConverterTests.ViewModels
{
[TestClass]
public class AboutWindowViewModelTests
{
[TestMethod]
public voi... | bsd-2-clause | C# | |
a161cb8c12b5038916108f5eea9eb342dedbaa49 | Add mising files | Pietervdw/sageone-api-wrapper | src/SageOneApi/Models/Quote.cs | src/SageOneApi/Models/Quote.cs | using System;
using System.Collections.Generic;
namespace SageOneApi.Models
{
//
public class Quote : BaseModel
{
public DateTime ExpiryDate { get; set; }
public bool AllowOnlineAccept { get; set; }
public bool UseForeignCurrency { get; set; }
public string Statu... | mit | C# | |
b1317ef5a6aab06d5faf071986978f9f95810b43 | Add FileOverrideException | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Infrastructure/Exceptions/FileOverrideException.cs | Gamedalf/Infrastructure/Exceptions/FileOverrideException.cs | using System;
using System.Runtime.Serialization;
namespace Gamedalf.Infrastructure.Exceptions
{
/// <summary>
/// The exception that is thrown when a file is about to be override,
/// even though FileHandler._override was initiated with false.
/// </summary>
public class FileOverrideExc... | mit | C# | |
6821b5bab1719bfcc04659e7ca54cbbe411e2dc5 | add DistributedCacheStateDataFormatter | chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4 | src/IdentityServer4/Hosting/DistributedCacheStateDataFormatter.cs | src/IdentityServer4/Hosting/DistributedCacheStateDataFormatter.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.AspNetCore.Http;
using Mi... | apache-2.0 | C# | |
4e695c8df557d81b9bd1fd7deb8cd1de0c983e66 | Create 01.Money.cs | stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity | .ProgramingBasics/ProgrammingBasicsExam-17July2016/01.Money.cs | .ProgramingBasics/ProgrammingBasicsExam-17July2016/01.Money.cs | using System;
public class Money
{
public static void Main()
{
int bitcoins = int.Parse(Console.ReadLine());
var yuans = double.Parse(Console.ReadLine());
var commision = double.Parse(Console.ReadLine()) / 100.00;
var bitcoinsInLeva = bitcoins * 1168.0;
var yuansToDolla... | mit | C# | |
e3933a32afb89a0fbf48a8769f37907ee47b30d4 | Create Triggers_Lives_Countdown.cs | Tech-Curriculums/101-GameDesign-2D-GameDesign-With-Unity | AngryHipsters/Triggers_Lives_Countdown.cs | AngryHipsters/Triggers_Lives_Countdown.cs | using UnityEngine;
using System.Collections;
public class Triggers_Lives_Countdown : MonoBehaviour {
//this will be our global scorekeeper, the "ref" so to speak
public GLOBAL globalRef;
void Start() {
//This is how you access another gameobject's scripties
globalRef = GameObject.Find("Referee").GetComponent<... | mit | C# | |
6149482b5d81d67778ab66043926dec885802374 | Add test | UselessToucan/osu,EVAST9919/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Tests/Visual/UserInterface/TestCaseFooterButtonMods.cs | osu.Game.Tests/Visual/UserInterface/TestCaseFooterButtonMods.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.Game.Graphics.Sprites;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Mods;
us... | mit | C# | |
4dd94d05eb306a099e2a8ec95551e1a92cc35000 | add SelectedTreeViewItemBehavior | Insire/MvvmScarletToolkit,Insire/MvvmScarletToolkit | MvvmScarletToolkit/Behaviors/SelectedTreeViewItemBehavior.cs | MvvmScarletToolkit/Behaviors/SelectedTreeViewItemBehavior.cs | using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
namespace MvvmScarletToolkit
{
// usage:
// xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
// <i:Interaction.Behaviors>
// <local:SelectedTreeViewItemBehavior SelectedItem = "{Binding Selecte... | mit | C# | |
efba95edd91c046ef14701a8201cbdb029e4f306 | Add MidiMetaType.GetBpm() and tests. | atsushieno/managed-midi | Commons.Music.Midi.Tests/SMFTest.cs | Commons.Music.Midi.Tests/SMFTest.cs | using System;
using NUnit.Framework;
namespace Commons.Music.Midi.Tests
{
[TestFixture]
public class SMFTest
{
[Test]
public void GetBpm ()
{
Assert.AreEqual (120, MidiMetaType.GetBpm (new byte[] {7, 0xA1, 0x20}), "120");
Assert.AreEqual (140, Math.Round (MidiMetaType.GetBpm (new byte[] {6, 0x8A, 0xB1})... | mit | C# | |
d854e20b2d4245245efc19e676e6862cdbd162f6 | Update copyright year | 0xd4d/dnlib,ilkerhalil/dnlib,picrap/dnlib,yck1509/dnlib,Arthur2e5/dnlib,ZixiangBoy/dnlib,kiootic/dnlib,jorik041/dnlib,modulexcite/dnlib | Examples/Properties/AssemblyInfo.cs | Examples/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("dnlib.Examples")]
[assembly: AssemblyDescription("dnlib examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("dnlib.Examples")]
[assembly: AssemblyCopyright("Copyright (C) 2... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("dnlib.Examples")]
[assembly: AssemblyDescription("dnlib examples")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("dnlib.Examples")]
[assembly: AssemblyCopyright("Copyright (C) 2... | mit | C# |
60c224f7a20397de9f65aa55f5a49fbf22bae829 | fix for handling null return message from OnAsk. | AntyaDev/Orleankka,llytvynenko/Orleankka,mhertis/Orleankka,llytvynenko/Orleankka,AntyaDev/Orleankka,mhertis/Orleankka,OrleansContrib/Orleankka,yevhen/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka,pkese/Orleankka,ElanHasson/Orleankka,ElanHasson/Orleankka | Source/Orleankka.Core/ResponseEnvelope.cs | Source/Orleankka.Core/ResponseEnvelope.cs | using System;
using System.Linq;
using Orleans.CodeGeneration;
using Orleans.Serialization;
namespace Orleankka.Core
{
/// <summary>
/// FOR INTERNAL USE ONLY!
/// </summary>
public class ResponseEnvelope
{
public readonly object Message;
internal ResponseEnvelop... | using System;
using System.Linq;
using Orleans.CodeGeneration;
using Orleans.Serialization;
namespace Orleankka.Core
{
/// <summary>
/// FOR INTERNAL USE ONLY!
/// </summary>
public class ResponseEnvelope
{
public readonly object Message;
internal ResponseEnvelop... | apache-2.0 | C# |
b0534dfeac2286269e098164b4a7773eca22135d | Add GetAttributeValue | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Utilities/XElement.GetAttributeValue.cs | source/Nuke.Common/Utilities/XElement.GetAttributeValue.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using System.Xml.Linq;
namespace Nuke.Common.Utilities
{
public static partial class XElementExtensions
{
public static string GetAtt... | mit | C# | |
8c65721f103d0344e41bc55ddfc82b4b7d04c414 | Add IsExternalInit support | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Elastic.Clients.Elasticsearch/Common/IsExternalInit.cs | src/Elastic.Clients.Elasticsearch/Common/IsExternalInit.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
namespace System.Runtime.CompilerServices
{
# if !NET5_0_OR_GREATER
using System.ComponentModel;
/// <summary>
... | apache-2.0 | C# | |
84f65e1124512f9295be78311d4003e1b12d7a36 | Add LocaleWindowsApiHelper | seanshpark/corefx,lggomez/corefx,twsouthwick/corefx,cartermp/corefx,alexandrnikitin/corefx,yizhang82/corefx,Ermiar/corefx,shmao/corefx,ericstj/corefx,the-dwyer/corefx,wtgodbe/corefx,nchikanov/corefx,iamjasonp/corefx,nbarbettini/corefx,jcme/corefx,marksmeltzer/corefx,Petermarcu/corefx,shimingsg/corefx,mmitche/corefx,sea... | src/System.Data.SqlClient/src/Interop/LocaleWindowsApiHelper.cs | src/System.Data.SqlClient/src/Interop/LocaleWindowsApiHelper.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Concurrent;
using System.Data.Common;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
using System.... | mit | C# | |
c6d7bec47383919793721ecf9ca5f6966fb86033 | Create TermDistinctValuesCollector.cs | NightOwl888/lucenenet,mdissel/lucene.net,jeme/lucenenet,NightOwl888/lucenenet,NightOwl888/lucenenet,jeme/lucenenet,NightOwl888/lucenenet,jeme/lucenenet,apache/lucenenet,mdissel/lucene.net,laimis/lucenenet,apache/lucenenet,apache/lucenenet,sisve/lucenenet,laimis/lucenenet,sisve/lucenenet,apache/lucenenet,jeme/lucenenet | src/Lucene.Net.Core/Search/Grouping/TermDistinctValuesCollector.cs | src/Lucene.Net.Core/Search/Grouping/TermDistinctValuesCollector.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Lucene.Net.Util;
using Lucene.Net;
using Lucene.Net.Search;
using System.Collections.ObjectModel;
using Lucene.Net.Index;
using Lucene.Net.Support;
namespace Lucene.Net.Search.Grouping
{
public class TermDistinctValuesCollect... | apache-2.0 | C# | |
f5f88a42e5de713cf7dccf530f6343cb68a79ad7 | Remove explicit usage of TupleElementNamesAttribute in tests per https://github.com/dotnet/roslyn/pull/12511 | rahku/corefx,rahku/corefx,twsouthwick/corefx,cydhaselton/corefx,axelheer/corefx,JosephTremoulet/corefx,cydhaselton/corefx,rahku/corefx,stone-li/corefx,mazong1123/corefx,nbarbettini/corefx,zhenlan/corefx,wtgodbe/corefx,gkhanna79/corefx,axelheer/corefx,marksmeltzer/corefx,rubo/corefx,twsouthwick/corefx,gkhanna79/corefx,r... | src/System.ValueTuple/tests/TupleElementNamesTests.cs | src/System.ValueTuple/tests/TupleElementNamesTests.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.Runtime.CompilerServices;
using Xunit;
namespace System.Tests
{
public class TupleE... | // 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.Runtime.CompilerServices;
using Xunit;
namespace System.Tests
{
public class TupleE... | mit | C# |
261aa2914f7acf2cc65649d43ca15fdbf125bdde | add converter | SamTheDev/ToxRt,SamTheDev/ToxRt,SamTheDev/ToxRt | ToxRt/ToxRt.Shared/Converters/ListViewItemClickedConverter.cs | ToxRt/ToxRt.Shared/Converters/ListViewItemClickedConverter.cs | using System;
using System.Collections.Generic;
using System.Text;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
using ToxRt.Model;
namespace ToxRt.Converters
{
public class ListViewItemClickedConverter:IValueConverter
{
public object Convert(object value, Type targetType, object paramet... | mit | C# | |
4ff8dd503fbc2dadd5273f30f1ec13427b30fcce | define interface that will be used to implement all the achievements | YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league | Source/BrokenShoeLeague.Domain/Interfaces/Common/IAchievement.cs | Source/BrokenShoeLeague.Domain/Interfaces/Common/IAchievement.cs | using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BrokenShoeLeague.Domain.Enums;
namespace BrokenShoeLeague.Domain.Interfaces.Common
{
public interface IAchievement
{
string GetName();
string GetIconN... | mit | C# | |
540b31ab5eb4c54b266a56080ff44a300efd7b8a | Create MassRenameChildren.cs | UnityCommunity/UnityLibrary | Assets/Scripts/Editor/BatchTools/MassRenameChildren.cs | Assets/Scripts/Editor/BatchTools/MassRenameChildren.cs | // Renames child gameobjects in hierarchy (by replacting strings)
// open wizard from GameObject/MassRenameChildren menu item
using UnityEditor;
using UnityEngine;
namespace UnityLibrary
{
public class MassRenameChildren : ScriptableWizard
{
public string findString = "";
public string replace... | mit | C# | |
deaff340d2733c544b8e87d78a51d5d69063ee27 | Add test coverage of saving velocity | ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderVelocityAdjust.cs | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneSliderVelocityAdjust.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input;
using osu.Framework.Testing;
using osu.Framework.Utils;
using osu.Game.Beat... | mit | C# | |
44d540eb53f6e169de2cede447e8079fac89054a | Add test | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tests/Localisation/BeatmapMetadataRomanisationTest.cs | osu.Game.Tests/Localisation/BeatmapMetadataRomanisationTest.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.Game.Beatmaps;
namespace osu.Game.Tests.Localisation
{
[TestFixture]
public class BeatmapMetadataRomanisationTest
{
... | mit | C# | |
c9550550b2fd999753ca090c95d8ab6dd85d30b7 | Bump version number | ntent-ad/consuldotnet,yonglehou/consuldotnet,PlayFab/consuldotnet,highlyunavailable/consuldotnet | Consul/Properties/AssemblyInfo.cs | Consul/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("Co... | 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("Co... | apache-2.0 | C# |
3771e39fd9c453deae1d081ddbded0214c1d89f9 | Add test suite with tests for MySQL 5.6 | caleblloyd/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,caleblloyd/Pomelo.EntityFrameworkCore.MySql | test/EFCore.MySql.Tests/Migrations/MigrationSqlGeneratorMySql56Test.cs | test/EFCore.MySql.Tests/Migrations/MigrationSqlGeneratorMySql56Test.cs | using System;
using System.Diagnostics;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Microsoft.EntityFrameworkCore.Migrations.Operations;
using Microsoft.Enti... | mit | C# | |
cffd156e429303e7547046b457b8f17a7f748f73 | Add InlineStylesheetResource | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | using System;
using System.IO;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Newtonsoft.Json;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// CSS in header. It's perfect for critical CSS.
/// </summary>
public class InlineStylesheetResource : ResourceBase
... | apache-2.0 | C# | |
1a89d5579cac676323ce71d112ed8621038e488b | Create brycemcdonald.cs | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/BryceMcDonald.cs | src/Firehose.Web/Authors/BryceMcDonald.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 BryceMcDonald : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Bryce";
... | mit | C# | |
8978b88f69300d868635d295104d093b0aafe76b | Add test coverage of startup ruleset being non-default | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu | osu.Game.Tests/Visual/Navigation/TestSceneStartupRuleset.cs | osu.Game.Tests/Visual/Navigation/TestSceneStartupRuleset.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.Development;
using osu.Game.Configuration;
namespace osu.Game.Tests.Visual.Navigation
{
[TestFixture]
public class Te... | mit | C# | |
b1e13df2195f2315079993bb0192b9712210a137 | Add Pet class | alexandraholcombe/PetAdoptionCRM,alexandraholcombe/PetAdoptionCRM,alexandraholcombe/PetAdoptionCRM | src/PetAdoptionCRM/Models/Pet.cs | src/PetAdoptionCRM/Models/Pet.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace PetAdoptionCRM.Models
{
[Table("Pets")]
public class Pet
{
public int Id { get; set; }
public string Name { get; set; }
p... | mit | C# | |
cfb3e8f7d4ebaa32ca1100e9280ed8ec281321d2 | Add missing file in the previous commit. | NuGetPackageExplorer/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,campersau/NuGetPackageExplorer | PackageViewModel/PackageAnalyzer/NonAssemblyReferenceName.cs | PackageViewModel/PackageAnalyzer/NonAssemblyReferenceName.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using NuGet;
using NuGetPackageExplorer.Types;
namespace PackageExplorerViewModel.Rules {
[Export(typeof(IPackageRule))]
internal class NonAssemblyReferenceName : IPackageRule... | mit | C# | |
4b6d15b645ade438b44f959bc56f9d6a1a412a3e | Add Interleaved 2 of 5 Barcode | BinaryKits/ZPLUtility | src/BinaryKits.ZPLUtility/Elements/ZPLBarCodeInterleaved2of5.cs | src/BinaryKits.ZPLUtility/Elements/ZPLBarCodeInterleaved2of5.cs | using System;
using System.Collections.Generic;
namespace BinaryKits.Utility.ZPLUtility.Elements
{
/// <summary>
/// Interleaved 2 of 5 Barcode
/// </summary>
public class ZPLBarCodeInterleaved2of5 : ZPLBarcode
{
public bool Mod10CheckDigit { get; private set; }
public ZPLBarCode... | mit | C# | |
d0939091a5579e00a3adfb8af06b8a60052b2503 | Add Provider for RequestRuntime | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pra... | src/Glimpse.Web.Common/Framework/IRequestRuntimeProvider.cs | src/Glimpse.Web.Common/Framework/IRequestRuntimeProvider.cs | using System;
using System.Collections.Generic;
namespace Glimpse.Web
{
public interface IRequestRuntimeProvider
{
IEnumerable<IRequestRuntime> Runtimes { get; }
}
} | mit | C# | |
cdb1e99e909d68333f20e6d7403d1510b873ec91 | Add oversizeto Component Body | sts-CAD-Software/PCB-Investigator-Scripts | Editing/AddOversizeToCompBody.cs | Editing/AddOversizeToCompBody.cs | //Synchronous template
//-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 10.07.2017
// Autor Guenther.Schindler
//
// Empty template to fill for synchronous script.
//--------------------------------------------------------... | bsd-3-clause | C# | |
995b1d1e541fbe21631ce8e9fad66799fa097ac1 | Create Fractions.cs | jansky/JanskyMath | Fractions.cs | Fractions.cs | using System
| mit | C# | |
cea2f60dc42acb93d29c503342405a7b9f9bc17c | Create AssemblyInfo.cs | RoelofAnne/UnitTestCreator | UnitTestCreator/Properties/AssemblyInfo.cs | UnitTestCreator/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("UnitTestCreator")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[a... | mit | C# | |
4d77b980cbd3e30580d29262dc6f2cd24f7a6a20 | Add unit tests covering update | daveaglick/Buildalyzer,daveaglick/Buildalyzer,daveaglick/Buildalyzer | tests/Buildalyzer.Tests/Construction/PackageReferenceFixture.cs | tests/Buildalyzer.Tests/Construction/PackageReferenceFixture.cs | using System;
using System.Xml.Linq;
using Buildalyzer.Construction;
using NUnit.Framework;
using Shouldly;
namespace Buildalyzer.Tests.Construction
{
[TestFixture]
public class PackageReferenceFixture
{
[Test]
public void PackageReferenceWithInclude_Should_ContainName()
{
... | mit | C# | |
8e91450b96d5f2f657aff0c1b069ae0a7d74892d | Create Program.cs | stefankugler/print-qrk-json,stefankugler/print-qrk-json,stefankugler/print-qrk-json | Program.cs | Program.cs | /*
* Remove special characters from pos-printer
* https://github.com/stefankugler/print-qrk-json
* Stefan Kugler 2017
*/
using System;
namespace removeesc
{
class Program
{
public static void Main(string[] args)
{
if(args.Length > 0) {
//1st argument: full path to json-file
string filename = @arg... | mit | C# | |
8bcb4485edc4e8d290f22b02693645954bb256b1 | implement UnderscoredLinkContainer | smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,ppy/o... | osu.Game/Overlays/Profile/Sections/UnderscoredLinkContainer.cs | osu.Game/Overlays/Profile/Sections/UnderscoredLinkContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics.Spr... | mit | C# | |
8e138bf4e94846db91a1efc0fd03d66d98393ba6 | Create Nullable_Decimal_Issue.cs (#184) | dadhi/FastExpressionCompiler | test/FastExpressionCompiler.IssueTests/Issue183_NullableDecimal.cs | test/FastExpressionCompiler.IssueTests/Issue183_NullableDecimal.cs | using System;
using NUnit.Framework;
#pragma warning disable IDE1006 // Naming Styles for linq2db
#pragma warning disable 649 // Unaasigned fields
#if LIGHT_EXPRESSION
namespace FastExpressionCompiler.LightExpression.UnitTests
#else
using System.Linq.Expressions;
namespace FastExpressionCompiler.UnitTests
#endif
{
... | mit | C# | |
1c72c5ef1a0878980af14fee6b52590cc9b54bcc | Create ModuleRouteSummary.cs | MingLu8/Nancy.WebApi.HelpPages | src/Nancy.WebApi.HelpPages.Demo/HelpPage/ModuleRouteSummary.cs | src/Nancy.WebApi.HelpPages.Demo/HelpPage/ModuleRouteSummary.cs | using System.Collections.Generic;
namespace Nancy.WebApi.Demo
{
public class ModuleRouteSummary
{
public string ModuleName { get; set; }
public string HelpModulePath { get; }
public List<RouteSummary> Routes { get; set; }
public ModuleRouteSummary(string moduleName, string hel... | mit | C# | |
3cef51150a20cfdaa325974ae62b06409e51057b | make grain project visible to VSO UnitTests in order to fix some failed tests | brhinescot/orleans,gigya/orleans,sergeybykov/orleans,jdom/orleans,sergeybykov/orleans,ReubenBond/orleans,dVakulen/orleans,hoopsomuah/orleans,yevhen/orleans,bstauff/orleans,ashkan-saeedi-mazdeh/orleans,Liversage/orleans,amccool/orleans,veikkoeeva/orleans,tsibelman/orleans,Liversage/orleans,amccool/orleans,dotnet/orleans... | src/TestInternalGrains/Properties/AssemblyInfo.cs | src/TestInternalGrains/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("Te... | 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("Te... | mit | C# |
932cc120cca843f5a62e9d5518afaf9b231fab36 | Add one unit test to a new method | fredatgithub/UsefulFunctions | TestProjectCoreUseFulFunctions/UnitTestFunctionsString.cs | TestProjectCoreUseFulFunctions/UnitTestFunctionsString.cs | using FonctionsUtiles.Fred.Csharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace TestProjectCoreUseFulFunctions
{
[TestClass]
public class UnitTestFunctionsString
{
[DataTestMethod]
[TestCategory("String")]
public void TestMethod_SplitString_One... | mit | C# | |
b0025bbbe6bf5d098922edfff1c10e3c9150ef5f | Add abstraction for connection string | SeanFeldman/ServiceBus.AttachmentPlugin | src/ServiceBus.AttachmentPlugin/IProvideStorageConnectionString.cs | src/ServiceBus.AttachmentPlugin/IProvideStorageConnectionString.cs | namespace ServiceBus.AttachmentPlugin
{
/// <summary>
/// Storage account connection string provider.
/// </summary>
public interface IProvideStorageConnectionString
{
/// <summary>
/// Connection string for storage account to be used.
/// </summary>
string GetConnec... | mit | C# | |
8d6ab5621fcbe99ce266556db50c390410793c0b | Add FrameDeviation | SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk | common/platform/SoundMetrics.Aris.ReorderCS/FrameDeviation.cs | common/platform/SoundMetrics.Aris.ReorderCS/FrameDeviation.cs | // Copyright 2018 Sound Metrics Corp. All Rights Reserved.
using System;
namespace SoundMetrics.Aris.ReorderCS
{
internal static class FrameDeviation
{
/// <summary>
/// Calculates the population standard deviation of a frame.
/// </summary>
/// <param name="samples">The sampl... | mit | C# | |
82583fba57c2a565e320668379536e6500329ccb | Add Engine | KerbaeAdAstra/KerbalFuture | KerbalFuture/SpaceFolderEngine.cs | KerbalFuture/SpaceFolderEngine.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP;
namespace KerbalFuture
{
class SpaceFolderEngine : PartModule
{
double holeDiameter;
}
} | mit | C# | |
e33971a480732c160507fe1cfe898986c50140d8 | add NGUIUICollector.cs | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/NGUIUtil/NGUIUICollector.cs | Unity/NGUIUtil/NGUIUICollector.cs |
/**
@file NGUIUICollector.cs
@author NDark
@date 20170227 . file started.
*/
using UnityEngine;
using System.Collections.Generic;
public class NGUIUICollector {
public GameObject Obj
{
get{ return m_Obj ; }
}
public void SetupObj( GameObject _Root )
{
m_Obj = _Root ;
ParseUIs ();
}
public void Par... | mit | C# | |
7b15d766ad38b7ad1d5f214b237e07f2ef1ce60e | Test for battlefield | FoC-/SnakeBattle.Net,FoC-/SnakeBattle.Net,FoC-/SnakeBattle.Net | src/SnakeBattleNet.Test.Core/When_BattleField_ViewToNorth_is_called.cs | src/SnakeBattleNet.Test.Core/When_BattleField_ViewToNorth_is_called.cs | using System.Collections.Generic;
using System.Linq;
using Machine.Specifications;
using SnakeBattleNet.Core;
using SnakeBattleNet.Core.Contract;
namespace SnakeBattleNet.Test.Core
{
[Subject(typeof(BattleField))]
internal class When_BattleField_ViewToNorth_is_called
{
Establish context = () =>
... | mit | C# | |
9c6257ae6cbddccac369143726b7a508c837b7d1 | add department controller | alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university | ContosoUniversity.Spa.React/Controllers/DepartmentController.cs | ContosoUniversity.Spa.React/Controllers/DepartmentController.cs | using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace ContosoUniversity_Spa_React.Controllers
{
[Route("api/[controller]")]
public class DepartmentController : Controller
{
private static string[] Departments = new[]
{
"Engineering", "English", "Physics"
... | mit | C# | |
ad620bf2ce293bdd8bb3064587d5b58d106d2eed | add the BitAccordion component tests #3147 (#3157) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/BlazorUI/Bit.BlazorUI.Tests/Accordion/BitAccordionTests.cs | src/BlazorUI/Bit.BlazorUI.Tests/Accordion/BitAccordionTests.cs | using Bunit;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bit.BlazorUI.Tests.Accordion;
[TestClass]
public class BitAccordionTests : BunitTestContext
{
[DataTestMethod,
DataRow(Visual.Fluent, true),
DataRow(Visual.Fluent, false),
DataRow(Visual.Cupertino, true),
... | mit | C# | |
4b92e747a46955a5b1a5118416f0543e38a9e9f6 | Add Arrays.Fill | ericvergnaud/antlr4,parrt/antlr4,parrt/antlr4,Pursuit92/antlr4,sidhart/antlr4,chienjchienj/antlr4,chandler14362/antlr4,joshids/antlr4,chienjchienj/antlr4,Distrotech/antlr4,Pursuit92/antlr4,parrt/antlr4,cooperra/antlr4,chandler14362/antlr4,supriyantomaftuh/antlr4,wjkohnen/antlr4,chienjchienj/antlr4,Pursuit92/antlr4,wjko... | Antlr4.Runtime/Sharpen/Arrays.cs | Antlr4.Runtime/Sharpen/Arrays.cs | namespace Sharpen
{
using System;
using System.Collections.Generic;
internal static class Arrays
{
public static T[] CopyOf<T>(T[] array, int newSize)
{
Array.Resize(ref array, newSize);
return array;
}
public static IList<T> AsList<T>(params T[... | namespace Sharpen
{
using System;
using System.Collections.Generic;
internal static class Arrays
{
public static T[] CopyOf<T>(T[] array, int newSize)
{
Array.Resize(ref array, newSize);
return array;
}
public static IList<T> AsList<T>(params T[... | bsd-3-clause | C# |
5da54f0298cea17b8ba99cb915caf06b4ff6cd0a | Add full screen initialization test. | eylvisaker/AgateLib | Tests/DisplayTests/FullScreen.cs | Tests/DisplayTests/FullScreen.cs | using System;
using System.Collections.Generic;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.InputLib;
namespace Tests.DisplayTests
{
class HelloWorldProgram : IAgateTest
{
public string Name
{
get { return "Full Screen"; }
}
public string Category
... | mit | C# | |
75f64e0f98839ef397b2f2e2e2202fce53928440 | Put mesages in separate tab | n2cms/n2cms,bussemac/n2cms,EzyWebwerkstaden/n2cms,n2cms/n2cms,nicklv/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,n2cms/n2cms,DejanMilicic/n2cms,nimore/n2cms,nicklv/n2cms,nicklv/n2cms,nimore/n2cms,bussemac/n2cms,nimore/n2cms,nimore/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,bussemac/n2cms,EzyWebwerk... | src/Mvc/MvcTemplates/N2/Myself/RootBase.cs | src/Mvc/MvcTemplates/N2/Myself/RootBase.cs | using N2.Definitions;
using N2.Installation;
using N2.Integrity;
using N2.Web;
using N2.Details;
using N2.Web.UI;
using N2.Security;
using N2.Management.Api;
using N2.Edit.Collaboration;
using N2.Persistence;
using System.Linq;
using System.Collections.Generic;
namespace N2.Management.Myself
{
[PageDefinition... | using N2.Definitions;
using N2.Installation;
using N2.Integrity;
using N2.Web;
using N2.Details;
using N2.Web.UI;
using N2.Security;
using N2.Management.Api;
using N2.Edit.Collaboration;
using N2.Persistence;
using System.Linq;
using System.Collections.Generic;
namespace N2.Management.Myself
{
[PageDefinition... | lgpl-2.1 | C# |
f61794be44a627a9d0ed7302f1315462fe3c46c9 | comment out offending structures; savegame | baughj/hybrasylserver,hybrasyl/server,hybrasyl/server,hybrasyl/server,baughj/hybrasylserver,baughj/hybrasylserver | XML/XSD/Extensions/SpawnGroup.cs | XML/XSD/Extensions/SpawnGroup.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Hybrasyl.Xml
{
public partial class SpawnGroup : HybrasylLoadable, IHybrasylLoadable<SpawnGroup>
{
}
}
| agpl-3.0 | C# | |
1ab3e749a9090f47e247b3f4e237c6c60e8aef45 | Add Unittests for RibbonLocationBase | fluentribbon/Fluent.Ribbon,fluentribbon/Fluent.Ribbon | Fluent.Ribbon.Tests/Localization/RibbonLocalizationBaseTests.cs | Fluent.Ribbon.Tests/Localization/RibbonLocalizationBaseTests.cs | namespace Fluent.Tests.Localization
{
using System.Runtime.InteropServices;
using System.Runtime.Remoting;
using Fluent.Localization.Languages;
using NUnit.Framework;
[TestFixture]
public class RibbonLocalizationBaseTests
{
[Test]
public void Equals_Test()
{
... | mit | C# | |
7e557dcc158b5a6028ed7f70edec5ddd594a95f8 | Add basic Repository | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork/Repository.cs | Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork/Repository.cs | using System.Threading.Tasks;
using Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork.UoW;
namespace Smoother.IoC.Dapper.FastCRUD.Repository.UnitOfWork
{
public abstract class Repository<TSession, TEntity, TPk>
{
private readonly IUnitOfWorkFactory _factory;
protected Repository(IUnitOfWorkF... | mit | C# | |
3f55875a71b2ab91e6232738e6ec014b11688a3f | Add CommonSearches class, fix some PVS-Studio issues | amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis,amironov73/ManagedIrbis | Source/Classic/Libs/ManagedIrbis/Source/Search/CommonSearches.cs | Source/Classic/Libs/ManagedIrbis/Source/Search/CommonSearches.cs | $HEADER$namespace $NAMESPACE$
{
public class $CLASS$ {$END$}
} | mit | C# | |
2769d8e8cfdbded19d1ba4407053efb8c162ae43 | Add test coverage of `ShearedOverlayContainer` | NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Tests/Visual/UserInterface/TestSceneShearedOverlayContainer.cs | osu.Game.Tests/Visual/UserInterface/TestSceneShearedOverlayContainer.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graph... | mit | C# | |
05b8f7c7774996fc20d6bf72354f1a6be08202b9 | add IMemberNullValueChecker | isukces/isukces.code | isukces.code/interfaces/IMemberNullValueChecker.cs | isukces.code/interfaces/IMemberNullValueChecker.cs | using System;
using System.Reflection;
using JetBrains.Annotations;
namespace isukces.code.interfaces
{
public interface IMemberNullValueChecker
{
bool ReturnValueAlwaysNotNull(MemberInfo mi);
bool TypeIsAlwaysNotNull(Type type);
}
public abstract class AbstractMemberNullValueChecker :... | mit | C# | |
e7f402c90f76f94fc6625edb190618447c1154c2 | add missing class | spring-projects/spring-net-amqp | src/Spring.Messaging.Amqp.Rabbit.Admin/Admin/QueueInfo.cs | src/Spring.Messaging.Amqp.Rabbit.Admin/Admin/QueueInfo.cs | #region License
/*
* Copyright 2002-2010 the original author or 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
... | apache-2.0 | C# | |
18424b1b1de4024bc40e08472e4901e2164d13d2 | Add expires_in for Identities | jerriep/auth0.net,auth0/auth0.net,auth0/auth0.net,jerriep/auth0.net,jerriep/auth0.net | src/Auth0.ManagementApi/Models/Identity.cs | src/Auth0.ManagementApi/Models/Identity.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Describes a 3rd party account for a given <see cref="User" />.
/// </summary>
/// <remarks>
/// A single <see cref="User" /> may be linked to multiple 3rd party accounts. This ... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Describes a 3rd party account for a given <see cref="User"/>.
/// </summary>
/// <remarks>
/// A single <see cref="User"/> may be linked to multiple 3rd party accounts. This object de... | mit | C# |
d3cc0ed95b00e64f31e2c422ea986692ebb5d35e | add tests for Disposable | jonsequitur/PocketLogger | Pocket.Logger/DisposableTests.cs | Pocket.Logger/DisposableTests.cs | using System;
using FluentAssertions;
using Xunit;
namespace Pocket
{
public class DisposableTests
{
[Fact]
public void When_an_anoymous_disposable_is_disposed_then_the_constructor_delegate_is_invoked()
{
var wasDisposed = false;
var disposable = Disposable.Crea... | mit | C# | |
d549794dd9f4d2812b00e9ba7bbe0e217433b508 | Create TweenRoutines.cs | efruchter/UnityUtilities | TweenRoutines.cs | TweenRoutines.cs | using System.Collections;
using UnityEngine;
using System;
using UnityEngine.Assertions;
namespace kazoo
{
public static class TweenRoutines
{
public static void TweenFloat(this MonoBehaviour behaviour, float startValue, float endValue, float time, Action<float> onUpdate)
{
if (onUpdate == null)
{
retu... | mit | C# | |
03fb188ac8226f34af2bc9f6d65985ab9aa3cb54 | Add test class 'NullKeysInfoCarrierTest' | azabluda/InfoCarrier.Core | test/InfoCarrier.Core.EFCore.FunctionalTests/NullKeysInfoCarrierTest.cs | test/InfoCarrier.Core.EFCore.FunctionalTests/NullKeysInfoCarrierTest.cs | namespace InfoCarrier.Core.EFCore.FunctionalTests
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Specification.Tests;
public class NullKeysInfoCarrierTest : NullKeysTestBase<NullKeysInfoCarrierTest.NullKeysInfoCarrierFixture>
{
public NullKeysInfoCarrierTest(NullKeys... | mit | C# | |
c2978914e70f1aa69cc9daad4f76a2752c979aeb | Add Extensions for WebSocket->SocketClient | RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net | src/Discord.Net/WebSocket/Extensions/SocketClientExtensions.cs | src/Discord.Net/WebSocket/Extensions/SocketClientExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace Discord.WebSocket
{
public static class SocketClientExtensions
{
public static IVoiceRegion GetVoiceRegion(this DiscordSocketClient client, string id)
{
var region = client.VoiceRegions.FirstOrDefault(r => r.Id == id);
... | mit | C# | |
7737610e396cfd6003aab76e4499557b7c8a0c68 | Allow event handler to have many IHandleEventOf<T> implementation and ensure the most relevent Handle method is invoked | JustGiving/JustGiving.EventStore.Http | src/JustGiving.EventStore.Http.SubscriberHost/TypeInheritanceComparer.cs | src/JustGiving.EventStore.Http.SubscriberHost/TypeInheritanceComparer.cs | using System;
using System.Collections.Generic;
namespace JustGiving.EventStore.Http.SubscriberHost
{
/// <summary>
/// Compares Types resulting in the most derived being at the top
/// </summary>
public class TypeInheritanceComparer : IComparer<Type>
{
public int Compare(Type x, Type y)
... | apache-2.0 | C# | |
490c94c9aefd4963c93282339f1a1c3180ca1131 | Add Q214 | txchen/localleet | csharp/Q214_ShortestPalindrome.cs | csharp/Q214_ShortestPalindrome.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
// Given a string S, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can find by performing this transformation.
//... | mit | C# | |
ea7d5b20eaf009310adca06e74283f6066d7bbc9 | Add DiscoveredService helper class. | WisconsinRobotics/BadgerJAUS.NET | BadgerJaus/services/DiscoveredService.cs | BadgerJaus/services/DiscoveredService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BadgerJaus.Services
{
public class DiscoveredService : BaseService
{
}
}
| bsd-3-clause | C# | |
1f4142003521c8be0ca372f2de65807ccee431a5 | Add area unit | pardahlman/akeneo-csharp | Akeneo/Model/AreaUnits.cs | Akeneo/Model/AreaUnits.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Akeneo.Model
{
public class MetricFamilies
{
public const string Area = "Area";
}
public class AreaUnits
{
public const string SquareMillimeter = "SQUARE_MILLIMETER";
}
}
| mit | C# | |
15922ca0c6ec9cf54414bb6ac07ca957d6fc07d8 | Replace bits between i and j | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | CareerCup/replace_bits.cs | CareerCup/replace_bits.cs | using System;
class Program {
static void Main() {
long a = 12343543565;
long b = 15423131234;
Console.WriteLine(Convert.ToString(a, 2));
Console.WriteLine(Convert.ToString(b, 2));
int i = 10;
int j = 20;
for (int k = i; k < j; k++) {
long x = ... | mit | C# | |
99cb5f5b06691dcaa39a03a11bc0eb63918c0dd3 | Create AssemblyInfo.cs | Zedohsix/SharpFind | CursorHandles/Properties/AssemblyInfo.cs | CursorHandles/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("Cur... | mit | C# | |
b78bee95a02e9bf4c931387d6de76db9eb24eb4b | Set fix fiducial markers | sts-CAD-Software/PCB-Investigator-Scripts | SetFiducials.cs | SetFiducials.cs | // PCB-Investigator Automation Script
// Autor support@easylogix.de
// www.pcb-investigator.com
// SDK online reference http://www.pcb-investigator.com/sites/default/files/documents/InterfaceDocumentation/Index.html
// SDK http://www.pcb-investigator.com/en/sdk-participate
// Set fix fiducial markers on extra laye... | bsd-3-clause | C# | |
07745b2039dc888f9bf31a44f4f0b9bc513fbd59 | Move CriteriaBase to Csla namespace - step 2. | rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,ronnymgm/csla-light,jonnybee/csla,MarimerLLC/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,jonnybee/csla | cslalightcs/Csla/CriteriaBase.cs | cslalightcs/Csla/CriteriaBase.cs | using System;
#if SILVERLIGHT
using Csla.Serialization;
#endif
namespace Csla
{
/// <summary>
/// Base type from which Criteria classes can be
/// derived in a business class.
/// </summary>
[Serializable]
public class CriteriaBase : Csla.Core.MobileObject
{
private Type _objectType;
... | mit | C# | |
6d9b04e04381b495529709bb09f19237565aee18 | Add IRepository interface | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.Core/IRepository.cs | src/Diploms.Core/IRepository.cs | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Diploms.Core
{
public interface IRepository<T> where T : class, IEntity
{
Task<IEnumerable<T>> Get();
Task<T> Get(int id);
void Add(T item);
void Update(T item);
void Delete(T item);
Task S... | mit | C# | |
ab1d7a6d621e170a44ae5e655823abae248ee8f2 | test FilterTablesWithColumnTest | ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins,ignatandrei/stankins | stankinsv2/solution/StankinsV2/StankinsTestXUnit/FilterTablesWithColumn.cs | stankinsv2/solution/StankinsV2/StankinsTestXUnit/FilterTablesWithColumn.cs | using FluentAssertions;
using Stankins.File;
using Stankins.Interfaces;
using StankinsObjects;
using System;
using System.Collections.Generic;
using System.Text;
using Xbehave;
using Xunit;
namespace StankinsTestXUnit
{
[Trait("FilterTablesWithColumn", "")]
[Trait("AfterPublish", "0")]
public class Filter... | mit | C# | |
7d306240d4a1acbbdcb8782f214d19cc5a9773bd | Create SmallFermatFactor.cs | burnsba/scratch,burnsba/scratch,burnsba/scratch | Math/SmallFermatFactor.cs | Math/SmallFermatFactor.cs | #r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.2\System.Numerics.dll"
using System.Numerics;
private const int N_MAX = 17;
private const int K_MIN = 1;
private const int K_MAX = 1584000;
for (int n=5; n < N_MAX; n++)
{
var fermat = BigInteger.Pow(2, 1 << n) + 1;
Console... | apache-2.0 | C# | |
fdecfe6bd4adcd0fc1d01948cf996ac0c8039eac | Add RequireOwner Precondition | Confruggy/Discord.Net,LassieME/Discord.Net,AntiTcb/Discord.Net,RogueException/Discord.Net | src/Discord.Net.Commands/Attributes/Preconditions/RequireOwnerAttribute.cs | src/Discord.Net.Commands/Attributes/Preconditions/RequireOwnerAttribute.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Discord;
namespace Discord.Commands
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class RequireOwnerAttribute : PreconditionAttribute
... | mit | C# | |
8b7d4f70b92e5c2690c2e5af6a529ea5f67dd5b6 | create relayCommand class | pashchuk/Hospital-MVVM- | Hospital/DesktopApp/Commands/RelayCommand.cs | Hospital/DesktopApp/Commands/RelayCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace DesktopApp.Commands
{
public class RelayCommand : ICommand
{
public event EventHandler CanExecuteChanged
{
add { CommandManager.RequerySuggested += value; ... | mit | C# | |
b2f8899dbe1bbe39221ae78f733e14e2ca4c75ca | Create CacheContactExtensionDecorator to add cache functionality to ContactExtesion | takenet/blip-sdk-csharp | src/Take.Blip.Client/Extensions/Contacts/CacheContactExtensionDecorator.cs | src/Take.Blip.Client/Extensions/Contacts/CacheContactExtensionDecorator.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Messaging.Resources;
using Lime.Protocol;
using Microsoft.Extensions.Caching.Memory;
namespace Take.Blip.Client.Extensions.Contacts
{
public class CacheContactExtensionDecorator : IContactExtension
{
private readonly IConta... | apache-2.0 | C# | |
e1c5c7a43d8addb3c40a64716978cae385d185f3 | Add Test for removing readonly flag when copying readonly library assets | MichaelSimons/cli,nguerrera/cli,nguerrera/cli,weshaggard/cli,jonsequitur/cli,svick/cli,weshaggard/cli,nguerrera/cli,Faizan2304/cli,blackdwarf/cli,naamunds/cli,mlorbetske/cli,svick/cli,harshjain2/cli,livarcocc/cli-1,naamunds/cli,harshjain2/cli,naamunds/cli,blackdwarf/cli,mlorbetske/cli,weshaggard/cli,AbhitejJohn/cli,naa... | test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.cs | test/Microsoft.DotNet.Compiler.Common.Tests/GivenThatICopyLibraryAssets.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 FluentAssertions;
using Xunit;
using Microsoft.DotNet.Cli.Compiler.Common;
using Microsoft.DotNet.ProjectModel.Compilation;
using System.IO... | mit | C# | |
cad3e1d533b005c1244529c211981482af6c403a | Add option for fixed provider | Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototyp... | src/Glimpse.Web.Common/Framework/FixedRequestAuthorizerProvider.cs | src/Glimpse.Web.Common/Framework/FixedRequestAuthorizerProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class FixedRequestAuthorizerProvider : IRequestAuthorizerProvider
{
public FixedRequestAuthorizerProvider()
: this(Enumerable.Empty<IRequestAuthorizer>())
{
}
public FixedRequestAut... | mit | C# | |
eb90ce6d4108980b46ffd2cd19392e191dbc4e14 | Update message in JitOptimizationsValidator | adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Pe... | src/BenchmarkDotNet.Core/Validators/JitOptimizationsValidator.cs | src/BenchmarkDotNet.Core/Validators/JitOptimizationsValidator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using BenchmarkDotNet.Extensions;
namespace BenchmarkDotNet.Validators
{
public class JitOptimizationsValidator : IValidator
{
public static readonly IValidator DontFailOnError = new JitOptimizationsValidator(fa... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using BenchmarkDotNet.Extensions;
namespace BenchmarkDotNet.Validators
{
public class JitOptimizationsValidator : IValidator
{
public static readonly IValidator DontFailOnError = new JitOptimizationsValidator(false);
... | mit | C# |
0482409a86e5491aa6e8ebe7912dcc52d310b156 | Read and update time zone settings | spknowledge/CSOM-Samples | managetimezone.cs | managetimezone.cs | // CSOM Package (16.1.3912.1204)
// Gets and sets the current Time Zone settings from the given SharePoint site
// Get access to source site
using (var ctx = new ClientContext("https://spknowledge.sharepoint.com"))
{
//Provide count and pwd for connecting to the source
var passWord = new SecureString()... | apache-2.0 | C# | |
2369e35430d002ea2f4dd475ff1124c3061cf0fa | Add rank shortname display | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Shared/DisplayTemplates/Rank.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/Rank.cshtml | @model Rank
<p>@Model.ShortName()</p> | mit | C# | |
6465a72060ab9cf3b7515bc288f56576b415bd1f | Add bubbled word class for use in attribute rows | smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu | osu.Game/Screens/Edit/Timing/RowAttributes/AttributeBubbledWord.cs | osu.Game/Screens/Edit/Timing/RowAttributes/AttributeBubbledWord.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Beatmaps.Contro... | mit | C# | |
07bd9013585ebae924cf44c501b079bb9d9b01b0 | Add visual test for Tournament Mod Display | ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu | osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.cs | osu.Game.Tournament.Tests/Components/TestSceneTournamentModDisplay.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.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Onli... | mit | C# | |
db5b3a850bb198fffc101cce9de9f57e3abea6d1 | Create AccountController.cs | CarmelSoftware/MVC_WebGrid_Admin,CarmelSchvartzman/MVC_WebGrid_Admin | AccountController.cs | AccountController.cs | // THIS IS THE MODIFIED "REGISTER" ACTION
// INSIDE THE "ACCOUNT" CONTROLLER:
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public ActionResult Register(RegisterModel model)
{
if (ModelState.IsValid)
{
// Attempt to register the user
... | mit | C# | |
d411844d269bffcc4219ac6baa873a928c464769 | add FolderPackageResolver class | tsolarin/dotnet-globals,tsolarin/dotnet-globals | src/DotNet.Executor.Core/PackageResolvers/FolderPackageResolver.cs | src/DotNet.Executor.Core/PackageResolvers/FolderPackageResolver.cs | using System;
using System.IO;
using System.Linq;
using DotNet.Executor.Core.Utils;
namespace DotNet.Executor.Core.PackageResolvers
{
internal class FolderPackageResolver : PackageResolver
{
public FolderPackageResolver(DirectoryInfo packagesFolder, string source) : base(packagesFolder, source) { }
... | mit | C# | |
07557691c8df293e3428631e85cfe0aa50120e13 | Add TestPosixByondInstaller | tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server | tests/Tgstation.Server.Host.Tests/Components/Byond/TestPosixByondInstaller.cs | tests/Tgstation.Server.Host.Tests/Components/Byond/TestPosixByondInstaller.cs | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.IO;
namespace Tgstation.Server.Host.Components.Byond.Tests
{
[TestClass]
public sealed class TestPosixByondInstaller
{
[TestMethod]
public v... | agpl-3.0 | C# | |
c39c8ef42134fddaefbae055917f9cbca8398926 | Add fixed implementation for RequestRuntime provider | zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Pro... | src/Glimpse.Web.Common/Framework/FixedRequestRuntimeProvider.cs | src/Glimpse.Web.Common/Framework/FixedRequestRuntimeProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class FixedRequestRuntimeProvider : IRequestRuntimeProvider
{
public FixedRequestRuntimeProvider()
: this(Enumerable.Empty<IRequestRuntime>())
{
}
public FixedRequestRuntimeProvider... | mit | C# | |
f5d5750cacd40930e9bb85133b9fb4d93e83f93c | Test to repro multiple subscribers issue | jacobpovar/MassTransit,jacobpovar/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit | src/MassTransit.Tests/Subscriptions/MultipleSubscribers_Specs.cs | src/MassTransit.Tests/Subscriptions/MultipleSubscribers_Specs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MassTransit.Tests.TextFixtures;
using MassTransit.TestFramework;
using MassTransit.BusConfigurators;
using NUnit.Framework;
using Magnum.TestFramework;
using Magnum;
using Magnum.Extensions;
namespace MassTransit.Tests.Subscri... | apache-2.0 | C# | |
044582d3ff83a8e48e6a7ab4584bf1ece146690b | Create BindTagToVisualRootDataContextBehavior.cs | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors | src/Avalonia.Xaml.Interactions/Core/BindTagToVisualRootDataContextBehavior.cs | src/Avalonia.Xaml.Interactions/Core/BindTagToVisualRootDataContextBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.VisualTree;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
... | mit | C# | |
810a32a7351cf9d85f18b8dd6d2c90f8097bf923 | Add choose command | Auxes/Dogey | src/Dogey/Modules/ChooseModule.cs | src/Dogey/Modules/ChooseModule.cs | using Discord.Commands;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Dogey.Modules
{
public class ChooseModule : ModuleBase<SocketCommandContext>
{
[Command("choose")]
[Remarks("Select an option at random")]
public Task ChooseAsync(params string[] options)
... | apache-2.0 | C# | |
07aeb8e929b2e568aee0eda65c70a25e364a82ee | add CollectionUtilities class | runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty | Source/ReactiveProperty.NETStandard/Helpers/CollectionUtilities.cs | Source/ReactiveProperty.NETStandard/Helpers/CollectionUtilities.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq.Expressions;
using Reactive.Bindings.Extensions;
namespace Reactive.Bindings.Helpers
{
/// <summary>
/// Collection utilities for creating ObserveElementProperty, ObserveElement... | mit | C# | |
e547beed05e89009e9c03b508917c56c47865a61 | revert back to Unity as optional container like Windsor and Autofac | vladen/SolrNet,vladen/SolrNet,vladen/SolrNet,vladen/SolrNet | SolrNet/SolrNet.cs | SolrNet/SolrNet.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SolrNet.ClusterStatus;
using SolrNet.Impl;
using SolrNet.Impl.DocumentPropertyVisitors;
using SolrNet.Impl.FacetQuerySerializers;
using SolrNet.Impl.FieldParsers;
using SolrNet.Impl.FieldSerializers;
using SolrNet.Impl.QuerySer... | apache-2.0 | C# | |
a31fac304dc3e662f6ec8e777d81d4deb92a6dd5 | Add ai with C# | Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI,Falindir/AI | C#/src/ai.cs | C#/src/ai.cs | using System;
namespace AI
{
class AI
{
public static void Main (string[] args)
{
Console.WriteLine ("Hello Master Falindir");
}
}
}
| mit | C# | |
cfd4a6c367ad89f7c120d366b69a2af8b8d6ae40 | Add EnumerableExtension | garlab/Ext.NET | Ext.NET/EnumerableExtension.cs | Ext.NET/EnumerableExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ext.NET
{
class EnumerableExtension
{
}
}
| mit | C# | |
d64b236f8619451b3827b3dd1ca6a263ee9c7ea9 | Add a container that provides an isolated gameplay context | peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/GameplayIsolationContainer.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/GameplayIsolationContainer.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.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using o... | mit | C# | |
3cbf86271367338a86d564a161f02b6e87cbd7ad | Add `PcscReaderState` class | Archie-Yang/PcscDotNet | src/PcscDotNet/PcscReaderState.cs | src/PcscDotNet/PcscReaderState.cs | namespace PcscDotNet
{
public sealed class PcscReaderState
{
public byte[] Atr { get; internal set; }
public int EventNumber { get; internal set; }
public string ReaderName { get; internal set; }
public SCardReaderStates State { get; internal set; }
}
}
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.