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 QSP.Utilities; namespace QSP.UI.Views { public partial class Splash { public Splash() { InitializeComponent(); } public void ShowVersion() { SmallTitleLbl.Text = "version " + Version.AppProductVersion(); } } }
16.777778
74
0.529801
[ "MIT" ]
JetStream96/QSimPlanner
src/QSP/UI/Views/Splash.cs
302
C#
using BattleTech; using Harmony; using System; using System.Collections.Generic; namespace ConcreteJungle.Extensions { public static class MechExtensions { // The default method assumes an absractActor exists, and tries to draw a line of fire. We don't have that, so skip it. public static void Reso...
50.385965
156
0.762187
[ "MIT" ]
BattletechModders/ConcreteJungle
ConcreteJungle/ConcreteJungle/Extensions/MechExtensions.cs
2,874
C#
using System; namespace SilupostWeb.Domain.ViewModel { public class SystemWebAdminRoleViewModel { public string SystemWebAdminRoleId { get; set; } public string RoleName { get; set; } public SystemRecordManagerViewModel SystemRecordManager { get; set; } public EntityStatusViewM...
27.692308
77
0.7
[ "Apache-2.0" ]
erwin-io/Silupost
SilupostWebApp/SilupostWeb.Domain/ViewModel/SystemWebAdminRoleViewModel.cs
362
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
37.373288
157
0.513058
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.461
Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Draw/ViewDrawRibbonGroupLabelText.cs
10,916
C#
using System.Resources; 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. [ass...
35.129032
84
0.746556
[ "MIT" ]
OnTheFenceDevelopment/xamarinforms
SimpleOverlayForm/SimpleOverlayForm/SimpleOverlayForm/Properties/AssemblyInfo.cs
1,092
C#
using Newtonsoft.Json; using Platform_Racing_3_Server.Game.Communication.Messages.Incoming.Json; using System; using System.Collections.Generic; using System.Text; namespace Platform_Racing_3_Server.Game.Communication.Messages.Outgoing.Json { internal class JsonLogoutTriggerOutgoingMessage : JsonPacket { ...
26.636364
76
0.71843
[ "MIT" ]
RMXdotEXE/Platform-Racing-3-Backend
Server/Game/Communication/Messages/Outgoing/Json/JsonLogoutTriggerOutgoingMessage.cs
588
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Newtonsoft.Json; using Primary.Data; using Primary.Data.Orders; using ServiceStack; namespace Primary { public class Api { /// <summary>This is the default production endpoint...
39.434783
105
0.502412
[ "MIT" ]
matbarofex/Primary.Net
Primary/Api.cs
14,514
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
25.433333
76
0.634338
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Cdn/Client/QueryPushDomainORAppOrStreamExecutor.cs
1,642
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace KagEditor.Wpf { public static class FctRegex { /// <summary> /// Efface toutes les lignes de script. /// </summary> /// <param name="MyFile">Fichier à nettoyer.</p...
36.9
114
0.549311
[ "MIT" ]
begerard/KagEditor
KagEditor/KagEditor.Wpf/FctRegex.cs
8,527
C#
namespace Astronomyfi.Web.Areas.Identity.Pages.Account { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text.Encodings.Web; using System.Threading.Tasks; using Astronomyfi.Data.Models; using Microsoft.AspNetCo...
33.045045
164
0.591876
[ "MIT" ]
Ivan-Gyoshev/Astronomyfi
Astronomyfi/Web/Astronomyfi.Web/Areas/Identity/Pages/Account/Login.cshtml.cs
3,668
C#
namespace CodeComposerLib.Irony.Semantic.Expression.Value { public interface ILanguageValue : ILanguageExpressionAtomic { ILanguageValue DuplicateValue(bool deepCopy); } }
24.125
63
0.756477
[ "MIT" ]
ga-explorer/GMac
CodeComposerLib/CodeComposerLib/Irony/Semantic/Expression/Value/ILanguageValue.cs
195
C#
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace APIAUTH.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" instead of "GetV...
38.384615
144
0.571142
[ "MIT" ]
melquelima/WEB
C_SHARP_PROJECTS/APIAUTH/APIAUTH/Areas/HelpPage/ApiDescriptionExtensions.cs
1,497
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 * ...
40
267
0.649621
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Vod/V20180717/Models/SplitMediaOutputConfig.cs
2,640
C#
//=============================================================================== // Microsoft patterns & practices // Composite Application Guidance for Windows Presentation Foundation //=============================================================================== // Copyright (c) Microsoft Corporation. All rights ...
48.269231
81
0.545817
[ "Apache-2.0" ]
andrewdbond/CompositeWPF
sourceCode/compositewpf/V1/trunk/Source/StockTraderRI/StockTraderRI.Infrastructure/ExtendedHeader.cs
1,255
C#
namespace Pk3DSRNGTool { partial class MiscRNGTool { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
47.522209
182
0.580256
[ "MIT" ]
Real96/3DSRNGTool
3DSRNGTool/Subforms/MiscRNGTool.Designer.cs
79,176
C#
namespace WpfApp1 { class Class1 { } }
7.428571
18
0.519231
[ "MIT" ]
forki/Gu.Roslyn.Asserts
TestApps/WpfApp1/Class1.cs
54
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace samplemvccore.Services { public interface IEmailSender { Task SendEmailAsync(string email, string subject, string message); } }
19.769231
74
0.747082
[ "MIT" ]
elvogel/identityazuretable
sample/samplemvccore/Services/IEmailSender.cs
259
C#
namespace AdventOfCode.Inputs.Year2015 { internal class Day02 { public string Input = @"20x3x11 15x27x5 6x29x7 30x15x9 19x29x21 10x4x15 1x26x4 1x5x18 10x15x23 10x14x20 3x5x18 29x23x30 7x4x10 22x24x29 30x1x2 19x2x5 11x9x22 23x15x10 11x11x10 30x28x5 22x5x4 6x26x20 16x12x30 10x20x5 25x14x24 16x17x22 11x28...
8.185885
39
0.873224
[ "MIT" ]
fluttert/AdventOfCode
AdventOfCode/Inputs/Year2015/Day02.cs
8,237
C#
using System.Threading.Tasks; using System.Net; using System.Web.Mvc; using GestionFacturas.Modelos; using GestionFacturas.Servicios; using System.Linq; using GestionFacturas.Website.Viewmodels.Clientes; using System.IO; using System.Collections.Generic; namespace GestionFacturas.Website.Controllers { [Authorize]...
32.634615
142
0.631408
[ "MIT" ]
acapdevila/GestionFacturas
GestionFacturas.Website/Controllers/ClientesController.cs
6,791
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using PcapDotNet.Base; using PcapDotNet.Packets.IpV4; namespace PcapDotNet.Packets.IpV6 { /// <summary> /// RFC 5142. /// <pre> /// +-----+----------------+-------------------------+ ...
52.794521
176
0.591463
[ "BSD-3-Clause" ]
Kolibrice/Pcap.Net
PcapDotNet/src/PcapDotNet.Packets/IpV6/ExtensionHeaders/IpV6ExtensionHeaderMobilityHomeAgentSwitchMessage.cs
7,708
C#
using System; using System.Text; using System.Web; using System.Web.Http.Description; namespace AutomationSystemAPI.Areas.HelpPage { public static class ApiDescriptionExtensions { /// <summary> /// Generates an URI-friendly ID for the <see cref="ApiDescription"/>. E.g. "Get-Values-id_name" inst...
38.692308
144
0.574553
[ "MIT" ]
ktodorov/IoT_AutomationSystem
AutomationSystemBackground/AutomationSystemAPI/Areas/HelpPage/ApiDescriptionExtensions.cs
1,509
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApp15 { public partial class Form1 : Form { public F...
32.984479
196
0.341086
[ "Apache-2.0" ]
DekToper/master
WindowsFormsApp15/Form1.cs
15,000
C#
using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using PlaywrightSharp.Helpers; using PlaywrightSharp.Tests.Attributes; using PlaywrightSharp.Tests.BaseTests; using PlaywrightSharp.Tests.Helpers; using Xunit; using Xunit.Abstractions; namespace PlaywrightSharp.Tests { ///<playwright-...
39.955801
90
0.609237
[ "MIT" ]
ScottHuangZL/playwright-sharp
src/PlaywrightSharp.Tests/ScreencastTests.cs
7,232
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; namespace Azure.ResourceManager.Core { /// <summary> /// A class representing a resource type filter used in Azure API calls. /// </summary> public class ResourceTypeFilter : GenericResourceF...
28.591549
111
0.570936
[ "MIT" ]
lynxz/azure-sdk-for-net
sdk/resourcemanager/Azure.ResourceManager.Core/src/ResourceFilter/ResourceTypeFilter.cs
2,032
C#
using System; using System.IO; using Microsoft.Win32; namespace Karadzhov.ExternalInvocations.VisualStudioCommonTools { internal static class WindowsSdkLocator { public static string Root { get { return WindowsSdkLocator.rootPath.Value; } ...
28.859155
161
0.588092
[ "Apache-2.0" ]
Boyko-Karadzhov/External-Invocations
Karadzhov.ExternalInvocations.VisualStudioCommonTools/WindowsSdkLocator.cs
2,051
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Kusto.Models.Api202101 { using Microsoft.Azure.PowerShell.Cmdlets.Kusto.Runtime.PowerShell; /// <summary>The list Kusto database principal assignments operation response.</summary> [System.ComponentModel.TypeConverter(typeof(DatabasePrincipalAssignmentListR...
67.574627
632
0.707344
[ "MIT" ]
Agazoth/azure-powershell
src/Kusto/generated/api/Models/Api202101/DatabasePrincipalAssignmentListResult.PowerShell.cs
8,922
C#
using System; using System.Collections.Generic; using System.Net; using System.Reflection; using Nini.Config; using log4net; using OpenSim.Framework; using OpenSim.Framework.Console; using OpenSim.Data; using OpenSim.Services.Interfaces; using OpenMetaverse; namespace OpenSim.Services.ExperienceService { public cl...
34.140351
120
0.547876
[ "BSD-3-Clause" ]
BillBlight/ycfs-opensim
OpenSim/Services/ExperienceService/ExperienceService.cs
11,676
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Drawing { /// <summary> /// Specifies alignment of content on the drawing surface. /// ...
39.823529
140
0.615953
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Drawing.Common/src/System/Drawing/ContentAlignment.cs
2,031
C#
using System; using Android; using Android.App; using Android.OS; using Android.Support.Design.Widget; using Android.Support.V4.View; using Android.Support.V4.Widget; using Android.Support.V7.App; using Android.Views; using Android.Widget; using APPMTP.Fragments; namespace APPMTP { [Activity(Label = "@string/app_...
31.708955
173
0.571664
[ "Apache-2.0" ]
GiancarloNunezMacha/AMTPATTY
src/APPMTP/APPMTP/MainActivity.cs
4,251
C#
// <auto-generated /> using System; using Bing_Picture.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace Bing...
35.07173
125
0.488811
[ "MIT" ]
Night-Dawn/StudyDemo
Bing Picture/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
8,312
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. #nullable enable using System; using System.Globalization; using System.Threading; using System.Threading.Tasks; u...
42.353982
148
0.576055
[ "MIT" ]
Dean-ZhenYao-Wang/roslyn
src/Interactive/Host/Interactive/Core/InteractiveHost.LazyRemoteService.cs
4,788
C#
using System; namespace LinkDev.MOA.POC.API.Areas.HelpPage.ModelDescriptions { public class ParameterAnnotation { public Attribute AnnotationAttribute { get; set; } public string Documentation { get; set; } } }
21.818182
62
0.695833
[ "MIT" ]
EmadSaad/LinkDev.MOA.POC
LinkDev.MOA.POC.API/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.cs
240
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...
37.790123
389
0.650114
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/ApiManagement/V20180601Preview/Outputs/HostnameConfigurationResponse.cs
3,061
C#
using System; using Xunit; using AtCoderBeginnerContest139.Questions; using System.Collections.Generic; using System.Linq; namespace AtCoderBeginnerContest139.Test { public class AtCoderTester { [Theory] [InlineData(@"CSS CSR", @"2")] [InlineData(@"SSR SSR", @"3")] [InlineData(@...
27.0625
145
0.551963
[ "MIT" ]
terry-u16/AtCoder
AtCoderBeginnerContest139/AtCoderBeginnerContest139/AtCoderBeginnerContest139.Test/AtCoderTester.cs
3,031
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; using StardewValley.Menus; using StardewValley.Locations; using StardewValley.Objects; namespace ChefsCloset { public class ModEntry : Mod {...
27.257143
116
0.668501
[ "MIT" ]
ja450n/ChefsCloset
ChefsCloset/ModEntry.cs
3,818
C#
using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.ApplicationInsights.Extensibility; using AppInsights.EnterpriseTelemetry.AspNetCore.Extension; using AppInsights.EnterpriseTelemetry.Web.Extension.Filters; using AppInsights.Ent...
50.560748
180
0.692976
[ "MIT" ]
microsoft/AppInsights.EnterpriseTelemetry.AspNetCore.Extension
src/EnterpriseTelemetryExtensions.cs
5,412
C#
/** * Autogenerated by Thrift Compiler (0.9.1) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializati...
27.023033
144
0.556645
[ "Apache-2.0" ]
FsStorm/FsShelter
ext/StormThrift/StormThrift/TopologySummary.cs
14,079
C#
namespace SpicyInvader.Models { public class Score { public string PlayerName { get; set; } public int Value { get; set; } public Score() { } public Score(string playerName, int value) { PlayerName = playerName; Value = value; ...
16.85
50
0.495549
[ "MIT" ]
Kalaneee/SpicyInvader
SpicyInvader/Models/Score.cs
339
C#
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; namespace CRMAPP1 { /// <summary> /// Sum...
28.138614
118
0.730823
[ "Apache-2.0" ]
Claudio1986/CRMAPP1
Home.aspx.cs
2,842
C#
namespace CSETWebCore.Model.Question { public class RequirementLevel { public int LevelOrder { get; set; } public string StandardLevel { get; set; } } }
22.625
49
0.640884
[ "MIT" ]
Project-CSET-RM-Module/cset
CSETWebApi/CSETWeb_Api/CSETWebCore.Model/Question/RequirementLevel.cs
183
C#
using System; using System.Buffers; using System.Collections.Generic; using System.Numerics; using System.Text; using System.Text.Json; using System.Text.Json.Serialization; namespace GraphQL.SystemTextJson { /// <summary> /// A custom JsonConverter for reading a dictionary of objects of their real underlying ...
37.403361
192
0.568636
[ "MIT" ]
GrangerAts/graphql-dotnet
src/GraphQL.SystemTextJson/ObjectDictionaryConverter.cs
4,451
C#
using System; using System.Windows; using System.Windows.Controls.Primitives; namespace SimpleRemote.Controls.Dragablz { public delegate void DragablzDragStartedEventHandler(object sender, DragablzDragStartedEventArgs e); public class DragablzDragStartedEventArgs : DragablzItemEventArgs { private ...
36.763158
153
0.721546
[ "Apache-2.0" ]
GeekCatPYG/SimpleRemote
SimoleRemote/Controls/Dragablz/DragablzDragStartedEventArgs.cs
1,397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stopwatch.ViewModel { using System.Windows.Data; class BooleanNotConverter : IValueConverter { public object Convert(object value, Type targetType, object parame...
29.740741
83
0.575342
[ "MIT" ]
JianGuoWan/third-edition
WPF/Chapter_16/Stopwatch/Stopwatch/ViewModel/BooleanNotConverter.cs
805
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using static System.Linq.Enumerable; using Randomizer.SMZ3.Regions.Zelda; using Randomizer.SMZ3.Text; using static Randomizer.SMZ3.ItemType; using static Randomizer.SMZ3.Reward; using static Randomizer.SMZ3.FileData.DropPrize; using ...
24.375
48
0.748718
[ "MIT" ]
MattEqualsCoder/SMZ3Randomizer
src/Randomizer.SMZ3/FileData/KeycardPlaque.cs
587
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Blog.Entities.Concrete; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Storage; namespace Blog.Data.Concrete.Entity...
62.112069
609
0.577654
[ "MIT" ]
tuncaycemuzun/Blog-Project
Blog.Data/Concrete/EntityFramework/Mappings/ArticleMap.cs
7,209
C#
using System; using System.Threading.Tasks; using Moralis.Platform; using Moralis.Platform.Abstractions; using Moralis.Platform.Objects; using Moralis.Platform.Queries; using Moralis.Platform.Services.ClientServices; using System.Collections.Generic; using System.Threading; using Moralis.Web3Api.Interfaces; using Mora...
35.385246
219
0.592927
[ "MIT" ]
CryptoProject0417/P2E-UnityGameExample
Assets/MoralisWeb3ApiSdk/Moralis/MoralisDotNet/MoralisDynamic.cs
12,953
C#
using System; using Loki.Core.Domain.Entities; using Xunit; namespace Loki.Core.Domain.Tests.Entities { public class ClienteTest { private readonly Cliente _cliente; public ClienteTest() { _cliente = new Cliente(); } [Fact] public void Id__AtribuiE...
27.481013
105
0.528789
[ "MIT" ]
Hugokk/Loki
Loki.Core/Loki.Core.Domain.Tests/Entities/ClienteTest.cs
2,174
C#
using System; using System.Threading; using System.Threading.Tasks; namespace Arc4u.Caching { /// <summary> /// The interface define the contract implemented by a cache. /// </summary> public interface ICache : IDisposable { /// <summary> /// Initialize the cache. This must be call...
66.008475
212
0.645783
[ "Apache-2.0" ]
GFlisch/Arc4u
src/Arc4u.Standard.Caching/ICache.cs
7,791
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bridge.Contract { public interface IJsDoc { List<string> Namespaces { get; set; } List<string> Callbacks { get; ...
14.8
33
0.535135
[ "Apache-2.0" ]
corefan/Bridge
Compiler/Contract/IJsDoc.cs
372
C#
using Microsoft.AspNet.Identity; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Microsoft.Owin.Security.Google; using Owin; namespace BarcodeScanner { public partial class Startup { // For more information on configuring authentication, please visit https://go.microsoft.com/fwlink/?Li...
36.577778
122
0.610571
[ "MIT" ]
alexdotwells/barcode-scanner
WebForms/BarcodeScanner/BarcodeScanner/App_Code/Startup.Auth.cs
1,648
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 AccelByte.Sdk.Api.Eventlog.Model; using AccelByte.Sdk.Api.Eventlog.Operation; using...
47.691892
134
0.689675
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
AccelByte.Sdk/Api/Eventlog/Wrapper/EventDescriptions.cs
8,823
C#
using System; using System.Collections.Generic; namespace LokerIT.Code128.Nodes { public class CodeSetRun : SuccessorNode { private readonly IHighMode _highMode; private readonly HighModeChange _highModeChange; private readonly bool _needsChangeOfSet; public CodeSetRun(INode p...
39.659574
110
0.631974
[ "MIT" ]
aloker/LokerIT.Code128
source/LokerIT.Code128/LokerIT.Code128/Nodes/CodeSetRun.cs
1,866
C#
/* * Copyright 2018 JDCLOUD.COM * * 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...
25.479167
76
0.686018
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Cdn/Apis/QueryWafWhiteRuleSwitchRequest.cs
1,249
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Linq; using Micros...
35.220779
124
0.553466
[ "MIT" ]
Microsoft/OpenAPI.NET.OData
src/Microsoft.OpenApi.OData.Reader/Operation/DollarCountGetOperationHandler.cs
2,714
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.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; using Sys...
40.463145
395
0.568813
[ "MIT" ]
AnandShastry/msbuild
src/Shared/NativeMethodsShared.cs
65,874
C#
using System; namespace Tailviewer.BusinessLogic.Analysis { /// <summary> /// The interface for a result of a <see cref="ILogAnalyser" />. /// </summary> public interface ILogAnalysisResult : ISerializableType , ICloneable { } }
18.769231
69
0.692623
[ "MIT" ]
fhmcn/Tailviewer
Tailviewer.Api/BusinessLogic/Analysis/ILogAnalysisResult.cs
246
C#
using System; using System.Linq; using System.Windows.Forms; namespace ExperimentMakerNew { public partial class MainForm : Form { public const string WEBSITE_ADDRESS = "http://130.211.98.43/dfpt"; public MainForm() { InitializeComponent(); combo...
39.009346
160
0.503833
[ "MIT" ]
supermathbond/DeletedFilePersistenceExperiment
ExperimentMaker/MainForm.cs
4,243
C#
namespace SoundFingerprinting.Command { using SoundFingerprinting.Audio; /// <summary> /// Query services selector /// </summary> public interface IUsingQueryServices { /// <summary> /// Sets model service as well as audio service using in querying the source /// </sum...
39.111111
121
0.681818
[ "MIT" ]
FourPee/soundfingerprinting
src/SoundFingerprinting/Command/IUsingQueryServices.cs
704
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.897436
110
0.641076
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Redshift/Generated/Model/DescribeClusterTracksResponse.cs
2,566
C#
using AspNetSkeleton.POTools.Extracting.Resources; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; namespace AspNetSkeleton.POTools.Extracting { public class ResourceTextExtractor : ILocalizableTextExtractor { public IEnumerable<LocalizableTextInfo> Extrac...
33.714286
137
0.717514
[ "MIT" ]
adams85/AspNetSkeleton
source/Tools/POTools/Extracting/ResourceTextExtractor.cs
710
C#
using System; using System.Collections.Generic; namespace SamuraiAppCore.Domain { public class Battle { public int Id { get; set; } public string Name { get; set; } public DateTime StartDate { get; private set; } public DateTime EndDate { get; private set; } public List...
26.5625
63
0.632941
[ "MIT" ]
Steven-ErHU/LearnProgramming
03-Pluralsight/EntityFrameworkCore2/src/Entity-Framework-Core-Getting-Started-Julie-Lerman-master/SamuraiAppCore/SamuraiAppCore.Domain/Battle.cs
427
C#
namespace AnimalCentre.Models.Services.Procedures { using AnimalCentre.Models.Contracts; using System; public class Chip : Procedure { private const int RemoveHappiness = 5; public override void DoService(IAnimal animal, int procedureTime) { base.CheckTime(procedure...
28.590909
81
0.599364
[ "MIT" ]
VeselinBPavlov/csharp-oop-basics
17. Exam - 18 November 2018/AnimalCentre/Models/Services/Chip.cs
631
C#
//------------------------------------------------------------------------------ // <copyright file="GPRECT.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //---------------------------------------...
27.261905
80
0.444541
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/fx/src/commonui/System/Drawing/Advanced/GPRECT.cs
1,145
C#
using System.Web.Http; using Newtonsoft.Json.Serialization; namespace GeekQuiz { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // use camel case for JSON data config.Formatte...
27.923077
127
0.607438
[ "MIT" ]
kenwilcox/GeekQuiz
GeekQuiz/App_Start/WebApiConfig.cs
728
C#
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace ToDo.RazorPages.Data { public class TodoDbSeeder { public static void Seed(IServiceProvider serviceProvider) ...
26.357143
121
0.504968
[ "MIT" ]
Devdiegoadias/CORE5_Iniciantes
Chapter 04/Chapter_04_RazorViewEngine_Examples/ToDo.RazorPages/Data/TodoDbSeeder.cs
1,109
C#
// Copyright (c) 2002-2020 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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.or...
31.061856
131
0.598075
[ "Apache-2.0" ]
2hdddg/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver/Internal/Metrics/IMetrics.cs
3,015
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace IEB3C.WebAPI.Results { public class ChallengeResult : IHttpActionResult { public ChallengeResult(string log...
29.060606
96
0.693431
[ "Apache-2.0" ]
carydiy/BackToFront
IEB3C.WebAPI/Results/ChallengeResult.cs
961
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace OnlineTradingSystem { [DefaultProperty("Text")] [ToolboxData("<{0}:WebCustomControl1 runat=server></{0}:WebCustom...
23.025
81
0.554832
[ "BSD-2-Clause" ]
orenber/Online-Trading-System
OnlineTradingSystem/OnlineTradingSystem/WebCustomControl1.cs
923
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. #nullable enable using System; using System.Composition; using System.Globalization; using System.Linq; using System.Text; using System.Threading; using Sys...
37.384937
161
0.51953
[ "Apache-2.0" ]
RussKie/roslyn-analyzers
src/Roslyn.Diagnostics.Analyzers/Core/NumberCommentslRefactoring.cs
8,937
C#
namespace ExcelX.AddIn.Command { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// 「問題の報告」コマンド /// </summary> public class ReportIssuesCommand : ICommand { ...
22.965517
95
0.576577
[ "MIT" ]
garafu/ExcelExtension
AddIn/Command/ReportIssuesCommand.cs
722
C#
using System; using Ncqrs.Eventing.Sourcing; using Ncqrs.Eventing.Storage; using Xunit; using FluentAssertions; namespace Ncqrs.Tests.Eventing.Storage { public class PropertyBagConverterTests { public class TestEvent { public string SomeString { get; set; } ...
28.45
107
0.534271
[ "Apache-2.0" ]
adamcogx/ncqrs
Framework/src/Ncqrs.Tests/Eventing/Storage/PropertyBagConverterTests.cs
1,138
C#
using EMS.EDXL.CT; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Serialization; namespace EMS.EDXL.EXT { /// <summary> /// Repersetns a Parameter Value Type /// </summary> public class ParameterValueType { private EDXLString paramValue;...
19.836735
58
0.610082
[ "Apache-2.0" ]
1stResponder/em-serializers
EDXL/EMS.EDXL.EXT/ParameterValueType.cs
974
C#
using System.ServiceModel; using System.Threading.Tasks; using MyJetWallet.Domain; using Service.ClientWallets.Grpc.Models; namespace Service.ClientWallets.Grpc { [ServiceContract] public interface IClientWalletService { [OperationContract] Task<ClientWalletList> GetWalletsByClient(JetClien...
32.205128
97
0.737261
[ "MIT" ]
MyJetWallet/Service.ClientWallets
src/Service.ClientWallets.Grpc/IClientWalletService.cs
1,256
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.458333
81
0.654563
[ "MIT" ]
chris-t-yan/ASP.NETCoreMVC-projects
Lamazon Store/SEDC.Lamazon/SEDC.Lamazon.DataAccess/obj/Debug/netcoreapp2.1/SEDC.Lamazon.DataAccess.AssemblyInfo.cs
1,019
C#
using Ship; using SubPhases; using System.Collections.Generic; using System.Linq; using UnityEngine; using Upgrade; namespace Ship { namespace SecondEdition.Z95AF4Headhunter { public class AirenCracken : Z95AF4Headhunter { public AirenCracken() : base() { ...
25.851064
85
0.545679
[ "MIT" ]
GeneralVryth/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Pilots/Z95AF4Headhunter/AirenCracken.cs
1,217
C#
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using ArcFaceProSDK4net.Models; namespace ArcFaceProSDK4net { /// <summary> /// sdk import /// </summary> public partial class ASFFunctions { /// <summary> /// dll path ...
51.338558
262
0.6398
[ "Apache-2.0" ]
JiangJingxuan/ArcFaceProSDK4net
ArcFaceProSDK4net/ASFFunctions.cs
19,273
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. // // This...
24.926471
95
0.59056
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/batch/Microsoft.Azure.Batch/src/Generated/RecentJob.cs
1,695
C#
// Copyright 2016 Jon Skeet. All Rights Reserved. // Licensed under the Apache License Version 2.0. namespace Slides { /// <summary> /// This is immutable. Really. I promise that no maintenance /// programmer ever will add a method that calls the setter, /// because they will all read this comment. ...
25
72
0.586667
[ "Apache-2.0" ]
23dproject/DemoCode
Immutability/Slides/026 NotQuiteImmutableReally.cs
677
C#
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.Collections.Generic; public class MotionMatchingTesterEditorTarget : TargetRules { public MotionMatchingTesterEditorTarget(TargetInfo Target) : base(Target) { Type = TargetType.Editor; DefaultBuildSettings = BuildSe...
26.066667
74
0.803069
[ "MIT" ]
Svietq/MotionMatching
Source/MotionMatchingTesterEditor.Target.cs
391
C#
using Newtonsoft.Json; namespace Pleer.Net.Model { public abstract class BaseTrack { [JsonProperty("artist")] public string Artist { get; set; } [JsonProperty("track")] public string TrackName { get; set; } // Yes, 'lenght' [JsonProperty("lenght")] pub...
21.75
45
0.567816
[ "MIT" ]
redmanmale/Pleer.Net
Pleer.Net/Model/BaseTrack.cs
437
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; using WordCounter.Controllers; using WordCounter.Models; namespace WordCounter.Tests { [TestClass] public class WordsControllerTest { [TestMethod] public void Index_ReturnsCorrectView_Tru...
25.3
65
0.73913
[ "MIT" ]
ohthatmarissa/WordCounter2.Solution
WordCounter.Tests/ControllerTests.cs/WordCounterTests.cs
759
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace DkpWeb.Models.MyDebtViewModels { public class DebtLedger { [Required] public List<DebtLedgerEntry> Entries { get; set; } [Required] public Person Debtor { get; set; } [Required] ...
21.125
58
0.615385
[ "MIT" ]
AustinWise/DinnerKillPoints
src/DkpWeb/Models/MyDebtViewModels/DebtLedger.cs
509
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...
36.810811
169
0.637543
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ServerMigrationService/Generated/Model/Internal/MarshallTransformations/StartOnDemandAppReplicationRequestMarshaller.cs
4,086
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using NuGet.Services.Entities; using NuGetGallery; namespace GitHubVulnerabilities2Db.Fakes { publ...
25.639576
111
0.59785
[ "Apache-2.0" ]
qaseleniumtesting01/NuGetGallery
src/GitHubVulnerabilities2Db/Fakes/FakeFeatureFlagService.cs
7,258
C#
namespace MauiPreview11Play; public partial class MainPage : ContentPage { int count = 0; public MainPage() { InitializeComponent(); } private void OnCounterClicked(object sender, EventArgs e) { count++; CounterLabel.Text = $"Current count: {count}"; SemanticScreenReader.Announce(Coun...
24.875969
94
0.660642
[ "MIT" ]
rid00z/NETMAUIMultiWindow
MainPage.xaml.cs
3,214
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using BBBCSIO; using CS_LCD; /// +------------------------------------------------------------------------------------------------------------------------------+ /// ¦ TERMS OF ...
43.823529
132
0.425336
[ "MIT" ]
OfItselfSo/CS_LCD
CS_LCD_BBBTest/BBB_LCD.cs
5,987
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.OpenApi.Models; namespace ArchShop.Backend { public class Startup { public Startup(IConfi...
29.849057
120
0.607459
[ "MIT" ]
FrederickRies/ArchShop
Sources/Backends/ArchShop.Backend.EventSource/Startup.cs
1,582
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.Azure.RemoteRendering; using Microsoft.Azure.RemoteRendering.Unity; using Microsoft.MixedReality.Toolkit.Extensions; using Microsoft.MixedReality.Too...
37.546975
212
0.536207
[ "MIT" ]
Azure/azure-remote-rendering
Unity/Showcase/App/Assets/App/Focus/RemoteFocusProviderNoColliders.cs
47,161
C#
using System; namespace EasyAbp.FileManagement.Files { public class FileOperationInfoModel { public Guid? ParentId { get; set; } public string FileContainerName { get; set; } public Guid? OwnerUserId { get; set; } public File File { get; set; } } ...
21.4
53
0.576324
[ "MIT" ]
EasyAbp/FileManagement
src/EasyAbp.FileManagement.Application/EasyAbp/FileManagement/Files/FileOperationInfoModel.cs
323
C#
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("RoutingService")] [assembly: A...
40.611111
103
0.747606
[ "MIT" ]
zdimension/eiin839
letsgobiking/LetsGoBiking/RoutingService/Properties/AssemblyInfo.cs
1,487
C#
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; namespace BizHawk.Client.EmuHawk { /// <summary> /// A performant VirtualListView implementation that doesn't rely on native Win32 API calls /// (and in fact does not inherit the ListView class at a...
30.589695
175
0.651008
[ "MIT" ]
Asnivor/BizHawk
BizHawk.Client.EmuHawk/CustomControls/PlatformAgnosticVirtualListView.Drawing.cs
16,031
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해 // 제어됩니다. 어셈블리와 관련된 정보를 수정하려면 // 이러한 특성 값을 변경하세요. [assembly: AssemblyTitle("DustSensorViewer")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: As...
28.918919
56
0.7
[ "MIT" ]
BruceNUAA/DustViewerSharp
DustSensorViewer/Properties/AssemblyInfo.cs
1,511
C#
namespace Pubs.CoreDomain.Enums { /// <summary> /// This enumeration lists all of the possible application user statuses. /// </summary> public enum ApplicationUserStatusEnum { Active = 1001, Inactive = 1002, Locked = 1003 } }
21.230769
77
0.608696
[ "MIT" ]
theMickster/pubs
src/Pubs.CoreDomain/Enums/ApplicationUserStatusEnum.cs
278
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
35.948276
141
0.613669
[ "Apache-2.0" ]
costleya/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/UntagResourceRequestMarshaller.cs
4,170
C#
using UnityEngine; using System.Collections; public class ThirdCharacterController : MonoBehaviour { Animator _anim; int _hashSpeed; // Use this for initialization void Start () { _anim = GetComponent<Animator>(); _hashSpeed = Animator.StringToHash("Speed"); } // Update is called once per frame void ...
17.956522
55
0.699758
[ "Unlicense" ]
yanjingzhaisun/doodlearound
Assets/Z_MyAsset/Scripts/ThirdCharacterController.cs
415
C#
using System; using System.Net; using System.Threading.Tasks; using Nethereum.Web3; namespace NethereumSample { class Program { static void Main(string[] args) { ServicePointManager.ServerCertificateValidationCallback += (sender, cert, chain, sslPolicyErrors) => tru...
30.140351
120
0.548894
[ "Apache-2.0" ]
fintex-dev/fintex.dev
src/csharp/consoleproject/Program.cs
1,720
C#
using System; using System.Linq; using AutoFixture; using Xunit; namespace AutoFixtureUnitTest { public class CurrentDateTimeCustomizationTest { [Fact] public void SutIsCustomization() { // Arrange // Act var sut = new CurrentDateTimeCustomization();...
26.853659
89
0.565849
[ "MIT" ]
AutoFixture/AutoFixture
Src/AutoFixtureUnitTest/CurrentDateTimeCustomizationTest.cs
1,103
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DXVisualTestFixer.Farm.Configuration { public static class VersionInfo { public const string VersionString = "1.0.0"; public static readonly Version Version = new ...
27.307692
77
0.721127
[ "MIT" ]
Xarlot/DXVisualTestFixer
DXVisualTestFixer.FarmIntegrator/Config/VersionInfo.cs
357
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.Diagnostics.CodeAnalysis; namespace Microsoft.CodeAnalysis.Utilities { internal static class Gene...
34.55
85
0.560781
[ "MIT" ]
333fred/roslyn
src/Workspaces/Core/Portable/Utilities/GeneratorDriverRunResultExtensions.cs
1,384
C#
#nullable disable using System.Text; using BinarySerializer; using Newtonsoft.Json; namespace RayCarrot.RCP.Metro; public class GameMaker_DSMapDataObject : BinarySerializable { public ObjectType Type { get; set; } public double NumberValue { get; set; } [JsonIgnore] public int NumberValueAsInt => (...
27.553191
118
0.630116
[ "MIT" ]
RayCarrot/Rayman-Control-Panel-Metro
src/RayCarrot.RCP.Metro/Binary/GameMaker/GameMaker_DSMapDataObject.cs
1,297
C#