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
namespace Microsoft.Azure.Management.StorSimple8000Series.Models { using Azure; using Management; using StorSimple8000Series; using Rest; using Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// <summary...
38.364341
423
0.581532
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/storsimple8000series/Microsoft.Azure.Management.StorSimple8000Series/src/Generated/Models/Backup.cs
4,949
C#
using System; using System.Text.Json.Serialization; using LessPaper.Shared.Interfaces.WriteApi.WriteObjectApi; namespace LessPaper.WriteService.Models.Response { public class UploadFileResponse : IUploadMetadata { public UploadFileResponse(string objectName, string objectId, uint sizeInBytes, DateTime...
30.613636
157
0.629547
[ "MIT" ]
ChristianHellwig/LessPaper.WriteApi
LessPaper.WriteService/Models/Response/UploadFileResponse.cs
1,349
C#
/******************** * 半人马长期幸福的创造灵感奖励需求类。 * --siiftun1857 */ using RimWorld; using System; using System.Collections.Generic; using UnityEngine; using Verse; using static Explorite.ExploriteCore; namespace Explorite { ///<summary>长期幸福的创造灵感奖励。</summary> public class Need_CentaurCreativityInspiration : Need { pu...
28.9875
162
0.702889
[ "Apache-2.0" ]
Exploriters/Explorite-core-lab
Source/_Explorite/Need_CentaurCreativityInspiration.cs
2,379
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using SecurityLibrary.RC4; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SecurityPackageTest { [TestClass] public class RC4Test { [TestMethod] p...
29.253968
101
0.553988
[ "MIT" ]
abanoubamin/SecurityPackage
SecurityPackage/securitypackagetest/RC4Test.cs
1,853
C#
// ========================================================================== // AssetsValue.cs // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex Group // All rights reserved. // ===========================================================...
28.461538
78
0.45
[ "MIT" ]
andrewhoi/squidex
src/Squidex.Domain.Apps.Core/Schemas/AssetsValue.cs
742
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Kmd.Studica.Programmes.Client { using Microsoft.Rest; using Microsoft.Rest.Serialization; using Models; ...
45.25188
448
0.581873
[ "MIT" ]
kmdstudica/external-api-examples
src/ExternalApiExamples/Clients/Programmes/UnscheduledLessonsExternal.cs
12,037
C#
using System.Reflection; 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: AssemblyConfiguration("")] [assembly: AssemblyCompany("")...
41.842105
84
0.779874
[ "Apache-2.0" ]
ajilantony/identityserver4
test/IdentityServer.UnitTests/Properties/AssemblyInfo.cs
797
C#
using System.Text; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Jazz.http { public class HttpApi { private static List<HttpRequestContainer> _apiCallQueue = new List<HttpRequestContainer>(); private static HttpRequestApi _internalRequestApi; ...
31.809524
320
0.564072
[ "MIT" ]
MiniOffical/steam-microtransaction-api
examples/unity/http/HttpApi.cs
3,342
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.ebpp.recharge.notify.send /// </summary> public class AlipayEbppRechargeNotifySendRequest : IAopRequest<AlipayEbppRechargeNotifySendResponse> {...
23.590909
104
0.60578
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Request/AlipayEbppRechargeNotifySendRequest.cs
2,627
C#
using AutoMapper; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace eProdaja.Mapping { public class eProdajaProfile : Profile { public eProdajaProfile() { CreateMap<Database.Korisnici, Model.Korisnici>().ReverseMap(); ...
33.391304
84
0.683594
[ "MIT" ]
irma-maslesa/RazvojSoftveraII
eProdaja/eProdaja/Mapping/eProdajaProfile.cs
770
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.ResourceManager.Sql.Models { /// <summary> A restorable dropped database. </summary> public partial class RestorableDroppedDatabase : Resource ...
52.151515
328
0.656595
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedDatabase.cs
3,442
C#
// // SmtpClientTests.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2020 .NET Foundation and Contributors // // 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 S...
46.027837
267
0.701539
[ "MIT" ]
ByteDecoder/MailK
UnitTests/Net/Smtp/SmtpClientTests.cs
130,643
C#
#pragma checksum "C:\Users\miyuki\source\repos\color_test\color_test\Quiz_Grade2.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8CBA967F0D3FFB8333FE758365433E610060522A55C7AA26F660F318BEC9C9CB" //------------------------------------------------------------------------------ // <auto-generated> // This code was ge...
41.409091
195
0.636663
[ "MIT" ]
miyuki-98312/ColorQuiz
color_test/obj/ARM/Debug/Quiz_Grade2.g.i.cs
1,824
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.MixedReality.Toolkit.Input; using Microsoft.MixedReality.Toolkit.Utilities; using Microsoft.MixedReality.Toolkit.XRSDK.Input; using System; using UnityEngine; using UnityEngine.XR; #if OCULUS_ENABLED using Unity.XR.Oculus; #en...
35.47769
262
0.60657
[ "MIT" ]
Aminadad27/MixedRealityToolkit-Unity
Assets/MRTK/Providers/Oculus/XRSDK/OculusXRSDKDeviceManager.cs
13,519
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("Gra...
37.540541
84
0.7473
[ "MIT" ]
Rideu/unia
GrayLib/Properties/AssemblyInfo.cs
1,392
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Standard { [SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses")] [StructLayout(LayoutKind.Sequential, Pack = 4)] internal class SHARDAPPIDINFOLINK { ...
25.294118
92
0.704651
[ "MIT" ]
Yerongn/HandyControl
src/Shared/Microsoft.Windows.Shell/Standard/SHARDAPPIDINFOLINK.cs
432
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.As...
36.764045
143
0.635697
[ "Apache-2.0" ]
riccardone/Linker.Ui
src/LinkerUi/Startup.cs
3,272
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.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Threading; usin...
45.958656
229
0.598392
[ "Apache-2.0" ]
AdamSpeight2008/roslyn-1
src/Features/Core/Portable/DocumentHighlighting/AbstractDocumentHighlightsService.cs
17,788
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace trainingDiaryBackend.Migrations { public partial class initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "food", ...
37.863248
87
0.459594
[ "Apache-2.0" ]
Pulssi/training_diary_backend
src/training_diary_API/Migrations/20220502201641_initial.cs
4,432
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // using System; using System.IO; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Xunit; using Xun...
37.933333
123
0.572935
[ "MIT" ]
bloudraak/autorest
src/generator/AutoRest.CSharp.Unit.Tests/Bug1288.cs
3,416
C#
using Avalonia.Controls; using DesktopUI2.Views.Filters; using System; using System.Collections.Generic; using System.Text; namespace DesktopUI2.Models.Filters { public class AllSelectionFilter : ISelectionFilter { public string Type => typeof(ListSelectionFilter).ToString(); public string Name { get; set...
23.37931
69
0.662242
[ "Apache-2.0" ]
OswaldoHernandezB/speckle-sharp
DesktopUI2/DesktopUI2/Models/Filters/AllSelectionFilter.cs
680
C#
namespace CG.Contracts.CodeFirstConventions { using System.Data.Entity.ModelConfiguration.Configuration; using System.Data.Entity.ModelConfiguration.Conventions; using CG.Contracts.DataAnnotations; public class IsUnicodeAttributeConvention : PrimitivePropertyAttributeConfigurationConv...
32.944444
78
0.711636
[ "MIT" ]
ASP-MVC/CodeGist-System
CG/CG.Contracts/CodeFirstConventions/IsUnicodeAttributeConvention.cs
595
C#
using System; using System.Diagnostics; using System.Reflection; namespace Puresharp { public partial class Weave { public partial class Connection : IConnection { [DebuggerBrowsable(DebuggerBrowsableState.Never)] private Aspect m_Aspect; [DebuggerBrowsabl...
23.057143
65
0.535316
[ "MIT" ]
Virtuoze/Puresharp
Puresharp/Puresharp/Weave/Weave.Connection.cs
809
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace ErikEJ.SqlCeToolbox.ToolWindows { // Thanks to http://www.codeproject.com/KB/grid/ExtendedDataGridView.aspx partial class PanelQuickSea...
26.16092
86
0.558875
[ "Apache-2.0" ]
BekoSan/SqlCeToolbox
src/GUI/SqlCe40ToolboxExe/ToolWindows/PanelQuickSearch.cs
2,276
C#
using System; namespace IngameScript { /// <summary> /// Lazy-allocation encapsulation of the current date and time. /// </summary> public class Datestamp { public static Datestamp Minutes { get; } = new Datestamp("dd MMM HH:mm"); public static Datestamp Seconds { get; } ...
25.652174
85
0.586441
[ "Unlicense" ]
alex-davidson/SEScriptDev
Shared.Core/Datestamp.cs
592
C#
namespace Edile { /// <summary> /// The raw data for one aspect of the object. /// </summary> public abstract class Component { public Component(int entity_id) { this.EntityID = entity_id; } public readonly int EntityID; } }
15.25
47
0.663934
[ "Apache-2.0" ]
DevRect/Edile
Edile/Component/Component.cs
246
C#
using System.Collections.Generic; using System.ComponentModel; namespace ActivityMonitor.WinApp.ViewModels { public class PropertyChangedEventArgsCache { private readonly Dictionary<string, PropertyChangedEventArgs> _Cache = new(); public PropertyChangedEventArgs Get(string propertyName) ...
28.380952
85
0.651007
[ "MIT" ]
suzu-devworks/activity-monitor-dotnet
src/ActivityMonitor.WinApp/ViewModels/PropertyChangedEventArgsCache.cs
596
C#
namespace Battleships.Logic.Contracts { public interface IEngine { void Run(); } }
13
38
0.605769
[ "MIT" ]
svetlai/Battleships
Battleships.Logic/Contracts/IEngine.cs
106
C#
using System.Collections.Generic; using SeptemberUIChallenge.Data.Models; namespace SeptemberUIChallenge.Data.Infrastructure { public interface IUserRepository { void AddFavouriteUser(UserDetails user); IEnumerable<UserDetails> GetAllFavouritesUsers(); } }
25.909091
57
0.768421
[ "MIT" ]
bbenetskyy/XamainFormsSeptemberUIChallenge
SeptemberUIChallenge/SeptemberUIChallenge.Data/Infrastructure/IUserRepository.cs
285
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
47.063291
2,101
0.652098
[ "Apache-2.0" ]
ElizabethWolfe/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMkbarticletemplate.cs
14,872
C#
using System.Collections.Generic; using System.Runtime.Serialization; // ReSharper disable once CheckNamespace namespace Sentry.Protocol { /// <summary> /// A frame of a stacktrace. /// </summary> /// <see href="https://docs.sentry.io/clientdev/interfaces/stacktrace/"/> [DataContract] public cl...
39.867816
140
0.591754
[ "MIT" ]
lucas-zimerman/sentry-dotnet-xamsample
src/Sentry.Protocol/Exceptions/SentryStackFrame.cs
6,947
C#
using System; using Moq; using NUnit.Framework; using WhenItsDone.Data.Contracts; using WhenItsDone.Data.UnitsOfWork.Factories; using WhenItsDone.Models.Contracts; using WhenItsDone.Services.Abstraction; namespace WhenItsDone.Services.Tests.AbstractionTests.GenericAsyncServiceTests { [TestFixture] public cl...
42.854701
130
0.699043
[ "MIT" ]
army-of-two/when-its-done
WhenItsDone/Tests/LibTests/WhenItsDone.Services.Tests/AbstractionTests/GenericAsyncServiceTests/Add_Should.cs
5,016
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
56.38
233
0.683079
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/Windows81WifiImportConfigurationRequest.cs
14,095
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.Buffers; using System.Diagnostics; using System.IO; using System.Numerics; using System.Runtime.Compile...
50.810204
199
0.582828
[ "MIT" ]
baulig/corefx
src/Common/src/System/Net/WebSockets/ManagedWebSocket.cs
74,691
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 * to you under the Apache License, Version 2.0 (the * "License"); you ...
15.085837
63
0.545661
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-edas/Edas/Model/V20170801/QueryServiceTimeConfigResponse.cs
3,515
C#
using System; using DataStructures.Stack; namespace DataStructures { public class BracketValidation { public bool MultiBracketValidation(string BracketString) { bool error = false; Stack<char> stack = new Stack<char>(); foreach (var item in BracketString.ToC...
25.54
67
0.335944
[ "MIT" ]
selmaT273/DSA
DataStructures/BracketValidation.cs
1,279
C#
using J2N.Text; using Lucene.Net.Support; using System; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Lucene.Net.Index { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE...
35.818605
141
0.600182
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net/Index/TermVectorsConsumer.cs
7,701
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MapService.Models { public struct Colors { public string primaryColor { get; set; } public string secondaryColor { get; set; } public string preferredColorSchem...
23.922078
62
0.597177
[ "MIT" ]
hajkmap/Hajk
backend/mapservice/Models/MapSetting.cs
1,844
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using Azure.Messaging.EventHubs.Amqp; using Azure.Messaging.EventHubs.Metadata; using Microsoft.Azure....
50.495327
250
0.636538
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/tests/Amqp/AmqpMessageConverterTests.cs
75,644
C#
using chapter_11.Engine.Objects; using chapter_11.Engine.States; using chapter_11.States.Gameplay; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; namespace chapter_11.Objects { public class ChopperSprite : BaseGameObject { private const float S...
34.463768
164
0.58894
[ "MIT" ]
Apress/monogame-mastery
chapter-11/start/Objects/ChopperSprite.cs
4,758
C#
// <copyright file="Container.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // 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/licens...
37.875
85
0.719472
[ "Apache-2.0" ]
alexandrejulien/BELLATRIX
src/Bellatrix.Web/components/Container.cs
1,214
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ElementBohrModel : MonoBehaviour { public GameObject element; private bool elementSpawned = false; private float respawnTime = 30.0f; void OnTriggerEnter(Collider other) { if (other.gameObject.t...
25.051282
99
0.593654
[ "MIT" ]
IantheFlyingHawaiian/CVRLabSJSU
Assets/Scripts/NewScripts/ElementBohrModel.cs
979
C#
using GameLibrary.Inventory; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using GameLibrary; public class ItemLoader : MonoBehaviour { [SerializeField] private Image ItemImage; [SerializeField] public ItemType ItemType; ...
39.57732
127
0.58583
[ "MIT" ]
4rgetlahm/Object-Group-Game
Unity/Assets/Scripts/Items/ItemLoader.cs
3,839
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConvertSpeedUnits { class Program { static void Main(string[] args) { int distanceInMeters = int.Parse (Console.ReadLine()); int hours = int.Par...
33.566667
125
0.622642
[ "MIT" ]
MiraNedeva/SoftUni
Programming Fundamentals C#/1.Data Types And Variables-Exercices/Convert Speed Units/Program.cs
1,009
C#
using UnityEngine; public class BossSpriteController : MonoBehaviour { public GameplayStateManager GameplayStateManager; private void OnTriggerEnter2D(Collider2D collision) { var playerController = collision.GetComponentInParent<PlayerController>(); if (playerController != null) { this.Gamepla...
23.9375
77
0.759791
[ "MIT" ]
ThiagoDAraujoS/GGJ2021
Assets/Scripts/Boss/BossSpriteController.cs
385
C#
using System; using Newtonsoft.Json; using System.Xml.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayOpenMiniSetintentiondataSetModel Data Structure. /// </summary> [Serializable] public class AlipayOpenMiniSetintentiondataSetModel : AlipayObject {...
26.119048
70
0.571559
[ "MIT" ]
ciker/PayMent-Core
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniSetintentiondataSetModel.cs
1,247
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.Goog...
67.404669
826
0.695607
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Compute/Alpha/RegionTargetHttpsProxy.cs
17,323
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace WEBAPI.Areas.HelpPage.ModelDescriptions { public class EnumTypeModelDescription : ModelDescription { public EnumTypeModelDescription() { Values = new Collection<EnumValueDescription>(); } ...
26.666667
76
0.705
[ "MIT" ]
marwenbhz/MULTITENANT
WEBAPI/Areas/HelpPage/ModelDescriptions/EnumTypeModelDescription.cs
400
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Azure.Devices.Client; using Microsoft.Azure.Devices.Provisioning.Client; using Microsoft.Azure.Devices.Provisioning.Client.Transport; using Microsoft.A...
41.166667
170
0.617859
[ "MIT" ]
AzureMentor/AZ-220-Microsoft-Azure-IoT-Developer
MSLearn/Modules/L05-individual-enrollment-of-device-in-dps/LabFiles-Completed/Program.cs
8,894
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.523256
85
0.592762
[ "Apache-2.0" ]
geffzhang/tencentcloud-sdk-dotnet
TencentCloud/Ms/V20180408/Models/ShieldInfo.cs
2,749
C#
using CadEditor; using System; //css_include shared_settings/SharedUtils.cs; //css_include shared_settings/BlockUtils.cs; public class Data { public OffsetRec getScreensOffset() { return new OffsetRec(0x7323, 1 , 16*15, 16, 15); } public bool isBigBlockEditorEnabled() { return false; } public bool isBloc...
48.034483
115
0.69921
[ "MIT" ]
spiiin/CadEditor
CadEditor/settings_nes/happily_ever_after_unl/Settings_HappilyEverAfter-copyright2.cs
1,393
C#
using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; namespace IO.Swagger.Model { /// <summary> /// /// </summary> [DataContract] public class PartsGetBendTableResponse200 { /// <summary> /// Gets or ...
28.907407
82
0.661115
[ "MIT" ]
OnShape-MR/Onshape-For-Mixed-Reality
Assets/OnShape/API/Model/PartsGetBendTableResponse200.cs
1,561
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; namespace WebApi { public class Startup { public Startup(IConf...
30.508475
107
0.572778
[ "MIT" ]
livcunhabezerra/desafio-csharp-easy-level
ProjetoSiagri/WebApi/Startup.cs
1,800
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using JohnLambe.Util.Collections; using System.Reflection; using JohnLambe.Util.Reflection; namespace JohnLambe.Tests.JLUtilsTest.Reflection { [T...
26.692308
82
0.56196
[ "MIT" ]
JohnLambe/JLCSUtils
JLCSUtils/JLUtilsTest/Reflection/PropertyInfoExtensionTest.cs
3,125
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Generic; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; ...
35.21519
112
0.479152
[ "MIT" ]
peppy/osu-new
osu.Game/Screens/Play/BreakOverlay.cs
5,407
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.Security.Cryptography.Encryption.RC2.Tests; using System.Text; using Test.Cryptography; using Xunit; namespace System.Security.Cryptography.Tests { [SkipOnPlatform(...
41.859304
150
0.619141
[ "MIT" ]
ChaseKnowlden/runtime
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.cs
55,338
C#
using Firebend.AutoCrud.EntityFramework.Elastic.Implementations.Abstractions; using Microsoft.Extensions.Logging; namespace Firebend.AutoCrud.EntityFramework.Elastic.Implementations { public class SqlServerDbCreator : AbstractDbCreator { public SqlServerDbCreator(ILogger<SqlServerDbCreator> logger) : b...
28.578947
84
0.734807
[ "MIT" ]
djayd/auto-crud
Firebend.AutoCrud.EntityFramework.Elastic/Implementations/SqlServerDbCreator.cs
543
C#
using MasterServerToolkit.Networking; using System; namespace MasterServerToolkit.MasterServer { /// <summary> /// This class is a central class, which can be used by entities (clients and servers) /// that need to connect to master server, and access it's functionality /// </summary> public stati...
32.575221
90
0.573485
[ "MIT" ]
itsnotyoutoday/MST
Assets/MasterServerToolkit/MasterServer/Scripts/Mst/Mst.cs
3,683
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.Linq; using System.Text; using System.Reflection; using...
38.024272
162
0.53964
[ "MIT" ]
christabella/infer
src/Compiler/Infer/Models/MethodInvoke.cs
15,666
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Security.AccessControl { public static class __ControlFlags { } }
18.75
39
0.773333
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Security.AccessControl.ControlFlags.cs
225
C#
namespace BioinformaticsTranslateTool { partial class Form1 { /// <summary> ///Gerekli tasarımcı değişkeni. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ///Kullanılan tüm kaynakları temizleyin. /// <...
52.29386
161
0.600268
[ "MIT" ]
tolgailtuzer/Bioinformatics
SequenceTranslationTool/BioinformaticsTranslateTool/Form1.Designer.cs
11,946
C#
#region copyright // <copyright file="DebugStateChangedEventArgs.cs" company="Christopher McNeely"> // The MIT License (MIT) // Copyright (c) Christopher McNeely // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to d...
46.477273
129
0.718826
[ "MIT" ]
ProfessorAire/Evands.Pellucid-Crestron
src/Evands.Pellucid/Diagnostics/DebugStateChangedEventArgs.cs
2,047
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.InteropServices; using SlimDX; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using VVVV.DX11; using FeralTic.DX11; using FeralTic.DX11.Resources; using AE_HapTo...
27.34375
110
0.603143
[ "BSD-3-Clause" ]
artistsandengineers/AE_HapTools
vvvv-HapTreats/vvvv-HapTreats/AE_HapAVITextureNode.cs
3,502
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> //---...
46.615385
177
0.688119
[ "MIT" ]
Fabus94/NeuraLinkLightsDemoFabioAleksiev
obj/Debug/netcoreapp2.1/IriSearch.RazorTargetAssemblyInfo.cs
1,212
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Cecil; namespace DotNetApis.Cecil { public static partial class CecilExtensions { /// <summary> /// Enumerates this type reference and all of its de...
42.612245
205
0.641762
[ "MIT" ]
StephenCleary/DotNetApis
service/DotNetApis.Cecil/CecilExtensions.Types.cs
2,090
C#
using System; using UIKit; using Foundation; namespace Forms9Patch.iOS { /// <summary> /// UIT ext view extensions. /// </summary> public static class UITextViewExtensions { /// <summary> /// Numbers the of lines. /// </summary> /// <returns>The of lines.</returns> ...
34.57
149
0.59271
[ "MIT" ]
Mourad57/Forms9Patch
Forms9Patch/Forms9Patch.iOS/Extensions/UITextViewExtensions.cs
3,459
C#
using Microsoft.AspNetCore.SignalR; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace SignalRSample.Hubs { public class ChatHub : Hub { public override async Task OnConnectedAsync() { await Clients.All.SendAsync("Broadcast", ...
30.16129
96
0.636364
[ "MIT" ]
christiannagel/aspnetcoredec2019
day4/SignalRSample/SignalRSample/Hubs/ChatHub.cs
937
C#
using System; using System.Collections.Generic; using Shadowsocks.Encryption.Exception; namespace Shadowsocks.Encryption.Stream { public class StreamSodiumEncryptor : StreamEncryptor, IDisposable { const int CIPHER_SALSA20 = 1; const int CIPHER_CHACHA20 = 2; const in...
34.527778
138
0.53875
[ "Apache-2.0" ]
1195992737/shadowsocks-windows
shadowsocks-csharp/Encryption/Stream/StreamSodiumEncryptor.cs
3,731
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step ...
48.768977
182
0.62286
[ "MIT-feh" ]
AIKICo/UnitsNet
UnitsNet.NanoFramework/GeneratedCode/Quantities/MolarMass.g.cs
14,777
C#
using System; namespace Demo.Refit.Mvc.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.75
70
0.661972
[ "MIT" ]
gciandro13/refit-exp
Demo.Refit.Mvc/Demo.Refit.Mvc/ViewModels/ErrorViewModel.cs
213
C#
using System; namespace UnityEngine.Build.Pipeline { /// <summary> /// Struct containing detailed information about a built asset bundle /// </summary> [Serializable] public struct BundleDetails : IEquatable<BundleDetails> { [SerializeField] string m_FileName; [Seriali...
29.852632
150
0.542666
[ "MIT" ]
TalipSalihoglu/Endless-Run-Game
Covid-Run/Library/PackageCache/com.unity.scriptablebuildpipeline@1.7.3/Runtime/Shared/BundleDetails.cs
2,838
C#
// Copyright © 2017 Dmitry Sikorsky. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using ExtCore.Data.EntityFramework; using ExtCore.WebApplication.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting;...
37.301887
122
0.693475
[ "Apache-2.0" ]
sihombingevita/bootcamp-moonlay-eshop
src/Backend.WebApp/Startup.cs
1,980
C#
using System; using System.Collections.Generic; using System.Net.Http; namespace Modio { internal class Request { public Request(HttpMethod method, Uri endpoint, HttpContent? body = null) { Method = method; Endpoint = endpoint; Body = body; Header...
28.84
81
0.600555
[ "Apache-2.0", "MIT" ]
nickelc/modio.net
Modio/Http/Request.cs
721
C#
using CommandLine; using NLog; using NLog.Config; using NLog.Targets; using System; using System.Collections.Generic; using System.Diagnostics; namespace Typewriter { public class Program { internal static Logger Logger => LogManager.GetLogger("Typewriter"); public static void Main(string[] a...
34.505155
128
0.536899
[ "MIT" ]
Dakoni4400/MSGraph-SDK-Code-Generator
src/Typewriter/Program.cs
3,349
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Runtime.InteropServices; namespace WebAssembly.Instructions { /// <summary> /// Tests the <see cref="Int64Load32Signed"/> instruction. /// </summary> [TestClass] public class Int64Load32SignedTests { /// <su...
42.871212
122
0.570596
[ "Apache-2.0" ]
dfinity-lab/dotnet-webassembly
WebAssembly.Tests/Instructions/Int64Load32SignedTests.cs
5,661
C#
using System; namespace _14_Miscellaneous { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14.230769
46
0.535135
[ "MIT" ]
vsundupey/The-HackerRank-Interview-Preparation-Kit
14-Miscellaneous/Program.cs
187
C#
using AutoMapper; namespace Project.API.Base.MapperAdapters { public class AutoMapperAdapter : IMapperAdapter { private readonly IMapper _mapper; public AutoMapperAdapter(IMapper mapper) { _mapper = mapper; } public TTarget Adapt<TSource, TTarget>(TSource ...
21.263158
62
0.608911
[ "Apache-2.0" ]
TaigoSantos/Visual-Studio-Achitecture
dotnet-architecture-standard/Project.API.Base/MapperAdapters/AutoMapperAdapter.cs
406
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("Con...
37.567568
84
0.747482
[ "Apache-2.0" ]
erwin-io/POSWeb
ConsoleApp1/Properties/AssemblyInfo.cs
1,393
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CountingArray; namespace Quicksort { /// <summary> /// Defines a static class that provides an implementation of quick sort. /// </summary> public static class QuickSortImplementat...
42.630058
169
0.570305
[ "Apache-2.0" ]
KallynGowdy/SortingAlgorithms
Quicksort/QuickSortImplementation.cs
7,377
C#
using My2K48.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace My2K48.Missions { class CellsCombinedMission : Mission { public CellsCombinedMission(EventPublisher eventPublisher) : base(eventPublisher) { this.id = Guid.NewGui...
18.146341
83
0.669355
[ "MIT" ]
cpuga05/My2k48
My2K48/Missions/CellsCombinedMission.cs
746
C#
// ----------------------------------------------------------------------------- // GENERATED CODE - DO NOT EDIT // ----------------------------------------------------------------------------- using System; using System.Linq; using System.Collections.Generic; using Hl7.Fhir.Model; using Hl7.Fhir.Utility; using System...
54.343681
188
0.691338
[ "BSD-3-Clause" ]
brianpos/fhir-net-web-api
src/Hl7.Fhir.Custom.Serializers/Generated/FhirCustomXmlReader.EffectEvidenceSynthesis.cs
24,511
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
27.772727
259
0.623241
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapPathfindingStartEndModifierExactnessWrapWrapWrapWrapWrap.cs
3,057
C#
using System; namespace TournamentAssistantShared.Models.Packets { [Serializable] public class Command { public enum CommandTypes { Heartbeat, ReturnToMenu, ScreenOverlay_ShowPng, ScreenOverlay_ShowGreen, DelayTest_Finish ...
19.25
53
0.587013
[ "MIT" ]
Arimodu/TournamentAssistant
TournamentAssistantShared/Models/Packets/Command.cs
387
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Compute.Models; using Azure.ResourceManager.Models; using Azure....
47.382562
799
0.473995
[ "MIT" ]
v-kaifazhang/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineData.Serialization.cs
26,629
C#
// https://docs.microsoft.com/en-us/visualstudio/modeling/t4-include-directive?view=vs-2017 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Runtime.CompilerServices; using Microsoft.Bot.Solutions.Dialogs; namespace AutomotiveS...
42.109589
107
0.758621
[ "MIT" ]
SVemulapalli/AI
solutions/Virtual-Assistant/src/csharp/skills/automotiveskill/Dialogs/VehicleSettings/Resources/VehicleSettingsResponses.cs
3,076
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Discord { /// <summary> /// Represents a generic guild user. /// </summary> public interface IGuildUser : IUser, IVoiceState { /// <summary> /// Gets when this user joined the guild. ...
49.557895
193
0.587404
[ "MIT" ]
230Daniel/Discord.Net
src/Discord.Net.Core/Entities/Users/IGuildUser.cs
9,416
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by avrogen.exe, version 0.9.0.0 // Changes to this file may cause incorrect behavior and will be lost if code // is regenerated // </auto-generated> // --------------------------------------------...
21.2
81
0.488994
[ "Apache-2.0" ]
welly87/energistics-tp
Energistics.ETP.Messages/Energistics/Etp/v12/Protocol/Store/GetObject.cs
636
C#
using System.Management.Automation; using UiPath.PowerShell.Models; using UiPath.PowerShell.Util; using UiPath.Web.Client20194; namespace UiPath.PowerShell.Cmdlets { /// <summary> /// <para type="synopsis">Shows the valid time zone names recognized by the Orchestrator.</para> /// </summary> [Cmdlet(Ve...
29.416667
100
0.645892
[ "MIT" ]
UiPath/orchestrator-powershell
UiPath.PowerShell/Cmdlets/GetTimeZones.cs
708
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.34209 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
64.057592
283
0.614303
[ "Apache-2.0" ]
sosan/msgpack-cli
test/MsgPack.UnitTest/gen/map/MsgPack_Serialization_PolymorphicMemberTypeKnownType_Tuple_Tuple8AllStaticGetOnlyPropertyAndConstructorSerializer.cs
12,409
C#
using System; using Placeholder.Plugins.DataSync.Daemons; using Placeholder.Primary.Daemons; using Zero.Foundation; using Zero.Foundation.Daemons; namespace Placeholder.Plugins.DataSync.Integration { public static class WebHookProcessor { /// <summary> /// Not aspect wrapped /// </summa...
34.236364
144
0.545406
[ "MIT" ]
wmansfield/stencil.v2
server/SourceCode/Placeholder.Plugins.DataSync/Integration/WebHookProcessor.cs
1,883
C#
using System; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity.UI; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using WebappAuthN.Data; [assembly: HostingStartup(typeof(WebappA...
30
85
0.755556
[ "MIT" ]
LeonB87/RazorpageTemplate
WebappAuthN/Areas/Identity/IdentityHostingStartup.cs
632
C#
// // Copyright (c) 2009-2012 Krueger Systems, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...
37.517293
231
0.546539
[ "BSD-2-Clause" ]
Megapop/Norad-Eduapp4syria
Antura/EA4S_Antura_U3D/Assets/_app/_scripts/Database/SQLite/SQLite.cs
124,745
C#
// *********************************************************************** // Assembly : Noob.Core // Author : Administrator // Created : 2020-04-19 // // Last Modified By : Administrator // Last Modified On : 2020-04-19 // ********************************************************************...
37.557895
130
0.58352
[ "MIT" ]
noobwu/DncZeus
Noob.Core/Uow/UnitOfWorkInterceptor.cs
3,570
C#
#region Copyright notice and license // Copyright 2019 The gRPC Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless...
44
138
0.712587
[ "Apache-2.0" ]
LaudateCorpus1/grpc-dotnet
test/Shared/TestServerCallContext.cs
2,862
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ExportFactoryImporter.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the ...
37.849315
120
0.568947
[ "MIT" ]
snakefoot/kephas
src/Kephas.Core/Composition/ExportFactoryImporters/ExportFactoryImporter.cs
2,765
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using Azure.Core; namespace Azure.Mes...
49.875817
216
0.602608
[ "MIT" ]
LingyunSu/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs/src/Processor/EventProcessor.cs
30,526
C#
using System; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using NBitcoin; using NBitcoin.Rules; using Stratis.Bitcoin.AsyncWork; using Stratis.Bitcoin.Base.Deployments; using ...
51.554622
197
0.6663
[ "MIT" ]
0tim0/StratisFullNode
src/Stratis.Bitcoin/Base/BaseFeature.cs
24,540
C#
// <auto-generated> // 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 // re...
26.807692
90
0.585366
[ "MIT" ]
AWESOME-S-MINDSET/azure-sdk-for-net
sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs
1,394
C#
// ******************************************************************************************************** // Product Name: DotSpatial.Positioning.dll // Description: A library for managing GPS connections. // ********************************************************************************************************...
39.358333
114
0.508363
[ "MIT" ]
sdrmaps/dotspatial
Source/DotSpatial.Positioning/TextFileEmulator.cs
4,725
C#
#pragma checksum "C:\Users\sneha\Desktop\iCLASS\iCLASS\sci4.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "D85F1157545F6B56B926DA29377F6618" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.303...
39.95
143
0.623279
[ "MIT" ]
VikramadityaJakkula/MyLearnMateCode
iCLASS/obj/Debug/sci4.g.cs
3,198
C#