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 DomainFramework.Core; using System; using System.Collections.Generic; using Utilities.Validation; namespace ApplicationLogs.Logs { public class CreateApplicationLogInputDto : IInputDataTransferObject { public ApplicationLog.LogTypes Type { get; set; } public string UserId { get; set; } ...
27.714286
79
0.64884
[ "MIT" ]
jgonte/ApplicationLogs
ApplicationLogs/DomainModel/Logs/InputDataTransferObjects/CreateApplicationLogInputDto.cs
1,552
C#
namespace WavelengthTheGame.Entities { public interface IBaseEntity { string Id {get;set;} } }
16.285714
36
0.649123
[ "MIT" ]
davotronic5000/WavelengthTheGame
Entities/IBaseEntity.cs
114
C#
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using ...
39.290909
152
0.659417
[ "MIT" ]
Escan-DNMZ/E-Trade2
E-Trade2/E-Trade2/App_Start/IdentityConfig.cs
4,324
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BL.Subdomains.FilesGeneration.FilesGenerationUsingOpenXml.Utils { internal enum DateFormats { ddMMyyyy, ddMMMMyyyy } }
18.333333
73
0.741818
[ "MIT" ]
OlehTymoshenko/Diploma-API
Diploma/BL.Subdomains.FilesGeneration.FilesGenerationUsingOpenXml/Utils/DateFormats.cs
277
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("DA...
37.540541
84
0.743701
[ "MIT" ]
dzhenko/TelerikAcademy
DB/DB-8-EntityFramework-Homework/DAOTests/Properties/AssemblyInfo.cs
1,392
C#
using System; using System.Windows.Forms; namespace WMD { static class Program { /// <summary> /// Point d'entrée principal de l'application. /// </summary> [STAThread] static void Main() { Application.EnableVisualStyles(); Application.Se...
31.925926
200
0.571926
[ "MIT" ]
EricReichenbach/WMD
Doom Mod Manager/Program.cs
865
C#
using UILayouTaro; using UnityEngine; using UnityEngine.UI; public class ImageElement : LTElement, ILayoutableRect { public override LTElementType GetLTElementType() { return LTElementType.Image; } public Image Image; public static ImageElement GO(Image image) { // prefab名を固定...
26.333333
69
0.649789
[ "MIT" ]
sassembla/LayouTaro
Assets/LayouTaro/LayouTaroElements/ImageElement.cs
1,317
C#
// <copyright file="RecognizerPlatformEffect.cs" company="Velocity Systems"> // Copyright (c) 2020 Velocity Systems // </copyright> [assembly: Xamarin.Forms.ResolutionGroupName("Velocity")] [assembly: Xamarin.Forms.ExportEffect( typeof(Velocity.Gestures.Forms.WPF.RecognizerPlatformEffect), nameof(Velocity...
41.512195
153
0.630141
[ "MIT" ]
velocitysystems/gestures
src/Gestures.Forms.WPF/Effects/RecognizerPlatformEffect.cs
3,406
C#
using System; using NetFusion.Rest.Docs.Core.Descriptions; using NetFusion.Rest.Docs.Models; using NetFusion.Web.Mvc.Metadata; namespace NetFusion.Rest.Docs.Xml.Descriptions { /// <summary> /// Sets the comments associated with a given Web Controller's action method /// from a .NET Code Comment XML file. ...
32.461538
96
0.706161
[ "MIT" ]
grecosoft/NetFusion
netfusion/src/Web/NetFusion.Rest.Docs/Xml/Descriptions/XmlActionComments.cs
844
C#
/* * PA Engine API * * Allow clients to fetch Analytics through APIs. * * The version of the OpenAPI document: 3 * Contact: analytics.api.support@factset.com * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections.Concurrent; using System.Collections.Gen...
35.898496
218
0.545188
[ "Apache-2.0" ]
factset/enterprise-sdk
code/dotnet/PAEngine/v3/src/FactSet.SDK.PAEngine/Client/Configuration.cs
19,100
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. /*============================================================ ** ** ** ** Purpose: Capture execution context for a...
45.73125
173
0.614049
[ "MIT" ]
AzureMentor/runtime
src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs
29,268
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
39.830508
185
0.69617
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/argocd-operator/dotnet/Kubernetes/Crds/Operators/ArgocdOperator/Argoproj/V1Alpha1/Inputs/ApplicationStatusOperationStateSyncResultSourceDirectoryJsonnetArgs.cs
2,350
C#
using System.Collections.Generic; namespace Datapoint.Cqrs.Mediator { /// <summary> /// A provider for mediator services such as command handles, notification /// handlers, query handlers and others. /// </summary> public abstract class MediatorServiceProvider : IMediatorServiceProvider { /// <summary> /// ...
34.890625
98
0.706673
[ "MIT" ]
datapoint-corporation/datapoint-cqrs
src/dotnet/src/Datapoint.Cqrs.Mediator.Abstractions/MediatorServiceProvider.cs
2,235
C#
// // Copyright (c) Microsoft Corporation. All rights reserved. // // Microsoft Public License (MS-PL) // // This license governs use of the accompanying software. If you use the // software, you accept this license. If you do not accept the license, do not // use the software. // // 1. Definitions // // The ter...
35.795
116
0.57508
[ "Apache-2.0" ]
komiyamma/hm_customlivepreview
HmCustomLivePreview.src/hmJSStaticLib/ClearScript/JS/CanonicalRefTable.cs
7,159
C#
using Core.Domain.Interfaces; namespace Catalogo.Domain.Interfaces { public interface IUnitOfWorkCatalogo : IUnitOfWork { } }
16.444444
54
0.695946
[ "MIT" ]
pedrogutierres/rumox
src/Catalogo/Catalogo.Domain/Interfaces/IUnitOfWorkCatalogo.cs
150
C#
namespace Waf.MusicManager.Applications.Data.Metadata { internal class WavSaveMetadata : SaveMetadata { protected override bool IsSupported => false; } }
21.875
54
0.714286
[ "MIT" ]
Bhaskers-Blu-Org2/AppConsult-WinAppsModernizationWorkshop
Samples-NetCore/MusicManager/MusicManager.Applications/Data/Metadata/WavSaveMetadata.cs
177
C#
#if !NETSTANDARD13 /* * 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 ...
43.159279
160
0.672034
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/test/Services/SageMaker/UnitTests/Generated/_bcl45+netstandard/Paginators/SageMakerPaginatorTests.cs
57,445
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
42.357143
98
0.706155
[ "MIT" ]
DamianSuess/Prism.Templates
Wpf/BlankApp/Properties/AssemblyInfo.cs
2,375
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V28.Segment; using NHapi.Model.V28.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V28.Group { ///<summary> ///Represents the OML_O21_SPECIMEN Group. A Group is an ordered collect...
30.672897
154
0.707038
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
AMCN41R/nHapi
src/NHapi.Model.V28/Group/OML_O21_SPECIMEN.cs
6,564
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using RDMdotNet.Models; using LStoreJSON; using System.IO; namespace RDMdotNet.Controllers { [Route("api/[controller]")] public class FakeDataController : Con...
34.37963
146
0.477107
[ "MIT" ]
thezaza101/RDMdotNet
src/Controllers/FakeDataController.cs
7,428
C#
using System.Windows; using System.Windows.Controls; using BIDSDataUpdateNotifier; namespace caMon.pages.BIDSDataUpdateNotifierUsecase { public class LampControl : Control { static public DependencyProperty ValueCheckerProperty = DependencyProperty.Register(nameof(ValueChecker), typeof(IValueChecker<bool>), type...
44
158
0.806818
[ "MIT" ]
TetsuOtter/caMon
caMon.pages.BIDSDataUpdateNotifierUsecase/LampControl.cs
882
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace MailChimp.Helper { /// <summary> /// Account information including payments made, plan info, /// some account stats, installed modules, contact info, and more. No private /// information like Credit Card numbers is avail...
24.628692
101
0.47473
[ "MIT" ]
IDisposable/MailChimp.NET
MailChimp/Helper/AccountDetails.cs
5,839
C#
using System.Linq; namespace EntityFramework6.Test.Infrastructure { public class ValuesHelper { public static int GetNonPublishedStatus(Mapping mapping) { if (IsDynamicMapping(mapping)) { return 240; } else { ...
21.934426
106
0.443199
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
QuantumArt/QP.EntityFramework
EntityFramework6.Test/Infrastructure/ValuesHelper.cs
1,340
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. /****************************************************************************** * This file is auto-generated from ...
42.823529
148
0.587912
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/General/Vector128_1/ToString.Int32.cs
2,184
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
45.229885
216
0.615248
[ "MIT" ]
3quanfeng/azure-powershell
src/Network/Network/PrivateLinkService/PrivateEndpointConnection/RemoveAzurePrivateEndpointConnection.cs
3,851
C#
using System; using Ayehu.Sdk.ActivityCreation.Interfaces; using Ayehu.Sdk.ActivityCreation.Extension; using Ayehu.Sdk.ActivityCreation.Helpers; using System.Net; using System.Net.Http; using System.Text; using System.Collections.Generic; namespace Ayehu.Thycotic { public class TY_Update_an_engine_proxy_configurat...
36.668639
251
0.620462
[ "MIT" ]
Ayehu/custom-activities
Thycotic/Proxy/TY Update an engine proxy configuration/TY Update an engine proxy configuration.cs
6,197
C#
// <copyright file="Hyperbola.cs"> // Copyright © 2019 - 2020 Shkyrockett. All rights reserved. // </copyright> // <author id="shkyrockett">Shkyrockett</author> // <license> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </license> // <summary></summary...
33.297872
162
0.532748
[ "MIT" ]
Shkyrockett/ConicSectionPlayground
ConicSectionLibrary/Classes/Shapes/Hyperbola.cs
6,263
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. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Online.API.Requests.Responses; using System; namespace osu.Game.Overlays.C...
29.56
90
0.671177
[ "MIT" ]
02Naitsirk/osu
osu.Game/Overlays/Changelog/ChangelogContent.cs
717
C#
/** * Copyright 2017 The Nakama 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 or agree...
33.039474
129
0.494325
[ "Apache-2.0" ]
GameInstitute/nakama-docs
docs/nakama/examples/unity/nakama-showreel/Assets/Nakama/Plugins/Nakama/NTransportWebSocket.cs
10,046
C#
using Cosmos.Business.Extensions.Holiday.Core; using Cosmos.I18N.Countries; namespace Cosmos.Business.Extensions.Holiday.Definitions.Europe.Croatia.Religion { /// <summary> /// Epiphany /// </summary> public class Epiphany : BaseFixedHolidayFunc { /// <inheritdoc /> public override ...
30.46875
86
0.615385
[ "Apache-2.0" ]
cosmos-open/Holiday
src/Cosmos.Business.Extensions.Holiday/Cosmos/Business/Extensions/Holiday/Definitions/Europe/Croatia/Religion/Epiphany.cs
975
C#
namespace HQF.Daily.Authorization { public static class PermissionNames { public const string Pages_Tenants = "Pages.Tenants"; public const string Pages_Users = "Pages.Users"; public const string Pages_Roles = "Pages.Roles"; } }
24.272727
60
0.674157
[ "MIT" ]
huoxudong125/HQF.ABP.Daily
src/HQF.Daily.Core/Authorization/PermissionNames.cs
269
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
27.816092
112
0.535537
[ "MIT" ]
Colorfingers/Materia
Materia/UI/Components/ToggleControl.xaml.cs
2,422
C#
// <auto-generated /> using System; using Commitments.Infrastructure.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Migrations; names...
31.898032
117
0.459593
[ "MIT" ]
QuinntyneBrown/Commitments
src/Commitments.Infrastructure/Migrations/20180527151113_DigtialAssetContentType.Designer.cs
17,833
C#
namespace Sandra.SimpleValidator { public class ValidationError { public string Message { get; set; } public string PropertyName { get; set; } } }
21.875
48
0.634286
[ "MIT" ]
PureKrome/Sandra.SimpleValidator
src/Sandra.SimpleValidator/ValidationError.cs
177
C#
namespace DiscordHackWeek.Entities { public interface INService { } }
18.5
35
0.756757
[ "MIT" ]
sphexator/DiscordHackWeek
DiscordHackWeek/Entities/INService.cs
76
C#
using System; using System.Drawing; using System.Drawing.Drawing2D; namespace Roro.Workflow { public abstract class Port { public Guid Id { get; } public Guid NextNodeId { get; set; } public Rectangle Bounds { get; set; } public abstract Point GetOffset(Rectangle r); ...
28.666667
97
0.612579
[ "BSD-2-Clause" ]
tsujio/Roro
src/Roro.Activities/Port.cs
1,894
C#
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace GReact { public static class LambdaChecker { [MethodImpl(MethodImplOptions.AggressiveInlining)] public static void Check(Action callback) { if (Godot.OS.IsDebugBuild()) { CheckTarget(callback.Target); ...
37.130178
408
0.700558
[ "MIT" ]
zorbathut/greact
GReact/Signal.cs
6,275
C#
namespace Huobi.SDK.Model.Response.Account { public class TransferPointResponse { /// <summary> /// Status code /// </summary> public int code; /// <summary> /// Error message (if any) /// </summary> public string message; public Data da...
21.064516
59
0.468606
[ "Apache-2.0" ]
BlancHeart/huobi_CSharp
Huobi.SDK.Model/Response/Account/TransferPointResponse.cs
655
C#
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd 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 * * Unless requ...
33.797927
141
0.572129
[ "Apache-2.0" ]
wantfire/TizenFX
src/Tizen.WebView/Tizen.WebView/BackForwardList.cs
6,525
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mlagents_envs/communicator_objects/engine_configuration.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.P...
34.125786
291
0.655916
[ "Apache-2.0" ]
106051075/ml-agents
com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/EngineConfiguration.cs
10,852
C#
using NHapi.Base.Parser; using NHapi.Base; using NHapi.Base.Log; using System; using System.Collections.Generic; using NHapi.Model.V251.Segment; using NHapi.Model.V251.Datatype; using NHapi.Base.Model; namespace NHapi.Model.V251.Group { ///<summary> ///Represents the PPV_PCA_GOAL_PATHWAY Group. A Group is ...
27.082707
159
0.636868
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V251/Group/PPV_PCA_GOAL_PATHWAY.cs
3,602
C#
// Copyright 2007-2018 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // ...
35.653846
82
0.724919
[ "ECL-2.0", "Apache-2.0" ]
AOrlov/MassTransit
src/MassTransit.RabbitMqTransport/Contexts/RabbitMqReceiveEndpointContext.cs
929
C#
using System.Collections.Generic; using System.Linq; using OrBoard.Client.Controllers; using OrBoard.Data; using OrBoard.Domain.Models; namespace OrBoard.Client.Models { public class AnesthCasesViewModel { public List<Procedure> ProcedureList { get; set; } public List<Anesthetist> AnesthetistLi...
27.454545
83
0.512583
[ "MIT" ]
Pronounced/County-OR-Board
OrBoard.Client/Models/AnesthCasesViewModel.cs
1,510
C#
//------------------------------------------------------------------------------ // <auto-generated> // Этот код создан программой. // Исполняемая версия:4.0.30319.42000 // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </auto-ge...
40.407407
151
0.593951
[ "MIT" ]
Samemantlt/MultiplayerForMinecraft
MultiplayerForMinecraft/Properties/Settings.Designer.cs
1,227
C#
// The MIT License (MIT) // // Copyright (c) Andrew Armstrong/FacticiusVir 2018 // // 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 r...
37.179487
81
0.713103
[ "MIT" ]
sebastianulm/SharpVk
src/SharpVk/QueryPoolCreateFlags.gen.cs
1,450
C#
using System; using System.Collections.Generic; using System.Runtime.Serialization; using System.Text; namespace ClientePeatonXamarin.Modelos { public class ADMotivoGuiaDC { public ADMotivoGuiaDC() { } public short IdMotivoGuia { get; set; } public string Descripcion...
22.578947
86
0.529138
[ "MIT" ]
Erikole21/Xamarin-Forms-APP
ClientePeatonXamarin/ClientePeatonXamarin/Modelos/ExploradorEnvios/ADMotivoGuiaDC.cs
861
C#
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; using Moq; using SB014.API.BAL; using SB014.API.Controllers; using SB014.API.DAL; using SB014.API.Domain; using SB014.API.Notifications; using SB014.API.Models; using Xunit; namespace SB014.UnitTests.Api...
54.428571
187
0.612219
[ "MIT" ]
sbarrettGitHub/SB014
SB014.Tests/Tournament_AddTournamentSubscriberGameAnswerAttemptShould.cs
17,907
C#
// ------------------------------------------------------------------------------ // <auto-generated> // Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL) // <NameSpace>Mim.V4200</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat...
40.465517
1,358
0.571453
[ "MIT" ]
Kusnaditjung/MimDms
src/Mim.V4200/Generated/PRPA_MT030101UK06MedicationReviewReq.cs
11,735
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Sql....
73.657201
318
0.680142
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/DatabaseVulnerabilityAssessmentScansRestOperations.cs
36,313
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Security.Cryptography; using System.Security.Cryptography.X509Certificates; using System.Threading; namespace WebSocketCore.Net { internal sealed class EndPointListene...
29.815631
103
0.480979
[ "MIT" ]
CrimeanBitches/websocket-core
websocket-core/Net/EndPointListener.cs
14,878
C#
using System; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Management; using System.Reflection; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Security.Principal; using System.Text; using System.Threading; using System.Windows.Forms; #if ...
34.582589
266
0.501065
[ "MIT" ]
CPT-Jack-A-Castle/SilentCryptoMiner
SilentCryptoMiner/Resources/Code/Program.cs
15,495
C#
namespace Barriot.Entities.Polls { public class PollOption { public int Id { get; set; } public string Label { get; set; } public int Votes { get; set; } public PollOption(int index, string label) { Id = index; Label = label; Votes ...
18.052632
50
0.489796
[ "MIT" ]
Rozen4334/Barriot
Barriot.Core/Entities/Polls/PollOption.cs
345
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.Reflection; using System.Runtime.InteropServices; namespace Microsoft.Azure.Devices.Client { internal class ProductInfo { p...
35.939394
154
0.664418
[ "MIT" ]
CIPop-test/azure-iot-sdk-csharp
iothub/device/src/ProductInfo.cs
1,188
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TribonacciTriangle { class Program { static void Main(string[] args) { long oldest = long.Parse(Console.ReadLine()), middle = long.Parse(Co...
24.72
63
0.475728
[ "MIT" ]
dushka-dragoeva/TelerikSeson2016
Exam Preparations/All exam tasks/CSharpPartOne/01. 2012/Variant 1 (1)/Problem 2/Solution.cs
1,238
C#
 namespace MajorantOfArray { using System; using System.Linq; // 08. * The majorant of an array of size N is a value that occurs in it // at least N/2 + 1 times. Write a program to find the majorant of given array (if exists). Example: // {2, 2, 3, 3, 2, 3, 4, 3, 3} -> 3 class MajorantOfArra...
30.588235
104
0.472115
[ "MIT" ]
niki-funky/Telerik_Academy
Programming/Data Structures and Algorithms/01. Algo/08. MajorantOfArray/Program.cs
1,042
C#
 namespace SaTeatar.WinUI.Djelatnici { partial class frmDjelatnici { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
46
132
0.581802
[ "MIT" ]
eminafit/SaTeatar
SaTeatar/SaTeatar.WinUI/Djelatnici/frmDjelatnici.Designer.cs
8,926
C#
using GMac.Engine.AST.Symbols; using GMac.Engine.Compiler.Semantic.ASTConstants; namespace GMac.Engine.API.CodeGen.BuiltIn.GMac.GMacFrame { public sealed partial class FrameLibrary { private void GenerateEuclideanVersorToOutermorphismMacro(AstFrame frameInfo) { var commandsList = ...
39.96
127
0.590257
[ "MIT" ]
ga-explorer/GMac
GMac/GMac.Engine/API/CodeGen/BuiltIn/GMac/GMacFrame/FrameLibraryEuclideanVersor.cs
2,999
C#
namespace VisualStudio.GitStashExtension.GitHelpers { /// <summary> /// Represents container for git commmands. /// </summary> public class GitCommandConstants { public const string StashList = "stash list"; public const string StashApplyFormatted = "stash apply stash@{{{0}}}"; ...
27.315789
78
0.649326
[ "MIT" ]
WolfyUK/VisualStudio.GitStashExtension
VisualStudio.GitStashExtension/VisualStudio.GitStashExtension/GitHelpers/GitCommandConstants.cs
521
C#
//#define COSMOSDEBUG using System; using System.IO; using System.Security; namespace Cosmos.System.Graphics { /// <summary> /// Bitmap class, used to represent image of the type of Bitmap. See also: <seealso cref="Image"/>. /// </summary> public class Bitmap : Image { /// <summary> ...
48.361377
272
0.562013
[ "BSD-3-Clause" ]
AcaiBerii/Cosmos
source/Cosmos.System2/Graphics/Bitmap.cs
25,295
C#
using RestauranteAPI.Models; using RestauranteAPI.Models.Mapping; using System; using System.Collections.Generic; using RestauranteAPI.Models.Dto; namespace RestauranteAPI.Services.Injections { public interface IOrderService { OrderDto CreateOrder(Order product); OrderDto EditOrder(OrderDto or...
26.166667
60
0.732484
[ "MIT" ]
diegojmoir/IngenieriaDeSoftware-BackEnd
RestauranteAPI/RestauranteAPI/Services/Injections/IOrderService.cs
473
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
53.317881
277
0.608868
[ "MIT" ]
AlanFlorance/azure-powershell
src/KubernetesConfiguration/generated/api/Models/Api20220301/ExtensionPropertiesAksAssignedIdentity.TypeConverter.cs
7,901
C#
namespace Microsoft.Protocols.TestSuites.MS_OXWSMTGS { /// <summary> /// An enumeration that describes roles of a meeting. /// </summary> public enum Role { /// <summary> /// Represent the organizer of a meeting. /// </summary> Organizer, ...
24.782609
65
0.505263
[ "MIT" ]
ChangDu2021/Interop-TestSuites
ExchangeWebServices/Source/MS-OXWSMTGS/Adapter/Helper/Enums.cs
570
C#
#pragma checksum "C:\Users\Nompumelelo\source\repos\Bit_Photos\Views\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c9c71fde0eb4962a60ca3b2d96810132ea4254b9" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCo...
48.06
173
0.766126
[ "MIT" ]
Candice-hub1/Bit_Photos
obj/Debug/netcoreapp3.1/Razor/Views/_ViewImports.cshtml.g.cs
2,403
C#
using Angular8_App_Part1.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Angular8_App_Part1.Controllers { [Route("/api/employees")] public class EmployeesController : Control...
24.8
84
0.647465
[ "MIT" ]
nesta-bg/Angular8-App-Part1
Angular8-App-Part1/Controllers/EmployeesController.cs
870
C#
using SqliteORM; using System; using System.Collections.Generic; using System.Linq; using System.Text; using wpfClient.Model; namespace wpfClient.Manager { public class UserManager { public User GetUser(Where where) { using (TableAdapter<User> adapter = TableAdapter<User>.Open()) ...
28.861538
95
0.445629
[ "MIT" ]
shanghongshen001/aimeng366
wpfClient.Manager/UserManager.cs
1,914
C#
using Gem.Network.Messages; using Gem.Network.Providers; using Gem.Network.Repositories; using System; namespace Gem.Network.Managers { /// <summary> /// Manager class for accessing <see cref=">Gem.Network.Providers.ClientConfigurationProvider"/> /// by index [string,MessageType,byte] /// </sum...
24.54902
100
0.591054
[ "MIT" ]
gmich/Gem
Gem.Network/Managers/ClientMessageFlowManager.cs
1,254
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...
32.945946
107
0.658737
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/SageMaker/Generated/Model/Internal/MarshallTransformations/InputConfigMarshaller.cs
2,438
C#
namespace IFPS.Sales.Domain.Model { public class AccessoryMaterial : Material { /// <summary> /// True, if the accessory is optional for the customer /// </summary> public bool IsOptional { get; private set; } /// <summary> /// True, if the accessory ...
31.48
158
0.589581
[ "MIT" ]
encosoftware/ifps
ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Domain/Model/MaterialAggregate/AccessoryMaterial.cs
789
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> //--...
34.290323
151
0.580433
[ "MIT" ]
gamingdoom/CFGShare
CFGShare/Properties/Settings.Designer.cs
1,065
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("Su...
37.810811
84
0.745533
[ "MIT" ]
ivannk0900/Telerik-Academy
C# 1/ConsoleInputOutput/SumOf3Numbers/Properties/AssemblyInfo.cs
1,402
C#
using System; using System.IO; using System.Reflection; namespace adventofcode2017 { public class InputReader { readonly uint day; readonly string path; public InputReader(uint day) { this.day = day; path = $"{Directory.GetCurrentDirectory()}/input/{day...
18.086957
72
0.569712
[ "MIT" ]
Sankra/AdventOfCode2017
2017/adventofcode2017/InputReader.cs
418
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Filmoteka_WPF { class Export { private readonly Filmoteka _source; public Export(Filmoteka source) { _source = source; } ...
20.48
55
0.5625
[ "MIT" ]
50PSoftware/Filmoteka
Filmoteka/Export.cs
514
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RMUD; namespace RMUD { internal class Register : CommandFactory { public override void Create(CommandParser Parser) { Parser.AddCommand( Sequence( KeyWord("REGI...
33.857143
116
0.529536
[ "MIT" ]
Blecki/RMUDReboot
Core/Network/Register.cs
1,898
C#
using System; using FeatureSwitcher.Configuration.Specs.Contexts; using FeatureSwitcher.Configuration.Specs.Domain; using Machine.Specifications; namespace FeatureSwitcher.Configuration.Specs { public class When_application_configuration_does_not_ignore_errors : WithCleanUp { Establish ctx = () => Feat...
37.166667
144
0.754858
[ "Apache-2.0" ]
mexx/FeatureSwitcher.Configuration
Source/FeatureSwitcher.Configuration.Specs/When_application_configuration_does_not_ignore_errors.cs
669
C#
using UnityEngine; using System; using TimeUnity.Controller; namespace TimeUnity.Model { public enum RoomItemStatus { idle, timeWaiting, timeOver, error, } public class RoomItemData { public string id; public bool canUse = false; protected Roo...
28.72549
77
0.490785
[ "MIT" ]
b920687vd/booomDream
TimeUnity/Assets/Scripts/Model/RoomItemData.cs
2,950
C#
using LoT.Framework.Bootstrap.IBootstrap; namespace LoT.Framework.Bootstrap.IOC { public interface IBootstrapContainer { /// <summary> /// 按钮 /// </summary> /// <param name="text">文本值</param> /// <returns></returns> IBootstrapBotton Botton(string text); } }
21.333333
45
0.58125
[ "Apache-2.0" ]
dunitian/LoTBootstrap
LoT.Framework/Bootstrap/IOC/IBootstrapContainer.cs
332
C#
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /* ImageListFlags.cs -- image list drawing style Ars Magna project, http://arsmagna.ru */ #region Using directives using JetBrains.Annotations; #endregi...
28.037037
84
0.548217
[ "MIT" ]
amironov73/ManagedClient.45
Source/Classic/Libs/AM.Win32/AM/Win32/ComCtl/ImageListFlags.cs
3,030
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace JsonStores { /// <summary> /// Extension methods for setting up JsonStores in an <see cref="IServiceCollection" />. /// </summary> public static class DependencyInjecti...
57.680328
162
0.651414
[ "MIT" ]
augustocb23/json-stores
JsonStores/DependencyInjection.cs
7,039
C#
namespace Yandex.Checkout.V3 { public class Recipient { /// <summary> /// Идентификатор магазина в Яндекс.Кассе /// </summary> public string AccountId { get; set; } public string GatewayId { get; set; } } }
20.076923
49
0.559387
[ "MIT" ]
Sierra93/Yandex.Checkout.V3
Yandex.Checkout.V3/Recipient.cs
296
C#
namespace Genocs.MicroserviceLight.Template.WebApi.UseCases.V1.CloseAccount { using System; using System.ComponentModel.DataAnnotations; /// <summary> /// The Close Account Request /// </summary> public sealed class CloseAccountRequest { /// <summary> /// Account ID ...
23.823529
75
0.609877
[ "MIT" ]
Genocs/clean-architecture-template
src/template/src/Genocs.MicroserviceLight.Template.WebApi/UseCases/V1/CloseAccount/CloseAccountRequest.cs
405
C#
using System; namespace _01._SoftUni_Reception_archive { class Program { static void Main(string[] args) { int employeeEfficiency1 = int.Parse(Console.ReadLine()); int employeeEfficiency2 = int.Parse(Console.ReadLine()); int employeeEfficiency3 = int.Parse(C...
26.78125
101
0.519253
[ "MIT" ]
Anzzhhela98/CSharp-Exams
Mid-Exam-Preparation-Fundamentals/01. SoftUni Reception/Program.cs
859
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...
41.946043
295
0.574693
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/SubscriptionClient.cs
23,322
C#
using System; using Skybrud.Social.Http; using Skybrud.Social.Steam.Models.Envoy; namespace Skybrud.Social.Steam.Responses.Envoy { /// <summary> /// Class representing the response of a call to post a payment out notification. /// </summary> public class SteamPaymentOutReverseNotificationResponse : St...
33.391304
132
0.67513
[ "MIT" ]
abjerner/Skybrud.Social.Steam
src/Skybrud.Social.Steam/Responses/Envoy/SteamPaymentOutReverseNotificationResponse.cs
1,538
C#
namespace SimpleDiscovery.EnvironmentVariables { public class EnvironmentVariablesOptions { public string CustomPrefix { get; set; } } }
19.75
48
0.708861
[ "MIT" ]
shibayan/SimpleDiscovery
src/SimpleDiscovery.EnvironmentVariables/EnvironmentVariablesOptions.cs
160
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...
31.225
106
0.6245
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/GlueDataBrew/Generated/Model/ListJobRunsResponse.cs
2,498
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
35.268293
157
0.613416
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cache/V20190701/Inputs/SkuArgs.cs
1,446
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 ...
17.212162
134
0.603831
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-edas/Edas/Model/V20170801/DeployK8sApplicationRequest.cs
12,737
C#
using CardsLibrary.Model.Common; using System; using System.Collections.Generic; using System.Text; namespace CardsLibrary.Model { public class Game: Entity { public string Name { get; set; } public List<Table> Tables { get; set; } } }
19
47
0.672932
[ "MIT" ]
SondreVik/CardGameServerTest
CardsLibrary/Model/Game.cs
268
C#
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Json; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Testing; using ProjectBank.Core; using Xunit; namespace ProjectBank.Server.Integration.Tests { public class CommentTests : IClassFixture<CustomWebApplic...
31.507692
103
0.608398
[ "MIT" ]
REXKrash/BDSA2021-ProjectBank
Server.Integration.Tests/CommentTests.cs
2,048
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...
28.656863
150
0.524119
[ "ECL-2.0", "Apache-2.0" ]
JakeGinnivan/pulumi-aws
sdk/dotnet/Kms/GetAlias.cs
2,923
C#
namespace UblTr.Common { [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:oa...
52.416667
171
0.772655
[ "MIT" ]
canyener/Ubl-Tr
Ubl-Tr/Common/CommonBasicComponents/ReminderTypeCodeType.cs
629
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.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.C...
29.857143
161
0.728868
[ "Apache-2.0" ]
AArnott/roslyn
src/Workspaces/CSharp/Portable/CodeStyle/TypeStyle/TypeStyle.cs
629
C#
/* © (ɔ) QuoInsight */ using System; using System.Runtime.InteropServices; // DllImport using System.Net.NetworkInformation; using System.Management; namespace myNameSpace { class myClass { public static bool consoleCancelled = false; public static int timeout=2000; public static string pingTarget="", ...
47.170306
281
0.623773
[ "MIT" ]
QuoInsight/ping.net
ping.net.cs
10,804
C#
using System; using UltimaOnline.Network; namespace UltimaOnline.Gumps { public class GumpLabelCropped : GumpEntry { private int m_X, m_Y; private int m_Width, m_Height; private int m_Hue; private string m_Text; public int X { get ...
22.247788
138
0.378282
[ "MIT" ]
netcode-gamer/game.ultimaonline.io
UltimaOnline/Gumps/GumpLabelCropped.cs
2,514
C#
using System; using System.IO; namespace Rebus.AzureTables.Tests { static class TsTestConfig { static readonly Lazy<string> LazyConnectionString = new(() => { var filePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "azure_storage_connection_string.txt"); if ...
30.933333
126
0.653376
[ "MIT" ]
rebus-org/Rebus.AzureTables
Rebus.AzureTables.Tests/TsTestConfig.cs
2,786
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...
29.323529
109
0.745236
[ "Apache-2.0" ]
amazon-archives/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_Android/Amazon.AutoScaling/Model/DeleteTagsResult.cs
997
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace VueExample.Models.Charts.Plotly { public class Trace { [JsonProperty(PropertyName = "y")] public List<double> ValueList { get; set; } [JsonProperty(PropertyName = "type")] public string Type { get; set; } ...
33.193548
91
0.582119
[ "MIT" ]
7is7/SVR2.0
Models/Charts/Plotly/Trace.cs
1,029
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("BI...
38.027027
84
0.745558
[ "MIT" ]
ytabuchi/BuildInsider_FileSystem
BI_FileSystem/BI_FileSystem/BI_FileSystem.iOS/Properties/AssemblyInfo.cs
1,410
C#
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Cam.IO.Json { public class JObject { public static readonly JObject Null = null; private Dictionary<string, JObject> properties = new Dictionary<string, JObject>(); public JObject this[string...
28.075676
115
0.443781
[ "MIT" ]
camchain/CAM
cam/IO/Json/JObject.cs
5,196
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; namespace PreventionAdvisor.Models { public class Workplace { [DatabaseGenerated(DatabaseGeneratedOption.Ide...
29.2
61
0.679452
[ "Apache-2.0" ]
niekvandael/WorkplacesToolChain
src/PreventionAdvisor/Models/Workplace.cs
732
C#