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 ACadSharp.Geometry; using CSUtilities.Converters; using CSUtilities.IO; using CSUtilities.Text; using System; using System.Collections.Generic; using System.IO; using System.Text; namespace ACadSharp.IO.DWG { internal abstract class DwgStreamReader : StreamIO, IDwgStreamReader { public Encoding Encoding { g...
23.79883
112
0.606694
[ "MIT" ]
SoftBIM/ACadSharp
ACadSharp/IO/DWG/DwgStreamReaders/DwgStreamReader.cs
20,366
C#
using Snark.Client; namespace Snark.Events.System { public abstract class BaseSystemEvent : ISystemEvent { public BaseSystemEvent(ServiceIdentifier service) { this.Service = service; } public ServiceIdentifier Service { get; private set; } public abstract ...
20.529412
62
0.633238
[ "MIT" ]
chrisalexander/snark
Snark/Events/System/BaseSystemEvent.cs
351
C#
using ksp.blog.membership.Entities; using System; namespace ksp.blog.membership { public interface IMembershipService : IDisposable { void Registration(RegistrationModel model); void Login(string userName, string password); void LogOut(); } }
20.714286
53
0.675862
[ "MIT" ]
Farhankaioum/asp.netcore_blog_App
ksp.blog/ksp.blog.membership/IMembershipService.cs
292
C#
// // System.Net.HttpWebResponse (for 2.1 profile) // // Authors: // Jb Evain <jbevain@novell.com> // // (c) 2007 Novell, Inc. (http://www.novell.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to de...
26.337349
74
0.721409
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Net/System.Net/WebResponse_2_1.cs
2,186
C#
namespace XpressTest; public class NamedObjectDifferentTypeRegisteredException<TExpectedType> : Exception { public NamedObjectDifferentTypeRegisteredException( string name, Type actualType ) : base($"Expected object with name {name} to be of type {typeof(TExpectedType).Name} but is ...
27.631579
134
0.691429
[ "MIT" ]
JonnyOrman/XpressTest
Code/XpressTest/NamedObjectDifferentTypeRegisteredException.cs
525
C#
namespace Nager.Country.Translation.CountryInfos { /// <summary> /// Saint Vincent and the Grenadines /// </summary> public class SaintVincentAndTheGrenadinesCountryTranslation : ICountryTranslation { ///<inheritdoc/> public TranslationInfo[] Translations => new [] { ...
66.147541
90
0.68228
[ "MIT" ]
OpenBoxLab/Nager.Country
src/Nager.Country.Translation/CountryTranslations/SaintVincentAndTheGrenadinesCountryTranslation.cs
4,489
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace ImageProcessing { /* Cyan: [0; 1] Magenta: [0; 1] Yellow: [0; 1] Black: [0; 1] */ public class CmykColor { public double Cyan { get; set; } public doub...
16.414634
76
0.641902
[ "MIT" ]
GreenComfyTea/Image-Processing
Image Processing/classes/CmykColor.cs
675
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Xamarin.RisePlugin.Droid.Floatingactionbutton; namespace App2.Droid { [Activity(Label = "App2", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainL...
39.564103
180
0.686973
[ "MIT" ]
Druffl3/Xamarin.RisePlugin.Floatingactionbutton
Sample/App2/App2.Android/MainActivity.cs
1,545
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using SportsBook.Domain.SeedWork; namespace SportsBook.Infrastructure.Repository { public class GenericRepositoryAsync<TEntity> : BaseRepository<TEnt...
28.659574
192
0.651076
[ "MIT" ]
dandevb/SportsBook
SportsBook.Infrastructure/Repository/GenericRepositoryAsync.cs
1,349
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MS-PL license. // See the LICENSE file in the project root for more information. namespace MvvmCross.Views { using System; using System.Threading.Tasks; using MvvmCross.Exceptions; ...
35.860465
130
0.610895
[ "MIT" ]
Nivaes/Nivaes.App.Cross
Nivaes.App.Cross/Components/Views/MvxViewExtensions.cs
3,086
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using UnityEngine.UI; using Newtonsoft.Json.Linq; public class Pokedex : MonoBehaviour { public GameObject pokedex; public GameObject btnPokedex; [Header("Url Pokedex")] private string urlPoke...
35.265306
140
0.59995
[ "MIT" ]
cheitovilla/PokemonGO
Assets/Scrips/Pokedex.cs
12,098
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
27.59751
463
0.707863
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.Media.Geometry.cs
6,651
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Academatica.Api.Common.Data; using Academatica.Api.Common.Models; using Academatica.Api.Course.DTOs; using Academatica.Api.Course.Services; using Academatica.Api.Course.Services....
39.255009
190
0.511067
[ "MIT" ]
NicNieRobie/academatica-web
Academatica.Api/Academatica.Api.Course/Controllers/CourseController.cs
43,104
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("On...
37.540541
84
0.743701
[ "Apache-2.0" ]
Stanislaw000/ONIX-Data
OnixData/Properties/AssemblyInfo.cs
1,392
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.ComponentModel; namespace Azure.ResourceManager.Network.Models { /// <summary> The type of the rule collection. </summary> public readonly partial...
56
179
0.738668
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyRuleCollectionType.cs
2,912
C#
// // Options.cs // // Authors: // Jonathan Pryor <jpryor@novell.com>, <Jonathan.Pryor@microsoft.com> // Federico Di Gregorio <fog@initd.org> // Rolf Bjarne Kvinge <rolf@xamarin.com> // // Copyright (C) 2008 Novell (http://www.novell.com) // Copyright (C) 2009 Federico Di Gregorio. // Copyright (C) 2012 Xamarin Inc ...
29.270349
108
0.664316
[ "MIT" ]
2pac1/WalletWasabi
WalletWasabi/Mono/OptionValueCollection.cs
10,069
C#
// Copyright 2017 the original author or authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
35.962264
139
0.637461
[ "ECL-2.0", "Apache-2.0" ]
ianroof/Connectors
src/Steeltoe.CloudFoundry.ConnectorBase/Relational/SqlServer/SqlServerTypeLocator.cs
1,908
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.Collections.Generic; namespace Microsoft.AspNet.Http { public interface IFormFileCollection : IReadOnlyList<IFormFile> { I...
28.8125
111
0.722343
[ "Apache-2.0" ]
sebnema/HttpAbstractions-1.0.0-rc1-NoAuthHandler
src/Microsoft.AspNet.Http.Abstractions/IFormFileCollection.cs
461
C#
// ============================================================================== // // RealDimensions Software, LLC - Copyright © 2012 - Present - Released under the Apache 2.0 License // // Copyright 2007-2008 The Apache Software Foundation. // // Licensed under the Apache License, Version 2.0 (the "License...
44.285714
178
0.600403
[ "MIT" ]
Sergeeeek/MinecraftLauncher
MinecraftLauncher/LogExtensions.cs
2,481
C#
using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.Number; namespace Microsoft.Recognizers.Text.DateTime.German { public class GermanDurationExtractorConfiguration : BaseDateTimeOptionsConfiguration, IDurationE...
41.796875
121
0.747477
[ "MIT" ]
QPC-database/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDurationExtractorConfiguration.cs
5,352
C#
using Microsoft.ServiceBus.Messaging; using Octgn.Site.Api.Models; using System; using System.Linq; namespace Gap.Modules { public class WebhookModule : Module, IRunnableModule { private static log4net.ILog Log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringTy...
41.3
136
0.463008
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
octgn/Gap
Gap/Modules/WebhookModule.cs
3,719
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dapper.Data.Repositories.Interface; namespace Dapper.Data { public class DbContext : IDbContext { public IEmployeeRepository Employee { get; } public ...
22.173913
72
0.621569
[ "Apache-2.0" ]
pankaj0567/LearningDapper
Dapper.Data/DbContext.cs
512
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // INotifyPropertyChanged using System.ComponentModel; // Brushes using System.Windows.Media; namespace BrickBreakergame { public partial class Model : INotifyPropertyChanged { private ...
23.72381
55
0.496989
[ "Unlicense" ]
luciochen233/CSE483-code
repo/BrickBreakergame/BallPaddle.cs
2,493
C#
using MCPE.AlphaServer.Utils; using System; using System.Collections.Generic; using System.Text; namespace MCPE.AlphaServer.Packets { public class ContainerSetContentPacket : RakPacket { public byte WindowID; public short Count; public byte[] Items; public override byte[] Serializ...
24.8
82
0.706989
[ "MIT" ]
atipls/MCPE.AlphaServer
MCPE.AlphaServer/Packets/Rak/ContainerSetContentPacket.cs
374
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; #nullable disable namespace T0001 { public partial class OutasnDHis { public string Ids { get; set; } public string Id { get; set; } ...
35.774194
97
0.585212
[ "MIT" ]
twoutlook/BlazorServerDbContextExample
BlazorServerEFCoreSample/T0001/OutasnDHis.cs
1,111
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; // For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 namespace magic_e_Shop.Controllers { public class CCPaymentController :...
23.05
112
0.683297
[ "MIT" ]
castillocarlosr/magic-e-store
magic-e-Shop/magic-e-Shop/Controllers/CCPaymentController.cs
463
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("LightCutter.Desktop")] [assembly: AssemblyDescription(""...
33.464286
100
0.708111
[ "MIT" ]
surviveplus/Light-Cutter
LightCutter/LightCutter.Desktop/Properties/AssemblyInfo.cs
2,969
C#
using System; using System.Collections.Generic; using System.Linq; using Focus.Infrastructure.Common.MongoDB; using Focus.Service.Identity.Application.Services; using Focus.Service.Identity.Core.Entities; using Focus.Service.Identity.Infrastructure.Persistence; using Focus.Service.Identity.Infrastructure.Security; usin...
34.539683
114
0.598805
[ "Apache-2.0" ]
dckntm/focus-backend
src/Focus.Service.Identity/Infrastructure/CompositionRoot.cs
2,176
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
32.976744
99
0.535966
[ "MIT" ]
TheWaywardHayward/Industrial-IoT
modules/opc-twin/src/v2/Models/ReadResponseApiModel.cs
1,418
C#
using System; namespace VkNet.Model.RequestParams { /// <summary> /// Список параметров для метода polls.addVote /// </summary> [Serializable] public class PollsAddVoteParams { /// <summary> /// Идентификатор владельца опроса. /// </summary> public long? OwnerId { get; set; } /// <summary> /// True...
21.1875
76
0.631268
[ "MIT" ]
DeNcHiK3713/vk
VkNet/Model/RequestParams/Polls/PollsAddVoteParams.cs
842
C#
using System.Collections.Generic; namespace Fleck2 { public class WebSocketHttpRequest { private readonly IDictionary<string, string> _headers = new Dictionary<string, string>(); public string Method { get; set; } public string Path { get; set; } public string Body { get; set...
20.333333
97
0.513241
[ "MIT" ]
alastairs/Fleck2
src/WebSocketHttpRequest.cs
793
C#
using System.Collections.Generic; using System.Linq; using NBitcoin; using NBitcoin.DataEncoders; using Newtonsoft.Json; using Stratis.Bitcoin.Controllers.Converters; namespace Stratis.Bitcoin.Controllers.Models { /// <summary> /// A class representing a transaction. /// </summary> public abstract cla...
37.785498
147
0.574958
[ "MIT" ]
BreezeHub/StratisBitcoinFullNode
src/Stratis.Bitcoin/Controllers/Models/TransactionModel.cs
12,509
C#
// Copyright 2022 Eidos-Montreal / Eidos-Sherbrooke // 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...
23.907407
75
0.691712
[ "Apache-2.0" ]
c0rvus-ix/unreal-vdb
Source/Sequencer/VolumeSequencer.build.cs
1,291
C#
// ============================================================================================================== // Microsoft patterns & practices // CQRS Journey project // ============================================================================================================== // ©2012 Microsoft. All rights re...
44.926829
114
0.542345
[ "Apache-2.0" ]
jelster/cqrs-journey-code
source/Infrastructure/Sql/Infrastructure.Sql/BlobStorage/BlobEntity.cs
1,845
C#
using System.Threading.Tasks; using Abp.Application.Services; using PhapY.Authorization.Accounts.Dto; namespace PhapY.Authorization.Accounts { public interface IAccountAppService : IApplicationService { Task<IsTenantAvailableOutput> IsTenantAvailable(IsTenantAvailableInput input); Task<Regist...
26.357143
86
0.780488
[ "MIT" ]
mintaz/PhapY-Project
src/PhapY.Application/Authorization/Accounts/IAccountAppService.cs
371
C#
//------------------------------------------------------------------------------- // <copyright file="IIfSyntax.cs" company="Appccelerate"> // Copyright (c) 2008-2015 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
41.673077
94
0.577296
[ "Apache-2.0" ]
philippdolder/statemachine
source/Appccelerate.StateMachine/Syntax/IIfSyntax.cs
2,167
C#
using System.Collections.Generic; using System.Linq; using System.Text.Json; using Sentry.Internal.Extensions; namespace Sentry { /// <summary> /// Sentry Stacktrace interface. /// </summary> /// <remarks> /// A stacktrace contains a list of frames, each with various bits (most optional) describing...
28.614286
124
0.541687
[ "MIT" ]
FilipNemec/sentry-dotnet
src/Sentry/Exceptions/SentryStackTrace.cs
2,003
C#
// Copyright(c) Microsoft Corporation. // All rights reserved. // // Licensed under the MIT license. See LICENSE file in the solution root folder for full license information using Microsoft.Online.SharePoint.TenantAdministration; using Microsoft.SharePoint.Client; using OfficeDevPnP.Core; using OfficeDevPnP.Core.Fr...
46.528302
134
0.656123
[ "MIT" ]
jawn/ProposalManager
Utilities/OpportunitySiteProvisioner/Program.cs
2,468
C#
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Tools_XNA { public class CustomModel { // Variables for each property for a model public Vector3 Position { get; set; } public Vector3 Rotation { get; set; } public Vector3 Scale { get; set; } ...
36.338308
109
0.525192
[ "MIT" ]
AlexanderReaper7/GameJam2020
Tools_XNA_dotNET_Framework/Tools_XNA_dotNET_Framework/OldTools/CustomModel.cs
7,306
C#
using System; using System.Collections.Generic; using UnityEngine; public enum TriggerType { Collision, Trigger, Keyboard, ScriptOnly } [Serializable] public class TriggerOptions { [Tooltip("The type of input that triggers the fracture.")] public TriggerType triggerType; [Tooltip("Minimu...
29.18
129
0.693626
[ "MIT" ]
blacksabin/OpenFracture
Runtime/Scripts/Options/TriggerOptions.cs
1,459
C#
using Microsoft.Xna.Framework; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; namespace ServerSideCharacter.Region { public class RegionInfoData { public List<RegionInfo> ServerRegions = new List<RegionInfo>(); } public class RegionManager { private RegionInfoDa...
26.253968
121
0.672108
[ "MIT" ]
bdfzchen2015/ServerSideCharacter
Region/RegionManager.cs
4,982
C#
using System.Collections.Generic; using GW2EIEvtcParser; using GW2EIEvtcParser.EIData; using GW2EIEvtcParser.ParsedData; namespace GW2EIBuilders.HtmlModels { internal class SkillDto { public long Id { get; set; } public string Name { get; set; } public string Icon { get; set; } ...
34.064516
153
0.539299
[ "MIT" ]
Krappa322/GW2-Elite-Insights-Parser
GW2EIBuilders/HtmlModels/SkillDto.cs
2,114
C#
using System; using System.Collections.Generic; using Mors.Maybes.Test.Extensions; using NUnit.Framework; namespace Mors.Maybes.Test.Equality { [TestFixtureSource( typeof(Uses_of_typed_equality_comparers_with_maybes), nameof(Uses_of_typed_equality_comparers_with_maybes.TestFixtureData))] publi...
35.138462
92
0.622592
[ "MIT" ]
morsiu/Maybes
Mors.Maybes.Test/Equality/Tests_of_maybes_with_typed_equality_comparers.cs
2,286
C#
using Task_06.Controllers; namespace Task_06 { class Program { static void Main(string[] args) { PoolController controller = new PoolController(); } } }
15.615385
61
0.571429
[ "MIT" ]
dimitarminchev/ITCareer
07. Software Development/2020/1. MVC/Task_06/Program.cs
205
C#
/* * Copyright 2020 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 "licens...
35.364706
145
0.675316
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodePipeline/Generated/Model/Internal/MarshallTransformations/ActionTypeNotFoundExceptionUnmarshaller.cs
3,006
C#
using hw.DebugFormatter; using hw.Helper; using hw.Scanner; // ReSharper disable CheckNamespace namespace hw.Parser { /// <summary> /// Provides a token factory that caches the items used. /// It is also used internally, so you can define token factories, /// that may use laborious functio...
43.421053
111
0.702424
[ "MIT" ]
hahoyer/HWClassLibrary.cs
src/Tester/hw/Parser/CachingTokenFactory.cs
1,652
C#
namespace OggVorbisEncoder.Setup.Templates.BookBlocks.Stereo16.Uncoupled.Chapter0 { public class Page1_0 : IStaticCodeBook { public int Dimensions { get; } = 4; public byte[] LengthList { get; } = { 1, 4, 4, 5, 7, 7, 5, 7, 8, 5, 8, 8, 8,10,10, 8, 10,11, 5, 8, 8, 8,10,10, 8,10,1...
31.214286
81
0.525172
[ "MIT" ]
FriesBoury/.NET-Ogg-Vorbis-Encoder
OggVorbisEncoder/Setup/Templates/BookBlocks/Stereo16/Uncoupled/Chapter0/Page1_0.cs
874
C#
using System; using System.Diagnostics; using System.Threading; namespace SEDC.Adv.Class09.Events { class Program { static void Main(string[] args) { var blockBaseterStore = new BlockbasterStore(); // publisher var rentalStore = new RentalStore(); // publisher ...
29.416667
90
0.611898
[ "MIT" ]
sedc-codecademy/skwd8-06-csharpadv
g6/Class09/SEDC.Adv.Class09/SEDC.Adv.Class09.Events/Program.cs
1,414
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("Me...
37.540541
84
0.743701
[ "MIT" ]
ivandrofly/Do-factory---.Net-Design-Pattern
Mediator/Properties/AssemblyInfo.cs
1,392
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
35.462963
112
0.581723
[ "MIT" ]
3quanfeng/azure-powershell
src/DigitalTwins/generated/runtime/BuildTime/Cmdlets/GetScriptCmdlet.cs
1,862
C#
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Text; using System.Threading.Tasks; using Windows.Storage; using Windows.Storage.Streams; using Windows.Foundation; using Windows.Web; using Windows.Security.Cryptography; namespace SDK.WebViewSampleCS { public ...
46.55102
117
0.680403
[ "MIT" ]
mfloresn90/CSharpSources
HTML WebView control sample/C# and C++ and JavaScript/StreamUriResolver/CS/StreamUriResolver.cs
2,283
C#
// Copyright (c) Umbraco. // See LICENSE for more details. using System.Collections.Generic; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Abstractions; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Rout...
30.362319
116
0.633413
[ "MIT" ]
Ambertvu/Umbraco-CMS
tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Filters/ValidationFilterAttributeTests.cs
2,095
C#
namespace schedule.api.framework.Enums { public enum Faculties { Electronics, Mechanics, Designs } }
13.8
39
0.57971
[ "MIT" ]
youstinus/schedule
schedule.api.framework/Enums/Faculties.cs
140
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> //--...
43.703125
183
0.61423
[ "MIT" ]
Maximilian-Renner/MathMLToCSharp
MathMLToCSharp.UI/Properties/Resources.Designer.cs
2,799
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using BankProject.DBContext; using System.Linq.Expressions; namespace BankProject.DBRespository { /****************************************************************************** * Description: * Concerat...
32.945946
96
0.415915
[ "Apache-2.0", "BSD-3-Clause" ]
nguyenppt/1pubcreditnew
DesktopModules/TrainingCoreBanking/BankProject/DBRespository/CollateralInformationRepository.cs
1,221
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.Reflection; using System.Globalization; using System.Threading; using System.Collections.Generic; using System.Runtime.Serialization; using System.Runtime.CompilerServic...
40.678447
189
0.541829
[ "MIT" ]
Escoto/runtime
src/mono/netcore/System.Private.CoreLib/src/System/RuntimeType.Mono.cs
104,747
C#
using Foundation; namespace ShellFlyoutSample; [Register("AppDelegate")] public class AppDelegate : MauiUIApplicationDelegate { protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); }
20.9
75
0.803828
[ "MIT" ]
xamarin/net5-samples
6.0/Navigation/ShellFlyoutSample/ShellFlyoutSample/Platforms/MacCatalyst/AppDelegate.cs
211
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using Azure; using Azure.Core; namespace Azure.Security.KeyVault.Administration { internal class ServiceFullBackupHeaders { private readonly Response _response; ...
34.076923
132
0.699774
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/ServiceFullBackupHeaders.cs
886
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.Globalization; using System.Net; using AutoRest.Core.Model; namespace AutoRest.Swagger { /// <summary> /// Provides useful ex...
34.135802
121
0.545027
[ "MIT" ]
bloudraak/autorest
src/modeler/AutoRest.Swagger/Extensions.cs
2,767
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.961538
85
0.525481
[ "MIT" ]
GrumpyBusted/Grumpy.FeatureToggle
Grumpy.FeatureToggle.Entity/FeatureToggle.cs
883
C#
using nst.coe.mediator.cli.enums; using nst.coe.mediator.cli.interfaces; namespace nst.coe.mediator.cli.models { public class Aircraft { protected IMediator _mediator; public IMediator Mediator { set { this._mediator = value; } } public Aircraft(IMediator? mediator = null) { this._mediat...
18.137931
66
0.692015
[ "Unlicense" ]
carlosjasso/nst-coe-mediator
src/nst.coe.mediator.cli/models/Aircraft.cs
526
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; namespace Nowin { public class IpIsLocalChecker : IIpIsLocalChecker { readonly Dictionary<IPAddress, bool> _dict; public IpIsLocalChecker() { try { v...
26.313725
121
0.5
[ "MIT" ]
Bobris/Nowin
Nowin/IpIsLocalChecker.cs
1,342
C#
//------------------------------------------------------------------------------ // <自动生成> // 此代码由工具生成。 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </自动生成> //------------------------------------------------------------------------------ namespace Mozart.CMSAdmin.Album { public part...
22.375
81
0.321229
[ "Apache-2.0" ]
zhenghua75/WeiXinEasy
Mozart/CMSAdmin/Album/wfmUserPhotoAdmin.aspx.designer.cs
472
C#
/*---------------------------------------------------------------- Copyright (C) 2016 Senparc 文件名:ResponseMessageBase.cs 文件功能描述:响应回复消息基类 创建标识:Senparc - 20150211 修改标识:Senparc - 20150303 修改描述:整理接口 修改标识:Senparc - 20150505 修改描述:添加ResponseMessageNoResponse类型处理 ------...
30.337209
142
0.668455
[ "MIT" ]
P79N6A/abp-ant-design-pro-vue
Niue.WeChat/PublicAccounts/Entities/Response/ResponseMessageBase.cs
5,578
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.Diagnostics; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using Micros...
40.709091
204
0.677981
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Diagnostics/FxCop/Core/CodeFixProviderBase.cs
2,241
C#
using System; using System.Collections.Generic; using System.Text; namespace Kyameru.Component.Ftp.Settings { /// <summary> /// Configuration extensions. /// </summary> public static class ConfigSetup { /// <summary> /// Valid from headers /// </summary> private sta...
35.695238
157
0.548026
[ "MIT" ]
djsuperchief/Kyameru
source/components/Kyameru.Component.Ftp/Implementation/Settings/ConfigSetup.cs
3,750
C#
namespace CityLight.Forms { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> //...
32.766667
107
0.553917
[ "CC0-1.0", "MIT" ]
andriy-mazur/city-light
net-app/CityLight/CityLight.Forms/MainForm.Designer.cs
1,975
C#
// Copyright (c) Mihir Dilip. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license information. namespace AspNetCore.Authentication.ApiKey { /// <summary> /// Default values used by api key authentication. /// </summary> public static class ApiKeyDefaults { /...
26.823529
96
0.721491
[ "MIT" ]
andy-clymer/aspnetcore-authentication-apikey
src/AspNetCore.Authentication.ApiKey/ApiKeyDefaults.cs
458
C#
using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; using Microsoft.Extensions.Logging; namespace GraphQL.Server.Transports.Subscriptions.Abstractions { /// <summary> /// Subscription server /// Acts as a message pump reading, h...
32.172414
110
0.60686
[ "MIT" ]
OneCyrus/server
src/Transports.Subscriptions.Abstractions/SubscriptionServer.cs
4,667
C#
using System.IO; using Machine.Specifications; namespace Test.FAKECore.FileHandling { public class when_cleaning_directory_after_creating_test_structure : BaseFunctions { Establish context = CreateTestFileStructure; Because of = () => CleanDir(TestData.TestDir); It should_be_writeabl...
35.894737
103
0.709677
[ "Apache-2.0" ]
Andrea/FAKE
src/test/Test.FAKECore/FileHandling/CleanDirectorySpecs.cs
684
C#
using NLog; using NLog.Targets; class Example { static void Main(string[] args) { NLogViewerTarget target = new NLogViewerTarget(); target.Address = "udp://localhost:4000"; NLog.Config.SimpleConfigurator.ConfigureForTargetLogging(target, LogLevel.Debug); Logger logger = LogMan...
26.681818
89
0.632027
[ "BSD-3-Clause" ]
0xC057A/NLog
examples/targets/Configuration API/NLogViewer/Simple/Example.cs
587
C#
using System.Configuration; using System.Data.Common; using System.Threading; using Dasync.Collections; using Rhino.Etl.Core.Infrastructure; namespace Rhino.Etl.Core.Operations { using System.Collections.Generic; using System.Data; /// <summary> /// Generic input command operation /// </summary> ...
38.9375
128
0.585875
[ "BSD-3-Clause" ]
eisbaer66/rhino-etl
Rhino.Etl.Core/Operations/InputCommandOperation.cs
3,115
C#
namespace TimeWarp.Architecture; /// <summary> /// A class used to reference the assembly /// </summary> /// <remarks> /// When you want to scan items in assembly you have pass in a class in the assembly. /// Refactoring by moving things around can sometimes cause issues. /// If you want a specific Assembly you can r...
30.307692
85
0.728426
[ "Unlicense" ]
TimeWarpEngineering/timewarp-architecture
Source/TimeWarp.Architecture.Template/templates/TimeWarp.Architecture/Source/ContainerApps/Api/Api.Domain/AssemlyAnnotations.cs
396
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEditorInternal; namespace UnityEditor.Search { [CustomEditor(typeof(SearchQuery), editorForChildClasses: false, isFallback = false)] class SearchQueryEditor : Editor { private SearchResultView m_ResultView; p...
38.82
166
0.597287
[ "MIT" ]
smuth98/Kyles-Fantastic-Dialogue-System
Kyles-Fantastic-Dialogue-System/Library/PackageCache/com.unity.quicksearch@3.0.0-preview.8/Editor/UI/SearchQueryEditor.cs
11,646
C#
using System.Collections.Generic; namespace E_Commerce_Shop.Entity { public class Card { public int Id { get; set; } public string UserId { get; set; } public List<CardItem> CardItems { get; set; } } }
19.916667
53
0.619247
[ "MIT" ]
MrSurgeon/E-Commerce-Shop
E-Commerce-Shop.Entity/Card.cs
239
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...
50.692213
239
0.612653
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/WAFV2/Generated/_bcl45/AmazonWAFV2Client.cs
331,564
C#
using System; namespace Microsoft.DotnetOrg.GitHubCaching { public readonly struct CachedAccessReason { public static CachedAccessReason FromOwner => new CachedAccessReason(isOwner: true, isCollaborator: false, null); public static CachedAccessReason FromCollaborator => new CachedAccessReason(...
30.3
128
0.610561
[ "MIT" ]
ScriptBox21/dotnet-org-policy
src/Microsoft.DotnetOrg.GitHubCaching/CachedAccessReason.cs
1,214
C#
using System; using System.Collections.Generic; using System.Text; namespace JT1078.Hls.Enums { /// <summary> /// 取0x50表示包含PCR或0x40表示不包含PCR /// 注意:关键帧需要加pcr /// </summary> public enum PCRInclude:byte { 包含= 0x50, 不包含= 0x40 } }
16
33
0.606618
[ "MIT" ]
AlohaChina/JT1078
src/JT1078.Hls/Enums/PCRInclude.cs
322
C#
using Swagger.ObjectModel.Builders; using Xunit; namespace Swagger.ObjectModel.Tests.Builders { public class HeaderBuilderTest { private readonly HeaderBuilder builder; public HeaderBuilderTest() { this.builder = new HeaderBuilder(); } [Fact] publi...
25.6875
66
0.548256
[ "MIT" ]
ThiagoBarradas/Nancy.Swagger
test/Swagger.ObjectModel.Tests/Builders/HeaderBuilderTest.cs
1,235
C#
using MoarUtils.commands.logging; using Newtonsoft.Json; using RestSharp; using System; using System.Net; using System.Threading; namespace MoarUtils.Utils.GoogleAuth { public class GetUserInfo { public class request { public string clientId { get; set; } public string clientSecret { get; set; } ...
28.977778
110
0.561605
[ "MIT" ]
BlarghLabs/moarutils
commands/googleauth/GetUserInfo.cs
3,914
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...
37.864865
84
0.745896
[ "MIT" ]
NadiaKaradjova/SoftUni
C# Advanced/Stacks and Queues -Exercises/Demo1/Properties/AssemblyInfo.cs
1,404
C#
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. // This code is generated by tool. DO NOT EDIT. using System.Text.Json.Serialization; using AccelByte.Sdk.Core; using AccelByte.Sdk.Core....
26.762376
68
0.613762
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
AccelByte.Sdk/Api/Social/Model/StatInfo.cs
2,703
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using FluentAssertions; using Microsoft.ReverseProxy.Common.Util; using Xunit; namespace Microsoft.ReverseProxy.Common.Tests { public class TimeSpanIso8601Tests { [Theory] [InlineData("P0Y0M0DT0H0M0S",...
29.714286
154
0.622115
[ "MIT" ]
rinku2028/reverse-proxy
test/ReverseProxy.Common.Tests/Util/TimeSpanIso8601Tests.cs
1,042
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace sample_artifact_docker.Pages { public class IndexModel : PageModel { private readonl...
19.769231
53
0.675097
[ "MIT" ]
demoserievideo/sample-artifact-docker
Pages/Index.cshtml.cs
516
C#
namespace WebMoney.XmlInterfaces.BasicObjects { public enum Language { En, Ru } }
13.75
46
0.581818
[ "MIT" ]
MarketKernel/webmoney-api
WebMoney.XmlInterfaces/BasicObjects/Language.cs
112
C#
/* Copyright (c) 2005 Poderosa Project, All Rights Reserved. This file is a part of the Granados SSH Client Library that is subject to the license included in the distributed package. You may not use this file except in compliance with the license. * $Id: AssemblyInfo.cs,v 1.6 2011/10/27 23:21:56 kzmi Exp $ */ us...
30.083333
74
0.756233
[ "Apache-2.0" ]
FNKGino/poderosa
Granados/AssemblyInfo.cs
724
C#
using AutoMapper; using Microsoft.EntityFrameworkCore; using SaTeatar.Database; using SaTeatar.Model.Models; using SaTeatar.Model.Requests; using SaTeatar.WebAPI.Services; using System; using System.Collections.Generic; using System.Data.SqlTypes; using System.Linq; using System.Threading.Tasks; namespace...
39.887931
189
0.518695
[ "MIT" ]
eminafit/SaTeatar
SaTeatar/SaTeatar/Services/KarteService.cs
4,629
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Runtime.InteropServices; internal static partial class Interop { /// <summary> /// Validates the result of system c...
43.516949
128
0.615579
[ "MIT" ]
bpschoch/corefx
src/Common/src/Interop/Unix/Interop.IOErrors.cs
5,135
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Text; namespace Aveezo; public sealed class SqlSelectProto : SqlBase { #region Fields public SqlSelectOptions Options { get; set; } public SqlColumn[] SelectColumns { get; set; } #endregion #region C...
30.878515
200
0.542712
[ "MIT" ]
4vz/Aveezo
Aveezo/Data/Sql/Query/SqlSelect.cs
27,453
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
32.807453
163
0.57251
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/LessThanOrEqual/Complete/NullableInt32/NullableSingle/TestSet_001__fields__03__NV.cs
5,284
C#
using System; namespace Animals { public class StartUp { public static void Main(string[] args) { Animal cat = new Cat("Pesho", "Whiskas"); Animal dog = new Dog("Gosho", "Meat"); Console.WriteLine(cat.ExplainSelf()); Console.WriteLine(dog.Explai...
19.388889
53
0.532951
[ "MIT" ]
MirelaMileva/C-Sharp-OOP
Polymorphism/Animals/StartUp.cs
351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Consul; using Orleans.Messaging; using Orleans.Runtime.Configuration; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using OrleansConsulUtils.Options; namespace Orleans.Runtime.Membership { ...
32.571429
169
0.641813
[ "MIT" ]
seralexeev/orleans
src/Orleans.Membership.Consul/ConsulGatewayListProvider.cs
2,054
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...
32.962963
111
0.62191
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Page1.cs
1,780
C#
using MediatR; using System; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using NoDaysOffApp.Features.Core; namespace NoDaysOffApp.Features.Athletes { [Authorize] [RoutePrefix("api/athletes")] public class AthleteController : BaseApiControll...
35.94
126
0.689482
[ "MIT" ]
QuinntyneBrown/no-days-off-app
Features/Athletes/AthletesController.cs
1,797
C#
using System; using System.Collections.Generic; using Xunit.Sdk; namespace Xunit { public partial class Assert { /// <summary> /// Verifies that a value is within a given range. /// </summary> /// <typeparam name="T">The type of the value to be compared</typeparam> /// <param name="actual">The actual valu...
44.84058
100
0.687783
[ "Apache-2.0" ]
cuteant/xUnit4NetFX40
xunit.assert/Asserts/RangeAsserts.cs
3,096
C#
// Copyright (c) Peter Vrenken. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia.Api.Functional.Traversal { using Moppet.Lapa; internal class ParentPathSubjectPartParser : IParentPathSubjectPartParser { public string Id => nameof(ParentPathS...
31.475
117
0.666402
[ "MIT" ]
vrenken/EtAlii.Ubigia
Source/Api/EtAlii.Ubigia.Api.Functional.Lapa/Traversal/1. Parsing/Subjects/Paths/Parts/Hierarchical/ParentPathSubjectPartParser.cs
1,261
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace UsbDetectorWpf { class Converter : IValueConverter { public object Convert(object value, Type targetType, object paramete...
24.88
103
0.680064
[ "MIT" ]
dtwk1/UsbDetectorWpf
UsbDetectorWpf/Converter.cs
624
C#
// WARNING // // This file has been generated automatically by Visual Studio from the outlets and // actions declared in your storyboard file. // Manual changes to this file will not be maintained. // using Foundation; using System; using System.CodeDom.Compiler; namespace UICatalog { [Register ("Switc...
26.166667
84
0.596338
[ "MIT" ]
Art-Lav/ios-samples
UICatalog/UICatalog/Controllers/SwitchesViewController.designer.cs
1,256
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Tool.DropDaemon { /// <summary> /// Drop configuration. /// </summary> public sealed class DropConfig { #region ConfigOptions /// <summary> /// Drop na...
36.813084
332
0.548997
[ "MIT" ]
Pooffick/BuildXL
Public/Src/Tools/DropDaemon/DropConfig.cs
7,878
C#
namespace HoneybeeSchema.Radiance { public partial interface IBuildingModifierSet: IModifierset{} } //Classes implemented this interface: namespace HoneybeeSchema { public partial class ModifierSet: HoneybeeSchema.Radiance.IBuildingModifierSet { } public partial class ModifierSetAbridged : HoneybeeSchema.Radiance....
26.846154
92
0.82808
[ "MIT" ]
MingboPeng/honeybee-schema-dotnet
src/HoneybeeSchema/ManualAdded/Interface/IBuildingConstructionset_Manual.cs
349
C#