content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace suporteZ { /// <summary> /// <para>Classe usada para disparar exceções conhecidas na execução dos comandos.</para> /// </summary> public class ComandoException: Exception {...
32.844828
111
0.570604
[ "MIT" ]
sergiocabral/App.Suporte-Z
src/suporte-z/ComandoException.cs
1,935
C#
using System; using NQuery.Text; namespace NQuery { public struct SyntaxNodeOrToken { private readonly SyntaxNode _syntaxNode; private readonly SyntaxToken _syntaxToken; internal SyntaxNodeOrToken(SyntaxToken syntaxToken) { _syntaxToken = syntaxToken; _...
26.246154
84
0.61313
[ "MIT" ]
dallmair/nquery-vnext
src/NQuery/SyntaxNodeOrToken.cs
1,706
C#
using MLStudy; using System; using System.Collections.Generic; using System.Text; using NumSharp; namespace PlayGround.Plays { public class Performance : IPlay { public void Play() { var data = DataEmulator.Instance.RandomArray(200000); var t1 = new TensorOld(data, 500...
30.461538
79
0.379209
[ "Apache-2.0" ]
durow/MLSharp
PlayGround/Plays/Performance.cs
4,754
C#
using System; using System.Collections.Generic; using System.Text; using Imml.ComponentModel; using Imml.Numerics; namespace Imml.Scene.Layout { /// <summary> /// Defines uniformly sized cells for placement of elements. /// </summary> /// <remarks>An undefined grid defaults to a size of 1,1,1 with 1 ...
29.923077
281
0.517995
[ "MIT" ]
craigomatic/IMML
src/Imml/Scene/Layout/Grid.cs
2,334
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ECharts.Entities { public class GaugePointer { public object length { get; set; } public int? width { get; set; } public object color { get; set...
20.428571
60
0.520105
[ "MIT" ]
15110217966/echartsSDK
EChartsSDK/ECharts/Entities/series/guage/GaugePointer.cs
1,146
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> //--...
36.330882
192
0.55171
[ "MIT" ]
najlot/SnippetStudio
src/SnippetStudio.ClientBase/Localisation/CommonLoc.Designer.cs
4,943
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.416667
80
0.643299
[ "MIT" ]
jonatasvnascimento/CsharpCFB
Aulas/aula09/obj/Release/net5.0/aula09.AssemblyInfo.cs
970
C#
using System; using System.Reflection; using System.Text; using Abp.AspNetCore; using Abp.AspNetCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.Configuration; using Acme.PhoneBook.Authentication.JwtBearer; using Acme.PhoneBook.Configuration; using Acme.PhoneBook.EntityFrameworkCo...
33.934211
151
0.703373
[ "MIT" ]
Jimmey-Jiang/aspnetboilerplate-samples
StoredProcedureDemo/src/Acme.PhoneBook.Web.Core/PhoneBookWebCoreModule.cs
2,581
C#
using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.ExtensionsAPI.Tree; namespace JetBrains.ReSharper.Plugins.Json.Psi.Tree.Impl { public abstract class JsonNewFileElement : FileElementBase, IJsonNewTreeNode { public override PsiLanguageType Language => JsonNewLanguage.Instance; publi...
42.642857
120
0.775544
[ "Apache-2.0" ]
SirDuke/resharper-unity
resharper/resharper-json/src/Json/Psi/Tree/Impl/JsonNewFileElement.cs
597
C#
using System; #if WISEJ using Wisej.Web; #else using System.Windows.Forms; #endif using MvvmFx.CaliburnMicro; using SimpleParameters.UI.ViewModels; namespace SimpleParameters.UI.Views { public partial class MenuStripView : UserControl, IHaveDataContext { public MenuStripView() { In...
23.3
97
0.593348
[ "MIT" ]
MvvmFx/MvvmFx
Samples/CaliburnMicro/SimpleParameters.WinForms/Views/MenuStripView.cs
934
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis.Collections; namespace Microsoft.Code...
36.815217
118
0.542073
[ "MIT" ]
333fred/roslyn
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/Engine/TokenStream.Iterator.cs
3,389
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using Exceed.Authorization; using Exceed.Authorization.Roles; using Exceed.Authorization.Users; using Microsoft.AspNetCore.Identity; using Microsoft.Exte...
35.757576
171
0.560169
[ "MIT" ]
yiershan/Excced
aspnet-core/src/Exceed.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs
3,540
C#
using System; namespace Chloe.Infrastructure { /// <summary> /// 数据库数据转换器。 /// </summary> public interface IDbValueConverter { /// <summary> /// 从数据库读取数据时,当表字段类型与实体属性类型不一致时调用。 /// </summary> /// <param name="value"></param> /// <returns></returns> ob...
27.67033
81
0.596108
[ "MIT" ]
johnnyleecn/Chloe
src/Chloe/Infrastructure/IDbValueConverter.cs
5,116
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum RoadType { Straight, Curved, Ramp, Hill, Split, End, Pickup } [System.Serializable] public class RoadConfig : System.Object { [SerializeField] public RoadType roadType; [SerializeField] public int branch; [Serializ...
29.055556
115
0.666667
[ "Unlicense" ]
Dayn9/TruckDriving
CarTest/Assets/scripts/RoadConfig.cs
1,571
C#
using System.Reflection; namespace FluentAssertions.Equivalency { /// <summary> /// Represents a rule that defines how to map the properties from the subject-under-test with the properties /// on the expectation object. /// </summary> public interface IMatchingRule { /// <summary> ...
44.914286
133
0.613232
[ "Apache-2.0" ]
blairconrad/fluentassertions
FluentAssertions.Net35/Equivalency/IMatchingRule.cs
1,572
C#
using System.Linq; namespace DragonSpark.Application.Entities.Queries.Runtime.Shape; public readonly record struct Composition<T>(IQueryable<T> Current, ulong? Count = null);
35.4
89
0.80791
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application/Entities/Queries/Runtime/Shape/Composition.cs
179
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyOnDeath : MonoBehaviour { public GameObject particle; private void Update() { if (this.GetComponent<EnemyHP>().hp < 1) { Instantiate(particle, transform.position, Quaternion.Euler(...
22.555556
100
0.642857
[ "MIT" ]
ExplosiveFridge/ProjectVelocity
Assets/Scripts/Enemy/EnemyOnDeath.cs
408
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; namespace Playground { public partial class TestWindow : Form { public TestWindow() ...
18.047619
42
0.691293
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-Extended-NET-5.470
Source/Krypton Toolkit Suite Extended/Demos/Playground/TestWindow.cs
381
C#
namespace DesktopBackgroundChanger { partial class EditConfigForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
39.274074
161
0.556017
[ "MIT" ]
Dko1905/CSharpBackgroundChanger
DesktopBackgroundChanger/EditConfigForm.Designer.cs
5,304
C#
/* Copyright 2014 Nils Rehwald 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 ...
33.045113
295
0.528555
[ "Apache-2.0" ]
CrypToolProject/CrypTool-2
CrypPlugins/WatermarkCreator/WatermarkCreatorSettings.cs
8,792
C#
/* Copyright 2012-2021 Marco De Salvo 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...
30.934783
126
0.601195
[ "Apache-2.0" ]
mdesalvo/RDFSharp
RDFSharp/Query/Mirella/Algebra/Filters/RDFIsLiteralFilter.cs
2,848
C#
using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.ExcelApi { /// <summary> /// DispatchInterface Axes /// SupportByVersion Excel, 9,10,11,12,14,...
34.286853
163
0.674994
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Excel/DispatchInterfaces/Axes.cs
8,608
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; #pragma warning disable SA1121 // We use our own aliases since they differ per platform #if TARGET_WIND...
43.5625
212
0.637877
[ "MIT" ]
333fred/runtime
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/CLong.cs
3,485
C#
/* * Copyright 2022 MASES s.r.l. * * 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 wr...
29.964286
75
0.731824
[ "Apache-2.0" ]
masesdevelopers/JNet
src/net/JNet/Java/Awt/Font/TextHitInfo.cs
841
C#
/** * Copyright 2018, 2019 IBM Corp. 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 required by applicable...
40.084746
105
0.659619
[ "MIT" ]
AkshaySharmaDEV/CovIt
Assets/unity-sdk-5.0.2/Scripts/Services/Discovery/V1/Model/QueryPassages.cs
2,365
C#
namespace HareDu.Tests { using System.Threading.Tasks; using Core; using Core.Extensions; using Extensions; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using Shouldly; [TestFixture] public class ConsumerTests : HareDuTesting { [Test] ...
52.425926
116
0.611268
[ "Apache-2.0" ]
ahives/HareDu1
src/HareDu.Tests/ConsumerTests.cs
5,662
C#
// ------------------------------------------------------------------------------------------------- // <copyright file="ElementGroupingErrorCategory.cs" company="RHEA System S.A."> // // Copyright 2022 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not us...
36.941176
102
0.569268
[ "Apache-2.0" ]
RHEAGROUP/Kalliope
Kalliope/Core/ModelErrorCategories/ElementGroupingErrorCategory.cs
1,258
C#
namespace DioPOO.src.Entities.Heroes { public class Acolyte : Hero { public Acolyte(string Name, int Level, string HeroType, int HP, int MP, string Weapon) : base(Name, Level, HeroType, HP, MP, Weapon) { this.Name = Name; this.Level = Level; this.HeroType = ...
25.222222
140
0.482819
[ "MIT" ]
Raphael-Azevedo/DioGFTPoo
DioPOO/src/Entities/Heroes/Acolyte.cs
1,143
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.Reflection; namespace System.Linq.Expressions.Tests { static class ReflectionExtensions { public static ConstructorInfo GetDeclaredConstr...
33.875
144
0.728782
[ "MIT" ]
mellinoe/corefx
src/System.Linq.Expressions/tests/Catalog/ReflectionExtensions.cs
544
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Element { public static class ElementBuffFactor { /// <summary> /// First entry = attacker /// Second entry = receiver /// Data = elemental multiplier /// </summary> //public...
40.52381
106
0.607521
[ "MIT" ]
HongCFull/Comp4971C
Assets/Scripts/Gameplay/Combat/Element/ElementBuffFactor.cs
4,255
C#
using UnityEngine; using System.Collections; using UnityEngine.Events; namespace Invector.CharacterController { public class vOnDeadTrigger : MonoBehaviour { public UnityEvent OnDead; void Start() { vCharacter character = GetComponent<vCharacter>(); if (characte...
21.869565
62
0.606362
[ "MIT" ]
boveloco/AMazeSurvivor
Assets/Controller/Basic Locomotion/Scripts/CharacterController/vOnDeadTrigger.cs
505
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; namespace CZGL.SystemInfo.Linux { /// <summary> /// 获取 Linux 系统动态资源消耗信息 /// </summary> public class DynamicInfo { private Tasks _tasks; private CpuStat...
31.269006
147
0.395642
[ "Apache-2.0" ]
LGinC/CZGL.SystemInfo
src/CZGL.SystemInfo.Linux/DynamicInfo.cs
11,002
C#
using System.Collections.Generic; using Microsoft.Maui.Layouts; using Microsoft.Maui.Primitives; using NSubstitute; using Xunit; namespace Microsoft.Maui.UnitTests.Layouts { [Category(TestCategory.Core, TestCategory.Layout)] public class LayoutExtensionTests { [Fact] public void FrameExcludesMargin() { va...
34.984536
111
0.721084
[ "MIT" ]
Eilon/maui
src/Core/tests/UnitTests/Layouts/LayoutExtensionTests.cs
6,789
C#
namespace USchedule.Core.Enums { public enum SubjectType { Practical = 0, Lab = 1, Lecture = 2 } }
15
31
0.518519
[ "MIT" ]
stenvix/uschedule-api
src/USchedule.Core/Enums/SubjectType.cs
137
C#
using UnityEngine; namespace SimpleKeplerOrbits { public class HyperbolaData { public double A; public double B; public double C; public double Eccentricity; public Vector3d Center; public Vector3d FocusDistance; public Vector3d Focus0; public Vector3d Focus1; public Vector3d AxisMain; public Ve...
33.803738
129
0.690075
[ "MIT" ]
In-dialog/heaven2.1
Server_Heaven/Assets/SimpleKeplerOrbits/Scripts/Data/HyperbolaData.cs
3,619
C#
namespace ErlSharp.Forms { using System; using System.Collections.Generic; using System.Linq; using System.Text; using ErlSharp.Expressions; using ErlSharp.Language; public class FunctionForm : IForm { private string name; private IList<IExpression> paramete...
33.285714
115
0.591202
[ "MIT" ]
ajlopez/ErlSharp
Src/ErlSharp/Forms/FunctionForm.cs
1,866
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
39.317308
157
0.641722
[ "BSD-3-Clause" ]
anuprakash/Krypton-NET-5.472
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteGroupBoxRedirect.cs
4,092
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.ObjectModel; using System.Diagnostics; using System.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Data;...
39.330357
131
0.635868
[ "MIT" ]
55995409/microsoft-ui-xaml
dev/Repeater/TestUI/Samples/Selection/Flat/FlatSample.xaml.cs
4,407
C#
//------------------------------------------------------------------------------ // <auto-generated> // Generated by the MSBuild WriteCodeFragment class. // </auto-generated> //------------------------------------------------------------------------------ using System; using System.Reflection; [assembly: Microsof...
51.071429
138
0.627972
[ "MIT" ]
Luminos-media/ExRepository
obj/Debug/netcoreapp2.1/ExRepository.RazorAssemblyInfo.cs
715
C#
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VSSDK.Tools.VsIdeTesting; using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Shell; using EnvDTE; namespace EditProj_IntegrationTests { //...
28.5
118
0.603509
[ "MIT" ]
MisterJimson/LetMeEdit
EditProj/EditProj_IntegrationTests/PackageTest.cs
1,712
C#
using Microsoft.Kinect; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.M...
36.644909
151
0.553901
[ "Apache-2.0" ]
ffriedl/csc-at-hackathon
Kinect/DroneKinectControler/DroneKinectController/DroneKinectController/MainWindow.xaml.cs
14,038
C#
namespace Smart.IO.ByteMapper.Builders { using System; using Smart.IO.ByteMapper.Converters; public sealed class DecimalConverterBuilder : AbstractMapConverterBuilder<DecimalConverterBuilder> { public int Length { get; set; } public byte Scale { get; set; } public...
34.166667
108
0.586063
[ "MIT" ]
usausa/Smart-Net-ByteMapper
Smart.IO.ByteMapper.Options/IO/ByteMapper/Builders/DecimalConverterBuilder.cs
1,435
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.EntityFrameworkCore; using ContosoUniversity.Data; using ContosoUniversity.Models; using ContosoUniversity.Models.SchoolViewModels;...
35.241935
96
0.586728
[ "MIT" ]
priyank89patel/AspNetCore_EFCore_Sample
src/ContosoUniversity/ContosoUniversity/Pages/Instructors/Index.cshtml.cs
2,187
C#
namespace SpeakerMeet.DTO { public class Speaker { public int Id { get; set; } public string Name { get; set; } public string Location { get; set; } public bool IsDeleted { get; set; } public string EmailAddress { get; set; } } }
23.583333
48
0.568905
[ "MIT" ]
PacktPublishing/Improving-your-C-Sharp-Skills
Chapter10/SpeakerMeet/SpeakerMeet.DTO/Speaker.cs
285
C#
using System; using UIKit; using Cirrious.MvvmCross.Touch.Views; using Cirrious.MvvmCross.Binding.BindingContext; using Cirrious.MvvmCross.Binding.Touch.Views; using ThinkOut.ViewModels; namespace ThinkOut.iPhone { public partial class IdeasView : MvxViewController { public IdeasViewModel VM { get { return b...
19.980769
80
0.711261
[ "MIT" ]
willbuildapps/ThinkOut-MobileApp
app/ThinkOut.iPhone/Views/IdeasView/IdeasView.cs
1,041
C#
namespace WxTeamsSharp.Interfaces.Messages { /// <summary> /// Can set a recipent for new Message. Can be a user Id, email, or room /// </summary> public interface ISendMessageTo { /// <summary> /// Send a message to room /// </summary> /// <param name="roomId">Room ...
31.533333
76
0.577167
[ "MIT" ]
FooBartn/WxTeamsSharp
src/WxTeamsSharp/Interfaces/Messages/ISendMessageTo.cs
948
C#
// *********************************************************************** // Assembly : XLabs.Sample // Author : XLabs Team // Created : 12-27-2015 // // Last Modified By : XLabs Team // Last Modified On : 01-04-2016 // **********************************************************************...
26.377551
105
0.59265
[ "Apache-2.0" ]
jdluzen/Xamarin-Forms-Labs
Samples/XLabs.Sample/Pages/Controls/ExtendedScrollView.xaml.cs
2,587
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Protocols.TestManager.Detector; using Microsoft.Protocols.TestManager.SMBDPlugin.Detector; using Microsoft.Protocols.TestTools.StackSdk.FileAccessServi...
39.744526
192
0.582002
[ "MIT" ]
G-arj/WindowsProtocolTestSuites
TestSuites/MS-SMBD/src/Plugin/SMBDPlugin/DetectionResultControl.cs
5,447
C#
using Microsoft.Maui.Handlers; namespace Microsoft.Maui.DeviceTests { public partial class CheckBoxHandlerTests { NativeCheckBox GetNativeCheckBox(CheckBoxHandler checkBoxHandler) => (NativeCheckBox)checkBoxHandler.View; bool GetNativeIsChecked(CheckBoxHandler checkBoxHandler) => GetNativeCheckBox(checkB...
26.615385
70
0.820809
[ "MIT" ]
lanicon/maui
src/Core/tests/DeviceTests/Handlers/CheckBox/CheckBoxHandlerTests.iOS.cs
348
C#
using System.Text; using API.Data; using API.Entities; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.IdentityModel.Tokens; namespace API.Exensions { public static cl...
37.454545
118
0.651092
[ "MIT" ]
hli261/inventoryManagementApp
backend/API/Exensions/IdentityServiceExtensions.cs
1,648
C#
// Copyright (c) SimpleIdServer. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using NETCore.Ldap.DER.Applications.Requests; using System.Collections.Generic; using System.Linq; namespace NETCore.Ldap.Authentication { public class ...
36.25
107
0.754023
[ "Apache-2.0" ]
simpleidserver/NETCore.Ldap
src/NETCore.Ldap/Authentication/AuthenticationHandlerFactory.cs
872
C#
// // ITrackerRequestFactory.cs // // Authors: // Alan McGovern alan.mcgovern@gmail.com // // Copyright (C) 2019 Alan McGovern // // 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...
37.289474
73
0.749471
[ "MIT" ]
OneFingerCodingWarrior/monotorrent
src/MonoTorrent/MonoTorrent.Client.Tracker/ITrackerRequestFactory.cs
1,419
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TensorFlowLite; public class JumpingSquatController : MonoBehaviour { public PoseNetSample poseNetSample; public Text counterText; bool counterable = false; int count = 0; public ...
24.652482
83
0.474108
[ "Apache-2.0" ]
ethanscho/tensorflow-edge
unity/Assets/Scripts/Controllers/JumpingSquatController.cs
3,478
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace ExemploControleNavegacao { public partial class Contact : Page { protected void Page_Load(object sender, EventArgs e) { } } }
18.411765
60
0.696486
[ "MIT" ]
JonatasAfonso/formacaoAspNetWebForms201903
Aulas/Aula 03/ExemploControleNavegacao/ExemploControleNavegacao/Contact.aspx.cs
315
C#
using System; using UnityEngine; namespace SA.Android.App { /// <summary> /// A representation of settings that apply to a collection of similarly themed notifications. /// </summary> [Serializable] public class AN_NotificationChannel { [SerializeField] string m_Id; [Ser...
34.643478
125
0.588353
[ "MIT" ]
Alnirel/com.stansassets.running-dinosaur-clone
Assets/Plugins/StansAssets/NativePlugins/AndroidNativePro/Runtime/API/App/Notifications/AN_NotificationChannel.cs
3,984
C#
using System; using System.Text; using System.Collections; using UnityEngine; using System.Runtime.InteropServices; public class WebSocket { private Uri mUrl; public WebSocket(Uri url) { mUrl = url; Debug.Log("WebSocket.Constructor WebGL: url: "+url); string protocol = mUrl.Schem...
26.009091
122
0.60713
[ "MIT" ]
IndieSquare/BtcpayUnitySDK
WebSocketUnityWebGL/WebSocketUnity.cs
2,863
C#
using DFC.Content.Pkg.Netcore.Data.Models; using System; using System.Collections.Generic; namespace DFC.Content.Pkg.Netcore.Data.Contracts { public interface IBaseContentItemModel : IApiDataModel { ContentLinksModel? ContentLinks { get; set; } IList<IBaseContentItemModel> ContentItems { get;...
23.055556
63
0.684337
[ "MIT" ]
SkillsFundingAgency/dfc-content-pkg-netcore
dfc-content-pkg-netcore/Data/Contracts/IBaseContentItemModel.cs
417
C#
using DSIS.Scheme.Impl; using DSIS.Scheme.Impl.Actions.Line; using DSIS.UI.Application.Progress; using DSIS.UI.UI; using DSIS.UI.Wizard; using EugenePetrenko.Shared.Core.Ioc.Api; namespace DSIS.UI.Application.Doc.Actions.Segments { [DocumentAction(Caption = "Create Segment")] public class CreateLineActio...
30.902439
130
0.566693
[ "Apache-2.0" ]
jonnyzzz/phd-project
dsis/src/UIs/UI.Application/src/Doc/Actions/Segments/CreateLineAction.cs
1,267
C#
// // Copyright (c) 2008-2011, Kenneth Bell // // 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, merge,...
37.692308
92
0.680612
[ "MIT" ]
Twometer/LineOS
LineOS/NTFS/Compression/CompressionResult.cs
1,962
C#
using System; using System.ComponentModel.DataAnnotations.Schema; using System.Reflection; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace bestdealpharma.com.Data.Models { public class OrderDetail { public int Id { get; set; } public string Title { get; set; } public string Manufacturer { get; se...
28.071429
58
0.667939
[ "MIT" ]
ersensari/bestdealpharma.com
Data/Models/OrderDetail.cs
786
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace SaveRestoreForWpf { /// <summary> /// App.xaml の相互作用ロジック /// </summary> public partial class App : Application { } }
17
42
0.692042
[ "MIT" ]
koichi210/CS_Wpf
SaveRestoreForWpf/SaveRestoreForWpf/App.xaml.cs
309
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.OleDb; namespace KutuphaneOtomosyonu { public partial class PersonelDuzenlemeVeSil...
41.546713
280
0.488881
[ "Apache-2.0" ]
receppolat/LibraryOtomation
KutuphaneOtomosyonu/PersonelDuzenlemeVeSilme.cs
12,025
C#
using System; using System.Collections.Generic; using System.Linq; public class Engine { private IInputReader reader; private IOutputWriter writer; private HeroManager heroManager; public Engine(IInputReader reader, IOutputWriter writer, HeroManager heroManager) { this.reader = reader; ...
27.901961
109
0.638791
[ "MIT" ]
vasilchavdarov/SoftUniHomework
Hell-Skeleton/Hell/Core/Engine.cs
1,425
C#
using System; using System.Collections.Generic; using System.Text; using Utilities; namespace Model.Validation.Functions { internal sealed class FdaFunctionBaseValidator: IValidator<IFdaFunction> { public IMessageLevels IsValid(IFdaFunction obj, out IEnumerable<IMessage> msgs) { ms...
51.4
144
0.6738
[ "MIT" ]
HydrologicEngineeringCenter/HEC-FDA
Model/Validation/Functions/FdaFunctionBaseValidator.cs
1,544
C#
using System.Text; namespace System { public static partial class Extensions { public static StringBuilder ExtractOperator(this StringBuilder @this) { return @this.ExtractOperator(0); } public static StringBuilder ExtractOperator(this StringBuilder @this, out int endIndex) { return @this.ExtractOpe...
18.011111
105
0.559531
[ "MIT" ]
Conscience-Information-Technologies/OpenApiValidator
Conscience.Extensions/System/System.Text.StringBuilder/Extract/ExtractOperator.cs
1,623
C#
namespace _4.Files { using System; using System.Collections.Generic; using System.Linq; public class Files { public static void Main() { Dictionary<string, Dictionary<string, long>> filesByRoot = new Dictionary<string, Dictionary<string, long>>(); int n = i...
31.09375
122
0.484422
[ "MIT" ]
TsvetanNikolov123/CSharp---Programming-Fundamentals-Extended
37 Exam Preparation II/4.Files/Files.cs
1,992
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using Claim.Asserts; using Claim.Exceptions; namespace Claim { public abstract class Request<TRequest> where TRequest : Request<TRequest> { private readonly HttpClient _h...
33.177778
115
0.641996
[ "MIT" ]
joakimthun/claim
src/Claim/Request.cs
2,988
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples { public partial class TextAnalyticsSamples { ...
46.976471
135
0.584773
[ "MIT" ]
AikoBB/azure-sdk-for-net
sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2.1_AnalyzeSentimentWithOpinionMiningAsync.cs
3,995
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("Rea...
38.540541
84
0.752454
[ "MIT" ]
1804-Apr-USFdotnet/Living-Social-Project2
RealEstateCRMAPI/RealEstateCRM.DataAccessLayer/Properties/AssemblyInfo.cs
1,429
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using UCDArch.Core.PersistanceSupport; namespace Catbert4.Tests.Core { public class QueryExtensionFakes : IQueryExtensionProvider { public IQueryable<T> Cache<T>(IQueryable<T> queryable, string ...
35.903226
262
0.677448
[ "MIT" ]
ucdavis/Catbert
Catbert4.Tests/Core/QueryExtensionFakes.cs
1,115
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tool.BLL; namespace Tool.Command { abstract class AbstractMoveToHomeScreenExecutorMFCTP : AbstractCommandExecutor { protected ScreenIdentify homeScreenIdentify; protected Ab...
32.150685
105
0.598637
[ "MIT" ]
LifeIsABoat/AutoTestV1
AutoTest/Command/AbstractMoveToHomeScreenExecutorMFCTP.cs
2,347
C#
using NAudio.CoreAudioApi; using NAudio.Wave; using SoundMap.NoteWaveProviders; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Xml.Serialization; namespace SoundMap.Settings { [Serializable] public class PreferencesSettings: Obs...
22.425197
151
0.676088
[ "MIT" ]
Axaparta/SoundMap
Settings/PreferencesSettings.cs
5,698
C#
#region license // Copyright (c) 2021, andreakarasho // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the above copyright // notice, this l...
46.022222
98
0.760502
[ "MIT" ]
DarkLotus/Mythik-UOSpawn-Editor
Assets/Scripts/ClassicUO/Utility/StbTextedit/UndoRecord.cs
2,071
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using FSS.Omnius.Modules.CORE; using FSS.Omnius.Modules.Entitron.Entity; using FSS.Omnius.Modules.Entitron.Entity.Persona; using FSS.Omnius.Modules.Nexus.Service; using Newtonsoft.Json.Linq; namespace FSS.Omnius.Modules.Persona { ...
44.763636
221
0.497834
[ "MIT" ]
simplifate/omnius
application/FSS.Omnius.Modules/Persona/MasterWSO.cs
7,388
C#
using System; using System.Collections; using System.Text; using NUnit.Framework; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Signers; using Org.BouncyCastle.Math; using Org.BouncyCast...
53.002714
242
0.688734
[ "MIT" ]
63l06ri5/bc-csharp
crypto/test/src/x509/test/TestCertificateGen.cs
39,065
C#
using Storage.Classes.Models.TumOnline; using UI_Context.Classes.Context.Dialogs; using Windows.UI.Xaml.Controls; namespace UI.Dialogs { public sealed partial class LectureInfoDialog: ContentDialog { //--------------------------------------------------------Attributes:---------------------------------...
31.94
144
0.363181
[ "MIT" ]
COM8/TUM_Campus_App_UWP
UI/Dialogs/LectureInfoDialog.xaml.cs
1,599
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
57.669565
188
0.681996
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IClaimsMappingPolicyWithReferenceRequest.cs
6,632
C#
using System; using System.Threading; using System.Threading.Tasks; using ElmSharp; using ElmSharp.Wearable; using EButton = ElmSharp.Button; using EColor = ElmSharp.Color; using EImage = ElmSharp.Image; using ELayout = ElmSharp.Layout; using EWidget = ElmSharp.Widget; namespace Xamarin.Forms.Platform.Tizen.Watch { ...
21.862963
151
0.680586
[ "MIT" ]
Ezeji/Xamarin.Forms
Xamarin.Forms.Platform.Tizen/Shell/Watch/NavigationDrawer.cs
11,808
C#
using System; namespace VertSoft.Peppol.Common.Lang { public class PeppolRuntimeExceptionTest { public virtual void simpleConstructors() { new PeppolRuntimeException("Message", new Exception("innerdummy")); } } }
16.214286
70
0.748899
[ "MIT" ]
BartVertongen/Peppol.NETCoreLib
PeppolNETCoreTest/Common/lang/PeppolRuntimeExceptionTest.cs
227
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MS-PL license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using MvvmCross.Excep...
36.79661
115
0.576693
[ "MIT" ]
Nivaes/Nivaes.App.Cross
Nivaes.App.Cross/Components/IoC.Old/MvxTypeCache.cs
2,173
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.WebJobs.Protocols; namespace Dashboard.Data { /// <summary>Defines a monitor for valid running host heartbeats.</summary> /// <remarks> ...
51.957447
118
0.662572
[ "MIT" ]
Bjakes1950/azure-webjobs-sdk
src/Dashboard/Data/IHeartbeatValidityMonitor.cs
2,444
C#
using System; namespace TaLib { public partial class Core { public static RetCode MacdExt(int startIdx, int endIdx, double[] inReal, int optInFastPeriod, MAType optInFastMAType, int optInSlowPeriod, MAType optInSlowMAType, int optInSignalPeriod, MAType optInSignalMAType, ref int outBegIdx, ref int outNB...
43.913208
324
0.531494
[ "Apache-2.0" ]
QuantBox/QuantBoxXProvider
TALib/TAFunc/TA_MacdExt.cs
11,637
C#
namespace BuildingDrainageConsultant.Data.Seeding.ExcelSeeders { public static class ExcelSeedingConstants { public class Drains { public const int NameColumn = 0; public const int DescriptionColumn = 1; public const int FlowRateColumn = 2; publi...
39.837838
63
0.600407
[ "MIT" ]
AlShandor/ASP.NET-Core-Project-Building-Drainage-Consultant
BuildingDrainageConsultant/Data/Seeding/ExcelSeeders/ExcelSeedingConstants.cs
2,950
C#
using System; using System.Collections.Generic; using NHapi.Base.Log; using NHapi.Model.V24.Group; using NHapi.Model.V24.Segment; using NHapi.Model.V24.Datatype; using NHapi.Base; using NHapi.Base.Parser; using NHapi.Base.Model; namespace NHapi.Model.V24.Message { ///<summary> /// Represents a RPI_I01 m...
28.180593
146
0.637877
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
afaonline/nHapi
src/NHapi.Model.V24/Message/RPI_I01.cs
10,455
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("Ne...
38.72973
84
0.750174
[ "MIT" ]
Community-Manager/NCS-Server
Source/Data/NeighboursCommunitySystem.Data/Properties/AssemblyInfo.cs
1,436
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text.RegularExpressions; using Flantter.MilkyWay.Common; using Flantter.MilkyWay.Models.Apis.Objects; using Flantter.MilkyWay.Models.Exceptions; namespace F...
44.42272
129
0.462867
[ "MIT" ]
cucmberium/Flantter
Flantter.MilkyWay/Models/Filter/Compiler.cs
57,783
C#
using System.Collections.Generic; using TaleWorlds.InputSystem; using TaleWorlds.MountAndBlade; #pragma warning disable 1591 namespace BannerLib.Input { public class InputSubModule : MBSubModuleBase { // TODO: Expand the system and make it more resistant to mod collisions. // TODO: Support the ...
33.365854
80
0.600877
[ "Unlicense" ]
sirdoombox/BannerLib
BannerLib.Input/InputSubModule.cs
1,368
C#
namespace Homework.Pages { public partial class HomePage : BasePage { public void NavigateToLoginPage(HomePage homePage) { homePage.Navigate("http://automationpractice.com/index.php"); SignInButton.Click(); } } }
22.75
73
0.611722
[ "MIT" ]
studware/My-QA-Automation
QA-Automation-September2019/HW_SeleniumPOM_GRID/Homework/AutomationPractice/Pages/HomePage/HomePage.Methods.cs
275
C#
using MTGAHelper.Lib.OutputLogParser.Models.UnityCrossThreadLogger; namespace MTGAHelper.Lib.OutputLogParser.Readers.UnityCrossThreadLogger { public class StateChangedConverter : GenericConverter<StateChangedResult, StateChangedRaw>, IMessageReaderUnityCrossThreadLogger { public override string LogTex...
39.111111
132
0.8125
[ "MIT" ]
robaxelsen/MTGAHelper-Windows-Client
MTGAHelper.Lib.OutputLogParser/Readers/UnityCrossThreadLogger/StateChangedConverter.cs
354
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace AlibabaCloud.SDK.ROS.CDK.Vpc { /// <summary>A ROS template type: `ALIYUN::VPC::NatGateway`.</summary> [JsiiClass(nativeType: typeof(AlibabaCloud.SDK.ROS.CDK.Vpc.RosNatGateway), fullyQualifiedName: "@alicloud/ros-cdk-vpc....
50.373134
636
0.581807
[ "Apache-2.0" ]
aliyun/Resource-Orchestration-Service-Cloud-Development-K
multiple-languages/dotnet/AlibabaCloud.SDK.ROS.CDK.Vpc/AlibabaCloud/SDK/ROS/CDK/Vpc/RosNatGateway.cs
16,875
C#
namespace QFramework.GraphDesigner { public interface ISlotContextCommand { } }
14.285714
40
0.66
[ "MIT" ]
SkyAbyss/QFramework
Assets/QFramework/Framework/0.Core/Editor/0.EditorKit/uFrame.Editor/Systems/GraphUI/Drawers/impl/ISlotContextCommand.cs
100
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace ODataValidator.Rule { #region Namespaces using System; using System.Collections.Generic; using System.ComponentModel.Compositio...
30.04329
159
0.46268
[ "MIT" ]
OData/ValidationTool
src/CodeRules/Entry/EntryCore4107.cs
6,942
C#
using System; namespace CK.Entities { public sealed class Result<T> { #region Public Constructors public Result(T value) { Value = value; } public Result(Exception exception) { Exception = exception; } #endregion Public...
17.516129
49
0.556169
[ "MIT" ]
mvelasquez10/ck-backend
CK.Repository/Result.cs
545
C#
namespace Baseline.Validate { /// <summary> /// Base synchronous validation class which provides validation helper methods. /// </summary> /// <typeparam name="TToValidate">The type that is being validated.</typeparam> public abstract class SyncValidator<TToValidate> : BaseValidator<TToValidate>, IS...
42.583333
116
0.654599
[ "MIT" ]
getbaseline/Baseline.Validate
src/Baseline.Validate/Validators/SyncValidator.cs
1,022
C#
[TaskCategoryAttribute] // RVA: 0x1552C0 Offset: 0x1553C1 VA: 0x1552C0 [TaskDescriptionAttribute] // RVA: 0x1552C0 Offset: 0x1553C1 VA: 0x1552C0 public class GetSpread : Action // TypeDefIndex: 11356 { // Fields [TooltipAttribute] // RVA: 0x191F20 Offset: 0x192021 VA: 0x191F20 public SharedGameObject targetGameObjec...
34
73
0.745436
[ "MIT" ]
SinsofSloth/RF5-global-metadata
BehaviorDesigner/Runtime/Tasks/Unity/UnityAudioSource/GetSpread.cs
986
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.CompilerServices; namespace System { // This file collects the longer methods of Type to mak...
35.847826
178
0.428524
[ "MIT" ]
71221-maker/runtime
src/libraries/System.Private.CoreLib/src/System/Type.Helpers.cs
18,139
C#
using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Wavelength.Api.Dtos; using Wavelength.Api.Models; namespace Wavelength.Api.Controllers { [Route("api/bars")] public class Bars...
28.747826
110
0.509982
[ "MIT" ]
tVoss/wavelength
src/api/Controllers/BarsController.cs
3,308
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 ...
16.106267
87
0.554728
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-emr/Emr/Model/V20160408/DescribeEmrMainVersionResponse.cs
5,911
C#
using System.Diagnostics; using xnaMugen.IO; namespace xnaMugen.StateMachine.Controllers { [StateControllerName("PowerSet")] internal class PowerSet : StateController { public PowerSet(StateSystem statesystem, string label, TextSection textsection) : base(statesystem, label, textsection) { m_po...
23.675
82
0.706441
[ "BSD-3-Clause" ]
BlazesRus/xnamugen
src/StateMachine/Controllers/PowerSet.cs
947
C#
namespace EasyLOB { /// <summary> /// ZActivityOperations. /// </summary> public class ZActivityOperations { #region Properties /// <summary> /// Activity name. /// </summary> public string Activity { get; set; } /// <summary> ...
24.293103
66
0.450674
[ "MIT" ]
EasyLOB/EasyLOB-3
EasyLOB/Activity/ZActivityOperations.cs
1,411
C#