content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
using System.Collections.Generic;
using System.Text.Json;
namespace Localizer.Net.Json
{
public static class JsonLocaleHelpers
{
public static void FlattenObject(string pathSeparator, JsonProperty jsonProperty, Dictionary<string, string> valuePairs, string keyPrefix = "")
{
switch (... | 34.566667 | 151 | 0.585342 | [
"MIT"
] | trinitrotoluene/Localizer.Net | src/Localizer.Net.Json/JsonLocaleHelpers.cs | 1,037 | C# |
using System;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using mesoBoard.Common;
using mesoBoard.Data;
using Ninject;
using Ninject.Infrastructure;
namespace mesoBoard.Web.Helpers
{
public static partial class mesoBoardHtmlHelpers
{
public static IHtmlString PluginConfigValue(this Html... | 41.410959 | 153 | 0.63083 | [
"BSD-3-Clause"
] | craigmoliver/mesoBoard | mesoBoard.Web.Helpers/HtmlHelpers/Messages.cs | 3,025 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | 29.438596 | 107 | 0.651371 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/Lightsail/Generated/Model/GetDiskRequest.cs | 1,678 | C# |
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using ksqlDB.Api.Client.Samples.Models.Sensors;
using ksqlDB.RestApi.Client.KSql.Linq.PullQueries;
using ksqlDB.RestApi.Client.KSql.Linq.Statements;
using ksqlDB.RestApi.Client.KSql.Query.Context;
using ksqlDB.RestApi.Client.KSql.Que... | 34.073171 | 147 | 0.704844 | [
"MIT"
] | tomasfabian/Kafka.DotNet.ksqlDB | Samples/ksqlDB.RestApi.Client.Sample/PullQuery/PullQueryExample.cs | 4,193 | C# |
using hass_workstation_service.Domain.Sensors;
using System;
namespace hass_workstation_service.Data
{
public class ConfiguredCommand
{
public string Type { get; set; }
public Guid Id { get; set; }
public string Name { get; set; }
public string Command { get; set; }
publ... | 25.5 | 46 | 0.638655 | [
"Apache-2.0"
] | AdamCLarsen/hass-workstation-service | hass-workstation-service/Data/ConfiguredCommand.cs | 357 | C# |
#region Header
//
// Copyright 2003-2018 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and ... | 29.792453 | 73 | 0.664345 | [
"MIT"
] | OpenAIM/OpenRFA-RevitLookup | CS/Snoop/Data/Exception.cs | 1,579 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... | 47.153846 | 216 | 0.621533 | [
"Unlicense",
"MIT"
] | chrisdavies/Sparc.TagCloud | Examples/WebExample/Properties/Resources.Designer.cs | 3,680 | C# |
namespace Be.Stateless.BizTalk.Schemas.Sql.Procedures.Batch {
using Microsoft.XLANGs.BaseTypes;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.BizTalk.Schema.Compiler", "3.0.1.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerS... | 39.612613 | 241 | 0.622015 | [
"Apache-2.0"
] | emmanuelbenitez/Be.Stateless.BizTalk.Factory.Batching.Application | src/Be.Stateless.BizTalk.Batching.Schemas/Schemas/Sql/Procedures/Batch/QueueControlledRelease.xsd.cs | 4,399 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pattern.Adapter
{
interface IAdvancedMediaPlayer
{
void PlayVlc(string fileName);
void PlayMp4(string fileName);
}
}
| 18.2 | 38 | 0.721612 | [
"MIT"
] | PUPA42/Pattern | Pattern/Adapter/IAdvancedMediaPlayer.cs | 275 | C# |
namespace MGU.Core.Tests.Extensions
{
using Core.Extensions.Is;
using Xunit;
public class IsExtensionsTests
{
[Fact]
public void Should_Return_True_When_Source_And_Other_Are_Equal()
{
var source = new object();
var other = source;
Assert.True... | 23.714286 | 77 | 0.552711 | [
"MIT"
] | mrGarvin90/MGU | MGU/Tests/MGU.Core.Tests/Extensions/IsExtensionsTests.cs | 666 | C# |
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("Cir... | 38.216216 | 84 | 0.748939 | [
"MIT"
] | Martin-Stamenkov/Csharp-SoftUni | Programmig Basics/Simple Calculations/CircleAreaAndPer/Properties/AssemblyInfo.cs | 1,417 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 39.405128 | 142 | 0.585632 | [
"Apache-2.0"
] | test-wiz-sec/pulumi-azure-nextgen | sdk/dotnet/Network/V20190801/FirewallPolicy.cs | 7,684 | C# |
// <auto-generated />
using System;
using ArvidsonFoto.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Arv... | 37.056701 | 79 | 0.449158 | [
"MIT"
] | pownas/ArvidsonFoto-MVC-NET5 | ArvidsonFoto/Migrations/20210208214305_SkapatTabeller.Designer.cs | 7,191 | C# |
// suppress "Missing XML comment for publicly visible type or member"
#pragma warning disable 1591
#region ReSharper warnings
// ReSharper disable PartialTypeWithSinglePart
// ReSharper disable RedundantNameQualifier
// ReSharper disable InconsistentNaming
// ReSharper disable CheckNamespace
// ReSharper disable Un... | 25.77451 | 101 | 0.54108 | [
"MIT"
] | YanlongLi/bond | compiler/tests/generated/constructor-parameters_fields/collection-interfaces/complex_inheritance_types.cs | 5,258 | C# |
/*
Copyright 2019 James Craig
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 39.267857 | 134 | 0.602092 | [
"Apache-2.0"
] | JaCraig/Enlighten | Enlighten/Tokenizer/DefaultTokenizer.cs | 4,400 | C# |
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Elsa.Activities.Http.Services;
namespace Elsa.Activities.Http.Parsers
{
public class DefaultHttpResponseBodyParser : IHttpResponseBodyParser
{
public int Priority => -1;
public ... | 37 | 158 | 0.758559 | [
"BSD-3-Clause"
] | JohnZhaoXiaoHu/elsa-core | src/activities/Elsa.Activities.Http/Parsers/DefaultHttpResponseBodyParser.cs | 557 | C# |
using System;
namespace Stylet.Logging
{
/// <summary>
/// Logger used by Stylet for internal logging
/// </summary>
public interface ILogger
{
/// <summary>
/// Log the message as info
/// </summary>
/// <param name="format">A formatted message</param>
... | 31.8125 | 85 | 0.554028 | [
"MIT"
] | DotNetUz/Stylet | Stylet/Logging/ILogger.cs | 989 | C# |
// Copyright 2004-2017 Castle Project - http://www.castleproject.org/
//
// 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 ... | 29.938187 | 168 | 0.673411 | [
"Apache-2.0"
] | LouisFei/Windsor | src/Castle.Windsor/Windsor/WindsorContainer.cs | 21,795 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Umbraco.Web.UI.ContentApps.Changes.Models
{
public class ValueChange
{
public string Culture { get; set; }
public object EditedValue { get; set; }
public object PublishedValue { get; set; }
... | 21.8 | 51 | 0.678899 | [
"MIT"
] | NovawareNL/Changes | ContentApps/Changes/Models/ValueChange.cs | 329 | C# |
using System.Linq;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Stryker.Core.Mutants.NodeOrchestrators
{
internal class StaticFieldDeclarationOrchestrator: NodeSpecificOrchestrator<FieldDeclarationSyntax, BaseFieldDeclarationSyntax>
{
protected override bo... | 38.08 | 135 | 0.72584 | [
"Apache-2.0"
] | 0xced/stryker-net | src/Stryker.Core/Stryker.Core/Mutants/NodeOrchestrators/StaticFieldDeclarationOrchestrator.cs | 954 | C# |
using System.ComponentModel.DataAnnotations;
namespace WebsiteCreatorMVC.Models
{
public class ExternalLoginConfirmationViewModel
{
[Required]
[Display(Name = "Email")]
public string Email { get; set; }
}
public class ManageUserViewModel
{
[Required]
[DataT... | 30.182796 | 110 | 0.598504 | [
"MIT"
] | managerwar/managerwar | WebsiteCreatorMVC/Models/AccountViewModels.cs | 2,809 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 30.535714 | 105 | 0.554854 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/Lambda/Generated/Model/FunctionCode.cs | 4,275 | C# |
// 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
us... | 39.247967 | 145 | 0.579389 | [
"MIT"
] | NET1211/dotnet-awesome | tests/Microsoft.DotNet.Docker.Tests/DockerHelper.cs | 9,655 | C# |
using AirCC.Portal.Domain.DomainServices.Abstract;
using AirCC.Portal.DomainServices.Abstract;
using BCI.Extensions.Domain;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
namespace AirCC.Portal.Domain.DomainServices
{
public class UserService : ... | 38.770833 | 135 | 0.649113 | [
"MIT"
] | ellefry/AirCC | src/AirCC.Portal.Domain/DomainServices/UserService.cs | 1,863 | C# |
namespace HealthHub.Services.Data.Tests.UseInMemoryDatabase
{
using System.Linq;
using System.Threading.Tasks;
using HealthHub.Data.Models;
using HealthHub.Web.ViewModels;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
public class Se... | 34.183333 | 104 | 0.605558 | [
"MIT"
] | DenitsaDey/My-Projects | HealthHub 3.0/Tests/HealthHub.Services.Data.Tests/UseInMemoryDatabase/ServicesServiceTests.cs | 2,053 | C# |
namespace UglyToad.PdfPig.AcroForms.Fields
{
using Core;
using Tokens;
/// <inheritdoc />
/// <summary>
/// A push button responds immediately to user input without storing any state.
/// </summary>
public class AcroPushButtonField : AcroFieldBase
{
/// <summary>
/// Th... | 33.354839 | 116 | 0.609284 | [
"Apache-2.0"
] | BobLd/PdfP | src/UglyToad.PdfPig/AcroForms/Fields/AcroPushButtonField.cs | 1,036 | C# |
#pragma checksum "C:\Users\asalah.BCT\source\repos\1\1\CardsViewSample\CardsViewSample.UWP\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5694B18B1414A31DB918B8C655599694"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.... | 36.3 | 177 | 0.594123 | [
"MIT"
] | AhmedSalahKhodair/CardsViewSample | CardsViewSample/CardsViewSample.UWP/obj/x86/Debug/App.g.i.cs | 2,180 | C# |
// Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.TestPlatform.Build.UnitTests
{
using System.Linq;
using Microsoft.TestPlatform.Build.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class VsTestTaskTests
{
[TestMethod]
public v... | 40.515695 | 130 | 0.652684 | [
"MIT"
] | eerhardt/vstest | test/Microsoft.TestPlatform.Build.UnitTests/VsTestTaskTests.cs | 9,035 | C# |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
usi... | 36.254902 | 188 | 0.54516 | [
"MIT"
] | acinonyx-esports/osu | osu.Game/Screens/Play/Player.cs | 14,794 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LINQ_3.Sum__Min__Max__Average
{
public class Program
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var list = new List<i... | 25.586207 | 63 | 0.522911 | [
"MIT"
] | StefanDimitrov97/Technologies-Programming-Fundamentals | softuni fundamental January Kenov/Dictionaries, Lambda and LINQ - Lab/LINQ 3. Sum, Min, Max, Average/LINQ 3. Sum, Min, Max, Average/Program.cs | 744 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Epiphany.Examples.Messaging.Models;
using Microsoft.Extensions.Configuration;
namespace Epiphany.Examples.Messaging.ModelGeneration
{
public class MessageGenerator : IMessageGenerator
{
private readonly ISerializer _seri... | 33.313725 | 127 | 0.567393 | [
"Apache-2.0"
] | ar3ndt/epiphany | examples/dotnet/Messaging/Epiphany.Examples.Messaging/ModelGeneration/MessageGenerator.cs | 1,699 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace Ateo
{
public class GazeClickWarning : EditorWindow{
void OnGUI (){
EditorGUILayout.LabelField("Warning!", EditorStyles.boldLabel);
EditorGUILayout.LabelField ("\n \nYou are using the newest version ... | 29.833333 | 179 | 0.73324 | [
"MIT"
] | PieterQLovesu/UnityVREscapeRoom | Assets/GazeClick/Editor/GazeClickWarning.cs | 718 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WhatsNewInCSharp7.D_PatternMatching
{
public class PatternMatchingExamples
{
public int DiceSum(IEnumerable<object> values)
{
var sum = 0;
foreach (var item in values)
... | 26.836364 | 81 | 0.411924 | [
"BSD-3-Clause"
] | Manishkr117/DesignPattern | CSharp/WhatsNewInCSharp7/WhatsNewInCSharp7/D_PatternMatching/PatternMatchingExamples.cs | 1,478 | C# |
namespace CloudFoundry.VisualStudio
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using CloudFoundry.CloudController.V2.Client.Data;
... | 24.770115 | 170 | 0.521578 | [
"Apache-2.0"
] | amd989/cf-vs-extension | src/CloudFoundry.VisualStudio/XmlUri.cs | 2,157 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace SolToBoogie
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using BoogieAST;
using SolidityAST;
public class GhostVarAndAxiomGenerator
{
... | 52.4375 | 189 | 0.623269 | [
"MIT"
] | shenshan/VeriSol | Sources/SolToBoogie/GhostVarAndAxiomGenerator.cs | 32,723 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shamisen.Filters.BiQuad.Cascaded
{
/// <summary>
/// Filters audio signal with multiple Digital BiQuad Filter.
/// </summary>
public sealed partial class CascadedBiQuadFilter :... | 31.271605 | 122 | 0.571654 | [
"Apache-2.0"
] | MineCake147E/MonoAudio | Shamisen/Filters/BiQuad/Cascaded/CascadedBiQuadFilter.cs | 2,535 | C# |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460/blob/master/LICENSE
*
*/
#endregion
using ComponentFactory.Krypton.Toolkit;
using KryptonExtendedToolkit.Exten... | 36.294118 | 105 | 0.572818 | [
"BSD-3-Clause"
] | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.460 | Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/ButtonSpec/ButtonSpecFormWindowMax.cs | 4,321 | C# |
using FluentAssertions.Execution;
using Xunit;
namespace FluentAssertions.Specs.Execution;
/// <content>
/// The chaining API specs.
/// </content>
public partial class AssertionScopeSpecs
{
[Fact]
public void Get_value_when_key_is_present()
{
// Arrange
var scope = new AssertionScope();
... | 23 | 65 | 0.601134 | [
"Apache-2.0"
] | IT-VBFK/fluentassertions | Tests/FluentAssertions.Specs/Execution/AssertionScope.ContextDataSpecs.cs | 1,589 | C# |
// 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.
// This RegexWriter class is internal to the Regex package.
// It builds a block of regular expression codes (RegexC... | 34.114437 | 147 | 0.439955 | [
"MIT"
] | OlliSaarikivi/sre | Core/NetRegexParser/RegexWriter.cs | 19,377 | C# |
using System;
namespace SocketPacket.Network {
[Serializable]
public class StringPacket : Packet {
public string[] data;
public StringPacket() { }
public StringPacket(string[] data) {
this.data = data;
}
}
}
| 19.071429 | 44 | 0.576779 | [
"MIT"
] | skyneton/SocketPacket | SocketPacket/SocketPacket/Network/StringPacket.cs | 269 | C# |
using System.Collections.Generic;
using UnityEngine;
using Jotunn.Entities;
namespace Jotunn.Configs
{
/// <summary>
/// Configuration class for adding custom recipes.
/// </summary>
public class RecipeConfig
{
/// <summary>
/// The unique name for your recipe.
/// ... | 33.748148 | 114 | 0.546532 | [
"MIT"
] | Dominowood371/Jotunn | JotunnLib/Configs/RecipeConfig.cs | 4,558 | C# |
#region
using System;
using System.Reflection;
using System.Runtime.Serialization;
#endregion
namespace CoreLib.CORE.Helpers.AssemblyHelpers
{
/// <summary>
/// <see cref="SerializationBinder"/> that uses <see cref="SearchTypeHelper"/> to search the type of object
/// </summary>
public sealed class ... | 33.606061 | 115 | 0.683499 | [
"MIT"
] | ExLuzZziVo/CoreLib | CoreLib.CORE/Helpers/AssemblyHelpers/SearchAssembliesBinder.cs | 1,111 | C# |
using System.Collections;
using System.Management.Automation;
using Cognifide.PowerShell.Commandlets.Interactive.Messages;
using Sitecore;
using Sitecore.Jobs.AsyncUI;
using Sitecore.Text;
using Sitecore.Web;
namespace Cognifide.PowerShell.Commandlets.Interactive
{
[Cmdlet(VerbsCommon.Show, "ModalDialog")]
[O... | 33.828125 | 124 | 0.534873 | [
"MIT"
] | Krusen/Console | Cognifide.PowerShell/Commandlets/Interactive/ShowModalDialogCommand.cs | 2,167 | C# |
using UnityEngine;
using UnityEngine.UI;
public class ToggleController : MonoBehaviour {
private void Start()
{
if(GridManager.Instance.CanDiagonalMove)
{
GetComponent<Toggle>().isOn = GridManager.Instance.CanDiagonalMove;
}
}
public void SetDiagonalMove(bool isCa... | 19.6 | 79 | 0.65051 | [
"MIT"
] | scolia/A-star-demo | Assets/Scripts/ToggleController.cs | 394 | C# |
using System;
using System.IO;
using NUnit.Framework;
using SharpNose.SDK;
namespace SharpNose.Tests
{
public abstract class TestFrameworkTestBase
{
[TestFixtureSetUp]
public void SetUp()
{
if (Directory.Exists(SimpleAssemblyPath) == false)
{
... | 28.61194 | 121 | 0.467397 | [
"MIT"
] | dhelper/SharpNose | SharpNose.Tests/TestFrameworkTestBase.cs | 3,834 | C# |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... | 35.45614 | 131 | 0.73429 | [
"MIT"
] | Chimpaneez/LiveSplit | LiveSplit/Libs/JSON.Net/Source/Src/Newtonsoft.Json.Tests/TestObjects/PrivateImplementationBClass.cs | 2,023 | C# |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Confuser.Core;
using Confuser.Core.Helpers;
using Confuser.DynCipher;
using Confuser.DynCipher.AST;
using Confuser.DynCipher.Generation;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
namespace Confuser.Protections.Constants {
internal cla... | 30.409639 | 102 | 0.685024 | [
"MIT"
] | ambyte/ConfuserEx | Confuser.Protections/Constants/DynamicMode.cs | 2,526 | C# |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Security.Cryptography.Ciphers;
using Renci.SshNet.Security.Cryptography.Ciphers.Paddings;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes.Security.Cry... | 44.307692 | 140 | 0.594329 | [
"MIT"
] | 0xced/SSH.NET | src/Renci.SshNet.Tests/Classes/Security/Cryptography/BlockCipherTest.cs | 3,458 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CrewItem : Item
{
public override void Fix()
{
if (itemHealth >= maxItemHealth)
{
itemState = STATE_PERFECT;
animator.SetBool("Sick", false);
AfterFix();
}
... | 19.740741 | 54 | 0.572233 | [
"MIT"
] | enoble2009/GGJ2020-UNITY | Assets/Scripts/Items/CrewItem.cs | 535 | C# |
using FileServer.Common.Extensions;
using FileServer.FileProvider;
using Microsoft.Extensions.Options;
using Minio;
using Minio.Exceptions;
using System;
using System.IO;
using System.Threading.Tasks;
namespace FileServer.Minio
{
public class MinioProvider : FileProviderHandler
{
protected IFilePathCa... | 33.103896 | 191 | 0.580228 | [
"Apache-2.0"
] | jinjupeng/FileServer | src/FileServer.Minio/MinioProvider.cs | 5,246 | C# |
using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using System.Data;
using Franson.BlueTools;
namespace SimpleService
{
/// <summary>
/// Summary description for Form1.
/// </summary>
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Fo... | 33.994911 | 113 | 0.625973 | [
"MIT"
] | johanlantz/headsetpresenter | HeadsetPresenter_Bluetools/HeadsetPresenter/Bluetools/BlueTools SDK v1.2/dotNetCF200/C#/SimpleService/Form1.cs | 13,360 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using Wheatech.Modulize.Properties;
namespace Wheatech.Modulize
{
public class ModuleDiscoverCollection : ICollection<IModuleDiscover>
{
private readonly List<IModuleDiscover> _discovers;
#region Constructors
... | 25.096154 | 81 | 0.563218 | [
"MIT"
] | edwardmeng/Wheatech.Modulize | src/Wheatech.Modulize/Discover/ModuleDiscoverCollection.cs | 2,612 | C# |
using System;
namespace AlgoSdk
{
/// <summary>
/// A wrapper class around compiled teal bytes.
/// </summary>
[Serializable]
[AlgoApiFormatter(typeof(CompiledTealFormatter))]
public struct CompiledTeal
: IEquatable<CompiledTeal>
, IEquatable<byte[]>
{
public byte[] ... | 23.189189 | 73 | 0.581585 | [
"MIT"
] | CareBoo/Algorand.SDK.Unity | Packages/com.careboo.unity-algorand-sdk/CareBoo.AlgoSdk/AlgoApi/Shared/Models/CompiledTeal.cs | 858 | C# |
using System.Linq;
public partial class ModuleWeaver
{
public bool InjectOnPropertyNameChanged =true;
public void ResolveOnPropertyNameChangedConfig()
{
var value = Config?.Attributes("InjectOnPropertyNameChanged").FirstOrDefault();
if (value != null)
{
InjectOnPropert... | 23.75 | 87 | 0.665789 | [
"MIT"
] | MoaidHathot/KnownTypes.Fody | PropertyChanged/PropertyChanged.Fody/InjectOnPropertyNameChangedConfig.cs | 380 | C# |
namespace PatrynSolutions.Utilities.Monad.LocalTesting
{
using PatrynSolutions.Utilities.Monad;
public class Program
{
public static void Main(string[] args)
{
var val = "something";
var maybe = val.ToMaybe<string>();
//Maybe<string> nulM = null;
... | 22.6 | 55 | 0.548673 | [
"Apache-2.0"
] | TeturactsWill/PatrynSolutions.Utilities | src/PatrynSolutions.Utilities.Monad.LocalTesting/Program.cs | 454 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace Microsoft.EntityFrameworkCore.ValueGeneration.Inter... | 52.771429 | 113 | 0.703303 | [
"Apache-2.0"
] | BionStt/EntityFrameworkCore | src/EFCore/ValueGeneration/Internal/TemporaryDateTimeValueGenerator.cs | 1,847 | C# |
using NUnit.Framework;
using Underscore.Extensions;
namespace Underscore.Test.Collection
{
[TestFixture]
public class CompareTest
{
[Test]
public void Collection_Compare_IsSorted_StringArguments_SortedInput()
{
string[] input = { "a", "b", "c", "d", "e", "f" };
Assert.IsTrue(_.Collection.IsSorted(input... | 27.382979 | 89 | 0.600622 | [
"MIT"
] | konkked/Underscore.cs | Underscore.Test/Collection/CompareTest.cs | 2,576 | C# |
#region copyright
/// GladNet Copyright (C) 2014 Andrew Blakely
/// andrew.blakely@ymail.com
/// GitHub: HeIIoKitty
/// Unity3D: Glader
/// Please refer to the repo License file for licensing information
/// If this source code has been distributed without a copy of the original license file then this is an illegal c... | 40.170213 | 142 | 0.752648 | [
"BSD-2-Clause"
] | HelloKitty/GladNet | Common/Properties/AssemblyInfo.cs | 1,891 | C# |
// 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.
#if WIN32
namespace CommunityToolkit.WinUI.Notifications
{
/// <summary>
/// Event triggered when a notific... | 34.1875 | 97 | 0.740402 | [
"MIT"
] | ehtick/Uno.WindowsCommunityToolkit | CommunityToolkit.WinUI.Notifications/Toasts/Compat/Desktop/OnActivated.cs | 547 | C# |
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("St... | 37.972973 | 84 | 0.746619 | [
"MIT"
] | nyluntu/kata-string-calculator | StringCalculator/Properties/AssemblyInfo.cs | 1,408 | C# |
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
namespace Microsoft.VisualStudio.InteractiveWindow
{
internal static class InteractiveContentTypeDefinitions
{
[Export, Name(PredefinedInteractiveContentTypes.InteractiveContentTypeName), BaseDefinition("text"), BaseDefin... | 46.285714 | 138 | 0.817901 | [
"Apache-2.0"
] | DavidKarlas/roslyn | src/InteractiveWindow/Editor/InteractiveContentTypeDefinitions.cs | 650 | C# |
// <copyright file="Mediator.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace AsyncIO.ProducerConsumer
{
using System;
using System.Collections.Generic;
using AsyncIO.ProducerConsumer.Factories;
using AsyncIO.ProducerConsumer.Models;... | 36.13253 | 114 | 0.628876 | [
"MIT"
] | Ritor42/AsyncIO.ProducerConsumer | AsyncIO.ProducerConsumer/Mediator.cs | 3,001 | C# |
using System.Collections.Generic;
using System.Linq;
using FubuCore;
using FubuCore.Binding;
using FubuCore.Binding.InMemory;
using FubuCore.Descriptions;
using FubuMVC.Core.Http;
using FubuMVC.Core.Resources.Conneg;
namespace FubuMVC.Bender
{
public class BindingReaderOptions
{
public Bi... | 33.891892 | 93 | 0.628788 | [
"MIT"
] | mikeobrien/FubuMVC.Bender | src/FubuMVC.Bender/BindingReader.cs | 2,510 | C# |
using OpenTK;
namespace pingine.Game.State
{
public static partial class EntityBehaviours
{
public static void TestMoving(Entity entity)
{
entity.Position = Vector2.Add(entity.Position, new Vector2(1, 1));
}
}
}
| 20.153846 | 78 | 0.625954 | [
"MIT"
] | HapaxL/pingine | pingine/Game/State/EntityBehaviours.cs | 264 | C# |
using System.Diagnostics.Contracts;
using System.Threading.Tasks;
using LanguageExt.TypeClasses;
namespace LanguageExt.ClassInstances
{
/// <summary>
/// Equality class instance for all record types
/// </summary>
/// <typeparam name="A">Record type</typeparam>
public struct EqRecord<A> : Eq<A> wh... | 25.9 | 57 | 0.577864 | [
"MIT"
] | Bagoum/language-ext | LanguageExt.Core/ClassInstances/Eq/EqRecord.cs | 779 | C# |
/**
* Copyright (c) 2019-2021 LG Electronics, Inc.
*
* This software contains code licensed as described in LICENSE.
*
*/
using System;
using System.Linq;
using UnityEngine;
using UnityEditor;
using Simulator.Map;
[CustomEditor(typeof(MapParkingSpace)), CanEditMultipleObjects]
public class MapParkingSpaceEditor ... | 47.047619 | 196 | 0.599978 | [
"Apache-2.0",
"BSD-3-Clause"
] | HaoruXue/simulator | Assets/Scripts/Editor/Map/MapParkingSpaceEditor.cs | 8,892 | C# |
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("02.... | 37.513514 | 84 | 0.745677 | [
"MIT"
] | mdamyanova/C-Sharp-Web-Development | 08.C# Fundamentals/08.02.C# OOP Basics/07.Polymorphism/02.Animals/Properties/AssemblyInfo.cs | 1,391 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using EDO.Core.ViewModel;
using EDO.Core.Model;
using System.Diagnostics;
namespace EDO.SamplingCategory.SamplingForm
{
public class SamplingNumberVM :BaseVM, IEditableObject
{
private Sa... | 24.453947 | 79 | 0.485069 | [
"Apache-2.0"
] | ssjda-ddi/EDO | EDO/SamplingCategory/SamplingForm/SamplingNumberVM.cs | 3,719 | C# |
// 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;
using System.IO;
using Microsoft.DotNet.Tools.Test.Utilities;
using Xunit;
[assembly: CollectionBehavior(DisableTestParallelizati... | 37.942149 | 105 | 0.534524 | [
"MIT"
] | APiZFiBlockChain4/cli | test/EndToEnd/GivenDotNetUsesMSBuild.cs | 4,593 | C# |
// SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
// SPDX-License-Identifier: Apache License 2.0
using System;
using System.IO;
using Crayon;
using Microsoft.Extensions.Logging;
using Xunit;
namespace Monai.Deploy.InformaticsGateway.CLI.Test
{
public class ConsoleLoggerTest
{
[Fact(DisplayName ... | 35.35119 | 165 | 0.522142 | [
"Apache-2.0"
] | Project-MONAI/monai-deploy-informatics-gateway | src/CLI/Test/ConsoleLoggerTest.cs | 5,942 | C# |
using System.Collections.Immutable;
namespace Elevator.Agent.Models
{
public class BuildTaskResult
{
public ImmutableList<string> Logs { get; set; }
public TaskStatus Status { get; set; }
}
public enum TaskStatus
{
InProgress,
Success,
Failed
}
}
| 16.578947 | 55 | 0.606349 | [
"MIT"
] | Elevator-CI/elevator-agent | Elevator.Agent/Models/BuildTaskResult.cs | 317 | C# |
/*
* Portions Copyright 2019-2021, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE)
*
* 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/licen... | 56.278418 | 263 | 0.532361 | [
"Apache-2.0"
] | santedb/santedb-gs1 | SanteDB.Messaging.GS1/Rest/StockServiceBehavior.cs | 34,163 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using SerializationTypes;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
... | 46.844137 | 995 | 0.668107 | [
"MIT"
] | 2m0nd/runtime | src/libraries/System.Private.Xml/tests/XmlSerializer/XmlSerializerTests.cs | 94,672 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Extensions.SignalRService;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
... | 36.689655 | 104 | 0.657425 | [
"Unlicense"
] | taylorhutchison/effortapp | api/RoomFn.cs | 2,128 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 34.294118 | 101 | 0.57976 | [
"MIT"
] | AKQHealthService/fhir-server | src/Microsoft.Health.Fhir.Core/Features/Operations/Export/Models/ExportJobFailureDetails.cs | 1,168 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Avro.Specific;
namespace YCherkes.SchemaRegistry.Serdes.Avro.Helpers
{
internal static class ReflectionHelper
{
internal static IEnumerable<Type> GetSpecificTypes(IEnumerable<Assembly> assemblies)
... | 29.1875 | 124 | 0.614561 | [
"MIT"
] | ycherkes/multi-schema-avro-desrializer | src/YCherkes.SchemaRegistry.Serdes.Avro/Helpers/ReflectionHelper.cs | 936 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 35.285714 | 108 | 0.607773 | [
"Apache-2.0"
] | EbstaLimited/aws-sdk-net | sdk/src/Services/CloudWatch/Generated/Model/DescribeAnomalyDetectorsRequest.cs | 6,175 | C# |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using HandyControl.Data;
namespace HandyControl.Controls
{
public class CirclePanel : Panel
{
public static readonly DependencyProperty DiameterProperty = DependencyProperty.Register(
"Diameter",... | 34.78022 | 167 | 0.59842 | [
"MIT"
] | 5653325/HandyControl | src/Shared/HandyControl_Shared/Controls/Panel/CirclePanel.cs | 3,167 | C# |
namespace StringInAnotherApperancesService.Client
{
using System;
class ClientUI
{
static void Main()
{
string decorationLine = new string('-', Console.WindowWidth);
Console.Write(decorationLine);
Console.WriteLine("***Consuming the service for getting t... | 40.965517 | 120 | 0.647306 | [
"MIT"
] | vladislav-karamfilov/TelerikAcademy | Web Services Projects/Homework-WindowsCommunicationFoundation/StringInAnotherApperancesService.Client/ClientUI.cs | 1,190 | C# |
using UnityEngine;
using System.Collections;
using System;
public class FireController : MonoBehaviour {
public AI.FSM.StateMachine<FireController> fsm;
public float senseTimer = 0.01f;
public FireWeapon weapon;
public bool PointClick = false;
public Transform target=null;
public float ro... | 22.910714 | 134 | 0.521824 | [
"CC0-1.0"
] | luispenya/UnityCourseSamples | DungeonMaze/Assets/AI/FireController.cs | 2,568 | C# |
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("07... | 37.918919 | 84 | 0.744833 | [
"MIT"
] | PAFICH/cSHARP | 05.Conditional-Statements/07.Sort3Numbers/Properties/AssemblyInfo.cs | 1,406 | C# |
using Newtonsoft.Json;
using System.Configuration;
using System.Net;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ReCaptcha.Library
{
public class ReCaptchaValidator : BaseValidator
{
protected override bool ControlPropertiesValid()
{
var reCaptcha = FindControl(... | 34.606061 | 163 | 0.664623 | [
"Unlicense"
] | Swimburger/Webforms-ReCaptcha | ReCaptcha.Library/ReCaptchaValidator.cs | 1,144 | C# |
// 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;
namespace Dashboard.Data
{
public interface IFunctionIndexVersionManager
{
void UpdateOrCreateIfLatest(... | 27.153846 | 111 | 0.753541 | [
"Apache-2.0"
] | alpaix/azure-jobs | src/Dashboard/Data/IFunctionIndexVersionManager.cs | 355 | C# |
// Copyright (c) 2010-2012 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... | 39.292683 | 89 | 0.726257 | [
"MIT"
] | shoelzer/SharpDX | Source/Toolkit/SharpDX.Toolkit.Graphics/VertexBufferBindingCollection.cs | 1,613 | C# |
namespace StockInventoryManagement.forms
{
partial class frmStock
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... | 49.453237 | 169 | 0.625546 | [
"MIT"
] | SrinivasanMuthukannu/InvGen | StockInventoryManagement/StockInventoryManagement/forms/frmStock.Designer.cs | 6,876 | C# |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... | 41.210084 | 183 | 0.58279 | [
"Apache-2.0"
] | philasmar/aws-sdk-net | sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/CopyDBClusterSnapshotRequestMarshaller.cs | 4,904 | C# |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Micro... | 42.290323 | 160 | 0.668192 | [
"Apache-2.0"
] | OceanYan/roslyn | src/Features/CSharp/Portable/RemoveUnnecessaryImports/CSharpRemoveUnnecessaryImportsService.cs | 5,244 | C# |
using System;
namespace B2C.WebApi
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 18.1875 | 69 | 0.597938 | [
"MIT"
] | manoj-choudhari-git/MSAL-3.0-Samples | B2C.WebApi/WeatherForecast.cs | 291 | C# |
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("09... | 38.027027 | 84 | 0.745558 | [
"MIT"
] | Vladeff/TelerikAcademy | C#2 Homework/Arrays/09.FrequentNumber/Properties/AssemblyInfo.cs | 1,410 | C# |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Microsoft.Recognizers.Text.Choice;
using Microsoft.Recognizers.Text.DateTime;
using Microsoft.Recognizers.Text.DateTime.Dutch;
using Microsoft.Recognizers.Text.Da... | 61.208704 | 291 | 0.663844 | [
"MIT"
] | LionbridgeCSII/Recognizers-Text | .NET/Microsoft.Recognizers.Text.DataDrivenTests/TestHelpers.cs | 61,884 | C# |
using System;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NetCoreKit.Infrastructure.EfCore.Extensions;
using NetCoreKit.Infrastructure.EfCore.Repository;
namespace VND.CoolStore.Services.Cart.v1.Extensions
{
public static class CartRepositoryExtensions
{
public static async... | 30.37931 | 88 | 0.61748 | [
"MIT"
] | Anberm/coolstore-microservices | src/services/cart/v1/Extensions/CartRepositoryExtensions.cs | 881 | C# |
namespace Models.Responses
{
public class CustomerCreatedModel
{
public int Id { get; set; }
public string InfoMessage { get; set; }
}
}
| 18.444444 | 47 | 0.608434 | [
"MIT"
] | ST4NSB/checkout-api | Models/Responses/CustomerCreatedModel.cs | 168 | C# |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 07.12.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... | 23.524249 | 125 | 0.526016 | [
"MIT"
] | ibprovider/Lcpi.EFCore.LcpiOleDb | Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Funcs/Int16/SET001/STD/Equals/Complete/Double/TestSet_504__param__01__VV.cs | 10,188 | C# |
using System;
using Xunit;
using Util;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace WordLadder
{
public class Solution
{
public int LadderLength(string beginWord, string endWord, IList<string> wordList)
{
// give up.
// copy from: htt... | 35.177305 | 93 | 0.409879 | [
"MIT"
] | beingj/LeetCode | 0127-WordLadder.cs | 4,960 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Orleans
{
internal static class SetExtensions
{
/// <summary>
/// Shortcut to create HashSet from IEnumerable that supports type inference
/// (which the standard constructor does not)
/// </summary>
... | 40.863158 | 216 | 0.535677 | [
"MIT"
] | Drawaes/orleans | src/Orleans/Utils/SetExtensions.cs | 7,764 | C# |
using System;
#if NET472
using Microsoft.IO;
using Microsoft.IO.Enumeration;
#else
using System.IO;
using System.IO.Enumeration;
#endif
namespace Meziantou.Framework.Globbing
{
public abstract class GlobCollectionFileSystemEnumerator<T> : FileSystemEnumerator<T>
{
private readonly GlobCollection _glo... | 30.909091 | 128 | 0.675882 | [
"MIT"
] | DomLatr/Meziantou.Framework | src/Meziantou.Framework.Globbing/GlobCollectionFileSystemEnumerator.cs | 1,702 | C# |
using System.Diagnostics;
using Volte.Commands;
using Volte.Commands.Results;
namespace Volte.Core.Models.EventArgs
{
public sealed class CommandBadRequestEventArgs : CommandEventArgs
{
public BadRequestResult Result { get; }
public ResultCompletionData ResultCompletionData { get; }
pu... | 30.64 | 135 | 0.655352 | [
"MIT"
] | Perksey/Volte | src/Core/Models/EventArgs/Commands/CommandBadRequestEventArgs.cs | 768 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Copyright (c) Denis Kuzmin <x-3F@outlook.com> github/3F
// Copyright (c) IeXod contributors https://github.com/3F/IeXod/graphs/contributors
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Syst... | 32.642857 | 103 | 0.654267 | [
"MIT"
] | 3F/IeXod | src/Framework/TelemetryEventArgs.cs | 916 | C# |
using System;
using RunescapeNavigator.Core.Enums;
using RunescapeNavigator.Data;
namespace RunescapeNavigator.ConsoleTester
{
class Program
{
static void Main(string[] args)
{
var client = new RS3RestClient();
var p2 = client.GetRegularPlayer("Dreamhack");
... | 24.625 | 68 | 0.64467 | [
"MIT"
] | RunescapeNavigator/RunescapeNavigator | RunescapeNavigator.ConsoleTester/Program.cs | 396 | C# |
// 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 System.Collections.Generic;
using System.Linq;
using Microsoft.Toolkit.Uwp.UI... | 35.305085 | 111 | 0.666347 | [
"MIT"
] | CommunityToolkit/Lottie-Windows | source/LottieToWinComp/TranslationResult.cs | 2,085 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.