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.Reflection; namespace MVCServer.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
21.166667
52
0.748031
[ "Apache-2.0" ]
Bigsby/PoC
Web/Certifying/Tests/MVCServer/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
254
C#
using System; public class StartUp { static void Main() { try { double length = double.Parse(Console.ReadLine()); double width = double.Parse(Console.ReadLine()); double height = double.Parse(Console.ReadLine()); Box box = new Box(length, width,...
23.307692
61
0.533003
[ "MIT" ]
inser788/CSharp-Fundamentals-OOP-Basics
Exercises/08 ENCAPSULATION - EXERCISES/Encapsulation-Exercises/01_Class_Box/StartUp.cs
608
C#
using Phloem.ViewModels; using System; using System.Windows.Threading; using System.Windows; using Microsoft.Win32; namespace Phloem { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow { /// <summary> /// This is the ViewModel of...
27.758389
106
0.49323
[ "MIT" ]
MokkaCicc/Phloem
Phloem/MainWindow.xaml.cs
4,138
C#
namespace ClearHl7.Codes.V270 { /// <summary> /// HL7 Version 2 Table 0146 - Amount Type. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0146</remarks> public enum CodeAmountType { /// <summary> /// DF - Differential. /// </summary> Differential, ...
20.794118
59
0.413013
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V270/CodeAmountType.cs
709
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
39.535714
94
0.760163
[ "MIT" ]
bpe78/WpfExamples
src/WpfMessenger/WpfMessenger/Properties/AssemblyInfo.cs
2,217
C#
// Copyright (c) DNN Software. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Linq; using Dnn.DynamicContent; using Moq; using NUnit.Framework; namespace Dnn.Tests.DynamicContent.UnitTests { [TestFixt...
32.493827
128
0.625
[ "MIT" ]
51Degrees/Dnn.Platform
DNN Platform/Tests/Dnn.Tests.DynamicContent.UnitTests/ValidationRuleTests.cs
2,634
C#
using System.Collections.Generic; namespace essentialMix.Data.Patterns.Parameters; public struct GetSettings : IGetSettings, IIncludeSettings, IFilterSettings { /// <inheritdoc /> public GetSettings(params object[] keys) : this() { KeyValue = keys; } /// <inheritdoc /> public object[] KeyValue { get; set;...
20.727273
75
0.695175
[ "MIT" ]
asm2025/essentialMix
Standard/essentialMix.Data/Patterns/Parameters/GetSettings.cs
458
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TO8CHTX_GraceNote { class Program { static void Main(string[] args) { if (args.Length != 3) { Console.WriteLine("Usage: TO8CHTX_GraceNote ChatFilename NewDBFi...
24.290323
104
0.553785
[ "MIT" ]
AdmiralCurtiss/ToVPatcher
Scripts/tools/TO8CHTX_GraceNote/TO8CHTX_GraceNote/Program.cs
755
C#
using System; using System.Collections.Generic; using Avalonia.Media.TextFormatting.Unicode; using Avalonia.Utilities; namespace Avalonia.Media.TextFormatting { internal class TextLineImpl : TextLine { private static readonly Comparer<int> s_compareStart = Comparer<int>.Default; private stati...
33.709884
152
0.49722
[ "MIT" ]
AndrejBunjac/Avalonia
src/Avalonia.Visuals/Media/TextFormatting/TextLineImpl.cs
26,262
C#
namespace AbstractFactory { public class Vodka : Alcohol { private readonly string madeBy; public Vodka(int percentage, Flavor flavor, string madeby) : base(percentage, flavor) { this.madeBy = madeby; } protected override string Name { ...
20.636364
71
0.502203
[ "MIT" ]
bstaykov/Telerik-High-Quality-Code
CreationalPatterns/AbstractFactory/Vodka.cs
456
C#
/* **************************************************************************** * * BRIEF // * * In this exercise, you'll create a Student class to replace the student * Dictionary. * * First, fill out Student.cs. Then come back to this file! * * *************************************************************...
27.638889
89
0.537688
[ "MIT" ]
nickoliasxii/Class-Activities
Week-21/04-Classes-and-Objects/Unsolved/Program.cs
1,990
C#
using System; using System.Threading; using System.Threading.Tasks; namespace PlaywrightSharp.Helpers { /// <summary> /// Task helper. /// </summary> internal static class TaskHelper { private static readonly Func<TimeSpan, Exception> _defaultExceptionFactory = timeout => new Ti...
47.30625
141
0.611309
[ "MIT" ]
Meir017/playwright-sharp
src/PlaywrightSharp/Helpers/TaskHelper.cs
7,569
C#
using System.ComponentModel.DataAnnotations.Schema; using Abp.Application.Editions; using Abp.Domain.Entities.Auditing; using Abp.MultiTenancy; namespace GSoft.AbpZeroTemplate.MultiTenancy.Payments { [Table("AppSubscriptionPayments")] [MultiTenancySide(MultiTenancySides.Host)] public class SubscriptionPay...
26.848485
67
0.67833
[ "Apache-2.0" ]
NTD98/ASP_ANGULAR
asset-management-api/src/GSoft.AbpZeroTemplate.Core/MultiTenancy/Payments/SubscriptionPayment.cs
888
C#
// <copyright file="ITradeFinishedPlugIn.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameLogic.Views.Trade; /// <summary> /// Interface of a view whose implementation informs about a finished tra...
35.647059
101
0.727723
[ "MIT" ]
ADMTec/OpenMU
src/GameLogic/Views/Trade/ITradeFinishedPlugIn.cs
608
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace FunctionalTests { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schem...
41.546448
133
0.600859
[ "Apache-2.0" ]
mrward/entityframework-sharpdevelop
test/EntityFramework/FunctionalTests.Transitional/CodeFirst/AdvancedMappingScenarioTests.cs
22,809
C#
namespace Computers.Data { using System; using Computers.Models.Abstracts; using Computers.Models.DellComputers; using Computers.Models.HpComputers; using Computers.Models.LenovoComputers; public class ManufacturerFactory { private const string HP = "HP"; private const stri...
28.325
82
0.565755
[ "MIT" ]
NinoSimeonov/Telerik-Academy
Programming with C#/0. Exams/Telerik 2013-2014 - High-Quality Code/C# High-Quality Code - 6 August 2014 - Morning/Computers/Computers.Data/ManufacturerFactory.cs
1,135
C#
using System; using System.Collections.Generic; using System.Text; namespace PoweredSoft.CodeGenerator.Core { public interface IHasGeneratableChildren { List<IGeneratable> Children { get; } } }
18
44
0.726852
[ "MIT" ]
PoweredSoft/CodeGenerator
PoweredSoft.CodeGenerator/Core/IHasGeneratableInterface.cs
218
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace Wodsoft.ComBoost.Website { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpRoute( name: "DefaultApi", ...
23.6
62
0.595339
[ "MIT" ]
alexyjian/Core3.0
Wodsoft.ComBoost.Website/App_Start/WebApiConfig.cs
474
C#
namespace RiotPls.DataDragon.Enums { public enum BlockSummonerSpell { Empty, ItemSmiteAoE, ItemTeleportCancel, OdinTrinketRevive, S5SummonerSmiteDuel, S5SummonerSmiteQuick, S5SummonerSmitePlayerGanker, SummonerBoost, SummonerReturn, ...
24.653846
37
0.647426
[ "MIT" ]
JustNrik/RiotPls
src/RiotPls.DataDragon/Enums/BlockSummonerSpell.cs
643
C#
using System; using System.Collections.Generic; using EventStore.Common.Log; using EventStore.Core.Index; using NUnit.Framework; namespace EventStore.Core.Tests.Index.IndexV4 { public class ptable_midpoint_calculations_should : SpecificationWithDirectory { protected byte _ptableVersion = PTableVersions.IndexV4; p...
38.590909
103
0.725952
[ "Apache-2.0", "CC0-1.0" ]
JasonKStevens/EventStoreRx
src/EventStore.Core.Tests/Index/IndexV4/ptable_midpoint_calculations_should.cs
2,547
C#
using System.Collections.Generic; namespace DigitalOcean.API.Models.Responses { public class AppsCorsPolicy { public IList<AppsStringMatch> AllowOrigins { get; set; } public IList<string> AllowMethods { get; set; } public IList<string> AllowHeaders { get; set; } public IList<string>...
34.692308
64
0.662971
[ "MIT" ]
ruslanfirefly/DigitalOcean.API
DigitalOcean.API/Models/Responses/AppsCorsPolicy.cs
451
C#
using UnityEngine; using UnityEngine.SceneManagement; public class ChangeScene : MonoBehaviour { LevelLogic levelLogic; public void Activated() { levelLogic = GameObject.Find("Managers").GetComponent<LevelLogic>(); levelLogic.NexScene(); } }
19.384615
70
0.765873
[ "MIT" ]
Adri102/2D-Unity-Game
Assets/Scripts/ChangeScene.cs
254
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; [RequireComponent(typeof(Collider))] public class BreakableWall : EntityBase { [Header("Breakable Wall")] [SerializeField] private Transform _wall; [SerializeField] private ParticleSystem _crum...
27.160494
99
0.602727
[ "MIT" ]
metalac190/GameLab_Drosera
Assets/_Game/Scripts/Mechanics/Entities/BreakableWall.cs
2,202
C#
//---------------------------------------------------------------------------- // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. //---------------------------------------------------------------------------- using System; using System.Runtime.Inter...
45.963875
200
0.640862
[ "MIT" ]
tritao/LLDBSharp
LLDBSharp/i686-apple-darwin/SBLaunchInfo.cs
27,992
C#
using BudgetAttempt.Finance.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Web; using System.Text; using AutoMapper; using BudgetAttempt.API.Models; namespace BudgetAttempt.API { public class B...
32.116751
183
0.623044
[ "MIT" ]
yiangos/BudgetAttempt
BudgetAttempt.API/Budget.svc.cs
6,329
C#
//----------------------------------------------------------------------- // <copyright file="WebSsoRequestBase.cs" company="10Duke Software"> // Copyright (c) 10Duke // </copyright> // <author>Jarkko Selkäinaho</author> //----------------------------------------------------------------------- namespace Tend...
48.541284
181
0.584672
[ "MIT" ]
10Duke/desktop-web-sso-example
Tenduke.SsoClient/Request/WebSsoRequestBase.cs
10,585
C#
/***************************************************************************** Copyright 2018 The TensorFlow.NET Authors. 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 Licen...
33.185393
106
0.539191
[ "Apache-2.0" ]
Aangbaeck/TensorFlow.NET
src/TensorFlowNET.Core/Operations/NnOps/LayerRNNCell.cs
5,909
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; using Application.Dto; using Application.Dto.Email; using Application.Dto.QueryParams; using Application.Services.Interfaces; using AutoMapper; using Domain.RDBMS; using Domain.RDBMS.Entities...
42.638955
136
0.535458
[ "MIT" ]
ita-social-projects/Bookcrossing-Back-End
src/Application/Services/Implementation/RequestService.cs
18,138
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
42.382488
117
0.572904
[ "MIT" ]
GBBBAS/Industrial-IoT
components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Registry/tests/Services/DiscovererRegistryTests.cs
9,197
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Query.Library; using System.Diagnostics; using System.Collections; namespace Query.Tests { [TestClass] public class BuilderTests { private Builder _builder; #region Range public BuilderTests() { ...
22.02439
65
0.453488
[ "MIT" ]
patrickCode/C-Sharp
LinqProgramming/Query.Tests/BuilderTests.cs
3,614
C#
using MathNet.Numerics.LinearAlgebra; using MathNet.Spatial.Euclidean; using NUnit.Framework; namespace MathNet.Spatial.UnitTests { public static class AssertGeometry { public static void AreEqual(CoordinateSystem coordinateSystem, Point3D origin, Vector3D xAxis, Vector3D yAxis, Vector3D zAxis, double ...
42.493902
159
0.596212
[ "MIT" ]
3dsoft/mathnet-spatial
src/Spatial.Tests/Helpers/AssertGeometry.cs
6,969
C#
using System; using System.Linq; class Program { static void Main() { var input = Console.ReadLine().Split(new char[] {' '}, StringSplitOptions.RemoveEmptyEntries).Select(long.Parse) .ToList(); bool hasSummed = true; while (hasSummed) { hasSummed = fal...
22.575
120
0.404208
[ "MIT" ]
karaivanska/Programming-Fundamentals
Ext-Lists-Lab/sumAdjacentEqualNumbers/Program.cs
905
C#
using System; using System.CodeDom.Compiler; using System.Dynamic; using System.Collections.Generic; using TobascoTest.TestEnums; namespace TobascoTest.GeneratedEntity { [GeneratedCode("Tobasco", "1.0.0.0")] [Serializable] public partial class CPK8 : DifferentBase { private string _training; public string Train...
20.77551
58
0.717092
[ "Apache-2.0" ]
VictordeBaare/Tobasco
TobascoTest/GeneratedEntity/CPK8_Generated.cs
1,020
C#
using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Collections.Generic; using System.ComponentModel; namespace ResourceTypes.Wwise.Helpers { [TypeConverter(typeof(ExpandableObjectConverter))] public class Layer { public uint ID { get; set; } public List<RT...
25.149425
80
0.474863
[ "MIT" ]
Greavesy1899/Mafia2Toolk
Mafia2Libs/ResourceTypes/FileTypes/Wwise/HIRC/Helpers/HIRC_Layer.cs
2,190
C#
using BatteryCommander.Web.Models; using FluentScheduler; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { [ApiExplorerSettings(IgnoreApi = true)] public class AdminController : Cont...
26.532258
94
0.545289
[ "MIT" ]
mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/AdminController.cs
1,647
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Reflection; using Microsoft.AspNet.Mvc.ModelBinding; namespace Microsoft.AspNet.Mvc.Ap...
32.071429
111
0.650334
[ "Apache-2.0" ]
moljac/Mvc
src/Microsoft.AspNet.Mvc.Core/ApplicationModels/ParameterModel.cs
1,349
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// ChargeItems Data Structure. /// </summary> [Serializable] public class ChargeItems : AopObject { /// <summary> /// 缴费项是否必选 如果缴费项是多选模式,此参数生效。 “Y”表示必填,“N”或空表示非必填。 /// <...
29.232558
184
0.549722
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/ChargeItems.cs
1,603
C#
using System.Web; using System.Web.Mvc; namespace ProductManagerMVC { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); } } }
19.285714
80
0.662963
[ "MIT" ]
CriticalPathTraining/CBD365
Modules/03_MvcWebApps/Lab/Solution/ProductManagerMVC/ProductManagerMVC/App_Start/FilterConfig.cs
272
C#
//----------------------------------------------------------------------- // <copyright file="DeviceOrientationInit.cs" company="Google LLC"> // // Copyright 2020 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 m...
31.132075
75
0.629091
[ "Apache-2.0" ]
AgrMayank/ARCore-Raw-Depth-API
Assets/ARRealismDemos/DemoCarousel/Scripts/DeviceOrientationInit.cs
1,650
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 System.Net.Http; using Microsoft.Toolkit.Win32.UI.Controls...
28.097345
114
0.573228
[ "MIT" ]
devsko/Microsoft.Toolkit.Win32
Tests/UnitTests.WebView.WinForms/FunctionalTests/Navigation/NavigateWithHttpMessageTests.cs
3,175
C#
// THIS FILE IS A PART OF EMZI0767'S BOT EXAMPLES // // -------- // // Copyright 2019 Emzi0767 // // 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/LIC...
32.2
78
0.636885
[ "Apache-2.0" ]
Kiritsu/DSharpPlus-Examples-4.0
DSPlus.Examples.CSharp.Ex05/Bot.cs
2,095
C#
using JetBrains.Annotations; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.Core.Psi.Modules; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Errors; using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration.Api; using JetBrains.ReShar...
48.666667
117
0.682048
[ "Apache-2.0" ]
SirDuke/resharper-unity
resharper/resharper-unity/src/Unity/CSharp/Daemon/Stages/Analysis/PlayAnimatorStateAnalyzer.cs
2,774
C#
using System; namespace Maple.Core { /// <summary> /// Messenger hub responsible for taking subscriptions/publications and delivering of messages. /// </summary> public interface IMessenger { /// <summary> /// Subscribe to a message type with the given destination and delivery acti...
57.907143
205
0.674109
[ "MIT" ]
Insire/InsireBot-V2
src/Maple.Core/EventAggregator/Interfaces/IMessenger.cs
8,109
C#
// Copyright (c) 2020 stakx // License available at https://github.com/stakx/DynamicProxy.AsyncInterceptor/blob/master/LICENSE.md. using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Castle.DynamicProxy { partial class AsyncInterceptor { ...
31.982759
111
0.521833
[ "MIT" ]
yuzd/Autofac.Annotation
src/Intercepter/AsyncInterceptor+AsyncStateMachine.cs
1,855
C#
using System; namespace VidDownloader { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { System.Windows.Forms.Application.EnableVisualStyles(); System.Windo...
24.631579
88
0.589744
[ "Apache-2.0" ]
MeowthK/Youtube-DL-GUI
VidDownloader/Program.cs
470
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...
56.844307
246
0.644627
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/ACMPCA/Generated/_netstandard/IAmazonACMPCA.cs
82,879
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for full license information. u...
42.703583
258
0.64508
[ "MIT" ]
Ethereal77/stride
sources/engine/Stride.Shaders.Parser/Mixins/StrideStreamAnalyzer.cs
13,110
C#
using System.Text.Json.Serialization; namespace RestWithASPNETUdemy.Data.VO { public class PersonVO { //[JsonPropertyName("code")] public long Id { get; set; } //[JsonPropertyName("Nome")] public string FirstName { get; set; } //[JsonPropertyName("Sobrenome")] ...
28.631579
47
0.595588
[ "Apache-2.0" ]
anderson-alpha/RestWithASP-NET5Umedy
10_RestWithASPNETUdemy_ContentNegociation/RestWithASPNETUdemy/RestWithASPNETUdemy/Data/VO/PersonVO.cs
546
C#
using System; namespace Miffy { /// <summary> /// Exception to throw if configuration is invalid /// </summary> public class BusConfigurationException : Exception { /// <summary> /// Create a simple exception instance /// </summary> public BusConfigurationException(...
32.37931
118
0.620873
[ "MIT" ]
survivorbat/rabbiitmq-miffy-wrapper
Miffy.Core/BusConfigurationException.cs
941
C#
using System; using System.Collections.Generic; using BizHawk.Common; using BizHawk.Emulation.Common; namespace BizHawk.Emulation.Cores.Nintendo.SNES { public partial class LibsnesCore { private readonly List<MemoryDomain> _memoryDomainList = new List<MemoryDomain>(); private IMemoryDomains _memoryDomains; p...
30.641221
169
0.64711
[ "MIT" ]
ircluzar/BizhawkLegacy-Vanguard
BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.IMemoryDomains.cs
8,030
C#
using System; using System.Collections.Generic; using System.Text; namespace akarnokd.reactive_extensions { internal sealed class ObservableSourceAll<T> : IObservableSource<bool> { readonly IObservableSource<T> source; readonly Func<T, bool> predicate; public ObservableSourceAll(IObs...
25.1625
110
0.467958
[ "Apache-2.0" ]
akarnokd/reactive-extensions
reactive-extensions/observablesource/ObservableSourceAll.cs
2,015
C#
//Viewer.cs //Created by Aaron C Gaudette on 07.07.16 //Rewrite of TrackedHeadset.cs, completed on 02.07.16 using UnityEngine; using Holojam.Network; namespace Holojam.Tools{ [ExecuteInEditMode] public class Viewer : MonoBehaviour{ public enum TrackingType{LEGACY,OPTICAL,IMU}; public TrackingType t...
47.947368
108
0.669594
[ "BSD-3-Clause" ]
leo92613/holojam-holodeck
Holojam/Assets/Holojam/Tools/Viewer.cs
5,468
C#
using System; using System.Collections.Generic; namespace Natasha { /// <summary> /// 委托构建器,动态构建Func和Action委托 /// </summary> public class DelegateBuilder { public readonly static Type[] FuncMaker; public readonly static Type[] ActionMaker; static DelegateBuilder() ...
27.963303
93
0.505906
[ "MIT" ]
csuffyy/Natasha
Natasha/Builder/DelegateBuilder.cs
3,196
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.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives;...
33.196078
116
0.498523
[ "MIT" ]
Acidburn0zzz/WindowsTemplateStudio
code/src/UI/Services/DragAndDropService/DragAndDropService.Members.cs
4,931
C#
#Thu Jan 06 20:33:17 EET 2022 lib/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2_1.0.59.jar=7025464c3b295d3b83cfb5834677d714 lib/com.ibm.ws.org.apache.cxf.cxf.tools.common.3.2_1.0.59.jar=c84ca09acda07a55b34eaf84fcef3266 lib/com.ibm.ws.jaxrs.2.1.common_1.0.59.jar=15465f3418838d198c561ede4a37b3a0 lib/com.ibm.ws.jaxrs.2.0...
76.25
107
0.846557
[ "MIT" ]
Amihaeseisergiu/Java-Technologies
lab11/service-a/target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.internal.jaxrs-2.1.cs
1,525
C#
using Common.LogicObject; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; public partial class MasterConfig : System.Web.UI.MasterPage { protected BackendPageCommon c; #region Public p...
21.375
105
0.634503
[ "MIT" ]
lozenlin/SampleCMS
Source/Management/MasterConfig.master.cs
1,402
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Repository { public class CountyModel { public int CountyID { get; set; } public string CountyName { get; set; } public string StateCode { get; set; } } }
19.9375
46
0.670846
[ "MIT" ]
ashokbalusu/homeworkhotline-1
Repository/CountyModel.cs
321
C#
using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Hosting; using Microsoft.MobileBlazorBindings; using Xamarin.Essentials; using Xamarin.Forms; namespace CatTrackerDemo { public class App : Application { public App(IFileP...
26.54717
77
0.558635
[ "MIT" ]
Eilon/CatTrackerDemo
CatTrackerDemo/App.cs
1,409
C#
using Common; using GrainInterfaces; using Microsoft.Extensions.Logging; using Orleans; using Orleans.Streams; namespace Grains; public class ProducerGrain : Grain, IProducerGrain { private readonly ILogger<IProducerGrain> _logger; private IAsyncStream<int>? _stream; private IDisposable? _timer; pri...
23.373134
84
0.614943
[ "MIT" ]
BearerPipelineTest/orleans
samples/Streaming/Simple/Grains/ProducerGrain.cs
1,566
C#
using System; using System.Collections.Generic; using System.Text; using Uno.Extensions; using Uno.Logging; using Uno.UI.Extensions; using Uno.Disposables; using Uno.UI.DataBinding; using Uno.UI; namespace Windows.UI.Xaml.Controls.Primitives { public partial class FlyoutBase { partial void InitializePopupPanelPar...
20.233333
65
0.762768
[ "Apache-2.0" ]
ATHULBABYKURIAN/uno
src/Uno.UI/UI/Xaml/Controls/Flyout/FlyoutBase.net.cs
609
C#
using NUnit.Framework; using System; using Taskter.Core.Entities; using FluentAssertions; namespace Taskter.Tests.Core { [TestFixture] public class ProjectTaskEntryEntityTests { ProjectTaskEntry _entry = new ProjectTaskEntry(1, 1, 20, DateTime.Now, "Notee"); [TestCase(0)] [TestCa...
34.679487
118
0.629205
[ "MIT" ]
javalanguagezone/Taskter-Backend
tests/Taskter.Tests/Core/ProjectTaskEntryEntityTests.cs
2,707
C#
using System.Threading.Tasks; using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Parts; using FakeItEasy; using Newtonsoft.Json.Linq; using Xunit; namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Parts.AliasPartGraphSyncerTests { public class AliasPartGraphSyncerValidateSyncComponentTestsBase : PartGr...
35.923077
121
0.6995
[ "MIT" ]
SkillsFundingAgency/dfc-servicetaxonomy-editor
DFC.ServiceTaxonomy.UnitTests/GraphSync/GraphSyncers/Parts/AliasPartGraphSyncerTests/AliasPartGraphSyncerValidateSyncComponentTestsBase.cs
1,403
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...
30.289474
110
0.741964
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CodePipeline/Generated/Model/PutThirdPartyJobFailureResultResponse.cs
1,151
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("Sq...
37.944444
84
0.746706
[ "Apache-2.0" ]
jiaotashidixwh/SqlSugar
Src/Asp.Net/SqlSugar/Properties/AssemblyInfo.cs
1,369
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Media; namespace SharpVectors.Renderers.Wpf { /// <summary> /// This provides the options for the drawing/rendering engine of the WPF. /// </summary> public sealed class WpfDrawingSettings : DependencyObject, IClonea...
32.172775
97
0.503662
[ "BSD-3-Clause" ]
yavor87/sharpvectors
Main/Source/WPF/SharpVectorRenderingWpf/Wpf/WpfDrawingSettings.cs
12,292
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("3....
38.837838
84
0.749478
[ "MIT" ]
Yordanov101/OperatorsAndExpressionsHW
3. DivideBySevenAndFive/Properties/AssemblyInfo.cs
1,440
C#
using ExampleClaimOfResponsability.Entities; namespace ExampleClaimOfResponsability.Interfaces { public interface IChargeAppService { Charge AlteraMeioPagamento(string payMethod); } }
22.666667
53
0.784314
[ "MIT" ]
wodsonluiz/ExampleClaimOfResponsibility
src/ExampleClaimOfResponsability/Interfaces/IChargeAppService.cs
204
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. // // ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗...
35.870968
76
0.499101
[ "Apache-2.0" ]
SimonCropp/elasticsearch-net
src/Elastic.Clients.Elasticsearch/_Generated/Api/IndexManagement/ForcemergeResponse.g.cs
1,558
C#
using MongoDB.Driver; namespace RedCapped.Core.Extensions { public static class ExtensionMethods { internal static WriteConcern ToWriteConcern(this QoS qos) { switch (qos) { default: return WriteConcern.W1; case QoS.Lo...
23.380952
65
0.503055
[ "Apache-2.0" ]
AppSpaceIT/RedCapped
src/RedCapped.Core/Extensions/ExtensionMethods.cs
493
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace Discord { /// <summary> /// Represents a container for a series of overwrite permissions. /// </summary> [DebuggerDisplay(@"{DebuggerDisplay,nq}")] public struct OverwritePermissions { /// <summary> ...
62.785425
173
0.670041
[ "MIT" ]
VACEfron/DNetPlus
DNetPlus/Core/Entities/Permissions/OverwritePermissions.cs
15,508
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Reflection.Metadata.Decoding { [Flags] internal enum IdentifierOptions { None = 0, TrimStart = 1, Trim = 2, ...
22.933333
101
0.642442
[ "MIT" ]
controlflow/srm-extensions
src/System.Reflection.Metadata.Extensions/Decoding/TypeNameParsing/IdentifierOptions.cs
346
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("Fi...
38.027778
84
0.750913
[ "Unlicense" ]
dojonate/FibonacciValidator
FibonacciValidator/Properties/AssemblyInfo.cs
1,372
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Pssg.Css.Interfaces.DynamicsAutorest.Models { using Newtonsoft.Json; using System.Collections; using Sys...
44.893701
2,462
0.664737
[ "Apache-2.0" ]
GeorgeWalker/pssg-psd-csa
interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMdiscount.cs
11,403
C#
namespace eKuharica.WinUI.Recipes { partial class frmAddRecipes { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
45.278997
145
0.598657
[ "MIT" ]
almahuskovic/eKuharica
eKuharica/eKuharica.WinUI/Recipes/frmAddRecipes.Designer.cs
14,446
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Web; namespace Utility { public abstract class Data { private static string connectionString = string.Empty; static Data() { if (!string...
35.412371
124
0.546579
[ "Apache-2.0" ]
LUCASDESENVOLVEDOR/ProjetoUtility
Utility/Data.cs
6,874
C#
using Masuit.MyBlogs.Core.Common; using Masuit.MyBlogs.Core.Extensions; using Masuit.MyBlogs.Core.Models.ViewModel; using Masuit.Tools; using Masuit.Tools.AspNetCore.ResumeFileResults.Extensions; using Masuit.Tools.Files; using Masuit.Tools.Logging; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; u...
39.792727
244
0.440921
[ "MIT" ]
chjenlove113/Masuit.MyBlogs
src/Masuit.MyBlogs.Core/Controllers/FileController.cs
11,061
C#
using AbpCoreEf6Sample.EntityFramework.Seed.Host; using AbpCoreEf6Sample.EntityFramework.Seed.Tenants; namespace AbpCoreEf6Sample.EntityFramework.Seed { public static class SeedHelper { public static void SeedHostDb(AbpCoreEf6SampleDbContext context) { context.SuppressAutoSetTenant...
28.857143
72
0.669967
[ "MIT" ]
TechnicalConsultant123/aspnetboilerplate-samples
AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFramework/EntityFramework/Seed/SeedHelper.cs
608
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using EveneumSample.Models; namespace EveneumSample.Controllers { public class HomeController : Controller { pr...
24.342105
112
0.642162
[ "MIT" ]
Eveneum/Sample
EveneumSample/Controllers/HomeController.cs
927
C#
using System; using System.IO; using System.Data; using System.Text; using System.Collections.Generic; using Newtonsoft.Json; namespace excel2json { /// <summary> /// 将DataTable对象,转换成JSON string,并保存到文件中 /// </summary> class JsonExporter : ExcelExporter { public override void ...
32.898734
98
0.529819
[ "MIT" ]
rooong/excel2json
JsonExporter.cs
2,773
C#
using System; using Stylophone.Common.ViewModels; using Stylophone.iOS.Helpers; namespace Stylophone.iOS.ViewControllers { public interface IViewController<T>: IPreparableViewController where T: ViewModelBase { T ViewModel { get; } PropertyBinder<T> Binder { get; } } public interface...
19.136364
89
0.669834
[ "MIT" ]
Difegue/Stylophone
Sources/Stylophone.iOS/ViewControllers/IViewController.cs
423
C#
using Mosa.Runtime; using Mosa.Runtime.x86; using System.Collections.Generic; namespace Mosa.External.x86 { public readonly struct MemoryBlock { private readonly Pointer address; private readonly uint size; private readonly bool IsManaged; public Pointer Address { get { return...
23.722581
84
0.466413
[ "BSD-3-Clause" ]
TRDP1404/MOSA-Core
Mosa/Mosa.External.x86/MemoryBlock.cs
3,679
C#
//-------------------------------------------------- // <copyright file="AppiumIosUnitTests.cs" company="Magenic"> // Copyright 2021 Magenic, All rights Reserved // </copyright> // <summary>Test class for ios related functions</summary> //-------------------------------------------------- using Magenic.Maqs.BaseAppiu...
41.532609
138
0.645381
[ "MIT" ]
Magenic/MAQS
Framework/AppiumUnitTests/AppiumIosUnitTests.cs
3,823
C#
//*******************************************************************************************// // // // Download Free Evaluation Version From: https://bytescout.com/download/web-installer // // ...
45.444444
100
0.426243
[ "Apache-2.0" ]
jboddiford/ByteScout-SDK-SourceCode
PDF Extractor SDK/C#/Reduce Memory Usage for PDF to Text/Program.cs
2,455
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...
30.372549
107
0.601679
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/CloudWatchEvidently/Generated/Model/Event.cs
3,098
C#
using McMaster.Extensions.CommandLineUtils; namespace AppCore.SigningTool.Commands { public class SnCommand : ICommand { public string Name => "sn"; public string Description => "Assembly strong naming commands."; public void Configure(CommandLineApplication cmd) { } ...
22.954545
72
0.613861
[ "MIT" ]
AppCoreNet/SigningTool
src/AppCore.SigningTool/Commands/SnCommand.cs
505
C#
using System; using System.Linq; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Text; using NLog; using Logger = NLog.Logger; namespace Utility { public static class Requester { private static Logger logger = LogManager.GetCurrentClassLogger(); //...
39.170455
161
0.510734
[ "MIT" ]
Derivolate/4-in-a-row-AI
Util/Requester.cs
6,896
C#
// Credit: https://github.com/andrewzimmer906/PocketPortalVR using System.Collections; using System.Collections.Generic; using UnityEngine; namespace PortalsVR { enum Direction { Up, Down, West, East, North, South }; public class SubdividedCube : MonoBehaviour { private MeshFilter meshFilter; ...
31.572816
95
0.442651
[ "MIT" ]
AH228589/PortalsVR
Assets/PortalsVR/Scripts/Portal/SubdividedCube/SubdividedCube.cs
6,506
C#
using System.IO; using NUnit.Framework; namespace Mirror.Tests { // NetworkWriterTest already covers most cases for NetworkReader. // only a few are left [TestFixture] public class NetworkReaderTest { /* uncomment if needed. commented for faster test workflow. this takes >3s. [Test]...
30.870588
102
0.514863
[ "MIT" ]
10allday/OpenMMO
Plugins/3rdParty/Mirror/Tests/Editor/NetworkReaderTest.cs
2,624
C#
using Dibware.EventDispatcher.Core; using System; using System.Windows.Forms; namespace Dibware.EventDispatcher.UI { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Ap...
29.435897
93
0.554878
[ "MIT" ]
dibley1973/EventDispatcher
UI/Dibware.EventDispatcher.UI/Program.cs
1,150
C#
using Quick.Localize; using System; using System.Text; namespace Test { [TextResource] public enum TextFromCode { [Text("Hello World!", Language = "en-US")] [Text("你好世界!", Language = "zh-CN")] HelloWorld } [TextResource] public enum TextFromEmbedResource...
28.755102
87
0.606813
[ "Apache-2.0" ]
aaasoft/Quick.Localize
Test/Program.cs
1,427
C#
// ———————————————————————– // <copyright file="SituationObservation.cs" company="EDXLSharp"> // 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/L...
28.37247
152
0.63613
[ "Apache-2.0" ]
1stResponder/em-serializers
EDXLSHARP/MEXLSitRepLib/SituationObservation.cs
7,058
C#
using OnlineServices.Common.RegistrationServices.TransferObject; using System; using System.Collections.Generic; using System.Text; namespace OnlineServices.Common.RegistrationServices { public interface IRSAttendeeRole { public SessionTO GetSessionByUserByDate(int userId, DateTime date); pub...
28.866667
75
0.775982
[ "Apache-2.0" ]
TheRealDelep/OnlineServices
Cross-Cutting/OnlineServices.Common/RegistrationServices/IRSAttendeeRole.cs
435
C#
using System; namespace Exportable.Attribute { /// <summary> /// Información para leer un documento /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class ImportableAttribute : System.Attribute { /// <summary> /// Posici...
28.096774
96
0.584386
[ "MIT" ]
Infodinamica/exportable
src/Exportable/Attribute/ImportableAttribute.cs
876
C#
namespace PholioVisualisation.PholioObjects { public class ContentItem { public int Id { get; set; } public string ContentKey { get; set; } public int ProfileId { get; set; } public string Description { get; set; } public string Content { get; set; } public bool ...
27.230769
47
0.601695
[ "MIT" ]
PublicHealthEngland/fingertips-open
PholioVisualisationWS/PholioObjects/ContentItem.cs
356
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
29.974026
67
0.559792
[ "Apache-2.0" ]
AlbertoP57/YAFNET
yafsrc/YAF.Utils/Helpers/JsAndCssHelper.cs
2,233
C#
#if WINDOWS using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; namespace Nucleus.Platform.Windows.Controls { public class TitleBarControl : UserControl { private PictureBox icon; private Label titleLabel; private string text = ""; private...
33.604027
152
0.49251
[ "MIT" ]
lucasassislar/nucleusdotnet
Nucleus.Gaming/Nucleus.Gaming/Platform/Windows/Controls/TitleBarControl.cs
10,016
C#
using System; namespace FFXIV.Packets { public class WorldInit : OpcodePacket { //public List<Byte> ZeroPad = new List<Byte>(new Byte[0x20]); public UInt64 Zero2; public UInt32 EntityId; public String Client = new String(' ', 4); public static WorldInit ClientVersion() ...
30.588235
171
0.584615
[ "MIT" ]
shalzuth/SaBOTender
FFXIVPackets/World/Opcodes/WorldInit.cs
522
C#
//------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for gerado ...
45.291667
91
0.678933
[ "MIT" ]
Eduardo007-lang/Codigos-C-
Atividade_9_Desafio_Segmento_Reta/Atividade_9_Desafio_Segmento_Reta/obj/Release/netcoreapp3.1/Atividade_9_Desafio_Segmento_Reta.AssemblyInfo.cs
1,096
C#
using OpenTK; using OpenTK.Graphics.OpenGL; using SFGenericModel.VertexAttributes; namespace StudioSB.Scenes.Ultimate { public struct IVec4 { public int X { get; set; } public int Y { get; set; } public int Z { get; set; } public int W { get; set; } public int this[int...
36.657143
106
0.5947
[ "MIT" ]
Ploaj/StudioSB
StudioSB/Scenes/Ultimate/Rendering/UltimateVertex.cs
5,134
C#
using System.Collections.Generic; using System.Threading.Tasks; using Abp.Auditing; using NPS.Sessions.Dto; namespace NPS.Sessions { public class SessionAppService : NPSAppServiceBase, ISessionAppService { [DisableAuditing] public async Task<GetCurrentLoginInformationsOutput> GetCurrentLoginIn...
29.621622
100
0.583942
[ "MIT" ]
leonardo-buta/automated-nps
aspnet-core/src/NPS.Application/Sessions/SessionAppService.cs
1,098
C#