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 Xunit; namespace Oqtane.Database.Sqlite.Tests { public class SqliteDatabaseTests { [Fact()] public void VerifyDatabaseTypeName() { // Arrange & Act var database = new SqliteDatabase(); // Assert Assert.Equal("Oqtane.Database.Sqlite....
22.166667
109
0.588972
[ "MIT" ]
2sic-forks/oqtane.framework
Oqtane.Test/Oqtane.Database.Sqlite/SqliteDatabaseTests.cs
399
C#
 using UdonSharp; using UnityEngine; using VRC.SDKBase; using VRC.Udon; namespace StepmaniaVRC { /// <summary> /// Simple class representing an arrow on the gamescreen /// </summary> public class ArrowVisualizer : UdonSharpBehaviour { public Renderer[] myRenderers;//Renderers associated to...
29.833333
162
0.639106
[ "MIT" ]
jiray-yay/Stepmania-VRC
Scripts/ArrowVisualizer.cs
897
C#
using System.Linq; using SnippetBuilder.Models; namespace SnippetBuilder.Extensions { public static class RecipeExtensions { public static bool Validate(this Recipe recipe) { if (string.IsNullOrEmpty(recipe.Name)) return false; if (string.IsNullOrEmpty(recipe.Output)) re...
28.8
82
0.657407
[ "MIT" ]
AconCavy/SnippetBuilder
src/SnippetBuilder/Extensions/RecipeExtensions.cs
432
C#
using UnityEngine; namespace UniVRM10 { public static class TransformExtensions { public static Quaternion ParentRotation(this Transform transform) { return transform.parent == null ? Quaternion.identity : transform.parent.rotation; } } }
23.076923
95
0.643333
[ "MIT" ]
ousttrue/UniVRM_1_0
Assets/Vrm10/UniVRM10/Components/Constraint/TransformExtensions.cs
300
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LexShop.Core.Models; using LexShop.Core.ViewModels; namespace LexShop.Core.Contracts { //5. Create the interface public interface IOrderService { void CreateOrder(Order baseOrd...
24.45
81
0.728016
[ "MIT" ]
rghalayini/LexShop
LexShop/LexShop.Core/Contracts/IOrderService.cs
491
C#
// Copyright (c) E5R Development Team. All rights reserved. // This file is a part of E5R.Architecture. // Licensed under the Apache version 2.0: https://github.com/e5r/manifest/blob/master/license/APACHE-2.0.txt using E5R.Architecture.Core; namespace E5R.Architecture.Data.Abstractions.Alias { public interface I...
33.941176
108
0.752166
[ "Apache-2.0" ]
e5r/E5R.Architecture
src/E5R.Architecture.Data/Abstractions/Alias/IStoreBulkWriter`2.cs
579
C#
using System; using ProjectManager.Framework.Core.Common.Contracts; namespace ProjectManager.Framework.Core.Common.Providers { public class ConsoleWriter : IWriter { public void Write(object value) { Console.Write(value); } public void WriteLine(object value) ...
20.052632
56
0.614173
[ "MIT" ]
SimeonGerginov/Telerik-Academy
06. C# Design Patterns/Exams/2017-06-15/ProjectManager.Framework/Core/Common/Providers/ConsoleWriter.cs
383
C#
/********************************************* 作者:曹旭升 QQ:279060597 访问博客了解详细介绍及更多内容: http://blog.shengxunwei.com **********************************************/ using System; using System.Data.Common; using System.Data.SqlServerCe; using Microsoft.Practices.EnterpriseLibrary.Data.SqlCe...
34.696078
87
0.589432
[ "MIT" ]
ckalvin-hub/Sheng.Winform.IDE
SourceCode/Source/EnterpriseLibrary/Data/Tests/SqlCe.Tests/SqlCeExecuteScalarFixture.cs
3,587
C#
namespace CyclopsEnhancedSonar { using System; using Common; using Harmony; using MoreCyclopsUpgrades.API; using SMLHelper.V2.Handlers; public static class QPatch { public static void Patch() { QuickLogger.Info($"Started patching. Version {QuickLogger.GetAssembl...
40.06383
117
0.614976
[ "MIT" ]
Denkkar/PrimeSonicSubnauticaMods
CyclopsEnhancedSonar/QPatch.cs
1,885
C#
namespace ViewModels.Client { using ViewModels.Address; public class ClientViewModel { public string FirstName { get; init; } public string LastName { get; init; } public string PhoneNumber { get; init; } public AddressViewModel Address { get; init; } } }
19.3125
54
0.627832
[ "MIT" ]
AchoVasilev/BgAirsoft
serverAPI/AirsoftServer/ViewModels/Client/ClientViewModel.cs
311
C#
using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using DualPantoFramework; using SpeechIO; using UnityEngine; public class LabyrinthGameManager : MonoBehaviour { GameObject[] forceFields; public GameObject forceFieldPrefab; GameObject upper; GameObject lower; ...
34.302326
178
0.479153
[ "Apache-2.0" ]
Max784/BIS_BeatSaber
Assets/unity-dualpanto-framework/Assets/ExampleScripts/ForcefieldLabyrinth/LabyrinthGameManager.cs
5,902
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; // Colors: provides color properties // public static class Colors { #region provided by Unity's Color class public static Color cyan => Color.cyan; public static Color green => Color.green; public static Color red => Color.red; publi...
32.44
57
0.754624
[ "MIT" ]
MartianDust/MartianDust-Project
Assets/Plugins/Mars Motion Toolkit/Utilities/Explicit/Colors.cs
813
C#
#region license // Copyright (c) HatTrick Labs, LLC. 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 re...
47.486486
225
0.753557
[ "Apache-2.0" ]
HatTrickLabs/dbExpression
src/HatTrick.DbEx.Sql/Pipeline/_PipelineEvents/BeforeSelectPipelineEventActions.cs
1,759
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 ...
63.024793
198
0.772227
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-ccc/CCC/Transform/V20170705/CreateInstanceResponseUnmarshaller.cs
7,626
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DAL; namespace BOL { public class UserBol { //Instanciamos nuestra clase UserDal para poder utilizar sus miembros private UserDal _userDal = new UserDal(); ...
29.945652
135
0.523775
[ "MIT", "Unlicense" ]
Bengis/remoteanywhere
BOL/UserBol.cs
2,763
C#
using System; using System.Windows; using Waves.Core.Services.Interfaces; using Waves.UI.WPF.Controls.Drawing.Behavior; using Microsoft.Xaml.Behaviors; using SkiaSharp.Views.Desktop; using SkiaSharp.Views.WPF; namespace Waves.UI.WPF.Drawing.Engine.Skia.Behavior { /// <summary> /// Paint surface command be...
26.659574
81
0.60016
[ "MIT" ]
ambertape/waves.ui.wpf
sources/Waves.UI.WPF.Drawing.Engine.Skia/Behavior/SkiaPaintBehavior.cs
1,255
C#
using JetBrains.Annotations; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using System; namespace DragonSpark.Application.Hosting.Server.Environment.Development; public sealed class ApplicationConfiguration : IApplicationConfiguration { [Use...
30.482759
172
0.804299
[ "MIT" ]
DragonSpark/Framework
DragonSpark.Application.Hosting.Server.Environment.Development/ApplicationConfiguration.cs
886
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Pty.Net { using System; /// <summary> /// Event arguments that encapsulate data about the pty process exit. /// </summary> p...
29.857143
101
0.607656
[ "MIT" ]
MypowerHD/vs-pty.net
src/Pty.Net/PtyExitedEventArgs.cs
838
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Situator.Data; using Situator.Models; namespace Situator { public class S...
36.824324
134
0.622752
[ "MIT" ]
dominikfoldi/Situator_HackTM2017
Situator/Startup.cs
2,727
C#
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using MS.Core; namespace System.Reflection { public static class __TargetParameterCountException { } }
19.166667
55
0.782609
[ "MIT" ]
RixianOpenTech/RxWrappers
Source/Wrappers/mscorlib/System.Reflection.TargetParameterCountException.cs
230
C#
using System.Linq; using System.Runtime.InteropServices.ComTypes; using RendleLabs.Diagnostics; using Xunit; namespace SplitWatch.UnitTests { public class SplitTests { [Fact] public void DoesChildren() { var a = new SplitTimer("a", false, "", "", 0); ...
22.521739
59
0.492278
[ "MIT" ]
RendleLabs/SplitWatch
test/SplitWatch.UnitTests/SplitTests.cs
518
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. // Changes may cause incorrect behavior and will be lost if the code is // re...
45.802469
1,024
0.639623
[ "MIT" ]
Am018/azure-sdk-for-net
src/SDKs/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated/Models/A2AProtectedManagedDiskDetails.cs
11,130
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // d...
48.442623
139
0.730288
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
Dnn.AdminExperience/Library/Dnn.PersonaBar.Library/Constants.cs
2,958
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace BASE.Core.Avuxi.Respones { public class Rank { public int sights { get; set; } public int beachpark { get; set; } public int historical { get; set; } public int eating { get; set...
26
50
0.571678
[ "MIT" ]
jmserrano-dev/hackathon-travel.wallet
src/BASE.Core/Avuxi/Respones/GetNearbyInfoResponse.cs
1,146
C#
using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Microsoft.WindowsAzure.Storage.Table; using SignalFunc.Models; namespace SignalFunc { public static class...
31.354839
122
0.682099
[ "MIT" ]
msimecek/Signal-Faces
SignalFunc/SignalFunc/Functions/DetectsCheck.cs
972
C#
using TickTrader.Algo.Api; using TickTrader.Algo.Api.Indicators; using TickTrader.Algo.Indicators.Utility; namespace TickTrader.Algo.Indicators.Oscillators.BullsPower { [Indicator(Category = "Oscillators", DisplayName = "Bulls Power", Version = "1.0")] public class BullsPower : Indicator, IBullsPower { ...
31.518519
141
0.633373
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
SoftFx/TTAlgo
src/csharp/api/TickTrader.Algo.Indicators/Oscillators/BullsPower/BullsPower.cs
1,704
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WSIP.RMS; namespace WSIP { public partial class Recipe { public bool RecipeGet(RecipeEntity recipe) { throw new NotImplementedException(); ...
18.555556
51
0.634731
[ "MIT" ]
miracleshih/SmartIoTPlatform
WSIP/WSIP/RMS/RecipeGet.cs
336
C#
using System.Security.Principal; namespace Microsoft.Extensions.DependencyInjection { public static class ServiceCollectionExtensions { public static IServiceCollection AddIdentityServices(this IServiceCollection services) { //Temporary return services.AddScoped<IPrinci...
27.157895
94
0.620155
[ "MIT" ]
sweepator/next
src/abstractions/Next.Abstractions.Security/Extensions/ServiceCollectionExtensions.cs
518
C#
using System; using System.Collections.Generic; namespace Microsoft.ML.Samples.Dynamic { public static class FastTreeRegression { // This example requires installation of additional nuget package <a href="https://www.nuget.org/packages/Microsoft.ML.FastTree/">Microsoft.ML.FastTree</a>. public ...
49.804878
186
0.5524
[ "MIT" ]
calcbench/machinelearning
docs/samples/Microsoft.ML.Samples/Dynamic/FastTreeRegression.cs
2,044
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.Linq; using System.Threading; using System.Threading.Tasks; using Roslyn.Test.Utilities; using Xunit; ...
33.589744
156
0.622328
[ "MIT" ]
06needhamt/roslyn
src/Features/LanguageServer/ProtocolUnitTests/References/FindAllReferencesHandlerTests.cs
5,242
C#
using System.Collections.Generic; using UnityEngine; using FairyGUI.Utils; namespace FairyGUI { class GearLookValue { public float alpha; public float rotation; public bool grayed; public bool touchable; public GearLookValue(float alpha, float rotation, bo...
33.836601
157
0.493529
[ "MIT" ]
1901/FairyGUI-unity
Assets/Scripts/UI/Gears/GearLook.cs
5,179
C#
using DAL.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace DAL.Core.Interfaces { public interface IExamManager : IManager<Exam> { Task<List<Exam>> GetAllExamsAsync(); Task<List<Exam>> GetExamsForCategoryAsync(int categoryId); ...
21.823529
66
0.71159
[ "MIT" ]
michalfalat/skillPortal
src/DAL/Core/Interfaces/IExamManager.cs
373
C#
using AspNetCore.Identity.Mongo.Model; namespace Ianitor.Osp.Backend.Persistence.SystemEntities { [CollectionName("IdentityRoles")] public class OspRole : MongoRole { } }
16.454545
56
0.762431
[ "MIT" ]
ianitor/ObjectServicePlatform
Osp/Backend/Ianitor.Osp.Backend.Persistence/SystemEntities/OspRole.cs
181
C#
// Decompiled with JetBrains decompiler // Type: Functal.FnFunction_Max_Double // Assembly: Functal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 47DC2DAE-D56F-4FC5-A0C3-CC69F2DF9A1F // Assembly location: \\WSE\Folder Redirection\JP\Downloads\Functal-1_0_0\Functal.dll using System; namespace Functa...
24.916667
85
0.719064
[ "MIT" ]
jpdillingham/Functal
src/FnFunction_Max_Double.cs
600
C#
using OpenBots.Core.Attributes.PropertyAttributes; using OpenBots.Core.Command; using OpenBots.Core.Interfaces; using OpenBots.Core.Properties; using OpenBots.Core.User32; using OpenBots.Core.Utilities.CommonUtilities; using System; using System.Collections.Generic; using System.ComponentModel; using System.Component...
33.887097
125
0.690148
[ "MIT" ]
OpenBotsAI/OpenBots.Studio
OpenBots.Commands/OpenBots.Commands.Core/OpenBots.Commands.Misc/GetClipboardTextCommand.cs
2,103
C#
namespace SmartHomeWWW.Server.Config { public record TelegramConfig { public string ApiKey { get; set; } = string.Empty; public long OwnerId { get; set; } } }
20.888889
58
0.62234
[ "MIT" ]
GreenOlvi/smart-home-www
Server/Config/TelegramConfig.cs
190
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Dds.V3.Model { /// <summary> /// Response Object /// </summary> public...
26.407895
78
0.510214
[ "Apache-2.0" ]
Huaweicloud-SDK/huaweicloud-sdk-net-v3
Services/Dds/V3/Model/ResizeInstanceVolumeResponse.cs
2,015
C#
using System.Collections.Generic; using System.Text.Json.Serialization; using Essensoft.Paylink.Alipay.Domain; namespace Essensoft.Paylink.Alipay.Response { /// <summary> /// AlipayCommerceCityfacilitatorVoucherBatchqueryResponse. /// </summary> public class AlipayCommerceCityfacilitatorVoucherBatchqu...
27.842105
88
0.691871
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Response/AlipayCommerceCityfacilitatorVoucherBatchqueryResponse.cs
551
C#
using System; using XLogger.Configuration; using XLogger.Configuration.MethodsConfiguration; namespace XLogger.LogMethods { public class ConsoleLogMethod : ILogMethod { protected static readonly object Sync = new object(); public ConsoleLogMethodConfiguration Config { get; set; } public ConsoleLogMethod() :...
30.487179
131
0.780488
[ "MIT" ]
JaleChaki/XLogger
Src/XLogger/LogMethods/ConsoleLogMethod.cs
1,191
C#
/****************************************************************************** * Spine Runtimes License Agreement * Last updated January 1, 2020. Replaces all prior versions. * * Copyright (c) 2013-2020, Esoteric Software LLC * * Integration of the Spine Runtimes into software or otherwise creating * der...
39.426471
95
0.704961
[ "MIT" ]
exAntares/GameJam280521
Assets/Plugins/com.esotericsoftware.spine.timeline-3.8 2/Runtime/SpineAnimationState/SpineAnimationStateBehaviour.cs
2,681
C#
// Copyright © 2017 SOFTINUX. All rights reserved. // Licensed under the MIT License, Version 2.0. See LICENSE file in the project root for license information. using Infrastructure.Interfaces; namespace Infrastructure.Extensions { public static class TypeExtensions { /// <summary> /// Return ...
33.904762
109
0.668539
[ "MIT" ]
YodasMyDad/Base
Infrastructure/Extensions/TypeExtensions.cs
713
C#
namespace Blauhaus.TestHelpers.MockBuilders { public class MockBuilder<TMock> : BaseMockBuilder<MockBuilder<TMock>, TMock> where TMock : class { } }
24.285714
100
0.694118
[ "MIT" ]
BlauhausTechnology/Blauhaus.TestHelpers
src/Blauhaus.TestHelpers/MockBuilders/MockBuilder.cs
172
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.Linq; using Mono.Cecil; using Mono.Linker.Tests.Extensions; using Mon...
31.159574
173
0.720382
[ "MIT" ]
Youssef1313/linker
test/Mono.Linker.Tests/Tests/TestFrameworkRulesAndConventions.cs
2,929
C#
using System.Collections.Generic; using Appysights.Enums; using Appysights.Models; using Appysights.Services; using Caliburn.Micro; namespace Appysights.ViewModels { public class SettingsViewModel : PropertyChangedBase { #region Fields private ThemeService _themeService; private Confi...
24.641304
136
0.59109
[ "MIT" ]
C1rdec/App-Lurker
src/Appysights/ViewModels/SettingsViewModel.cs
2,269
C#
using CommonUtils; using System; using System.Data; namespace BusinessLogic { public class BASE_MOULDINFODto { public long? MouldCode { get; set; } public string ProjectName { get; set; } public string LeftPartCode { get; set; } public string LeftPartName { get; set; } p...
23.037037
49
0.57074
[ "MIT" ]
muzeyc/MuzeyWebForNetCore
src/MuzeyAngular.Application/BusinessLogic/Dto/BASE_MOULDINFODto.cs
624
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kunukn.XmlVisual.Core.Extensions; using Kunukn.XmlVisual.Core.SvgBuilder; namespace Kunukn.XmlVisual.Core.Entities { public class Element : IComparable { // Metadata public int Id { get; private set; } ...
32.123457
128
0.456764
[ "BSD-3-Clause" ]
kunukn/xml-visual
src/webforms/Core/Entities/Element.cs
5,206
C#
// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗ // ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝ // ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗ // ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝ // ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗ // ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ // -----------...
26.374086
161
0.636989
[ "Apache-2.0" ]
bdchris/elasticsearch-net
src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Cat.cs
40,139
C#
using System; using System.Collections; using System.Data; using System.Text.RegularExpressions; using CMS.Base; using CMS.DocumentEngine; using CMS.FormEngine; using CMS.FormEngine.Web.UI; using CMS.Helpers; using CMS.Localization; using CMS.Membership; using CMS.PortalEngine; using CMS.PortalEngine.Web...
36
214
0.518845
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSModules/PortalEngine/Controls/WebParts/WebPartZoneProperties.ascx.cs
17,354
C#
using RV32_Register; using RV32_Register.Constants; using System; namespace RV32_Alu { /// <summary>32bit長バイナリ形式</summary> using Binary32 = UInt32; /// <summary> /// Risc-V RV32I 単精度浮動小数点命令セット 算術論理演算命令を実行するFPU /// </summary> public class RV32_SingleFpu : RV32_AbstractCalculator { in...
37.785177
138
0.538035
[ "BSD-3-Clause" ]
roy-n-roy/rv32Emulator
RV32_Alu/RV32_SingleFpu.cs
39,924
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace DesignPatterns.Command { public class Client : MonoBehaviour { private RemoteControlDevice m_RadioReceiver; private RemoteControlDevice m_TelevisionReceiver; private RemoteControlDevice[] m_Devices = new RemoteControlDevice[2...
21.755102
70
0.746717
[ "Apache-2.0" ]
japerales/codelearnstuff
Assets/Design Patterns/Structurals/Command/Client.cs
1,068
C#
namespace VaporStore.DataProcessor { using System; using System.Globalization; using System.Linq; using Data; using Newtonsoft.Json; using SoftJail.DataProcessor; using VaporStore.DataProcessor.Dto.Export; public static class Serializer { public static string ExportGamesByG...
38.304878
101
0.430436
[ "MIT" ]
HNochev/SoftUni-CSharp-Software-Engineering
MS SQL and Entity Framework/Entity Framework Core/Exam - Preparation/2020.08.14/VaporStore/DataProcessor/Serializer.cs
3,143
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GIPC; using log4net.Config; using TestRunner; using Xappy.Common; n...
32.768421
143
0.498554
[ "BSD-2-Clause" ]
fluffynuts/xappy
source/Xappy/TestRunnerMarshal.cs
6,228
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("4.P...
37.567568
84
0.746043
[ "MIT" ]
shopOFF/Telerik-Academy-Courses
CSharpPractice/4.PeshoCode/Properties/AssemblyInfo.cs
1,393
C#
namespace keepnotes_api.Models.Db { public interface IKeepNotesDatabaseSettings { string UsersCollectionName { get; set; } string NotesCollectionName { get; set; } string ConnectionString { get; set; } string DatabaseName { get; set; } } }
28.7
49
0.644599
[ "MIT" ]
josedr120/keepnotes-api
Models/Db/IKeepNotesDatabaseSettings.cs
287
C#
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.Azure.Devices.Edge.Hub.Core.Test.Storage { using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Devices.Edge.Hub.Core.Storage; using ...
43.551136
208
0.557926
[ "MIT" ]
CIPop/iotedge
edge-hub/test/Microsoft.Azure.Devices.Edge.Hub.Core.Test/storage/MessageStoreTest.cs
15,330
C#
using System.Collections.Generic; using System.Text.Json.Serialization; namespace CarbonSDK.Rest.Responses { public class AllValidatorsResponse : List<AllValidatorsResponse.ValidatorItem> { public class ValidatorItem { public string OperatorAddress { get; set; } public ...
33.45
82
0.577479
[ "Apache-2.0" ]
blocksentinel/carbon-dotnet-sdk
src/Rest/Responses/AllValidatorsResponse.cs
2,009
C#
#region S# License /****************************************************************************************** NOTICE!!! This program and source code is owned and licensed by StockSharp, LLC, www.stocksharp.com Viewing or use of this code requires your acceptance of the license agreement found at https://github.com/St...
27.076923
137
0.686012
[ "Apache-2.0" ]
1M15M3/StockSharp
Messages/PositionChangeMessage.cs
7,393
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using Plang.Compiler.Backend.ASTExt; using Plang.Compiler.TypeChecker; using Plang.Compiler.TypeChecker.AST; using Plang.Compiler.TypeChecker.AST.Declarations; using Plang.Compiler.TypeChecker.AST.Expressions; ...
58.825493
203
0.54393
[ "MIT" ]
aman-goel/P
Src/PCompiler/CompilerCore/Backend/Symbolic/TransformASTPass.cs
38,766
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using OrchardCore.ContentManagement.Display.ContentDisplay; using OrchardCore.ContentM...
42.679012
179
0.569858
[ "BSD-3-Clause" ]
CityofSantaMonica/OrchardCore
src/OrchardCore.Modules/OrchardCore.Media/Drivers/MediaFieldDriver.cs
6,914
C#
using System; using System.Diagnostics; using System.Collections.Generic; using System.Linq; namespace UF.Profiling { public static class Profiler { static profiler() { Stopwatch = new Stopwatch(); EnabledBuckets = new List<string>(); ActiveTimers = new Stack<ActiveTimer...
31.772277
92
0.444998
[ "MIT" ]
InternalRBLX/UltimateFootball
UF.Profiling/Profiler.cs
3,209
C#
using Omu.ValueInjecter; using System.Web.Profile; namespace Lightweight.Web.Mappings { public class ProfileBaseInjection : KnownTargetValueInjection<ProfileBase> { protected override void Inject(object source, ref ProfileBase target) { foreach (var prop in source.GetInfos()) ...
29.071429
78
0.68059
[ "MIT" ]
noir2501/lightweight
src/Lightweight.Web/Mappings/UserProfileInjections.cs
409
C#
using UnityEngine; using System; using System.Collections; [Serializable] public struct CellInfo { public Sprite sprite; }
13.8
26
0.717391
[ "MIT" ]
TannerPR/LPGJ4
Alexandria Is Burning/Assets/Scripts/CellInfo.cs
140
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.IO; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Jso...
40.775665
421
0.549608
[ "Apache-2.0" ]
AvePoint/cloud-governance-client
csharp-netstandard/src/Cloud.Governance.Client/Model/GuestUserPropertyModel.cs
10,724
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Food motion - rotates the object around the Y axis. /// </summary> public class FoodMotion : MonoBehaviour { float speed = 20f; void Update() { transform.Rotate(Vector3.down, Time.deltaTime * speed * ...
19.529412
67
0.671687
[ "Apache-2.0" ]
TejusWadbudhe/Snake-Game---VAM-Club
Assets/Codelab/Scripts/FoodMotion.cs
334
C#
using Blitz.RabbitMq.Library.Libs; using Blitz.RabbitMq.Library.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using RabbitMQ.Client; using RabbitMQ.Client.Events; using System; using System.Collections.Generic; using System.Text; namespace Blitz.RabbitMq....
40.5
237
0.590322
[ "MIT" ]
BlitzkriegSoftware/queues-reliability
Blitz.RabbitMq.Library/RabbitMQClient.cs
7,049
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum ResampleType { Linear, Lanczos, FSRLanczos, }; public class SignalCommonDef : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once ...
14.269231
52
0.630728
[ "MIT" ]
ouerkakaChango/UnityRayTraceGitee
TestRayTrace/Assets/Scripts/Signal/SignalCommonDef.cs
371
C#
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System.Web.Mvc; namespace Site.Areas.Forums { public class ForumsAreaRegistration : AreaRegistration { public override string AreaName { get {...
19.409091
94
0.740047
[ "MIT" ]
Adoxio/xRM-Portals-Community-Edition
Samples/MasterPortal/Areas/Forums/ForumsAreaRegistration.cs
427
C#
namespace Weather.Common.Models; public readonly record struct TemperatureDetails( Temperature Temperature, Temperature? FeelsLike, Temperature? TemperatureLow, Temperature? TemperatureHigh, double Pressure, double Humidity);
27.777778
49
0.772
[ "MIT" ]
JerrettDavis/weather-cli
src/Weather/Common/Models/TemperatureDetails.cs
250
C#
// /* // Copyright 2008-2011 Alex Robson // // 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 o...
30.923077
78
0.651741
[ "Apache-2.0" ]
code-attic/Symbiote
src/Symbiote.Redis/Impl/Command/GetCommand.cs
1,208
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("Dr...
37.702703
84
0.743369
[ "MIT" ]
AliSharafi/dropio_api_csharp
Dropio.Core/Properties/AssemblyInfo.cs
1,398
C#
using System.Reflection; using System.Security; [assembly: AssemblyProduct("Common Logging Framework Event Tracing for Windows Logger Adapter")] [assembly: SecurityTransparent]
29.833333
96
0.821229
[ "Apache-2.0" ]
Defee/common-logging
src/Common.Logging.ETWLogger/AssemblyInfo.cs
181
C#
using System.Collections.Generic; using XiaoLin.VNADS.Roles.Dto; namespace XiaoLin.VNADS.Web.Models.Common { public interface IPermissionsEditViewModel { List<FlatPermissionDto> Permissions { get; set; } } }
22.9
57
0.733624
[ "MIT" ]
hunghv/Xiaolin.VNADS
aspnet-core/src/XiaoLin.VNADS.Web.Mvc/Models/Common/IPermissionsEditViewModel.cs
231
C#
using Microsoft.Practices.Unity; using System.Collections.Generic; using System.Linq; using System.Web.Http; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace BlogBackendService.App_Start { public class WebApiUnityActionFilterProvider : ActionDescriptorFilterProvider, IFilterProvider ...
36.536585
153
0.698264
[ "MIT" ]
QuinntyneBrown/blog-backend-service
BlogBackendService/App_Start/WebApiUnityActionFilterProvider.cs
1,498
C#
namespace mdoc.Test.SampleClasses { public struct SomeStruct { public int IntMember; public static int StaticMember; public TestClass TestClassMember; } }
21.222222
41
0.664921
[ "MIT" ]
JeffABC/api-doc-tools
mdoc/mdoc.Test/SampleClasses/SomeStruct.cs
193
C#
namespace _10.Tuple { public class Tuple<T, U, V> { private T item1; private U item2; private V item3; public Tuple(T item1, U item2, V item3) { this.Item1 = item1; this.Item2 = item2; this.Item3 = item3; } pu...
24.892857
81
0.499283
[ "MIT" ]
nikolaydechev/CSharp-OOP-Advanced
02 Generics/10. Tuple/Tuple.cs
699
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using vdo.trias; using DateTime = System.DateTime; namespace DerMistkaefer.DvbLive.TriasCommunication.Data { /// <summary> /// Response Structure for an Stop Event Request /// </summary> public class StopEve...
34.594262
247
0.600047
[ "MIT" ]
DerMistkaefer/dvb-live
backend/TriasCommunication/Data/StopEventResponse.cs
8,443
C#
using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Metadata; using Microsoft.Xrm.Sdk.Query; using Microsoft.Xrm.Tooling.Connector; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; names...
43.376506
149
0.611208
[ "MIT" ]
Antrodfr/PowerApps-Samples
cds/orgsvc/C#/SolutionDependencies/SolutionDependencies/SampleMethods.cs
14,403
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...
60.220339
315
0.783563
[ "Apache-2.0" ]
playstudios/aws-sdk-net
sdk/src/Services/AccessAnalyzer/Properties/AssemblyInfo.cs
3,553
C#
using MediatR; using OctopusSubscriptionHandler.Core.Models.Octopus; namespace OctopusSubscriptionHandler.Core.Messages { public class NewOctopusSubscriptionEventReceived : INotification { public OctopusSubscriptionEvent SubscriptionEventEvent { get; } public NewOctopusSubscriptionEventReceive...
30.6
99
0.766885
[ "MIT" ]
pmcilreavy/OctopusSubscriptionHandlerAzureFunction
OctopusSubscriptionHandler.Core/Messages/NewOctopusSubscriptionEventReceived.cs
459
C#
using System.Collections.Generic; namespace Eon.Collections { public static class QueueUtilities { public static IReadOnlyList<T> TryDequeueAll<T>(this Queue<T> queue) { queue.EnsureNotNull(nameof(queue)); // if (queue.Count > 0) { var array = new T[ queue.Count ]; queue.CopyTo(array: array, arr...
25.463415
83
0.657088
[ "MIT" ]
vitalik-mironov/eon-lib
src/eon-lib.core.level-1/Collections/QueueUtilities.cs
1,046
C#
using System; using System.Text; namespace Tiandao.ComponentModel { /// <summary> /// 指定属性 (Property) 或事件的说明。 /// </summary> [AttributeUsage(AttributeTargets.All)] public class DescriptionAttribute : Attribute { #region 静态常量 public static readonly DescriptionAttribute Default = new DescriptionAttribute(); ...
14.529412
83
0.680162
[ "MIT" ]
jonfee/Tiandao.CoreLibrary
src/Tiandao.CoreLibrary/ComponentModel/DescriptionAttribute.cs
1,307
C#
using System.Collections.Generic; namespace Aska.Core.EntityStorage.Abstractions { public interface IPagedEnumerable<out T> : IEnumerable<T> { long TotalCount { get; } } }
21.444444
61
0.699482
[ "MIT" ]
felements/aska.core
src/Aska.Core.EntityStorage.Abstractions/src/IPagedEnumerable.cs
195
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.935484
151
0.588181
[ "MIT" ]
AungWinnHtut/POL
C#/2020052801HGCS-1 HelloWorld/Properties/Settings.Designer.cs
1,085
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...
40.72973
85
0.734572
[ "Unlicense", "MIT" ]
peterbucher/silkveil
silkveil.net EBC Prototype by Golo/silkveil.net.Flow.StreamMerger.Contracts/Properties/AssemblyInfo.cs
1,510
C#
using System; using System.Collections.Generic; namespace Karoterra.AupDotNet.ExEdit.Effects { /// <summary> /// シーンチェンジ /// </summary> /// <remarks> /// <list type="table"> /// <listheader> /// <term>シーンチェンジの種類</term> /// <description>説明</description> /// </...
31.310559
97
0.438802
[ "MIT" ]
karoterra/AupDotNet
src/AupDotNet/ExEdit/Effects/SceneChangeEffect.cs
6,049
C#
#nullable enable using System; using System.Collections.Generic; using System.Linq; using System.Text; using Uno.Extensions; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml.Markup; using Windows.UI.Xaml.Controls.Primitives; using Uno.Logging; using Uno.UI.Controls; using Uno.Dispo...
28.895652
115
0.756746
[ "Apache-2.0" ]
AnshSSonkhia/uno
src/Uno.UI/UI/Xaml/Controls/CommandBar/CommandBar.cs
9,971
C#
namespace LogViewer { using System; using System.Windows; /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { private void AppStartup(object sender, StartupEventArgs e) { var mw = new MainWindow(); ...
23.636364
66
0.546154
[ "CC0-1.0" ]
aforesti/ncr-LogViewer
LogViewer/Source/App.xaml.cs
522
C#
// ================================================================================================================================= // Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information. // =========================================================...
63.308824
261
0.691289
[ "MIT" ]
RapidField/solid-instruments
src/RapidField.SolidInstruments.Messaging.Autofac.Asb/Extensions/ContainerBuilderExtensions.cs
4,307
C#
using System; using System.Collections.Generic; using System.Windows; using SharpEssentials.Controls.Selectors; using Xunit; namespace SharpEssentials.Tests.Unit.SharpEssentials.Controls.Selectors { public class TypeMapDataTemplateSelectorTests { [Fact] public void Test_ExactMatch() { // Arrange. var te...
22.885057
83
0.690105
[ "Apache-2.0" ]
mthamil/SharpEssentials.Controls
SharpEssentials.Tests.Unit/SharpEssentials.Controls/Selectors/TypeMapDataTemplateSelectorTests.cs
1,993
C#
using Microsoft.Extensions.Hosting; using System; using System.Threading; using System.Threading.Tasks; namespace Aragas.QServer.Hosting { public class QServerHost : IHost, IEnvironmentSetup { public static QServerHost Default => new QServerHost(); public static IHostBuilder CreateDefaultBui...
26.492754
96
0.567287
[ "MIT" ]
Aragas/Aragas.QServer.Hosting
QServerHost.cs
1,830
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Turbo.Cache; using Turbo.Cache.Info; using Turbo.Construction; using Turbo.DI; using Turbo.Metadata; using Turbo.Metadata.Yaml; using Turbo.UnitTests.Stubs.WebDriver.Null; namespace Turbo.UnitTests.Construction.Test.Pages { [TestClass] publ...
27.5
68
0.562032
[ "Unlicense" ]
mikalai-kardash/Turbo
src/Turbo.UnitTests/Construction/Test/Pages/PageTestBase.cs
1,872
C#
using System.Collections.Generic; using System.Linq; using Cake.Core.IO; using Newtonsoft.Json; using Rocket.Surgery.Cake.Internal; namespace Rocket.Surgery.Cake.TfsTasks { /// <summary> /// ReportCodeCoverageOptions. /// </summary> public class ReportCodeCoverageOptions { /// <summary> ...
31.465116
87
0.614191
[ "MIT" ]
RocketSurgeonsGuild/Cake
src/Cake/TfsTasks/ReportCodeCoverageOptions.cs
1,353
C#
/* MIT License Copyright(c) 2014-2018 Infragistics, 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 rights to u...
60.376147
192
0.7938
[ "MIT" ]
IG-JM/BreakingChangesDetector
BreakingChangesDetector.UnitTests/BreakingChangesTests/ChangedClassToStaticTests.cs
6,583
C#
#region Copyright & License /* Copyright (c) 2022, Integrated Solutions, 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, t...
62.233333
754
0.810927
[ "BSD-3-Clause" ]
ISI-Extensions/ISI.Extensions
src/ISI.Extensions/Documents/IDocumentDataSourceRoot.cs
1,867
C#
using System; using System.Web.UI.WebControls; using CMS.Base.Web.UI; using CMS.Helpers; using CMS.UIControls; public partial class CMSModules_Content_Controls_Dialogs_YouTube_YouTubeSizes : CMSUserControl { #region "Variables" private int mMaxSideSize = 60; private string mOnSelectedItemClick = ""; ...
24.027211
108
0.494337
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/Content/Controls/Dialogs/YouTube/YouTubeSizes.ascx.cs
3,534
C#
using SFA.DAS.Payments.AcceptanceTests.Assertions.DataLockRules; using SFA.DAS.Payments.AcceptanceTests.Contexts; using SFA.DAS.Payments.AcceptanceTests.ResultsDataModels; namespace SFA.DAS.Payments.AcceptanceTests.Assertions { public static class DataLockAssertions { private static readonly D...
29.483871
99
0.600656
[ "MIT" ]
SkillsFundingAgency/das-paymentsacceptancetesting
src/SFA.DAS.Payments.AcceptanceTests/Assertions/DataLockAssertions.cs
916
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...
49.237288
341
0.566609
[ "MIT" ]
AzureMentor/azure-powershell
src/Storage/Storage/File/Cmdlet/CloseAzureStorageFileHandle.cs
14,233
C#
using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using Leger; namespace HyperGraph.VsTests { [TestClass] public class GraphCoreTests { [TestMethod] public void RemoveVertexSimpleGraph() { GraphObjectTypeInfo vertexType ...
40.370968
154
0.622054
[ "BSD-3-Clause" ]
titanix/HyperGraph_Public
HyperGraph.VsTests/GraphCoreTests.cs
2,505
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.818841
184
0.58127
[ "ECL-2.0", "Apache-2.0" ]
EladGabay/pulumi-oci
sdk/dotnet/Functions/GetApplications.cs
4,805
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
36.696629
148
0.558481
[ "MIT" ]
sdrmaps/dotspatial
Source/DotSpatial.Plugins.Legend/Properties/Resources.Designer.cs
3,268
C#