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 |
|---|---|---|---|---|---|---|---|---|
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 45.636364 | 176 | 0.636255 | [
"MIT"
] | GeertVL/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Generated/model/IosVppAppRevokeLicensesActionResult.cs | 5,020 | C# |
// Copyright (c) Daniel Crenna & Contributors. 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.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using Microsoft.AspNetCore.Mvc;
usin... | 31.477273 | 111 | 0.768231 | [
"Apache-2.0"
] | danielcrenna/ActiveRoutes | src/Demo/TokenController.cs | 1,387 | C# |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 33.948718 | 90 | 0.685801 | [
"Apache-2.0"
] | Energinet-DataHub/geh-timeseries | source/GreenEnergyHub.TimeSeries/source/GreenEnergyHub.TimeSeries.Infrastructure/Messaging/Serialization/XmlReaderExtension.cs | 1,326 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | 40.291667 | 80 | 0.642192 | [
"MIT"
] | NickolayNanov/Software-Engineering | C# Fundamentals/C#_Advanced/Exams/C# Advanced Exam - 11 February 2018/11 February 2018/Regeh/obj/Release/netcoreapp2.1/Regeh.AssemblyInfo.cs | 967 | C# |
//
// <copyright file="AssemblyInfo.cs" company="Microsoft">
// Copyright (C) Microsoft. All rights reserved.
// </copyright>
//
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the follo... | 37.47619 | 85 | 0.728081 | [
"MIT"
] | 9578577/Windows-classic-samples | Samples/ServerEssentialsDashboard/cs/WSSSubTabWinFormsSample/Properties/AssemblyInfo.cs | 1,534 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool<T> where T : Component
{
T _prefabToPool;
Transform _parent;
int _startSize;
protected Queue<T> Pool = new Queue<T>();
public ObjectPool(T prefabToPool, Transform parent, int startSize)
{
... | 22.122807 | 70 | 0.623315 | [
"MIT"
] | metalac190/FF6Rebuild | Assets/_Game/Scripts/_Common/ObjectPool.cs | 1,261 | C# |
using GetIntoTeachingApi.Services;
using GetIntoTeachingApi.Validators;
using Moq;
using Xunit;
using System;
using FluentValidation;
using FluentValidation.Internal;
using FluentValidation.Validators;
using GetIntoTeachingApi.Models;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
namesp... | 37.701754 | 140 | 0.694742 | [
"MIT"
] | uk-gov-mirror/DFE-Digital.get-into-teaching-api | GetIntoTeachingApiTests/Validators/LookupItemIdValidatorTests.cs | 2,151 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... | 56.109859 | 372 | 0.6543 | [
"MIT"
] | vidai-msft/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualApplianceSiteCollection.cs | 19,919 | C# |
// Copyright 2018-2020 Finbuckle LLC, Andrew White, and Contributors
//
// 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... | 40.695652 | 78 | 0.708333 | [
"Apache-2.0"
] | 861191244/Finbuckle.MultiTenant | src/Finbuckle.MultiTenant/Options/ITenantConfigureOptions.cs | 938 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Adapters;
using Microsoft.Recognizers.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Bot.Builder.Di... | 36.549296 | 122 | 0.548748 | [
"MIT"
] | fahadash/botbuilder-dotnet | tests/Microsoft.Bot.Builder.Dialogs.Tests/WaterfallTests.cs | 7,785 | 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... | 37.031746 | 157 | 0.624946 | [
"Apache-2.0"
] | Bio2hazard/aws-sdk-net | sdk/src/Services/CloudDirectory/Generated/Model/Internal/MarshallTransformations/ListPolicyAttachmentsRequestMarshaller.cs | 4,666 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CandleDrawer : AbstractDrawer
{
}
| 14.666667 | 42 | 0.787879 | [
"CC0-1.0"
] | GilbertoZinourov/GGJ21 | InSearchOfACat/Assets/Scripts/Interactables/CandleDrawer.cs | 132 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using SharpBrick.PoweredUp.Protocol;
using SharpBrick.PoweredUp.Utils;
namespace SharpBrick.PoweredUp
{
public class MarioHubDebug : Device, IPoweredUpDevice
{
public MarioHubDebug()
{ }
publ... | 32.907407 | 133 | 0.678109 | [
"MIT"
] | KeyDecoder/powered-up | src/SharpBrick.PoweredUp/Devices/MarioHubDebug.cs | 1,777 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBitcoin.RPC
{
//from rpcserver.h
public enum RPCOperations
{
getconnectioncount,
getpeerinfo,
ping,
addnode,
getaddednodeinfo,
getnettotals,
dumpprivkey,
... | 18.141732 | 128 | 0.729601 | [
"MIT"
] | macloviw/NBitcoin | NBitcoin/RPC/RPCOperations.cs | 2,306 | C# |
using Newtonsoft.Json.Linq;
using System;
using System.Linq;
namespace Converto
{
public static partial class Main
{
/// <summary>
/// The ConvertTo function allows you to create an object of a different type using the matching properties of another object.
/// </summary>
/// <... | 40.963636 | 137 | 0.608966 | [
"MIT"
] | Odonno/Converto | Converto/Main.ConvertTo.cs | 2,255 | C# |
#pragma checksum "..\..\UserControl1.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A6E2AC39FB946193F82764287806E9A9F6AD2E66F40E80294E69AE4811F1AD55"
//------------------------------------------------------------------------------
// <auto-generated>
// Este código fue generado por una herramienta.
// Versión... | 38.487342 | 151 | 0.624897 | [
"MIT"
] | O-Debegnach/Supervisor-de-Comercio | ControlDeVentana/obj/Debug/UserControl1.g.i.cs | 6,088 | C# |
using Microsoft.AspNetCore.Mvc;
using SocialNetwork.Business.Contracts.ViewModels;
namespace SocialNetwork.Controllers
{
public class ProfileController : Controller
{
[HttpGet]
public IActionResult Edit()
{
return View();
}
[HttpPost]
public IAction... | 21.238095 | 65 | 0.61435 | [
"MIT"
] | EugeneLevchenkov/Learn-ASP.NET-Core | SocialNetwork/src/SocialNetwork/Controllers/ProfileController.cs | 448 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Linguistics.Core
{
[Serializable]
public class EntityTypeStructure
{
public EntityType? EntityType { get; set; }
public string CustomType { get; set; }
public string GetFullType()
{
if (EntityType.HasVal... | 17.173913 | 45 | 0.718987 | [
"MIT"
] | elzin/SentimentAnalysisService | Sources/Core/csharp/Linguistics.Core/Entity/EntityTypeStructure.cs | 397 | C# |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v6/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#region Designer generated code
using pb = global::Google.Pro... | 41.765217 | 444 | 0.729336 | [
"Apache-2.0"
] | GraphikaPS/google-ads-dotnet | src/V6/Types/PolicyTopicEvidenceDestinationNotWorkingDnsErrorType.cs | 9,606 | C# |
using System;
using System.Web.Http;
using System.Web.Mvc;
using BooksService.Areas.HelpPage.ModelDescriptions;
using BooksService.Areas.HelpPage.Models;
namespace BooksService.Areas.HelpPage.Controllers
{
/// <summary>
/// The controller that will handle requests for the help page.
/// </summary>
publ... | 30.079365 | 115 | 0.598417 | [
"MIT"
] | CNinnovation/azureandwebservices | webapi/BooksService/BooksService/Areas/HelpPage/Controllers/HelpController.cs | 1,895 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MakersOfDenmark.Domain.Models
{
public class Event : Entity<Guid>
{
public string Address { get; set; }
public string Title { get; set; }
public string Start { get; set; }
public string End { get; set;... | 29.95 | 79 | 0.619366 | [
"Apache-2.0"
] | julian-code/makersofdenmark | src/MakersOfDenmark.Domain/Models/Event.cs | 601 | C# |
using Newtonsoft.Json;
using Umbraco.Cms.Infrastructure.Serialization;
namespace Umbraco.Cms.Core.Models.Blocks
{
/// <summary>
/// Used for deserializing the block list layout
/// </summary>
public class BlockListLayoutItem
{
[JsonProperty("contentUdi", Required = Required.Always)]
... | 29.8 | 83 | 0.681208 | [
"MIT"
] | Ambertvu/Umbraco-CMS | src/Umbraco.Infrastructure/Models/Blocks/BlockListLayoutItem.cs | 598 | C# |
using FriendOrganizer.UI.Event;
using Prism.Commands;
using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace FriendOrganizer.UI.ViewModel
{
public class NavigationItemViewModel : ViewModelBase
... | 27.464286 | 102 | 0.596229 | [
"MIT"
] | PezeM/FriendOrganizer | FriendOrganizer.UI/ViewModel/NavigationItemViewModel.cs | 1,540 | C# |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Testing;
... | 31.691057 | 143 | 0.578245 | [
"MIT"
] | AraHaan/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1020UnitTests.cs | 3,900 | C# |
using Reductech.Sequence.Core.Steps;
namespace Reductech.Sequence.Connectors.Nuix.Tests.Steps;
public partial class NuixCountItemsTests : NuixStepTestBase<NuixCountItems, SCLInt>
{
/// <inheritdoc />
protected override IEnumerable<NuixIntegrationTestCase> NuixTestCases
{
get
{
... | 33.214286 | 83 | 0.355556 | [
"Apache-2.0"
] | reductech/Nuix | Nuix.Tests/Steps/NuixCountItemsTests.cs | 1,397 | C# |
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace MxWeiXinPF.Web.api.payment.wxpay {
... | 22.5 | 81 | 0.319444 | [
"MIT"
] | herrylau/wwzkushop | MxWeiXinPF.Web/api/payment/wxpay/feedback.aspx.designer.cs | 474 | C# |
using NUnit.Framework;
using NUnit.Framework.Constraints;
using System;
using System.Drawing;
using System.IO;
namespace ThermalTalk.Imaging.Test
{
[TestFixture]
public class PrintImageTests
{
private const string baseDir = "test_data";
[OneTimeSetUp]
public void Setup()
... | 32.559006 | 90 | 0.525563 | [
"MIT"
] | Calonious/ThermalTalk | ThermalTalk.Imaging.Test/PrintImageTests.cs | 5,244 | C# |
namespace BaristaLabs.Skrapr.ChromeDevTools.Network
{
using Newtonsoft.Json;
/// <summary>
/// Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the <code>cookies</code> field.
/// </summary>
public sealed class... | 28.878049 | 177 | 0.59375 | [
"MIT"
] | BaristaLabs/BaristaLabs.Skrapr | src/BaristaLabs.Skrapr.ChromeDevTools/Network/GetCookiesCommand.cs | 1,184 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace cs_timed_silver
{
public class RelayCommand : ICommand
{
protected Action MyExecuteMethod;
protected Func<bool> MyCanExecuteMethod;
... | 22.490909 | 64 | 0.533549 | [
"MIT"
] | silviubogan/timed-silver | Source/cs-timeout/WPF/RelayCommand.cs | 1,239 | C# |
using EasyChallenge.Domain.Constants;
using Newtonsoft.Json;
using System;
namespace EasyChallenge.Domain
{
public class Fund : BaseInvestment
{
[JsonProperty("capitalInvestido")]
public override decimal InvestedAmount { get; init; }
[JsonProperty("ValorAtual")]
public overri... | 28.652174 | 100 | 0.664643 | [
"MIT"
] | guilhermeor/easy_challenge | Src/EasyChallenge.Domain/Fund.cs | 661 | C# |
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Rssdp.Infrastructure
{
/// <summary>
/// Provides the platform independent logic for publishing device existence and responding to search requests.
/// </summary>
internal sealed class SsdpCommunicationsServer : DisposableMan... | 41.163551 | 253 | 0.588092 | [
"MIT"
] | dk307/HSPI_RemoteHelper | Roku/ssdp/SsdpCommunicationsServer.cs | 17,620 | C# |
using CoinGecko.Interfaces;
using Cryptofolio.Collector.Job.Data;
using Cryptofolio.Infrastructure;
using Cryptofolio.Infrastructure.Data;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespac... | 36.289474 | 135 | 0.639956 | [
"MIT"
] | fperronnet/cryptofolio | test/Cryptofolio.Collector.Job.IntegrationTests/Data/ExchangeDataRequestHandlerTests.cs | 2,758 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using SevenTiny.Bantina.Validation;
using SevenTiny.Cloud.MultiTenantPlatform.Core.Entity;
using SevenTiny.Cloud.MultiTenantPlatform.Core.Enum;
using SevenTiny.Cloud.MultiTenantPlatform.Core.ServiceContract;
using SevenTiny.Cloud.MultiTenantPlatform.Web.... | 37.04878 | 122 | 0.615372 | [
"Apache-2.0"
] | PayHard/SevenTiny.Cloud.MultiTenantPlatform | 10-Code/Seventiny.Cloud.DevelopmentWeb/Controllers/IndexViewController.cs | 6,372 | C# |
using Cybtans.Graphics.Models;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cybtans.Graphics.Shading
{
public class Shader
{
public Dictionary<string, string> Inputs { get; set; }
public Dictiona... | 23.068493 | 92 | 0.542755 | [
"MIT"
] | ansel86castro/cybtans-sdk | CybtansSDK/Graphics/Cybtans.Graphics/Shading/Shader.cs | 1,686 | C# |
using AV.Middle.Pattern.Behavioral.ComputerParts.Concrete;
using AV.Middle.Pattern.Behavioral.ComputerParts.Visitor;
using AV.Middle.Reflector.IService;
using System;
using System.Collections;
namespace AV.Middle.Pattern.Behavioral.ComputerParts
{
public class VisitorProcess : IProcess
{
public Hashtable Hashtabl... | 22.5 | 59 | 0.759596 | [
"MIT"
] | iAvinashVarma/RunnerCore | Middle/Pattern/Behavioral/AV.Middle.Pattern.Behavioral.ComputerParts/VisitorProcess.cs | 497 | C# |
//
// NullDhtListener.cs
//
// Authors:
// Alan McGovern <alan.mcgovern@gmail.com>
//
// Copyright (C) 2020 Alan McGovern
//
// 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 rest... | 29.757576 | 76 | 0.697556 | [
"MIT"
] | Tansien/MonoTorrent | src/MonoTorrent.Client/MonoTorrent.Connections.Dht/NullDhtListener.cs | 1,966 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ModelsLibrary
{
public class StoreModel
{
public int LocationID { get; set; }
public int ProductID { get; set; }
[Display(Name = "P... | 21.482759 | 48 | 0.70626 | [
"MIT"
] | 06012021-dotnet-uta/EthanBakerP1 | Project1Folder/ModelsLibrary/StoreModel.cs | 625 | C# |
namespace WIC
{
public enum WICPngIccpProperties
{
ProfileName = 1,
ProfileData,
}
}
| 10.222222 | 33 | 0.706522 | [
"MIT"
] | udaken/interop.wincodec | WIC/WICPngIccpProperties.cs | 92 | 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 disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... | 42.304721 | 201 | 0.697474 | [
"MIT"
] | 333fred/roslyn | src/Compilers/CSharp/Portable/Symbols/Synthesized/SynthesizedContainer.cs | 9,859 | C# |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... | 33.2603 | 486 | 0.475874 | [
"MIT"
] | F-V-L/platform-client-sdk-dotnet | build/src/PureCloudPlatform.Client.V2/Model/FaxDocument.cs | 17,761 | C# |
using System;
using System.Formats.Asn1;
using System.Numerics;
using System.Security;
namespace OpenGost.Security.Cryptography.Asn1;
[SecuritySafeCritical]
internal ref struct AsnValueReader
{
private static readonly byte[] _singleByte = new byte[1];
private ReadOnlySpan<byte> _span;
private readonly A... | 28.432836 | 111 | 0.624847 | [
"MIT"
] | sergezhigunov/gost | src/OpenGost.Security.Cryptography/Asn1/AsnValueReader.cs | 5,717 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Archigen;
namespace Archigen.Examples
{
/// <summary>
/// A random string generator.
/// </summary>
public class StringGenerator : IGenerator<string>
{
private Random Random = new Random();
... | 25.234568 | 87 | 0.500978 | [
"MIT"
] | kesac/Archigen | Archigen/Archigen.Examples/Program.cs | 2,046 | C# |
using Core;
using Core.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Entities.DTOs
{
public class UserForLoginDto : IDto
{
public string Email { get; set; }
public string Password { get; set; }
}
}
| 17.933333 | 44 | 0.672862 | [
"MIT"
] | aykutsahin98/ReCapProject | Entities/DTOs/UserForLoginDto.cs | 271 | C# |
using CairoDesktop.Common.Logging;
using CairoDesktop.Interop;
using CairoDesktop.SupportingClasses;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
namespace CairoDesktop.AppGrabber... | 38.882641 | 189 | 0.563353 | [
"Apache-2.0"
] | nlsantos/cairoshell | Cairo Desktop/CairoDesktop.AppGrabber/AppGrabberUI.xaml.cs | 15,905 | C# |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using Bicep.Core.Parsing;
using Bicep.Core.Syntax;
namespace Bicep.Core.UnitTests.Utils
{
public static class ParserHelper
{
public static ProgramSyntax Parse(string text)
{
... | 28.025641 | 182 | 0.594694 | [
"MIT"
] | AlanFlorance/bicep | src/Bicep.Core.UnitTests/Utils/ParserHelper.cs | 1,093 | C# |
using Leibit.Core.Common;
using Leibit.Core.Exceptions;
using Leibit.Entities.Settings;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Leibit.BLL
{
public class SettingsBLL : BLLBase
{
#region - Needs -
private static Setti... | 33.631783 | 174 | 0.553187 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | jannikbecker/leib | Leibit.BLL/SettingsBLL.cs | 8,683 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 34.722222 | 153 | 0.5712 | [
"MIT"
] | AzureMentor/msgraph-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/DeviceCategoryRequestBuilder.cs | 1,875 | C# |
using MDW.Entity;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MDW.Repository.Interfaces
{
public interface IRoleRepository
{
Task<List<Role>> GetRoles();
Task<Role> GetRole(string role);
Task<bool> CreateRole(Role role);
Task<bool>... | 20.882353 | 44 | 0.64507 | [
"MIT"
] | parameshg/markdownwiki | Repository/Interfaces/IRoleRepository.cs | 357 | 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("5.... | 38.027027 | 84 | 0.745558 | [
"MIT"
] | DVidenov/TelerikHomeworks | PrimitiveDataTypes/5.BooleanVariable/Properties/AssemblyInfo.cs | 1,410 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace InternetPhoneBook
{
public class Program
{
... | 23.346154 | 61 | 0.665568 | [
"MIT"
] | KamilJerzyWojcik/InternetPhoneBook | InternetPhoneBook/Program.cs | 609 | C# |
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using TestCreator.Data.Converters.DTO.Interfaces;
using TestCreator.Data.Database;
using TestCreator.Data.Queries.Handlers.Common;
using TestCreator.Data.Queries.Results;
namespace TestCreator.Data.Queries.Handlers
{
public clas... | 32.243902 | 129 | 0.677005 | [
"MIT"
] | PDanowski/TestCreator_React | TestCreator/TestCreator.Data/Queries/Handlers/GetTestQueryHandler.cs | 1,324 | C# |
// Copyright © Conatus Creative, Inc. All rights reserved.
// Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license terms.
using CRTSim;
using Microsoft.Xna.Framework.Graphics;
using Pixel3D.ActorManagement;
namespace Pixel3D.Levels
{
public interface ILevelEffect
{
vo... | 31.933333 | 118 | 0.751566 | [
"Apache-2.0"
] | caogtaa/Pixel3D | src/Pixel3D.Levels/ILevelEffect.cs | 482 | C# |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file ... | 30.5 | 92 | 0.497695 | [
"Apache-2.0"
] | sunshinele/npoi | scratchpad/HWPF/Extractor/Word6Extractor.cs | 3,904 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Media.Animation
{
#if false || false || false || false
[global::Uno.NotImplemented]
#endif
public partial class EntranceNavigationTransitionInfo : global::Windows.UI.Xaml.Media.Animation.Na... | 42.604651 | 216 | 0.774017 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Media.Animation/EntranceNavigationTransitionInfo.cs | 1,832 | C# |
using ChartJs.Blazor.Common.Axes.Ticks;
using ChartJs.Blazor.Common.Enums;
namespace ChartJs.Blazor.Common.Axes;
/// <summary>
/// The linear scale is use to chart numerical data. It can be placed on either the x or y axis.
/// As the name suggests, linear interpolation is used to determine where a value lies on the... | 41.6 | 131 | 0.741987 | [
"MIT"
] | Verent/ChartJs.Blazor | src/ChartJs.Blazor/Common/Axes/LinearCartesianAxis.cs | 626 | C# |
// Copyright 2018 Esri.
//
// 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, software ... | 40.022945 | 612 | 0.554414 | [
"Apache-2.0"
] | ChrisFrenchPDX/arcgis-runtime-samples-dotnet | src/Forms/Shared/Samples/Data/EditAndSyncFeatures/EditAndSyncFeatures.xaml.cs | 20,932 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("01.delegateSample")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("HP Inc.")]
[assembl... | 26.027027 | 57 | 0.717549 | [
"MIT"
] | 2539187294/GitHub_Test | SangFor.LHT/01.delegateSample/Properties/AssemblyInfo.cs | 1,304 | C# |
//-----------------------------------------------------------------------------
// Filename: DtlsSrtpTransport.cs
//
// Description: This class represents the DTLS SRTP transport connection to use
// as Client or Server.
//
// Author(s):
// Rafael Soares (raf.csoares@kyubinteractive.com)
//
// History:
// 01 Jul 2020... | 31.951673 | 180 | 0.51879 | [
"MIT"
] | GB28181/GB28181.Platform2016 | sipsorcery/src/net/DtlsSrtp/DtlsSrtpTransport.cs | 17,192 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... | 33.966667 | 103 | 0.562316 | [
"Apache-2.0"
] | Daniel-Svensson/OpenRiaServices | src/OpenRiaServices.EntityFramework/Test/DbContextModel/AdventureWorks/Department.cs | 1,019 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 47.574468 | 153 | 0.657871 | [
"MIT"
] | OfficeGlobal/msgraph-beta-sdk-dotnet | src/Microsoft.Graph/Requests/Generated/IServicePrincipalTransitiveMemberOfCollectionWithReferencesRequestBuilder.cs | 2,236 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace BlazorStyled.Internal
{
internal static class StringExtensions
{
private static readonly Random rnd = new Random();
public static string RemoveDuplicateSpaces(this string source)... | 35.647959 | 182 | 0.401603 | [
"Unlicense"
] | BlazorHub/BlazorStyled | src/BlazorStyled/Internal/StringExtensions.cs | 6,989 | C# |
using GymHub.Data.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace GymHub.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]... | 26.790698 | 90 | 0.618924 | [
"MIT"
] | rosenkolev1/GymHub-SoftUni-CSharp-WebProject | GymHub/GymHub.Web/Areas/Identity/Pages/Account/Logout.cshtml.cs | 1,154 | C# |
namespace XmlViewer.Editor.Messages
{
internal class ToEditorScreenMessage
{
public static ToEditorScreenMessage Instance => new ToEditorScreenMessage();
}
}
| 22.375 | 84 | 0.731844 | [
"Apache-2.0"
] | CVOSoftware/XmlViewer | source/XmlViewer.Editor/Messages/ToEditorScreenMessage.cs | 181 | 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... | 53.857817 | 287 | 0.692831 | [
"Apache-2.0"
] | icanread/aws-sdk-net | sdk/src/Services/DirectConnect/Generated/_mobile/AmazonDirectConnectClient.cs | 159,850 | C# |
using Radical.Conversions;
using Radical.Windows.ComponentModel;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
namespace Radical.Windows.Regions
{
/// <summary>
/// An content region hosted by a ContentPresenter.
/// </summary>
public sealed class ContentPresenterRe... | 29.709677 | 113 | 0.574376 | [
"MIT"
] | RadicalFx/Radical.Windows | src/Radical.Windows/Regions/ContentPresenterRegion.cs | 1,844 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using BrightstarDB.Dto;
using BrightstarDB.Model;
#if PORTABLE
using BrightstarDB.Portable.Compatibility;
#elif WINDOWS_PHONE
using BrightstarDB.Mobile.Compatibility;
#else
using System.Collections.Concurrent;
#... | 41.200397 | 197 | 0.536528 | [
"MIT"
] | rajcybage/BrightstarDB | src/core/BrightstarDB/Server/StoreWorker.cs | 20,767 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 35.344828 | 153 | 0.585366 | [
"MIT"
] | DamienTehDemon/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/IWorkbookFunctionsImSinRequest.cs | 2,050 | C# |
#if NET6_0_OR_GREATER
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using VerifyTests;
class DateConverter :
WriteOnlyJsonConverter<DateOnly>
{
SharedScrubber scrubber;
public DateConverter(SharedScrubber scrubber)
{
this.scrubber = scrubber;
}
... | 21.212121 | 56 | 0.62 | [
"MIT"
] | CyberFlameGO/Verify | src/Verify/Serialization/Converters/DateConverter.cs | 670 | C# |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
namespace TerraFX.Interop
{
publ... | 26.636364 | 145 | 0.658703 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | sources/Interop/Windows/um/d3d12/D3D12_QUERY_DATA_PIPELINE_STATISTICS.cs | 1,174 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace ConvertPowerpointToPDF4dots
{
public class StringRange
{
private string Range = "";
public StringRange(string stringrange)
{
Range = stringrange;
}
public bool IsInRange(int k)
... | 23.963636 | 103 | 0.409712 | [
"MIT"
] | fourDotsSoftware/ConvertPowerpointToPDF4dots | ConvertPowerpointToPDF4dots/StringRange.cs | 1,320 | C# |
using System;
using System.Collections.Generic;
using System.Reflection;
using IL2CPU.API;
namespace Cosmos.IL2CPU
{
internal class MemberInfoComparer : IEqualityComparer<MemberInfo>
{
public static MemberInfoComparer Instance { get; } = new MemberInfoComparer();
public bool Equals(MemberInf... | 27.745763 | 96 | 0.471594 | [
"BSD-3-Clause"
] | CosmosOS/IL2CPU | source/Cosmos.IL2CPU/MemberInfoComparer.cs | 1,639 | C# |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... | 34.391304 | 405 | 0.516056 | [
"MIT"
] | F-V-L/platform-client-sdk-dotnet | build/src/PureCloudPlatform.Client.V2/Model/WfmUserNotificationTopicWfmUserNotification.cs | 11,865 | C# |
// Copyright (c) Jerry Lee. All rights reserved. Licensed under the MIT License. See LICENSE in the
// project root for license information.
using System.Linq;
namespace System.Collections.Generic
{
/// <summary>
/// Extension methods for interface <see cref="IDictionary{TKey, TValue}"/>.
/// </summary>
... | 38.5125 | 137 | 0.553716 | [
"MIT"
] | cosmos53076/ReSharp.Core | src/ReSharp.Core/Assets/Scripts/System/Collections/Generic/IDictionaryExtensions.cs | 3,083 | C# |
using System.Collections.Generic;
using System.Collections;
using UnityEngine;
using DG.Tweening;
public class Mover : MonoBehaviour
{
[HideInInspector] public Vector3 goalPosition;
public List<Tile> tiles = new List<Tile>();
[HideInInspector] public bool isFalling = false;
public bool isPlayer { get { return Com... | 18.019868 | 98 | 0.656744 | [
"MIT"
] | goldenxp/blocks | Assets/Scripts/Mover.cs | 2,723 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VMS.TPS.Common.Model.Types;
using static VMS.TPS.Common.Model.Types.DoseValue;
namespace ESAPIX.Helpers.DVH
{
public class DVHParams
{
public DoseValuePresentation DosePresentation... | 30.947368 | 101 | 0.72619 | [
"MIT"
] | avalgoma/ESAPIX | ESAPIX/Helpers/DVH/DVHParams.cs | 590 | C# |
using System;
using ViceCity.IO.Contracts;
namespace ViceCity.IO.Models
{
public class Writer : IWriter
{
public void Write(string line)
{
Console.Write(line);
}
public void WriteLine(string line)
{
Console.WriteLine(line);
}
}
}
| 16.684211 | 42 | 0.548896 | [
"MIT"
] | PetroslavGochev/CSharpAdvancedModule | OOP Module C#/09.ExamPreparation/2019August11/ViceCity/ViceCity/IO/Models/Writer.cs | 319 | C# |
using System;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Wordprocessing
{
[Serializable]
[XmlType(Namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", IncludeInSchema = false)]
public enum ItemsChoiceType26
{
[XmlEnum("http://schemas.openxmlformats.org/officeDocument/200... | 21.348837 | 111 | 0.775599 | [
"MIT"
] | iNeverSleeeeep/NPOI-For-Unity | NPOI.OpenXmlFormats.Wordprocessing/ItemsChoiceType26.cs | 918 | C# |
namespace Clean.Architecture.Web.Endpoints.ProjectEndpoints;
public class DeleteProjectRequest
{
public const string Route = "/Projects/{ProjectId:int}";
public static string BuildRoute(int projectId) => Route.Replace("{ProjectId:int}", projectId.ToString());
public int ProjectId { get; set; }
}
| 31.2 | 109 | 0.74359 | [
"MIT"
] | RichardHowells/CleanArchitecture | src/Clean.Architecture.Web/Endpoints/ProjectEndpoints/Delete.DeleteProjectRequest.cs | 314 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... | 27.346154 | 88 | 0.66948 | [
"ECL-2.0",
"Apache-2.0"
] | legitbee/pulumi-ovh | sdk/dotnet/Inputs/IpServicePlanConfigurationGetArgs.cs | 711 | C# |
// PawnColumnWorker_Handler.cs
// Copyright Karel Kroeze, 2019-2019
using System;
using System.Collections.Generic;
using System.Linq;
using RimWorld;
using UnityEngine;
using Verse;
namespace AnimalTab {
public class PawnColumnWorker_Handler: PawnColumnWorker {
public override int GetMinWidth(PawnTable t... | 41.653061 | 154 | 0.544341 | [
"MIT"
] | FluffierThanThou/AnimalTab | Source/AnimalTab/PawnColumns/PawnColumnWorker_Handler.cs | 6,123 | C# |
using UnityEngine;
using System.Collections;
using System;
using wuxingogo.Runtime;
using System.Collections.Generic;
using wuxingogo.Code;
namespace wuxingogo.Code
{
[System.Reflection.Obfuscation]
[System.Serializable]
public class XCodeType
{
[SerializeField] string typeName = string.Empty;
publi... | 14.35 | 75 | 0.675958 | [
"MIT"
] | ClassWarhammer/Base1 | WuxingogoEditor/CodeEditor/XCodeType.cs | 861 | C# |
namespace AngleSharp.Html.Dom
{
using AngleSharp.Attributes;
using System;
/// <summary>
/// Represents the time HTML element.
/// </summary>
[DomName("HTMLTimeElement")]
public interface IHtmlTimeElement : IHtmlElement
{
/// <summary>
/// Gets or sets the time.
... | 21.684211 | 52 | 0.570388 | [
"MIT"
] | Aizeren/AngleSharp | src/AngleSharp/Html/Dom/IHtmlTimeElement.cs | 412 | C# |
namespace IMM.Web.Controllers
{
using System;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsof... | 37.082569 | 149 | 0.587531 | [
"Apache-2.0"
] | OzoneBG/InfinityMotivationMovement | IMM.Web/Controllers/ManageController.cs | 20,212 | C# |
using System.Reflection;
namespace Blun.MQ.Messages.Strategies
{
internal interface IParameterMapperStrategy : IMapperStrategy
{
bool IsMappable(ParameterInfo parameterInfo);
object Mapping(int index, ParameterInfo parameterInfo, IMQRequest request);
}
} | 26 | 84 | 0.748252 | [
"MIT"
] | BLun78/Blun.MQ | Blun.MQ/Messages/Strategies/IParameterMapperStrategy.cs | 288 | C# |
using System;
using System.Collections.Generic;
using System.Text;
using Core.IPC;
namespace Core.Interface
{
/// <summary>
/// Used to signal to <see cref="Loader"/> that this function contains a buffer that needs to be mapped
/// across from client to server and visa versa
/// </summary>
[Attrib... | 27.185185 | 107 | 0.659401 | [
"MIT"
] | emily33901/Argon | src/Core/Interface/BufferAttribute.cs | 734 | C# |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using Windows.Storage.Streams;
using static LegoTrainProject.Port;
na... | 27.097561 | 220 | 0.635239 | [
"MIT"
] | Cosmik42/BAP | LTP.Core/Devices/SbrickHub.cs | 8,890 | C# |
using Aspose.Note.Live.Demos.UI.Models;
using Aspose.Note.Live.Demos.UI.Services;
using System;
using System.Collections;
using System.IO;
using System.Net;
using System.Web.Mvc;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
namespace Aspose.Note.Live.Demos.UI.Controllers
{
/// <summary>
//... | 22.926829 | 79 | 0.667553 | [
"MIT"
] | alexeiso/Aspose.Note-for-.NET | Demos/src/Aspose.Note.Live.Demos.UI/Controllers/CommonController.cs | 1,880 | C# |
public class Solution {
public IList<IList<int>> LargeGroupPositions(string S) {
//two pointers
int s = 0;
var ans = new List<IList<int>>();
for(var e = 0; e < S.Length; ++e){
if(e == S.Length - 1 || S[e] != S[e+1]){
if(e-s > 1)
ans.Add... | 28.066667 | 60 | 0.401425 | [
"MIT"
] | webigboss/Leetcode | 830. Positions of Large Groups/830_Original_Two_Pointers.cs | 421 | C# |
using Multiplayer;
using RAGE.Elements;
using RPServerClient.Client;
using RPServerClient.Util;
using Events = RAGE.Events;
namespace RPServerClient.Character
{
internal class CharCreator : Events.Script
{
private readonly Quaternion _displayPos = new Quaternion(-169.3321f, 482.2647f, 133.8789f, 282.66... | 39.068966 | 145 | 0.599546 | [
"MIT"
] | TryStatic/RPServer | RPServerClient/Character/CharCreator.cs | 7,931 | C# |
using RPGCore.Utility;
using System;
using UnityEngine;
namespace RPGCore.UI
{
[Serializable] public class UIPopupButtonPool : UIPool<UIPopupButton> { }
public class PopupMenu : MonoBehaviour
{
public static PopupMenu Instance;
public CanvasGroup Background;
public FadeBool BackgroundFade = new FadeBool ()... | 18.84375 | 74 | 0.688226 | [
"Apache-2.0"
] | li5414/RPGCore | RPGCore/Assets/RPGCore/Scripts/UI/Popup Menu/PopupMenu.cs | 1,208 | C# |
using System;
using Baseline.Conversion;
namespace Baseline
{
public class Date
{
public const string TimeFormat = "ddMMyyyy";
// This *has* to be here for serialization
public Date()
{
}
public Date(DateTime date)
: this(date.ToString(TimeFormat))
... | 23.456522 | 69 | 0.519926 | [
"Apache-2.0"
] | JasperFx/Baseline | src/Baseline/Date.cs | 2,158 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection... | 41.3125 | 159 | 0.682552 | [
"MIT"
] | 172672672/Confused_ILRuntime | ILRuntimeTest/AutoGenerate/System_Enum_Binding.cs | 3,966 | C# |
using System;
using Server;
namespace Server.Items
{
public class LyricalGlasses : ElvenGlasses
{
public override int LabelNumber{ get{ return 1073382; } } //Lyrical Reading Glasses
public override int BasePhysicalResistance{ get{ return 10; } }
public override int BaseFireResistance{ get{ return 10; } }
pu... | 24.5625 | 85 | 0.694656 | [
"BSD-2-Clause"
] | greeduomacro/vivre-uo | Scripts/Items/Armor/Glasses/LyricalGlasses.cs | 1,179 | C# |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.UI.Xaml.Controls.Maps
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__
[global::Uno.NotImplemented]
#endif
public partial class MapTileUriRequestedEventArgs
{
#if __ANDROID__ || __IOS__ || NET... | 35.765625 | 202 | 0.754041 | [
"Apache-2.0"
] | nv-ksavaria/Uno | src/Uno.UI/Generated/3.0.0.0/Windows.UI.Xaml.Controls.Maps/MapTileUriRequestedEventArgs.cs | 2,289 | C# |
//=============================================================================
//D ResourceHelper.cs
//
// ----------------------------------------------------------------------------
// Copyright 2019 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// a... | 36.922078 | 90 | 0.60394 | [
"Apache-2.0"
] | Autodesk/powerinspect-api-examples | SPCAddIn/SPC/Addin/ResourceHelper.cs | 2,845 | C# |
using System;
using OmniSharp.Extensions.JsonRpc;
// ReSharper disable once CheckNamespace
namespace OmniSharp.Extensions.LanguageServer.Protocol.Server
{
public interface ILanguageServerRegistry : IJsonRpcHandlerRegistry
{
IDisposable AddTextDocumentIdentifier(params ITextDocumentIdentifier[] handlers... | 32.076923 | 89 | 0.796163 | [
"MIT"
] | ToddGrun/csharp-language-server-protocol | src/Protocol/ILanguageServerRegistry.cs | 417 | C# |
using System;
using System.ComponentModel;
using CASCLib;
using WoWFormatLib.Utils;
namespace ADTH20Test
{
class Program
{
private static BackgroundWorkerEx cascworker = new BackgroundWorkerEx();
static void Main(string[] args)
{
cascworker.RunWorkerCompleted += CASCworker... | 28.5 | 103 | 0.658411 | [
"MIT"
] | Marlamin/WoWFormatTest | ADTH20Test/Program.cs | 971 | C# |
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Alpaca.Markets
{
internal static partial class HttpClientExtensions
{
public static Task<TApi> PostAsync<TApi, TJson, TRequest>(
this HttpClient httpClient,
String endpointUri,
... | 35.846154 | 93 | 0.639485 | [
"Apache-2.0"
] | gjtorikian/alpaca-trade-api-csharp | Alpaca.Markets/Helpers/HttpClientExtensions.Post.cs | 1,400 | C# |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
namespace ConoHaNet.Objects.Networks
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
[JsonObject(MemberSerialization.OptIn)]
public class ListPortsResponse
{
[JsonProperty... | 40.369318 | 200 | 0.689937 | [
"MIT"
] | crowdy/OpenStack-ConoHa | ConoHaNet/Objects/Networks/Ports.cs | 7,107 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 78.219512 | 460 | 0.693535 | [
"MIT"
] | Agazoth/azure-powershell | src/Functions/generated/api/Models/Api20190801/Deployment.PowerShell.cs | 18,997 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.