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 Volo.Abp.Domain.Entities; namespace LandWind.Blog.Core.Domain.Entities { /// <summary> /// post 文章 /// </summary> public class Post : EntityBase<int> { /// <summary> /// 标题 /// </summary> public string Title { get; set; } /// <summary> ...
20.071429
50
0.451957
[ "MIT" ]
Twtcer/LandWind.Blog
src/LandWind.Blog.Core/Domain/Blog/Post.cs
873
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Управление общими сведениями о сборке осуществляется с помощью // набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения, // связанные со сборкой. [assembly: AssemblyTitle("RK4Console"...
39.405405
100
0.739369
[ "MIT" ]
Panda-Lewandowski/DataBase
Tickets DB/3/3/RK4Console/RK4Console/Properties/AssemblyInfo.cs
2,030
C#
//////////////////////////////////////////////////////////////////////////////// //EF Core Provider for LCPI OLE DB. // IBProvider and Contributors. 03.05.2021. using System; using System.Reflection; namespace Lcpi.EntityFrameworkCore.DataProvider.LcpiOleDb.Basement.EF.Root.Query....
33.886364
110
0.566063
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Code/Provider/Source/Basement/EF/Root/Query/Local/Expressions/Op2/Code/GreaterThan/Int64/Op2_Code__GreaterThan___Int64__NullableDecimal.cs
1,493
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.Adapters.Webex; using Microsoft.Bot.Builder.Integration.AspNet.Core; using Microsoft.Extensio...
34.925926
106
0.655885
[ "MIT" ]
AdsTable/BotBuilder-Samples
samples/csharp_dotnetcore/62.webex-adapter/Startup.cs
1,888
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.708333
146
0.611786
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/V20180601/Inputs/SalesforceMarketingCloudSourceArgs.cs
2,715
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; using System.Data.SqlClient; namespace Siparis_Otomasyon { public partial class FrmUrunEklemeSayfasi...
34.628571
199
0.548267
[ "MIT" ]
hicranfiliz/Sipari--Otomasyonu
Siparis_Otomasyon/FrmUrunEklemeSayfasi.cs
4,874
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> //---...
40.208333
80
0.641451
[ "MIT" ]
JoaoMarcelo22/Aprendizado
Ex015/obj/Debug/net6.0/Ex015.AssemblyInfo.cs
965
C#
using BlazorWerks.Bootstrap; using Microsoft.AspNetCore.Components; using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BlazorWerks.Bootstrap { public partial class BwBootstrap : ComponentBase { [Inject] protecte...
47.6
96
0.709734
[ "MIT" ]
scorfano/BlazorWerks
src/BlazorWerks/Archived/BwBootstrap.razor.cs
2,858
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Beamity.Application.DTOs; using Beamity.Application.DTOs.AnalyticDTO; using Beamity.Application.Service.IServices; using Beamity.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; ...
32.270833
97
0.599096
[ "MIT" ]
alperenarc/Beamity
Beamity.Web/Controllers/HomeController.cs
1,551
C#
namespace formulate.app.Constants.Trees { /// <summary> /// Constants related to the Data Values tree. /// </summary> internal static class DataValues { /// <summary> /// The id. /// </summary> public const string Id = "0461C41C04A3417B90D63CE2AE7B67F1"; ///...
25.088235
69
0.526377
[ "MIT" ]
rhythmagency/formulate
src/formulate.app/Constants/Trees/DataValues.cs
855
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace arrays { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); var matrix = new int[n,n]; for (in...
32.561538
144
0.300496
[ "MIT" ]
grekssi/Softuni-Courses
SoftUni/01. .NET Courses/03. C# Advanced/02. Multidimensional Arrays/08. Bombs/Bombs.cs
4,233
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // ------------------------------------------------------------------------------ // Changes to this file must follow the https://aka.ms/api-review process. // -----------------------...
124.418006
612
0.770145
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.cs
38,694
C#
using Elastic.Xunit.XunitPlumbing; using Nest; namespace Examples.Ml.AnomalyDetection.Apis { public class DeleteCalendarEventPage : ExampleBase { [U(Skip = "Example not implemented")] public void Line47() { // tag::f6982ff80b9a64cd5fcac5b20908c906[] var response0 = new SearchResponse<object>(); // end...
25.777778
97
0.75431
[ "Apache-2.0" ]
AnthAbou/elasticsearch-net
src/Examples/Examples/Ml/AnomalyDetection/Apis/DeleteCalendarEventPage.cs
464
C#
/* * Bungie.Net API * * These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality. * * OpenAPI spec version: 2.1.1 * Contact: support@bungie.com * Generated by: https://github.com...
59.708319
273
0.662116
[ "MIT" ]
xlxCLUxlx/BungieNetPlatform
src/BungieNetPlatform/Api/ForumApi.cs
177,274
C#
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Grpc.Net.Client; using ProtoBuf.Grpc.Client; using TheRing.Example.Common; namespace TheRing.Example.GrpcClient { class ConsoleDumper : ISomething<string> { public void Foo(int x, ...
27.01087
100
0.503421
[ "MIT" ]
ldematte/TheRing
TheRing.Example.GrpcClient/Program.cs
2,487
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("01...
38.783784
84
0.743554
[ "MIT" ]
wIksS/Telerik-Academy
Programming with C#/5. C# Data Structures and Algorithms/02. Linear Data Structures/01. Sum and Average of Sequence/Properties/AssemblyInfo.cs
1,438
C#
using System; using System.ComponentModel; using System.Data; using System.Data.Common; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Threading.Tasks; namespace AsyncDataAdapter.Internal { public static partial class AsyncDataReaderMethods { pub...
45.065868
365
0.510763
[ "MIT" ]
Jehoel/AsyncDataAdapter
AsyncDataAdapter/Data/Core/FillAsync.cs
7,526
C#
using System; using soen390_team01.Data.Entities; using System.Collections.Generic; using soen390_team01.Data; using Microsoft.EntityFrameworkCore; using System.Linq; using soen390_team01.Data.Exceptions; using soen390_team01.Services; using soen390_team01.Data.Queries; using Npgsql; namespace soen390_team01.Models { ...
35.301075
115
0.532897
[ "MIT" ]
jshoyos/soen390-team01
soen390-team01/soen390-team01/Models/AssemblyModel.cs
6,566
C#
namespace EasyCaching.Demo.Interceptors { using AspectCore.Extensions.DependencyInjection; using Autofac.Extensions.DependencyInjection; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; public class Program { public static void Main(string[] args) ...
32.857143
83
0.586957
[ "MIT" ]
KostaVlev/EasyCaching
sample/EasyCaching.Demo.Interceptors/Program.cs
922
C#
datablock TSShapeConstructor(BiodermLightDts) { baseShape = "bioderm_light.dts"; sequence0 = "bioderm_light_root.dsq root"; sequence1 = "bioderm_light_forward.dsq run"; sequence2 = "bioderm_light_back.dsq back"; sequence3 = "bioderm_light_side.dsq side"; sequence4 = "bioderm_light_lookde.dsq loo...
48.139535
59
0.748309
[ "MIT" ]
jdknight/t2ds
GameData/base/scripts/bioderm_light.cs
2,070
C#
/* ==================================================================== Copyright (C) 2004-2008 fyiReporting Software, LLC This file is part of the fyiReporting RDL project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. ...
35.558074
163
0.621893
[ "Apache-2.0" ]
gregberns/ZipRdlProjectDev410
src/RdlDesign/SQLCtl.cs
12,552
C#
// UserControllerResetUsername.cs // Copyright (c) 2007 - 2021 Brain Health Alliance. All Rights Reserved. // Code license: the OSI approved Apache 2.0 License (https://opensource.org/licenses/Apache-2.0). using System; using PDP.DREAM.CoreDataLib.Models; using PDP.DREAM.CoreDataLib.Services; namespace PDP.DREAM....
31.192771
119
0.619544
[ "Apache-2.0" ]
BHAVIUS/PDP-DREAM
PDP.DREAM.NexusDataLib/Controllers/UserControllerResetUsername.cs
2,591
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.ComTypes; using System.Text; using System.Xml; using System.Xml.Linq; using xdef.net.Connection; namespace xdef.net.Utils { class BigEndianDataBuilder : IDisposable { private Memory...
24.487179
69
0.5274
[ "Apache-2.0" ]
adameste/xdef.net
xdef.net/xdef.net/Utils/BigEndianDataBuilder.cs
2,867
C#
using System; using System.ComponentModel.DataAnnotations; namespace AspNetCoreTodo.Models { public class TodoItem { public long Id { get; set; } public string UserId { get; set; } public bool IsDone { get; set; } [Required] public string Title { get; set; } publ...
22.9375
50
0.613079
[ "MIT" ]
diguifi/Little-ASP.NET-Core-App
AspNetCoreTodo/Models/TodoItem.cs
367
C#
using DarkUI.Config; using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace DarkUI.Controls { [ToolboxBitmap(typeof(Button))] [DefaultEvent("Click")] public class DarkButton : Button { #region Field Region private bool _useGenericBackCol...
29.551948
148
0.496521
[ "MIT" ]
ActuallyaDeviloper/DarkUI
DarkUI/Controls/DarkButton.cs
13,655
C#
using System; using System.Collections.Generic; namespace Agence.Domain.Entities { public partial class CaoAviso { public long CoAviso { get; set; } public string DsAviso { get; set; } } }
18.25
43
0.652968
[ "Apache-2.0" ]
MoyaSoftInk/Sputnik
Agence/Agence.Domain/Entities/CaoAviso.cs
221
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.AwsN...
26.232558
81
0.613475
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/Lambda/Outputs/FunctionImageConfig.cs
1,128
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Logging; using Engine.Platform; using Engine; namespace Engine.Platform { public class Touches { GenericObjectPool<Finger> fingerPool = new GenericObjectPool<Finger>(); private FastIterator...
27.19
112
0.497242
[ "MIT" ]
AnomalousMedical/Engine
Engine/Platform/Input/Touch/Touches.cs
2,721
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjecti...
30.6
117
0.714201
[ "MIT" ]
boyswabe/Cloud-Native-HOL
src/Lab03/Start/Gateway/Startup.cs
1,683
C#
using System; using xServer.Core.Networking; namespace xServer.Core.Packets.ServerPackets { [Serializable] public class SetAuthenticationSuccess : IPacket { public SetAuthenticationSuccess() { } public void Execute(Client client) { client....
18.631579
52
0.576271
[ "MIT" ]
pavitra14/Xtremis-V2.0
Server/Core/Packets/ServerPackets/SetAuthenticationSuccess.cs
356
C#
using Android.App; using Android.Content.PM; using Android.OS; namespace CustomSplash.Droid { [Activity(Label = "CustomSplash", Icon = "@mipmap/icon", Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] //[Activity(Label = "CustomSplash", Icon = "@mipmap/i...
43.761905
189
0.702938
[ "MIT" ]
mallibone/LaunchExperience
CustomSplash/CustomSplash.Android/MainActivity.cs
921
C#
using System.Collections.Generic; using System.Text; using AsmResolver.IO; namespace AsmResolver.PE.Exports.Builder { /// <summary> /// Represents a mutable buffer that stores strings referenced by exported symbols in the export data directory. /// </summary> public class NameTableBuffer : SegmentBase ...
32.096774
117
0.564322
[ "MIT" ]
Anonym0ose/AsmResolver
src/AsmResolver.PE/Exports/Builder/NameTableBuffer.cs
1,990
C#
using System; using System.Linq; using Simple.Sqlite; namespace Test.Sample { public class DocumentStorage { public static void run() { NoSqliteStorage db = new NoSqliteStorage("myStuff.db"); Console.WriteLine($"Database is at {db.DatabaseFileName}"); var d...
28.277778
71
0.506876
[ "MIT" ]
DaniloOtavio/SqliteWrapper
Test/Sample/DocumentStorage.cs
1,020
C#
/* * Title Direct Search Services * * Title Direct Search Services * * OpenAPI spec version: 4.0.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System.Runtime.Serialization; namespace Pims.Ltsa.Models { /// <summary> /// An Order /// </summary> [DataContract] ...
19.310345
67
0.594643
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/ltsa/Models/Order.cs
560
C#
//----------------------------------------------------------------------- // <copyright file="TestKitBase_ExpectMsgFrom.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </...
54.416
212
0.637019
[ "Apache-2.0" ]
to11mtm/akka.net
src/core/Akka.TestKit/TestKitBase_ExpectMsgFrom.cs
6,804
C#
using UnityEngine; using UnityEngine.UI; public static class UnityExtension { public static void SetLocalPositionX(this Transform trans, float x) { Vector3 tempVector3 = trans.localPosition; tempVector3.x = x; trans.localPosition = tempVector3; } public static void SetLocalPos...
27.787234
86
0.655054
[ "MIT" ]
zhang00lei/UnityEditorTools
UnityEditorTools/Assets/Script/Extensions/UnityExtension.cs
2,614
C#
namespace Steamworks { public enum EGCResults { k_EGCResultOK, k_EGCResultNoMessage, k_EGCResultBufferTooSmall, k_EGCResultNotLoggedOn, k_EGCResultInvalidMessage } }
14.916667
28
0.804469
[ "MIT" ]
undancer/oni-data
Managed/firstpass/Steamworks/EGCResults.cs
179
C#
using System; using System.IO; using Microsoft.AspNetCore.Hosting; namespace HelloWeb { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() .UseKestrel() .UseContentRoot(Directory.GetCurrent...
22.818182
72
0.482072
[ "Apache-2.0" ]
kerryjiang/dotnetcore-samples
web/Program.cs
504
C#
// <copyright file="ProcessCloseInfo.cs" company="Traced-Ideas, Czech republic"> // Copyright (c) 1990-2021 All Right Reserved // </copyright> // <author>vl</author> // <email></email> // <date>2021-09-01</date> // <summary>Part of Largo Composer</summary> using JetBrains.Annotations; namespace LargoSharedClasses.Su...
33.333333
122
0.55
[ "MIT" ]
Vladimir1965/LargoComposer
LargoSharedClasses/Support/ProcessCloseInfo.cs
2,702
C#
namespace LP_RC_UI { partial class Form3 { /// <summary> /// Variable del diseñador necesaria. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Limpiar los recursos que se estén usando. /// </summary...
51.592453
172
0.601083
[ "MIT" ]
lncspn/LP_Relay-Controller_UI
LP_Relay Controller_UI/Form3.Designer.cs
13,682
C#
using System; using System.Runtime.Serialization; using Newtonsoft.Json; using SyncService.HiDriveClient.Serialization; namespace SyncService.HiDriveClient.Models { [DataContract] public class FileItem { [DataMember(Name = "ctime")] [JsonConverter(typeof(TimestampConverter))] publi...
27.172414
57
0.59264
[ "MIT" ]
Breakpoint21/SyncService
src/SyncService.HiDriveClient/Models/FileItem.cs
1,576
C#
using System; using System.Collections.Generic; using LavaLeak.Diplomata.Helpers; using LavaLeak.Diplomata.Models; namespace LavaLeak.Diplomata.Persistence { /// <summary> /// The abstract class to the main models data store. /// </summary> [Serializable] abstract public class Data { /// <summary> ...
29.955882
100
0.603829
[ "MIT" ]
CelsoTeixeira/diplomata-unity
Diplomata/Persistence/Data.cs
2,037
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SocketTestClient { abstract class BasicData { } }
14.571429
34
0.696078
[ "MIT" ]
a7866353/MySharpNEAT
src/SocketPipeClient/BasicData.cs
206
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // using System.Collections.Generic; namespace Microsoft.FeatureManagement { /// <summary> /// The definition of a feature. /// </summary> public class FeatureDefinition { /// <summary> /// The name of the f...
26.541667
121
0.615385
[ "MIT" ]
DavidsCavalcante/FeatureManagement-Dotnet
src/Microsoft.FeatureManagement/FeatureDefinition.cs
639
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...
32.940299
81
0.64522
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20210201/Outputs/ExpressRouteCircuitPeeringConfigResponse.cs
2,207
C#
using System.Drawing; using System.Windows.Forms; namespace VirtualControls.Controls { public class VirtualControl { public Rectangle Rectangle { get; set; } public object Tag { get; set; } public string Name { get; set; } public Font Font { get; set; } public VirtualCo...
28.363636
65
0.520604
[ "MIT" ]
CSA/CustomControls
VirtualControls/VirtualControls/Controls/VirtualControl.cs
2,190
C#
// ------------------------------------------------------------------------- // Copyright © 2021 Province of British Columbia // // 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 // // h...
34.976744
141
0.572473
[ "Apache-2.0" ]
Christopher-Tihor/embc-ess-mod
evacuees/src/API/EMBC.Registrants.API/Utils/MessagingClient.cs
3,011
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <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 regenerate...
59.822104
229
0.809155
[ "MIT" ]
bio90/PhotoBrowser.Forms
Test/Test.Android/Resources/Resource.designer.cs
607,314
C#
// Copyright (c) Umbraco. // See LICENSE for more details. using System; using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; using Umbraco.Cms.Core.IO; using Umbraco.Cms.Core.Services; using Umbraco.Cms.Web.Common.DependencyInjection; namespace Umbraco.Cms.Core.PropertyEditors { int...
36.410256
165
0.673239
[ "MIT" ]
Lantzify/Umbraco-CMS
src/Umbraco.Core/PropertyEditors/ContentPickerConfigurationEditor.cs
1,422
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PointEnemyFollow : MonoBehaviour { public Transform[] pointTransform; void Awake() { pointTransform = new Transform[transform.childCount]; for (int i = 0; i < pointTransform.Length; i++) {...
20.736842
61
0.642132
[ "MIT" ]
iletai/TowerDefense
Scripts/Maps/Points/PointEnemyFollow.cs
396
C#
// Copyright (c) 2021 Yoakke. // Licensed under the Apache License, Version 2.0. // Source repository: https://github.com/LanguageDev/Yoakke using System; using System.Collections.Generic; using System.Text; namespace Yoakke.Automata.Sparse { /// <summary> /// Represents a read-only, sparse NFA. /// </sum...
36.137931
126
0.671756
[ "Apache-2.0" ]
kant2002/Yoakke
Sources/Core/Yoakke.Automata/Sparse/IReadOnlySparseNfa.cs
1,048
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.464286
98
0.708579
[ "MIT" ]
RichTeaMan/Draughts
Draughts.UI.Wpf/Properties/AssemblyInfo.cs
2,381
C#
/******************************************************************************* * Copyright 2012-2019 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...
46.670077
275
0.612451
[ "Apache-2.0" ]
5u5hma/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CloudWatchEvents/Basic/Write-CWERule-Cmdlet.cs
18,248
C#
using System; using System.Collections.Generic; using System.Linq; using Cofoundry.Domain; using Cofoundry.Core.ResourceFiles; using Microsoft.AspNetCore.Routing; namespace Cofoundry.Web.Admin { /// <summary> /// Registers instances of IStandardAngularModuleRegistration, which is used as a shortcut to //...
36.299145
121
0.620909
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Web.Admin/Framework/Angular/StandardAngularModules/StandardAngularModuleBootstrapper.cs
4,249
C#
using System; namespace MovieAPI.Areas.HelpPage.ModelDescriptions { /// <summary> /// Describes a type model. /// </summary> public abstract class ModelDescription { public string Documentation { get; set; } public Type ModelType { get; set; } public string Name { get; set...
20.6875
51
0.616314
[ "MIT" ]
LauraElenaPopescu/MovieAPI
src/MovieAPI/MovieAPI/Areas/HelpPage/ModelDescriptions/ModelDescription.cs
331
C#
using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Serialization; namespace MeetHooks.Engine.Meetup { public class GroupEventsClient { private readonly MeetupHttpClientFactory _factory; public Grou...
26.6
106
0.634801
[ "MIT" ]
kevbite/MeetHooks
src/MeetHooks.Engine/Meetup/GroupEventsClient.cs
933
C#
using System; namespace Measurement { /// <summary> /// An internal class buit automatically by system to represent /// how to print out Enum classes. /// </summary> internal class StringEnumAttribute : Attribute { } }
20.666667
67
0.649194
[ "MIT" ]
lim147/capstone-mini-game-battery-project
Assets/Scripts/Src/Measurement/StringEnumAttribute.cs
250
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
48.296041
255
0.565645
[ "MIT" ]
FosterMichelle/azure-powershell
src/ServiceManagement/Compute/Commands.ServiceManagement/IaaS/PersistentVMs/NewAzureVM.cs
27,484
C#
namespace Core { using System.Globalization; using System.Reflection; using System.Threading.Tasks; public static class EventHandlingExtensions { public static void ConsumeDispatchedEvent(this IAggregate aggregate, IAggregateEvent @event) { var type = typeof(IDispatchAg...
36.736842
113
0.594556
[ "MIT" ]
philoUK/MyES
src/Core/EventHandlingExtensions.cs
1,398
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.Diagnostics; using System.IO; using System.Security.Cryptography; using System.Security.C...
36.523649
142
0.544168
[ "MIT" ]
1shekhar/runtime
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/OpenSslX509Encoder.cs
10,811
C#
// Copyright (c) Microsoft Open Technologies, Inc. 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.Net; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; using Microsoft....
43.9
111
0.691181
[ "Apache-2.0" ]
ardalis/Mvc
test/Microsoft.AspNet.Mvc.FunctionalTests/LinkGenerationTests.cs
3,077
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...
36.112245
188
0.64538
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodeDeploy/Generated/Model/Internal/MarshallTransformations/AutoRollbackConfigurationUnmarshaller.cs
3,539
C#
using System; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using ActiproSoftware.Windows.Controls.Ribbon; namespace ActiproSoftware.ProductSamples.RibbonSamples.Demo.DocumentEditor { /// <summary> /// Contains the information about the currently open file. /// <...
27.057143
103
0.560014
[ "MIT" ]
Actipro/WPF-Controls
Samples/SampleBrowser/ProductSamples/RibbonSamples/Demo/DocumentEditor/DocumentData.cs
2,841
C#
using System; using System.ComponentModel.DataAnnotations; namespace DotnetSpider.Broker.Data { public class JobProperty : Entity { [Required] public virtual Guid JobId { get; set; } [Required] [StringLength(50)] public virtual string Key { get; set; } [Required] [StringLength(500)] public virtual...
17.65
44
0.705382
[ "MIT" ]
DavidAlphaFox/DotnetSpider
src/DotnetSpider.Broker/Data/JobProperty.cs
355
C#
using System; using System.Collections.Generic; using System.Linq; namespace Microsoft.Playwright { /// <summary> /// Contains useful extensions methods. /// </summary> public static class HeaderExtensions { /// <summary> /// Attempts to get the header value for a <see cref="IReques...
36.552632
108
0.575954
[ "MIT" ]
hardkoded/playwright-sharp
src/Playwright/Contracts/Extensions/HeaderExtensions.cs
2,778
C#
using System; using System.Globalization; using System.Threading.Tasks; using Common.Log; using Lykke.Common.Log; using Lykke.SettingsReader; using Microsoft.WindowsAzure.Storage.Table; namespace AzureStorage.Tables.Templates { public class SetupEntity : TableEntity { public string Value { get; set; }...
29.821782
113
0.625498
[ "MIT" ]
LykkeBusinessPlatform/AzureStorage
src/Lykke.AzureStorage/Tables/Templates/SetupByPartition.cs
3,014
C#
using AutoMapper; namespace AdminLTEPro { public class AdminLTEProApplicationAutoMapperProfile : Profile { public AdminLTEProApplicationAutoMapperProfile() { /* You can configure your AutoMapper mapping configuration here. * Alternatively, you can split your mapping co...
28.4
76
0.673709
[ "MIT" ]
abdumostafa/Abp.AspNetCore.Mvc.UI.Theme.AdminLTE
src/AdminLTEPro.Application/AdminLTEProApplicationAutoMapperProfile.cs
428
C#
using System; using System.ComponentModel.DataAnnotations; using Sharprompt; namespace CreateFunctionApp { class Program { static void Main(string[] args) { var projectName = Prompt.Input<string>("Project name"); var workerRuntime = Prompt.Select<WorkerRuntime>("Worker...
28.25
124
0.546706
[ "MIT" ]
shibayan/create-function-app-mock
CreateFunctionApp/Program.cs
3,053
C#
namespace NDDDSample.Interfaces.HandlingService.WebService { #region Usings using System.ServiceModel; #endregion [ServiceContract] public interface IHandlingReportService { [OperationContract, FaultContract(typeof (HandlingReportException))] void SubmitReport(HandlingReport ...
22.933333
76
0.735465
[ "MIT" ]
aivascu/ndddsample
src/NDDDSample/app/interfaces/NDDDSample.Interfaces.HandlingService/WebService/IHandlingReportService.cs
346
C#
namespace NuGetForUnity.Editor { /// <summary> /// Represents a package available from NuGet. /// </summary> [System.SerializableAttribute] public class NugetPackage : NugetPackageIdentifier, System.IEquatable<NugetPackage>, System.Collections.Gen...
38.579882
116
0.593865
[ "MIT" ]
cnheider/NuGetForUnity
Editor/NugetPackage.cs
6,522
C#
using System; namespace ArrayRearrangement { class ArrRearrangement { double[] a; public ArrRearrangement(int n) { a = new double[n]; Read(); } void Read() { Console.WriteLine("Въведете последователно реални числа, като след всяко натискате Enter!"); for (int i = 0; i < a.Length; i++) { ...
21.904762
95
0.596739
[ "MIT" ]
DemirevMartin/CSharp
11th grade/First-semester/9. Arrays/ArrayRearrangement/ArrayRearrangement/Program.cs
990
C#
using System; using System.Collections.Generic; using MagicLockScreen_Service_ImageSearchService.Models; using NoteOne_Core.Common; using NoteOne_Utility.Extensions; namespace MagicLockScreen_Service_ImageSearchService.Results { public class GoogleImageSearchResult : QueryResult { public GoogleImageSe...
42.101852
118
0.477018
[ "MIT" ]
Jarrey/MagicLockScreen
src/MagicLockScreen.Service.ImageSearchService/Results/GoogleImageSearchResult.cs
4,549
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...
30.078947
108
0.625984
[ "Apache-2.0" ]
HaiNguyenMediaStep/aws-sdk-net
sdk/src/Services/Comprehend/Generated/Model/DominantLanguage.cs
2,286
C#
/******************************************************************************* * Copyright (C) JuCheap.Com * * Author: dj.wong * Create Date: 09/04/2015 11:47:14 * Description: Automated building by service@JuCheap.com * * Revision History: * Date Author Description * ***********************...
28.419355
95
0.483541
[ "MIT" ]
h351110124/JuCheap.2.0
JuCheap.Data/Config/PageViewConfig.cs
893
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...
37.378378
84
0.742589
[ "Apache-2.0" ]
kauegimenes/movie-rating
Comum/Properties/AssemblyInfo.cs
1,386
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("10...
38.135135
84
0.746279
[ "MIT" ]
Petrakisos/TelerikAcademy
CSharpPart1/04ConsoleInAndOut/10.FibonacciNumbers/Properties/AssemblyInfo.cs
1,414
C#
using HarmonyLib; using System.Reflection; namespace GorillaCosmetics.HarmonyPatches { /// <summary> /// Apply and remove all of our Harmony patches through this class /// </summary> public class GorillaCosmeticsPatches { private static Harmony instance; public static bool IsPatch...
26.282051
88
0.536585
[ "MIT" ]
AHauntedArmy/GorillaCosmetics
GorillaCosmetics/HarmonyPatches/GorillaCosmeticsPatches.cs
1,027
C#
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; using UnityEngine.UI; public class MainMenu : MonoBehaviour { public Text txt_0; public Text txt_1; public Text txt_2; public Text txt_3; public GameObject newgame_menu; public T...
34.604563
133
0.517086
[ "MIT" ]
skyhoffert/VegaVoyage
Assets/Scripts/MainMenu.cs
9,103
C#
using System.Text; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using RabbitMQ.Client; namespace Common.Messaging { public abstract class ProducerBase<T> : RabbitMqClientBase, IMessageProducer<T> { private readonly ILogger<ProducerBase<T>> _logger; protected ProducerBase(Connect...
37.861111
115
0.600147
[ "MIT" ]
CodeMazeBlog/CodeMazeGuides
aspnetcore-webapi/LongRunningTaskDemo/Common/Messaging/ProducerBase.cs
1,365
C#
using MollieApi.Net.Resources; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MollieApi.Net.Endpoints { public class InvoiceEndpoint : CollectionEndpointAbstract<Invoice, InvoiceCollection> { public InvoiceEndpoi...
35
135
0.582749
[ "MIT" ]
janssenr/MollieApi.Net
src/MollieApi.Net/Endpoints/InvoiceEndpoint.cs
1,857
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.Memory; us...
46.427673
190
0.609117
[ "Apache-2.0" ]
jongleur1983/ImageSharp
src/ImageSharp/Processing/Processors/Convolution/BokehBlurProcessor{TPixel}.cs
14,764
C#
/* * Copyright (c) 2015 Andrew Johnson * * 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, ...
37
91
0.638161
[ "MIT" ]
helios2k6/MobileImageProcessor
Scrape/Driver.cs
2,481
C#
using System; using System.Collections.Generic; using System.Drawing; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; namespace BlueNoiseSampling.Benchmark { internal class Program { static void Main(string[] args) { var summary = BenchmarkRunner.Run<SpatialSTorage...
32.95082
184
0.60995
[ "MIT" ]
Xelbair/BlueNoiseSampling
src/BlueNoiseSampling.Benchmark/Program.cs
2,012
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using NiL.JS.BaseLibrary; using NiL.JS.Core; using System.Collections; using System; namespace IntegrationTests.Core { [TestClass] public class ToolsTests { [TestMethod] public void LongNumberShouldParsedC...
50.2
226
0.512669
[ "BSD-3-Clause" ]
0xF6/NiL.JS
IntegrationTests/Core/ToolsTests.cs
6,275
C#
// 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 writing, software distributed under the ...
52.016996
168
0.64629
[ "Apache-2.0" ]
JustinBeckwith/google-api-dotnet-client
Src/Generated/Google.Apis.ServiceUsage.v1beta1/Google.Apis.ServiceUsage.v1beta1.cs
168,335
C#
using System; using System.Xml; using System.Xml.Serialization; using System.IO; namespace VeryAnimation.grendgine_collada { [System.SerializableAttribute()] [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] public partial class Grendgine_Collada_Renderable_Share { [XmlAttribute("share")] public...
18.888889
64
0.794118
[ "MIT" ]
tommyboys0107/FGJ19_TeamG
Assets/VeryAnimation/Scripts/Editor/XLibrary/Collada_Main/Collada_FX/Custom_Types/Grendgine_Collada_Renderable_Share.cs
340
C#
using Microsoft.AspNetCore.Components; using Microsoft.EntityFrameworkCore; using MudBlazor; using OurCleanFuture.Data; using OurCleanFuture.Data.Entities; using Action = OurCleanFuture.Data.Entities.Action; namespace OurCleanFuture.App.Pages.Areas; public partial class Details : IDisposable { private bool isLoad...
29.878788
190
0.669878
[ "Apache-2.0" ]
ytgov-env/climate-change-indicators
src/OurCleanFuture.App/Pages/Areas/Details.razor.cs
1,972
C#
// Licensed to the Apache Software Foundation (ASF) under one or more // contributor license agreements. See the NOTICE file distributed with // this work for additional information regarding copyright ownership. // The ASF licenses this file to You under the Apache License, Version 2.0 // (the "License"); you may not...
42.566618
177
0.56623
[ "Apache-2.0" ]
1mikegrn/arrow
csharp/test/Apache.Arrow.Tests/ArrowStreamWriterTests.cs
29,075
C#
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
36.858871
173
0.598731
[ "Apache-2.0" ]
CaptiveLogix/Thinktecture.IdentityServer.v3
source/Core/Validation/TokenValidator.cs
9,143
C#
// This code is part of the Fungus library (https://github.com/snozbot/fungus) // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; namespace Fungus { /// <summary> /// Base class for all FungusCollection commands /// </su...
27.428571
116
0.619792
[ "MIT" ]
Arylos07/fungus
Assets/Fungus/Scripts/Commands/Collection/CollectionBaseCommand.cs
962
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
54.133127
218
0.652674
[ "MIT" ]
LeszekKalibrate/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateLinkResourceCollection.cs
17,485
C#
namespace MassTransit.JobService.Pipeline { using System; using Components; using Components.Consumers; using Configuration; using ConsumeConnectors; using ConsumerSpecifications; using GreenPipes; using MassTransit.Pipeline; using MassTransit.Pipeline.ConsumerFactories; using Ma...
47.603604
160
0.728615
[ "ECL-2.0", "Apache-2.0" ]
Aerodynamite/MassTrans
src/MassTransit/JobService/Pipeline/JobConsumerMessageConnector.cs
5,284
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.VictimServices.Interfaces.Models { using Newtonsoft.Json; using System.Linq; /// <summary> /// ...
36.11
545
0.619219
[ "Apache-2.0" ]
JonTaylorBCGov2/pssg-cscp-cpu
cpu-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMOptionSetMetadataBase.cs
3,611
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // // <OWNER>[....]</OWNER> // /*============================================================================= ** ** Class: ExecutionEngineException ** ** ** Purpose: The exception class for misc execution engine exceptions. ** ...
32.5
161
0.609615
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/clr/src/BCL/system/executionengineexception.cs
1,560
C#
using System; using System.IO; using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; namespace HoloToolkit.Unity { public class SetIconsWindow : EditorWindow { private const string WindowTitle = "Tile Generator"; private const string InitialOutputDirecto...
40.922737
223
0.526055
[ "MIT" ]
4dpocket/Unitytest1
DesignLabs_Unity/Assets/HoloToolkit/Utilities/Editor/SetIconsWindow.cs
18,540
C#
using System; using System.Collections.Generic; using System.Text; namespace BtseApi.Client.DataClasses.Futures { public class AmendOrderForm { /// <summary> /// PRICE - Amend Price /// SIZE - Amend Size /// TRIGGER - Amend Trigger Price /// </summary> public st...
26.358974
76
0.535992
[ "MIT" ]
barsv/BTSEClient.Net
BTSEClient/BtseApi.Client/DataClasses/Futures/AmendOrderForm.cs
1,030
C#
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif using UnityEngine.Rendering; namespace UnityPlatformer { /// <summary> /// Shortcut to create a Trigger2D, configure: PolygonCollider2D and Rigidbody2D. /// *NOTE* Rigidbody2D will be hidden. /// </summary> [ExecuteInEditMode] public class PolyT...
26.357143
83
0.626694
[ "MIT" ]
llafuente/unity-platformer
Assets/UnityPlatformer/Scripts/Utils/PolyTrigger2D.cs
1,476
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric.Backup...
32.961538
98
0.569428
[ "MIT" ]
AndreyTretyak/service-fabric
src/prod/src/managed/FabricBRS/src/System/Fabric/BackupRestore/BackupRestoreTypes/BackupMapping.cs
857
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class TankMover : MonoBehaviour { //speed of moving forward/backward [SerializeField] private float Speed = 0.1f; //speed of turning [SerializeField] private ...
31.018868
74
0.621655
[ "MIT" ]
MaxwellJFleming/Last-Tank-on-Earth
Assets/Scripts/TankMover.cs
1,646
C#
using Pokebook.core.Models; using Pokebook.core.Models.DTO; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Pokebook.core.Repositories.Specific { public interface IPokemonRepository : IRepository<Pokemon> { Task<Pokemon> GetByName(string name)...
32.26087
69
0.715633
[ "MIT" ]
PhilibertJens/Pokebook
Pokebook.core/Repositories/Specific/IPokemonRepository.cs
744
C#