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 Binance.Net.Objects.Spot.LendingData { /// <summary> /// Purchase result /// </summary> public class BinanceLendingPurchaseResult { /// <summary> /// The id of the purchase /// </summary> public int PurchaseId { get; set; } } }
21.071429
47
0.559322
[ "MIT" ]
CarlPrentice/Binance.Net
Binance.Net/Objects/Spot/LendingData/BinanceLendingPurchaseResult.cs
297
C#
// // Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of ...
40.737952
166
0.588983
[ "BSD-3-Clause" ]
ErickJeffries/NLog
tests/NLog.UnitTests/Contexts/ScopeContextTest.cs
27,052
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel.Design; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using Couchbase.Core.Configuration.Server; using Couchbase.Core.DI; using Couchbase.Core.IO.Operations; usin...
38.447619
140
0.549975
[ "Apache-2.0" ]
malscent/couchbase-net-client
src/Couchbase/Core/ClusterContext.cs
16,148
C#
using Microsoft.IdentityModel.Clients.ActiveDirectory; using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Net.Http; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Th...
42.945578
140
0.591003
[ "MIT" ]
sameer-kumar/Azure-AD-WebApp-WebAPI-OpenIDConnect-DotNet
TodoListWebApp/App_Start/TokenFactory.cs
6,315
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; namespace osu.Framework.Graphics.Shaders { /// <summary> /// A mapping of a global uniform to many shaders ...
28.645833
103
0.585455
[ "MIT" ]
AtomCrafty/osu-framework
osu.Framework/Graphics/Shaders/UniformMapping.cs
1,330
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 * ...
29.977273
83
0.667172
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Gaap/V20180529/Models/ModifyHTTPSListenerAttributeResponse.cs
1,399
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Starbound.RealmFactory.DataModel.Properties { public abstract class ObjectPropertyTemplate<T> { /// <summary> /// Gets or sets the name for the property. This is displayed in GUIs. /// </su...
34.270833
108
0.609726
[ "MIT" ]
rbwhitaker/realm-factory
RealmFactory/DataModel/Properties/ObjectPropertyTemplate.cs
1,647
C#
#pragma checksum "\\Mac\Home\Documents\Projects\CoreBB\CoreBB.Web\Views\Forum\Detail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f7c5bb5c25dedb0adf4076888df7f718af19dae1" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(As...
49.924242
177
0.711684
[ "Unlicense" ]
SergKorol/C-projects
CoreBB/CoreBB.Web/obj/Debug/netcoreapp2.2/Razor/Views/Forum/Detail.g.cshtml.cs
3,297
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlogSystem.IBLL { public interface IArticleManager { Task CreateArticle(string title, string content, Guid[] categoryIds, Guid userId); Task CreateCategory(string name...
29.333333
100
0.716667
[ "MIT" ]
Candou9/BlogSystem
BlogSystem/BlogSystem.IBLL/IArticleManager.cs
1,322
C#
using System; using System.Collections.Generic; using System.Text; //using System.Drawing; //using System.Drawing.Drawing2D; namespace Svg.FilterEffects { public abstract class SvgFilterPrimitive : SvgElement { public const string SourceGraphic = "SourceGraphic"; public const string SourceAlpha...
29.820513
74
0.622528
[ "ECL-2.0", "Apache-2.0" ]
tocsoft/SvgSharp
src/SvgSharp/Filter Effects/SvgFilterPrimitive.cs
1,163
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Camera_script : MonoBehaviour { [SerializeField] private float Speed = 0; private Vector2 Limit; private void Start() { // } private void Update() { this.GetInput(); } pri...
26.64
128
0.594595
[ "MIT" ]
adamajammary/simple-tower-defense
Assets/Scripts/Camera_script.cs
1,334
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("Ri...
37.972973
84
0.745196
[ "ISC" ]
ZZHGit/ripple-dot-net
Ripple.TxSigning/Properties/AssemblyInfo.cs
1,408
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/Uxtheme.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { pu...
28.941176
145
0.699187
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/Uxtheme/WTA_OPTIONS.cs
494
C#
using System.Collections.Generic; using Windows.UI; using LottieUWP.Utils; using LottieUWP.Value; namespace LottieUWP.Animation.Keyframe { internal class ColorKeyframeAnimation : KeyframeAnimation<Color?> { internal ColorKeyframeAnimation(List<Keyframe<Color?>> keyframes) : base(keyframes) { ...
34.314286
192
0.616986
[ "Apache-2.0" ]
00mjk/LottieUWP
LottieUWP/Animation/Keyframe/ColorKeyframeAnimation.cs
1,203
C#
using System; using System.Threading.Tasks; using Microsoft.ServiceBus; using Microsoft.ServiceBus.Messaging; class NamespaceOutageEmulator { readonly string connectionString; public NamespaceOutageEmulator(string connectionString) { this.connectionString = connectionString; } ...
32.470588
182
0.596014
[ "Apache-2.0" ]
Cogax/docs.particular.net
samples/azure/custom-partitioning-asb/ASB_10/Publisher/NamespaceOutageEmulator.cs
2,678
C#
using System; namespace _11_Repaso_POO { class Program { static void Main(string[] args) { //int numero = 5; //string nombre = "Pedro"; Utilerias u = new Utilerias(); u.FormatoMoneda(100); Alumno a1 = new Alumno(1, "Juan", "12345");...
27.486486
69
0.499508
[ "MIT" ]
andreach13/C-Sharp
Ejercicios/11-Repaso-POO/Program.cs
1,019
C#
namespace Tauron.Application.Localizer.DataModel.Processing { public sealed record SaveProject(ProjectFile ProjectFile, string OperationId) : Operation(OperationId); }
43
107
0.825581
[ "MIT" ]
augustoproiete-bot/Project-Manager-Akka
Tauron.Application.Localizer.DataModel/Processing/Messages/SaveProject.cs
174
C#
using System; using System.Diagnostics; namespace Assimalign.Extensions.Primitives; internal static class ThrowHelper { internal static void ThrowArgumentNullException(ExceptionArgument argument) { throw new ArgumentNullException(GetArgumentName(argument)); } internal static void ThrowArgume...
28.063158
106
0.740435
[ "MIT" ]
Assimalign-LLC/asal-dotnet-extensions
src/common/src/Assimalign.Extensions.Primitives/Internal/ThrowHelper.cs
2,668
C#
using UnityEngine; using System.Collections; using System; /// <summary> /// Used to indicate when the stat's current value changes /// </summary> public interface IStatCurrentValueChange { event EventHandler OnCurrentValueChange; }
21.727273
58
0.76569
[ "MIT" ]
jkpenner/RPGSystemTutorial
Assets/RPGSystems/Scripts/Stats/Interfaces/IStatCurrentValueChange.cs
241
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; using System.Xml.Serialization; using System.Drawing.Imaging; namespace AssetImporter { public class FontLoader { public void Load(string destinationDirectory, stri...
33.657895
108
0.595778
[ "Apache-2.0" ]
asik/Settlers-2-Remake
src/AssetImporter/Loader/FontLoader.cs
1,281
C#
using System; using System.Collections.Generic; namespace ARKBreedingStats.miscClasses { /// <summary> /// Provides specific help for extraction-issues /// </summary> public static class IssueNotes { /// <summary> /// Returns a list of possible reasons that could cause the issues. ...
40.269231
119
0.571792
[ "MIT" ]
CataclysmicAngel/ARKStatsExtractor
ARKBreedingStats/miscClasses/IssueNotes.cs
3,143
C#
using Microsoft.UI.Text; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Documents; using Microsoft.UI.Xaml.Markup; using Microsoft.UI.Xaml.Media; using System.Collections.Generic; using Windows.UI; using Windows.UI.Text; namespace MC_Manager.Controls { public static class McFor...
37.982759
156
0.44394
[ "MIT" ]
ShortDevelopment/MC-Manager
MC Manager/MC Manager/Controls/McFormattedTextBlock.cs
4,411
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20171201 { using static Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Runtime.Extensions; /// <summary>Parameters allowed to update for a server.</summary> public partial class ServerUpdateParameters { /// <summary> ...
76.205607
297
0.699289
[ "MIT" ]
Arsasana/azure-powershell
src/PostgreSql/generated/api/Models/Api20171201/ServerUpdateParameters.json.cs
8,048
C#
/* Copyright 2013-present MongoDB Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
38.986111
175
0.574813
[ "MIT" ]
13294029724/ET
Server/ThirdParty/MongoDBDriver/MongoDB.Driver.Core/Core/Clusters/ServerSelectors/ReadPreferenceServerSelector.cs
11,228
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.Diagnostics; using System.Globalization; using System.IO; using System.Text; using System.Threading; namespace Microsoft.Asp...
37.040816
176
0.568595
[ "Apache-2.0" ]
1n5an1ty/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Tools/src/ServerProtocol/ServerLogger.cs
5,445
C#
namespace ExactOnline.Client.Models.SystemBase { using System; [SupportedActionsSDK(false, true, false, false)] [DataServiceKey("ID")] public class AvailableFeature { /// <summary>The description of the feature.</summary> public string Description { get; set; } /// <summary>...
28.428571
62
0.635678
[ "MIT" ]
FWest98/exactonline-api-dotnet-client
src/ExactOnline.Client.Models/SystemBase/AvailableFeature.cs
398
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkdrive_1_0.Models { public class GetFileInfoRequest : TeaModel { /// <summary> /// 用户id /// </summary> [NameInMap("u...
19.136364
54
0.631829
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/drive_1_0/Models/GetFileInfoRequest.cs
425
C#
using Newtonsoft.Json; using zPoolMiner.Configs; using zPoolMiner.Miners.Grouping; using zPoolMiner.Miners.Parsing; using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threadi...
36.234458
280
0.509265
[ "MIT" ]
hash-kings/Hash-Kings-Miner-V3
zPoolMiner/Miners/Nvidia/miniZ.cs
20,402
C#
using GDLibrary.Graphics; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System; namespace GDLibrary.Components { /// <summary> /// Draws a user-defined array of VertexPositionNormalTexture vertices /// </summary> public class MeshRenderer : Renderer { //TODO ...
30.590909
113
0.521174
[ "MIT" ]
D00225745/SpookyMineshaftProject
GD3_2021_GDLibrary/GD3_2021_GDLibrary/Core/Components/Renderers/MeshRenderer.cs
2,694
C#
// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. // +build sparc64,linux // package unix -- go2cs converted at 2020 October 09 06:00:42 UTC // import "cmd/vendor/golang.org/x/sys/unix" ==> using unix = go.cmd.v...
32.089124
105
0.586217
[ "MIT" ]
GridProtectionAlliance/go2cs
src/go-src-converted/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.cs
21,243
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 Float = System.Single; using System; using System.Collections.Generic; using System.IO; using Microsoft.ML.Ru...
44.791469
115
0.602476
[ "MIT" ]
Zruty0/machinelearning
src/Microsoft.ML.Data/DataLoadSave/Binary/UnsafeTypeOps.cs
9,451
C#
public class FireNation : Nation { public FireNation() { } public override string Name => "Fire"; }
14.625
42
0.606838
[ "MIT" ]
DimchoLakov/CSharpOOPBasics
Exams/04.12-July-2017-Avatar-DotNetFramework/Avatar/Entities/Nations/FireNation.cs
119
C#
using Chisel.Core; using Chisel.Components; using UnitySceneExtensions; using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.SceneManagement; using UnityEditor.EditorTools; using UnityEngine.Profiling; #if !UNITY_2020_2_OR_NEWER using ToolManager = UnityEditor.EditorTo...
40.688474
189
0.634791
[ "MIT" ]
cr4yz/Chisel.Prototype
Packages/com.chisel.editor/Chisel/Editor/Editor/ChiselUnityEventsManager.cs
13,061
C#
using UnityEngine; using UnityEngine; using System.Collections; namespace Shooter { public class MapLoader : MonoBehaviour { public string scenePath; public void LoadMap() { Loading.levelName = scenePath; GlobalVars.currentMap = scenePath; Application.LoadLevelAsync("Shooter/Scenes/loading"); } } }
23.692308
55
0.779221
[ "MIT" ]
hakur/shooter
Assets/Shooter/Scripts/Shooter/MapLoader.cs
308
C#
 namespace WsprInspector { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
47.621514
160
0.58797
[ "MIT" ]
swharden/WsprSharp
src/WsprInspector/Form1.Designer.cs
11,955
C#
using FluentNHibernate.Automapping; using FluentNHibernate.Automapping.Alterations; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using HibernatingRhinos.Profiler.Appender.NHibernate; using NHibernate.Cfg; using NHibernate.Driver; using NHibernate.SqlAzure.Tests.Entities; using NHibernate.Tool.hbm2ddl; n...
41.657143
125
0.664266
[ "MIT" ]
milestonetg/transient-fault-handling
test/MilestoneTG.NHibernate.TransientFaultHandling.SqlServer.Tests/Config/NHibernateConfiguration.cs
2,918
C#
namespace PackSite.Library.Modeling.Specifications { using System; using System.Linq.Expressions; /// <summary> /// Specification that can be satisfied by any object. /// </summary> /// <typeparam name="T">The type of the object to which the specification is applied.</typeparam> public sea...
27.793103
101
0.584367
[ "MIT" ]
PackSite/Library.Modeling
src/PackSite.Library.Modeling.Specifications/AnySpecification.cs
808
C#
using System; namespace PS.IoC.Attributes { public abstract class DependencyRegisterAttribute : Attribute { } }
15.625
65
0.72
[ "MIT" ]
BlackGad/PS.Framework
PS.IoC/Attributes/DependencyRegisterAttribute.cs
127
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.ApplicationModel.Background; namespace BackgroundTask { public sealed class PreInstalledTask : IBackgroundTask { public void Run(IBackgroundTaskInstance taskInstance) ...
24.111111
90
0.714286
[ "MIT" ]
pradithya/UwpSamplePreInstalledApp
BackgroundTask/PreInstalledTask.cs
436
C#
namespace CollectorHub.Data.Models.Common { using System; using CollectorHub.Data.Common.Models; public class Image : BaseDeletableModel<string> { public Image() { this.Id = Guid.NewGuid().ToString(); } } }
17.733333
51
0.590226
[ "MIT" ]
itIsEazy/CollectorHub
Data/CollectorHub.Data.Models/Common/Image.cs
268
C#
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team // // 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, m...
31.462687
97
0.698767
[ "MIT" ]
164306530/ILSpy
ICSharpCode.Decompiler.Tests/TestCases/Correctness/UnsafeCode.cs
2,110
C#
using System; using Microsoft.AspNetCore.Mvc.Rendering; namespace RegistroServizi.Areas.Identity.Pages.Account.Manage { public static class ManageNavPages { public static string Index => "Index"; public static string Email => "Email"; public static string ChangePassword => "ChangePass...
43.25
140
0.748555
[ "MIT" ]
AngeloDotNet/RegistroServizi
Areas/Identity/Pages/Account/Manage/ManageNavPages.cs
2,076
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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...
43.709677
94
0.749077
[ "MIT" ]
Darthseid/SharpDevelop
MainWindow.xaml.cs
1,357
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace CloudFoundryJwtAuthentication.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { ...
21.765957
55
0.546432
[ "Apache-2.0" ]
Aegaina/Samples
Security/src/AspDotNetCore/CloudFoundryJwtAuthentication/Controllers/ValuesController.cs
1,025
C#
using System; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Models; using Umbraco.Core.PropertyEditors.ValueConverters; namespace MediaCopy.Extensions { public static class MediaExtensions { public static string...
38.72549
145
0.546329
[ "MIT" ]
Jaywing/UmbracoMediaCopy
MediaCopy/Extensions/MediaExtensions.cs
1,977
C#
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using CefSharp.Example; using CefSharp.Wpf.Example.Mvvm; using System; using System.ComponentModel; using System.Windows; using System.Windows.Inp...
36.056497
144
0.58571
[ "BSD-3-Clause" ]
git-thinh/CefSharp-33.0.2
CefSharp.Wpf.Example/ViewModels/BrowserTabViewModel.cs
6,385
C#
namespace gpro_desktop_windows { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if...
47.461905
153
0.708538
[ "MIT" ]
dardonosti/gpro-desktop-windows
gpro-desktop-windows/MainForm.Designer.cs
9,970
C#
using System.Collections.Generic; using System.Globalization; using Abp.Configuration.Startup; using Abp.Dependency; namespace Abp.Localization.Sources { /// <summary> /// Null object pattern for <see cref="ILocalizationSource"/>. /// </summary> internal class NullLocalizationSource : ILocalizationSour...
26
110
0.607044
[ "MIT" ]
861191244/aspnetboilerplate
src/Abp/Localization/Sources/NullLocalizationSource.cs
2,158
C#
 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Data; using db.models; using Mapster; namespace SS.Db.models.auth { [AdaptTo("[name]Dto")] public class Permission : BaseEntity { public const string Login = nameof(Login); public const string View...
51.482143
90
0.727714
[ "Apache-2.0" ]
seeker25/sheriff-scheduling
db/models/auth/Permission.cs
2,885
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.Globalization; using Xunit; namespace System.ComponentModel.Tests { public class UInt64ConverterTe...
32.521739
110
0.558824
[ "MIT" ]
2E0PGS/corefx
src/System.ComponentModel.TypeConverter/tests/UInt64ConverterTests.cs
1,496
C#
using System.Threading.Tasks; using NorthLion.Zero.Web.Controllers; using System.Web.Mvc; using NorthLion.Zero.MultiTenancy; namespace NorthLion.Zero.Web.Areas.AdminMpa.Controllers { public class TenantsController : ZeroControllerBase { private readonly ITenantAppService _tenantAppService; pu...
26.974359
76
0.629278
[ "MIT" ]
CodefyMX/NorthLionAbpZero
NorthLion.Zero.Web/Areas/AdminMpa/Controllers/TenantsController.cs
1,054
C#
using Microsoft.MixedReality.Toolkit; using Microsoft.MixedReality.Toolkit.Input; using UnityEngine; public class AudioClipPlayer : MonoBehaviour, IMixedRealityPointerHandler, IMixedRealityFocusHandler { [SerializeField] private AudioId onFocus; [SerializeField] private AudioId onClick; private IAudioSer...
24.480769
100
0.735271
[ "MIT" ]
Bhaskers-Blu-Org2/GalaxyExplorer
Assets/scripts/AudioService/AudioClipPlayer.cs
1,275
C#
using DomainModels; using ViewModels; namespace Mappers { public static class OrderItemMapper { public static OrderItemViewModel ToViewModel(this OrderItem orderItem) { return new OrderItemViewModel { Id = orderItem.Id, Quantity = orderI...
25.285714
118
0.587571
[ "MIT" ]
sedc-codecademy/skwd8-08-aspnetmvc
g5/PizzaApp - Architecture/PizzaApp/Mappers/OrderItemMapper.cs
533
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("As...
39.648649
84
0.753238
[ "MIT" ]
tonysneed/aspnet-webapi-2-contrib
test/AspnetWebApi2Helpers.Serialization.Tests.Common/Properties/AssemblyInfo.cs
1,470
C#
using System; using System.Linq; using Microsoft.AspNetCore.Mvc; using TCG.BusinessRules; using TCG.Models; namespace TCG.Identity.Controllers { [Route("api/owner")] [ApiController] public class OwnerController : ControllerBase { [HttpGet] public IActionResult GetAllOwners() { ...
24.826923
116
0.412084
[ "MIT" ]
qanle/TCGPrimus
TCGPrimusServer/TCG.Identity/Controllers/OwnerController.cs
3,875
C#
using System; using System.Runtime.CompilerServices; using System.Text.Json; using JetBrains.Annotations; namespace BigBuffers.JsonParsing { [PublicAPI] internal sealed class JsonEnumVectorParser<TModel, TEnum> : IJsonVectorParser<TEnum> where TModel : struct, IBigBufferEntity where TEnum : System.Enum {...
28
86
0.551948
[ "Apache-2.0" ]
StirlingLabs/BigBuffers
net/BigBuffers.JsonParsing/JsonEnumVectorParser.cs
1,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. // </auto-generated> namespace Microsoft.Azure.Management.AppService.Fluent ...
49.389946
370
0.626585
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/AppService/Generated/IAppServiceCertificateOrdersOperations.cs
36,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Sql; using System.Data.SqlClient; using System.Xml; using System.Data; using System.Web.Configuration; using System.Configuration; namespace PatanHospital { p...
35.505051
159
0.613371
[ "Apache-2.0" ]
richa615/PatanHospital
PatanHospital/Backup/DeleteDoctor.aspx.cs
3,517
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.076923
107
0.663953
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/ModelQualityMarshaller.cs
2,580
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; using System.Threading; namespace Shapp.Communications.Protocol { [Serializable] public class HelloFromParent : ISystemMessage { public delegate void Callback(S...
29.333333
85
0.699675
[ "MIT" ]
saleph/shapp
Shapp/Communications/Protocol/HelloFromParent.cs
618
C#
namespace NetCoreStack.Contracts { public class ColumnOrder { public int Column { get; set; } public string Dir { get; set; } } }
17.666667
39
0.591195
[ "Apache-2.0" ]
NetCoreStack/Contracts
src/NetCoreStack.Contracts/Types/ColumnOrder.cs
161
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; namespace Pchp.Core { #region SetOperations /// <summary> /// Implemented operations. /// </summary> public enum Se...
35.171988
218
0.512942
[ "Apache-2.0" ]
jondmcelroy/peachpie
src/Peachpie.Runtime/OrderedDictionary.cs
102,458
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class LoadNextScene : MonoBehaviour { public void Load() { SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1); } }
21.230769
77
0.75
[ "MIT" ]
iuyhcdfs/departedstore
Assets/LoadNextScene.cs
278
C#
using YamlDotNet.RepresentationModel; namespace Logicality.GitHub.Actions.Workflow; public class JobDefaults : JobKeyValueMap<JobDefaults> { private string? _shell; private string? _workingDirectory; public JobDefaults(Job job) : base(job, "defaults") { } public JobDefaults(Job job, IDiction...
32.709091
115
0.60478
[ "MIT" ]
logicality-io/extensions-hosted-services
libs/github/src/Actions.Workflow/JobDefaults.cs
1,799
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Ipfs { [TestClass] public class PeerTest { private const string marsId = "QmSoLMeWqB7YGVLJN3pNLQpmmEk35v6wYtsMGLzSr5QBU3"; private const string plutoId = "QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM"; priva...
32.181159
273
0.53569
[ "MIT" ]
wforney/net-ipfs-core
test/PeerTest.cs
4,443
C#
namespace ProjectSnowshoes { partial class TheScreenIsBlue { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
47.589552
158
0.603889
[ "Apache-2.0" ]
IndigoBox/ProjectSnowshoes
ProjectSnowshoes/TheScreenIsBlue.Designer.cs
6,379
C#
using System; using System.Collections.Concurrent; using System.IO; using System.Threading; using CommonSerializer; using Kts.ObjectSync.Common; using Microsoft.IO; using NetMQ; using NetMQ.Sockets; using System.Threading.Tasks; namespace Kts.ObjectSync.Transport.NetMQ { public class NetMQTransport: ...
38.736842
178
0.622056
[ "MIT" ]
BrannonKing/Kts.ObjectSync
Kts.ObjectSync.Transport.NetMQ/NetMQTransport.cs
4,418
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> //---...
42.416667
80
0.660118
[ "MIT" ]
elrod68/Hands-On-Machine-Learning-for-.NET-Developers-V
Section_6_ImageClassifier/Src_6_1/ImageClassifierTrainer/obj/Release/netcoreapp3.1/ImageClassifierTrainer.AssemblyInfo.cs
1,018
C#
// Copyright (C) 2012 Winterleaf Entertainment L,L,C. // // THE SOFTW ARE IS PROVIDED ON AN “ AS IS” BASIS, WITHOUT W ARRANTY OF ANY KIND, // INCLUDING WITHOUT LIMIT ATION THE W ARRANTIES OF MERCHANT ABILITY, FITNESS // FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT . THE ENTIRE RISK AS TO THE // QUALITY AND PERF...
35.321637
210
0.5625
[ "Unlicense" ]
Winterleaf/DNT-Torque3D-V1.1-MIT-3.0
Engine/lib/DNT/tsObjects/coGuiInspector.cs
11,757
C#
using System; using NUnit.Framework; namespace generatortests { [TestFixture] public class Core_Jar2Xml : BaseGeneratorTest { protected override bool TryJavaInterop1 => false; [Test] public void GeneratedOK () { AllowWarnings = true; RunAllTargets ( outputRelativePath: "Core_Jar2Xml", apiD...
20.37037
59
0.725455
[ "MIT" ]
Wivra/java.interop
tests/generator-Tests/Integration-Tests/Core_Jar2Xml.cs
550
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO.Ports; namespace MultipleArduinoCom { class ArduinoSerialPort { private string comPort; private Int32 baudRate; private SerialPort ArduinoSerial = new Ser...
23.955882
70
0.49294
[ "Unlicense" ]
T41A/CanToUart
MultipleArduinoCom/ArduinoSerialPort.cs
1,631
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
38.081301
129
0.74082
[ "MIT" ]
376730969/ILSpy
AvalonEdit/ICSharpCode.AvalonEdit/Utils/DocumentPrinter.cs
4,686
C#
 namespace Grabacr07.KanColleWrapper.Models.Raw { // ReSharper disable InconsistentNaming public class kcsapi_ndock { public int api_member_id { get; set; } public int api_id { get; set; } public int api_state { get; set; } public int api_ship_id { get; set; } public long api_complete_time { get...
29.2
52
0.684932
[ "MIT" ]
kyoryo/test
Grabacr07.KanColleWrapper/Models/Raw/kcsapi_ndock.cs
586
C#
using System; namespace ProxyPattern { class Program { static void Main(string[] args) { MathProxy proxy = new MathProxy(); Console.WriteLine($"4 + 2 = {proxy.Add(4, 2)}"); Console.WriteLine($"4 - 2 = {proxy.Sub(4, 2)}"); Console.WriteLine($"4 * ...
25.576923
67
0.452632
[ "MIT" ]
PhilShishov/Design-Patterns
StructuralPatterns/ProxyPattern/Program.cs
667
C#
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requ...
42.701887
184
0.604145
[ "Apache-2.0" ]
Giovanni-Russo-Boscoli/NakedObjectsFramework
Core/NakedObjects.Snapshot.Xml/utility/XmlSnapshot.cs
22,634
C#
/* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org> */ using System; using ...
28.535354
80
0.627257
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
paooer/open-hardware-monitor
Program.cs
2,828
C#
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com //------------------------------------------------------------------------------ // <copyright company="DMV"> // Copyright 2014 Ded Medved // /...
50.912088
120
0.668681
[ "Apache-2.0" ]
dedmedved/cheburashka
Cheburashka/Rules/CategoryLaxCode/EnforceUniqueTableAliasRule/EnforceUniqueTableAliasVisitor.cs
4,635
C#
using System; using System.Threading; namespace myApp { class Program { static void Main(string[] args) { Console.WriteLine("My super program!!!!!"); Console.WriteLine("What's your name?"); new QuestionsForPicture(); //Readline and exit ...
14.423077
55
0.512
[ "MIT" ]
FirstsSecond/myfirstconsoleapp
Program.cs
377
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/wingdi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
40.583333
145
0.687201
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/wingdi/EMREXTCREATEFONTINDIRECTWTests.cs
1,463
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
33.92
175
0.642689
[ "ECL-2.0", "Apache-2.0" ]
ScriptBox99/pulumi-azure
sdk/dotnet/Storage/Outputs/BlobInventoryPolicyRuleFilter.cs
1,696
C#
using System; using System.Collections.Generic; using System.Linq; namespace AscheLib.UniMonad { public static partial class State { private class PutGetCore<TState> : IStateMonad<TState, TState> { TState _state; public PutGetCore(TState state) { _state = state; } public StateResult<TState, TState>...
26.3
74
0.724335
[ "MIT" ]
AscheLab/AscheLib.UniMonad
Assets/AscheLib/UniMonad/Monad/State/State.PutGet.cs
528
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: search.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Co...
28.986111
147
0.668424
[ "MIT" ]
iljoong/msa-goapp
src/fedotnet/Search.cs
10,435
C#
using DN.WebApi.Application.Common.Events; using DN.WebApi.Application.Common.Notifications; using DN.WebApi.Domain.Catalog.Brands; using DN.WebApi.Domain.Catalog.Products; using DN.WebApi.Domain.Common.Contracts; using DN.WebApi.Shared.Notifications; using MediatR; using Microsoft.Extensions.Logging; namespace DN.Web...
50.930233
144
0.825571
[ "MIT" ]
AppSlope/dotnet-webapi-boilerplate
src/Core/Application/Dashboard/SendStatsChangedNotificationHandler.cs
2,190
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...
43.175258
178
0.65043
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/InvalidRequestException.cs
4,188
C#
using System; using SolrNet; using System.Collections.Generic; using System.Linq; namespace HealthKitServer.Server { public class HealthKidDataSolrConnection : IHealthKitDataStorage { private readonly ISolrOperations<HealthKitData> m_solrServer; public HealthKidDataSolrConnection (string connectionString) { ...
21.365854
81
0.767123
[ "MIT" ]
andmos/HealthKitServer
HealthKitServer.Server/Services/HealthKidDataSolrConnection.cs
878
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.JsonV4.Linq; namespace Newtonsoft.JsonV4.Tests.Documentation.Samples.Linq { public class Clone { public void Example() { #region Usage JObject o1 = new JObject ...
23.083333
62
0.41065
[ "MIT" ]
woodp/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/Linq/Clone.cs
1,110
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Azure.Core; using Azure.Core.TestFramework; using Azure.ResourceManager.Resources.Models; using NUnit.Framework; namespace Azure.ResourceManager.Resources.Tests { publ...
60.048544
182
0.706386
[ "MIT" ]
Ramananaidu/dotnet-sonarqube
sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecVersionCollectionTests.cs
6,187
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace Microsoft.AspNetCore.Razor.Language; public class DefaultRazorCodeDocumentTest { [Fact] public void Ctor() { // Arrange var sour...
24.382979
71
0.620419
[ "MIT" ]
MitrichDot/aspnetcore
src/Razor/Microsoft.AspNetCore.Razor.Language/test/DefaultRazorCodeDocumentTest.cs
1,148
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Payment.Paymentsdk.Integrationmodels { // Metadata.xml XPath class reference: path="/api/package[@name='com.payment.paymentsdk.integrationmodels']/class[@name='PaymentSdkTransactionDetails']" [global::Android.Ru...
61.970696
1,078
0.760965
[ "MIT" ]
amr-Magdy-PT/xamarin-paytabs-binding
android/PaymentSDK.Binding/obj/Debug/generated/src/Com.Payment.Paymentsdk.Integrationmodels.PaymentSdkTransactionDetails.cs
33,836
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace Ron.DistributedCacheDemo { public class Program ...
26.48
81
0.71148
[ "MIT" ]
kongxiangxun/EasyAspNetCoreDemo
Ron.DistributedCacheDemo/Ron.DistributedCacheDemo/Program.cs
664
C#
namespace Presentacion { partial class PrincipalGUI { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
58.481481
169
0.588923
[ "Apache-2.0" ]
kike413/Desarrollo_de_un_ERP_Equipo5_8B
Presentacion/PrincipalGUI.Designer.cs
34,740
C#
using System.Linq; using NUnit.Framework; using ShoppingBasket.Item; using ShoppingBasket.Readers; namespace ShoppingBasket.Tests { [TestFixture] public class ItemsParserTests { private IParseItems _parser; [SetUp] public void Setup() { _parser =...
25.021277
89
0.529762
[ "Apache-2.0" ]
ofraski/ShoppingBasketPriceCalculator
Tests/ItemsParserTests.cs
1,178
C#
using Microsoft.Extensions.Configuration; using System; namespace Proletarians.Utility { public class ProjectUtility { IConfiguration Configuration; public IConfiguration GetConfiguration() => Configuration; public static ProjectUtility Instance { get; } = new ProjectUtility(); ...
33.15625
105
0.68426
[ "MIT" ]
oguzhancagliyan/comics-for-geeks
Proletarians/Utility/ProjectUtility.cs
1,063
C#
using MassiveKnob.Plugin.CoreAudio.Base; namespace MassiveKnob.Plugin.CoreAudio.GetVolume { public class DeviceGetVolumeActionSettingsViewModel : BaseDeviceSettingsViewModel<DeviceGetVolumeActionSettings> { // ReSharper disable once SuggestBaseTypeForParameter - by design public DeviceGetVolum...
33.076923
116
0.772093
[ "Unlicense" ]
MvRens/MassiveKnob
Windows/MassiveKnob.Plugin.CoreAudio/GetVolume/DeviceGetVolumeActionSettingsViewModel.cs
432
C#
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ namespace Apache.Cassandra { public enum IndexType { KEYS = 0, CUSTOM = 1, COMPOSITES = 2, } }
15.764706
68
0.589552
[ "Apache-2.0" ]
avezenkov/cassandra-sharp
Apache.Cassandra/gen-csharp/Apache/Cassandra/IndexType.cs
268
C#
using NUnit.Framework; namespace DotNetSdk.Test.Unit { [TestFixture] public class Usage { [Test] public void Example() { //ProductName.DefaultConfiguration.Interceptors.Add(/*something*/); //ProductName.DefaultConfiguration.Serializer = // some cu...
29.565217
90
0.598529
[ "Apache-2.0" ]
davidwhitney/DotNetSdkExample
DotNetSdk.Test.Unit/Usage.cs
682
C#
using System.Threading.Tasks; namespace server.Services { public interface ICacheService { Task<string> GetCacheValueAsync(string key); Task SetCacheValueAsync(string key, string value); } }
18.5
58
0.698198
[ "MIT" ]
krazymirk/EUvsVirus
server/Services/ICacheService.cs
224
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Threading.Tasks; using DevSpace.Common; namespace DevSpace.Database { public class TimeSlotDataStore : IDataStore<ITimeSlot> { public async Task<ITimeSlot> Add( ITimeSlot ItemToAdd ) { throw new NotImple...
28.615385
107
0.682796
[ "MIT" ]
BrandenSchwartz/WebsiteAndApi
Database/TimeSlotDataStore.cs
1,862
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using IndustryTower.Models; namespace IndustryTower.ViewModels { public class UserHomeFeedViewModel { public DateTime Date { get; set; } public Post post { get; set; } public Share share { get; set; }...
27.076923
70
0.62642
[ "Apache-2.0" ]
MehdiValinejad/industrytower
IndustryTower/ViewModels/UserHomeFeedViewModel.cs
1,410
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System.Collections.Generic; using System.IO; using System.Text; using System.Xml.Linq; using Twilio.Types; namespace Twilio.TwiML.Voice { /// <summary> /// Stream TwiML Noun /// </summary...
36.866279
109
0.55496
[ "MIT" ]
BrimmingDev/twilio-csharp
src/Twilio/TwiML/Voice/Stream.cs
6,341
C#