content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WinProj_Interface { class Class2 { } abstract class Television { public void TrunOn() { Console.WriteLine("Television on."); } public void TrunOff() ...
21.642857
66
0.564356
[ "MIT" ]
poemking/Csharp_Interface
WinProj_Interface/WinProj_Interface/Class2.cs
911
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...
35.290323
152
0.564899
[ "MIT" ]
GeeLaw/AcademicdataBaseChain
wpfclient/ABCClient/Properties/Settings.Designer.cs
1,096
C#
using System; using System.Threading; using System.Threading.Tasks; namespace EntityFrameworkCore.Triggered.Internal { public class TriggerDescriptor { readonly ITriggerTypeDescriptor _triggerTypeDescriptor; readonly object _trigger; readonly int _priority; public TriggerDescr...
34.848485
125
0.707826
[ "MIT" ]
Ezeji/EntityFrameworkCore.Triggered
src/EntityFrameworkCore.Triggered/Internal/TriggerDescriptor.cs
1,152
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: * * * Redistributions of source code must retain the above * copyright notice,...
40.359742
213
0.527111
[ "BSD-2-Clause" ]
ChrisH4rding/xenadmin
XenAdmin/MainWindow.cs
168,625
C#
using System.Collections.Generic; using Microsoft.AspNet.Mvc; using Microsoft.Data.Entity; using PhilosopherPeasant.Controllers; using PhilosopherPeasant.Models; using Xunit; using Moq; using System.Linq; using System; namespace PhilosopherPeasant.Tests { public class ContributorsControllerTest : IDisposable ...
32.495327
109
0.568306
[ "MIT", "Unlicense" ]
dmdiehr/PhilosopherPeasant
PhilosopherPeasant.Tests/ControllerTests/ContributorsControllerTest.cs
3,479
C#
// ---------------------------------------------------------------------------------- // // Copyright 2011 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://ww...
52.821918
101
0.679979
[ "Apache-2.0" ]
dineshkummarc/azure-sdk-tools
WindowsAzurePowershell/src/Management/Model/SubscriptionDataExtended.cs
3,858
C#
namespace WUApiLib { using System; public enum tagAutomaticUpdatesNotificationLevel { aunlNotConfigured, aunlDisabled, aunlNotifyBeforeDownload, aunlNotifyBeforeInstallation, aunlScheduledInstallation } }
17.6
52
0.681818
[ "Unlicense" ]
eladkarako/WUD-Source
WUD240B1299/Interop.WUApiLib.dll/WUApiLib/tagAutomaticUpdatesNotificationLevel.cs
266
C#
#if VRC_SDK_VRCSDK2 using UnityEngine; using UnityEditor; using System.Collections; [CustomEditor (typeof(VRCSDK2.VRC_SceneDescriptor))] public class VRCSceneDescriptorEditor : Editor { VRCSDK2.VRC_SceneDescriptor sceneDescriptor; VRC.Core.PipelineManager pipelineManager; public override void O...
26.1
88
0.669221
[ "MIT" ]
aiya000/VRChat-EasyAudioPlayer
Assets/VRCSDK/Dependencies/VRChat/Editor/Components/VRCSceneDescriptorEditor.cs
783
C#
using HarmonyLib; using RaftMMO.ModEntry; using RaftMMO.Utilities; namespace RaftMMO.World { public static class WeatherManagerPatch { private static bool forcedWeather = false; [HarmonyPatch(typeof(WeatherManager), "Update")] public class WeatherManagerUpdatePatch ...
38.901408
151
0.564084
[ "MIT" ]
partyparrot4eva/RaftMMO
RaftMMO/World/WeatherManagerPatch.cs
2,764
C#
using Meadow; using Meadow.Devices; using Meadow.Foundation; using Meadow.Foundation.Displays.TftSpi; using Meadow.Foundation.Leds; using Meadow.Foundation.Sensors.Buttons; using Meadow.Foundation.Sensors.Moisture; using Meadow.Foundation.Sensors.Temperature; using Meadow.Hardware; using System; using Meadow.Units; us...
35.176923
119
0.597638
[ "Apache-2.0" ]
pulpago/Meadow_Project_Samples
source/Hackster/PlantMonitor/MeadowApp.cs
4,575
C#
using System.Collections.Generic; using System.Linq; using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.DataModel; using Amazon.DynamoDBv2.Model; using Paramore.Brighter.DynamoDb.Extensions; using Paramore.Brighter.Outbox.DynamoDB; using Xunit; namespace Paramore.Brighter.DynamoDB.Tests.DynamoDbExtensions { public c...
42.818182
162
0.618542
[ "MIT" ]
BrighterCommand/Brighter
tests/Paramore.Brighter.DynamoDB.Tests/DynamoDbExtensions/When_Creating_A_Table_With_Multple_GSI_Indexes_Per_Field.cs
2,826
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// TODO: Update with pooling /// public class Character : MonoBehaviour { public float health = 100; public virtual void Damage(float amount, Vector3 hitPoint, Vector3 hitDirection) { health -= amount; if (h...
17.958333
84
0.665893
[ "MIT" ]
alexsmith1095/Engine-Programming-Submission
Assets/Scripts/Character/Character.cs
433
C#
using System; using System.Collections.Generic; using System.Linq; namespace EventDemo { public class Card { public Card(Enum type) { CardType = type; } private static Random random; public Enum CardType { get; private set; } private Lis...
15.393939
58
0.501969
[ "MIT" ]
smingscript/4Way_Path_Finding_Test
EventDemo/EventDemo/EnumCase/Card.cs
510
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/codecapi.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop { p...
31
145
0.683871
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/codecapi/eAVEncH263VLevel.cs
622
C#
using HEAL.Entities.DataAccess.Excel; using HEAL.Entities.DataAccess.Excel.Abstractions; using HEAL.Entities.Objects; using HEAL.Entities.Objects.Excel; using Microsoft.Extensions.Logging; using OfficeOpenXml; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Express...
46.984076
304
0.703925
[ "MIT" ]
florianBachinger/HEAL.Entities
src/HEAL.Entities.DataAccess.EPPlus/EPPlusDomainRepository.cs
14,755
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.885246
169
0.601682
[ "MIT" ]
MIchaelMainer/GraphAPI
src/Microsoft.Graph/Requests/Generated/WorkbookFunctionsDec2BinRequestBuilder.cs
2,616
C#
using System; using System.ComponentModel; using Xunit; namespace CreativeCoders.Core.UnitTests { public class ObservableObjectTest { private string _propertyName; [Fact] public void OnPropertyChangedTest() { _propertyName = string.Empty; var obj = new...
24.874214
107
0.525917
[ "Apache-2.0" ]
CreativeCodersTeam/Core
source/UnitTests/CreativeCoders.Core.UnitTests/ObservableObjectTest.cs
3,957
C#
using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Acme.BookStore.Authors; using Microsoft.AspNetCore.Mvc; using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form; namespace Acme.BookStore.Web.Pages.Authors { public class EditModalModel : BookStorePageModel { ...
27.464286
81
0.612484
[ "MIT" ]
271943794/abp-samples
BookStore-Mvc-EfCore/src/Acme.BookStore.Web/Pages/Authors/EditModal.cshtml.cs
1,540
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.Input; using UnityEditor; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Editor { [MixedRealityServiceInspect...
39.882353
124
0.663225
[ "MIT" ]
AdamMitchell-ms/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Inspectors/ServiceInspectors/FocusProviderInspector.cs
2,038
C#
// Copyright 2021 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
43.583333
146
0.675908
[ "Apache-2.0" ]
BearerPipelineTest/dotnet-docs-samples
spanner/api/Spanner.Samples/CreateDatabaseWithDefaultLeaderAsync.cs
3,140
C#
namespace EA.Weee.RequestHandlers.Organisations { using Core.Organisations; using DataAccess; using Domain.AatfReturn; using Domain.Organisation; using Prsd.Core.Mapper; using Prsd.Core.Mediator; using Requests.Organisations; using Security; using System; using System.Data.Entit...
39.553571
173
0.672235
[ "Unlicense" ]
DEFRA/prsd-weee
src/EA.Weee.RequestHandlers/Organisations/OrganisationByIdHandler.cs
2,217
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...
41.838462
189
0.62585
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/Internal/MarshallTransformations/DescribeAppInstanceResponseUnmarshaller.cs
5,439
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...
35.445378
137
0.606449
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/GameLift/Generated/Model/Internal/MarshallTransformations/TagResourceRequestMarshaller.cs
4,218
C#
using Microsoft.Xna.Framework; using Terraria; using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; namespace Thaumaturgy.Tiles { //This tile is only placed by the Glacial Highway potion, so it's built around deleting itself when it shouldn't be there public class GlacialHighway : ModTile ...
31.980769
131
0.592303
[ "MIT" ]
Ilysen/Thaumaturgy
Tiles/GlacialHighway.cs
1,663
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
20.980132
115
0.654356
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-baas/Baas/Model/V20180731/CreateChaincodeRequest.cs
3,168
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Mvc; using SFA.DAS.QnA.Api.Infrastructure; using SFA.DAS.QnA.Api.Types; using SFA.DAS.QnA.Application.Commands.Projects.CreateProject; using SFA.DAS.QnA.Application.Commands.Projects.UpsertProject; us...
37.131148
114
0.697572
[ "MIT" ]
SkillsFundingAgency/das-qna-api
src/SFA.DAS.QnA.Api/Controllers/Config/ProjectsController.cs
2,265
C#
using System; using JetBrains.Application; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.OnlineHelp; using JetBrains.ReSharper.Plugins.Unity.Core.Application.UI.Help; using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration.Api; using JetBrains.ReSharper.Plugins.Unity.Utils; using JetBr...
34.2
88
0.690708
[ "Apache-2.0" ]
SirDuke/resharper-unity
resharper/resharper-unity/src/Unity/CSharp/Feature/OnlineHelp/UnityOnlineHelpProvider.cs
1,539
C#
namespace Plus.HabboHotel.Groups { using System; using System.Collections.Generic; using System.Data; using System.Linq; public class Group { private readonly List<int> _administrators; private readonly List<int> _members; private readonly List<int> _requests; ...
34.144876
126
0.452965
[ "Apache-2.0" ]
dotsudo/plus-clean
HabboHotel/Groups/Group.cs
9,665
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 JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure.Internal; namespace Microsoft.EntityFrameworkCore.Infrastructure { ...
41.961538
126
0.737855
[ "Apache-2.0" ]
davidroth/EntityFrameworkCore
src/Microsoft.EntityFrameworkCore.SqlServer/Infrastructure/SqlServerDbContextOptionsBuilder.cs
1,091
C#
using System; namespace Grace.DependencyInjection.Attributes.Interfaces { /// <summary> /// Attributes that implement this interface will be called at discovery time to provide an export strategy /// </summary> public interface IExportStrategyProviderAttribute { /// <summary> /// Provide an export strategy f...
29.294118
108
0.738956
[ "MIT" ]
drony/Grace
src/Grace/DependencyInjection/Attributes/Interfaces/IExportStrategyProviderAttribute.cs
500
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using puck.core.Base; using puck.core.Helpers; using puck.core.Controllers; using puck.core.Abstract; using puck.core.Constants; using Newtonsoft.Json; using puck.core.Entities; using puck.core.Filters; using puck.core.Models; using S...
29.56044
123
0.580297
[ "MIT" ]
AmilkarDev/puck-core
core/Controllers/LogController.cs
2,692
C#
// Copyright 2021 Anton Andryushchenko // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
45.632353
123
0.683532
[ "Apache-2.0" ]
andryushchenko/AInq.Helpers.Polly
src/AInq.Helpers.Polly/ContextHelper.cs
3,105
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.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Globalization; using Syst...
47.792979
210
0.462541
[ "MIT" ]
ESgarbi/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewButtonCell.cs
53,100
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("Int...
38.684211
84
0.75102
[ "MIT" ]
jamie-davis/ConsoleTools
InteractiveCommandSample/Properties/AssemblyInfo.cs
1,471
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipayCommerceDataCustommetricSyncModel Data Structure. /// </summary> [Serializable] public class AlipayCommerceDataCustommetricSyncModel : AlipayObject ...
27.538462
71
0.648045
[ "MIT" ]
gebiWangshushu/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceDataCustommetricSyncModel.cs
890
C#
/* * Copyright 2020 New Relic Corporation. All rights reserved. * SPDX-License-Identifier: Apache-2.0 */ using System; namespace BasicAspWebService { public partial class TestClient : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { NewRelic.Api.Agent.Ne...
28.767442
92
0.63945
[ "Apache-2.0" ]
Faithlife/newrelic-dotnet-agent
tests/Agent/IntegrationTests/Applications/BasicAspWebService/TestClient.aspx.cs
1,237
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore.Query.SqlExpressions; namespace Microsoft.EntityFrameworkCore.SqlServer.Query.Internal; /// <summary> /// This is an internal API that suppo...
50.43553
131
0.692904
[ "MIT" ]
Vekz/efcore
src/EFCore.SqlServer/Query/Internal/SearchConditionConvertingExpressionVisitor.cs
35,204
C#
using System; using System.Collections.Specialized; using System.ComponentModel.DataAnnotations; using System.Web.DynamicData; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Samples { public partial class TextField : System.Web.DynamicData.FieldTemplateUserControl { priv...
29.060606
89
0.573514
[ "Apache-2.0" ]
Superexpert/WebFormsScaffolding
Samples.CS/DynamicData/FieldTemplates/Text.ascx.cs
961
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; using IconSet; using WPF.Tools.CommonControls; namespace WPF.Tools.Specialized { public class FlashableLabel : L...
19.574194
115
0.629532
[ "BSD-3-Clause" ]
fromtheword/Bibles-Application
SourceCode/WPF.Tools/Specialized/FlashableLabel.cs
3,036
C#
using System.Windows; using System.Windows.Controls; #pragma warning disable 1591 namespace HOTINST.COMMON.Controls.Controls.Dragablz.Dockablz { public class DropZone : Control { static DropZone() { DefaultStyleKeyProperty.OverrideMetadata(typeof(DropZone), new FrameworkPropertyMet...
34.25641
132
0.663922
[ "Apache-2.0" ]
tyeagle/Hotinst
Source/HOTINST.COMMON/HOTINST.COMMON.Controls/Controls/Dragablz/Dockablz/DropZone.cs
1,336
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.Collections.ObjectModel; using System.Lin...
47.322344
118
0.634492
[ "MIT" ]
kwlin/SimpleInjector
src/SimpleInjector/Types.cs
12,649
C#
// // Copyright (c) 2008-2015 the Urho3D project. // Copyright (c) 2015 Xamarin Inc // // 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...
38.889831
129
0.709959
[ "MIT" ]
chanhong/urho-samples
FeatureSamples/Core/19_VehicleDemo/VehicleDemo.cs
9,178
C#
using System.Collections.Generic; using System.Linq; namespace VehicleInfoLoader.Data { public sealed partial class VehicleManifest { public IEnumerable<int> ModTypes { get { return ModList?.Keys ?? Enumerable.Empty<int>(); } } public IEnumerable<int> LiveryIds ...
25.422764
117
0.516789
[ "MIT" ]
PourrezJ/ResurrectionRP-Framework
ResurrectionRP_Server/Loader/VehicleInfoLoader/Data/VehicleManifest.cs
3,129
C#
using System; using System.Collections; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; namespace Org.BouncyCastle.Crypto.Signers { public class IsoTrailers { public const int TRAILER_IMPLICIT = 0xBC; public const int T...
34.655172
76
0.642786
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/crypto/signers/IsoTrailers.cs
2,012
C#
using System; using System.Collections.Generic; using System.Linq; namespace ERPCore.Enterprise.Models.Equity.Enums { public enum CapitalActivityType { Invest = 0, Withdraw = 1 } }
16.153846
48
0.680952
[ "MIT" ]
next-scale/ERPCore
Enterprise/Models/Equity/Enums/CapitalActivityType.cs
210
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BookStore.API.Data { public abstract class BaseEntity { public int Id { get; set; } } }
16.692308
36
0.695853
[ "MIT" ]
Gilthayllor/BlazorStudies
BookStore/BookStore.API/Data/BaseEntity.cs
219
C#
using DataCollector.Common.Contracts; namespace DataCollector.Planning { public abstract class ExecutionPlan<T> : IExecutionPlan<T> { public abstract void CreatePlan(); public abstract void LoadPlan(string filename); public abstract void SavePlan(); public abstract T ExecutePla...
25.615385
62
0.693694
[ "MIT" ]
hakdag/DataCollector-Framework
DataCollector.Planning/ExecutionPlan.cs
335
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> //--...
34.483871
151
0.582788
[ "MIT" ]
Wei-Huang1302/AutomobileCost
AutomobileCost/Properties/Settings.Designer.cs
1,071
C#
using System; using System.Collections.Generic; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Umbraco.Core; using Umbraco.Elasticsearch.Admin.Api; using Umbraco.Web; using Umbraco.Web.UI.JavaScript; namespace Umbraco.Elasticsearch.Admin.Events { public class SearchApplicationInstallServe...
39.853659
170
0.667075
[ "MIT" ]
Philo/Umbraco.Elasticsearch
src/Umbraco.Elasticsearch/Admin/Events/SearchApplicationInstallServerVarsEventHandler.cs
1,636
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WinFormMVP.Model; using WinFormMVP.Model.Entity; using WinFormMVP.View; namespace WinFormMVP.Presenter { public class UserAddPresenter:IPresenter { private readonly IUser _model; private readonly IUserA...
25.254902
80
0.573758
[ "MIT" ]
Altoid76/Unity3DTraining
SomeTest/WinFormMVP/Presenter/UserAddPresenter.cs
1,290
C#
using System; using System.Linq; using System.Linq.Expressions; using DevExpress.Data.Filtering; using DevExpress.ExpressApp; namespace Xpand.Extensions.XAF.ObjectSpaceExtensions { public static partial class ObjectSpaceExtensions { public static T EnsureObjectByKey<T>(this IObjectSpace objectSpace, objec...
47.21875
185
0.685639
[ "Apache-2.0" ]
eXpandFramework/Packages
src/Extensions/Xpand.Extensions.XAF/ObjectSpaceExtensions/EnsureObjectByKey.cs
1,513
C#
using System.Collections.Generic; using GraduatedCylinder.Nmea; namespace GraduatedCylinder.Devices.Gps.Nmea { public class GSV_Sentence { private static readonly List<string> ValidIds = new List<string> { "$GPGSV", "$GLGSV", "$GAGSV", "$BDGSV" }...
40.25
95
0.545853
[ "MIT" ]
EddieGarmon/GraduatedCylinder
Source/GraduatedCylinder.Geo/Devices/Gps/Nmea/GSV_Sentence.cs
2,739
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/ExDisp.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
36.576923
145
0.632492
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/ExDisp/IShellUIHelper6Tests.cs
1,904
C#
using System.Threading; using System.Threading.Tasks; using MeasureUnitManagement.Infrastructure.Core; namespace MeasureUnitManagement.Domain.MeasureDimensions { public interface IMeasureDimensionRepository : IRepository { Task<long> GetNextId(); Task<MeasureDimension> GetById(long id); ...
29.428571
89
0.771845
[ "MIT" ]
MohammadrezaTaghipour/MeasureUnitManagement
Code/Src/MeasureUnitManagement/Domain/MeasureDimensions/IMeasureDimensionRepository.cs
414
C#
// Accord Math Library // The Accord.NET Framework // http://accord-net.origo.ethz.ch // // Copyright © César Souza, 2009-2011 // cesarsouza at gmail.com // http://www.crsouza.com // using System; using System.Collections.Generic; using System.Linq; using Accord.Math.Decompositions; namespace Accord.Math { /// <...
34.503099
116
0.47202
[ "Apache-2.0" ]
wouldyougo/TRx
External Projects/AccordMath/Math/Matrix/Matrix.Algebra.cs
33,403
C#
using System; using System.Windows.Forms; using Gwen.ControlInternal; namespace Gwen.Control { public class VerticalSplitter : Base { private readonly SplitterBar m_HSplitter; private readonly Base[] m_Sections; private float m_HVal; // 0-1 private int m_BarSize; // pixels ...
28.873874
119
0.4883
[ "BSD-2-Clause" ]
akumetsuv/flood
src/GUI/Control/VerticalSplitter.cs
6,412
C#
//----------------------------------------------------------------------- // Copyright 2017 Roman Tumaykin // // 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....
42.752577
188
0.592718
[ "Apache-2.0" ]
ConstantineK/ssis-build
src/SsisBuild.Core/ProjectManagement/ProjectManifest.cs
12,443
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...
31.804878
109
0.617715
[ "Apache-2.0" ]
Bynder/aws-sdk-net
sdk/src/Services/StepFunctions/Generated/Model/GetExecutionHistoryResponse.cs
2,608
C#
using Microsoft.ML.Data; using Microsoft.ML.Trainers; using Microsoft.ML.Trainers.LightGbm; using System.Runtime.Serialization; namespace MachineLearning.Serialization { internal class LightGbmMulticlassTrainerSurrogate : LightGbmTrainerBaseSurrogate<LightGbmMulticlassTrainer.Options, VBuffer<float>, MulticlassPre...
47.676471
225
0.712523
[ "MIT" ]
darth-vader-lg/MachineLearning
src/MachineLearning/Serialization/LightGbmMulticlassTrainerSurrogate.cs
1,623
C#
/* * Tencent is pleased to support the open source community by making xLua available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
29.5
308
0.570835
[ "MIT" ]
UWA-MakeItSimple/TestProject
Assets/XLua/Examples/02_U3DScripting/LuaBehaviour.cs
3,199
C#
using Abp.MultiTenancy; using sweet.log.Authorization.Users; namespace sweet.log.MultiTenancy { public class Tenant : AbpTenant<User> { public Tenant() { } public Tenant(string tenancyName, string name) : base(tenancyName, name) { } ...
18
54
0.555556
[ "MIT" ]
Versus-91/sweet.log
aspnet-core/src/sweet.log.Core/MultiTenancy/Tenant.cs
326
C#
using System; using GroboContainer.Impl.Implementations; using GroboContainer.New; namespace GroboContainer.Impl.Abstractions.AutoConfiguration { public class AutoAbstractionConfiguration : IAbstractionConfiguration { public AutoAbstractionConfiguration(Type abstractionType, ...
39.21875
115
0.693227
[ "MIT" ]
BigBabay/GroboContainer
GroboContainer/Impl/Abstractions/AutoConfiguration/AutoAbstractionConfiguration.cs
1,255
C#
namespace MVC5_Template.Web.Infrastructure.Contracts { /// <summary> /// Empty interface used for mapping objects with AutoMapper /// </summary> /// <typeparam name="T"></typeparam> public interface IMap<T> where T : class { } }
23.454545
64
0.639535
[ "MIT" ]
SimeonGerginov/ASP.NET-MVC-5-Project-Template
Source/Web/MVC5-Template.Web.Infrastructure/Contracts/IMap.cs
260
C#
using System; using System.Collections.Generic; namespace Comments.Models { public partial class Status { public Status() { Answer = new HashSet<Answer>(); Comment = new HashSet<Comment>(); } public int StatusId { get; set; } public string Name {...
21.714286
57
0.574561
[ "MIT" ]
nhsevidence/consultations
Comments/Models/EF/Status.cs
456
C#
 // --------------------------------------------------------------------------------------------- // <copyright>PhotonNetwork Framework for Unity - Copyright (C) 2020 Exit Games GmbH</copyright> // <author>developer@exitgames.com</author> // -----------------------------------------------------------------------------...
29.6
96
0.414414
[ "MIT" ]
AhmedMakhlouf/squares
Squares/Assets/Photon/Simple/Utilities/Networking/Interfaces/IHasNetworkID.cs
446
C#
using System.Collections.Generic; namespace MyCouch.Requests { public class GetChangesRequest : Request { /// <summary> /// Select the type of changes feed to consume. /// </summary> public ChangesFeed? Feed { get; set; } /// <summary> /// Specifies h...
43.338235
104
0.572447
[ "MIT" ]
DanielMidali/mycouch
source/projects/MyCouch/Requests/GetChangesRequest.cs
2,953
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayOpenAppSilanApigrayQueryModel Data Structure. /// </summary> [Serializable] public class AlipayOpenAppSilanApigrayQueryModel : AopObject { /// <summary> /// param /// </summa...
21.421053
64
0.609337
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/AlipayOpenAppSilanApigrayQueryModel.cs
407
C#
namespace Lenic.Web.WebApi.Expressions.Core.Writers { internal class ShortValueWriter : IntegerValueWriter<short> { } }
21.833333
63
0.740458
[ "MIT" ]
Lenic/Lenic.Web
WebApi/Expressions/Core/Writers/ShortValueWriter.cs
131
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.Net.Http; using Microsoft.AspNetCore.HeaderPropagation; using Microsoft.Extensions.DependencyInjection.Extensions; namespace...
39.901639
185
0.643385
[ "Apache-2.0" ]
belav/aspnetcore
src/Middleware/HeaderPropagation/src/DependencyInjection/HeaderPropagationServiceCollectionExtensions.cs
2,434
C#
using UnityEngine; using System.Collections.Generic; public class DudeController : MonoBehaviour { [SerializeField] private float minSpeed = 3f , maxSpeed = 10f , loveSpeed = 5f , currentSpeed = 3f , minMaxRotationSpeed = 5f , currentRotationSpeed = 1f ...
30.422535
134
0.523426
[ "MIT" ]
kvabakoma/gamesandpoliticsgamejam
Assets/Scripts/DudeController.cs
10,802
C#
// <auto-generated> using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace KyGunCo.Counterpoint.Sdk.Entities { // IM_MINMAX_ADV_WRK_CELL public class ImMinmaxAdvWrkCell { public string SessId { get; set; } // SESS_ID (Primary key) (length: 4...
42.410256
145
0.643289
[ "MIT" ]
kygunco/KyGunCo.Counterpoint
Source/KyGunCo.Counterpoint.Sdk/Entities/ImMinmaxAdvWrkCell.cs
1,654
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...
38.389423
143
0.590607
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-alicloud
sdk/dotnet/Log/LogTailConfig.cs
7,997
C#
auto_file=Soubor automatického připojování NFS,3 nmblookup_path=Úplná cesta k nmblookup,3 long_fstypes=Zobrazit dlouhá jména u souborových systémů?,1,1-Ano,0-Ne smbclient_path=Úplná cesta k smbclient,3 line2=Konfigurace systému,11 delete_under=Při odpojování smazat adresář, pokud je podardesářem,3,Nemazat nikdy show_u...
53.615385
87
0.849354
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
cnstudio/webmin
mount/config.info.cs
743
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 System.StubHelpers { using System.Text; using Microsoft.Win32; using System.Security; usi...
39.621622
177
0.597758
[ "MIT" ]
Regenhardt/coreclr
src/System.Private.CoreLib/src/System/StubHelpers.cs
70,368
C#
using System; using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.Authorization.Users; using Abp.AutoMapper; using LetsDisc.Authorization.Users; namespace LetsDisc.Users.Dto { [AutoMapFrom(typeof(User))] public class UserDto : EntityDto<long> { [Required] ...
25.512195
57
0.651052
[ "MIT" ]
codingdefined/LetsDisc
src/LetsDisc.Application/Users/Dto/UserDto.cs
1,046
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using Moq; using Pims.Core.Test; using Pims.Dal.Entities.Models; using Pims.Dal.Exceptions; using Pims.Dal.Repositories; using Pims.Dal.Security; using Xunit; using Entity = Pims.Dal.Entities; namespace Pims.Dal.T...
27.578431
84
0.569854
[ "Apache-2.0" ]
FuriousLlama/PSP
backend/tests/unit/dal/Repositories/ContactRepositoryTest.cs
2,813
C#
namespace SFA.Apprenticeships.Application.VacancyPosting { using Domain.Entities.Raa.Locations; using Domain.Entities.Raa.Vacancies; using Domain.Raa.Interfaces.Repositories.Models; using Interfaces.VacancyPosting; using Strategies; //TODO: rename project to SFA.Management.Application.VacancyPo...
40.719424
147
0.728269
[ "MIT" ]
BugsUK/FindApprenticeship
src/SFA.Apprenticeships.Application.VacancyPosting/VacancyPostingService.cs
5,662
C#
using System; using NetOffice; using NetOffice.Attributes; namespace NetOffice.WordApi.Enums { /// <summary> /// SupportByVersion Word 9, 10, 11, 12, 14, 15, 16 /// </summary> ///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Word.WdFlowDirection"/> </remarks> ...
28.964286
135
0.641184
[ "MIT" ]
NetOfficeFw/NetOffice
Source/Word/Enums/WdFlowDirection.cs
813
C#
using System; using Aop.Api.Domain; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.marketing.tool.fengdie.editor.query /// </summary> public class AlipayMarketingToolFengdieEditorQueryRequest : IAopRequest<AlipayMarketin...
26.08871
123
0.56847
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Request/AlipayMarketingToolFengdieEditorQueryRequest.cs
3,253
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Web.Caching;...
57.589574
301
0.633353
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Tests/DotNetNuke.Tests.Core/Providers/Folder/FolderManagerTests.cs
139,196
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
40
151
0.586111
[ "MIT" ]
ajdotnet/wcf-policy
TrackingPolicy.TestClient/Properties/Settings.Designer.cs
1,082
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
29.712121
76
0.619582
[ "Apache-2.0" ]
ljhljh235/azure-sdk-for-net
src/DataFactoryManagement/Generated/Models/CustomActivity.cs
1,961
C#
//----------------------------------------------------------------------------- // Gravity triggers and the like, from PQ // // Copyright (c) 2021 The Platinum Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"),...
36.078292
134
0.620339
[ "MIT" ]
HiGuyMB/PlatinumQuest-Dev
Marble Blast Platinum/platinum/server/scripts/gravity.cs
10,138
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AssetProduceItem Data Structure. /// </summary> [Serializable] public class AssetProduceItem : AopObject { /// <summary> /// 生产指令动作类别:套组则为ASSEMBLE,组装 /// </summary> [XmlEle...
25.527638
73
0.491142
[ "Apache-2.0" ]
Varorbc/alipay-sdk-net-all
AlipaySDKNet/Domain/AssetProduceItem.cs
5,750
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Patterns; using...
40.410448
147
0.61108
[ "MIT" ]
ScriptBox21/reverse-proxy
test/ReverseProxy.Tests/Model/ProxyPipelineInitializerMiddlewareTests.cs
5,415
C#
using Library.Domain; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; namespace Library.Infrastructure.Data { public static class ServiceCollectionExtensions { public static void AddEntityFramework(this IServiceCollection services, string connectionString) ...
30.142857
104
0.671406
[ "MIT" ]
mtarcha/Library
src/Library.Infrastructure.Data/ServiceCollectionExtensions.cs
635
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.overseas.travel.exchangerate.batchquery /// </summary> public class AlipayOverseasTravelExchangerateBatchqueryRequest : IAlipayRequest<...
23.333333
135
0.556794
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOverseasTravelExchangerateBatchqueryRequest.cs
2,890
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...
36.529412
131
0.611558
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/TestFailoverRequest.cs
5,589
C#
using CodeCasing; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace CodeCasingTest { [TestClass] public class ToPascalCaseTests { [TestMethod] public void ToPascalCasePassingHungarianCaseReturnsPascalCase() { string input = "boxCarWilly"; string ...
29.070707
82
0.588603
[ "Apache-2.0" ]
kyleherzog/CodeCasing
CodeCasing.Tests/ToPascalCaseTests.cs
2,880
C#
using System; using System.IO; namespace CLRProfiler { /// <summary> /// Summary description for LogBase. /// </summary> public class LogBase { #region private data member private long logFileStartOffset; private long logFileEndOffset; private string logFileName; private ReadNewLog log = n...
23.507042
91
0.683044
[ "Apache-2.0" ]
AustinWise/Netduino-Micro-Framework
Framework/Tools/MFProfiler/CLRProfiler/LogBase.cs
1,669
C#
using System.Reflection; [assembly: AssemblyTitle("VisualStudio.Package.Manager")]
21.25
57
0.8
[ "MIT" ]
sailro/VSPM
VisualStudio.Package.Manager/Properties/AssemblyInfo.cs
87
C#
// Karel Kroeze // MapComponent_TimeKeeper.cs // 2017-06-15 using RimWorld; using Verse; namespace WorkTab { public class MapComponent_TimeKeeper : MapComponent { public MapComponent_TimeKeeper( Map map ) : base( map ) { } private int currentHour = -1; public override void MapCompone...
30.470588
91
0.584942
[ "MIT" ]
RimWorld-zh-mods/WorkTab
Source/Core/MapComponent_TimeKeeper.cs
1,038
C#
using P01_StudentSystem.Data.Enumerations; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace P01_StudentSystem.Data.Models { public class Resource { [Key] public int ResourceId { get; set; } [Required] [MaxLength(50)] ...
23.392857
55
0.618321
[ "MIT" ]
RadinTiholov/DataBaseFundamentals-CSharp
Exercises Entity Relations/P01_StudentSystem/P01_StudentSystem/Data/Models/Resource.cs
657
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CEnvFlareColorParameters : CVariable { ...
34.926829
132
0.690642
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CEnvFlareColorParameters.cs
1,432
C#
using minij.classfile; using minij.rtda; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; // namespace minij.instructions.stack { class DUP : Instruction { public override void feachOperationCode(CodeReader reader){} public ...
27.298246
72
0.583226
[ "MIT" ]
MisterChangRay/minij
instructions/stack/Dup.cs
3,114
C#
using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; namespace YC.Common.DBUtils { /// <summary> /// MySqlHelper操作类 /// </summary> public sealed partial class MySqlUtils { /// <summary> ...
39.585698
191
0.581849
[ "Apache-2.0" ]
yc-l/yc.boilerplate
src/Backstage/BasicLayer/YC.Common/DBUtils/MySqlUtils.cs
39,745
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("MFMetaDataProcessor.Console")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfigura...
36.25
81
0.742857
[ "Apache-2.0" ]
fburel/Monkey.Robotics
Source/Xamarin Studio Microframework Add-in/MFMetaDataProcessor/MFMetaDataProcessor.Console/Properties/AssemblyInfo.cs
1,017
C#
// Copyright (c) 2018 Southrop. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using DG.Tweening; using UnityEngine.UI; public static class DOTweenExtensions { public static Tweener DOTextInt(this Text text, int initialValu...
41.215686
142
0.708849
[ "MIT" ]
southrop/DOTweenExtensions
DOTweenExtensions.cs
2,102
C#
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Diagnostics; using Elasticsearch.Net; namespace Nest { [DebuggerDisplay("{DebugDispla...
29.14
100
0.708305
[ "Apache-2.0" ]
Atharvpatel21/elasticsearch-net
src/Nest/CommonAbstractions/Infer/Name/Name.cs
1,457
C#
using System; namespace UnrealEngine { /// <summary>Permitted spline point types for SplineComponent.</summary> public enum ESplinePointType:byte { Linear=0, Curve=1, Constant=2, CurveClamped=3, CurveCustomTangent=4, ESplinePointType_MAX=5, } }
15.647059
73
0.729323
[ "MIT" ]
xiongfang/UnrealCS
Script/UnrealEngine/GeneratedScriptFile/ESplinePointType.cs
266
C#