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.Collections; using System.Collections.Generic; using UnityEngine; public class WorldDimCalc : MonoBehaviour { public Vector3 dimensions; private void Awake() { if (dimensions == Vector3.zero) { BoxCollider bc = GetComponentInChildren<BoxCollider>(); d...
22
91
0.645933
[ "MIT" ]
DrFrolicks/TheRunningElection
Assets/Scripts/WorldDimCalc.cs
420
C#
namespace Cocona.ShellCompletion.Candidate { /// <summary> /// Specifies the type of a completion candidate result while generating a shell script. /// </summary> public enum CompletionCandidateResultType { Default, File, Directory, Keywords } }
21.571429
92
0.63245
[ "MIT" ]
1Franck/Cocona
src/Cocona.Core/ShellCompletion/Candidate/CompletionCandidateResultType.cs
302
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace StarkPlatform.CodeAnalysis.Host { /// <summary> /// Per language services provided by the host environment. /// </summar...
38.483333
166
0.650498
[ "Apache-2.0" ]
stark-lang/stark-roslyn
src/Workspaces/Core/Portable/Workspace/Host/HostLanguageServices.cs
2,311
C#
namespace Forum.App.Controllers { using Forum.App.Controllers.Contracts; using Forum.App.Services; using Forum.App.UserInterface; using Forum.App.UserInterface.Contracts; using Forum.App.UserInterface.Input; using Forum.App.UserInterface.ViewModels; using System.Linq; public class AddP...
31.458824
72
0.545999
[ "MIT" ]
GitHarr/SoftUni
Homework/C#Fundamentals/C# OOP Basics/7. Workshop/Forum.App/Controllers/AddPostController.cs
2,676
C#
using UnityEngine; namespace FirstPerson.Interaction { public class Interactable : MonoBehaviour { [SerializeField] string nameToDisplay = null; #region Properties public virtual string Name => nameToDisplay; #endregion #region Cached references protected ...
21.615385
73
0.53796
[ "MIT" ]
MarceloCSC/First-Person-Prototype
Assets/Scripts/Interaction System/Interactable.cs
1,688
C#
using System.Collections.Generic; using System.Collections.ObjectModel; namespace BaseData.Web.Areas.HelpPage.ModelDescriptions { public class ParameterDescription { public ParameterDescription() { Annotations = new Collection<ParameterAnnotation>(); } public Collec...
25.857143
80
0.675875
[ "Apache-2.0" ]
twb0223/dms.basedata
DMS.BaseData/BaseData.Web/Areas/HelpPage/ModelDescriptions/ParameterDescription.cs
543
C#
using System.Collections.Generic; using Horizon.Payment.Alipay.Response; namespace Horizon.Payment.Alipay.Request { /// <summary> /// alipay.open.mini.morpho.app.offline /// </summary> public class AlipayOpenMiniMorphoAppOfflineRequest : IAlipayRequest<AlipayOpenMiniMorphoAppOfflineResponse> { ...
22.532258
111
0.544381
[ "Apache-2.0" ]
bluexray/Horizon.Sample
Horizon.Payment.Alipay/Request/AlipayOpenMiniMorphoAppOfflineRequest.cs
2,804
C#
// Copyright (c) Josef Pihrt. 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.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; namespace DotMark...
31.755272
180
0.422924
[ "Apache-2.0" ]
bovorasr/DotMarkdown
src/DotMarkdown/MarkdownBaseWriter.cs
57,225
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; // This is a test script for the purpuse of making sure i can commit // If anyone wants to test thier commit add a there name below: // David Mayfield public class TestScript : MonoBehaviour { // Start is called before the first frame ...
19.391304
68
0.665919
[ "Unlicense" ]
DavidMayfield1818/RPG-Dungeon-Video
Assets/Scripts/TestScript.cs
446
C#
#if UNIX // // Copyright (C) Microsoft. All rights reserved. // using System.Diagnostics.Eventing; using System.Management.Automation.Configuration; using System.Management.Automation.Internal; using System.Text; using System.Collections.Generic; namespace System.Management.Automation.Tracing { /// <summary> ...
39.938053
151
0.586676
[ "Apache-2.0", "MIT-0" ]
rsumner31/PowerShell-2
src/System.Management.Automation/utils/tracing/PSSysLogProvider.cs
13,539
C#
using System; using Equinor.ProCoSys.Preservation.Command.EventHandlers.HistoryEvents; using Equinor.ProCoSys.Preservation.Domain.AggregateModels.HistoryAggregate; using Equinor.ProCoSys.Preservation.Domain.Events; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace Equinor.ProCoSys.Preservation....
36.436364
88
0.659681
[ "MIT" ]
equinor/pcs-preservation-api
src/tests/Equinor.ProCoSys.Preservation.Command.Tests/EventHandlers/HistoryEvents/PreservationCompletedEventHandlerTests.cs
2,006
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace Angulari18n { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*p...
24.125
99
0.587219
[ "MIT" ]
johnproctor/SimpleAngulari18n
Angulari18n/App_Start/RouteConfig.cs
581
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using Apkd; using Odin = Sirenix.OdinInspector; public class HealthComponent : MonoBehaviour { [S] public float MaxHealth { get; private set; } [S] public float CurrentHealth { get; private set; } publ...
21.904762
71
0.596377
[ "Apache-2.0" ]
anitamiring/Tear-ible-paper
GayJam_2019/Assets/Code/Game/HealthComponent.cs
1,382
C#
// // ColorUtils.cs // // Lunar Unity Mobile Console // https://github.com/SpaceMadness/lunar-unity-console // // Copyright 2017 Alex Lementuev, SpaceMadness. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtai...
30.492063
76
0.577824
[ "MIT" ]
pdyxs/UnityProjectStarter
Assets/Plugins/Externals/LunarConsole/Scripts/Utils/ColorUtils.cs
1,923
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using RageEngine; using RageEngine.ContentPipeline; using SharpDX; namespace RageEngine.Graphics.TwoD { public static class FontRenderer { public static void Draw(string font, string text, Vector2 position, Color4 col...
38.561798
128
0.477273
[ "MIT" ]
Xerios/FacCom
RageEngine/Graphics/2D/FontRenderer.cs
3,434
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("Hou...
37.567568
84
0.747482
[ "MIT" ]
IvanVillani/Coding
C#/coding/DataTypesVariablesMoreExercises/HouseBilder/Properties/AssemblyInfo.cs
1,393
C#
using System; namespace Fixie.Samples.NUnitStyle { [AttributeUsage(AttributeTargets.Class)] public class TestFixtureAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method)] public class TestFixtureSetUpAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method)] public clas...
29.914286
87
0.719198
[ "MIT" ]
ChrisMissal/fixie
src/Fixie.Samples/NUnitStyle/Attributes.cs
1,049
C#
namespace OAuth2Server.ViewModels.Home { using System.ComponentModel.DataAnnotations; public class ResourceOwnerCredentialsGrantViewModel { [Required] public string Username { get; set; } [Required] public string Password { get; set; } [Required] public st...
22.111111
55
0.625628
[ "Apache-2.0" ]
ErikSchierboom/basicoauth2server.persistent
OAuth2Server/ViewModels/Home/ResourceOwnerCredentialsGrantViewModel.cs
400
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is...
35.53012
230
0.572737
[ "MIT" ]
Azure/azure-powershell-common
src/KeyVault/Version2016-10-1/Models/Vault.cs
2,949
C#
using DILite.WebAPI.Example.Interfaces; using Microsoft.AspNetCore.Mvc; namespace DILite.WebAPI.Example.Controllers { [Route("api/[controller]")] [ApiController] public class ExamplesController : ControllerBase { private readonly ISingleton singleton; private readonly IScoped sc...
23.482759
71
0.593245
[ "MIT" ]
np-albus/DILite
examples/DILite.WebAPI.Example/Controllers/ExamplesController.cs
683
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; using ...
32.584746
216
0.655917
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-yandex
sdk/dotnet/GetVpcSecurityGroupRule.cs
3,845
C#
using System; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using OpenTK.Input; using Processing.OpenTk.Core.Rendering; using Processing.OpenTk.Core.Math; using Processing.OpenTk.Core.Textures; using System.Linq; using Processing.OpenTk.Core.Fonts; using System.Collections.Generic; using Processin...
30.912
145
0.510179
[ "MIT" ]
KelsonBall/KoreUI
src/Processing.OpenTk.Core/Canvas.cs
11,594
C#
using System; using System.Configuration; using System.Data; using System.Diagnostics; using System.Linq; using System.Management; using System.Runtime.InteropServices; using System.Windows.Forms; namespace AppPositioner { class Program { [DllImport("user32.dll")] public static extern bool GetW...
39.011905
191
0.549435
[ "MIT" ]
haseebfurkhan/AppPositioner
AppPositioner/Program.cs
6,554
C#
using OneShot.com.ServiceReference1; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using HashPass; namespace OneShot.com { public partial class Registerlaststep : System.Web.UI.Page { OneShotServiceClient clie...
36.14
164
0.475374
[ "Apache-2.0" ]
Miso-0/oneShot.com
OneShot.com/Registerlaststep.aspx.cs
3,616
C#
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. You * may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
35.81241
80
0.519703
[ "Apache-2.0" ]
gemxd/gemfirexd-oss
gemfirexd/client/test/csharp/ado-tests/GetSchemaTest.cs
24,818
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Attendence_System { class StudentRegistrationModel { private int batchid; private string rollno; private string name; private string fname; ...
21.68
42
0.391605
[ "MIT" ]
jahanzeb-j/Attendance-Management-System
Attendence System/Attendence System/StudentRegistrationModel.cs
2,170
C#
using System; namespace SiaqodbCloudService.Areas.HelpPage { /// <summary> /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. /// </summary> public class InvalidSample { public InvalidSample(string errorMessage)...
26.513514
134
0.579001
[ "Apache-2.0" ]
morecraf/SiaqodbCloud-Service
src/Areas/HelpPage/SampleGeneration/InvalidSample.cs
981
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...
41.316456
242
0.606464
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/Insights/Commands.Insights/Diagnostics/SetAzureRmDiagnosticSettingCommand.cs
12,743
C#
// <auto-generated> // // Generated by // _ _ // /\/\ __ _ _ __ | |__ __ _ ___ ___ ___| |_ // / \ / _` | '_ \| '_ \ / _` / __/ __|/ _ \ __| // / /\/\ \ (_| | | | | | | | (_| \__ \__ \ __/ |_ // \/ \/\__,_|_| |_|_| |_|\__,_|___/___/\___|\__| v 2.0.0 // // <copyri...
39.074468
476
0.575007
[ "Apache-2.0" ]
ARMmbed/mbed-cloud-sdk-dotnet
src/SDK/Foundation/Devices/DeviceEnrollment/DeviceEnrollmentRepository.cs
3,673
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...
61.324223
228
0.685875
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/CognitoIdentityProvider/Generated/_bcl35/AmazonCognitoIdentityProviderClient.cs
556,490
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Web; using Wutnu.Data; namespace Wutnu.Common.ErrorMgr { public class ErrorMgr: IErrorMgr { private readonly IErrorMgr _mgr; public ErrorMgr(WutNuContext entities, HttpContextBase ctx) { ...
30.344444
121
0.566093
[ "Apache-2.0" ]
Matty9191/Wutnu
Wutnu.Common/ErrorMgr/ErrorMgr.cs
2,733
C#
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public partial class TestComponent : global::Microsoft.AspNetCore.Components...
27.942308
126
0.640055
[ "MIT" ]
dotnet/razor-compiler
src/Microsoft.AspNetCore.Razor.Language/test/TestFiles/IntegrationTests/ComponentRuntimeCodeGenerationTest/BuiltIn_BindToInputText_WithFormatFromProperty_WritesAttributes/TestComponent.codegen.cs
1,453
C#
namespace OctanGames.SaveModule.Serialization { public interface ISerializationSystem { bool SerializeObject<T>(T obj); T DeserializeObject<T>(); } }
17.555556
46
0.759494
[ "MIT" ]
TheOctan/save-system
Runtime/Serialization/ISerializationSystem.cs
160
C#
// Copyright (c) 2011, Eric Maupin // All rights reserved. // // Redistribution and use in source and binary forms, with // or without modification, are permitted provided that // the following conditions are met: // // - Redistributions of source code must retain the above // copyright notice, this list of ...
24.855856
99
0.665458
[ "BSD-3-Clause" ]
ermau/Gablarski
src/Gablarski/Client/ClientSourceManager.cs
5,518
C#
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Markup; namespace Korduene.UI.WPF.Converters { public class FileTypeToImageConverter : MarkupExtension, IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture...
30.138889
142
0.496774
[ "MIT" ]
Flippo24/Korduene
Korduene.UI.WPF/Converters/FileTypeToImageConverter.cs
2,172
C#
using JsTypes; namespace Router.TpLink; public static class IRouterHttpMessageSenderExtensions { public static Task SendMessageAsync(this IRouterHttpMessageSender sender, string path, IEnumerable<KeyValuePair<string, string>>? query = null, HttpMethod? method = null) => sender.SendMessageAsync(new RouterH...
50
203
0.781538
[ "MIT" ]
ashenBlade/tpcon
src/Router.TpLink/IRouterHttpMessageSenderExtensions.cs
650
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 ...
37.488372
113
0.66129
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/tasks/v2/google-cloud-tasks-v2-csharp/Google.Cloud.Tasks.V2.StandaloneSnippets/CloudTasksClient.RunTaskRequestObjectSnippet.g.cs
1,612
C#
namespace NotepadSharp { partial class PanelEx { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <param name="disposing">如果应释放托管资源,为 true;否则...
22.153846
71
0.488426
[ "MIT" ]
XHSofts/NotepadSharp
PanelEx.Designer.cs
1,020
C#
using System; using System.Collections.Generic; namespace AbstractFactory.Contracts.Hotels { public interface ICustomer { Guid Id { get; } string FullName { get; } bool IsChild { get; } string PaymentCard { get; } ICollection<IBooking> GetBookings(); void AddBoo...
23.058824
44
0.635204
[ "Apache-2.0" ]
ali515/desing-patterns
01-Creator/03-AbstractFactory/AbstractFactory/Contracts/Hotels/ICustomer.cs
394
C#
namespace pearblossom { partial class Form2 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param ...
34.166667
107
0.559024
[ "Apache-2.0" ]
angela-1/pearblossom
pearblossom/forms/AboutForm.Designer.cs
2,056
C#
using GroceryImport.Core.DataRecords.ProductRecords; namespace GroceryImport.Core.DataRecords.TraderFoods.FourZeroFour.OutputFields { internal sealed class TraderFoods404RegularCalculatorPrice : CalculatorPrice { private readonly ITraderFoods404InputRecord _inputRecord; public TraderFoods404Re...
41.944444
167
0.781457
[ "MIT" ]
Fyzxs/code-exercise-services
GroceryImport/GroceryImport.Core/DataRecords/TraderFoods/FourZeroFour/OutputFields/TraderFoods404RegularCalculatorPrice.cs
755
C#
using System; using System.IO; using UnityEngine; using Flunity.Utils; using Flunity; namespace Flunity.Internal { internal static class ResourceHelper { public static string rootPath = "."; public static String GetDocPath(string localPath) { localPath = NormalizeSeparator(localPath); return Path.Combin...
24.533333
100
0.701087
[ "MIT" ]
canab/flunity
SampleProject/Assets/Flunity/Internal/ResourceHelper.cs
2,208
C#
namespace SharedTrip.ViewModels.Users { public class RegisterUserFormModel { public string Username { get; set; } public string Email { get; set; } public string Password { get; set; } public string ConfirmPassword { get; set; } } }
25.272727
51
0.625899
[ "MIT" ]
GeorgiPopovIT/CSharp-Web
Exams/MyExam/01. Shared Trip_Skeleton - New Framework/SharedTrip/ViewModels/Users/RegisterUserFormModel.cs
280
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
39.458333
157
0.571806
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Navigator/EventArgs/DirectionActionEventArgs.cs
1,897
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.Threading.Tasks; using System.Xml.Schema; ...
27.289079
148
0.549043
[ "MIT" ]
benjamin-bader/corefx
src/System.Xml.ReaderWriter/src/System/Xml/Core/XmlAsyncCheckReader.cs
25,488
C#
using Newtonsoft.Json; using OCTranspo_Net.Converters; using OCTranspo_Net.Models.States; using System; using System.Globalization; using System.Text; namespace OCTranspo_Net.Models { public class Trip { /// <summary> /// Final stop on the trip /// </summary> [JsonProperty("Tri...
38.804688
137
0.598349
[ "MIT" ]
killerrin/OC-Transpo-Net
OCTranspo_Net/Models/Trip.cs
4,969
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> //--...
38.958333
190
0.606061
[ "MIT" ]
delian1986/C-SoftUni-repo
Programming Basics/Win Forms/03. BGN to EUR Converter/Properties/Resources.Designer.cs
2,807
C#
// Copyright (c) Amer Koleci and contributors. // Distributed 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.Runtime.InteropServices; using SharpGen.Runtime; using Vortice.Dxc; namespace HelloDirect3D...
28.961905
118
0.578757
[ "MIT" ]
N500/Vortice.Windows
src/samples/HelloDirect3D12/ShaderIncludeHandler.cs
3,043
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...
28.571429
101
0.602727
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/ParametersFilter.cs
2,200
C#
// Copyright (c) 2015 Alachisoft // // 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 t...
32.903955
82
0.461195
[ "Apache-2.0" ]
NCacheDev/NCache
Src/NCCache/Caching/Topologies/Local/OperationLogger.cs
5,824
C#
// <auto-generated /> using System; using AutoStoper.Authorization.Data.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConve...
36.65625
125
0.574169
[ "MIT" ]
ASxCRO/Api-Gateway-.NET
ApiGateway/AutoStoper.Authorization/Migrations/20210603084005_userPropertiesUpdate.Designer.cs
2,348
C#
using System; using System.Runtime.Serialization; namespace Shop.Module.ApiProfiler { /// <summary> /// A custom timing that usually represents a Remote Procedure Call, allowing better /// visibility into these longer-running calls. /// </summary> [DataContract] public class CustomTiming : IDi...
35.419048
126
0.592095
[ "MIT" ]
LGinC/module-shop
src/server/src/Modules/Shop.Module.ApiProfiler/CustomTiming.cs
3,721
C#
using OakIdeas.Schema.Core.Intangibles; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OakIdeas.Schema.Core.Intangibles { /// <summary> /// A property, used to indicate attributes and relationships of some Thing; equivalent to rdf:Property. /// </summary> ...
33.68
116
0.646081
[ "MIT" ]
oakcool/OakIdeas.Schema
OakIdeas.Schema.Core/Intangibles/Property.cs
844
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...
29.87234
81
0.603989
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/HybridCompute/Latest/Inputs/LocationDataArgs.cs
1,404
C#
using Microsoft.EntityFrameworkCore; namespace MarketingBox.Reporting.Service.Postgres { public class DatabaseContextFactory { private readonly DbContextOptionsBuilder<DatabaseContext> _dbContextOptionsBuilder; public DatabaseContextFactory(DbContextOptionsBuilder<DatabaseContext> dbContextOp...
29.473684
103
0.725
[ "MIT" ]
MyJetMarketingBox/MarketingBox.Reporting.Service
src/MarketingBox.Reporting.Service.Postgres/DatabaseContextFactory.cs
562
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace MixMedia.Hue.Local.Helpers { public static class JsonHelper { public static async Task<TResponse> GetAsync<TResponse>(this HttpClient client, string ...
37
143
0.640581
[ "MIT" ]
NikoMix/MixMedia.Hue
MixMedia.Hue/Local/Helpers/JsonHelper.cs
2,481
C#
using Work_Force.Interfaces; using Work_Force.Models; namespace Work_Force.Entities { public class PartTimeEmployee : Emploee, IEmploee { public PartTimeEmployee(string name) : base(name) { this.WorkHoursPerWeek = 20; } } }
20.357143
53
0.621053
[ "MIT" ]
Koceto/SoftUni
C# Fundamentals/C# OOP Advanced/Object Communications and Events/Work Force/Entities/PartTimeEmployee.cs
287
C#
using ReactiveListDemo.Model; using ReactiveUI; using System; using System.Reactive.Linq; namespace ReactiveListDemo.ViewModels { public class MainViewModel : ReactiveObject { private readonly DataSerivce _dataService; private ReactiveList<TodoItem> _items; private int _count; ...
28.611765
93
0.463405
[ "Unlicense" ]
bitdisaster/parcaticalcode
ReactiveList/ReactiveList/ViewModels/MainViewModel.cs
2,434
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Globalization; using CommunityToolkit.Maui.Extensions.Internals; using Microsoft.Maui.Controls; namespace CommunityToolkit.Maui.Converters; /// <summary> /// Converts/Extracts the incoming value from <see cref="SelectedItemChangedEventArgs"/> object a...
50.186047
195
0.755792
[ "MIT" ]
CalvinAllen/Maui
src/CommunityToolkit.Maui/Converters/ItemSelectedEventArgsConverter.shared.cs
2,160
C#
namespace Science.Collections.MultiDimensional.Linq { using System; /// <summary> /// Provides extensions methods to 2-dimensional arrays. /// </summary> public static partial class ExtensionsTo2DArrays { /// <summary> /// Merges two arrays by using the specified predicate func...
40.4
281
0.558133
[ "MIT" ]
Peter-Juhasz/HX-Main
src/Science.Collections.MultiDimensional.Linq/2D.Combination.cs
7,074
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using AspAbpSPAMay.EntityFrameworkCore; namespace AspAbpSPAMay.Migrations { [DbContext(typeof(AspAbpSPAMayDbContext))...
31.800725
117
0.441295
[ "MIT" ]
Worthy7/AspAbpSpa
src/AspAbpSPAMay.EntityFrameworkCore/Migrations/20170703134115_Remove_IsActive_From_Role.Designer.cs
35,110
C#
using Armature; using Armature.Core; using FluentAssertions; using JetBrains.Annotations; using NUnit.Framework; namespace Tests.Functional { public class SingletonTest { [Test] public void should_create_singleton() { // --arrange var target = CreateTarget(); target.Treat<Subject>() ...
22.448718
144
0.599657
[ "Apache-2.0" ]
Ed-ward/Armature
tests/Tests/src/Functional/SingletonTest.cs
1,751
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("Ph...
37.594595
84
0.745507
[ "MIT" ]
dodther/Pharmacist
Source/Pharmacist/Properties/AssemblyInfo.cs
1,394
C#
using Microsoft.EntityFrameworkCore; using SW.Mtm.Domain; using SW.PrimitiveTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SW.Mtm.Model; namespace SW.Mtm.Resources.Accounts { class Get : IGetHandler<string> { private rea...
34.671429
108
0.590029
[ "MIT" ]
simplify9/Mtm
SW.Mtm.Api/Resources/Accounts/Get.cs
2,429
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\d3d12.h(2611,1) namespace DirectN { public enum D3D12_RESOURCE_BARRIER_TYPE { D3D12_RESOURCE_BARRIER_TYPE_TRANSITION = 0, D3D12_RESOURCE_BARRIER_TYPE_ALIASING = 1, D3D12_RESOURCE_BARRIER_TYPE_UAV = 2, } }
28
82
0.711039
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/D3D12_RESOURCE_BARRIER_TYPE.cs
310
C#
namespace Blazored.Modal { public enum ModalPosition { Center, TopLeft, TopRight, BottomLeft, BottomRight } }
13.583333
29
0.533742
[ "MIT" ]
Codingjames/Modal
src/Blazored.Modal/ModalPosition.cs
165
C#
using System.Collections.Generic; using System.IO; using System.Linq; using static LiteDB.Constants; namespace LiteDB.Engine { /// <summary> /// The DataPage thats stores object data. /// </summary> internal class DataPage : BasePage { /// <summary> /// Read existing DataPage in bu...
32.252874
124
0.57484
[ "MIT" ]
5118234/LiteDB
LiteDB/Engine/Pages/DataPage.cs
2,808
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. namespace AnyPrefix.Microsoft.Scripting.Runtime { public enum BinderType { /// <summary> ...
36.916667
104
0.646727
[ "MIT" ]
shuice/IronPython_UWP
ironpython2/Src/DLR/Src/Microsoft.Dynamic/Runtime/BinderType.cs
886
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.Linq; using Microsoft.AspNetCore.Razor.Language; using Microsoft.AspNetCore.Razor.Language.IntegrationTests; using Microsoft.AspNetCore.Raz...
34.772536
140
0.658801
[ "Apache-2.0" ]
1kevgriff/aspnetcore
src/Razor/Microsoft.AspNetCore.Mvc.Razor.Extensions/test/IntegrationTests/CodeGenerationIntegrationTest.cs
41,275
C#
using LBH.AdultSocialCare.Transactions.Api.V1.Boundary.InvoiceBoundaries.Response; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace LBH.AdultSocialCare.Transactions.Api.V1.UseCase.PayRunUseCases.Interfaces { public interface IGetUniqueInvoiceItemPaymentStatusInPayRunUseCase ...
31.230769
83
0.817734
[ "MIT" ]
LBHackney-IT/lbh-adult-social-care-transactions-api
LBH.AdultSocialCare.Transactions.Api/V1/UseCase/PayRunUseCases/Interfaces/IGetUniqueInvoiceItemPaymentStatusInPayRunUseCase.cs
406
C#
// Copyright (c) Pixel Crushers. All rights reserved. using UnityEngine; namespace PixelCrushers.DialogueSystem { /// <summary> /// Unity UI template for a quest name button with a toggle for progress tracking. /// </summary> [AddComponentMenu("")] // Use wrapper. public class StandardUIQuestTit...
36.090909
157
0.678212
[ "CC0-1.0" ]
Bomtill/Co-op-Assessment-1
Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/UI/Standard/Quest/StandardUIQuestTitleButtonTemplate.cs
1,590
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("LrcEditor")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly...
28.428571
91
0.665829
[ "MIT" ]
SHIINASAMA/lrcdio
LrcEditor/Properties/AssemblyInfo.cs
2,251
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate; using Microsoft.eShopWeb.ApplicationCore.Exceptions; using Microsoft.eShopWeb.ApplicationCore.Inter...
35.81
146
0.699525
[ "MIT" ]
Eduard-Zhyzneuski-Epam/eShopOnWeb
src/Web/Pages/Basket/Checkout.cshtml.cs
3,583
C#
// ======================================== // Project Name : WodiLib // File Name : MoveType.cs // // MIT License Copyright(c) 2019 kameske // see LICENSE file // ======================================== using System.Linq; using WodiLib.Sys; namespace WodiLib.Event { /// <summary> /// 移動タイプ ...
25.672414
58
0.48959
[ "MIT" ]
kameske/WodiLib
WodiLib/WodiLib/Event/Enum/MoveType.cs
1,595
C#
// // This file describes the API that the generator will produce // // Authors: // Geoff Norton // Miguel de Icaza // Aaron Bockover // // Copyright 2009, Novell, Inc. // Copyright 2010, Novell, Inc. // Copyright 2011-2013 Xamarin Inc. // // Permission is hereby granted, free of charge, to any person obtaining /...
32.749353
241
0.73314
[ "BSD-3-Clause" ]
stephen-hawley/xamarin-macios
src/foundation.cs
543,803
C#
using System; using System.IO; namespace SpecsFor.Mvc { public static class Project { public static string Named(string projectName) { Console.WriteLine("Beginning search for project '{0}' in directory '{1}'...", projectName, Environment.CurrentDirectory); var directory = new DirectoryInfo(Envi...
32.533333
344
0.704918
[ "MIT" ]
milesibastos/SpecsFor
SpecsFor.Mvc/Project.cs
976
C#
using System; using System.Linq; using Datadog.Trace.ClrProfiler.Integrations; using Datadog.Trace.ExtensionMethods; using Datadog.Trace.TestHelpers; using Xunit; using Xunit.Abstractions; namespace Datadog.Trace.ClrProfiler.IntegrationTests { public class ServiceStackRedisTests : TestHelper { public S...
41.4
119
0.48913
[ "Apache-2.0" ]
alonf/dd-trace-dotnet
test/Datadog.Trace.ClrProfiler.IntegrationTests/ServiceStackRedisTests.cs
3,312
C#
namespace RiotSharp.StaticDataEndpoint { class ChampionListStaticWrapper { public ChampionListStatic ChampionListStatic { get; private set; } public Language Language { get; private set; } public ChampionData ChampionData { get; private set; } public ChampionListStaticWrapper(C...
31.823529
116
0.672828
[ "MIT" ]
TRangeman/RSharp
RiotSharp/StaticDataEndpoint/Champion/Cache/ChampionListStaticWrapper.cs
543
C#
using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace HouseToolBox.Api.Data.Migrations { public partial class purchasedOrderAdded : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropC...
33.969231
75
0.504982
[ "MIT" ]
Djangoum/HouseToolBox
HouseToolBox.Api.Data/Migrations/20180218233841_purchasedOrderAdded.cs
2,210
C#
using Debwin.Core.Parsers; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Debwin.Core; namespace combit.DebwinExtensions.Parsers { public class BinaryDummyMessageParser : IMessageParser { public LogMessage CreateMessageFrom(object rawMessage) { ...
24.52
78
0.668842
[ "MIT" ]
combit/Debwin
combit.DebwinExtensions/Parsers/BinaryDummyMessageParser.cs
615
C#
using Xamarin.Forms; namespace BindFromControlTemplateToViewModel { public class CardView : ContentView { public static readonly BindableProperty CardNameProperty = BindableProperty.Create(nameof(CardName), typeof(string), typeof(CardView), string.Empty); public static readonly BindablePropert...
41.135135
171
0.68594
[ "MIT" ]
JaridKG/xamarin-forms
BindFromControlTemplateToViewModel/BindFromControlTemplateToViewModel/CardView.cs
1,524
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 JetBrains.Annotations; ...
55.557621
170
0.655069
[ "Apache-2.0" ]
Pilchie/efcore
src/EFCore.Cosmos/Query/Internal/EntityProjectionExpression.cs
14,945
C#
using System.Collections.Generic; using PhotoGallery.Entities; namespace PhotoGallery.Infrastructure.Services { public interface IMembershipService { MembershipContext ValidateUser(string username, string password); User CreateUser(string username, string email, string password, int[] roles); ...
29.428571
85
0.73301
[ "MIT" ]
ramesh-sharma12/asp.net-core-angular2-seed
src/PhotoGallery/Infrastructure/Services/Abstract/IMembershipService.cs
414
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AccountSvc.Models; using AccountSvc.Services; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Web.Models; namespace AccountSvc.Controllers { [Route("[controller]/[acti...
30.410714
99
0.572519
[ "MIT" ]
hd9/aspnet-microservices
src/AccountSvc/Controllers/AccountController.cs
5,111
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Net.Http.Headers; using System.Text; using System.Tex...
42.463636
132
0.598587
[ "MIT" ]
Viir/Kalmit
implement/PersistentProcess/PersistentProcess.WebHost/Asp.cs
9,342
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
49.685065
306
0.618789
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Compute/Management.Compute/Generated/IVirtualMachinesOperations.cs
45,909
C#
using ApplicationBase; using ApplicationBase.Infrastructure.Common; using Autofac; using InfrastructureBase; using InfrastructureBase.EfDataAccess; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflec...
26.911765
73
0.733333
[ "MIT" ]
sd797994/Oxygen-EshopSample
Services/CommonService/JobRunner/CustomerService.cs
931
C#
using FindMaxBinaryTree; using System; using Trees.Classes; using Xunit; namespace Unit_Tests { public class UnitTest1 { [Fact] public void CanPopulateBinaryTreeWithNodes() { BinaryTree binTree = Program.PopulateTree(); Assert.NotNull(binTree); } ...
23.613636
80
0.579403
[ "MIT" ]
paulritzman/Data-Structures-and-Algorithms
Challenges/FindMaxBinaryTree/Unit-Tests/UnitTest1.cs
1,039
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // re...
28.291667
74
0.687776
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/cosmosdb/Microsoft.Azure.Management.CosmosDB/src/Generated/Models/IndexingMode.cs
679
C#
namespace WowGuildManager.Services.Api { using System.Collections.Generic; using WowGuildManager.Models.ApiModels.Logs; using WowGuildManager.Models.ApiModels.Raids; using WowGuildManager.Models.ApiModels.Characters; public interface IApiService { IEnumerable<CharacterApiViewModel> Ge...
32.238095
75
0.762186
[ "MIT" ]
MomchilAngelovv/WoWGuildManager
WowGuildManager/WowGuildManager.Services/Api/IApiService.cs
679
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace NBi.GenbiL.Action.Case { public class ReduceCaseAction : ICaseAction { public List<string> columnNames { get; set; } public ReduceCaseAction(IEnumerable<string> variableNames) ...
28.302326
126
0.542317
[ "Apache-2.0" ]
CoolsJoris/NBi
NBi.genbiL/Action/Case/ReduceCaseAction.cs
1,219
C#
using System.Collections.Generic; using System.Threading.Tasks; using Abp.Application.Services.Dto; using System.Linq; using Abp.Authorization; using Abp.AutoMapper; using Abp.Domain.Repositories; using Abp.Linq.Extensions; using System.Linq.Dynamic.Core; using Microsoft.EntityFrameworkCore; using HC.WeChat.BuSetInf...
24.961353
100
0.704858
[ "MIT" ]
DonaldTdz/syq
aspnet-core/src/HC.WeChat.Application/BuSetInfos/BuSetInfoAppService.cs
5,467
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace JyFramework { public class ObjectModule : BaseModule { public ObjectModule(EventController ec, string name = "ObjectModule") : base(ec, name) { } pr...
23.354839
95
0.58011
[ "MIT" ]
John-Chen-90/JyGame
Assets/FrameworkCore/Modules/Object/ObjectModule.cs
726
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.RISKPLUS.Models { public class PullRegtechNewsRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [Validation(Required=f...
22.965517
54
0.65015
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
riskplus/csharp/core/Models/PullRegtechNewsRequest.cs
710
C#
using System; using Amazon.Runtime.Internal; namespace AWSXRay.SQS.Publisher.Extensions { // ReSharper disable once InconsistentNaming internal class SQSXRayPipelineCustomizer : IRuntimePipelineCustomizer { public string UniqueName => typeof(SQSXRayPipelineCustomizer).FullName; ...
32
86
0.712891
[ "MIT" ]
waxtell/AWSXRay.SQS.Publisher.Extensions
AWSXRay.SQS.Publisher.Extensions/SQSXRayPipelineCustomizer.cs
514
C#
using System.Text.Json.Serialization; using Essensoft.Paylink.Alipay.Domain; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayDataDataserviceAdCreativeQueryResponse. /// </summary> public class AlipayDataDataserviceAdCreativeQueryResponse : AlipayResponse { /// <summar...
26.444444
78
0.672269
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayDataDataserviceAdCreativeQueryResponse.cs
486
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
27.423077
88
0.661992
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/Ec2/Inputs/InstanceEnclaveOptionsArgs.cs
713
C#
using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using AspnetRunBasics.Extensions; using AspnetRunBasics.Models; namespace AspnetRunBasics.Services { public class OrderService : IOrderService { private readonly HttpClient _client; public Or...
29
95
0.692414
[ "MIT" ]
haristauqir/AspnetMicroservices
src/WebApps/AspnetRunBasics/Services/OrderService.cs
725
C#
using Handelabra.Sentinels.Engine.Controller; using Handelabra.Sentinels.Engine.Model; using System; using System.Collections; namespace Cauldron.Cricket { public class GrasshopperKickCardController : CardController { public GrasshopperKickCardController(Card card, TurnTakerController turnTakerControl...
45.576923
276
0.566526
[ "MIT" ]
SotMSteamMods/CauldronMods
CauldronMods/Controller/Heroes/Cricket/Cards/GrasshopperKickCardController.cs
3,557
C#
using System.Collections.Generic; namespace VoteMonitor.Entities { public partial class City { public City() { PollingStations = new HashSet<PollingStation>(); } public int Id { get; set; } public string Name { get; set; } public virtual ICollectio...
20.888889
80
0.601064
[ "MPL-2.0" ]
EmaSujova/monitorizare-vot
src/api/VoteMonitor.Entities/City.cs
378
C#