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 SettingsModelWPFDemo.ViewModels { using Settings.Interfaces; using SettingsModelWPFDemo.ViewModels.Base.SettingPages; using SettingsModelWPFDemo.ViewModels.SettingPages; using System.Collections.Generic; using System.Collections.ObjectModel; /// <summary> /// Defines an interface...
28.867816
101
0.539916
[ "MIT" ]
Dirkster99/SettingsModel
1.0/Demos_Tests/SettingsModelWPFDemo/ViewModels/SettingsPageViewModel.cs
5,025
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
37.179487
153
0.602759
[ "MIT" ]
DamienTehDemon/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/WorkbookFunctionsRandBetweenRequestBody.cs
1,450
C#
using System; using System.Collections.Generic; using System.IO; using GaTech.Chai.FhirIg.Extensions; using GaTech.Chai.Mdi.BundleDocumentMdiToEdrsProfile; using GaTech.Chai.Mdi.BundleMessageToxicologyToMdiProfile; using GaTech.Chai.Mdi.Common; using GaTech.Chai.Mdi.CompositionMditoEdrsProfile; using GaTech.Chai.Mdi.D...
84.825263
473
0.723444
[ "Apache-2.0" ]
mmg-fhir-ig/cbs-ig-dotnet
src/MdiExample/Program.cs
40,294
C#
using System.Collections.Generic; using ET; namespace Client.Event { public struct GuildApplicationChanged : IEventHandle { public IReadOnlyList<ApplicationInfo> ApplicationInfos; public GuildApplicationChanged(List<ApplicationInfo> list) { ApplicationInfos = list.AsReadOnl...
24.428571
66
0.687135
[ "MIT" ]
Noname-Studio/ET
Unity/Assets/Scripts/Client/Event/GuildApplicationChanged.cs
344
C#
namespace SWB_Base { public struct ScreenShake { public float Length; public float Speed; public float Size; public float Rotation; } }
13.454545
26
0.722973
[ "Apache-2.0" ]
kidfearless/kfgo
code/swb_base/structures/ScreenShake.cs
150
C#
// <auto-generated /> using System; using InventoryManager.EntityFramework; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace InventoryManager.EntityFramework.Migrations { [DbContext(typeof(InventoryManag...
34.1
83
0.527493
[ "MIT" ]
Pat02/InventoryManager
InventoryManager.EntityFramework/Migrations/InventoryManagerDbContextModelSnapshot.cs
2,730
C#
using System.Linq; using System.Threading.Tasks; using AElf.ContractTestKit; using AElf.CSharp.Core.Extension; using AElf.Kernel; using AElf.Sdk.CSharp; using AElf.Types; using Shouldly; using Xunit; namespace AElf.Contracts.Vote { public partial class VoteTests { [Fact] public async Task VoteC...
40.513761
118
0.579257
[ "MIT" ]
AElfProject/AElf
test/AElf.Contracts.Vote.Tests/GQL/BasicTests.cs
4,416
C#
using System; using Rv = TIBCO.Rendezvous; namespace Messaging.TibcoRv { public static class Extensions { public static void Dispose(this Rv.Listener listener) { if (listener == null) return; try { listener.Destroy(); ...
23.170732
82
0.463158
[ "Apache-2.0" ]
SammyEnigma/Messaging
Messaging.TibcoRv/Extensions.cs
952
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;...
39.188235
145
0.663164
[ "MIT" ]
EricCharnesky/CIS297-Winter2020
TaxCalculatorForm/TaxCalculatorForm/MainWindow.xaml.cs
3,333
C#
namespace TrabalhoEngenhariaFinanceiro { partial class BuscaFornecedor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
48.185629
142
0.624581
[ "MIT" ]
biancabarbosa23/Sistema-Financeiro
TrabalhoEngenhariaFinanceiro/BuscaFornecedor.Designer.cs
8,049
C#
using FluentValidation.Results; using MultiTenant.SaaS.DatabaseTenancy.Pattern.Sample.Domain.Commands; using MultiTenant.SaaS.DatabaseTenancy.Pattern.Sample.Domain.Validators; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tas...
35.590909
109
0.592337
[ "Apache-2.0" ]
AmjadHossainRahat/Multi-Tenant-SaaS-Database-Tenancy-Pattern
test/DomainTests/Validators/SubscribeCommandValidatorTest.cs
3,917
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using NeoCA.Persistence; namespace NeoCA.Persistence.Migrations.MySQL { [DbContext(typeof(ApplicationDbContext))] partial cl...
48.952255
202
0.434679
[ "Apache-2.0" ]
NeoSOFT-Technologies/netcore-template
Content/src/Infrastructure/NeoCA.Persistence/Migrations/MySQL/ApplicationDbContextModelSnapshot.cs
18,457
C#
using Bogus; using ProductsODataApiDemo.Models; using System.Collections.Generic; using System.Globalization; namespace ProductsODataApiDemo.Data { public static class DataGenerator { public static IEnumerable<Product> GetProducts(int count = 50) { Faker<Product> productFaker = ne...
33.5
108
0.604478
[ "MIT" ]
cecilphillip/aspnetcore-web-services
src/ProductsODataApiDemo/Data/DataGenerator.cs
806
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TipsOnWorld : MonoBehaviour { public GameObject tipsPrefab; public RectTransform rootCanvas; RectTransform rect; GameObject tips; bool isClose = false; private void Awake() { tips = Instant...
20.959184
93
0.583252
[ "MIT" ]
kevin41307/Hello4
Hello4/Assets/Scripts/TipsOnWorld.cs
1,029
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _09.Holidays_Between { class Program { static void Main(string[] args) { var startDate = DateTime.ParseExact(Console.ReadLine(),...
27.83871
79
0.581692
[ "MIT" ]
spiderbait90/Step-By-Step-In-C-Sharp
Programming Fundamentals/Methods And Debugging/09. Holidays Between/Program.cs
865
C#
namespace SqlQueryBuilder.Utils; internal static class EnumerableExtensions { public static IEnumerable<T> Prepend<T>(this IEnumerable<T> source, params T[] items) => items.Concat(source); public static IReadOnlyDictionary<TKey?, TValue> ToDictionaryWithNullableKey<TSource, TKey, TValue>( ...
38.95
92
0.690629
[ "MIT" ]
GennadyGS/SqlQueryBuilder
SqlQueryBuilder/Utils/EnumerableExtensions.cs
781
C#
// *********************************************************************** // Assembly : MPT.CSI.API // Author : Mark Thomas // Created : 06-16-2017 // // Last Modified By : Mark Thomas // Last Modified On : 06-16-2017 // **********************************************************************...
32.351351
92
0.491228
[ "MIT" ]
MarkPThomas/MPT.Net
MPT/CSI/API/MPT.CSI.Serialize/Models/Helpers/Definitions/Sections/AreaSections/eAreaThicknessType.cs
1,200
C#
using System; using System.Threading; using Android.App; using Android.Content; using Android.OS; using Android.Util; using Android.Runtime; using Android.Views; using Android.Widget; using Android.Graphics; using Android.Graphics.Drawables; using Android.Graphics.Drawables.Shapes; using Android.Animation; using Java...
26.355556
116
0.631535
[ "MIT" ]
Appracatappra/ActionComponents
Android/ActionComponentExplorer/ActionComponents/ActionColorPicker/HSVImage.cs
4,746
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using HoloToolkit.Unity.UX; using UnityEngine; namespace HoloToolkit.Unity.InputModule { [RequireComponent(typeof(DistorterGravity))] [RequireComponent(type...
30.953704
119
0.580018
[ "CC0-1.0" ]
AGM-GR/In-Game
Assets/HoloToolkit/Input/Scripts/Utilities/PointerLine.cs
3,345
C#
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; namespace TsTimeline { [TemplatePart(Name="PART_THUMB", Type=typeof(Thumb))] public class TriggerClip : ClipBase { public static readonly DependencyProperty ValueProperty = DepP...
27.752688
120
0.501356
[ "MIT" ]
p4j4dyxcry/TsTimeline
TsTimeline/TriggerClip.cs
2,611
C#
//////////////////////////////////////////////////////////////////////////// // // This file is part of RTIMULibCS // // Copyright (c) 2015, richards-tech, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softw...
37.452381
88
0.643357
[ "MIT" ]
samnium/IoTWork.NetBridge
Net/Pi.SHat.RTIMULib.Console/ImuSensorData.cs
1,573
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 "li...
41.302521
196
0.633774
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/DataExchange/Generated/Model/Internal/MarshallTransformations/DeleteAssetResponseUnmarshaller.cs
4,915
C#
namespace P03_SalesDatabase.Data { public static class DataValidations { public static class Product { public const int MaxNameLength = 50; public const int MaxDescriptionLength = 250; } public static class Customer { public const int...
22.347826
56
0.560311
[ "MIT" ]
stanislavstoyanov99/SoftUni-Software-Engineering
DB-with-C#/Labs-And-Homeworks/Entity Framework Core/05. Code-First - Exercise/03SalesDatabase/Data/DataValidations.cs
516
C#
using System; using System.Collections.Generic; using System.Text; namespace Microsoft.NetMicroFramework.Tools.MFDeployTool.Engine { internal class CRC { private CRC() { } // // CRC 32 table for use under ZModem protocol, IEEE 802 // G(x) = x^32+x^...
66.4375
108
0.688852
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Framework/Tools/MFDeploy/Library/MFCRC.cs
4,252
C#
using ExtractorSharp.Component; using ExtractorSharp.Core.Composition; using ExtractorSharp.Core.Config; namespace ExtractorSharp.View.SettingPane { public partial class RulerPane : AbstractSettingPane { public RulerPane(IConnector connector) : base(connector) { InitializeComponent(); ...
35
84
0.67619
[ "MIT" ]
Kritsu/ExtractorSharp
ExtractorSharp/View/SettingPane/RulerPane.cs
737
C#
using UnityEngine; using IsoTools.Internal; namespace IsoTools { public struct IsoRaycastHit { public IsoCollider collider { get; private set; } public float distance { get; private set; } public Vector3 normal { get; private set; } public Vector3 point { get; private set; } pub...
30.954545
64
0.697504
[ "MIT" ]
CaaporaGames/Caapora2.5D
Assets/Caapora/Scripts/Vendor/IsoTools/Scripts/IsoRaycastHit.cs
683
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace Microsoft.Test.Hosting { /// <summary> /// Target for the Distributed Test Step /// </summary>...
26.6
81
0.630075
[ "MIT" ]
batzen/wpf-test
src/Test/Common/Code/Microsoft/Test/Hosting/UiaDistributedStepTarget.cs
665
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Web.Http; using CustomService.Model; namespace CustomService.Controllers { public class SimpleWepApiController : ApiController { [Route("api/books")] public IEnumerable<Book> GetBooks() ...
26.974359
100
0.527567
[ "MIT" ]
kevinobee/SSC.AggregateService
src/CustomService.Sample/Controllers/SimpleWepApiController.cs
1,054
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Azure.Messaging.EventHubs.Primitives { /// <summary> /// Deals with the interaction with the chosen storage servi...
65.88
213
0.601093
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Processor/StorageManager.cs
4,943
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace SimpleCalculator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static...
22.391304
65
0.615534
[ "MIT" ]
Anuren/hell
C#/SimpleCalculator/Program.cs
517
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
28.498258
123
0.694095
[ "Apache-2.0" ]
andriisydor/stocksharp
Samples/Sterling/SampleSterling/MainWindow.xaml.cs
8,179
C#
/* * MIT License * * Copyright (c) 2020 plexdata.de * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
42.79661
119
0.740594
[ "MIT" ]
akesseler/Plexdata.FileChecksum
code/src/Plexdata.FileChecksum.Analyzer.Tests/Internals/Algorithms/Sha512ChecksumCalculatorTests.cs
2,527
C#
// // Copyright © 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // 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 with...
43.833333
76
0.706274
[ "MIT" ]
NetworKKnighT/License.Manager
src/License.Manager.Core/ServiceModel/UpdateLicense.cs
2,107
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.Azure.Sentinel.Analytics.Management.AnalyticsManagement.Contracts.Model.ARM; using Microsoft.Azure.Sentinel.Analytics.Management.AnalyticsManagement.Contracts.Model.ARM.ModelValidation; using Microsoft.Azure.Se...
42.566038
122
0.739805
[ "MIT" ]
Accelerynt-Security/Azure-Sentinel
.script/tests/detectionTemplateSchemaValidation/Models/ScheduledTemplateInternalModel.cs
2,258
C#
namespace Microsoft.Maui.Graphics.Controls { public class CupertinoCheckBoxDrawable : ViewDrawable<ICheckBox>, ICheckBoxDrawable { const string CupertinoCheckBoxMark = "M4.78246 10.9434C5.03441 10.9434 5.23363 10.832 5.37426 10.6152L10.9114 1.89648C11.0168 1.72656 11.0579 1.59766 11.0579 1.46289C11.057...
40.046154
516
0.617749
[ "MIT" ]
LowerAI/Microsoft.Maui.Graphics.Controls
src/GraphicsControls/Handlers/CheckBox/CupertinoCheckBoxDrawable.cs
2,605
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using Topshelf; namespace RoombaService { class Program { static void Main(string[] args) { HostFactory.Run(x => { x.Service<RoombaService>(...
26.307692
82
0.596491
[ "MIT" ]
xin2015/Roomba
RoombaService/Program.cs
686
C#
using Newtonsoft.Json; namespace StamAcasa.Common.Models { public class AnswerModel { [JsonProperty("id")] public long Id { get; set; } [JsonProperty("questionText")] public string QuestionText { get; set; } [JsonProperty("answer", NullValueHandling = NullValueHandlin...
23.8125
78
0.627297
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
code4romania/covid-19-jurnal-medical
backend/src/StamAcasa.Common/Models/AnswerModel.cs
383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AbstractVehicules { class Voiture : Vehicule { public Voiture(int _AnneeModele, double _Prix) : base(_AnneeModele, _Prix) { } public override void Dema...
22.206897
82
0.579193
[ "MIT" ]
berhu/Git_Projet_C_sharp
TPFraction/AbstractVehicules/Voiture.cs
649
C#
using System.Web.Mvc; namespace StructuredLogging.WebApi { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
21.5
80
0.662791
[ "Apache-2.0" ]
PSneijder/StructuredLogging
StructuredLogging.WebApi/App_Start/FilterConfig.cs
260
C#
using FluentValidation; using MediatR; namespace CQRSAndMediatrWithFluentValidationSampleApplication.Product.Pipeline { public class ValidationBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> where TRequest : IRequest<TResponse> { private readonly IEnumerable<IValidator<...
31.27027
98
0.57822
[ "MIT" ]
marcelmedina/PlayGoKids
2022-04-04/CQRSAndMediatrWithFluentValidationSample/CQRSAndMediatrWithFluentValidationSampleApplication/Product/Pipeline/ValidationBehaviour.cs
1,159
C#
using System; using System.Threading.Tasks; using HotChocolate.Execution.Configuration; using Snapshooter.Xunit; using Xunit; namespace HotChocolate.Execution.Errors { public class ErrorHandlerTests { [Fact] public async Task AddFuncErrorFilter() { // arrange IS...
31.294872
77
0.455961
[ "MIT" ]
Asshiah/hotchocolate
src/HotChocolate/Core/test/Core.Tests/Execution/Errors/ErrorHandlerTests.cs
4,884
C#
// Copyright (c) Drew Noakes and contributors. All Rights Reserved. Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; namespace MetadataExtractor.Formats.Jpeg { /// <summary>Provides human-readable string versions of the...
39.111111
172
0.611364
[ "Apache-2.0" ]
GwG422/metadata-extractor-dotnet
MetadataExtractor/Formats/Jpeg/JpegDescriptor.cs
3,520
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
24.111111
81
0.407834
[ "MIT" ]
tlaothong/lab-swp-ws-kiatnakin
LabWs1/SimpleWebApp/Default.aspx.designer.cs
436
C#
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
52.87931
194
0.716009
[ "MIT" ]
DamirAinullin/AlphaFS
src/AlphaFS/Filesystem/Directory Class/Directory.GetDirectoryRootTransacted.cs
3,067
C#
namespace BetfairClient.Models.Betting { /// <summary> /// Betfair documentation: https://docs.developer.betfair.com/display/1smk3cen4v3lu3yomq5qye0ni/Betting+Type+Definitions#BettingTypeDefinitions-CompetitionResult /// </summary> public class CompetitionResult { public Competition Com...
32.214286
169
0.694013
[ "MIT" ]
tiagojsrios/betfair-client-csharp
src/BetfairClient/BetfairClient.Models/Betting/CompetitionResult.cs
453
C#
using System; using NetRuntimeSystem = System; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; using System.ComponentModel; using System.Reflection; using System.Collections.Generic; using System.Collections; using NetOffice; namespace NetOffice.ExcelApi { ///<summary> /// Dis...
33.270642
194
0.674066
[ "MIT" ]
NetOffice/NetOffice
Source/Excel/DispatchInterfaces/UsedObjects.cs
7,253
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Dependen...
33.460317
139
0.601044
[ "MIT" ]
Sparin/Cirno
src/Cirno.Identity/Program.cs
2,110
C#
namespace Khala.EventSourcing { using System.Threading; /// <summary> /// Provides interfaces to manage event publishing. /// </summary> public interface IEventPublisher { /// <summary> /// Starts to publish pending events for all aggregates having events not published yet. ...
32.764706
136
0.662478
[ "MIT" ]
ReactiveArchitecture/RA.EventSourcing
source/Khala.EventSourcing.Abstraction/EventSourcing/IEventPublisher.cs
559
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BULogic { public class ProgramLogic { private static Chains _chains; private static Groceries _items; private static int _lockNumber = 0; private static ICollection<Task> _ta...
30.57
95
0.519464
[ "MIT" ]
dannyk360/LABS
UIPriceCompare/BULogic/ProgramLogic.cs
3,059
C#
using LineBotKit.Client.Response; using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; namespace LineBotKit.Client.Request { internal class LinePostFormUrlEncodedRequest<T> : LineClientRequestBase { private cons...
30.631579
127
0.671821
[ "Apache-2.0" ]
holmes2136/LineBotKit
src/LineBotKit.Client/Request/LinePostFormUrlEncodedRequest.cs
1,166
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace TJAPlayer3 { /// <summary> /// CDTXStyleExtractor determines if there is a session notation, and if there is then /// it returns a sheet of musi...
36.236264
151
0.731766
[ "MIT" ]
FAKEYJSNPI/TJAPlayer3-f
TJAPlayer3-f/src/Songs/CDTXStyleExtractor.cs
19,861
C#
using System; using System.Runtime.InteropServices; using ElmSharp; using EEntry = ElmSharp.Entry; namespace Microsoft.Maui.Controls.Compatibility.Platform.Tizen { internal static class EntryExtensions { internal static InputPanelReturnKeyType ToInputPanelReturnKeyType(this ReturnType returnType) { switch (re...
29.589744
95
0.762565
[ "MIT" ]
10088/maui
src/Compatibility/Core/src/Tizen/Extensions/EntryExtensions.cs
1,154
C#
// // // THIS FILE HAS BEEN GENERATED. DO NOT MODIFY. // using System; using System.Collections.Generic; using byps; namespace byps.test.api.srvr { public sealed class BRequest_ClientIF_incrementInt : BMethodRequest, BSerializable { #region Execute public override int getRemoteId() { return 2049072174;...
24.302326
142
0.733971
[ "MIT" ]
markusessigde/byps
csharp/bypstest-ser/src-ser/byps/test/api/srvr/BRequest_ClientIF_incrementInt.cs
1,047
C#
namespace PatternPal.Tests.TestClasses.ClassChecks { public class Class5 : EClass5 { } public class EClass5 : E1Class5 { } public class E1Class5 : IClass5 { } public interface IClass5 { } }
12.736842
51
0.595041
[ "MIT" ]
PatternPal/PatternPal
PatternPal/PatternPal.Tests/TestClasses/ClassChecks/Class5.cs
244
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.Sql.Models { /// <summary> Represents the activity on an elastic pool. </summ...
59.439655
627
0.662364
[ "MIT" ]
AhmedLeithy/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivity.cs
6,895
C#
/* * Copyright 2010-2013 OBS.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 * * * * or in the "license" file accompanying this fil...
24.171875
76
0.561086
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net-dis
DotNet/eSDK_OBS_API/OBS.S3/Model/Tag.cs
1,547
C#
namespace CH01_Books { internal class Book { public string Title { get; init; } public string Author { get; init; } } }
16.555556
43
0.57047
[ "MIT" ]
PacktPublishing/C-9-and-.NET-5-High-Performance
CH01/CH01_Books/CH01_Books/Book.cs
151
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.IO { internal abstract class LowLevelTextWriter { public abstract void Write(char c); public abstract void Write(String s); ...
25.076923
101
0.708589
[ "MIT" ]
690486439/corefx
src/System.Runtime.Extensions/src/System/IO/LowLevelTextWriter.cs
326
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
26.518182
213
0.605417
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapXLuaCSObjectWrapFairyGUIGRootWrapWrapWrapWrapWrap.cs
2,919
C#
using System; using System.Text.RegularExpressions; namespace KSPPluginFramework { /// <summary>Represents a time interval.</summary> public class KSPTimeSpan : IFormattable { //Shortcut to the Calendar Type private CalendarTypeEnum CalType { get { return KSPDateStructure.CalendarType; }...
50.003072
271
0.594495
[ "MIT" ]
net-lisias-kspu/KerbalAlarmClock
Source/KerbalAlarmClock/FrameworkExt/KSPTimeSpan.cs
32,554
C#
namespace Fortis.Model.Fields { public interface ITextFieldWrapper : IFieldWrapper<string> { } }
14.428571
59
0.762376
[ "MIT" ]
Fortis-Collection/fortis
src/Fortis/Model/Fields/ITextFieldWrapper.cs
103
C#
using DgBar.Domain.Entities; using DgBar.Domain.Interfaces; using DgBar.Domain.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DgBar.API.Controllers { [Rou...
32.8
100
0.59375
[ "MIT" ]
marianohtl/TesteDgBar
Backend/DgBar.API/Controllers/OrderController.cs
3,938
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")...
20.774648
64
0.656949
[ "Apache-2.0" ]
sdk-team/aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/ModifyDampPolicyResponse.cs
1,475
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Windows; using System.Drawing; using System.Windows.Media.Imaging; using System.Windows.Interop; using QuickZip.Tools; using System.Diagnostics; using System.IO; using System.Drawin...
33.809524
146
0.557394
[ "MIT" ]
chengming0916/FileExplorer
src/FileExplorer2/app/QuickZip.UserControls/Tools/Converter/BitmapToBitmapImage.cs
2,842
C#
using System.IO; using Newtonsoft.Json; using Tasks.OctopusDeploy.CrossProjectRelease.Take.Configuration; using Tasks.OctopusDeploy.CrossProjectRelease.Take.Domain.Models; namespace Tasks.OctopusDeploy.CrossProjectRelease.Take.Services { public class SnapshotWriter : IWriteSnapshots { private static re...
28.833333
73
0.648362
[ "MIT" ]
corker/Tasks.OctopusDeploy.CrossProjectRelease.Take
Tasks.OctopusDeploy.CrossProjectRelease.Take/Services/SnapshotWriter.cs
1,038
C#
using System; public class TwitchUser { public TwitchUser( string userId, string username, string displayName, string color, bool isBroadcaster, bool isModerator, bool isSubscriber, bool isVip) { if (string.IsNullOrEmpty(username)) throw ...
28.147059
94
0.6186
[ "MIT" ]
haycc/BabyYoda
src/BabyYodaClient/Assets/Scripts/Network/PacketHandlers/Models/TwitchUser.cs
959
C#
using System; using System.Collections.Generic; namespace ScriptCs.Contracts { public interface IModuleConfiguration : IServiceOverrides<IModuleConfiguration> { bool Cache { get; } string ScriptName { get; } bool IsRepl { get; } LogLevel LogLevel { get; } bool Debug...
18.666667
83
0.627551
[ "Apache-2.0" ]
BlackFrog1/scriptcs
src/ScriptCs.Contracts/IModuleConfiguration.cs
394
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 System.IO; using System.Linq; using System.Text; using Microsoft.AspNetCore.Razor.Language; using ...
40.853881
165
0.587795
[ "Apache-2.0" ]
AmadeusW/Razor
src/RazorPageGenerator/Program.cs
8,947
C#
using System; using System.Collections.Generic; using UnityEngine; namespace KERBALISM { public class SunShieldingPartData { public double distance = 1.0; public double thickness = 1.0; public SunShieldingPartData(double distance, double thickness) { this.distance = distance; this.thick...
29.668421
126
0.662941
[ "Unlicense" ]
LianCastro/Kerbalism
src/Kerbalism/Database/VesselHabitatInfo.cs
5,451
C#
using fa19projectgroup16.Models; using fa19projectgroup16.DAL; using System.Collections.Generic; using System; using System.Linq; using Microsoft.Extensions.DependencyInjection; namespace fa19projectgroup16.Seeding { public static class SeedAccounts { private static AppUser GetAppUser(AppDbContext _context, string ...
25.59854
73
0.642002
[ "MIT" ]
jdalamo/K-Project
Seeding/SeedAccounts.cs
7,014
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xamarin.Forms; namespace CustomKerningSample { public partial class App : Application { public App () { InitializeComponent(); MainPage = new CustomKerningSample.MainPage(); } protected override void OnStart...
15.228571
49
0.690432
[ "MIT" ]
rdelrosario/CustomKerningSample
CustomKerningSample/CustomKerningSample/App.xaml.cs
535
C#
namespace CentrumAkcji { partial class Form1 { /// <summary> /// Wymagana zmienna projektanta. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Wyczyść wszystkie używane zasoby. /// </summary> ...
41.151899
172
0.578899
[ "MIT" ]
ProgramistaZpolski/Aeroglasstest
Form1.Designer.cs
3,266
C#
/****************************************************************************** Copyright (c) 2015 Koray Kiyakoglu http://www.swarm2d.com 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 r...
34.396226
79
0.659901
[ "MIT" ]
kiyakkoray/Swarm2D
Source/Swarm2D.Cluster/Messages/GetChildMessage.cs
1,823
C#
using System; using System.Collections.Generic; using Hedwig.Validations; namespace Hedwig.Models { public class EnrollmentFamilyDeterminationDTO { public int Id { get; set; } public int? NumberOfPeople { get; set; } public decimal? Income { get; set; } public DateTime? DeterminationDate { get; set; } publ...
24.529412
61
0.729017
[ "CC0-1.0" ]
ctoec/ecis-experimental
src/Hedwig/Models/FamilyDetermination/EnrollmentFamilyDeterminationDTO.cs
417
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/minwindef.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { ...
30.73913
145
0.670438
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
sources/Interop/Windows/shared/minwindef/Windows.cs
709
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace R2...
37.371795
182
0.641509
[ "MIT" ]
06needhamt/runtime
src/coreclr/src/tools/r2rtest/CrossgenRunner.cs
2,915
C#
using UnityEngine; public class ClydeBehavior : BaseEnemyAIBehavior { public override EnemyType EnemyType => EnemyType.Clyde; readonly ICollectiblesManagerModel collectiblesManager; readonly IClydeSettings settings; readonly int sqrChaseDistance; public ClydeBehavior ( IMapModel map, ...
34.508772
102
0.674631
[ "MIT" ]
AAulicino/pacman-mvc
Assets/Scripts/MVC/Model/Core/Actor/Enemy/AI/Behaviors/ClydeBehavior.cs
1,967
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
44
91
0.667984
[ "MIT" ]
joaokucera/csharp-features
src/CSharpFeatures.FastStringCreation/obj/Release/net6.0/CSharpFeatures.FastStringCreation.AssemblyInfo.cs
1,012
C#
/* * LeagueClient * * 7.23.209.3517 * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Text; using System.Collections.Generic; using System.Runtime.Serialization; using Newtonsoft.Json; using System.ComponentModel.DataAnnotations...
37.743842
266
0.546594
[ "MIT" ]
wildbook/LeagueClientApi
Model/LolMatchHistoryRecentlyPlayedSummoner.cs
7,662
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.EntityFrameworkCore.Metadata { /// <summary> /// <para> /// Indicates whether an element in the <see cref="IMutableModel" /> was specified...
40.25641
121
0.610191
[ "MIT" ]
CameronAavik/efcore
src/EFCore/Metadata/ConfigurationSource.cs
1,570
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;...
22.275862
50
0.719814
[ "MIT" ]
Lamiput/Bushtail-Sports
Bushtail-Sports/View/UC_BotSetup.xaml.cs
649
C#
namespace ClearHl7.Codes.V250 { /// <summary> /// HL7 Version 2 Table 0550 - Body Parts. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0550</remarks> public enum CodeBodyParts { /// <summary> /// ACET - Acetabulum. /// </summary> Acetabulum, //...
19.413933
59
0.386702
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7.Codes/V250/CodeBodyParts.cs
43,198
C#
using System; using System.Collections.Generic; using System.Linq; namespace Day4_ReposeRecord { public class GuardRecordProcessor { public GuardRecordProcessor(string[] rawData) { AllActions = new List<GuardAction>(); GuardRecords = initGuardRecords(rawData); }...
37.608247
162
0.561129
[ "MIT" ]
Oninaig/Oninaig.Advent2018
Day4_ReposeRecord/GuardRecordProcessor.cs
3,650
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 disable using System; using System.Threading; using System.Windows; using System.Windows.Threading; usin...
41.825
188
0.688982
[ "MIT" ]
Acidburn0zzz/roslyn
src/VisualStudio/IntegrationTest/TestUtilities/InProcess/InProcComponent.cs
5,021
C#
using CERental.Core.Contract.Repository; using CERental.Core.Domain; namespace CERental.Data.Repositories { public class RentalRepository : Repository<Rental>, IRentalRepository { } }
19.8
73
0.762626
[ "MIT" ]
RassK/CERental
CERental.Data/Repositories/RentalRepository.cs
200
C#
namespace JSM.Swashbuckle.AspNetCore.Swagger.Settings { /// <summary> /// Providing the properties Redoc Options of Internal Doc and External Doc in AppSettings /// </summary> public class RedocOptionsSettings { /// <summary> /// Property SpecUrl of Redoc Options /// </summa...
30.272727
94
0.587087
[ "MIT" ]
juntossomosmais/JSM.Swashbuckle.AspNetCore
src/JSM.Swashbuckle.AspNetCore.Swagger/Settings/RedocOptionsSettings.cs
668
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/CompanyLegalFormType.cs
629
C#
using HtmlAgilityPack; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Windows.Forms; using static onlineplayer.Utils; using static onlineplayer.Json; using System.Xml; using System.Threading.Tasks; using System.Runtime.InteropServices; namesp...
36.953052
197
0.516368
[ "MIT" ]
LaineZ/BandcampOnlinePlayer
onlineplayer/Form1.cs
23,615
C#
using System.Text; using System.Collections.Generic; using System.IO; using UnityEngine; using System.Linq; namespace Parabox.STL { /** * Describes the file format of an STL file. */ public enum FileType { Ascii, Binary }; /** * Export STL files from Unity mesh assets. */ public static class pb_Stl ...
26.623037
140
0.60236
[ "MIT" ]
Excludos/pb_Stl
Assets/pb_Stl/pb_Stl.cs
5,085
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: AssemblyConfigurat...
41.65
84
0.785114
[ "MIT" ]
uQr/Paramore.Brighter
Examples/GreetingsWindowsService/Properties/AssemblyInfo.cs
835
C#
 using System; using System.Configuration; namespace SoftvConfiguration { public class TrabajoElement : ConfigurationElement { /// <summary> /// Gets assembly name for Trabajo class /// </summary> [ConfigurationProperty("Assembly")] public String Assembly { ...
28.92
151
0.555325
[ "Apache-2.0" ]
nubiancc/CallCenter
Encuestas/Softv/Softv.Configuration/TrabajoElement.cs
1,448
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...
46.459677
178
0.675056
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/NotFoundException.cs
5,761
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("JN...
38.054054
84
0.745739
[ "MIT" ]
Indiana8000/JNSoundboard
Properties/AssemblyInfo.cs
1,411
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PsychesBound { public interface IDamageSender : ITileObject { int GetAttack(DamageType type); } }
15.571429
48
0.701835
[ "MIT" ]
AirMaster453/Turn-Based_RPG-Unity
Turn_Based_RPG/Assets/Scripts/Interfaces/IDamageSender.cs
218
C#
using Microsoft.IdentityModel.S2S.Protocols.OAuth2; using Microsoft.IdentityModel.Tokens; using Microsoft.SharePoint.Client; using System; using System.Net; using System.Security.Principal; using System.Web; using System.Web.Configuration; namespace SupportTickets.React { /// <summary> /// Encapsulates all the...
39.194595
199
0.609213
[ "Apache-2.0" ]
AKrasheninnikov/PnP
Samples/SharePoint.React.SupportTicket/deploy/SupportTickets.React/SharePointContext.cs
36,255
C#
using System; using CloudsdaleLib.Models; using Cloudsdale_Metro.Controllers; using WinRTXamlToolkit.AwaitableUI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236 namespace Cloudsdale_Metro.Views.Controls { pub...
29.810811
96
0.659112
[ "MIT" ]
cloudsdaleapp/cloudsdale-metro
Cloudsdale-Metro/Views/Controls/Flyout Panels/UserList.xaml.cs
1,105
C#
namespace Ruyi.SDK.Online { /// <summary> /// A k-factor used when calculating ELO ratings using Fide. /// </summary> public class FideKFactor : KFactor { /// <summary> /// Default construction. /// </summary> public FideKFactor() { } /// <su...
27.148148
80
0.482265
[ "MIT" ]
c04x/sdk
RuyiSDK/RuyiNet/Skill/Elo/FideKFactor.cs
1,468
C#
using CharacterGen.CharacterClasses; using CharacterGen.Domain.Tables; using NUnit.Framework; using System.Linq; namespace CharacterGen.Tests.Integration.Tables.Magics.Spells.Known.Druids { [TestFixture] public class Level11DruidKnownSpellsTests : AdjustmentsTests { protected override string table...
27.051282
139
0.598104
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Magics/Spells/Known/Druids/Level11DruidKnownSpellsTests.cs
1,057
C#
using System; namespace OpenCvSharp { // ReSharper disable once InconsistentNaming /// <summary> /// Abstract base class for shape distance algorithms. /// </summary> public abstract class ShapeDistanceExtractor : Algorithm { /// <summary> /// Compute the shape distance betwee...
33.25641
86
0.605243
[ "BSD-3-Clause" ]
CollegiumXR/OpenCvSharp-Xamarin.Droid
src/OpenCvSharp/Modules/shape/ShapeDistanceExtractor.cs
1,299
C#
/* * MindTouch Dream - a distributed REST framework * Copyright (C) 2006-2011 MindTouch, Inc. * www.mindtouch.com oss@mindtouch.com * * For community documentation and downloads visit wiki.developer.mindtouch.com; * please review the licensing section. * * Licensed under the Apache License, Version 2....
45.609195
194
0.578965
[ "Apache-2.0" ]
nataren/DReAM
src/mindtouch.dream/Threading/RendezVousEvent.cs
11,904
C#