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; namespace Hydra2.Web.Models { public class Sample { public string Date { get; set; } public float? h { get; set; } public float? Q { get; set; } public float? t { get; set; } } }
19.833333
40
0.537815
[ "MIT" ]
RysavyD/Hydra2
Hydra2.Web/Models/Sample.cs
240
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using Microsoft.EntityFramework...
33.7
111
0.519618
[ "Apache-2.0" ]
Pankraty/EntityFrameworkCore
src/dotnet-ef/Project.cs
6,066
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Internals; using Microsoft.Maui.Controls.Maps; using Microsoft.Maui.Controls.Xaml; namespace Microsoft.Maui.Contro...
27.416667
143
0.692819
[ "MIT" ]
Amir-Hossin-pr/maui
src/Compatibility/ControlGallery/src/Core/GalleryPages/MapGallery.xaml.cs
5,266
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05_wordPlural { class Program { static void Main(string[] args) { string word = Console.ReadLine().ToLower(); bool endCharY = word.EndsWith("...
22.949153
62
0.471935
[ "MIT" ]
MrPIvanov/SoftUni
02-Progr Fundamentals/06-C# Conditional Statements and Loops - Exercises/06-loopsExer/05-wordPlural/Program.cs
1,356
C#
using System.Windows; using System.Windows.Media; namespace Graphic2D.Kernel.Visuals { public interface IVisualInfo { Brush Fill { get; } Pen Stroke { get; } Point Origin { get; } double Angle { get; } } }
15
34
0.588235
[ "Apache-2.0" ]
dingweikun/DingWK.Graph2D
Graphic2D.Kernel/Visuals/IVisualInfo.cs
257
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.169014
111
0.586673
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200601/Outputs/ApplicationGatewayTrustedRootCertificateResponse.cs
2,071
C#
// Copyright (c) Simple Injector Contributors. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license information. namespace SimpleInjector { using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; usin...
40.955056
123
0.605542
[ "MIT" ]
Bouke/SimpleInjector
src/SimpleInjector/Requires.cs
17,783
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.Collections.Immutable; using System.Diagnostics; using...
49.804401
223
0.663378
[ "MIT" ]
louis-z/roslyn
src/Workspaces/CoreTestUtilities/Remote/InProcRemostHostClient.cs
20,372
C#
using System; using BenchmarkDotNet.Characteristics; using BenchmarkDotNet.Jobs; namespace BenchmarkDotNet.Engines { public class EngineParameters { public IHost Host { get; set; } public Action<long> MainAction { get; set; } public Action Dummy1Action { get; set; } public Actio...
38.75
66
0.643011
[ "MIT" ]
AlexGhiondea/BenchmarkDotNet
src/BenchmarkDotNet.Core/Engines/EngineParameters.cs
930
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using NewLife.Cube.Entity; using NewLife.Web; using XCode; using XCode.Membership; #if __CORE__ using Microsoft.AspNetCore.Au...
33.676101
125
0.503035
[ "MIT" ]
NewLifeX/X_NET40
NewLife.Cube/Areas/Admin/Controllers/UserController.cs
11,491
C#
using System.Reflection; namespace N_Tier.Application.Services.Impl; public class TemplateService : ITemplateService { private readonly string _templatesPath; public TemplateService() { var projectPath = Directory.GetParent(Directory.GetCurrentDirectory()).FullName; var templateProject =...
27.911765
91
0.704953
[ "MIT" ]
nuyonu/N-Tier
src/N-Tier.Application/Services/Impl/TemplateService.cs
951
C#
/*******************************************************} { } { HCView V1.1 作者:荆通 } { } { 本代码遵循BSD协议,你可以加入QQ群 649023932 } { 来获取更多的技术交流 2018-5-4 } ...
30.099257
129
0.456065
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/HCView/Source/HCShape.cs
44,903
C#
using System; using System.IO; using System.Text; using System.Collections.Generic; using GenieLamp.Core; using GenieLamp.Core.Metamodel; using GenieLamp.Core.Metamodel.Physical; using GenieLamp.Core.CodeWriters; using GenieLamp.Core.CodeWriters.Sql; namespace GenieLamp.Genies.Oracle { public class Code...
33.047706
188
0.657765
[ "MIT" ]
arbinada-com/genie-lamp
Sources/GenieLamp.Genies/GenieLamp.Genies.Oracle/CodeGenDb.cs
18,011
C#
// <copyright file="Configuration.cs" company="YAGNI"> // All rights reserved. // </copyright> using System; using System.Data.Entity.Migrations; using System.Data.SQLite.EF6.Migrations; using System.Linq; using LibrarySystem.Models.Logs; namespace LibrarySystem.Data.Logs.Migrations { /// <summary> /// Repre...
33.176471
103
0.612293
[ "MIT" ]
TeamYAGNI/LibrarySystem
LibrarySystem/LibrarySystem.Data.Logs/Migrations/Configuration.cs
1,692
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WebApp.Models; namespace WebApp.Persistence.Repository { public interface IStationRepository: IRepository<Station,int> { } }
18.642857
65
0.773946
[ "MIT" ]
bogdanarsenic/Diplomski
WebApp/Persistence/Repository/IStationRepository.cs
263
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Test.Common; using ...
46.398764
178
0.567722
[ "MIT" ]
L-Dogg/corefx
src/System.Net.Http/tests/FunctionalTests/HttpCookieProtocolTests.cs
30,022
C#
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // 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, modi...
47.78
95
0.641691
[ "MIT" ]
shoelzer/SharpDX
Source/SharpDX.Direct3D11/ResourceRegion.cs
2,391
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("El...
39.945946
84
0.746955
[ "Apache-2.0" ]
brianbaker/MOD.Web.Element
Properties/AssemblyInfo.cs
1,481
C#
// Copyright (c) .NET Foundation and Contributors. All Rights Reserved. See LICENSE in the project root for license information. using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Collections.Generic; using static TorchSharp.torch; using static TorchSharp.TensorExten...
39.271172
252
0.472136
[ "MIT" ]
xamarin/TorchSharp
test/TorchSharpTest/TestTorchTensor.cs
231,857
C#
using System.Threading.Tasks; using Roc.CMS.Sessions.Dto; namespace Roc.CMS.Sessions { public class ProxySessionAppService : ProxyAppServiceBase, ISessionAppService { public async Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations() { return await ApiClient.GetAsyn...
33.894737
129
0.73913
[ "MIT" ]
RocChing/Roc.CMS
src/Roc.CMS.Application.Client/Sessions/ProxySessionAppService.cs
646
C#
using NBitcoin; using NBitcoin.Crypto; using NBitcoin.DataEncoders; using NBitcoin.Protocol; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; namespace NBitcoin.Altcoins { public class GoByte : NetworkSetBase { ...
46.457143
569
0.776548
[ "MIT" ]
BitcoinRhodium/NBitcoin
NBitcoin.Altcoins/Gobyte.cs
9,758
C#
using UnityEngine; /// <summary> /// System to place towers. Sets up the TowerPlacer. /// </summary> public class TowerPlacementSystem : MonoBehaviour { /// <summary> /// Prefab to use as the TowerPlacer. /// </summary> public GameObject PlacerPrefab; private GameObject instance; private bool ...
27.428571
94
0.572443
[ "MIT" ]
fahad-30/tower-defense
Assets/Scripts/Towers/TowerPlacementSystem.cs
2,112
C#
using GalaSoft.MvvmLight.Command; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Windows.ApplicationModel.DataTransfer; namespace EasyDictionary.Domain { /// Represents a single translation. /// Eg.: House (...
23.85
47
0.712788
[ "MIT" ]
marcobusemann/easydictionary
EasyDictionary/Domain/Translation.cs
479
C#
#region Copyright // // Copyright 2015 Underscore Research LLC. // ALL RIGHTS RESERVED. // // UNDERSCORE RESEARCH LLC. MAKES NO REPRESENTATIONS OR // WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE // IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR ...
32.590164
353
0.67002
[ "MIT" ]
UnderscoreResearch/SoapParser
SoapParser.Test/ByteArrayComparer.cs
1,990
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; namespace System.Collections.Specialized { /// <summary> /// Arguments for the CollectionChanged event. /// A collection that supports INotifyC...
41.939791
136
0.612321
[ "MIT" ]
AUTOMATE-2001/runtime
src/libraries/System.ObjectModel/src/System/Collections/Specialized/NotifyCollectionChangedEventArgs.cs
16,021
C#
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\ddrawi.h(1404,9) using System; using System.Runtime.InteropServices; using LPDDCOLORCONTROL = DirectN._DDCOLORCONTROL; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _DDRAWI_DDRAWSURFACE_GBL_MORE { p...
32.65625
83
0.708134
[ "MIT" ]
bbday/DirectN
DirectN/DirectN/Generated/_DDRAWI_DDRAWSURFACE_GBL_MORE.cs
1,047
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> //---...
43.333333
88
0.667308
[ "MIT" ]
Luisssp/ResAPi-Calculator
RestWithASPNETUdemy_Calculator/obj/Debug/net5.0/RestWithASPNETUdemy_Calculator.AssemblyInfo.cs
1,040
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace ToDoListVS3 { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
22.692308
64
0.569492
[ "Unlicense" ]
Sara-Hamilton/ToDoListVS3
ToDoListVS3/Program.cs
592
C#
/* ======================================================================== * Copyright (c) 2005-2016 The OPC Foundation, Inc. All rights reserved. * * OPC Foundation MIT License 1.00 * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation ...
39.434712
404
0.618301
[ "MIT" ]
mertyusaatag/UA-Nodeset
OpenSCS/ModelDesign/Opc.Ua.OPENSCS.Model/Prefix2.Classes.cs
291,760
C#
namespace CodeComb.CodeAnalysis.OmniSharp.Models { public class PackageRestoreMessage { public string FileName { get; set; } public bool Succeeded { get; set; } } }
24
48
0.661458
[ "Apache-2.0" ]
CodeComb/CodeComb.CodeAnalysis.OmniSharp
src/CodeComb.CodeAnalysis.OmniSharp/Models/v1/PackageRestoreMessage.cs
192
C#
using System; using System.Data.OleDb; using System.Text; using Tortuga.Chain.Core; using Tortuga.Chain.Materializers; namespace Tortuga.Chain.SqlServer.CommandBuilders { /// <summary> /// Class SqlServerDeleteObject. /// </summary> internal sealed class OleDbSqlServerDeleteObject<TArgument> : OleDbSqlServerObjec...
37.615385
200
0.743967
[ "MIT" ]
TortugaResearch/Chain
Tortuga.Chain/Tortuga.Chain.SqlServer.OleDb/SqlServer/CommandBuilders/OleDbSqlServerDeleteObject.cs
2,447
C#
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Threading; // FROM http://stackoverflow.com/questions/18922985/concurrent-hashsett-in-net-framework namespace Sidekick.AuditLog { [DebuggerDisplay("Count = {Count}")] [Serializable] public class Concurr...
16.696246
112
0.643295
[ "MIT" ]
JeffDarchuk/SitecoreSidekick
ScsAuditLog/ConcurrentHashSet.cs
4,894
C#
/* MapleLib - A general-purpose MapleStory library * Copyright (C) 2009, 2010, 2015 Snow and haha01haha01 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the Lice...
35.080685
169
0.531642
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
MapleSeraph/Harepacker-resurrected
MapleLib/WzLib/WzProperties/WzCanvasProperty.cs
14,350
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...
34.269341
121
0.573662
[ "Apache-2.0" ]
Singh400/aws-sdk-net
sdk/src/Services/Transfer/Generated/Model/DescribedServer.cs
11,960
C#
using Newtonsoft.Json; using System; namespace EthereumChain { [Serializable] public sealed class Erc20Transaction : IEtherScanTransaction { [JsonProperty] private readonly string blockNumber; [JsonProperty] private readonly string timeStamp; [JsonProperty] ...
22.953846
72
0.566689
[ "MIT" ]
Mathias-Hedelund-Larsen/Crypto_Transaction_Assistant
Assets/Scripts/Other/JsonModels/EthereumChain/Erc20Transaction.cs
2,986
C#
using UnityEngine; public class ToggleMonitors : MonoBehaviour { void Update() { if (Input.GetKeyDown(KeyCode.Tab)) { var texture = GetComponent<uDesktopDuplication.Texture>(); var id = texture.monitorId; var n = uDesktopDuplication.Manager.monitorCount; ...
29.35
86
0.531516
[ "MIT", "Unlicense" ]
gatosyocora/VRSpace
Assets/uDesktopDuplication/Examples/Scripts/ToggleMonitors.cs
589
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace PowerUtilities { public static class GraphicsEx { /// <summary> /// texture(src) blit to texture dest, ignore width,height matches. /// </sum...
29.261905
154
0.566314
[ "Apache-2.0" ]
redcool/PowerUtilities
PowerUtilities/CoreTools/EX/GraphicsEx.cs
1,231
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
38.34375
85
0.729421
[ "ECL-2.0", "Apache-2.0" ]
Bebere/JustDecompileEngine
EngineInfrastructure/Properties/AssemblyInfo.cs
1,229
C#
namespace Miruken.Mvc.Console { public enum HorizontalAlignment { Unknown, Left, Center, Right, Stretch } }
14.545455
35
0.525
[ "MIT" ]
Miruken-DotNet/miruken.mvc
Source/Miruken.Mvc.Console/Infrastructure/HorizontalAlignment.cs
162
C#
using Prism.Mvvm; using System.Windows; namespace CodeHubDesktop.ViewModels { public class MainWindowViewModel : BindableBase { private string _title = "CodeHub"; public string Title { get => _title; set => SetProperty(ref _title, value); } priv...
25.121212
134
0.60193
[ "MIT" ]
CodeHub-Contributors/CodeHubDesktop
CodeHubDesktop/ViewModels/MainWindowViewModel.cs
831
C#
namespace Elect.Notification.OneSignal.Models.App { public class AppEditModel : AppAddModel { } }
18.166667
49
0.715596
[ "MIT" ]
anglesen1120/Elect
src/Notification/Elect.Notification.OneSignal/Models/App/AppEditModel.cs
109
C#
using ET; using ProtoBuf; using System.Collections.Generic; namespace ET { [ResponseType(typeof(M2C_TestResponse))] [Message(OuterOpcode_Map.C2M_TestRequest)] [ProtoContract] public partial class C2M_TestRequest: Object, IActorLocationRequest { [ProtoMember(90)] public int RpcId { get; set; } [ProtoMember(9...
19.94586
119
0.687131
[ "MIT" ]
futouyiba/ClubET
Server/Model/Generate/Message/OuterMessage_Map.cs
12,720
C#
using System; using mc.CodeAlalysis.Syntax; namespace mc.CodeAlalysis.Binding { internal sealed class BoundBinaryOperator { private BoundBinaryOperator( SyntaxKind syntaxKind, BoundBinaryOperatorKind kind, Type leftType, Type rightType, Type resultType) {...
34.456
104
0.552124
[ "MIT" ]
chenyekun1/mc
sm/CodeAnalysis/Bingding/BoundBinaryOperator.cs
4,307
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Text.RegularExpressions; public class _PlayCondition { protected MatchController mMatchController; public _PlayCondition() { mMatchController = GameObject.Find ("Match Controller").GetComponent<MatchController> (); } ...
19.842105
91
0.782493
[ "Apache-2.0" ]
cvogit/Progression-Card-Game
Assets/Scripts/Card/PlayConditions/_PlayCondition.cs
379
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 Taschenrechner { public partial class Form1 : Form { double zahl1; double ...
25.852459
70
0.504756
[ "MIT" ]
MaikHo/C-_erste_schritte
C# Snippets/Taschenrechner/Taschenrechner/Form1.cs
1,579
C#
using System.Collections.Generic; using System.Linq; using System.Windows; using QuickGraph; using System; using System.Diagnostics.Contracts; namespace GraphSharp.Algorithms.Layout.Compound.FDP { public partial class CompoundFDPLayoutAlgorithm<TVertex, TEdge, TGraph> where TVertex : class where T...
40.699275
177
0.542598
[ "Apache-2.0" ]
highway-it/graphsharp
src/GraphSharp/Algorithms/Layout/Compound/FDP/CompoundFDPLayoutAlgorithm.Init.cs
11,235
C#
using System; namespace NAppUpdate.Framework.Conditions { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)] public class UpdateConditionAliasAttribute : Attribute { private readonly string _alias; public UpdateConditionAliasAttribute(string alias) {...
23.363636
85
0.63035
[ "Apache-2.0" ]
Aaronontheweb/NAppUpdate
src/NAppUpdate.Framework/Conditions/UpdateConditionAliasAttribute.cs
516
C#
namespace SolidPrinciples.OpenClosedPrinciple.WithPrinciple; public class TomatoPizza : Pizza { public TomatoPizza() : base(PizzaType.Tomato) { } protected override void SetIngredients() { base.SetIngredients(); Console.WriteLine("Tomato pizza ingredients set"); } }
25.416667
61
0.698361
[ "MIT" ]
pncsoares/dotnet-solid-principles
OpenClosedPrinciple/WithPrinciple/TomatoPizza.cs
307
C#
using System; using System.IO; using System.Numerics; using System.Collections.Generic; using Veldrid; using Veldrid.Utilities; using Unsafe = System.Runtime.CompilerServices.Unsafe; namespace Enigma.Graphics { public static class Util { public static uint SizeInBytes<T>(this T[] array) { ...
31.94958
119
0.475013
[ "MIT" ]
wings-studio/Enigma.Graphics
Enigma.Graphics/Util.cs
7,606
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("Tod...
37.675676
84
0.746772
[ "MIT" ]
LirazShay/TodoMVC
TodoMVC.Specs/Properties/AssemblyInfo.cs
1,397
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.2
84
0.475641
[ "ECL-2.0", "Apache-2.0" ]
SysSurge/vera
WebPages/Controls/UserProfileField.ascx.designer.cs
782
C#
 namespace Elaina { partial class ElainaLaunch3r { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
55.8
160
0.611111
[ "MIT" ]
mnikhwan/Elaina-Launcher
Elaina/Elaina/Elaina.Designer.cs
15,068
C#
using Caliburn.Micro; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace TFSMergingTool.Resources.FolderTree { public partial class FolderTreeViewModel : PropertyChangedBase, IFolderTreeViewModel { public IObservableCollection<FolderViewMod...
32.294643
100
0.508985
[ "MIT" ]
jamesin-tili/tfs-merge
TFSMergingTool/src/Resources/Old/FolderTreeViewModel.cs
3,619
C#
using FoxTunes.Interfaces; using System; using System.Diagnostics; using System.IO; using System.Threading.Tasks; namespace FoxTunes { public static class LogManager { public static string FileName = Path.Combine( Publication.StoragePath, "Log.txt" ); ...
25
123
0.467857
[ "MIT" ]
DJCALIEND/FoxTunes
FoxTunes.Core/LogManager.cs
5,602
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> //--...
27
81
0.461806
[ "MIT" ]
NathanClouseAX/AAXDataEntityPerfTest
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/RAssetType.cs
866
C#
using System; using System.Collections.Generic; using System.Linq; using System.Globalization; using System.Text; using System.Threading.Tasks; namespace _01.CountWorkingDays { class Program { static void Main(string[] args) { string startDateText = Console.ReadLine(); ...
33.647059
115
0.556527
[ "MIT" ]
RumenNovachkov/ProgrammingFundamentalsCSharp
ObjectsAndClasses-Exercises/01.CountWorkingDays/Program.cs
1,718
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BallScript : MonoBehaviour { public GameObject spawnpt; public GameObject SceneManager; public float minimumForwardVelocity = 0.0f; public float maximumVelocity = 5.0f; protected Rigidbody _rb; protect...
26.318182
81
0.569372
[ "MIT" ]
Fornan-II/AG231_VRMinigame_Lab01
Assets/Script/BallScript.cs
1,739
C#
using DataFlareClient; using micro_c_app.Models; using micro_c_app.Views; using micro_c_app.Views.CollectionFile; using MicroCLib.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Text; usi...
36.641469
210
0.449219
[ "MIT" ]
blaxbb/Micro-C-App
micro-c-app/micro-c-app/ViewModels/QuotePageViewModel.cs
16,967
C#
namespace CRM.Areas.AppPage.ModelDescriptions { public class CollectionModelDescription : ModelDescription { public ModelDescription ElementDescription { get; set; } } }
27
64
0.740741
[ "MIT" ]
araucanosland/MDN
CRM/Areas/AppPage/ModelDescriptions/CollectionModelDescription.cs
189
C#
// Copyright (c) 2021 Samuel Abraham using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using TypeCache.Business; using TypeCache.Data.Requests; namespace TypeCache.Web.Middleware { public class SelectSqlMiddleware : DataMiddleware { public SelectSqlMiddleware(RequestDelegate _, IMediator mediator) ...
22.285714
67
0.779915
[ "MIT" ]
sam987883/TypeCache
src/TypeCache.Web/Middleware/SelectSqlMiddleware.cs
470
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using AIM.Data; using AIM.Models.Nodes; using AIM.Plugins.Analyzers; using AIM.Plugins.Core; using Microsoft.Extensions.Logging; namespace AIM.Plugins.Visualizers { public class PetriNetVis :...
33.75
154
0.604357
[ "Apache-2.0" ]
RensR/AIM-ArchitectureCity
Plugins/Visualizers/PetriNetVis.cs
2,297
C#
using AutoFixture; using FluentAssertions; using Moq; using NUnit.Framework; using SFA.DAS.Common.Domain.Types; using SFA.DAS.EmployerIncentives.Commands.ApprenticeshipIncentive.LearnerChangeOfCircumstance; using SFA.DAS.EmployerIncentives.Commands.Persistence; using SFA.DAS.EmployerIncentives.Domain.ApprenticeshipInc...
40.533654
174
0.650931
[ "MIT" ]
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives
src/tests/SFA.DAS.EmployerIncentives.Commands.UnitTests/ApprenticeshipIncentive/LearnerChangeOfCircumstance/WhenHandlingLearnerChangeOfCircumstanceCommand.cs
8,433
C#
using System; using ChargifyDotNetTests.Base; using System.Linq; using ChargifyNET; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ChargifyDotNetTests { [TestClass] public class ReferralCodeTests : ChargifyTestBase { [DataTestMethod] [DataRow("xml")] [DataRow("json")...
29.513514
143
0.638278
[ "MIT" ]
kfrancis/chargify-dot-net
Source/ChargifyDotNet.Tests/ReferralCodeTests.cs
1,094
C#
using System; using System.Linq; using System.Reflection; using Harald.WebApi.Domain; namespace Harald.WebApi.Features.Connections.Domain.Model { public class ClientType : StringSubstitutable { public ClientType(string value) : base(value) { } public static explicit operator Cl...
29.106383
121
0.565789
[ "MIT" ]
dfds/harald
src/Harald.WebApi/Features/Connections/Domain/Model/ClientType.cs
1,368
C#
/* Copyright (c) 2012 GFT Appverse, S.L., Sociedad Unipersonal. This Source Code Form is subject to the terms of the Appverse Public License Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this file, You can obtain one at http://appverse.org/legal/appverse-license/. Redi...
42.108696
162
0.683789
[ "MPL-2.0" ]
Appverse-Archive/appverse-mobile
appverse-core/src/csharp/Unity/Core/System/Resource/RemoteResourceHandler.cs
3,878
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
49.36
202
0.720421
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementAndStatementStatementNotStatementStatementSizeConstraintStatementGetArgs.cs
2,468
C#
// <auto-generated /> using System; using MAVN.Service.CustomerProfile.MsSqlRepositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.Val...
37.121212
130
0.472478
[ "MIT" ]
HannaAndreevna/MAVN.Service.CustomerProfile
src/MAVN.Service.CustomerProfile.MsSqlRepositories/Migrations/20191129114316_AddReferralFriend.Designer.cs
17,150
C#
using System.Collections.Generic; using Domain.Models; using Microsoft.AspNetCore.Mvc; using Services.Interfaces; using WorkforceManagerAPI.ViewModels; namespace WorkforceManagerAPI.Controllers { [Route("api/[controller]")] [ApiController] public class SkillController : ControllerBase { privat...
24.868132
68
0.548387
[ "MIT" ]
thiseasm/WorkforceManagerAPI
WorkforceManagerAPI/Controllers/SkillController.cs
2,265
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (https://www.specflow.org/). // SpecFlow Version:3.9.0.0 // SpecFlow Generator Version:3.9.0.0 // // Changes to this file may cause incorrect behavior and w...
44.277228
265
0.633609
[ "MIT" ]
SkillsFundingAgency/tl-results-and-certification-automation-suite
src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/Features/StatementOfAchievement/3103_SOANotAvailableYet.feature.cs
8,950
C#
/* * EasyBimehLanding.Standard * * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; ...
24.478261
83
0.449378
[ "MIT" ]
kmelodi/EasyBimehLanding_.NET
EasyBimehLanding.Standard/Models/BaseModelUpload.cs
2,933
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; /// <summary> /// System.Boolean.IConvertible.ToSingle /// </summary> public class BooleanIConvertible...
27.2875
115
0.558864
[ "MIT" ]
AaronRobinsonMSFT/coreclr
tests/src/CoreMangLib/cti/system/boolean/booleaniconvertibletosingle.cs
2,183
C#
using System; using System.Collections.Generic; using System.Linq; namespace _03.LegendaryFarming { class Program { static void Main(string[] args) { Dictionary<string, int> keyMaterials = new Dictionary<string, int>(); Dictionary<string, int> junkItems = new Dictionar...
34.252336
109
0.361255
[ "MIT" ]
yovko93/CSharp-Repo
CSharp_Fundamentals/AssociativeArraysExercise/03.LegendaryFarming/Program.cs
3,667
C#
using System; using System.Diagnostics; using Microsoft.AspNetCore.Mvc; namespace app.Controllers { public class FileAccessController : Controller { [HttpGet] public IActionResult Index() { var filename = HttpContext.Request.Query["filename"].ToString(); if (file...
22.136364
76
0.577002
[ "MIT" ]
mawinkler/c1-app-sec-dotnet-vulnerable
Controllers/FileAccessController.cs
487
C#
namespace Rhino.Etl.Tests.Joins { using System.Collections.Generic; using Core; public class ComplexUsersToPeopleJoinProcess : EtlProcess { private readonly IEnumerable<Row> left; private readonly IEnumerable<Row> right; public List<Row> Results = new List<Row>(); ...
34.090909
94
0.52
[ "BSD-3-Clause" ]
brumschlag/rhino-tools
rhino-etl/Rhino.Etl.Tests/Joins/ComplexUsersToPeopleJoinProcess.cs
1,125
C#
using System; using Microsoft.VisualStudio.TestPlatform.UnitTestFramework; using DhtReadService; namespace Tests { [TestClass] public class UnitTest1 { public object BitVector { get; private set; } [TestMethod] public void BitVector_starts_in_false() { BitVecto...
26.09434
69
0.481562
[ "MIT" ]
jmservera/IoTHubDemo
IoTSensors/Tests/UnitTest.cs
2,768
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using Dot.Net.DevFast.Extensions; using Dot.Net.DevFast.Extensions.JsonExt; using Newtonsoft.Json; namespace Dot.Net.DevFast.Sample.JsonSample.JsonEnumeration { public static class Late...
37.478723
116
0.57224
[ "MIT" ]
samaysar/dotdotnet
samples/Dot.Net.DevFast.Sample/Dot.Net.DevFast.Sample/JsonSample/JsonEnumeration/LatencyFileDeserializationZeroComputation.cs
3,525
C#
namespace TeamServer.Models { public class ImplantData { public string ID { get; set; } public string HostName { get; set; } public string User { get; set; } public string ProcName { get; set; } public int ProcID { get; set; } public string Integrity { get; set; ...
27.6
45
0.567633
[ "MIT" ]
Gr1mmie/AtlasC2
TeamServer/Models/Implants/ImplantData.cs
416
C#
using System; using System.Collections.Generic; using System.IdentityModel.Tokens.Jwt; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.IdentityModel.Tokens; using Se...
33.722222
119
0.596787
[ "MIT" ]
geovannanogueira/Senai.AutoPecas
Api/Senai.AutoPecas.WebApi/Senai.AutoPecas.WebApi/Controllers/LoginController.cs
2,431
C#
namespace ClearHl7.Codes.V281 { /// <summary> /// HL7 Version 2 Table 0918 - PCA Type. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0918</remarks> public enum CodePcaType { /// <summary> /// C - Continuous. /// </summary> Continuous, /// <summ...
20.08
59
0.462151
[ "MIT" ]
kamlesh-microsoft/clear-hl7-net
src/ClearHl7.Codes/V281/CodePcaType.cs
504
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-generate...
44.921875
191
0.602783
[ "MIT" ]
Bartizan/WPF-AutoComplete-TextBox
AutoCompleteTextBox/AutoCompleteTextBox.Demo/Properties/Resources.Designer.cs
2,877
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.Reflection; using Microsoft.Internal; namespace System.ComponentModel.Composition.ReflectionModel { ...
24.614286
71
0.583865
[ "MIT" ]
06needhamt/runtime
src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/ReflectionModel/ReflectionField.cs
1,723
C#
using System; using System.Linq; using UnityEngine; using UnityEngine.Timeline; namespace UnityEditor.Timeline { class TrimItemModeMix : ITrimItemMode, ITrimItemDrawer { ITrimmable m_Item; double m_Min; double m_Max; public void OnBeforeTrim(ITrimmable item, TrimEdge trimDirec...
35.582524
152
0.538881
[ "Apache-2.0" ]
ASlugin/Homework-2sem
SCP-087/Library/PackageCache/com.unity.timeline@1.6.4/Editor/Manipulators/Trim/TrimItemModeMix.cs
3,665
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using StructureMap.Pipeline; using StructureMap.Query; using StructureMap.TypeRules; namespace StructureMap.Diagnostics { public class PipelineGraphValidator { private readonly IList<Guid> _buildPlanFailureIds = new Li...
35
120
0.55613
[ "Apache-2.0" ]
CurufinweU/structuremap
src/StructureMap/Diagnostics/PipelineGraphValidator.cs
4,447
C#
using System; using System.Data; using Microsoft.Data.SqlClient; namespace Infrastructure.SqlConnections { public class SqlConnectionFactory : ISqlConnectionFactory, IDisposable { private readonly string _connectionString; private IDbConnection _connection; public SqlConnec...
26.805556
85
0.603109
[ "MIT" ]
marcinlovescode/CQRS.SingleDatabase
Infrastructure/SqlConnections/SQLConnectionFactory.cs
967
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text.RegularExpressions; using Abp.Auditing; using Abp.Authorization.Users; using Abp.Extensions; namespace Volo.PostgreSqlDemo.Web.Models.Account { public class RegisterViewModel : IValidatableObject { [Require...
32
137
0.624362
[ "MIT" ]
OzBob/aspnetboilerplate-samples
PostgreSqlDemo/aspnet-core/src/Volo.PostgreSqlDemo.Web.Mvc/Models/Account/RegisterViewModel.cs
1,568
C#
/* The MIT License (MIT) Copyright 2021 Adam Reilly, Call to Action Software LLC 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...
35.618056
460
0.633067
[ "MIT" ]
areilly711/CtaApi
Unity/CtaApi/Packages/com.calltoaction.ctaapi/CtaApi/Runtime/Scripts/Core/Defines.cs
5,129
C#
using System.Collections.Generic; using System.IO; using Datadog.Trace.PlatformHelpers; using Xunit; namespace Datadog.Trace.Tests.PlatformHelpers { public class ContainerMetadataTests { public const string Docker = @" 13:name=systemd:/docker/3726184226f5d3147c25fdeab5b60097e378e8a720503a5e19ecfdf29f86...
61.847328
144
0.822266
[ "Apache-2.0" ]
backjo/dd-trace-dotnet
test/Datadog.Trace.Tests/PlatformHelpers/ContainerMetadataTests.cs
8,102
C#
using System; using System.Collections.Generic; using System.Text; using System.ComponentModel.Design; using GuruComponents.Netrix.WebEditing.Elements; using System.ComponentModel; using System.Collections; using System.Reflection; using GuruComponents.Netrix.Events; using System.Web.UI.Design; namespace GuruComponent...
44.166023
164
0.603287
[ "MIT" ]
andydunkel/netrix
Netrix2.0/NetRixMain/NetRix/Designer/Elements/ElementDesigner.cs
11,439
C#
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData // package to your project. ////#define Handle_PageResultOfT using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using ...
57.60177
149
0.666769
[ "MIT" ]
cosoria/WebApiReferenceImpl
src/Api/Areas/HelpPage/App_Start/HelpPageConfig.cs
6,509
C#
namespace Application.Dto { public class AuthorMergeDto { public AuthorDto Author { get; set; } public int[] Authors { get; set; } } }
18.222222
45
0.591463
[ "MIT" ]
ita-social-projects/Bookcrossing-Back-End
src/Application/Dto/AuthorMergeDto.cs
166
C#
using System; using System.Collections.Generic; using Substrate.Nbt; namespace NBTModel.Interop { public static class FormRegistry { public delegate bool EditStringAction (StringFormData data); public delegate bool EditRestrictedStringAction (RestrictedStringFormData data); public dele...
28.148148
88
0.621053
[ "MIT" ]
3prm3/NBTExplorer-Reloaded
NBTModel/Interop/FormRegistry.cs
2,282
C#
using System.Collections.Generic; namespace AGS.API { /// <summary> /// How did the list change? /// </summary> public enum ListChangeType { /// <summary> /// An item was added to the list. /// </summary> Add, /// <summary> /// An item was removed from the list....
29.520548
125
0.569838
[ "Artistic-2.0" ]
OwenMcDonnell/MonoAGS
Source/AGS.API/Misc/Collections/BindingList/AGSListChangedEventArgs.cs
2,157
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 #pragma warning disable 436 // SuppressUnmanagedCodeSecurityAttribute defined in source and msco...
35.909091
145
0.782278
[ "MIT" ]
333fred/roslyn
src/Compilers/Core/Portable/DiaSymReader/Writer/ISymUnmanagedDocumentWriter.cs
792
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by \generate-code.bat. // // Changes to this file will be lost when the code is regenerated. // The build server regenerates the code before each build and a pre-build // step...
41.608645
222
0.595699
[ "MIT-feh" ]
generateui/UnitsNet
UnitsNet/GeneratedCode/Quantities/Scalar.g.cs
35,619
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
34.068182
122
0.661107
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-alicloud
sdk/dotnet/Arms/Inputs/DispatchRuleNotifyRuleGetArgs.cs
1,499
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: Asse...
67.901961
472
0.7892
[ "Apache-2.0" ]
jamieromanowski/aws-sdk-net
sdk/src/Services/KinesisVideoArchivedMedia/Properties/AssemblyInfo.cs
3,463
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shields.GraphViz.Models { public class Port { public static Port North { get { return new Port(null, CompassPoints.North); } } ...
26.485294
131
0.51749
[ "MIT" ]
kekyo/graphviz
Shields.GraphViz/Models/Port.cs
1,803
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 OdeToFood.Core; using OdeToFood.Data; namespace OdeToFood.Pages.R2 { public class DetailsModel : Pa...
23.853659
89
0.604294
[ "MIT" ]
Akchach/OdeToFood
OdeToFood/OdeToFood/Pages/R2/Details.cshtml.cs
980
C#
using Ryujinx.HLE.Utilities; using System.Runtime.InteropServices; namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator.FriendService { [StructLayout(LayoutKind.Sequential, Pack = 0x8, Size = 0x200, CharSet = CharSet.Ansi)] struct Friend { public UInt128 UserId; public long NetworkU...
26.310345
91
0.668414
[ "MIT" ]
Danik2343/Ryujinx
Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/FriendService/Types/Friend.cs
765
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Havit.Diagnostics.Contracts; using Havit.Web.UI; namespace Havit.Web.Boot...
39.064516
232
0.756813
[ "MIT" ]
havit/HavitFramework
Havit.Web/Bootstrap/UI/WebControls/ValidatorRenderExtender.cs
4,846
C#