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 System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.CompilerServices; using System.Reflection; namespace monoTestSharp { class Program { static void Main(string[] args) { Tests t = new Tests(); ...
30.104167
82
0.604152
[ "MIT" ]
Quest-Develop/monoTest
monoTestSharp/Program.cs
2,892
C#
using System; namespace Owin.Security.Providers.Google { public static class GoogleAuthenticationExtensions { public static IAppBuilder UseGoogleAuthentication(this IAppBuilder app, GoogleAuthenticationOptions options) { if (app == null) throw new Argume...
30.896552
117
0.617188
[ "MIT" ]
Nashuim/OwinOAuthProviders
src/Owin.Security.Providers.Google/GoogleAuthenticationExtensions.cs
898
C#
using System; namespace ATM { public class ATMException : Exception { public ATMException() : base() { } public ATMException(string message) : base(message) { } } public class WrongNumberOfMappingsException : ATMException { public WrongNumberOfMappingsException(string mess...
25.884615
83
0.686478
[ "MIT" ]
hoffmannj/ATM
ATM/Exceptions.cs
675
C#
using System; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using IRCER.Core.Models.ResponseModels; namespace IRCER.Core.Dtos.IssueRequests { [ExcludeFromCodeCoverage] public class IssueForResponseDto : BaseResponseModel { [Display(Name = "Issue Description")] [StringLengt...
34.53125
100
0.733937
[ "MIT" ]
mpaulosky/IRCERApplication
src/IRCER.Core/Dtos/IssueRequests/IssueForResponseDto.cs
1,107
C#
// // MRActivityWidget.cs // // Author: // Steve Jakab <> // // Copyright (c) 2014 Steve Jakab // // 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 witho...
25.560606
211
0.71557
[ "MIT" ]
portablemagicrealm/portablerealm
Assets/Standard Assets (Mobile)/Scripts/UI/MRActivityWidget.cs
10,122
C#
using BenchmarkDotNet.Attributes; using System.IO; using System.Threading.Tasks; namespace Perform_BenchmarkDotNet { [RankColumn] [MemoryDiagnoser] public class FileReadComparison { private const string strFileName = @""; //TODO :: Provide the file name before executing [Benchmark] ...
23.807692
96
0.568659
[ "MIT" ]
NileshYendhe/PerformanceCodeInCSharp
benchmarkdotnet/BenchmarktDotNet/BenchmarktDotNet/FileReadComparison.cs
1,240
C#
//Do not edit! This file was generated by Unity-ROS MessageGeneration. using System; using System.Linq; using System.Collections.Generic; using System.Text; using Unity.Robotics.ROSTCPConnector.MessageGeneration; namespace RosMessageTypes.Sensor { [Serializable] public class NavSatFixMsg : Message { ...
42.770492
186
0.641433
[ "MIT" ]
BigMeatBaoZi/SDM5002
Unity/vr_arm_ctrl/Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/Messages/Sensor/msg/NavSatFixMsg.cs
5,218
C#
// Copyright (c) Johnny Z. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace NetUV.Core.Tests.Handles { using System; using System.Net; using System.Text; using NetUV.Core.Buffers; using NetUV.Core.Handles; usin...
28.321739
101
0.562481
[ "MIT" ]
StormHub/NetUV
test/NetUV.Core.Tests/Handles/UdpSendAndReceiveTests.cs
3,259
C#
using AutoMapper; using MusicApp.Data; using MusicApp.Models; using MusicApp.Services.Interfaces; using MusicApp.ViewModels.Category; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MusicApp.Services { public class CategoryService : ICategoryService {...
26.870968
89
0.702281
[ "MIT" ]
amerHasanbegovic/MusicApp
MusicApp/MusicApp/Services/CategoryService.cs
835
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using Sentry.Protocol; // ReSharper disable once CheckNamespace namespace Sentry { /// <summary> /// An event to be sent to Sentry. /// </summary> ...
36.018868
108
0.584075
[ "MIT" ]
lucas-zimerman/sentry-dotnet-xamsample
src/Sentry.Protocol/SentryEvent.cs
5,727
C#
using System.Reflection; // common assembly attributes [assembly: AssemblyDescription("Lean Engine is an open-source, platform agnostic C# and Python algorithmic trading engine. " + "Allows strategy research, backtesting and live trading with Equities, FX, CFD, Crypto, Options and Futur...
64.666667
150
0.757732
[ "Apache-2.0" ]
AENotFound/Lean
Common/Properties/SharedAssemblyInfo.cs
780
C#
using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Clevertap.Android.Sdk { // Metadata.xml XPath class reference: path="/api/package[@name='com.clevertap.android.sdk']/class[@name='NotificationInfo']" [global::Android.Runtime.Register ("com/clevertap/android/sdk...
30.218182
156
0.733454
[ "MIT" ]
ygit/clevertap-xamarin
clevertap-component/src/android/CleverTap.Bindings.Android/obj/Debug/generated/src/Com.Clevertap.Android.Sdk.NotificationInfo.cs
1,662
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using MineCase.Engine; namespace MineCase.Server.Game.Entities.Components { internal class HeldItemComponent : Component<PlayerGrain>, IHandle<SetHeldItemIndex>, IHandle<AskHeldItem, (int index, Slot slot)>, IHandle<S...
39.208333
156
0.687566
[ "MIT" ]
DavidAlphaFox/MineCase
src/MineCase.Server.Grains/Game/Entities/Components/HeldItemComponent.cs
1,884
C#
using System; namespace WebMagicSharp.DotNetCoreConsoleAppExample { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
16.076923
51
0.583732
[ "Apache-2.0" ]
Peefy/DuGu.WebMagicSharp
WebMagicSharp.DotNetCoreConsoleAppExample/Program.cs
211
C#
namespace NMagickWand.Enums { public enum ImageType { UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, ...
20.052632
33
0.616798
[ "MIT" ]
AerisG222/NMagickWand
src/NMagickWand/Enums/ImageType.cs
381
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using System.Threading.Ta...
45.589372
118
0.548161
[ "MIT" ]
AdrianaDJ/Oryx
tests/Oryx.Integration.Tests/Python/PythonDynamicInstallationTest.cs
9,233
C#
namespace SoftwareRenderer { partial class Form1 { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ресурсы. /// </summary> ...
30.317073
109
0.57683
[ "MIT" ]
timik44452/Simple3DSR
SoftwareRenderer/SoftwareRenderer/Form1.Designer.cs
1,500
C#
using System.Collections.Generic; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.Forms.Core.UITests; using Xamarin.UITest; using NUnit.Framework; #endif namespace Xamarin.Forms.Controls.Issues { #if UITEST [Category(UITestCategories.SwipeView)] #endif [Preserve(AllMem...
21.742138
155
0.706393
[ "MIT" ]
Alan-love/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue10530.cs
3,459
C#
/* *© 2019 Infosys Limited, Bangalore, India. All Rights Reserved. Infosys believes the information in this document is accurate as of its publication date; such information is subject to change without notice. Infosys acknowledges the proprietary rights of other companies to the trademarks, product names and such ot...
47.684211
739
0.678256
[ "Apache-2.0" ]
Infosys/Intelligent-Bot-Management-
Superbot/Source/SuperBot/App_Start/WebApiConfig.cs
1,816
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...
37.297297
158
0.590036
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/Internal/MarshallTransformations/DescribeDBInstancesResponseUnmarshaller.cs
5,520
C#
using Microsoft.Extensions.DependencyInjection; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; namespace EasyMongoNet { public static class MongoStartupExtentions { ...
51.865922
168
0.6229
[ "MIT" ]
aliaa/EasyMongo.Net
Driver2/MongoStartupExtentions.cs
9,286
C#
namespace Perrich.TemplateEngine { /// <summary> /// Define a text block (used by replace behavior) /// </summary> public class TextBlock { /// <summary> /// Start of the text block /// </summary> public int Start { get; set; } /// <summary> ...
24.173913
58
0.482014
[ "Apache-2.0" ]
okproject/TemplateEngine
Perrich.TemplateEngine/TextBlock.cs
558
C#
using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; namespace NGitLab.Models { [DataContract] public class UserUpsert { [Required] [DataMember(Name = "email")] public string Email; [Required] [DataMember(Name = "password")] publ...
22.711538
47
0.585097
[ "Apache-2.0" ]
ajvorobiev/NGitLab
NGitLab/NGitLab/Models/UserUpsert.cs
1,183
C#
using UnityEngine; public class DroneSensors : MonoBehaviour { // degrees public float pitch = 0; public float pitchRate = 0; public float yaw = 0; public float yawRate = 0; public float roll = 0; public float rollRate = 0; public float altitude = 0; public float altitudeRate = 0; ...
28.157895
111
0.571963
[ "MIT" ]
malytomas/VtsCars
Assets/Cars/Drone/DroneSensors.cs
2,140
C#
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.295082
145
0.678016
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/dialogflow/v2/google-cloud-dialogflow-v2-csharp/Google.Cloud.Dialogflow.V2.StandaloneSnippets/DocumentsClient.ReloadDocumentRequestObjectAsyncSnippet.g.cs
2,702
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.ContractsLight; using System.Linq; using System.Text; using static BuildXL.Utilities.FormattableStringEx; namespace Test.BuildXL.Fron...
30.395833
179
0.550034
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/UnitTests/Core/Results/EvaluationResult.cs
2,918
C#
namespace KafkaFlow.Consumers { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Confluent.Kafka; using KafkaFlow.Configuration; internal class MessageConsumer : IMessageConsumer { private readonly IConsumer<byte[], byte[]> c...
35.492424
107
0.609392
[ "MIT" ]
joelfoliveira/kafka-flow
src/KafkaFlow/Consumers/MessageConsumer.cs
4,685
C#
namespace Bistrotic.UblDocuments.Types.Entities { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.Serialization; using System.Text.Json; using System.Xml.Serialization; ...
42.272189
106
0.651876
[ "MIT" ]
Bistrotic/Bistrotic
src/Modules/Shared/Bistrotic.UblDocuments.Contracts/Types/Entities/InvoiceLine.cs
7,146
C#
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
38.634615
93
0.770035
[ "MIT" ]
0x53A/ILSpy
ILSpy/NavigationState.cs
2,011
C#
using System; using System.Linq; using Grasshopper.Kernel; namespace RhinoInside.Revit.GH.Components.ModelElements { public class GroupElements : Component { public override Guid ComponentGuid => new Guid("7C7D3739-7609-4F7F-BAB5-1E3648508891"); public override GH_Exposure Exposure => GH_Exposure.tertiary;...
30.487805
121
0.6904
[ "MIT" ]
chuongmep/rhino.inside-revit
src/RhinoInside.Revit.GH/Components/Element/Group/Elements.cs
1,250
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.ViewModels { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using ...
40.016092
163
0.589303
[ "MIT" ]
DANCEcollaborative/PSI
Sources/Visualization/Microsoft.Psi.Visualization.Common.Windows/ViewModels/StreamTreeNode.cs
17,409
C#
using DragonSpark.Model.Results; using System; using System.Threading.Tasks; namespace DragonSpark.Model.Operations; public class OperationResult<T> : Result<ValueTask<T>>, IResulting<T> { public OperationResult(IResult<ValueTask<T>> result) : base(result) {} public OperationResult(Func<ValueTask<T>> source) : ba...
27.916667
71
0.770149
[ "MIT" ]
DragonSpark/Framework
DragonSpark/Model/Operations/OperationResult.cs
337
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Open_School_Library.Models.DeweyViewModels { public class DeweyEditViewModel { public int DeweyID { get; set; } public float Number { get; set; } public string Name { get; set; } ...
21.866667
52
0.685976
[ "MIT" ]
Programazing/OpenSchoolLibrary-FirstAttempt
src/Open-School-Library/Models/DeweyViewModels/DeweyEditViewModel.cs
330
C#
using System.Collections.Generic; using System.Linq; namespace OpenVIII { /// <summary> /// https://stackoverflow.com/questions/20676185/xna-monogame-getting-the-frames-per-second /// </summary> internal static class FPSCounter { public static double CurrentFramesPerSecond { get; private s...
33.433333
95
0.601196
[ "MIT" ]
FlameHorizon/OpenVIII-monogame
Core/FPSCounter.cs
1,005
C#
namespace Smart.IO.ByteMapper.Expressions { using System; using System.Text; using Xunit; public class MapFillerExpressionTest { //-------------------------------------------------------------------------------- // Expression //-----------------------------------...
34.155172
97
0.364967
[ "MIT" ]
usausa/Smart-Net-ByteMapper
Smart.IO.ByteMapper.Tests/IO/ByteMapper/Expressions/MapFillerExpressionTest.cs
1,981
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // cop...
36.059829
110
0.607964
[ "MIT" ]
marcindawidziuk/PikaPDF
src/PikaPDF.Core/Fonts.OpenType/GlyphTypefaceCache.cs
4,221
C#
using BotSharp.Core.Engines; using System; using System.Collections.Generic; using System.Text; namespace BotSharp.Core.Models { public class RasaIntentExpressionPart : TrainingIntentExpressionPart { } }
18.166667
72
0.775229
[ "Apache-2.0" ]
david0718/BotSharp
BotSharp.Core/Engines/Rasa/RasaIntentExpressionPart.cs
220
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.WebJobs.Script.Workers.Rpc; using System.Threading.Tasks; using Xunit; namespace Microsoft.Azure.WebJobs.Script.Tests.CosmosDB { public clas...
26.512821
102
0.636364
[ "Apache-2.0", "MIT" ]
AnatoliB/azure-functions-host
test/WebJobs.Script.Tests.Integration/CosmosDB/CosmosDBNodeEndToEndTests.cs
1,036
C#
// ***************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANT...
35.443548
111
0.550853
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/beta/Source/MBF/MBF/Algorithms/Alignment/AlignedSequence.cs
4,397
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ASPPatterns.Chap8.CastleMonoRail.Model; namespace ASPPatterns.Chap8.CastleMonoRail.StubRepository { public class CategoryRepository : ICategoryRepository { public IEnumerable<Category> FindAll() ...
24.909091
85
0.642336
[ "MIT" ]
codeyu/ASPNETCore-Design-Patterns
ASPPatterns.allcode/ASPPatterns08/ASPPatterns.Chap8.CastleMonoRail/ASPPatterns.Chap8.CastleMonoRail.StubRepository/CategoryRepository.cs
550
C#
namespace ForumNet.Web.ViewModels.Chat { public class ChatConversationsViewModel { public string Id { get; set; } public string UserName { get; set; } public string ProfilePicture { get; set; } public string LastMessage { get; set; } public string LastMessageActivity...
21.4375
55
0.626822
[ "MIT" ]
kalintsenkov/ForumNet
Web/ForumNet.Web.ViewModels/Chat/ChatConversationsViewModel.cs
345
C#
/************************************************************************************ * Copyright (C) 2008 supesoft.com,All Rights Reserved * * File: * * TabOptionItem.cs * * Description: * * 选项卡 ...
27.633333
86
0.447125
[ "MIT" ]
mind0n/hive
History/Samples/Website/PmSys/PmSys.Core/WebControls/TabOptionItem.cs
2,547
C#
using System.Text; namespace AdvancementTracker.src.Core.AdvancementFileReader { class Modifier { /// <summary> /// Modifies alot of things in minecraft's advancements file /// </summary> /// <param name="json">the json text to modify.</param> /// <returns>The modified...
35.241935
98
0.416018
[ "MIT" ]
xiiHeRo/AdvancementTracker
AdvancementTracker/src/Core/AdvancementFileReader/Modifier.cs
2,187
C#
namespace RforU.Interfaces { public interface IGameDetails { IGame CurrentGame { get; set; } IPlayer PrimaryPlayer { get; set; } IPlayer Opponent { get; set; } } }
22.222222
43
0.6
[ "MIT" ]
rajibMaha/hash5
src/Web/GameWeb/Server/Interfaces/IGameDetails.cs
202
C#
using Unity; using Unity.Lifetime; namespace DependencyInjection { class Program { static void Main(string[] args) { Main_WihoutDI(args); Main_WihtDI(args); } private static void Main_WihoutDI(string[] args) { var myAp...
27.674419
97
0.591597
[ "MIT" ]
jeremyeb/DesignPatternTuto
DependencyInjection/Program.cs
1,192
C#
using System; using Alipay.AopSdk.Domain; using System.Collections.Generic; using Alipay.AopSdk.Response; namespace Alipay.AopSdk.Request { /// <summary> /// AOP API: alipay.marketing.tool.fengdie.sites.confirm /// </summary> public class AlipayMarketingToolFengdieSitesConfirmRequest : IAopRequest<Alip...
24.072727
124
0.612915
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk/Request/AlipayMarketingToolFengdieSitesConfirmRequest.cs
2,666
C#
using Acme.Account.Core.Interfaces; using Acme.Account.Infrastructure.Repositories; using Microsoft.Extensions.DependencyInjection; namespace Acme.Account.Infrastructure { public static class ServiceCollectionExtension { public static void AddInfraServices(this IServiceCollection services) { ...
28.8125
77
0.720174
[ "MIT" ]
amishra138/acme-bank
Acme.Account.Infrastructure/ServiceCollectionExtension.cs
463
C#
namespace MongoSharp { partial class AboutBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> protected...
55.958549
159
0.646944
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
joe-triscari/mongosharp
src/MongoLINQ/AboutBox.Designer.cs
10,802
C#
using CurlToCSharp.Models; namespace CurlToCSharp.Services; public interface IConverterService { ConvertResult<string> ToCsharp(CurlOptions curlOptions); }
18
60
0.820988
[ "MIT" ]
RuioWolf/curl-to-csharp
src/CurlToCSharp/Services/IConverterService.cs
162
C#
using System.Linq; using System.Web; using System.Web.WebPages; using EPiServer.Framework; using EPiServer.Framework.Initialization; using EPiServer.ServiceLocation; using StaticWebEpiserverPlugin.Channels; using EPiServer.Web; namespace StaticWebEpiserverPlugin.Initialization { [ModuleDependency(typeof(EPiServer...
34.44186
121
0.687373
[ "MIT" ]
7h3Rabbit/StaticWebEpiserverPlugin
Initialization/StaticWebDisplayModesInitialization.cs
1,483
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Windows.Forms; using KeyworderLib; namespace Keyworder { public partial class Keyworder : Form { private readonly KeywordRepository _keywordRepositor...
37.04811
137
0.597904
[ "MIT" ]
jasonracey/Keyworder
Keyworder/Keyworder.cs
10,783
C#
/* Copyright (c) 2006, NIF File Format Library and Tools */ // THIS FILE WAS AUTOMATICALLY GENERATED. DO NOT EDIT! // // To change this file, alter the generate_cs.py Python script. //-----------------------------------NOTICE----------------------------------// // Only add custom code in the designated areas to pr...
31.884259
186
0.612168
[ "MIT" ]
WildGenie/game-estates
src/Formats/Nif/src/Gamer.Format.Nif2/Objs/NiFlipController.cs
6,887
C#
using ProjectStockModels.Model; using ProjectStockModels.Observable; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectStockModels.Lists { public class NotificationLists : ObservableObject ...
22.851064
65
0.527933
[ "MIT" ]
POEC-DOTNET-CLERMONT-2022/ProjetStock
ApplicationStock/ConsoleStockBruker/ProjectStockModels/Lists/NotificationLists.cs
1,076
C#
namespace BeyondNet.Demo.Vue.Api.Domain { public class Product { public string Id { get; set; } public string Code { get; set; } public string Description { get; set; } public string Ean { get; set; } public decimal UnitPrice { get; set; } public int Stock { get;...
26.857143
47
0.566489
[ "Apache-2.0" ]
beyondnetPeru/BeyondNet.Sample.Js
BeyondNet.JsPlatform.vue/ssesample/server/BeyondNet.Demo.Vue.Api/Domain/Product.cs
378
C#
// // AudioClassDescription.cs: // // Authors: // Marek Safar (marek.safar@gmail.com) // // Copyright 2012 Xamarin Inc // // 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...
33.694118
159
0.751397
[ "BSD-3-Clause" ]
Acidburn0zzz/xamarin-macios
src/AudioToolbox/AudioClassDescription.cs
2,864
C#
namespace EventBus.Messages.Events { public class BasketCheckoutEvent : IntegrationBaseEvent { public string UserName { get; set; } public decimal TotalPrice { get; set; } // BillingAddress public string FirstName { get; set; } public string LastName { get; set; } pu...
39.45
61
0.599493
[ "MIT" ]
mertKarasakal/AspnetMicroservices
src/BuildingBlocks/EventBus.Messages/Events/BasketCheckoutEvent.cs
791
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.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks...
49.081512
218
0.527457
[ "Apache-2.0" ]
MJavedAli/EntityFrameworkCore
src/EFCore.Specification.Tests/BuiltInDataTypesTestBase.cs
83,099
C#
/* Copyright 2008 The 'A Concurrent Hashtable' development team (http://www.codeplex.com/CH/People/ProjectPeople.aspx) This library is licensed under the GNU Library General Public License (LGPL). You should have received a copy of the license along with the source code. If not, an online copy of the licen...
25.9125
91
0.636758
[ "BSD-3-Clause" ]
AcaiBerii/Cosmos
Users/Orvid/Orvid.Concurrent/TransformedCollection.cs
2,073
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.471/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using Core.Classes; using GlobalUt...
30.740157
389
0.576588
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.471
Source/Krypton Toolkit Suite Extended/Full Toolkit/Application Updater/UI/Advanced/XML Based/StartupForm.cs
7,810
C#
/* * The MIT License (MIT) * * Copyright (c) 2014 David Tregoning * * 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 ...
42.276888
226
0.616779
[ "MIT" ]
MatthieuLemaile/CrewRandR
Source/FingerboxLib/KSPPluginFramework/MonoBehaviourExtended.cs
18,477
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("02C...
37.945946
84
0.75
[ "MIT" ]
Avarea/Programming-Fundamentals
Dictionaries/02CountRealNumbers/Properties/AssemblyInfo.cs
1,407
C#
namespace MatrixMult { partial class Form1 { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ресурсы. /// </summary> ...
45.605442
128
0.571748
[ "MIT" ]
SignInUp/Matrix-Calculating
MatrixMult/MatrixMult/Form1.Designer.cs
20,369
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Runtime.CompilerServices; using System.ServiceModel; using System.ServiceModel.Channels; using System.Threading.Tasks; using System.Xml.Seriali...
38.057992
322
0.729215
[ "MIT" ]
derskythe/SoapCore
src/SoapCore/SoapEndpointMiddleware.cs
26,907
C#
using System; using UIKit; using PathMenuXamarin; using System.Diagnostics; using Foundation; namespace Example { public partial class ViewController : UIViewController { public ViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad() { base.ViewDidLoad(); View.Backgr...
34.063158
154
0.739493
[ "MIT", "Unlicense" ]
sunnypatel1602/PathMenuXamarin
Example/ViewController.cs
3,238
C#
using System; namespace ConfTestStory { enum RunType { Debug, Release } class ExecutionConf { public RunType RunType { get; set; } public int NumOfThreads { get; set; } } class AppConfig { public string AppName { get; set;...
21.869565
57
0.462724
[ "MIT" ]
jborut/charp-app-conf
.localhistory/ConfTestStory/1524046198$Program.cs
2,014
C#
// <auto-generated /> using DatingApp.API; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DatingApp.API.Migrations { [DbContext(typeof(DataContext))] partial class DataContextModelSnapshot : ModelS...
27.545455
69
0.592959
[ "MIT" ]
cicekapM/DatingApp
DatingApp.API/Migrations/DataContextModelSnapshot.cs
911
C#
// <copyright filename="UserObjectAttribute.cs" project="Framework"> // This file is licensed to you under the MIT License. // Full license in the project root. // </copyright> namespace B1PP.Database.Attributes { using System; using SAPbobsCOM; /// <summary> /// Marks a type as being linked with...
34.567164
109
0.593264
[ "MIT" ]
laukiet78/SAPB1-C-SHARP
Framework/Database/Attributes/UserObjectAttribute.cs
2,316
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAIFlyingMonsterDefaults : CAIBaseMonster...
36.818182
136
0.723457
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CAIFlyingMonsterDefaults.cs
1,215
C#
using System; using System.Collections.Generic; using LayeredMvcDemo.Domain.Models; namespace LayeredMvcDemo.Application.Services { public interface ICustomerService { Customer GetCustomerById(int id); List<Customer> GetCustomerList(Func<Customer, bool> filter); } }
23.769231
69
0.71521
[ "Apache-2.0" ]
huanlin/di-book-support
Examples/ch04/LayeredMvcDemo_V2_Decoupled/LayeredMvcDemo.Application/Services/ICustomerService.cs
311
C#
#region Copyright //======================================================================================= // Microsoft Azure Customer Advisory Team // // This sample is supplemental to the technical guidance published on my personal // blog at http://blogs.msdn.com/b/paolos/. // // Author: Paolo Salvatori //=====...
60.348006
169
0.649352
[ "Apache-2.0" ]
0be1/ServiceBusExplorer
src/ServiceBusExplorer/Forms/OptionForm.Designer.cs
87,748
C#
using System; using System.Linq; using LeagueSharp; using LeagueSharp.Common; using SharpDX; using xSLx_Orbwalker; using Color = System.Drawing.Color; namespace Ultimate_Carry_Prevolution.Plugin { class Fiora : Champion { private int _qCastedtime; public Fiora() { SetSpells(); LoadMenu(); } priv...
26.5
188
0.67005
[ "MIT" ]
trollface77/LeagueSharp
Ultimate Carry Prevolution/Ultimate Carry Prevolution/Plugin/Fiora.cs
8,378
C#
using AntMe.ItemProperties.Basics; namespace AntMe.Core.Debug { public class DebugGood2 : CollectableGoodProperty { public DebugGood2(Item item, int capacity, int amount) : base(item, capacity, amount) { } } }
20
62
0.626923
[ "MIT" ]
AntMeNet/AntMeCore
tests/AntMe.Core.Debug/DebugGood2.cs
262
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/mfidl.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System;...
39.181818
145
0.664733
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/mfidl/MFNetCredentialManagerGetParamTests.cs
1,726
C#
using FutureState.Specifications; using NLog; using System; using System.Collections.Generic; using System.Linq; namespace FutureState.Flow { /// <summary> /// Processes a single type of entity from an incoming data /// sources into an outgoing data source. /// </summary> /// <typeparam na...
35.286645
181
0.535863
[ "Apache-2.0" ]
arisanikolaou/futurestate
src/FutureState.Flow/Processor.cs
10,835
C#
using Dynamitey; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.DurableTask; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using StatefulPatt...
42.323171
143
0.646881
[ "MIT" ]
massimobonanni/StatefulPatternFunctions
StatefulPatternFunctions/CertificationManager/CertificationProfileManagement.cs
6,943
C#
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. // This code is generated by tool. DO NOT EDIT. using System.Net; using System.IO; using System.Text.Json; using AccelByte.Sdk.Api.Platf...
44.010309
237
0.488405
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
AccelByte.Sdk/Api/Platform/Operation/PaymentDedicated/CreatePaymentOrderByDedicated.cs
12,807
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using KModkit; using PuzzleSolvers; using RT.Util; using RT.Util.ExtensionMethods; using UnityEngine; public class VoltorbFlip : MonoBehaviour { public KMAudio...
36.153137
246
0.489768
[ "MIT" ]
Timwi/KtaneVoltorbFlip
Assets/VoltorbFlip/VoltorbFlip.cs
19,599
C#
using Anywhere.ArcGIS.Common; using System.Collections.Generic; namespace Anywhere.ArcGIS { public static class GeometryExtensions { /// <summary> /// Convert a <see cref="Point"/> into a double[] so that it can be added to a <see cref="PointCollection"/> /// </summary> /// <pa...
34.864865
141
0.579845
[ "MIT" ]
apolloLegends/Anywhere.ArcGIS
src/Anywhere.ArcGIS/Extensions/GeometryExtensions.cs
1,292
C#
using System; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using R5T.Dacia; using R5T.T0027.T008; namespace R5T.D0108.Construction { class Startup : T0027.T009.Startup { public Startup(ILog...
25.470588
76
0.580446
[ "MIT" ]
SafetyCone/R5T.D0108
source/R5T.D0108.Construction/Code/Startup.cs
1,299
C#
using Newtonsoft.Json; namespace PrimePenguin.TictailSharp.Filters { /// <summary> /// Options for filtering <see cref="PageService.CountAsync" /> and /// <see cref="PageService.ListAsync(PageFilter)" /> results. /// </summary> public class PageFilter : PublishableListFilter { ...
27.695652
75
0.55573
[ "MIT" ]
PrimePenguin/PrimePenguin.TictailSharp
PrimePenguin.TictailSharp/PrimePenguin.TictailSharp/Filters/PageFilter.cs
639
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("Co...
38.631579
84
0.749319
[ "Apache-2.0" ]
leorufus/speckle-sharp
ConnectorGrasshopper/ConnectorGrasshopper/Properties/AssemblyInfo.cs
1,471
C#
using System.Collections.Generic; namespace CnGalWebSite.Shared.AppComponent.Pages.Entries.Game.Roles { public class RoleCardModel { public string Image { get; set; } public string Name { get; set; } public List<string> CVs { get; set; } public int EntryId { get; set; } ...
20.25
67
0.632716
[ "MIT" ]
CnGal/CnGalWebSite
CnGalWebSite/CnGalWebSite.Shared/AppComponent/Pages/Entries/Game/Roles/RoleCardModel.cs
326
C#
using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_ParticleSystemMeshShapeType : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.ParticleSystemMeshShapeType"); addMember(l,0,"Vertex"); addMember(l,1,"Edge"); addMember(l,2,"Tr...
25.642857
70
0.75766
[ "MIT" ]
zhangjie0072/FairyGUILearn
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_ParticleSystemMeshShapeType.cs
361
C#
/* * Copyright (C) 2007, Robin Rosenberg <robin.rosenberg@dewire.com> * Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org> * Copyright (C) 2008, Kevin Thompson <kevin.thompson@theautomaters.com> * Copyright (C) 2009, Henon <meinrad.recheis@gmail.com> * * All rights reserved. * * Redistribution and use i...
36.139241
80
0.672504
[ "BSD-3-Clause" ]
HackerBaloo/GitSharp
GitSharp/PackIndexWriterV1.cs
2,857
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.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using Syste...
44.09411
184
0.535078
[ "MIT" ]
wnmhb/coreclr
src/mscorlib/src/System/TimeZoneInfo.Unix.cs
65,127
C#
using CoCSharp.Networking.Packets; using System; namespace CoCSharp.Server.Handlers { public static class InGamePacketHandler { public static void HandleKeepAliveRequestPacket(CoCRemoteClient client, CoCServer server, IPacket packet) { client.QueuePacket(new KeepAliveResponsePacket...
28.736842
113
0.712454
[ "MIT" ]
Ricardo253/Clash-of-Galaxy
CoCSharp.Server/Handlers/InGamePacketHandler.cs
548
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace task_manager_rest_api.Models { public class Priority { public int PriorityId { get; set; } public string Title { get; set; } } }
19
43
0.68797
[ "MIT" ]
yyaddaden/asp.net-intro-demo
task-manager-rest-api/task-manager-rest-api/Models/Priority.cs
268
C#
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. namespace UnrealBuildTool.Rules { public class Composure : ModuleRules { public Composure(ReadOnlyTargetRules Target) : base(Target) { PrivateIncludePaths.AddRange( new string[] { "FX/Composure/Private", "../../../../Sou...
21.794118
61
0.516869
[ "MIT" ]
CaptainUnknown/UnrealEngine_NVIDIAGameWorks
Engine/Plugins/Compositing/Composure/Source/Composure/Composure.Build.cs
741
C#
using System; using System.IO; using System.Linq; namespace P01.Even_Lines { class Program { static void Main(string[] args) { char[] charsToReplace = new char[] { '-', ',', '.', '!', '?' }; int lineNumber = 0; using (var reader = new StreamReader(@"..\..\....
31.846154
86
0.332729
[ "MIT" ]
kovachevmartin/SoftUni
CSharp-Advanced/04-STREAMS-FILES-DIRECTORIES_Exercise/P01.Even_Lines/EvenLines.cs
1,658
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ShardingCore.Core.EntityMetadatas; using ShardingCore.Test3x.Domain.Entities; using ShardingCore.VirtualRoutes.Mods; namespace ShardingCore.Test3x.Shardings { public class SysUserModIntVirtual...
28.37037
106
0.733681
[ "Apache-2.0" ]
ChangYinHan/sharding-core
test/ShardingCore.Test3x/Shardings/SysUserModIntVirtualRoute.cs
768
C#
using Abp.Application.Navigation; using Abp.Localization; using System; using System.Collections.Generic; using System.Linq; using System.Web; using ZD.InfoManager.Core; using ZD.InfoManager.Core.Authorization; namespace ZD.InfoManager.App_Start { public class InfoManagerNavigationProvider : NavigationProvider ...
34.128571
89
0.502302
[ "MIT" ]
Hunter1994/ZD.InfoManager
ZD.InfoManager/ZD.InfoManager/App_Start/InfoManagerNavigationProvider.cs
2,391
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Payments; using BTCPayServer.Payments.Bitcoin; using BTCPayServer.Services.Invoices; using BTCPayServer.Services.Rates; using Newtonsoft.Json; namespace BTCPayServer.Services...
45.315068
148
0.625302
[ "MIT" ]
Argoneum/btcpayserver
BTCPayServer/Services/Invoices/Export/InvoiceExport.cs
6,618
C#
using GovUk.Education.ExploreEducationStatistics.Common.Extensions; using Microsoft.EntityFrameworkCore.Migrations; using static GovUk.Education.ExploreEducationStatistics.Data.Model.Migrations.MigrationConstants; namespace GovUk.Education.ExploreEducationStatistics.Data.Model.Migrations { public partial class Ee...
51.724138
115
0.747333
[ "MIT" ]
benoutram/explore-education-statistics
src/GovUk.Education.ExploreEducationStatistics.Data.Model/Migrations/20200128154949_Ees1167UpdateFilterTableType.cs
1,502
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("Ad...
37.972973
84
0.746619
[ "MIT" ]
AlexanderPetrovv/Programming-Basics-December-2016
SimpleConditionalStatements/AddTime/Properties/AssemblyInfo.cs
1,408
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.809339
103
0.58195
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/FlowLog.cs
8,432
C#
// // Copyright (c) 2003-2006 Jaroslaw Kowalski <jaak@jkowalski.net> // Copyright (c) 2006-2014 Piotr Fusik <piotr@fusik.info> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: //...
32.548872
108
0.619543
[ "BSD-2-Clause" ]
sooda-orm/sooda
src/Sooda/ObjectMapper/FieldHandlers/DoubleFieldHandler.cs
4,329
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> //---...
41.333333
80
0.65121
[ "MIT" ]
SebastianTrifa/c-
Labs_86_async2/obj/Debug/netcoreapp2.1/Labs_86_async2.AssemblyInfo.cs
992
C#
namespace AlarmSystem.Common.Plugins.Interfaces { /// <summary> /// Plugins implementing this interface can be used as a Free Text sink. /// </summary> public interface IFreetextSink { /// <summary> /// Handles the Freetext. /// </summary> /// <param name="sender">Th...
33.176471
76
0.613475
[ "MIT" ]
2steuer/alarmsystem
AlarmSystemCommon/Plugins/Interfaces/IFreetextSink.cs
566
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("G1...
37.891892
84
0.745364
[ "MIT" ]
Alex-Werner/G19Crypto
G19Crypto/Properties/AssemblyInfo.cs
1,405
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.IO; using System.Reflection; namespace Microsoft.Tye { public static class TargetIn...
35.265306
146
0.637731
[ "MIT" ]
EdwinVW/tye
src/Microsoft.Tye.Core/TargetInstaller.cs
1,730
C#