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; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using SmsBlissAPI.Model; using Newtonsoft.Json; using System.Collections.Generic; using System.Threading.Tasks; using System.Linq; namespace SmsBlissAPI { public sealed class SmsBlissClient { private const string baseAddress = ...
38.479167
144
0.773958
[ "MIT" ]
Enzogord/SmsBlissApi
SmsBlissAPI/SmsBlissClient.cs
7,569
C#
//====================================================================== // Copyright (C) 2015-2020 Winddy He. All rights reserved // Email: hgplan@126.com //====================================================================== using System; using UnityEngine; using Object = UnityEngine.Object; using Kn...
29.301587
111
0.530878
[ "MIT" ]
JansonC/knight
knight-client/Assets/Game.Hotfix/Core/Assist/HotfixBinding.cs
1,848
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [GET] /union/promoter/promotion/list 接口的响应。</para> /// </summary> public class UnionPromoterPromotionListResponse : WechatApiResponse { public static class Types ...
33.759259
88
0.56994
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/UnionPromoter/Promotion/UnionPromoterPromotionListResponse.cs
1,963
C#
using System; using System.IO; namespace Studio.AssemblyResolver.PathResolver.Implementation { internal class DefaultStudio2011PathResolver: IPathResolver { public string Resolve() { return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86), @"SDL\SDL...
24.4
137
0.710383
[ "Apache-2.0" ]
cromica/Studio-AssemblyResolver
Studio.AssemblyResolver/PathResolver/Implementation/DefaultStudio2011PathResolver.cs
368
C#
using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using GraphQL.Types; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Localization; using OrchardCore.Apis.GraphQL; using OrchardCore.ContentManagement.Metadata; using OrchardCore.ShortCodes.Services; using Orcha...
41.929412
150
0.6633
[ "BSD-3-Clause" ]
Frunck82/Orchard2
src/OrchardCore.Modules/OrchardCore.Markdown/GraphQL/MarkdownBodyQueryObjectType.cs
3,564
C#
using Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Wutnu.Common; using Wutnu.Common.ErrorMgr; using Wutnu.Data; using Wutnu.Repo; using Wutnu.Models; using Newtonsoft.Json; using System.IdentityModel.Claims; using Wutnu.Infrastructure;...
32.582996
194
0.525596
[ "Apache-2.0" ]
bretthacker/Wutnu
Wutnu3/Controllers/HomeController.cs
8,050
C#
#region Using directives using System; using System.Reflection; using System.Runtime.InteropServices; #endregion // 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. [ass...
34.09375
79
0.738772
[ "MIT" ]
d3x0r/xperdex
PowerShell/PowerShell.support/Properties/AssemblyInfo.cs
1,093
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Models.Api20200515 { using static Microsoft.Azure.PowerShell.Cmdlets.TimeSeriesInsights.Runtime.Extensions; /// <summary>Key-value pairs of additional properties for the reference data set.</summary> public partial class ReferenceDataSetU...
70.592233
286
0.704305
[ "MIT" ]
3quanfeng/azure-powershell
src/TimeSeriesInsights/generated/api/Models/Api20200515/ReferenceDataSetUpdateParametersTags.json.cs
7,169
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class brickBrokenPartController : MonoBehaviour { //类型 //1 - left //2 - right public short part_type; //效果持续时间 public float liveTime; //透明度差值(每次) private float deltaAlpha; //Sprite Render pr...
26.405941
93
0.506562
[ "MIT" ]
backrunner/Hit-Brick
Assets/Scripts/Bricks/brickBrokenPartController.cs
2,835
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("FlashExcel")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
25.567568
56
0.714588
[ "MIT" ]
MidiSmallYue/FlashExcel
Properties/AssemblyInfo.cs
1,287
C#
using DataAccess.Abstract; using Entities.Concrete; using Entities.DTOs; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace DataAccess.Concrete.InMemory { public class InMemoryCarDal : ICarDal { List<Car> _cars; List<B...
36.56701
123
0.575134
[ "MIT" ]
mecazadam/ReCapProject
DataAccess/Concrete/InMemory/InMemoryCarDal.cs
3,561
C#
// Copyright (C) 2015-2022 The Neo Project. // // The Neo.Plugins.StateService is free software distributed under the MIT software license, // see the accompanying file LICENSE in the main directory of the // project or http://www.opensource.org/licenses/mit-license.php // for more details. // // Redistribution and use...
33.173913
126
0.6327
[ "MIT" ]
KickSeason/neo-modules
src/StateService/Storage/StateSnapshot.cs
3,052
C#
using System; using System.Threading.Tasks; using Abp.Application.Services; using TakTikan.Tailor.Authorization.Users.Dto; using TakTikan.Tailor.Authorization.Users.Profile.Dto; using TakTikan.Tailor.Dto; namespace TakTikan.Tailor.Authorization.Users.Profile { public interface IProfileAppService : IApplicationSer...
32.414634
98
0.779533
[ "MIT" ]
vahidsaberi/TakTikan-Tailor
aspnet-core/src/TakTikan.Tailor.Application.Shared/Authorization/Users/Profile/IProfileAppService.cs
1,331
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// AUTOGENERATED: DO NOT EDIT! /// </summary> public partial class TdApi { public class Invoice : Object { [JsonProperty("@type")] public override string DataType { get; set; } = "invoice"; ...
32.87931
94
0.582066
[ "MIT" ]
Behnam-Emamian/tdsharp
TDLib.Api/Objects/Invoice.cs
1,907
C#
namespace PinBot2 { partial class ScrapeUsersExportForm { private System.ComponentModel.IContainer components = null; /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) ...
45.667045
159
0.582104
[ "MIT" ]
inevolin/PinBot-2
PinBot2/SpecialFeatures/ScrapeUsersExportForm.Designer.cs
40,189
C#
namespace TestStack.BDDfy { public interface IScenarioScanner { Scenario Scan(object testObject); } }
17.285714
41
0.677686
[ "MIT" ]
MehdiK/TestStack.BDDfy
TestStack.BDDfy/Scanners/ScenarioScanners/IScenarioScanner.cs
121
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.Immutable; using System.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis...
50.622378
274
0.59732
[ "Apache-2.0" ]
LingxiaChen/roslyn-analyzers
src/Microsoft.CodeQuality.Analyzers/Core/QualityGuidelines/SealMethodsThatSatisfyPrivateInterfaces.Fixer.cs
7,239
C#
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Microsoft Corporation. All rights reserved. /////////////////////////////////////////////////////////...
32.582857
200
0.494563
[ "Apache-2.0" ]
Sirokujira/MicroFrameworkPK_v4_3
Product/Samples/TemperatureSample/TemperatureEmulator/Button.cs
5,702
C#
/* ========================================================================================== */ /* */ /* FMOD Ex - C# Wrapper . Copyright (c), Firelight Technologies Pty, Ltd. 2004-2014. */ /* ...
53.480878
461
0.629645
[ "MIT" ]
ashleygwinnell/foh-ld40
src/util/fmod_windows/fmod.cs
226,545
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace DataAccessLayer { /// <summary> /// UserService is a cache of the user ob...
38.736842
276
0.447371
[ "MIT" ]
nrag/yapper
Server/YapperServer/DataAccessLayer/UserService.cs
36,066
C#
using System; using System.Globalization; using System.Linq; using System.Reflection; namespace TraceMe.Areas.HelpPage.ModelDescriptions { internal static class ModelNameHelper { // Modify this to provide custom model name mapping. public static string GetModelName(Type type) { ...
39.888889
140
0.635097
[ "MIT" ]
bjornhol/traceme
source/Areas/HelpPage/ModelDescriptions/ModelNameHelper.cs
1,436
C#
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSoni...
30.562025
145
0.644798
[ "MIT" ]
saludnqn/ris
DalRis/generated/SysRelPacienteObraSocial.cs
12,072
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CondenseArrayToNumber { class CondenseArrayToNumber { static void Main(string[] args) { int[] numbers = Console.ReadLine().Split().Select(int.Pa...
25.594595
84
0.436114
[ "MIT" ]
BorislavD/Arrays-and-Lists-CSharp
CondenseArrayToNumber.cs
949
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
39.345455
152
0.659889
[ "MIT" ]
SiiHackathon/BikeTracking
BikeTracker/App_Start/IdentityConfig.cs
4,330
C#
using NUnit.Framework; using umbraco.cms.presentation.Trees; namespace Umbraco.Tests.TreesAndSections { [TestFixture] public class BaseMediaTreeTests { [TearDown] public void TestTearDown() { BaseTree.AfterTreeRender -= EventHandler; BaseTree.BeforeTreeRend...
22.876923
77
0.577001
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Tests/TreesAndSections/BaseMediaTreeTests.cs
1,489
C#
using System; namespace NPrng { public interface IPseudoRandomGenerator { /// <summary>Generates a pseudo random 64-bit integer.</summary> Int64 Generate(); /// <summary>Generates a pseudo random non-negative 64-bit integer up to range.</summary> Int64 GenerateLessOrEqualTo(Int...
30.8
97
0.662338
[ "MIT" ]
RafalSzefler/NPrng
Sources/NPrng/IPseudoRandomGenerator.cs
616
C#
using Azure.Storage.Blobs; using Google.Apis.Auth.OAuth2; using Google.Cloud.Storage.V1; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging;...
41.799117
259
0.526116
[ "MIT" ]
LuccaSA/TarCompressCrypt
TCC.Lib/TarCompressCrypt.cs
18,937
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; //Reference - //https://docs.unity3d.com/ScriptReference/Physics.Raycast.html [RequireComponent(typeof(NavMeshAgent))] public class MobMoving : MonoBehaviour { NavMeshAgent _agent; public GameObject...
25.918605
142
0.604755
[ "MIT" ]
CapNick/G54SPM
Assets/Scripts/AI/MobMoving.cs
2,231
C#
namespace Egnyte.Api.Files { public class FileOrFolderMetadata { internal FileOrFolderMetadata( bool isFolder, FolderExtendedMetadata foldesExtendedMetadata = null, FileMetadata fileMetadataResponse = null) { IsFolder = isFolder; AsFol...
26.909091
68
0.619932
[ "MIT" ]
BryanEllis/egnyte-dotnetcore
Egnyte.Core.Api/Files/FileOrFolderMetadata.cs
594
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.IO; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; using Microsoft.CodeAnalysis.Test.Utilities; using Roslyn.Test.Uti...
35.4987
490
0.587942
[ "Apache-2.0" ]
semihokur/pattern-matching-csharp
Src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenExprLambdaTests.cs
177,458
C#
using System; namespace Customizer.Utility { /// <summary> /// Serialize member /// </summary> [AttributeUsageAttribute(AttributeTargets.Field | AttributeTargets.Property)] public sealed class CzSerializeAttribute : Attribute { /// <summary> /// Serialize member /// </summar...
25.818182
81
0.56162
[ "MIT" ]
fossabot/Customizer
Customizer/Utility/CzSerializeAttribute.cs
568
C#
using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; namespace System { [Serializable] public readonly struct EnumShortRange<T> : IRange<T, EnumShortRange<T>.Enumerator>, IEquatableReadOnlyStruct<EnumShortRange<T>>, ISerializable where T : unmanaged, Enum ...
33.530159
146
0.523954
[ "MIT" ]
laicasaane/unity-supplements
System/Range/EnumShortRange{T}.cs
10,564
C#
/* Generated SBE (Simple Binary Encoding) message codec */ using System; using System.Text; using System.Collections.Generic; using Adaptive.Agrona; namespace Adaptive.Cluster.Codecs { public class ClusterSessionEncoder { public const ushort BLOCK_LENGTH = 40; public const ushort TEMPLATE_ID = 103; publi...
22.351499
97
0.636109
[ "Apache-2.0" ]
23dproject/Aeron.NET
src/Adaptive.Cluster/Codecs/ClusterSessionEncoder.cs
8,203
C#
using System; using Eto.Parse.Parsers; namespace Eto.Parse { partial class Parser { public static Parser operator !(Parser parser) { var inverse = parser as IInverseParser; if (inverse != null) { if (!parser.Reusable) { parser = parser.Clone(); inverse = parser as IInverseParser; }...
23.380952
71
0.67943
[ "MIT" ]
ArsenShnurkov/Eto.Parse
Eto.Parse/Parser.operators.cs
2,455
C#
namespace _12D_Nechetni { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <para...
42.795082
112
0.598927
[ "MIT" ]
FullscreenSauna/School-12th-grade
First Semester/12D_Nechetni/12D_Nechetni/Form1.Designer.cs
5,223
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; namespace Weixin.Next.Utilities { // Modified version of http://stackoverflow.com/questions/2196767/c-implementing-networkstream-peek/7281113#7281113 /// <summary> /// PeekableStream wraps a Stream and can be used to peek...
53.601896
174
0.631123
[ "MIT" ]
deerchao/weixin.next
src/Weixin.Next/Utilities/PeekableStream.cs
11,312
C#
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation { using System; using System.Collections.Generic; using System.IO; using System.Linq; internal class PlatformFolder : IPlatformFolder { private readonly DirectoryInfo folder; public PlatformF...
26.658537
106
0.52882
[ "MIT" ]
pakrym/ApplicationInsights-dotnet
src/TelemetryChannels/ServerTelemetryChannel/Shared/Implementation/PlatformFolder.cs
2,188
C#
using BlueSheep.Interface; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; namespace BlueSheep.Engine.Constants { public class Translate { #region Fields private static Dictionary<string, string> Dic = new Dictionary<string, str...
67.962963
338
0.615695
[ "MIT" ]
Sadikk/BlueSheep
BlueSheep/Engine/Constants/Translate.cs
18,606
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SPNewsData.Data.Context; namespace SPNewsData.Data.Migrations { [DbContext...
32.513761
79
0.475451
[ "MIT" ]
Marcus-V-Freitas/CrawlerBrazilGovData
Contexts/SPNewsData/SPNewsData.Data/Migrations/20211107134836_content.Designer.cs
3,546
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel; using System.Collections.Generic; using Microsoft.VisualStudio.TestPlatf...
30.117647
101
0.691406
[ "MIT" ]
lbussell/vstest
src/Microsoft.TestPlatform.CommunicationUtilities/Messages/DiscoveryCompletePayload.cs
1,024
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; using EfsTools.Items.Data; namespace EfsTools.Items.Nv { [Serializable] [NvItemId(5367)] [Attributes(9)] public class Gsm900PaPredistSwpt1 { [ElementsCount(1)] ...
20.090909
42
0.617647
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Nv/Gsm900PaPredistSwpt1I.cs
442
C#
using MvvmCross.Plugin.Messenger; namespace CardboardKnight.Core.Messages { public class RatingResultMessage : MvxMessage { public string Review; public bool Success; public double Value; public RatingResultMessage(object sender, bool success, double value, string review) : bas...
24.666667
107
0.617117
[ "MIT" ]
TheCardboardKnight/App
CardboardKnight.Core/Messages/RatingResultMessage.cs
444
C#
using EPiServer; using EPiServer.Commerce.Catalog; using EPiServer.Commerce.Catalog.ContentTypes; using EPiServer.Core; using EPiServer.ServiceLocation; using EPiServer.Web; using EPiServer.Web.Routing; using System; using System.Collections.Generic; using System.Linq; namespace Foundation.Commerce.Extensions { p...
35.789474
147
0.55049
[ "Apache-2.0" ]
himadric/sitecore-structured-logging
src/Foundation.Commerce/Extensions/AssetContainerExtensions.cs
4,082
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 namespace Dnn.ExportImport.Components.Scheduler { using System; using System.Text; using System.Threadin...
46.798913
172
0.529207
[ "MIT" ]
Mariusz11711/DNN
DNN Platform/Modules/DnnExportImport/Components/Scheduler/ExportImportScheduler.cs
8,613
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/codecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
40.288889
145
0.679537
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/codecapi/CODECAPI_AVEncH264PPSIDTests.cs
1,815
C#
// *********************************************************************** // Copyright (c) 2012-2020 Charlie Poole, Terje Sandstrom // // 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 wit...
43.611111
150
0.636369
[ "MIT" ]
larsajakobsen/nunit3-vs-adapter
src/NUnitTestAdapterTests/TestExecutionTests.cs
15,702
C#
using System; using JetBrains.Annotations; [UsedImplicitly] public class Entry : RoomApp { protected override bool IndoorRoom => true; protected override TimeSpan OccupancyTimeout => TimeSpan.FromMinutes(2); protected override bool PresenceLightingEnabled => !this.IsAnyoneInBed() && base.PresenceLighting...
27.5
109
0.778788
[ "MIT" ]
danpowell88/home
apps/Rooms/Entry/Entry.cs
330
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Moni...
61.892727
261
0.656649
[ "MIT" ]
ChenTanyi/azure-sdk-for-net
sdk/monitor/Azure.ResourceManager.Monitor/src/Generated/RestOperations/DataCollectionRuleAssociationsRestOperations.cs
34,041
C#
using FluentAssertions; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; using Microsoft.Extensions.Options; using System.Linq; using Xunit; namespace HealthChecks.Gcp.CloudFirestore.Tests.DependencyInjection { public class cloud_firestore_registration_should ...
39.282609
124
0.675706
[ "Apache-2.0" ]
ExRam/AspNetCore.Diagnostics.HealthChecks
test/HealthChecks.Gcp.CloudFirestore.Tests/DependencyInjection/RegistrationTests.cs
1,809
C#
using System; using System.Collections.Generic; using System.Linq; namespace Unity.MLAgents.Actuators { /// <summary> /// Implementation of IDiscreteActionMask that allows writing to the action mask from an <see cref="IActuator"/>. /// </summary> internal class ActuatorDiscreteActionMask : IDiscreteAct...
32.549669
118
0.532859
[ "Apache-2.0" ]
oereo/ML_Agents_App
com.unity.ml-agents/Runtime/Actuators/ActuatorDiscreteActionMask.cs
4,915
C#
namespace IVolt.Kinguin.API.API.Orders.V2 { using IVolt.Kinguin.API.Configuration; using Newtonsoft.Json; using System.Collections.Generic; /// <summary> /// Defines the <see cref="PlaceOrder_Input_Class" />. /// </summary> public class PlaceOrder_Input_Class { /// <summary> ...
36.045455
159
0.619168
[ "BSD-3-Clause" ]
InspiredVoltage-IVolt/Kinguin_API_Importer
Kinguin_API_Importer_Solution/Kinguin_API_Library/API/Orders/V2/PlaceOrder_Input_Class.cs
1,588
C#
using System; using System.Collections.Generic; namespace OSS.Common.Resp { /// <summary> /// 列表通行token接口 /// </summary> public interface ITokenList<TType> { /// <summary> /// 列表 /// </summary> IList<TType> data { get; } /// <summary> /// 列表关联外部字...
35.452381
117
0.559436
[ "Apache-2.0" ]
KevinWG/OS.Common
OSS.Common/Resp/ITokenList.cs
3,106
C#
namespace Masa.Framework.Admin.Service.User.Application.Organizations.Queries; public record TreeQuery(Guid ParentId) : Query<List<DepartmentItemResponse>> { public override List<DepartmentItemResponse> Result { get; set; } = new(); }
30.125
78
0.780083
[ "Apache-2.0" ]
masalabs/MASA.Framework.Admin
src/Services/Masa.Framework.Admin.Service.User/Application/Organizations/Queries/TreeQuery.cs
241
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...
40.508333
255
0.583213
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeDBParametersRequestMarshaller.cs
4,861
C#
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator}) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using static Commvault.Powershell.Runtime.Extensions; /// <summary>CCL Vault v2</...
66.892857
234
0.683796
[ "MIT" ]
Commvault/CVPowershellSDKV2
generated/api/Models/CclVaultV2.json.cs
7,492
C#
// ------------------------------------------------------------ // Copyright (c) Bartels Online. All rights reserved. // ------------------------------------------------------------ using BartelsOnline.Office.IO.Excel; using BartelsOnline.Office.IO.Excel.Models; using GISBlox.Services.SDK.Models; using System; using...
44.768683
196
0.619952
[ "MIT" ]
GISBlox/gisblox-services-cli
GISBlox.Services.CLI/GISBlox.Services.CLI/Utils/IO.cs
12,582
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.Runtime.InteropServices; using Xunit; namespace Microsoft.CodeAnalysis.UnitTests { public class RealParserTests { ...
49.541463
161
0.630071
[ "Apache-2.0" ]
AlessandroDelSole/Roslyn
src/Compilers/Core/CodeAnalysisTest/RealParserTests.cs
30,470
C#
/* ** SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008) ** Copyright (C) 2011 Silicon Graphics, Inc. ** All Rights Reserved. ** ** 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 Soft...
36.898361
145
0.482051
[ "MIT" ]
Debelzak/PlatformerProject
Assets/SuperTiled2Unity/Scripts/Editor/ThirdParty/LibTessDotNet/Geom.cs
11,256
C#
namespace CursoEntityFrameworkCore.ConsoleApp { public class Compra { public int Id { get; set; } public decimal Preco { get; set; } public int ProdutoId { get; set; } public Produto Produto { get; set; } public int Quantidade { get; set; } public override string ...
32.769231
128
0.615023
[ "MIT" ]
flaviogf/Cursos
alura/curso_entity_framework_core/CursoEntityFrameworkCore.ConsoleApp/Compra.cs
426
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
30.098039
81
0.640391
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Cr/V20180321/Models/CreateBotTaskResponse.cs
1,603
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace NumSharp.UnitTest.Logic { [TestClass] public class np_all_Test { [TestMethod] public void np_all_1D() { var np1 = new NDA...
32.222222
107
0.569828
[ "Apache-2.0" ]
SciSharp/NumSharp.Lite
UnitTest/Logic/np.all.Test.cs
1,162
C#
using MouseAccelAutoOffMonitor.ViewModels; using MouseAccelAutoOffMonitor.Views; using Prism.Ioc; using Prism.Services.Dialogs; using Prism.Unity; using System.Windows; using Unity; namespace MouseAccelAutoOffMonitor { /// <summary> /// App.xaml の相互作用ロジック /// </summary> public partial class App : Pris...
30.186047
119
0.6849
[ "MIT" ]
kiwamaru/MouseAccelAutoOff
MouseAccelAutoOffMonitor/App.xaml.cs
1,318
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...
34.120805
233
0.623131
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20200601/GetWebApplicationFirewallPolicy.cs
5,084
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.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.EntityFramew...
39.843519
188
0.553273
[ "Apache-2.0" ]
garfbradaz/EntityFrameworkCore
src/EFCore.Relational/Query/SqlExpressions/SelectExpression.cs
59,329
C#
using System.Threading.Tasks; using DataTables.Blazored.Models; using BlazorServer.Interfaces; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace BlazorServer.Controllers { [AllowAnonymous] [Route("api/[controller]")] [ApiController] public class EmployeeController : C...
27.289474
85
0.603664
[ "MIT" ]
ennerperez/Blazored-Table
samples/BlazorServer/Controllers/EmployeeController.cs
1,039
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Abp.Authorization; using Abp.Authorization.Users; using Abp.MultiTenancy; usin...
40.752137
171
0.602664
[ "MIT" ]
nesumtoj/RandomNumbersJS
aspnet-core/src/RandomNumbersAngular.Web.Core/Controllers/TokenAuthController.cs
9,538
C#
using System.IO; using System.Xml.Linq; using FluentBuild.BuildFileConverter.Parsing; using FluentBuild.BuildFileConverter.Structure; namespace FluentBuild.BuildFileConverter { public class ConvertFile { private readonly string _pathToNantFile; private readonly string _pathToOutputFile; ...
34.581395
107
0.618695
[ "Apache-2.0" ]
GotWoods/Fluent-Build
src/FluentBuild.BuildFileConverter/ConvertFile.cs
1,489
C#
using UnityEngine; using System.Collections; using VRTK; public class Controller_Menu : MonoBehaviour { public GameObject menuObject; private GameObject clonedMenuObject; private bool menuInit = false; private bool menuActive = false; private void Start() { GetComponent<VRTK_Control...
26.54717
111
0.663113
[ "MIT" ]
Liquidream/misc
tachyonVR/Assets/SteamVR_Unity_Toolkit/Examples/Resources/Scripts/Controller_Menu.cs
1,409
C#
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // ---------------------------------------------------------------------------- namespace AppOwnsData.Models { using System; public class EmbedReport {...
26.772727
79
0.448217
[ "MIT" ]
AdamRiddick/PowerBI-Developer-Samples
.NET Core/Embed for your customers/AppOwnsData/Models/EmbedReport.cs
589
C#
/* * Copyright (c) 2016 Billy Wolfington * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/Bwolfing/Bootstrap.AspNetCore.Mvc.TagHelpers * */ using System; using System.Collections.Generic; using System.Linq; using S...
29.794872
97
0.606282
[ "MIT" ]
Bwolfing/Bootstrap.AspNetCore.Mvc.TagHelpers
src/Bootstrap.AspNetCore.Mvc.TagHelpers/TableChildren.cs
2,324
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.Collections.Generic; using System.Diagnostics; using Internal.TypeSystem; using ILCompi...
32.597345
170
0.466737
[ "MIT" ]
OceanYan/corert
src/ILCompiler.Compiler/src/CppCodeGen/ILToCppImporter.cs
81,037
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Concurrent; using System.Collections.ObjectModel; //#if NET40 //using System.Dynamic; //#endif using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using System.Doors; using System.D...
38.729462
153
0.411385
[ "MIT" ]
undersoft-org/NET.Undersoft.Doors.Fwk.Devel
Undersoft.Doors.Fwk/Data/Extensions/DataJson.cs
54,688
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace ClosedXML.Excel { /// <summary> /// Engine for ranges consolidation. Supports IXLRanges including ranges from either one or multiple worksheets. /// </summary> internal class XLRangeConsolid...
36.296296
149
0.492474
[ "MIT" ]
Gallardo13/ClosedXML
ClosedXML/Excel/Ranges/XLRangeConsolidationEngine.cs
7,625
C#
//------------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2020 Tasharen Entertainment Inc //------------------------------------------------- using UnityEngine; using UnityEditor; [CustomEditor(typeof(UIWrapContent), true)] public class UIWrapContentEditor : Editor { ...
32.824324
178
0.705228
[ "MIT" ]
whilin/crazybox_unity_baseframework
Assets/NGUI/Scripts/Editor/UIWrapContentEditor.cs
2,430
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using System; namespace Moryx.Modules { /// <summary> /// Attribute to decorate a <see cref="IPlugin"/> to receive a certain config type /// </summary> [AttributeUsage(AttributeTargets.Class)] pu...
30.571429
104
0.627336
[ "Apache-2.0" ]
1nf0rmagician/MORYX-Core
src/Moryx/Modules/ExpectedConfigAttribute.cs
856
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.EntityFrameworkCore.TestUtilities; using Microsoft.Extensions.DependencyInjection; ...
39.535211
133
0.693979
[ "MIT" ]
CameronAavik/efcore
test/EFCore.InMemory.FunctionalTests/InterceptionInMemoryTest.cs
2,807
C#
using System; using System.Collections.Generic; using System.Linq; using QuGo.Core; using QuGo.Core.Caching; using QuGo.Core.Data; using QuGo.Core.Domain.Common; using QuGo.Core.Domain.Users; using QuGo.Core.Domain.Logging; using QuGo.Data; namespace QuGo.Services.Logging { /// <summary> /// user activity ser...
38.67284
181
0.60016
[ "MIT" ]
pcurich/QuGo
QubicGo/Libraries/QuGo.Services/Logging/CustomerActivityService.cs
12,532
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using AoE2NetDesktop; namespace LibAoE2net.Tests { [TestClass()] public class PlayerExtTests { [TestMethod()] [DataRow(1, 2, Diplomacy.Enemy)] [DataRow(1, 3, Diplomacy.Ally)] [DataRow(null, 2, Diplomacy.Neutral)] [...
30.296296
90
0.58802
[ "MIT" ]
teshiba/AoE2.netDesktop
AoE2.netDesktopTests/LibAoE2Net/Functions/PlayerExtTests.cs
820
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder.BotFramework; using Microsoft.Bot.Builder.Core.Extensions; using Microsoft.Bot.Builder.Integration.AspNet.Co...
45.63
135
0.641683
[ "MIT" ]
APiZFiBlockChain4/botbuilder-dotnet
samples-final/3.AspNetCore-EchoBot-With-State/Startup.cs
4,565
C#
using Xml; namespace Svg { [Element("animateColor")] public class SvgAnimateColor : SvgAnimationElement, ISvgCommonAttributes, ISvgPresentationAttributes, ISvgTestsAttributes, ISvgResourcesAttributes, ISvgXLinkAttributes, ISvgAnimationEventAttributes, IS...
24.45
55
0.705521
[ "MIT" ]
punker76/Svg.Skia
src/SvgXml.Svg/Animation/SvgAnimateColor.cs
491
C#
using Microsoft.Identity.Client; using Microsoft.PowerBI.Api; using Microsoft.Rest; using System; using System.Management.Automation; using System.Security; namespace PsPowerBi { [Cmdlet(VerbsCommunications.Connect, "Service", DefaultParameterSetName = PARAMETERSET_PROPERTIES_INTEGRATED)] [OutputTyp...
37.07767
115
0.590992
[ "MIT" ]
abbgrade/PsPowerBi
src/PsPowerBi/ConnectServiceCommand.cs
3,821
C#
using HarmonyLib; using IPA.Utilities; namespace MappingExtensions.HarmonyPatches { [HarmonyPatch(typeof(ObstacleData), nameof(ObstacleData.Mirror))] internal class ObstacleDataMirror { private static void Prefix(ObstacleData __instance, out int __state) { __state = __instance.l...
35.38806
108
0.449599
[ "MIT" ]
Meivyn/MappingExtensions
MappingExtensions/HarmonyPatches/ObstacleData.cs
2,371
C#
using System; using System.ComponentModel.DataAnnotations; namespace TerribleBankInc.Models.ViewModels { public class ClientViewModel { public int ID { get; set; } [Required] public string FirstName { get; set; } [Required] public string LastName { get; set; } [...
26.272727
49
0.593426
[ "MIT" ]
ecraciun/TerribleBankInc
src/TerribleBankInc/Models/ViewModels/ClientViewModel.cs
580
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.12 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
30.035714
129
0.63258
[ "Apache-2.0" ]
qg0/EliteQuant_Excel
SwigConversionLayer/csharp/Duration.cs
1,682
C#
/////////////////////////////////////////////////////////////////////////////// // MessageEvents.cs - native Windows message handling for WintabDN // // This code in this file is based on the example given at: // http://msdn.microsoft.com/en-us/magazine/cc163417.aspx // by Steven Toub. // // Copyright (c) 2010, Waco...
36.885135
105
0.564939
[ "MIT" ]
Bgoon/GK
GKit/GKit/Base/Input/TabletInput/WintabDN/MessageEvents.cs
5,461
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...
34.514706
115
0.657861
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/TrialComponentStatusMarshaller.cs
2,347
C#
#if !NETSTANDARD13 /* * 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 ...
38.232323
150
0.656803
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/CloudTrail/Generated/Model/_bcl45+netstandard/ListTrailsPaginator.cs
3,785
C#
namespace AlchemyAPIClient.Requests { public sealed class AlchemyHtmlSentimentRequest : AlchemyHtmlSentimentBase, IAlchemyAPIHtmlRequest, ICombinableAlchemyAPIRequest { private const string htmlKey = "html"; private const string cqueryKey = "cquery"; protected override string RequestPat...
43.095238
132
0.672928
[ "MIT" ]
baywet/AlchemyAPIClient
AlchemyAPIClient/Requests/Sentiment/AlchemyHtmlSentimentRequest.cs
907
C#
using System; using System.Collections.Generic; using System.Text; namespace DynamicDependencyInjectionNoParams { public interface IShape<T> where T : class { } }
19.666667
51
0.740113
[ "MIT" ]
jsanjuan2016/DynamicDI-simple
IShape.cs
179
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* DictionaryCounterDouble.cs -- simple dictionary to count values * Ars Magna project, http://arsmagna.ru * -----------------------------------------------...
24.117284
84
0.472741
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/UnsafeIrbis/AM/Collections/DictionaryCounterDouble.cs
3,909
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("De...
38.567568
84
0.749124
[ "MIT" ]
PrasadHonrao/Learn.CSharp
Language/LINQ/Deferred Execution/Properties/AssemblyInfo.cs
1,430
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
37.76324
126
0.476902
[ "MIT" ]
LaudateCorpus1/azure-powershell
src/ResourceManager/MachineLearning/Commands.MachineLearning/Cmdlets/MachineLearningCmdletBase.cs
11,804
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...
35.959677
123
0.63041
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/Route53/Generated/Model/ListTrafficPoliciesResponse.cs
4,459
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...
31
125
0.678532
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/MachineLearning/Inputs/RealtimeConfigurationArgs.cs
899
C#
// <copyright file="Constructor_Should.cs" company="YAGNI"> // All rights reserved. // </copyright> // <summary>Holds unit tests of JsonWriter object constructor.</summary> using System; using LibrarySystem.FileImporters.Utils; using NUnit.Framework; namespace LibrarySystem.FileImporters.UnitTests.Utils.StreamReader...
30.53125
90
0.684749
[ "MIT" ]
TeamYAGNI/LibrarySystem
LibrarySystem/LibrarySystem.FileImporters.UnitTests/Utils/StreamReaderWrapperTests/Constructor_Should.cs
979
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FogchessCore { public class Rook : ChessPiece { public Rook(PieceColor color) { this._type = PieceType.Rook; this._color = color; } ...
32
92
0.548156
[ "MIT" ]
quanticle/Fogchess
FogchessCore/FogchessCore/Rook.cs
1,954
C#
using Discord; using Discord.Commands; using System.Threading.Tasks; using Bugger.Extensions; using Bugger.Preconditions; namespace Bugger.Modules { public class TymczasowyKanałGłosowy : ModuleBase<MiunieCommandContext> { const int maxTimeInMinutes = 21600000; [Command("TymczasowyKanałGłosowy...
63.62069
392
0.64065
[ "MIT" ]
BuggerDiscordBot/Bugger
Bugger/Modules/Voice.cs
3,740
C#
using System; using System.Collections.Generic; using System.Text; namespace BoletoNet { /// <summary> /// Contém informações que são pertinentes a um boleto, mas para geração da Remessa. Não são necessárias para Impressão do Boleto /// Autor: sidneiklein Data: 09/08/2013 /// </summary> public cla...
31.309091
133
0.580139
[ "Apache-2.0" ]
wzambiazzi/BoletoNet
src/Boleto.Net/Boleto/Remessa.cs
1,746
C#
namespace MyTasks.TODO.ViewModels { public class AboutViewModel : FreshMvvm.FreshBasePageModel { public string Title => "About View"; public AboutViewModel() { } } }
19.181818
62
0.606635
[ "MIT" ]
navkar/FreshTodo
MyTasks.TODO/MyTasks.TODO/ViewModels/AboutViewModel.cs
213
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리의 일반 정보는 다음 특성 집합을 통해 제어됩니다. // 어셈블리와 관련된 정보를 수정하려면 // 이 특성 값을 변경하십시오. [assembly: AssemblyTitle("FluentFTP.Async Extensions")] [assembly: AssemblyDescription("This component provides async extensions for Fluen...
31.638889
98
0.720808
[ "MIT" ]
JohnTheGr8/FluentFTP.Async
FluentFTP.Async/FluentFTP.Async/Properties/AssemblyInfo.cs
1,575
C#