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 Antlr4.Runtime; using LibProtection.Injections.Internals; namespace LibProtection.Injections { public sealed class Sql : AntlrLanguageProvider { private Sql() { } protected override Enum ConvertAntlrTokenType(int antlrTokenType) { return (SqlTokenType)a...
28.810811
97
0.522045
[ "MIT" ]
Daerius-rs/libprotection-dotnet
sources/LibProtection.Injections/LibProtection.Injections/Languages/Sql/Sql.cs
2,134
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HtmlPreformatted.cs" company=""> // // </copyright> // <summary> // The html div. // </summary> // --------------------------------------------------------------------...
22.090909
121
0.443416
[ "MIT" ]
athlete1/UXTestingFrameworks
UX.Testing.Core/Controls/HtmlPreformatted.cs
974
C#
using System; namespace MAVN.Service.Referral.Contract.Events { /// <summary> /// Represents an event sent when property is purchased /// </summary> public class PropertyPurchaseReferralEvent { /// <summary> /// Represents the Id of the referrer /// </summary> public...
27.125
63
0.546412
[ "MIT" ]
IliyanIlievPH/MAVN.Service.Referral
contract/MAVN.Service.Referral.Contract/Events/PropertyPurchaseReferralEvent.cs
1,519
C#
#if UNITY_2019_4_OR_NEWER using UnityEditor; using UnityEngine; using UnityEngine.UIElements; namespace StansAssets.Foundation.Editor { /// <summary> /// Editor related UI Toolkit utility methods. /// </summary> public static class UIToolkitEditorUtility { /// <summary> /// Helper m...
43.342466
141
0.630531
[ "MIT" ]
StansAssets/com.stansassets.foundation
Editor/EditorUtilities/UIToolkitEditorUtility.cs
3,164
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
33.2
219
0.594578
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/Automation/Management.Automation/Generated/Models/AutomationAccountCreateOrUpdateParameters.cs
3,320
C#
namespace Sim1 { partial class WobblerTestFrame { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
46.29845
107
0.590289
[ "MIT" ]
ThisIsNotRocketScience/Eurorack-KDS
VIsualStudio_EuroRackSimulator/Sim1/TINRS Wobbler TestFrame.Designer.cs
11,947
C#
// AbstractGateController using ClubPenguin.Analytics; using ClubPenguin.ContentGates; using ClubPenguin.Core; using ClubPenguin.UI; using Disney.Kelowna.Common; using Disney.LaunchPadFramework; using Disney.MobileNetwork; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; pub...
27.375
242
0.771689
[ "MIT" ]
smdx24/CPI-Source-Code
ClubPenguin.ContentGates/AbstractGateController.cs
3,942
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// GameObject Grid /// this is not a good OO design /// it is designed to show what the ECS version is doing in way that is readable /// for people who do ECS yet /// </summary> public class GOGrid : MonoBehaviour { publi...
35.191781
105
0.50798
[ "MIT" ]
ryuuguu/Unity-ECS-Life
Assets/Life/GOLife/GOGrid.cs
2,571
C#
namespace coreLearn.Protocol { public class Customer { public string EmailAddress { get; set; } public string FirstName { get; set; } public int Id { get; set; } public string LastName { get; set; } public string TelephoneNumber { get; set; } } }
27.090909
51
0.597315
[ "MIT" ]
sanketss84/coreLearn
coreLearn.Protocol/Customer.cs
298
C#
using System; using Microsoft.Practices.Unity; using System.Collections.Generic; namespace Alphamosaik.Common.UI.Infrastructure { public class ScreenFactoryRegistry : IScreenFactoryRegistry { #region Properties protected IUnityContainer Container { get; set; } protected IDictionary<Scr...
26.295082
91
0.637781
[ "MIT" ]
enriqueescobar-askida/Kinito.Mosaik.Common
Alphamosaik.Common.UI.Infrastructure/Screen Framework/ScreenFactoryRegistry.cs
1,604
C#
using Novacta.Documentation.CodeExamples; using System; namespace Novacta.Analytics.CodeExamples { public class AdditionExample0 : ICodeExample { public void Main() { // Create the left operand. var data = new double[6] { 0, 2, 4, 1, 3...
33.345455
78
0.54253
[ "MIT" ]
Novacta/analytics
src/Novacta.Analytics.CodeExamples/AdditionExample0.cs
1,836
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Threading; using System.Threadi...
41.268116
216
0.576778
[ "Apache-2.0" ]
BlackGad/NuGet.Client
src/NuGet.Clients/NuGet.VisualStudio.Implementation/Extensibility/VsPackageInstaller.cs
22,780
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://w...
52.945946
219
0.710056
[ "MIT" ]
Tarvinder91/azure-powershell
src/IotHub/IotHub/Common/IotHubUtils.cs
17,301
C#
using System; namespace ApplicationForRunners.AplicationPages { public class MDMenuItem { public MDMenuItem() { TargetType = typeof(MapPage); OlwaysActive = false; } public int Id { get; set; } public string Title { get; set; } public Typ...
23.588235
47
0.566085
[ "MIT" ]
MateuszKapusta/ApplicationForRunners
ApplicationForRunners_Xamarin_Forms/ApplicationForRunners/AplicationPages/MDMenuItem.cs
403
C#
using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Lykke.Service.MarketProfile.Core.Services; using Lykke.Service.MarketProfile.Models; using Lykke.Service.MarketProfile.Models.MarketProfile; using Microsoft.AspNetCore.Mvc; namespace Lykke.Service.Marke...
31.716667
83
0.581713
[ "MIT" ]
LykkeCity/Lykke.AssetsApi
src/Lykke.Service.MarketProfile/Controllers/MarketProfileController.cs
1,905
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics; using essentialMix.Data.Model; using essentialMix.Extensions; namespace MatchNBuy.Model; [DebuggerDisplay("{Name}")] [Serializable] public class Interest : IEntity { private string _name; [Key] p...
19.142857
69
0.75
[ "MIT" ]
asm2025/DatingApp
MatchNBuy.Model/Interest.cs
536
C#
using System; using System.Collections.Generic; using System.Linq; using Moq; using NUnit.Framework; using Our.ModelsBuilder.Tests.Testing; using Umbraco.Core.Composing; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Services; using Umbraco...
45.623188
207
0.564304
[ "MIT" ]
Arlanet/ModelsBuilder.Original
src/Our.ModelsBuilder.Tests/Model/PropertyValueTests.cs
22,038
C#
 // // Time Class // Created 02/07/2021 // // WinForms PacMan v0.0.1 // Aardhyn Lavender 2021 // // A group of constants to reference time // steps in terms of milliseconds. // // NOTE : This is not an emum as that would require // excessive casting from Time to Int. // namespace FormsPixelGameEngine...
30.567568
62
0.572944
[ "MIT" ]
AardhynLavender/WinFormsPacman
Pacman/Utility/Time.cs
1,133
C#
using System; using System.Runtime.CompilerServices; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using NumSharp.UnitTest.Utilities; using static NumSharp.Slice; namespace NumSharp.UnitTest.Manipulation { [TestClass] public class NdArrayReShapeTest { [TestMethod] ...
34.818182
161
0.474021
[ "Apache-2.0" ]
deepakkumar1984/NumSharp
test/NumSharp.UnitTest/Manipulation/NdArray.ReShape.Test.cs
7,662
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
28.168539
112
0.572397
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ServiceCatalog/Generated/Model/DeleteConstraintRequest.cs
2,507
C#
#pragma checksum "C:\Users\38850490828\Documents\Projetos SENAI\senai\projetos\PontoDigitaFinal\SENAI-ponto-digital\Views\Shared\Sucesso.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8e1623727968d11d352661284238ae21bd816c78" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.R...
66.725191
365
0.726576
[ "MIT" ]
GikaRodrigues/PontoDigitaFinal
SENAI-ponto-digital/obj/Debug/netcoreapp2.1/Razor/Views/Shared/Sucesso.g.cshtml.cs
8,741
C#
namespace TenantBShippingInformation.Models { public enum Priority { Low, Medium, High } }
14
44
0.642857
[ "MIT" ]
Espent1004/eShopOnContainersCustomised
src/Services/TenantCustomisations/TenantBShippingInformation/Models/Priority.cs
114
C#
using System; using MO.Common.Lang; namespace MO.Common.Geom { //============================================================ // <T>整数可变尺寸。</T> //============================================================ public class SIntVarSize : SIntSize { public const int WIDTH_VALID = 0x01; public c...
30.699115
78
0.311329
[ "Apache-2.0" ]
favedit/MoCross
Tools/1 - Common/MoCommon/Geom/SIntVarSize.cs
3,691
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Dwell.Editor { [CustomEditor(typeof(DwellHandler), true)] public class DwellHandlerInspector : UnityEditor.Editor { private UnityEditor.Editor _editor; ...
39.666667
103
0.668768
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/MRTK/SDK/Editor/Inspectors/Dwell/DwellHandlerInspector.cs
1,430
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Train : MonoBehaviour, IMovableObstacleMessage { private Transform _transform = null; private Vector3 _spawnPosition = Vector3.zero; private float _moveSpeed = 0f; private void Update() { Vector3 ...
24.3125
106
0.608398
[ "MIT" ]
Zziroo/From_Street
FromStreet/Assets/Scripts/Obstacle/Train.cs
1,167
C#
using Newtonsoft.Json; namespace Binance.API.Csharp.Client.Models.Account { public class NewOrder { [JsonProperty("symbol")] public string Symbol { get; set; } [JsonProperty("orderId")] public int OrderId { get; set; } [JsonProperty("clientOrderId")] public stri...
26.176471
50
0.613483
[ "MIT" ]
Khazmadu/Binance.API.Csharp.Client
Binance.API.Csharp.Client.Models/Account/NewOrder.cs
447
C#
using System; using System.Configuration; using System.Web.Script.Serialization; using System.Web.Security; using Portal.Caching; using Portal.DataAccess.Interfaces; using Portal.Web.Enums.Authentication; using Portal.Web.Interfaces; using Portal.Web.Logics.AuthenticationModels; using Portal.Web.ViewModels.Authenticat...
38.5
142
0.577812
[ "MIT" ]
isboat/ibunionportal
src/PortalWeb/Portal.Web.Logics/AuthenticationLogic.cs
4,545
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. namespace Microsoft.Azure.Management.AppService.Fluent { using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Management.AppServ...
42.657068
224
0.641853
[ "MIT" ]
abharath27/azure-libraries-for-net
src/ResourceManagement/AppService/Domain/IWebAppBase.cs
16,295
C#
// <auto-generated /> namespace VideoRental.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 P...
27.4
96
0.622871
[ "MIT" ]
davinceleecode/VideoRental
VideoRental/Migrations/202003221224513_PopulateGenre.Designer.cs
822
C#
using Calendar.Services; using System; using Xunit; namespace Calendar.Tests { public class CalendarTests { [Fact] public void Calendar_should_be_constructed_with_default_date_passed() { var calendar = new CalendarService(0, 0); DateTime now = DateTime.Now; ...
34.040268
105
0.570584
[ "MIT" ]
telebovich/Calendar
Calendar.Tests/CalendarTests.cs
5,072
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.Diagnostics; using System.Xml.XPath; namespace MS.Internal.Xml.Cache { /// <summary>...
38.053678
156
0.565906
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Private.Xml/src/System/Xml/Cache/XPathNode.cs
19,141
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Coimbra.BuildManagement.Editor.Global")] [assembly: InternalsVisibleTo("Coimbra.BuildManagement.Editor.Local")]
36.6
71
0.836066
[ "MIT" ]
coimbrastudios/buildmanagement
Coimbra.BuildManagement.Editor/AssemblyInfo.cs
183
C#
namespace WpfApp1 { public class PageFourViewModel { } }
11.5
34
0.637681
[ "MIT" ]
hamgeorge/MvvmResearch
src/MvvmResearch/NavigationIoC/ViewModel/PageFourViewModel.cs
71
C#
using NUnit.Framework; namespace WindowsPrometheusSync.Test { [TestFixture(Category = "Unit")] public class KubernetesClientFactoryTests { /// <summary> /// CYA test to hopefully keep us from checking this in with the local config enabled /// </summary> [Test] publi...
25.777778
93
0.635776
[ "MIT" ]
aidapsibr/aks-prometheus-windows-exporter
WindowsPrometheusSync.Test/KubernetesClientFactoryTests.cs
466
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using BusinessLayer; using ExceptionLayer; public partial class sayfalar_yoneticiWuc_emlakEkle_Basla : System.Web.UI.UserControl { protected void Page_Load(object sender, Even...
34.074561
120
0.520015
[ "MIT" ]
fatihyildizhan/csharp-2010-older-projects
DoxaEmlak/DoxaTuranEmlak/sayfalar/yoneticiWuc/emlakEkle_Basla.ascx.cs
7,791
C#
//------------------------------------------------------------------------------ // <copyright file="StatusBarPanelStyle.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //----------------------...
31.520833
115
0.437541
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/winforms/managed/system/winforms/statusbarpanelstyle.cs
1,513
C#
using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; namespace NetFabric.Hyperlinq { public static partial class AsyncValueEnum...
63.334232
289
0.634379
[ "MIT" ]
NetFabric/Hyperlinq
NetFabric.Hyperlinq/Projection/Select/Select/Select.AsyncValueEnumerable.cs
23,499
C#
using System.IO; using System.Xml; using System.Text; using System.Xml.Serialization; using UnityEngine; namespace GPVUDK { /// <summary> /// Utility for XML serialization. /// </summary> public class XmlUtil { /// <summary> /// Read an object from an XML file. /// </summar...
34.164706
87
0.524105
[ "MIT" ]
gpvigano/GPVUDK
UnityProjects/GPVUDK/Assets/GPVUDK/Common/Scripts/Data/XmlUtil.cs
2,906
C#
using System.Runtime.CompilerServices; using Xamarin.Forms; using Xamarin.Forms.Internals; using Xamarin.Forms.StyleSheets; [assembly: InternalsVisibleTo("iOSUnitTests")] [assembly: InternalsVisibleTo("Xamarin.Forms.Controls")] [assembly: InternalsVisibleTo("Xamarin.Forms.Core.Design")] [assembly: InternalsVisibleTo("...
83.180556
158
0.799633
[ "MIT" ]
jfversluis/Xamarin.Forms
Xamarin.Forms.Core/Properties/AssemblyInfo.cs
11,978
C#
using System; using System.Runtime.Serialization; namespace DoubleTap.Email { [Serializable] public class EmailClientException : Exception { public EmailClientException() { } protected EmailClientException(SerializationInfo info, StreamingContext context) : base(info, cont...
22.88
110
0.643357
[ "MIT" ]
doubletaptech/email
DoubleTap.Email/EmailClientException.cs
574
C#
using System.Linq; using Content.Server.Chemistry.EntitySystems; using Content.Server.Weapon.Ranged.Components; using Content.Shared.Chemistry.Components; using Content.Shared.Weapons.Ranged.Events; namespace Content.Server.Weapon.Ranged.Systems { public sealed class ChemicalAmmoSystem : EntitySystem { ...
37.6
113
0.664894
[ "MIT" ]
EmoGarbage404/space-station-14
Content.Server/Weapon/Ranged/Systems/ChemicalAmmoSystem.cs
1,880
C#
using System; using Newtonsoft.Json; namespace ScryfallApi.Client.Models { public class Set : BaseItem { /// <summary> /// The unique three or four-letter code for this set. /// </summary> [JsonProperty("code")] public string Code { get; set; } /// <summary> ...
32.688889
106
0.554385
[ "MIT" ]
Sigurdur42/Scryfall-API-Client
src/ScryfallApi.Client/Models/Set.cs
2,954
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...
38.603774
166
0.632209
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoTWireless/Generated/Model/Internal/MarshallTransformations/CreateWirelessGatewayTaskRequestMarshaller.cs
4,092
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...
30.448276
113
0.642129
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/StorageGateway/Generated/Model/UpdateVTLDeviceTypeResponse.cs
1,766
C#
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
34.792683
183
0.631265
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/Internal/MarshallTransformations/WorkflowExecutionCountUnmarshaller.cs
2,853
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using BSTU.FileCabinet.BLL.Interfaces; using BSTU.FileCabinet.DAL.Interfaces; using BSTU....
35.71875
133
0.567104
[ "MIT" ]
DenisStolyarov/BSTU.COURSE.PROJECT.WPF
BSTU.FileCabinet/BSTU.FileCabinet.WPF/ViewModels/AuthorizationViewModel.cs
5,717
C#
using System.Xml.Serialization; namespace TE.FileWatcher.Configuration.Notifications { /// <summary> /// Contains the data used to send the request. /// </summary> public class Data { // The MIME type private string _mimeType = Request.JSON_NAME; /// <summary> /// ...
25.098361
114
0.460483
[ "MIT" ]
gilby125/FileWatcher
FileWatcher/Configuration/Notifications/Data.cs
1,533
C#
using Microsoft.Extensions.Hosting; using System.Collections.Generic; using System.Linq; using System.Runtime.Versioning; using System.Threading; using System.Threading.Tasks; namespace FastGithub.PacketIntercept { /// <summary> /// tcp拦截后台服务 /// </summary> [SupportedOSPlatform("windows")] sealed ...
28.692308
96
0.637176
[ "MIT" ]
HaloXie/FastGithub
FastGithub.PacketIntercept/TcpInterceptHostedService.cs
1,149
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Core.UnitTests { [TestClass] public class ExcludedClassTest { [TestMethod] public void SomeTest() { // Arrange, var target = new ExcludedClass(); // Act, target.IncludedPr...
24.173913
62
0.611511
[ "MIT" ]
fhnaseer/CSharping
CSharp/Core.UnitTests/ExcludedClassTest.cs
558
C#
namespace IbFlexReader { using System; using System.Collections.Generic; using System.Linq; using IbFlexReader.Contracts.Enums; using IbFlexReader.Contracts.Ib; using IbFlexReader.Utils; internal class Logic { public static void ProcessStatement(FlexStatement statement, Options...
44
156
0.609917
[ "MIT" ]
JueMueller/ib-flex-reader
IbFlexReader/IbFlexReader/Logic.cs
2,422
C#
using Xunit; namespace MySuperStats.Tests { public sealed class MultiTenantFactAttribute : FactAttribute { public MultiTenantFactAttribute() { if (!MySuperStatsConsts.MultiTenancyEnabled) { Skip = "MultiTenancy is disabled."; } } ...
20.25
64
0.570988
[ "MIT" ]
ykirkanahtar/MySuperStats
aspnet-core/test/MySuperStats.Tests/MultiTenantFactAttribute.cs
326
C#
using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json; namespace Citrina { /// <summary> /// Type of online status of group. /// </summary> public enum GroupsOnlineStatusType { [EnumMember(Value = "none")] None, [EnumMember(Value ...
21.35
44
0.576112
[ "MIT" ]
khrabrovart/Citrina
src/Citrina/gen/Objects/Groups/GroupsOnlineStatusType.cs
427
C#
using OpenCvSharp.Text; using Xunit; namespace OpenCvSharp.Tests.Text { public class DetectTextSWTTest : TestBase { [Fact] public void Test() { using var src = new Mat("_data/image/imageText.png"); using var draw = new Mat(); var rects = CvText.Dete...
21.47619
65
0.569845
[ "Apache-2.0" ]
5118234/opencvsharp
test/OpenCvSharp.Tests/text/DetectTextSWTTest.cs
453
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.ComponentModel; using Pulumi; namespace Pulumi.AzureNextGen.NetApp.V20190601 { /// <summary> /// The service level of the file s...
36.117647
112
0.645494
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/NetApp/V20190601/Enums.cs
1,842
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("09. Extract Middle Elements")] [assembly: ...
39.485714
84
0.744573
[ "MIT" ]
thelad43/Programming-Fundamentals-SoftUni
09. Arrays - Lab/09. Extract Middle Elements/Properties/AssemblyInfo.cs
1,385
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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...
44.238938
168
0.543009
[ "Apache-2.0" ]
alexotsu/Lean
Engine/DataFeeds/SubscriptionSynchronizer.cs
10,000
C#
using Xamarin.Forms; namespace XF.Material.Forms.Resources.Typography { /// <summary> /// Class that provides typography theme configuration based on https://material.io/design/typography. /// </summary> public sealed class MaterialFontConfiguration : BindableObject { /// <summary> ...
40.90625
187
0.610262
[ "MIT" ]
AndreaMinato/XF-Material-Library
XF.Material/XF.Material.Forms/Resources/Typography/MaterialFontConfiguration.cs
7,856
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
32.2625
285
0.601317
[ "MIT" ]
samtoubia/azure-sdk-for-net
src/ResourceManagement/WebSite/Microsoft.Azure.Management.Websites/Generated/Models/ErrorEntity.cs
2,581
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Microsoft.XLANGs.BaseTypes; using Microsoft.BizTalk.XLANGs.BTXEngine; // General Information about an assembly is controlled through the...
38.97619
84
0.756261
[ "MIT" ]
345James/aimbiztalk
scenarios/001-FtpPassthru/src/Aim.FtpPassthru/Properties/AssemblyInfo.cs
1,638
C#
using Microsoft.AspNetCore.Mvc; using NetStackBeautifier.Services; using System.Runtime.CompilerServices; namespace NetStackBeautifier.WebAPI.Controllers; [ApiController] [Route("[controller]")] public class BeautifiedController : ControllerBase { private readonly IBeautifierService _beautifierService; publi...
30.777778
109
0.753309
[ "MIT" ]
xiaomi7732/StackBeauty
src/NetStackBeautifier.WebAPI/Controllers/BeautifiedController.cs
831
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DDD.Domain.Commands; using DDD.Domain.Commands.Anuncio; namespace DDD.Domain.Validations.Anuncio { class RemoveAnuncioCommandValidation : AnuncioValidation<RemoveAnuncioCommand> { p...
21.736842
82
0.726392
[ "MIT" ]
nilsonluizk/TesteWebMotorDDD
Src/DDD.Domain/Validations/Anuncio/RemoveAnuncioCommandValidation.cs
413
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...
32.40625
121
0.681774
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/CertificateAuthority/Inputs/AuthorityConfigX509ConfigKeyUsageUnknownExtendedKeyUsageArgs.cs
1,037
C#
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; namespace Babalu.rProxy { /// <summary> /// main class of the Babalu rProxy service /// </summary> static class Program { /// <summary> /// The main entry point for th...
20.714286
53
0.577586
[ "MIT" ]
CalypsoSys/Babalu_rProxy
TestService/Program.cs
582
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Laser.Orchard.Vimeo.Models { public class VimeoAccessTokenRecord { public virtual int Id { get; set; } public virtual string AccessToken { get; set; } public virtual int RateLimitLimit { get; set...
34.4
62
0.686047
[ "Apache-2.0" ]
INVA-Spa/Laser.Orchard.Platform
src/Modules/Laser.Orchard.Vimeo/Models/VimeoAccessTokenRecord.cs
518
C#
using Microsoft.EntityFrameworkCore; using RecipeStorage.Data.Entities; using System; namespace RecipeStorage.Data { public class RecipeStorageDbContext : DbContext { public RecipeStorageDbContext(DbContextOptions options) : base(options) { } public DbSet<Ingredie...
33.733333
137
0.65415
[ "Apache-2.0" ]
divayo/recipe-api
RecipeStorage.Data/RecipeStorageDbContext.cs
1,014
C#
// <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // </auto-generated> namespace Microsoft.Azure.Management.ContainerInstance....
29.677966
97
0.591662
[ "MIT" ]
AntoineGa/azure-libraries-for-net
src/ResourceManagement/ContainerInstance/Generated/Models/UsageName.cs
1,751
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 namespace DotNetNuke.Services.Social.Notifications { using System; using System.Collections.Generic; ...
42.727273
291
0.632424
[ "MIT" ]
Acidburn0zzz/Dnn.Platform
DNN Platform/Library/Services/Social/Notifications/NotificationsController.cs
21,622
C#
namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayOpenServicemarketCommodityChangeNotifyResponse. /// </summary> public class AlipayOpenServicemarketCommodityChangeNotifyResponse : AlipayResponse { } }
25.8
86
0.744186
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenServicemarketCommodityChangeNotifyResponse.cs
260
C#
using System.Collections.Generic; using SimpleECS.Core.Components; using SimpleECS.Core.Configs; namespace SimpleECS.Core.States { public sealed class DebugState : IComponent { DebugConfig _config; public bool IsTriggered { get; set; } List<string> _contents = new List<string>(); public DebugState Init(Deb...
21
49
0.702791
[ "MIT" ]
KonH/PiLedGame
SimpleECS.Core/States/DebugState.cs
609
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("Not...
41.216216
100
0.754098
[ "MIT" ]
alexander-forbes/notus
src/Notus/Properties/AssemblyInfo.cs
1,527
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using Microsoft.ReverseProxy.Abstractions.Telemetry; using Microsoft.ReverseProxy.Utilities; namespace Microsoft.ReverseProxy.Service.Metrics { internal class ProxyMetrics { private readonly Action<long, string, s...
41.735294
138
0.710359
[ "MIT" ]
JasonCoombs/reverse-proxy
src/ReverseProxy/Service/Metrics/ProxyMetrics.cs
1,419
C#
// Copyright (c) Terence Parr, Sam Harwell. All Rights Reserved. // Licensed under the BSD License. See LICENSE.txt in the project root for license information. using Antlr4.Runtime.Sharpen; namespace Antlr4.Runtime.Tree.Pattern { /// <summary> /// A chunk is either a token tag, a rule tag, or a span of liter...
32.485714
95
0.628848
[ "BSD-3-Clause" ]
ProphetLamb-Organistion/antlr4cs
runtime/CSharp/Antlr4.Runtime/Tree/Pattern/Chunk.cs
1,137
C#
using System; using System.Collections.Generic; #nullable disable namespace Injection.DbModels { public partial class VVendorWithAddress { public int BusinessEntityId { get; set; } public string Name { get; set; } public string AddressType { get; set; } public string AddressLi...
28.142857
53
0.641286
[ "MIT" ]
Flavia31/ac-league-timisoara
application_security/owasp-top-10/1-injection/after/DbModels/VVendorWithAddress.cs
593
C#
namespace ClassLib067 { public class Class085 { public static string Property => "ClassLib067"; } }
15
55
0.633333
[ "MIT" ]
333fred/performance
src/scenarios/weblarge2.0/src/ClassLib067/Class085.cs
120
C#
// Copyright (c) ZHAW, Marco Bertschi, Patrick Stadler. All rights reserved. namespace Watra.Api.DataAccess.DbContext { /// <summary> /// Interface from which any database entity must inherit. /// </summary> public interface IDbEntity { /// <summary> /// Gets or sets the entities I...
24.375
77
0.594872
[ "MIT" ]
OpenWatra/OpenWatra-Core
src/Watra.Api/DataAccess/DbContext/IDbEntity.cs
392
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. namespace Microsoft.AspNet.Mvc.ModelBinding { /// <summary> /// A value provider which can filter its contents based on <see cref="BindingSource...
41.846154
111
0.651654
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Core/ModelBinding/IBindingSourceValueProvider.cs
1,088
C#
namespace RecipeApplication.ViewComponents { using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using RecipeApplication.Data; using RecipeApplication.Models; using System.Linq; using System.Threading.Tasks; public class MyRecipes...
31.688889
101
0.596774
[ "MIT" ]
pirocorp/ASP.NET-Core-Playground
02. ASP.NET Core In Action/Chapter23/B_RecipeApplication/src/RecipeApplication/ViewComponents/MyRecipesViewComponent.cs
1,428
C#
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
43.185629
142
0.595119
[ "MIT" ]
035/Windows-universal-samples
relativeinclinometer/cs/scenario1_dataevents.xaml.cs
7,048
C#
using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; namespace Roslyn.Services.Internal.Log { [ExcludeFromCodeCoverage] internal sealed class CodeMarkers { // Singleton access public static readonly CodeMarkers Instance = new C...
36.641221
159
0.576563
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Workspaces/Core/Log/ManagedCodeMarkers.cs
9,600
C#
// // Copyright (c) 2008-2019 the Urho3D project. // Copyright (c) 2017-2020 the rbfx project. // // 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 lim...
34.694639
115
0.576525
[ "MIT" ]
crystaldev3d/rbfx
Source/Urho3D/CSharp/Managed/Math/Vector3.cs
14,884
C#
using Microsoft.AspNetCore.Mvc; namespace WingTipUserJourneyPlayerWebApplication.Controllers { public class TraceController : Controller { public IActionResult Index() { return View(); } } }
18.461538
60
0.645833
[ "MIT" ]
Azure-Samples/active-directory-b2c-advanced-policies
wingtipgamesb2c/src/WingTipUserJourneyPlayerWebApplication/Controllers/TraceController.cs
240
C#
namespace CCode.Roles.Dto { public class FlatPermissionDto { public string Name { get; set; } public string DisplayName { get; set; } public string Description { get; set; } } }
21.090909
47
0.560345
[ "MIT" ]
AmayerGogh/CCode
aspnet-core/src/CCode.Application/Roles/Dto/FlatPermissionDto.cs
234
C#
using Akka.Actor; using AkkaEventStore.Actors.Messages.Commands; using AkkaEventStore.Messages; using AkkaEventStore.Messages.Commands; using EventStore.ClientAPI; using System; using System.Collections.Generic; using System.Net; using System.Text; namespace AkkaEventStore.Actors { public class Basket...
38.707547
113
0.506702
[ "MIT" ]
vladkosarev/Akka.net-EventSourcePersistence
src/AkkaEventStore/Actors/BasketCoordinatorActor.cs
4,105
C#
using System; using System.Globalization; using MoonSharp.Interpreter.Compatibility; namespace MoonSharp.Interpreter.Interop.Converters { internal static class ScriptToClrConversions { internal const int WEIGHT_MAX_VALUE = 100; internal const int WEIGHT_CUSTOM_CONVERTER_MATCH = 100; in...
35.320796
118
0.44441
[ "MIT" ]
blakepell/AvalonMudClient
src/Avalon.MoonSharp/Interop/Converters/ScriptToClrConversions.cs
15,967
C#
namespace SamplePrism.Services.Implementations.PrinterModule.Formatters { public interface ILineFormatter { int FontWidth { get; set; } int FontHeight { get; set; } FormatTag Tag { get; set; } string GetFormattedLine(); string GetFormattedLineWithoutTags(); } }
26.25
72
0.650794
[ "Apache-2.0" ]
XYRYTeam/SimplePrism
SamplePrism.Presentation.Services/CommonServices/Implementations/PrinterModule/Formatters/ILineFormatter.cs
317
C#
// // Authors: // Ben Motmans <ben.motmans@gmail.com> // // Copyright (c) 2007 Ben Motmans // // 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 withou...
31.451613
119
0.73641
[ "MIT" ]
mono/linux-packaging-monodevelop-database
MonoDevelop.Database.Components/Widgets/DataGrid/DataGridColumn.cs
2,927
C#
using System; using System.Collections.Generic; using System.Text; namespace Galaxy.Domain { public class InstanceEventRouter : IEventRouter { private readonly Dictionary<Type, Action<object>> _handlers; public InstanceEventRouter() => _handlers = new Dictionary<Type, Action<object>>(); ...
26.28
91
0.513445
[ "MIT" ]
eyazici90/Galaxy
src/Galaxy/Domain/InstanceEventRouter.cs
1,973
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace fanyi { public partial class Form1 : Form { public Form1() { Initialize...
25.540453
102
0.526736
[ "Apache-2.0" ]
fat32jin/fanyi
fanyi/Form1.cs
8,018
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; using starsky.feature.metaupdate.Helpers; using starsky.feature.metaupdate.Interfaces; using starsky.foundation.database.Helpers; using starsky.foundation.datab...
35.939024
127
0.742111
[ "MIT" ]
qdraw/starsky
starsky/starsky.feature.metaupdate/Services/MetaReplaceService.cs
5,894
C#
// See the LICENSE file in the project root for more information. using System.Collections.Generic; using Microsoft.ML.Runtime; namespace Scikit.ML.DataFrame { /// <summary> /// Implements grouping functions for dataframe. /// </summary> public static class DataFrameRandom { /// <summary...
29.04
100
0.434573
[ "MIT" ]
xadupre/machinelearning_dataframe
DataManipulation/Helpers/DataFrameRandom.cs
1,454
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyVersion("3.7.0.0")] [assembly: AssemblyFileVersion("3.7.0.0")] public class Version{ static string GetVersion(){ return System.Reflection.Assembly.GetExecutingAssembly().GetName().Versio...
27.5625
189
0.75737
[ "Apache-2.0" ]
fredericaltorres/TextHighlighterExtension
__VersionInfo.cs
443
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.ContractsLight; using System.IO; using System.Linq; using Sy...
40.988255
181
0.540137
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/Tools/Execution.Analyzer/Args.cs
24,429
C#
namespace WebMConverter { partial class OverlayForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ///...
50
164
0.631381
[ "MIT" ]
PatrickMadsen/WebMConverter
Filters/Overlay.Designer.cs
9,052
C#
using Feedbacks.CollectorInterface.DatabaseRepository; using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Text; using System.Threading.Tasks; namespace Feedbacks.Collector.DataAccess { public abstract class DBContext { private readonly IDatabaseHa...
32.845455
98
0.559646
[ "Apache-2.0" ]
KingCobrass/feedbacks.collector
Mahi.Uddin/Feedbacks.Collector.DataAccess/DBContext.cs
3,615
C#
using System; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Runtime.InteropServices; using Java.Interop.Tools.TypeNameMappings; using Android.Runtime; namespace Java.Interop { public static partial class TypeManager { // Make this internal so that JNIEnv.Initialize ca...
34.120419
147
0.681218
[ "MIT" ]
06051979/xamarin-android
src/Mono.Android/Java.Interop/TypeManager.cs
13,034
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Internal.TypeSystem; using Xunit; namespace TypeSystemTests { public...
33.943894
110
0.460963
[ "MIT" ]
ZZHGit/corert
src/ILCompiler.TypeSystem/tests/InstanceFieldLayoutTests.cs
10,287
C#
using System; using Content.Shared.GameObjects.Components.Power; using Robust.Client.Animations; using Robust.Client.GameObjects; using Robust.Client.GameObjects.Components.Animations; using Robust.Client.Interfaces.GameObjects.Components; using Robust.Shared.Interfaces.GameObjects; using YamlDotNet.RepresentationMode...
42.25
129
0.614239
[ "MIT" ]
dave12311/space-station-14
Content.Client/GameObjects/Components/Power/AutolatheVisualizer.cs
5,241
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...
25.73913
97
0.590372
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Compute/V20191201/Outputs/ImagePurchasePlanResponse.cs
1,184
C#
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using Microsoft.AspNetCore.Components; using System.Linq.Expressions; usi...
39.079422
158
0.530624
[ "Apache-2.0" ]
First-Coder/BootstrapBlazor
src/BootstrapBlazor/Components/Table/TableFooterCell.razor.cs
11,175
C#
using System.Collections.Generic; using System.Linq; using JetBrains.Space.Generator.Model.HttpApi; using JetBrains.Space.Generator.CodeGeneration.CSharp.Extensions; namespace JetBrains.Space.Generator.CodeGeneration.CSharp { public class MethodParametersBuilder { private class MethodParameter ...
39.385475
120
0.549362
[ "Apache-2.0" ]
PatrickRatzow/space-dotnet-sdk
src/JetBrains.Space.Generator/CodeGeneration/CSharp/MethodParametersBuilder.cs
7,050
C#