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 FHICORC.Integrations.UkGateway.Services; using FHICORC.Integrations.UkGateway.Services.Interfaces; using Microsoft.Extensions.DependencyInjection; namespace FHICORC.Integrations.UkGateway { public static class ServiceCollectionExtension { public static IServiceCollection AddUkGatewayIntegration(...
29.473684
107
0.717857
[ "MIT" ]
folkehelseinstituttet/Fhi.Koronasertifikat.Verifikasjon.Backend
FHICORC.Backend/FHICORC.Integrations.UKGateway/ServiceCollectionExtension.cs
562
C#
using System; using System.Xml.Serialization; namespace Howatworks.SubEtha.Bindings { [Serializable] public class Setting<T> { [XmlAttribute] public T Value { get; set; } } }
16.076923
37
0.636364
[ "MIT" ]
johnnysaucepn/SubEtha
src/Bindings/Howatworks.SubEtha.Bindings/Setting.cs
211
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using Zyan.Communication.Discovery; using Zyan.Communication.Discovery.Metadata; using Zyan.Communication.Notification; using Zyan.Communicat...
31.063694
144
0.6878
[ "MIT" ]
aTiKhan/Zyan
source/Zyan.Communication/ZyanComponentHost.cs
24,388
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DocumentFormat.OpenXml.Framework.Metadata; using System; using System.Xml; using Xunit; #pragma warning disable CA1812 namespace DocumentFormat.OpenXml.Framewo...
30.546667
139
0.592318
[ "MIT" ]
929496959/Open-XML-SDK
test/DocumentFormat.OpenXml.Framework.Tests/PropertyBuilderTests.cs
2,293
C#
namespace AjSharpure.Tests.Compiler { using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.Linq; using AjSharpure.Compiler; using AjSharpure.Expressions; using AjSharpure.Language; using Microsoft.VisualStudio.TestTo...
29.128959
78
0.533359
[ "MIT" ]
ajlopez/AjSharpure
Src/AjSharpure.Tests/Compiler/ParserTests.cs
12,877
C#
// <auto-generated /> namespace MyAbpDemo.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")] public sealed partial class Upg...
28.233333
105
0.634002
[ "MIT" ]
yellowaug/testAbpApplication
src/MyAbpDemo.EntityFramework/Migrations/201901110613114_Upgraded_To_ABP_v4_1_0.Designer.cs
847
C#
// // Authors: // Rafael Mizrahi <rafim@mainsoft.com> // Erez Lotan <erezl@mainsoft.com> // Vladimir Krasnov <vladimirk@mainsoft.com> // // // Copyright (c) 2002-2005 Mainsoft Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated...
32.333333
100
0.743557
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.Web/Test/mainsoft/MainsoftWebApp/System_Web_UI_WebControls/RadioButtonList/RadioButtonList_CellSpacing.aspx.cs
3,104
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
30.925
97
0.595796
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Tcss/V20201101/Models/DescribeRiskListRequest.cs
2,628
C#
namespace Tubumu.Mediasoup { public class PipeTransportStat : TransportStat { // PipeTransport specific. public TransportTuple Tuple { get; set; } } }
20
50
0.65
[ "MIT" ]
albyho/Tubumu.Mediasoup.Common
PipeTransport/PipeTransportStat.cs
182
C#
using System; using System.Collections.Generic; using System.Linq; namespace Celia.io.Core.MicroServices.Utilities { /// <summary> /// 系统扩展 - 类型转换 /// </summary> public static partial class Extensions { /// <summary> /// 安全转换为字符串,去除两端空格,当值为null时返回"" /// </summary> /// <...
24.190476
74
0.588583
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
keith-leung/celia.utilities
Celia.io.Core.MicroServices.Utilities/Extensions/Extensions.Convert.cs
576
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.Json; using System.Threading.Tasks; using ExpressionPowerTools.Core.Dependencies; using ExpressionPowerTools.Serialization.EFCore.AspNetCore.Extensions; using ExpressionPowerTools....
42.838583
119
0.620807
[ "MIT" ]
JeremyLikness/ExpressionPowerTools
test/ExpressionPowerTools.Serialization.EFCore.AspNetCore.Tests/EndToEndTests.cs
10,883
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; using Pulumi.Utilities...
35.767677
360
0.643321
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/PolicySimulator/V1/GetReplay.cs
3,541
C#
using System; using System.Xml.Serialization; using System.ComponentModel.DataAnnotations; using BroadWorksConnector.Ocip.Validation; using System.Collections.Generic; namespace BroadWorksConnector.Ocip.Models { /// <summary> /// Add a service access code to a list. /// The response is either SuccessRespon...
29.990099
130
0.591945
[ "MIT" ]
JTOne123/broadworks-connector-net
BroadworksConnector/Ocip/Models/SystemBroadWorksMobilityServiceAccessCodeAddRequest21.cs
3,029
C#
using System; using System.Diagnostics; namespace Com.Game.Utils { public class ClientLogger { private static ILogger _logger; public static LogLevel Level { get; set; } public static ILogger Logger { get { return ClientLogger._logger; } set { if (val...
19.649635
79
0.610698
[ "MIT" ]
corefan/mobahero_src
Com.Game.Utils/ClientLogger.cs
2,692
C#
using System; using System.Diagnostics; using T3.Core; using T3.Core.Logging; using T3.Core.Operator; using T3.Core.Operator.Attributes; using T3.Core.Operator.Slots; namespace T3.Operators.Types.Id_0e1d5f4b_3ba0_4e71_aa26_7308b6df214d { public class CountInt : Instance<CountInt> { [Output(Guid = "2E17...
32.552239
109
0.618524
[ "MIT" ]
still-scene/t3
Operators/Types/CountInt.cs
2,181
C#
namespace Relay.RequestModel { using System.Threading.Tasks; public interface IRequestDispatcher { Task<TResult> RunAsync<TResult>(IQuery<TResult> query); Task ExecuteAsync<TCommand>(TCommand command) where TCommand : ICommand; } }
25.090909
81
0.681159
[ "MIT" ]
vborovikov/relator
src/Relay/RequestModel/IRequestDispatcher.cs
278
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; namespace Microsoft.Diagnostics.Runtime.Utilities { internal class RelativeAddressSpace : IAddre...
37.340426
139
0.662108
[ "MIT" ]
QPC-database/clrmd
src/Microsoft.Diagnostics.Runtime/src/Linux/RelativeAddressSpace.cs
1,757
C#
namespace OpenGL { partial class GlControl { /// <summary> /// Variabile di progettazione necessaria. /// </summary> private System.ComponentModel.IContainer components = null; #region Codice generato da Progettazione componenti /// <summary> /// Metodo necessario per il supporto della finestra di ...
26.441176
119
0.674082
[ "MIT" ]
GiantBlargg/OpenGL.Net
OpenGL.Net.WinForms/GlControl.Designer.cs
901
C#
namespace Moway.Project.GraphicProject.Actions.Obstacle { partial class ObstacleForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
46.797571
156
0.599014
[ "MIT" ]
Bizintek/mOway_SW_mOwayWorld
mOway_SW_mOwayWorld/MowayProject/GraphicProject/Actions/Obstacle/ObstacleForm.Designer.cs
11,561
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CitizenFX.Core; using static CitizenFX.Core.Native.API; namespace Magicallity.Client.Enviroment { class AIController : ClientAccessor { private float pedDensityMult = 0.7f; ...
39.772727
93
0.654476
[ "MIT" ]
Jazzuh/Magicallity-public-source
src/Magicallity.Client/Enviroment/AIController.cs
2,627
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http.Authentication; using Microsoft.AspNetCore.Identity; namespace WebApplication90.Models.ManageViewModels { public class ManageLoginsViewModel { public IList<UserLoginInfo> Cu...
25.235294
73
0.7669
[ "MIT" ]
csharpfritz/DevIntersection2016
WebApplication90/src/WebApplication90/Models/ManageViewModels/ManageLoginsViewModel.cs
431
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 Fixtures.Components { using Microsoft.Rest; using Models; using System.Collections; using System.Collect...
48.092593
225
0.63291
[ "MIT" ]
ChristianEder/autorest.csharp
test/vanilla/Expected/Components/ICowbellOperations.cs
7,791
C#
public sealed class PlaceFormatter : IMessagePackFormatter<Place>, IMessagePackFormatter // TypeDefIndex: 10203 { // Methods // RVA: 0x2430960 Offset: 0x2430A61 VA: 0x2430960 Slot: 4 public void Serialize(ref MessagePackWriter writer, Place value, MessagePackSerializerOptions options) { } // RVA: 0x2430970 Offset...
35.466667
111
0.776316
[ "MIT" ]
SinsofSloth/RF5-global-metadata
MessagePack/Formatters/Define/PlaceFormatter.cs
532
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Assertions; using System.Linq; public class GraphMe : MonoBehaviour { LineRenderer line; List<float> inputs = new List<float>(); Vector2 lMin = new Vector2(); Vector2 lMax = new Vector2(); //physical min/max GraphLe...
24.257143
60
0.573027
[ "MIT" ]
omikun/EconSim
Assets/Scripts/GraphMe.cs
1,700
C#
namespace Unity.VisualScripting.Community { [UnitCategory("Community/Control/Delegates")] [RenamedFrom("Bolt.Addons.Community.Fundamentals.BindActionUnit")] public sealed class BindActionNode : BindDelegateNode<IAction> { } }
27.444444
70
0.748988
[ "MIT" ]
Fitz-YM/Bolt.Addons.Community
Runtime/Fundamentals/Nodes/Logic/Control/Delegates/BindActionNode.cs
249
C#
using System; using WorkflowCore.Interface; using WorkflowCore.Models; namespace WrokflowCoreDemo { public class Steps { } public class HelloWorld : StepBody { public override ExecutionResult Run(IStepExecutionContext context) { Console.WriteLine("Hello World"); ...
22.868421
74
0.617952
[ "MIT" ]
wturi/DemoList
DemoSample/WrokflowCoreDemo/WrokflowCoreDemo/Steps.cs
871
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="SaveFilePickerViewModel.cs" company="WildGums"> // Copyright (c) 2008 - 2015 WildGums. All rights reserved. // </copyright> // --------------------------------------------------...
31.607143
120
0.541243
[ "MIT" ]
0matyesz0/Orc.Controls
src/Orc.Controls/Controls/SaveFilePicker/ViewModels/SaveFilePickerViewModel.cs
4,427
C#
using System; using System.Runtime.InteropServices; namespace Meziantou.Framework.Win32.Natives { [StructLayout(LayoutKind.Sequential, Pack = 4)] internal struct PROPERTYKEY { internal Guid fmtid; internal uint pid; } }
19.538462
51
0.69685
[ "MIT" ]
LePtitDev/Meziantou.Framework
src/Meziantou.Framework.Win32.Dialogs/Natives/PROPERTYKEY.cs
256
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Interface.Execute.SubRISC { public class RegisterFile : SyncModuleBase { public const int EntryCount = 16; public struct EntryElement { public uint Content; ...
35.94702
240
0.488209
[ "Unlicense", "MIT" ]
Hara-Laboratory/oiscsim
Interface/Execute/SubRisc/Cycle/RegisterFile.cs
5,454
C#
using System; using System.Diagnostics; using System.Threading; using BizHawk.Client.Common; using BizHawk.Common; //this throttle is nitsuja's fine-tuned techniques from desmume namespace BizHawk.Client.EmuHawk { public class Throttle { private int lastSkipRate; private int framesToSkip; pri...
28.894022
123
0.654284
[ "MIT" ]
CartoonFan/BizHawk
src/BizHawk.Client.EmuHawk/Throttle.cs
10,635
C#
using System; namespace Ipfs { public class MultiAddress : IEquatable<MultiAddress> { private string[] _components; public MultiAddress(string uriString) { OriginalString = uriString; _components = OriginalString.Split('/'); } public string Ori...
21.063291
73
0.517428
[ "MIT" ]
TrekDev/net-ipfs-api
src/Ipfs/MultiAddress.cs
1,666
C#
using Refit; namespace Adnc.Application.RpcService.Rtos { public class ProductSearchListRto { [Query(CollectionFormat.Multi)] public string[] Ids { get; set; } public int StatusCode { get; set; } } }
19.833333
43
0.634454
[ "MIT" ]
lht6/Adnc
src/ServerApi/Services/Shared/Adnc.Application.RpcService/Rtos/ProductSearchListRto.cs
240
C#
// // BreakStatement.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal ...
33.863636
87
0.709172
[ "MIT" ]
GreenDamTan/simple-assembly-exploror
ILSpy/NRefactory/ICSharpCode.NRefactory.CSharp/Ast/Statements/BreakStatement.cs
2,238
C#
using System; using System.ComponentModel; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using Xamarin.Forms.Xaml; using StudentAgenda.Models; using StudentAgenda.Views; using StudentAgenda.ViewModels; namespace StudentAgenda.Views { pu...
21.333333
65
0.671875
[ "MIT" ]
eahs/StudentAgendaApp
Source/StudentAgenda/StudentAgenda/StudentAgenda/Views/ClassesPage.xaml.cs
706
C#
#region License // Copyright (c) 2016 1010Tires.com // // 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, mod...
41.954545
212
0.739978
[ "MIT" ]
mizzos/MXTires.Microdata
Intangible/Services/GovernmentService.cs
1,848
C#
using FistVR; using UnityEngine; namespace H3VRMod.GameModeScripts { [System.Serializable] public class CookOffAssault : MonoBehaviour { /*public CookOffPatrol[] Patrols;*/ public float delayBetweenPatrols; public float startingTimeGrace; public float assaultLength; public WurstMod.MappingComponents.Gene...
23.533333
68
0.793201
[ "MIT" ]
Frityet/CookOffScripts
src/Plugin/src/GameModeScripts/CookOffAssault.cs
355
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.As.V1.Model { /// <summary> /// 修改伸缩组详情 /// </summary> public class Up...
43.332756
214
0.567132
[ "Apache-2.0" ]
mawenbo-huawei/huaweicloud-sdk-net-v3
Services/As/V1/Model/UpdateScalingGroupOption.cs
28,893
C#
namespace DesignPatterns.GangOfFour.Behavioral.Interpreter { public class NumberExpression : IExpression { private readonly int number; public NumberExpression(int number) { this.number = number; } public int Interpret() { return this.nu...
20.176471
59
0.574344
[ "MIT" ]
jimtsikos/DesignPatternsCSharp
DesignPatternsStandard/GangOfFour/Behavioral/Interpreter/NumberExpression.cs
345
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace UbayProject { public partial class SubP...
28.132275
92
0.508934
[ "MIT" ]
who000238/UbayProject
Project/UbayProject/SubMasterPage.Master.designer.cs
6,961
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Orchard.Alias.Implementation.Holder; using Orchard.Alias.Implementation.Storage; using Orchard.Data; using Orchard.Environment; using Orchard.Tasks; using Orchard.Logging; namespace Orchard.Alias.Implementation.Updater { pu...
28.744681
150
0.627683
[ "BSD-3-Clause" ]
Trifectgaming/Trifect-CMS
Modules/Orchard.Alias/Implementation/Updater/AliasUpdater.cs
1,353
C#
//*************************************************** //* This file was generated by JSharp //*************************************************** namespace java.net { internal partial class NetworkInterface_1subIFs : global::java.lang.Object, global::java.util.Enumeration<NetworkInterface> { public Netw...
39.307692
127
0.581213
[ "MIT" ]
SharpKit/Cs2Java
Runtime/rt/java/net/NetworkInterface_1subIFs.cs
511
C#
/* * A C#.NET class to communicate with SICK SENSOR LMS1xx * * Author : beolabs.io / Benjamin Oms * Update : 12/06/2017 * Github : https://github.com/beolabs-io/SICK-Sensor-LMS1XX * * --- MIT LICENCE --- * * Copyright (c) 2017 beolabs.io * * Permission is hereby granted, free of charge, to any person obt...
39.724014
111
0.572318
[ "MIT" ]
dnik2000/SICK-Sensor-LMS1XX
LMDScandataResult.cs
11,085
C#
namespace MyTested.HttpServer { using Builders; using Servers; using System; using System.Net.Http; /// <summary> /// Starting point of the testing framework, which provides a way to specify the remote server to be tested. /// </summary> public static class MyHttpServer { /...
42.085714
224
0.646979
[ "MIT" ]
Magicianred/MyTested.HttpServer
src/MyTested.HttpServer/MyHttpServer.cs
2,948
C#
using UnityEngine; using System.Collections; using System.Collections.Generic; using Zeltex.Voxels; using Zeltex.Util; using System.IO; /// <summary> /// Run functions in the editor /// </summary> [ExecuteInEditMode] public class EditorFunctions : MonoBehaviour { public bool IsRunCommand = false; public strin...
29.216216
83
0.615634
[ "Apache-2.0" ]
Deus0/Zeltexium
Assets/Scripts/Editor/EditorFunctions.cs
2,164
C#
using Newtonsoft.Json; using SamsungWatchGarage.Integration.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Reflection; using System.Text; using System.Threading.Tasks; using Action = SamsungWatchGarage.Integration.Models.Action; namespace SamsungWatchGar...
33.502762
160
0.549967
[ "Apache-2.0" ]
asebak/samsung-galaxywatch3-myqgarage-app
GalaxyWatchGarage/GalaxyWatchGarage/Integration/MyQApi.cs
6,066
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.WebUtilities; using Te...
30.75
119
0.647696
[ "MIT" ]
IdentitySolution/SSO-Solution
template/TemplateSourceName/Pages/Account/ConfirmEmail.cshtml.cs
1,478
C#
using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; using Microsoft.Recognizers.Text.Number; namespace Microsoft.Recognizers.Text.DateTime.Arabic { public class ArabicDurationExtractorConfiguration : BaseDateTimeOptionsConfiguration, IDuration...
41.923729
130
0.749343
[ "MIT" ]
carbon/Recognizers-Text
.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDurationExtractorConfiguration.cs
4,949
C#
using UnityEngine; namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityCharacterController { [TaskCategory("Basic/CharacterController")] [TaskDescription("Sets the step offset of the CharacterController. Returns Success.")] public class SetStepOffset : Action { [Tooltip("The GameObject that the...
33.204545
99
0.638604
[ "MIT" ]
Aver58/ColaFrameWork
Assets/3rd/Behavior Designer/Runtime/Basic Tasks/CharacterController/SetStepOffset.cs
1,461
C#
using System; namespace Lion.AbpPro.AuditLogs { public class GetAuditLogPageListOutput { public string ApplicationName { get; set; } public Guid? UserId { get; set; } public string UserName { get; set; } public Guid? TenantId { get; set; } public string TenantName { ...
23.044444
55
0.599807
[ "MIT" ]
312977/abp-vnext-pro
aspnet-core/services/src/Lion.AbpPro.Application.Contracts/AuditLogs/GetAuditLogPageListOutput.cs
1,037
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Umbraco.ModelsBuilder v8.5.3 // // Changes to this file will be lost if the code is regenerated. // </auto-generated> //------------------------------------------------...
38.072289
193
0.712342
[ "Apache-2.0" ]
Mantus667/Our.Umbraco.Tables
samples/Our.Umbraco.Tables.Demo/App_Data/Models/Image.generated.cs
3,160
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace OctreeDemo { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18
42
0.703704
[ "MIT" ]
B3zaleel/helix-toolkit
Source/Examples/WPF.SharpDX/OctreeDemo/App.xaml.cs
326
C#
using System; using Android.App; using Android.Content.PM; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; using Android; namespace CoBuster.Droid { [Activity(Label = "CoBuster", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = Config...
30.190476
180
0.761304
[ "MIT" ]
CoVital-Project/CoBuster
src/CoBuster/CoBuster.Android/MainActivity.cs
1,904
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("Inte...
37.432432
84
0.747292
[ "MIT" ]
VanHakobyan/ISTC_Coding_School
ISTC.SecondStage.OOP/ISTC.SecondStage.OOP.Interface/Properties/AssemblyInfo.cs
1,386
C#
 using UnityEngine; using System; using System.Linq; using System.Collections.Generic; using Extensions; namespace Modules.UI.TextColorTag { [Serializable] public sealed class TextColorTagInfo { [SerializeField] public string tag = null; [SerializeField] public Color color ...
20.473684
78
0.588689
[ "MIT" ]
oTAMAKOo/UniModules
Scripts/Modules/UI/TextColorTag/TextColorTagSetting.cs
780
C#
using System; using Lab3sharp.TransportTypes; namespace Lab3sharp.FactoryMethod { //The pattern Singleton is also used class CarCreator : AbstractCreator { private static CarCreator instance; private CarCreator() { } public static CarCreator GetInstance() { if...
22.976744
90
0.483806
[ "MIT" ]
Vladislavhgtech/industrial-programming
lab3/Lab3sharp/FactoryMethod/CarCreator.cs
990
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; usi...
31.03125
119
0.609768
[ "MIT" ]
GabrielMelegaro/web-desenvolvimento-csharp
Startup.cs
1,988
C#
using CryptoApisLibrary.DataTypes; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CryptoApisLibrary.Tests.Blockchains.Transactions.GetInfoByTransactionId { [TestClass] public class EtcMorden : BaseEthSimilarCoin { protected override NetworkCoin NetworkCoin { get; } = NetworkCoin.Etc...
33.846154
103
0.777273
[ "MIT" ]
Crypto-APIs/.NET-Library
CryptoApisLibrary.Tests/Blockchains/Transactions/GetInfoByTransactionId/EtcMorden.cs
442
C#
using YJC.Toolkit.MetaData; namespace YJC.Toolkit.Data { class TreeSelector : TableSelector { public TreeSelector(ITableScheme scheme, DbTreeDefinition treeDef, IDbDataSource source) : base(new TreeScheme(scheme, treeDef), source) { SetFakeDelete(this, scheme); ...
27.952381
96
0.626917
[ "BSD-3-Clause" ]
madiantech/tkcore
Data/YJC.Toolkit.AdoData/Data/_Tree/TreeSelector.cs
589
C#
 using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace LinqExpressionProjection.Test.Model { class ProjectsDbContext : DbContext { static SqliteConnection con = new SqliteConnection("DataSource=:memory:"); public DbSet<Project> Projects { get; set; } pub...
27.130435
86
0.633013
[ "MIT" ]
chrisevans9629/LINQ-Expression-Projection
LinqExpressionProjection.Test/Model/ProjectsDbContext.cs
626
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace SirCachealot { public partial class MainWindow : Form { internal Controller controller; private readonly ...
31.851711
101
0.56106
[ "MIT" ]
ColdMatter/EDMSuite
SirCachealot/MainWindow.cs
8,377
C#
//----------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. //-----------------------------------------------------------------------'r'n namespace HR.TA.ScheduleService.UnitTest.Business { using System; using System.Collec...
39.852399
432
0.499769
[ "MIT" ]
QPC-database/msrecruit-scheduling-engine
schedule-service/HR-TA-ScheduleService/HR.TA.ScheduleService.UnitTest/Business/CreateScheduleManagerTest.cs
21,600
C#
/*<FILE_LICENSE> * NFX (.NET Framework Extension) Unistack Library * Copyright 2003-2014 IT Adapter Inc / 2015 Aum Code LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
24.693182
123
0.554533
[ "Apache-2.0" ]
PavelTorgashov/nfx
Source/NFX/Collections/BitList.cs
4,346
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 "li...
48.903226
179
0.671504
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECR/Generated/Model/ReferencedImagesNotFoundException.cs
6,064
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities.Editor; using Microsoft.MixedReality.Toolkit.WindowsDevicePortal; using System; using UnityEngine; namespace ...
45.361842
127
0.638579
[ "MIT" ]
ForrestTrepte/azure-remote-rendering
Unity/AzureRemoteRenderingShowcase/arr-showcase-app/Assets/MixedRealityToolkit/Utilities/BuildAndDeploy/UwpBuildDeployPreferences.cs
6,897
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // KeyInfoTest.cs - Test Cases for KeyInfo // // Author: // Sebastien Pouliot <sebastien@ximian.com> // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright...
60.369973
916
0.630917
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Security.Cryptography.Xml/tests/KeyInfoTest.cs
22,518
C#
/* * C# Version Ported by Matt Bettcher and Ian Qvist 2009-2010 * * Original C++ Version Copyright (c) 2007 Eric Jordan * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permi...
40.935583
131
0.47958
[ "MIT" ]
D31m05z/VelcroPhysics
src/VelcroPhysics/Tools/Triangulation/Earclip/EarclipDecomposer.cs
13,020
C#
using cloudscribe.Core.Blazor; using cloudscribe.Extensions.Blazor.Oidc; using cloudscribe.Extensions.Blazor.WebSockets; using Microsoft.AspNetCore.Blazor.Builder; using Microsoft.Extensions.DependencyInjection; namespace sourceDev.BlazorApp { public class Startup { public void ConfigureServices(IServi...
31.0625
116
0.650905
[ "Apache-2.0" ]
cloudscribe/graphql
src/sourceDev.BlazorApp/Startup.cs
994
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis.Testing; using Test.Utilities; using Xunit; using VerifyCS = Test.Utilities.CSharpCodeFixVerifier< Microsoft.Co...
32.069401
158
0.71444
[ "MIT" ]
JoeRobich/roslyn-analyzers
src/NetAnalyzers/UnitTests/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/UseEventsWhereAppropriateTests.cs
20,332
C#
/* * Payment Gateway API Specification. * * The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. * * The version of the OpenAPI document:...
27.6125
232
0.622001
[ "MIT" ]
D4mo/DotNet
src/Org.OpenAPITools.Test/Model/ErrorMessageTests.cs
2,209
C#
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
50.791139
196
0.698816
[ "Apache-2.0" ]
TrentCullinan9412/durabletask
src/DurableTask.AzureStorage/Storage/AzureStorageClient.cs
8,027
C#
namespace CommonNews.Web.ViewModels.Post { using System.Collections.Generic; using Comment; public class PostWithCommentsViewModel { public ICollection<CommentViewModel> Comments { get; set; } public PostViewModel Post { get; set; } } }
23.833333
68
0.660839
[ "MIT" ]
EmilPD/AutoParts
src/Web/CommonNews.Web/ViewModels/Post/PostWithCommentsViewModel.cs
288
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProcessProbe { class ThreadAndStack { public int ManagedThreadId; public IEnumerable<string> Stack; } }
17.333333
41
0.719231
[ "MIT" ]
dinazil/dump-analyzer
ProcessProbe/ThreadAndStack.cs
262
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using parent.Data; ...
26.5375
111
0.518135
[ "MIT" ]
hom3r/nested-web-application
parent-app/Pages/UserPages/Edit.cshtml.cs
2,123
C#
using UnityEngine; namespace Mirror { [DisallowMultipleComponent] [AddComponentMenu("Network/NetworkTransform")] [HelpURL("https://mirror-networking.com/docs/Components/NetworkTransform.html")] public class NetworkTransform : NetworkTransformBase { protected override Transform TargetCompone...
26.538462
84
0.744928
[ "MIT" ]
JavierCondeIAR/MirrorNG
Assets/Mirror/Components/NetworkTransform.cs
345
C#
namespace Renci.SshNet.Messages.Transport { /// <summary> /// Represents SSH_MSG_KEXECDH_REPLY message. /// </summary> [Message("SSH_MSG_KEX_ECDH_REPLY", 31)] public class KeyExchangeEcdhReplyMessage : Message { /// <summary> /// Gets a string encoding an X.509v3 certificate con...
31.452055
112
0.52831
[ "MIT" ]
iodes/SSH.NET
src/Renci.SshNet/Messages/Transport/KeyExchangeEcdhReplyMessage.cs
2,298
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
29.2
81
0.643836
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerInstance/V20181001/Inputs/ResourceRequirementsArgs.cs
1,022
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.IO; using System.Linq; using BuildXL.Engine; using BuildXL.Utilities; using BuildXL.Utilities.Configuration; using Test.BuildXL.FrontEnd.Rush.IntegrationTests; using Test.BuildXL.TestUtilities.Xunit; using Xunit; using X...
36.792453
128
0.644103
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/FrontEnd/UnitTests/Rush/IntegrationTests/RushShrinkwrapTrackingTests.cs
1,950
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Data.Models { public class Shift { [Key] public int Id { get; set; } public DateTime Start { get; set; } public DateTime En...
31.421053
68
0.668342
[ "Apache-2.0" ]
AnalogIO/Analog-ShiftPlanner
API/Data/Models/Shift.cs
599
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using IdentityWithoutEF...
30.181818
106
0.61496
[ "MIT" ]
MatthewKing/IdentityWithoutEF
src/IdentityWithoutEF-2.0/Startup.cs
1,994
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using UnityEditor; using UnityEngine; namespace GraphVisualizer { public class DefaultGraphRenderer : IGraphRenderer { protected event Action<Node> nodeClicked; private static readonly Color...
36.084507
172
0.550017
[ "MIT" ]
Baste-RainGames/AnimationPlayer
GraphVisualizerFork/GraphVisualizer/Editor/Graph/Renderer/DefaultGraphRenderer.cs
17,934
C#
// ------------------------------------------------------------------------------ // <copyright file="ForceData.cs" company="Drake53"> // Licensed under the MIT license. // See the LICENSE file in the project root for more information. // </copyright> // ----------------------------------------------------------------...
28.94
87
0.545957
[ "MIT" ]
Bia10/War3Net
src/War3Net.Build.Core/Info/ForceData.cs
1,449
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
26.84
81
0.722802
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/KinesisAnalyticsV2/Outputs/ApplicationOutputResourceKinesisStreamsOutput.cs
671
C#
using System; using System.Collections.Generic; namespace DataStructures { public class BinaryHeap<T> where T : IComparable { private List<T> array = new List<T>(); public BinaryHeap() {} public BinaryHeap(List<T> list) { foreach(var data in list) { Insert(data); } } ~BinaryHeap() {} ...
13.523077
49
0.551763
[ "MIT" ]
DominicSieli/C-Sharp-Data-Structures
Source/Binary_Heap.cs
879
C#
// This file has been autogenerated from a class added in the UI designer. using System; using Foundation; using UIKit; namespace tvTable { /// <summary> /// The Table View used to display a collection of <c>CityInformation</c> as Sections and /// <c>AttractionInformation</c> objects as the Rows in each section ...
24.888889
91
0.703869
[ "MIT" ]
Art-Lav/ios-samples
tvos/tvTable/tvTable/AttractionTableView.cs
672
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using DotA2StatsParser.Model.Dotabuff; using DotA2StatsParser.Model.Dotabuff.Path; using HtmlAgilityPack; namespace DotA2StatsParser.Controller.Dotabuff { internal class ...
52.130952
233
0.707239
[ "MIT" ]
Shamshiel/DotA2StatsParser
DotA2StatsParser/Controller/Dotabuff/MatchController.cs
4,381
C#
/* * Copyright (c) Citrix Systems, Inc. * 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,...
39.992228
164
0.558399
[ "BSD-2-Clause" ]
robertbreker/xenadmin
XenModel/XenAPI/User.cs
15,437
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.AwsN...
38.084746
164
0.660881
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/Lex/Inputs/BotSlotValueElicitationSettingArgs.cs
2,247
C#
namespace NoodleExtensions.HarmonyPatches { using System; using System.Collections.Generic; using System.Linq; using CustomJSONData; using CustomJSONData.CustomBeatmap; using HarmonyLib; using IPA.Utilities; using static Plugin; // Yeah i just harmony patched my own mod, you got a ...
48.217949
163
0.560223
[ "MIT" ]
Caeden117/NoodleExtensions
NoodleExtensions/HarmonyPatches/CustomBeatmapData.cs
3,763
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. #nullable disable using Microsoft.CodeAnalysis.CSharp.Formatting; using Microsoft.CodeAnalysis.Diagnostics; using ...
33.3
75
0.78979
[ "MIT" ]
333fred/roslyn
src/CodeStyle/CSharp/Analyzers/CSharpFormattingAnalyzer.cs
668
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // ------------------------------------------------------------ using System; using System.Text.Json; namespace Dapr.Actors.Runtime { /// <summary> /// Represents Dapr ac...
34.080402
164
0.540991
[ "MIT" ]
berndverst/dotnet-sdk
src/Dapr.Actors/Runtime/ActorRuntimeOptions.cs
6,784
C#
namespace SF.Core.net46.Migrations { using System; using System.Data.Entity.Migrations; public partial class adduserlocation : DbMigration { public override void Up() { AddColumn("dbo.User", "Location_City", c => c.String(nullable: false, maxLength: 100)); Ad...
28.619048
102
0.579035
[ "Apache-2.0" ]
etechi/ServiceFramework
Projects/Server/Test/SF.UT.Common/Migrations/201707251553296_add-user-location.cs
601
C#
using System; namespace Jasper.Tracking { public class EnvelopeRecord { public Envelope Envelope { get; } public long SessionTime { get; } public Exception Exception { get; } public EventType EventType { get; } public EnvelopeRecord(EventType eventType, Envelope envelop...
30.694444
221
0.599095
[ "MIT" ]
CodingGorilla/jasper
src/Jasper/Tracking/EnvelopeRecord.cs
1,105
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
30
166
0.695238
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Management/V20180101Preview/Outputs/EntityParentGroupInfoResponseResult.cs
840
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using VW; using VW.Labels; using VW.Serializer; using VW.Serializer.Attributes; using VW.Serializer.Intermediate; namespace cs_...
38.747253
204
0.451999
[ "BSD-3-Clause" ]
andraztori/vowpal_wabbit
cs/unittest/TestJson.cs
14,106
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Mail; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Portfolio.API.ViewModels; using SendGrid; using...
33.423729
105
0.668864
[ "MIT" ]
mwcaisse/portfolio
Portfolio/Portfolio.API/Controllers/MessageController.cs
1,974
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Spettro.Models { public class Amplitude { public Amplitude(float[] values) { Values = values; } public float[] Values { get; } pub...
21.206897
58
0.525203
[ "MIT" ]
BrightSoul/spectrum-analyzer
src/Models/Amplitude.cs
617
C#
using System; namespace zapnet { /// <summary> /// For use in a bit field representing a selection of axes. /// </summary> [System.Serializable] [Flags] public enum VectorAxes { /// <summary> /// No axes are included in the set. /// </summary> None = 0, ...
20.84375
64
0.478261
[ "MIT" ]
BlackPhoenix134/zapnet
Solution/zapnet/Source/Utility/VectorAxes.cs
669
C#
namespace HrdLib { public static class HrdElementExtension { //public static bool TryGetAttributeValue<T>(this HrdElement element, string attributeName, out T attrValue) //{ // if (element == null || attributeName == null) // { // attrValue = default(T); ...
26.719298
116
0.411687
[ "MIT" ]
niello/deusexmachina
Tools/DialogEditor/HrdLib/HrdElementExtension.cs
1,525
C#
// // Copyright 2018-2019 Carbonfrost Systems, Inc. (http://carbonfrost.com) // // 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 // // Unl...
37.236948
140
0.643982
[ "Apache-2.0" ]
Carbonfrost/f-spec
dotnet/src/Carbonfrost.Commons.Spec/Src/Carbonfrost/Commons/Spec/Matchers/MatchMatcher.cs
9,272
C#
using System; using System.Threading.Tasks; using System.Timers; using System.Threading; namespace AsyncAwait { class Program { private static System.Timers.Timer aTimer; static async Task Main(string[] args) { AsyncMethods am = new AsyncMethods(); // var time...
35.97
103
0.554907
[ "MIT" ]
090820-dotnet-uta/curriculumTopics
Demos/AsyncAwait/Program.cs
3,599
C#