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.ComponentModel; using System.Reflection; using QS.Dialog; using QS.Navigation; using QS.Services; using QS.Tdi; using QS.ViewModels.Dialog; using QS.ViewModels.Extension; namespace QS.ViewModels { [Obsolete("Эта ветка базовых кассов будет удалена с окончательным выпиливанием TDI из ViewMod...
27.713287
179
0.743629
[ "Apache-2.0" ]
Iamposox/QSProjects
QS.Project/ViewModels/TabViewModelBase.cs
4,355
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.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace MyDemo.SiloHost { p...
30.609756
122
0.631076
[ "MIT" ]
wannvmi/MyLearning-Ocelot
MyLearning.Orleans/MyDemo.SiloHost/Startup.cs
1,255
C#
using Chayns.Backend.Api.Models.Data.Base; namespace Chayns.Backend.Api.Models.Data { public class UacGroupDataChange : DefaultData { public UacGroupDataChange(int locationId) : base(locationId) { } public UacGroupDataChange(string siteId) : base(siteId) { } ...
20.725
68
0.426417
[ "MIT" ]
TobitSoftware/ChaynsBackendApiHelper
ChaynsBackendApiHelper/Api/Models/Data/UacGroupDataChange.cs
1,660
C#
// Copyright 2020 zmjack // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // See the LICENSE file in the project root for more information. using System; using System.Linq.Expressions; namespace LinqSharp.EFCore { public class ...
32.625
84
0.684547
[ "Apache-2.0" ]
hnjm/LinqSharp
LinqSharp.EFCore/LinqSharp.EFCore - Shared/UpdateOptions.cs
785
C#
using System; using System.Collections.Generic; using System.Text; namespace Calculador_Static { class Global { public Double Pi = 3.14; public double Circunferencia(double r) { return 2.0 * Pi * r; } public double Volume(double r) { ret...
17.181818
53
0.529101
[ "MIT" ]
P3nto5/curso-c-
c# poo/Calculador_Static/Global.cs
380
C#
namespace SFA.DAS.EmployerUsers.Domain.Auditing.Login { public class SuccessfulLoginAuditMessage : EmployerUsersAuditMessage { public SuccessfulLoginAuditMessage(User user) { Category = "SUCCESSFUL_LOGIN"; Description = $"User {user.Email} (id: {user.Id}) logged in"; ...
28.352941
73
0.564315
[ "MIT" ]
SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Domain/Auditing/Login/SuccessfulLoginAuditMessage.cs
484
C#
using System; using System.IO; using System.IO.Compression; using System.Threading.Tasks; using MySqlConnector.Utilities; namespace MySqlConnector.Protocol.Serialization { internal sealed class CompressedPayloadHandler : IPayloadHandler { public CompressedPayloadHandler(IByteHandler byteHandler) { m_uncompres...
44.546763
207
0.74354
[ "MIT" ]
BoBiene/MySqlConnector
src/MySqlConnector/Protocol/Serialization/CompressedPayloadHandler.cs
12,384
C#
using System.Data.Entity; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; namespace KLog.Models { // 可以通过向 ApplicationUser 类添加更多属性来为用户添加配置文件数据。若要了解详细信息,请访问 http://go.microsoft.com/fwlink/?LinkID=317594。 public class ...
33.272727
117
0.701275
[ "MIT" ]
ihambert/KLog
KLog/WebTest/Models/IdentityModels.cs
1,232
C#
using Amazon.IdentityManagement; using MountAnything; using MountAws.Services.Core; namespace MountAws.Services.Iam; public class PoliciesHandler : PathHandler, IGetChildItemParameters<ChildPolicyParameters> { private readonly IAmazonIdentityManagementService _iam; public static IItem CreateItem(ItemPath par...
28.727273
130
0.729958
[ "Apache-2.0" ]
andyalm/mount-aws
MountAws/Services/Iam/PoliciesHandler.cs
948
C#
/// Created by Ferdowsur Asif @ Tiny Giant Studios using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace MText { [DisallowMultipleComponent] [AddComponentMenu("Modular 3D Text/Horizontal Selector")] public class MText_UI_HorizontalSelector : MonoBehaviour { ...
28.323353
150
0.530655
[ "MIT" ]
tongji-cdi/AR-Studio2
Assets/Tiny Giant Studio/Modular 3D Text/Scripts/MText_UI_HorizontalSelector.cs
4,732
C#
// Copyright 2015-2018 The NATS Authors // 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...
36.007648
123
0.562341
[ "BSD-2-Clause" ]
BretGui/GB28181.Platform2016
NATS.Client/Options.cs
18,834
C#
using System; using System.IO; using System.Reflection; using System.Runtime.Loader; using System.Windows.Forms; namespace SAModel.SAMDL { static class Program { static internal string[] Arguments { get; set; } public static MainForm primaryForm; /// <summary> /// The main entry point for the...
36.964912
197
0.713336
[ "MIT", "BSD-3-Clause" ]
X-Hax/sa_tools
SAMDL/Program.cs
2,109
C#
// NClass - Free class diagram editor // Copyright (C) 2006-2009 Balazs Tihanyi // // This program is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free Software // Foundation; either version 3 of the License, or (at your option) any ...
29.417284
92
0.742572
[ "Apache-2.0" ]
jdm7dv/visual-studio
Common7/Tools/NClass_v2.04/src/DiagramEditor/ClassDiagram/DiagramDynamicMenu.cs
11,914
C#
using System; using System.Collections.Generic; using System.Linq; using GamesToGo.Editor.Project; using GamesToGo.Editor.Project.Elements; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using o...
33.292517
157
0.469555
[ "MIT" ]
ColdVolcano/GamesToGo
GamesToGo.Editor/Graphics/ElementSelectionDescriptor.cs
4,896
C#
using System; namespace _01._Bank_Account { public class StartUp { public static void Main() { BankAccount acc = new BankAccount(); acc.Id = 1; acc.Balance = 15; Console.WriteLine($"Account {acc.Id}, balance {acc.Balance}"); } } }
17.722222
74
0.517241
[ "MIT" ]
GitHarr/SoftUni
Homework/C#Fundamentals/C# OOP Basics/1. Defining Classes/Lab/01. Bank Account/StartUp.cs
321
C#
namespace Ryujinx.HLE.HOS.Services.Hid { public struct HidControllerSixAxisLayout { public HidCommonEntriesHeader Header; public Array17<HidControllerSixAxisEntry> Entries; } }
25.5
58
0.735294
[ "MIT" ]
Mattscreative/Ryujinx
Ryujinx.HLE/HOS/Services/Hid/Types/SharedMem/Npad/HidControllerSixAxisLayout.cs
204
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.Threading; using Microsoft.CodeAnalysis.Diagnostics; using Roslyn.Utilities; namespace Microsoft.Code...
43.12037
165
0.622289
[ "MIT" ]
AlexanderSemenyak/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/Engine/AbstractTriviaDataFactory.cs
4,659
C#
using UnityEngine; namespace SanAndreasUnity.Behaviours.Peds.States { public interface IPedState : Utilities.IState { /// <summary> Called at the end of Update(). </summary> void PostUpdateState (); //void OnCollision(Collision info); void OnButtonPressed(string buttonName); void OnFireButtonPressed()...
27.567568
103
0.74902
[ "MIT" ]
alexandrus21a/SanAndreasUnity
Assets/Scripts/Behaviours/Ped/States/IPedState.cs
1,020
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Editor { /// <summary> /// Custom property drawer for <see cref="Microsoft.Mix...
42.682927
225
0.640571
[ "MIT" ]
1ft-seabass/hololens2-work-sample-202101
Assets/MRTK/Core/Inspectors/PropertyDrawers/PrefabPropertyDrawer.cs
1,750
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...
33.043478
107
0.590789
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/CreateInputRequest.cs
6,840
C#
using UnityEngine; using UnityEngine.Events; namespace FrancoisSauce.Scripts.FSEvents.SO { /// <summary> /// Implementation of <see cref="UnityEvent<int>"/> used in <see cref="FSIntEventSO"/> /// </summary> [System.Serializable] public class FSIntEvent : UnityEvent<int> { } /// <i...
27.736842
91
0.664137
[ "MIT" ]
aFranchon/FrancoisSauce
Assets/____FrancoisSauce/Scripts/___FSEvents/SO/FSIntEventSO.cs
529
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.042194
153
0.613469
[ "MIT" ]
OfficeGlobal/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/SharedInsightRequest.cs
10,201
C#
using System; using System.IO; namespace GradeBook { public class DiskBook : Book { public DiskBook(string name) : base(name) { } public override event GradeAddedDelegate GradeAdded; public override void AddGrade(double grade) { using (var streamWrit...
25.266667
69
0.456464
[ "MIT" ]
yrrodriguezb/NetCore-3.1.201
Fundamentals/1. OOP/DiskBook.cs
1,137
C#
using System.Reflection; 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("Kelary.Report")] [assembly: AssemblyDescr...
38.714286
84
0.748339
[ "MIT" ]
vnau/Kelary.Report
Kelary.Report/Properties/AssemblyInfo.cs
1,358
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
44.663768
153
0.664287
[ "MIT" ]
microsoftgraph/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/managedtenants/model/ManagedTenant.cs
15,409
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 ...
27.616438
109
0.702381
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-cloudwf/Cloudwf/Model/V20170328/GetApgroupDetailedConfigRequest.cs
2,016
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using CoreBase.Infra.Data.Context; namespace CoreBase.Infra.Data.Migrations { [DbContext(typeof(CoreContext))] [M...
30.802632
108
0.502349
[ "Apache-2.0" ]
felipeolimpos/base-core-ddd-mvc-ef-pg-ioc-proj
CoreBase.Infra.Data/Migrations/20170718135435_Initial Database.Designer.cs
2,343
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity { using System.Collections.Generic; using System.ComponentModel; using System.Data.Common; using System.Data.Entity.Core.Objects; using S...
51.370429
180
0.659755
[ "Apache-2.0" ]
dotnet-maestro-bot/EntityFramework6
src/EntityFramework/DbContext.cs
32,312
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // 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: Asse...
64.322034
357
0.786298
[ "Apache-2.0" ]
costleya/aws-sdk-net
sdk/src/Services/FMS/Properties/AssemblyInfo.cs
3,795
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Общие сведения об этой сборке предоставляются следующим набором // набора атрибутов. Измените значения этих атрибутов для изменения сведений, // связанных со сборкой. [assembly: AssemblyTitle("SupportTools")] [ass...
38.675676
99
0.762404
[ "MIT" ]
Trendyhall/Trendyhall
SupportTools/SupportTools/Properties/AssemblyInfo.cs
2,012
C#
using System.Text; using System.Threading.Tasks; using Firestorm.Endpoints.Formatting.Json; using Firestorm.Host.Infrastructure; using Newtonsoft.Json; namespace Firestorm.Endpoints.Formatting { public class ContentNegotiator { private readonly IContentAccepts _accepts; private readonly IConte...
31.581395
132
0.667894
[ "MIT" ]
connellw/Firestorm
src/Firestorm.Endpoints.Formatting/Content/ContentNegotiator.cs
1,360
C#
using Lucene.Net.Documents; using Lucene.Net.Index; using Lucene.Net.Index.Extensions; using NUnit.Framework; using Assert = Lucene.Net.TestFramework.Assert; namespace Lucene.Net.Search.Spans { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See...
38.254902
192
0.598155
[ "Apache-2.0" ]
10088/lucenenet
src/Lucene.Net.Tests/Search/Spans/TestNearSpansOrdered.cs
7,806
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Item : ScriptableObject { public string Name; public string Description; public Sprite Icon; public virtual void Use() { Debug.Log(Name + " was used."); } }
17.6875
39
0.678445
[ "Apache-2.0" ]
rambo5x/Senior-Project
SeniorProject3D/Assets/Scritable Objects/Items/Scripts/Item.cs
283
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Harmony; using UnityEngine; namespace NoFixedTempMod { [HarmonyPatch(typeof(AlgaeDistilleryConfig), "ConfigureBuildingTemplate")] internal class NoFixedTemp_AlgaeDistilleryConfig_ConfigureBuildingTemplate { private stati...
44.547009
166
0.728703
[ "MIT" ]
Blindfold-Games/ONI-Modloader-Mods
Source/NoFixedTempMod/NoFixedTempMod.cs
10,426
C#
/** * Copyright 2017 The Nakama Authors * * 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 agree...
35.194915
113
0.526928
[ "Apache-2.0" ]
GameInstitute/nakama-docs
docs/nakama/examples/unity/nakama-showreel/Assets/Framework/NakamaManager.cs
12,461
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime...
54.416471
373
0.579236
[ "MIT" ]
Barryye/JEngine
UnityProject/Assets/Dependencies/ILRuntime/Generated/System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_Boo.cs
23,127
C#
//------------------------------------------------------------------------------ // <auto-generated /> // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.10 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //----...
26.541667
80
0.563579
[ "MIT" ]
SteveKratos/Mirror
Viewer/API/PairingResult.cs
637
C#
using LibHac.Fat; using LibHac.Fs; using LibHac.Fs.Fsa; namespace LibHac.FsSrv.FsCreator { public interface IFatFileSystemCreator { Result Create(out ReferenceCountedDisposable<IFileSystem> fileSystem, ReferenceCountedDisposable<IStorage> baseStorage, FatAttribute attribute, int d...
40.125
120
0.753894
[ "BSD-3-Clause" ]
Thealexbarney/LibHac
src/LibHac/FsSrv/FsCreator/IFatFileSystemCreator.cs
644
C#
using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices.WindowsRuntime; using UnityEngine; using UnityScript.Lang; public delegate void TargetUiChangeEventHandler(); public class Target : MonoBehaviour { [SerializeField] private GameObject targetPrefab; [SerializeField] pu...
19.206107
88
0.721383
[ "MIT" ]
JonathanRN/TopdownRPG
Assets/Scripts/Playmode/Characters/Target/Target.cs
2,518
C#
using FreeSql.Extensions.EntityUtil; using FreeSql.Internal.Model; using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data; using System.Data.Common; using System.Linq; using System.Linq.Expressions; using Sy...
59.009251
382
0.507739
[ "MIT" ]
5118234/FreeSql
FreeSql/Internal/CommonProvider/SelectProvider/Select1Provider.cs
70,760
C#
// Copyright © 2017 Chromely Projects. All rights reserved. // Use of this source code is governed by MIT license that can be found in the LICENSE file. namespace Chromely.Core; public class ChromelyJsBindingHandler : IChromelyJsBindingHandler { /// <summary> /// Initializes a new instance of the <see cref="...
30.108108
97
0.666068
[ "MIT", "BSD-3-Clause" ]
ScriptBox99/Chromely
src_5.2/Chromely.Core/ChromelyJsBindingHandler.cs
1,117
C#
 public class CommonItem : AbstractItem, IItem { public CommonItem(string name, int strengthBonus, int agilityBonus, int intelligenceBonus, int hitPointsBonus, int damageBonus) : base(name, strengthBonus, agilityBonus, intelligenceBonus, hitPointsBonus, damageBonus) { } }
39.875
136
0.69279
[ "MIT" ]
BorislavBarov/OOP-Advanced-With-C-Sharp
ExamPreparation/HellExam16Aug2017/Hell/Entities/Items/CommonItem.cs
321
C#
using System; using System.Collections.Generic; using System.Linq; using System.Drawing; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using AjaxControlToolkit.HTMLEditor; public partial class Admin_Default : System.Web.UI.Page { protected void Page_Load(object sender,...
27.371747
105
0.543528
[ "MIT" ]
juuliusJuul/AppealWeb
KMS/Admin/Default.aspx.cs
7,371
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MovePlayer : MonoBehaviour { private Rigidbody2D _rb; private Vector3 _playerPosition; private Vector3 _playerRotation; private float _shi...
30.42515
99
0.573116
[ "MIT" ]
N12AM/Asteroid_2D
Assets/scripts/MovePlayer.cs
5,083
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: AssemblyTi...
39.5
85
0.734177
[ "MIT" ]
LukeDefeo/HazardV2
SignalRHost/Properties/AssemblyInfo.cs
1,425
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenGL; using System; using System.Buffers; using System.Numerics; using System.Runtime.InteropServices; namespace OpenGLUnitTests { [TestClass] public class GeometryTests { [TestMethod] public void CalculateNormalsSingleTriangle() ...
33.328571
153
0.515216
[ "MIT" ]
giawa/opengl4csharp
OpenGLUnitTests/GeometryTests.cs
4,668
C#
using BlazorBoilerplate.Infrastructure.Server.Models; using BlazorBoilerplate.Shared.Dto.Session; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BlazorBoilerplate.Infrastructure.Server { public interface ISessionManager { T...
26.882353
69
0.794311
[ "MIT" ]
hochschule-darmstadt/MetaAutoML-Frontend
src/Shared/BlazorBoilerplate.Infrastructure/Server/ISessionManager.cs
459
C#
namespace Stelar { partial class Parov { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name=...
56.096698
172
0.605129
[ "Apache-2.0" ]
MustaphaAlioglou/Stelar
Stelar/Stelar/Parov.Designer.cs
23,787
C#
using SocialCareCaseViewerApi.V1.Boundary.Requests; using SocialCareCaseViewerApi.V1.Boundary.Response; #nullable enable namespace SocialCareCaseViewerApi.V1.UseCase.Interfaces { public interface IResidentUseCase { AddNewResidentResponse AddNewResident(AddNewResidentRequest request); ResidentIn...
35.6
99
0.799625
[ "MIT" ]
Duslerke/social-care-case-viewer-api
SocialCareCaseViewerApi/V1/UseCase/Interfaces/IResidentUseCase.cs
534
C#
using System; using Android.App; using Android.Runtime; using Microsoft.Maui; using Comet.Samples; namespace Maui.Controls.Sample.SingleProject { [Application] public class MainApplication : MauiApplication<MyApp> { public MainApplication(IntPtr handle, JniHandleOwnership ownership) : base(handle, ownership) {...
20.5625
95
0.778116
[ "MIT" ]
ahmedattya95/Comet
sample/Comet.SingleProject.Sample/Android/MainApplication.cs
331
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Linq; using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input.Editor { [CustomPropertyDrawer(typeof(MixedRealityInputA...
43.577778
170
0.555074
[ "MIT" ]
1ft-seabass/hololens2-work-sample-202101
Assets/MRTK/Core/Inspectors/PropertyDrawers/InputActionPropertyDrawer.cs
3,924
C#
using Orckestra.Composer.ViewModels; namespace Orckestra.Composer.MyAccount.ViewModels { public sealed class IsUserExistViewModel: BaseViewModel { public bool IsExist { get; set; } } }
20.7
59
0.724638
[ "MIT" ]
InnaBoitsun/BetterRetailGroceryTest
src/Orckestra.Composer.MyAccount/ViewModels/IsUserExistViewModel.cs
209
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ValueAndReferenceType { /// <summary> /// Class is reference type /// </summary> class PersonClass { public string GivenName { get; set; } public string Surname { get; set; } public...
17.414634
66
0.647059
[ "MIT" ]
davidsonsousa/Back-To-Basics
ValueAndReferenceType/ValueAndReferenceType/Person.cs
716
C#
//********************************************************************* //xCAD //Copyright(C) 2020 Xarial Pty Limited //Product URL: https://www.xcad.net //License: https://xcad.xarial.com/license/ //********************************************************************* using System.Collections.Generic; using System.L...
26.185185
80
0.44413
[ "MIT" ]
jonnypjohnston/Xarial-xcad
src/Toolkit/Reflection/EnumerableExtension.cs
709
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace TDFramework.Tool { public static class TDTools { /// <summary> /// 获取距离下一天凌晨还有多少时间 /// </summary> /// <returns></returns> public ...
32.629268
218
0.482135
[ "BSD-3-Clause" ]
li1808464468/XLuaProject
Assets/TDFramework/Core/Tools/TDTools.cs
7,171
C#
using System; using System.Linq; using System.Web; using System.Web.Mvc; using Umbraco.Core; using Umbraco.Core.Exceptions; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.PropertyEditors.ValueConverters; using Umbraco.Web.Composing; using Umbraco.Web.Models; using Umbraco.Web...
44.442748
163
0.598534
[ "MIT" ]
bharanijayasuri/umbraco8
src/Umbraco.Web/UrlHelperRenderExtensions.cs
17,468
C#
using System; namespace Zenject { [NoReflectionBaking] public class FactorySubContainerBinder<TParam1, TParam2, TParam3, TParam4, TContract> : FactorySubContainerBinderWithParams<TContract> { public FactorySubContainerBinder( DiContainer bindContainer, BindInfo bindInfo, Factory...
41.034188
112
0.652572
[ "MIT" ]
AEjlersen/Extenject
UnityProject/Assets/Plugins/Zenject/Source/Binding/Binders/Factory/FactoryFromBinder/SubContainerBinder/FactorySubContainerBinder4.cs
4,801
C#
/** * ************************************************* * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT * ************************************************** */ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using za.c...
43.371429
182
0.592095
[ "MIT" ]
paulvancoller/A3S
src/za.co.grindrodbank.a3s/Repositories/PermissionRepository.cs
7,592
C#
using System; using System.Collections.Generic; using System.Linq; namespace Gschwind.Lighthouse.Example.Models.Data { /// <summary> /// Untervorgang Betriebsdarlehen /// </summary> public record CompanyLoan : PlanData { /// <summary> /// Darlehensnominalbetrag /// </summary> ...
22.725714
88
0.45914
[ "Apache-2.0" ]
GschwindSoftware/lighthouse-examples-net
Models/Data/CompanyLoan.cs
3,981
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using UnityEngine; using System; using System.Linq; using HoloToolkit.Unity; namespace HoloToolkit.Unity.SharingWithUNET { /// ...
38.806667
125
0.599725
[ "MIT" ]
JulienPlouvier/Hololens_BouncingBall
Bouncing Ball/Assets/DesignLabs_Unity/Assets/HoloToolkit/SharingWithUNET/UI/Scripts/ScrollingSessionListUIController.cs
5,823
C#
using System; using System.Collections.Generic; using System.Text; namespace OpenMetaverse.TestClient.Commands { class SearchEventsCommand : Command { System.Threading.AutoResetEvent waitQuery = new System.Threading.AutoResetEvent(false); int resultCount; public SearchEventsCommand(Tes...
33.231884
112
0.541212
[ "BSD-3-Clause" ]
Ana-Green/halcyon-1
ThirdParty/libopenmetaverse/Programs/examples/TestClient/Commands/Directory/SearchEventsCommand.cs
2,293
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Threading; using USBModem; using MachineControl; namespace Robo { public partial class frmSplash : Form ...
32.468354
235
0.450097
[ "MIT" ]
mohansharma-me/roboapp
C#/Robo/Robo/frmSplash.cs
5,132
C#
namespace Markdig.Adf.Nodes { public interface IInlineNode : INode { } }
12.285714
40
0.639535
[ "MIT" ]
Thorarin/Markdig.Adf
Markdig.Adf/Nodes/IInlineNode.cs
88
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...
44.306604
157
0.632918
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.451
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteContextMenuItemState.cs
9,396
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...
39.204918
158
0.62074
[ "Apache-2.0" ]
jasoncwik/aws-sdk-net
sdk/src/Services/DirectoryService/Generated/Model/Internal/MarshallTransformations/DirectoryLimitsUnmarshaller.cs
4,783
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using PhotographyAddicted.Web.Ar...
38.153846
123
0.667843
[ "MIT" ]
severin87/PhotographyAddict
source/Web/PhotographyAddicted.Web/Areas/Identity/Pages/Account/Manage/DownloadPersonalData.cshtml.cs
1,986
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0 // Changes may cause incorrect behavior and will be lost if the code is regenerated. using System.Threading; using System.Threading.Tasks; using Microsoft.Rest; namespace BuildIt.Bot.Client.DirectLinkApi.Interfaces { /// <summary> /// //...
36.137931
187
0.69084
[ "MIT" ]
builttoroam/BuildIt
src/BuildIt.Bot/BuildIt.Bot.Client/DirectLinkApi/Interfaces/ITokens.cs
1,050
C#
using FluentMigrator.Builders.Create.Table; using Nop.Plugin.Misc.Sms77.Domain; namespace Nop.Plugin.Misc.Sms77.Data { /// <summary>Represents a voice entity builder</summary> public partial class VoiceRecordBuilder : AbstractMessageRecordBuilder<VoiceRecord> { #region Methods /// <inheritdoc ...
33.545455
89
0.640921
[ "MIT" ]
sms77io/nopCommerce
Nop.Plugin.Misc.Sms77/Data/VoiceRecordBuilder.cs
738
C#
using Microsoft.EntityFrameworkCore; namespace ProjectBank.Infrastructure; public interface IProjectBankContext : IDisposable { DbSet<Project> Projects { get; } DbSet<User> Users { get; } DbSet<Tag> Tags { get; } int SaveChanges(); Task<int> SaveChangesAsync(CancellationToken cancellationToken = de...
29.909091
78
0.744681
[ "MIT" ]
JacobMoller/BDSAProject
ProjectBank/Infrastructure/IProjectBankContext.cs
329
C#
using System; using System.Data; using System.Data.OleDb; using System.Drawing; using System.IO; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Text.RegularExpressions; using System.Globalization; using System.Threading; using Sy...
56.156323
634
0.672684
[ "Apache-2.0" ]
fintrux-team/Low-Code-Development-Platform
Web/modules/AdmScreenCriModule.ascx.cs
191,830
C#
using QuoteShared; namespace QuoteClient.Akka.Messages { public class RfqReceived { public RfqReceived(RFQ rfq) { RFQ = rfq; } public RFQ RFQ { get; } } }
14.266667
35
0.53271
[ "MIT" ]
goblinfactory/10-alternatives-to-akka
QuoteClient.Akka/Messages/RfqReceived.cs
216
C#
using System; using System.Threading.Tasks; using AElf.Kernel; using AElf.Kernel.Blockchain.Application; using AElf.Kernel.SmartContract.Application; using AElf.OS; using AElf.Types; using BenchmarkDotNet.Attributes; using Google.Protobuf.WellKnownTypes; namespace AElf.Benchmark { [MarkdownExporterAttribute.GitHub...
34.464789
117
0.653862
[ "MIT" ]
IamWenboZhang/AElf
bench/AElf.Benchmark/Fibonacci16Tests.cs
2,447
C#
#if ! (UNITY_DASHBOARD_WIDGET || UNITY_WEBPLAYER || UNITY_WII || UNITY_NACL || UNITY_FLASH || UNITY_BLACKBERRY) // Disable under unsupported platforms. /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.1...
28.393443
161
0.619515
[ "MIT" ]
JackM36/Chickie-Mayhem
Assets/Wwise/Deployment/API/Generated/Common/AkMIDIPost.cs
1,732
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Th...
45.456914
255
0.565798
[ "MIT" ]
KenniVelez/botbuilder-dotnet
libraries/Microsoft.Bot.Builder.AI.Orchestrator/OrchestratorRecognizer.cs
22,685
C#
// Copyright (c) 2014 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...
35.823529
109
0.748358
[ "MIT" ]
TetradogOther/SharpDevelop
src/Main/ICSharpCode.Core.Presentation/ToolBar/ToolBarDropDownButton.cs
2,438
C#
using System; namespace _09.LeftAndRightSum { class Program { static void Main(string[] args) { int numN = int.Parse(Console.ReadLine()); int leftSum = 0; int rightSum = 0; for (int i = 0; i < numN; i++) { ...
22.525
81
0.384018
[ "MIT" ]
ivanstamboliyski/Programming-Basics-With-CSharp-Course
05.01 - Loops Part1 - Lab/09. Left And Right Sum/Program.cs
903
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 Zell.UiPathAutomation.Orchestrator { using Models; using System.Threading; using System.Threading.Tasks; ...
51.361111
510
0.574094
[ "MIT" ]
zell12/MondayAppOne
Zell.UiPathAutomation/Orchestrator/QueueProcessingRecordsExtensions.cs
11,094
C#
namespace BotsDotNet.Palringo.PacketTypes { using Networking.Mapping; public class PingRequest : IPacketMap { public string Command => "P"; } }
17
42
0.658824
[ "MIT" ]
JTOne123/botsdotnet
BotsDotNet.Palringo/PacketTypes/PingRequest.cs
172
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 08.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
30.907285
254
0.569959
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D1/Query/Operators/SET_001/Equal/Complete/NullableInt64/NullableDECIMAL_6_1/TestSet_001__fields__01__VV.cs
4,669
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Ploeh.AutoFixture; using SimpleDataGenerator.Core.Customization.Specimens; using SimpleDataGenerator.Core.Mapping.Interfaces; using SimpleDataGenerator.Core.Model; namespa...
28.9
133
0.748558
[ "MIT" ]
FilipPaluch/SimpleDataGenerator
Source/SimpleDataGenerator.Core/Mapping/Implementations/NumericPropertyConfiguration.cs
869
C#
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace moddingSuite.View.Edata { /// <summary> /// Interaction logic for EdataManagerView.xaml /// </summary> public partial class EdataManagerView : Window { public EdataManagerView() { ...
21.235294
51
0.639889
[ "MIT" ]
RemiGC/moddingSuite
moddingSuite/View/Edata/EdataManagerView.xaml.cs
363
C#
using System.Diagnostics; using System.Diagnostics.Metrics; namespace Stl.Fusion.Diagnostics; public static class FusionDiagnostics { public static ActivitySource FusionTrace { get; } = new("Stl.Fusion", ThisAssembly.AssemblyInformationalVersion); public static Meter FusionMeter { get; } = new...
29.307692
69
0.75853
[ "MIT" ]
ScriptBox21/Stl.Fusion
src/Stl.Fusion/Diagnostics/FusionDiagnostics.cs
381
C#
#region Using directives using System; using System.Reflection; using System.Runtime.InteropServices; #endregion // 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: Assembl...
38.233333
78
0.755013
[ "MIT" ]
gabrieldelaparra/Wisp.Comtrade
Properties/AssemblyInfo.cs
1,147
C#
 namespace SF.Entitys.Abstraction { /// <summary> /// Version information about the entity, stored as a byte array /// </summary> public interface IHaveVersionAsByteArray : IHaveVersion<byte[]> { } }
20.545455
68
0.650442
[ "Apache-2.0" ]
ZHENGZHENGRONG/SF-Boilerplate
SF.Entitys/Abstraction/IHaveVersionAsByteArray.cs
228
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class movementCS : MonoBehaviour { float speed = 3.0f; float jumpSpeed = 8.0f; float gravity = 20.0f; private Vector3 moveDirection = Vector3.zero; void Update() { CharacterController controller = GetComponent<Charact...
25.264706
72
0.715949
[ "MIT" ]
tmscarla/3DTour
Project/prova3D/Assets/MyYBotControlScript/movementCS.cs
861
C#
 /* * Notes */ using System; using System.Collections.Generic; using Rhino.Geometry; using Grasshopper.Kernel; using Grasshopper.Kernel.Types; using SpatialSlur.Rhino; namespace SpatialSlur.Grasshopper.Components { /// <summary> /// /// </summary> public class MeshLoft : GH_Component { ...
25.443182
94
0.556498
[ "MIT" ]
daveReeves/SpatialSlur
SlurGH/Components/Mesh/MeshLoft.cs
2,241
C#
/************************************************************************************* Extended WPF Toolkit Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license For ...
25.685897
172
0.626154
[ "Unlicense" ]
visiontrail/LMT2018
Src/SCMT/UI/DataGrid/Xceed.Wpf.DataGrid/ObservableColumnCollection.cs
8,016
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.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore.TestModels.Northwind; ...
31.130984
164
0.575701
[ "Apache-2.0" ]
CygnusBill/EntityFrameworkCore
test/EFCore.Cosmos.FunctionalTests/Query/SimpleQueryCosmosTest.Where.cs
59,180
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.ExcelApi; namespace NetOffice.ExcelApi.Behind { /// <summary> /// DispatchInterface ODBCError /// SupportByVersion Excel, 9,10,11,12,14,15,16 /// </summary> /// <remarks> MSDN Online: http://m...
26.625
167
0.634742
[ "MIT" ]
igoreksiz/NetOffice
Source/Excel/Behind/DispatchInterfaces/ODBCError.cs
4,262
C#
using System.Collections.ObjectModel; using System.Windows.Media; using SciChart.Charting.Model.ChartSeries; using SciChart.Charting.Model.DataSeries; using SciChart.Data.Model; namespace SciChart.Mvvm.Tutorial { public class MainViewModel : BindableObject { private string _chartTitle = "Hello SciChar...
29.594828
95
0.516749
[ "MIT" ]
babusoundrarajan/scichart.wpf.examples
v5.x/Tutorials/MVVM/Tutorial 06b - Adding Realtime Updates with MVVM/MainViewModel.cs
3,435
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime; using Internal.Runtime.CompilerServices; namespace System { [System.Runtime.InteropServices.ComVisible(true)] public abstract class Multi...
35.118182
141
0.553974
[ "MIT" ]
ZZHGit/corert
src/System.Private.CoreLib/src/System/MulticastDelegate.cs
3,863
C#
namespace Zu.ChromeDevTools.Runtime { using Newtonsoft.Json; /// <summary> /// Object containing abbreviated remote object value. /// </summary> public sealed class ObjectPreview { /// <summary> /// Object type. ///</summary> [JsonProperty("type")] public...
26.569231
90
0.50608
[ "Apache-2.0" ]
DoctorDump/AsyncChromeDriver
ChromeDevToolsClient/Runtime/ObjectPreview.cs
1,727
C#
using System; using System.Collections.Generic; using System.Text; namespace Jingle { class Scanner { private static readonly Dictionary<string, TokenType> keywords = new Dictionary<string, TokenType>(); private static bool _keywordsInitialized = false; static void _initializeKeywords...
28.268939
109
0.398767
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception", "BSD-3-Clause" ]
42sol-eu/jingle
source/Scanner.cs
7,465
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 Microsoft.CodeAnalysis.Shared.TestHooks; namespace Microsoft.CodeAnalysis.Host { /// <summary> /// W...
34.352941
94
0.753425
[ "MIT" ]
333fred/roslyn
src/Workspaces/Core/Portable/Workspace/Host/TaskScheduler/IWorkspaceAsynchronousOperationListenerProvider.cs
586
C#
using System; using System.Collections.Generic; using System.Text; namespace Mackiloha.Render { public struct Vertex3 { public float X; public float Y; public float Z; public float NormalX; public float NormalY; public float NormalZ; public float Color...
26.846939
95
0.575447
[ "MIT" ]
PikminGuts92/Mackiloha
Src/Core/Mackiloha/Render/Mesh.cs
2,633
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class skillCooldown : MonoBehaviour { public Image imageCooldown; public float cooldown = 2; bool isCooldown; void Update() { if (Input.GetKeyDown(KeyCode.Q)) { ...
20.741935
70
0.545879
[ "MIT" ]
OscarH1998/Project-03--Mechanics-Analysis
Project03/Assets/Scripts/skillCooldown.cs
645
C#
/* * THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR */ using System.Text.Json.Serialization; using System.Runtime.Serialization; #pragma warning disable 1591 namespace Plotly.Blazor.Traces.StreamTubeLib.ColorBarLib { /// <summary> /// Sets this color bar&#39;s horizontal position anchor. This anchor ...
32.392857
89
0.624035
[ "MIT" ]
ScriptBox99/Plotly.Blazor
Plotly.Blazor/Traces/StreamTubeLib/ColorBarLib/XAnchorEnum.cs
907
C#
using System.Reflection; namespace OpenApiGeneration.Utils { public static class PathUtils { public static string? GetCurrentDirectory() { var assembly = Assembly.GetExecutingAssembly(); var currentDir = Path.GetDirectoryName(assembly.Location); return curre...
23
70
0.634783
[ "MIT" ]
knoepdan/Bom
Tools/OpenApiGeneration_Source/OpenApiGeneration/Utils/PathUtils.cs
347
C#
namespace AMO.IoC.Implementation { internal class ResolveContext : IResolveContext { public IResolver Resolver { get; set; } public IResolveOverrides Overrides { get; set; } } }
24.888889
60
0.616071
[ "MIT" ]
alexoparin/IoC
AMO.IoC/Implementation/ResolveContext.cs
226
C#
// Copyright 2019 谭杰鹏. All Rights Reserved //https://github.com/JiepengTan using System; using System.Collections.Generic; using System.Linq; using Lockstep.Logging; using Lockstep.Math; using Lockstep.Util; namespace Lockstep.PathFinding { public class TriangleGraph : IndexedGraph<Triangle> { private Na...
39.272997
172
0.524821
[ "MIT" ]
XingHong/SimpleLockStepClient
Assets/Engine.LockstepEngine/Src/PathFinding/NavMesh/NavMesh/TriangleGraph.cs
13,345
C#