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.Globalization; using Xamarin.Forms; namespace SmartHotel220.Clients.Core.Converters { /// <inheritdoc /> /// <summary> /// Количество к высоте. Используется для показа отзывов /// </summary> public class CountToHeightConverter : IValueConverter { private cons...
25.28125
103
0.595797
[ "MIT" ]
AlexeyBuryanov/SmartHotel220.Clients
src/SmartHotel220.Clients/Converters/CountToHeightConverter.cs
856
C#
using System; namespace Abstractions { public enum Scope : UInt16 { Block = 0, Public = 1, Internal = 2, Any = 3 } }
13.5
31
0.487654
[ "MIT" ]
paulsalmon-za/microservices-play-ground
Abstractions/Information/Scope.cs
162
C#
// GestorFincas (c) 2005 Baltasar MIT License (baltasarq@gmail.com) using System.Windows.Forms; namespace EstateManager.UI { using System; using System.Drawing; using System.Diagnostics; /// <summary> /// Solo visualiza una ventana con un dibujo mientras se carga la base de datos. /// </summa...
34.08
96
0.640454
[ "MIT" ]
Baltasarq/EstateManager
UI/SplashInit.cs
2,556
C#
using System; namespace Demo.WeatherService { public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } } }
18.75
69
0.61
[ "MIT" ]
emilbolet/weather
Demo.WeatherService/WeatherForecast.cs
300
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
30.142857
89
0.524171
[ "MIT" ]
Avd6977/squidex
src/Squidex.Domain.Apps.Entities/Apps/DefaultAppLogStore.cs
1,057
C#
using System.Xml; namespace D_Parser.Misc { public class CompletionOptions { public static CompletionOptions Instance = new CompletionOptions(); public bool LimitResolutionErrors = !System.Diagnostics.Debugger.IsAttached; public bool DumpResolutionErrors = System.Diagnostics.Debugger.IsAttached; /// <summa...
36.517647
115
0.721972
[ "Apache-2.0" ]
ahmetsait/D_Parser
DParser2/Misc/CompletionOptions.cs
3,106
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; using System.Collections.Generic; nam...
32.032609
163
0.558873
[ "MIT" ]
Alan-love/xenko
sources/shaders/Stride.Core.Shaders/Ast/VariableReferenceExpression.cs
2,947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Properties.Data; using Properties.Models; using Properties.R...
38.286486
131
0.559367
[ "MIT" ]
RockerInt/Properties
Services/Properties/Controllers/OwnersController.cs
7,086
C#
using System; using System.Net.Sockets; using Npgsql; using Com.Latipium.Engine.Data; using Com.Latipium.Engine.Logging; namespace Com.Latipium.Engine { public static class LatipiumEngine { public static void Start(ILatipiumServer server) { Context ctx = null; try { ...
35.678571
102
0.575576
[ "MIT" ]
latipium/engine
Com.Latipium.Engine/LatipiumEngine.cs
999
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using DiabloCms.Entities.Models; using DiabloCms.Models.RequestModel.Categories; using DiabloCms.Models.ResponseModel.Categories; using DiabloCms.MsSql; using DiabloCms.Shared; using DiabloCms.Shared.Cons...
29.727273
98
0.616972
[ "MIT" ]
eldiablo-1226/Diablo-Cms-Ecommerce
DiabloCms.UseCases/Services/Categories/CategoriesService.cs
2,618
C#
 namespace Droplet.CommandLine.Commands; public class CommandBase { protected List<string> Instructions = new(); public async virtual Task GenerateFileAsync(string dir, string fileName, string content, bool cover = false) { if (!Directory.Exists(dir)) { Directory.CreateDirecto...
26.615385
112
0.58237
[ "Apache-2.0" ]
AterDev/ater.cli
src/CommandLine/Commands/CommandBase.cs
700
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("Ti...
37.5
84
0.750588
[ "BSD-3-Clause" ]
Rohanyadav028/Combot
Modules/Timer/Properties/AssemblyInfo.cs
1,278
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...
30.486486
110
0.737589
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/WAFRegional/Generated/Model/DeletePermissionPolicyResponse.cs
1,128
C#
using Lab2.Common; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab2.Automata { public class StateDescription { private Dictionary<SymbolBase, HashSet<StateDescription>> transitions = new Dictionary<SymbolBase, HashSet<St...
33.302326
136
0.572626
[ "MIT" ]
pugachAG/univ
SystemProgramming/Lab2/Lab2/Automata/StateDescription.cs
2,866
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
36.987805
106
0.650841
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/Extensions/Copy/Gallio.Copy/Commands/CopyCommand.cs
3,033
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Reflection.Metadata; using Internal.TypeSystem.Ecma; using ILCompiler.Dataflow; u...
49.727273
158
0.681126
[ "MIT" ]
MichalStrehovsky/iltrim
src/coreclr/tools/ILTrim/ILTrim/DependencyAnalysis/NodeFactory.cs
18,053
C#
using Boa.Constrictor.RestSharp; using FluentAssertions; using Moq; using NUnit.Framework; using RestSharp; using System; using System.Collections.Generic; namespace Boa.Constrictor.UnitTests.RestSharp { [TestFixture] public class RequestDataTest { [Test] public void Init_Basic() {...
37.518987
91
0.585695
[ "Apache-2.0" ]
AngieEuphoria/Boa.Constrictor
Boa.Constrictor.UnitTests/RestSharp/Serialization/RequestDataTest.cs
2,966
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...
49.933735
240
0.582097
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/CloudFormation/Generated/Model/Internal/MarshallTransformations/DeleteStackInstancesRequestMarshaller.cs
8,289
C#
// Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using Microsoft.Data.SqlClient; using System.Linq; using System.Threading.Tasks; using Dapper; using MarginTrading.Backend.Core.Orders; using MarginTrading.Backend.Core.Re...
33.492537
147
0.634135
[ "MIT-0" ]
LykkeBusiness/MT
src/MarginTrading.SqlRepositories/Repositories/OrdersHistoryRepository.cs
2,244
C#
namespace CodeComb.CodeAnalysis.OmniSharp.Models { // [OmniSharpEndpoint(OmnisharpEndpoints.NavigateUp, typeof(NavigateUpRequest), typeof(NavigateResponse))] public class NavigateUpRequest : Request { } }
22.3
110
0.757848
[ "Apache-2.0" ]
CodeComb/CodeComb.CodeAnalysis.OmniSharp
src/CodeComb.CodeAnalysis.OmniSharp/Models/v1/NavigateUpRequest.cs
223
C#
using ApertureLabs.Selenium.Attributes; using OpenQA.Selenium; using OpenQA.Selenium.Support.UI; using System; using System.Collections.Generic; namespace ApertureLabs.Selenium.PageObjects { /// <summary> /// A PageObject whose url has route parameters. /// </summary> /// <seealso cref="ApertureLabs.S...
33.011236
86
0.571477
[ "Apache-2.0" ]
sai09451/ApertureLabs.Selenium
ApertureLabs.Selenium/PageObjects/ParameterPageObject.cs
2,940
C#
/* * Copyright © 2012-2015 VMware, Inc. 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 required by appli...
32.36036
96
0.687918
[ "Apache-2.0" ]
WestCope/lightwave
lwraft/interop/csharp/VmDirInterop/VmDirInterop/SuperLogging/SuperLoggingStructs.cs
3,604
C#
using JT905.Protocol.Extensions; using JT905.Protocol.Interfaces; using JT905.Protocol.MessagePack; using System; using System.Collections.Generic; using System.Text; using System.Text.Json; namespace JT905.Protocol.MessageBody { /// <summary> /// 中心解除报警 /// </summary> public class JT905_0x8B0B : JT90...
21.730769
72
0.672566
[ "MIT" ]
SmallChi/JT905
src/JT905.Protocol/MessageBody/JT905_0x8B0B.cs
603
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xe.Tools.Components.AnimationEditor.Commands { internal interface ICommand { void Execute(); void UnExecute(); } }
18.066667
54
0.712177
[ "MIT" ]
XeEngine/XeTools
Xe.Tools.Components.AnimationEditor/Commands/ICommand.cs
273
C#
using System; using System.Text; using JetBrains.Annotations; namespace fNbt { /// <summary> A tag containing a single byte. </summary> public sealed class NbtByte : NbtTag { /// <summary> Type of this tag (Byte). </summary> public override NbtTagType TagType { get { return NbtTagT...
33.555556
106
0.564419
[ "BSD-3-Clause" ]
fragmer/fNbt
fNbt/Tags/NbtByte.cs
3,324
C#
using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using System.Collections.Generic; using System.IO; using System.Xml; using System.Xml.Serialization; using Newtonsoft.Json; using Excel = Microsoft.Office.Interop.Excel; using System.Linq; namespace W...
32.131579
114
0.525662
[ "Apache-2.0" ]
azagorodskih/csharp_training
addressbook-web-tests/addressbook-web-tests/tests/GroupCreationTests.cs
7,549
C#
using System; using System.Text; using FluentAssertions; using NUnit.Framework; namespace Newbe.ObjectVisitor.Tests { public class LambdaTest { [Test] public void NoExtendObj() { var obj = Yueluo.Create(); var sb = new StringBuilder(); var action = d...
28.378378
94
0.521905
[ "MIT" ]
Memoyu/Newbe.ObjectVisitor
src/Newbe.ObjectVisitor/Newbe.ObjectVisitor.Tests/LambdaTest.cs
1,052
C#
namespace MyUserName.Bll { using System; using System.Collections.Generic; using System.Linq; public class Compute { private static readonly string[] UserNames = { "Hugh", "Pugh", "Barney", "McGrew", "Cuthbert", "Dibble", "Grub" }; public IEnumerable<st...
23
76
0.516522
[ "MIT" ]
klagan/sample-dotnet
src/openapi/MyUserName.Bll/Compute.cs
577
C#
using AonWeb.FluentHttp.Settings; namespace AonWeb.FluentHttp { public interface IAdvancedCacheConfigurable<out TBuilder> : IFluentConfigurable<TBuilder, ICacheSettings> where TBuilder : IAdvancedCacheConfigurable<TBuilder> { } }
26
109
0.746154
[ "MIT" ]
andrewescutia/fluent-http
AonWeb.FluentHttp/IAdvancedCacheConfigurable.cs
262
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Pixicity.Data.Migrations { public partial class addtablecomentarios : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationB...
39.402062
125
0.50157
[ "MIT" ]
NESTicle/pixicity-backend
Pixicity.Data/Migrations/20210801140636_add-table--comentarios.cs
3,824
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace ASP.NET_Core_Email.Models.AccountViewModels { public class RegisterViewModel { [Required] [EmailAddress] [Display(Name = "Email")] ...
31.071429
125
0.654023
[ "MIT" ]
elanderson/ASP.NET-Core-Email
ASP.NET-Core-Email/src/ASP.NET-Core-Email/Models/AccountViewModels/RegisterViewModel.cs
872
C#
/* * Copyright 2020 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 "licens...
34.470588
131
0.666894
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/DeviceFarm/Generated/Model/Internal/MarshallTransformations/NotEligibleExceptionUnmarshaller.cs
2,930
C#
namespace MassTransit.JobService { using System; using System.Threading.Tasks; using Contracts.JobService; using Util; /// <summary> /// Handles the <see cref="SubmitJob{TJob}" /> command /// </summary> /// <typeparam name="TJob">The job type</typeparam> public class SubmitJobConsu...
31.290909
129
0.600232
[ "ECL-2.0", "Apache-2.0" ]
csteeg/MassTransit
src/MassTransit/JobService/JobService/SubmitJobConsumer.cs
1,721
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Serialization; namespace Workday.ResourceManagement { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace...
29.966667
136
0.804783
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.ResourceManagement/Prepaid_Spend_Amortization_ScheduleType.cs
1,798
C#
using System; using Assisticant; namespace Assisticant.StoreApp.ViewModels { public class ContactListNavigationModel { private Person _selectedPerson; #region Observable properties // Generated by Update Controls -------------------------------- private Observable _indSelectedPerson = new Observable(); ...
24.304348
66
0.667263
[ "MIT" ]
robertvazan/Assisticant
StoreApp.ViewModels/ContactListNavigationModel.cs
561
C#
using System.Collections.ObjectModel; namespace PasswordGen.WebApi.Areas.HelpPage.ModelDescriptions { public class ComplexTypeModelDescription : ModelDescription { public ComplexTypeModelDescription() { Properties = new Collection<ParameterDescription>(); } public C...
28
80
0.709184
[ "MIT" ]
magnusbakken/simplepasswordgen
PasswordGen.WebApi/Areas/HelpPage/ModelDescriptions/ComplexTypeModelDescription.cs
392
C#
// ---------------------------------------------------------------------------- // <copyright file="PhotonRigidbody2DView.cs" company="Exit Games GmbH"> // PhotonNetwork Framework for Unity - Copyright (C) 2018 Exit Games GmbH // </copyright> // <summary> // Component to synchronize 2d rigidbodies via PUN. /...
35.711712
166
0.529516
[ "MIT" ]
AdeliaSabirova/gb0122
Assets/Photon/PhotonUnityNetworking/Code/Views/PhotonRigidbody2DView.cs
3,966
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using UnityEditor; using UnityEditorInternal; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities.Editor { [CustomEditor(typeof(SplineDataProvider))] public class SplineDataProviderI...
40.237237
181
0.587507
[ "Apache-2.0" ]
AsWeSee/SeeThrough
Assets/MRTK/Core/Inspectors/Utilities/Lines/DataProviders/SplineDataProviderInspector.cs
13,401
C#
// code adapted from https://github.com/dotnet/command-line-api/blob/166610c56ff732093f0145a2911d4f6c40b786da/src/System.CommandLine.DragonFruit/CommandLine.cs using System; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Binding; using System.CommandLine.Builder; using System.Com...
29.007092
160
0.543032
[ "MIT" ]
paulomorgado/dotnet-try
WasmCodeRunner/CommandLineBuilderExtensions.cs
4,092
C#
namespace Nancy.Tests.Unit.ViewEngines { using FakeItEasy; using Nancy.ViewEngines; using Xunit; public class ViewNotFoundExceptionFixture { [Fact] public void Should_include_both_name_and_extensions_in_message() { // Given var rootPathPr...
33.111111
129
0.572707
[ "MIT" ]
Adalyat/Nancy
src/Nancy.Tests/Unit/ViewEngines/ViewNotFoundExceptionFixture.cs
896
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
31.85
85
0.508634
[ "Apache-2.0" ]
HaloImageEngine/EmpowerClaim-hotfix-1.25.1
EmpowerBusiness/IW_Man_BankClaimsPrintJobs_Result.cs
637
C#
using System.Diagnostics; using Microsoft.EntityFrameworkCore.Metadata.Conventions; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal; namespace Bing.Datas.EntityFramework.Conventions { /// <summary> /// Bing 核心约束集合生成器 /// </summary> public class BingCoreConventionSetBuilder : CoreConv...
34.083333
115
0.679707
[ "MIT" ]
brucehu123/Bing.NetCore
framework/src/Bing.Datas.EntityFramework/Conventions/BingCoreConventionSetBuilder.cs
1,283
C#
using System.Collections.Generic; namespace Minedraft.Services.Contracts { public interface IDraftManager { string RegisterHarvester(List<string> arguments); string RegisterProvider(List<string> arguments); string Day(); string Mode(List<string> arguments); string C...
19.3
57
0.665803
[ "MIT" ]
BlueDress/School
C# OOP Basics/Exams/Exam - 16 July 2017/Minedraft/Services/Contracts/IDraftManager.cs
388
C#
using System; #pragma warning disable CS1591 // Fehledes XML-Kommentar für öffentlich sichtbaren Typ oder Element namespace CenterDevice.Rest.Exceptions { [Serializable] public class InvalidResponseDataException : RestClientException { public InvalidResponseDataException(string message, Exception ...
39.916667
121
0.787056
[ "Apache-2.0" ]
CompuMasterGmbH/CompuMaster.CenterDevice
CenterDevice.Rest/Rest/Exceptions/InvalidResponseDataException.cs
485
C#
// Copyright (c) 2014 Takashi Yoshizawa using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenQA.Selenium; using OpenQA.Selenium.Interactions; using OpenQA.Selenium.Support.UI; using Excel = Microsoft.Office.Interop.Excel; namespace SeleniumExcelAddIn.TestCommands { publ...
21.518987
72
0.524118
[ "Apache-2.0" ]
daluu/seleniumexceladdin
SeleniumExcelAddIn/TestCommands/WindowMaximizeAndWaitCommand.cs
1,702
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
33.190476
153
0.58967
[ "MIT" ]
andrueastman/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IWorkbookFunctionsStDev_SRequest.cs
2,091
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using BusinessLayer; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Exten...
34.835294
106
0.625127
[ "MIT" ]
06012021-dotnet-uta/SekouDossoP0
P2Api/Startup.cs
2,961
C#
// Copyright (c) Josef Pihrt. 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.Collections.Immutable; using System.Linq; using System.Text; using System.Threading; using System...
37.484404
160
0.549072
[ "Apache-2.0" ]
RickeyEstes/Roslynator
src/Formatting.Analyzers.CodeFixes/CSharp/CodeFixHelpers.cs
40,860
C#
using System; using System.Runtime.InteropServices; using System.Security; using Microsoft.VisualStudio.TestTools.UnitTesting; using NativeCodeSharp; namespace NativeCodeSharpTest { /// <summary> /// Test class for <see cref="NativeMethodHandle"/> /// </summary> [TestClass] publi...
53.943966
132
0.334319
[ "MIT" ]
koturn/NativeCodeSharp
NativeCodeSharpTest/NativeMethodHandleTest.cs
12,517
C#
using System.Collections.Generic; using System.Linq; using SmartHome.DomainCore.Data.Models; namespace SmartHome.Web.Models.User { public class UserPermissionsViewModel { public long UserId { get; set; } public IEnumerable<PermissionModel> PermissionOptions { get; set; } = Enumerable.Empty<Perm...
26.235294
114
0.679372
[ "MIT" ]
JanPalasek/smart-home-server
SmartHome.Web/Models/User/UserPermissionsViewModel.cs
446
C#
using System; using Vostok.Logging.File.Helpers; namespace Vostok.Logging.File.Muxers { internal interface IMuxerRegistration : IDisposable { bool IsValid(FilePath against); } }
19.9
55
0.723618
[ "MIT" ]
dragrayraptor/logging.file
Vostok.Logging.File/Muxers/IMuxerRegistration.cs
201
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Weakly { /// <summary> /// A collections which only holds weak references to the items. /// </summary> /// <typeparam name="T">The type of the elements in the collection.</typeparam> public class...
39.430939
321
0.580076
[ "MIT" ]
tibel/Weakly
src/Weakly/Collections/WeakCollection.cs
7,139
C#
using System; namespace AnyConfig { public class SectionInformation { /// <summary> /// Gets or sets a value that indicates whether the associated configuration section will be saved even if it has not been modified. /// </summary> public bool ForceSave { get; set; } /...
41.078261
237
0.618332
[ "MIT" ]
AaronAllBright/AnyConfig
AnyConfig/AnyConfig/SectionInformation.cs
4,726
C#
#nullable enable using System; using Robust.Shared.GameObjects; using Robust.Shared.Serialization; namespace Content.Shared.Ghost.Roles { public abstract class SharedGhostRoleSystem : EntitySystem { } [Serializable, NetSerializable] public class GhostRole { public string Name { get; s...
21.095238
63
0.68623
[ "MIT" ]
Bright0/space-station-14
Content.Shared/Ghost/Roles/SharedGhostRoleSystem.cs
443
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.147059
153
0.630147
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DeviceManagementDeviceShellScriptsCollectionResponse.cs
1,433
C#
using System; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; namespace Mirror.Tests.RemoteAttrributeTest { class TargetRpcBehaviour : NetworkBehaviour { public event Action<int> onSendInt; [TargetRpc] public void SendInt(int someInt) { onSend...
35.718121
205
0.610673
[ "MIT" ]
28raining/Mirror
Assets/Mirror/Tests/Editor/TargetRpcTest.cs
5,322
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TarkOrm.Attributes { public class KeyAttribute : Attribute { public int Order { get; set; } public KeyAttribute() { } public KeyAttribute(int order) {...
16.681818
41
0.618529
[ "Apache-2.0" ]
juniortarcisio/TarkOrm
TarkOrm/Attributes/KeyAttribute.cs
369
C#
using SF.Biz.Payments.DataModels; using SF.Sys.Entities; using System; using System.Linq; using System.Threading.Tasks; namespace SF.Biz.Payments.Managers { public class RefundRecordManager: AutoQueryableEntitySource<ObjectKey<long>, RefundRecordDetail,RefundRecord, RefundRecordQueryArgument,DataModels.Dat...
25.578947
139
0.769547
[ "Apache-2.0" ]
etechi/ServiceFramework
Projects/Server/Biz/SF.Biz.Payments.Implements/Managers/RefundRecordManager.cs
488
C#
using OpenTK; using OpenTK.Graphics; using System; using System.Runtime.InteropServices; namespace Arbatel.Graphics { public static class VertexExtensions { public static Vector3 Rotate(this Vector3 vector, float pitch, float yaw, float roll) { if (pitch < 0.0f) { pitch = Math.Abs(pitch); } else...
25.608974
89
0.68786
[ "MIT" ]
ItEndsWithTens/Arbatel
src/Arbatel.Core/Graphics/Vertex.cs
3,997
C#
/** * The MIT License * Copyright (c) 2016 Population Register Centre (VRK) * * 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 righ...
47.754717
180
0.749506
[ "MIT" ]
MikkoVirenius/ptv-1.7
src/PTV.Database.DataAccess/Translators/GeneralDescription/StatutoryServiceIndustrialClassTranslator.cs
2,533
C#
namespace Gw2Sharp.WebApi.V2.Models { /// <summary> /// A distance skill fact. /// </summary> public class SkillFactDistance : SkillFact { /// <summary> /// The distance. /// </summary> public int Distance { get; set; } } }
20
46
0.528571
[ "MIT" ]
Archomeda/Gw2Sharp
Gw2Sharp/WebApi/V2/Models/Skills/SkillFactDistance.cs
280
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
29.263889
164
0.573802
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
module/ASC.Api/ASC.Specific/ASCCookieAuthorization.cs
2,107
C#
namespace B3dm.Tileset { public static class Comparer { public static bool IsSimilar(double first, double second) { var delta = 0.1; return (second > first - delta) && (second < first + delta); } } }
20.153846
72
0.538168
[ "MIT" ]
Geodan/pg2b3dm
src/b3dm.tileset/Comparer.cs
264
C#
namespace Optivem.Demo.Core.Domain.Customers { public class CustomerHeaderReadModel { public CustomerHeaderReadModel(CustomerIdentity customerId, string firstName, string lastName, int openOrders) { CustomerId = customerId; FirstName = firstName; LastName = l...
25.454545
118
0.621429
[ "MIT" ]
optivem/csharp-serialization-xml
src/Core/Optivem.Demo.Core.Domain/Customers/CustomerHeaderReadModel.cs
562
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...
60.016505
201
0.681898
[ "Apache-2.0" ]
alefranz/aws-sdk-net
sdk/src/Services/Macie2/Generated/_bcl35/IAmazonMacie2.cs
203,636
C#
namespace MyCoolWebServer.Server.Http { using Common; using Contracts; using System; using System.Collections; using System.Collections.Generic; public class HttpCookieCollection : IHttpCookieCollection { private readonly Dictionary<string, HttpCookie> cookies; public Http...
26.813559
92
0.601138
[ "MIT" ]
emrrar/MyCoolWebServer
MyCoolWebServer/Server/Http/HttpCookieCollection.cs
1,584
C#
namespace Divstack.Company.Estimation.Tool.Valuations.Application.Valuations.Commands.SuggestProposal; using MediatR; using Shared.DDD.ValueObjects; internal sealed class SuggestProposalCommandHandler : IRequestHandler<SuggestProposalCommand> { private readonly ICurrentUserService _currentUserService; privat...
41.5
103
0.773494
[ "MIT" ]
kamilbaczek/estimation-tool
Src/Modules/Valuations/Divstack.Company.Estimation.Tool.Valuations.Application/Valuations/Commands/SuggestProposal/SuggestProposalCommandHandler.cs
1,662
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
29.346154
78
0.44692
[ "MIT" ]
BtrJay/squidex
src/Squidex.Domain.Apps.Entities/Contents/GraphQL/Types/Utils/JsonValue.cs
765
C#
using System; using System.Runtime.InteropServices; namespace SkiaSharp { [Obsolete ("The Index8 color type and color table is no longer supported.")] public unsafe class SKColorTable : SKObject, ISKReferenceCounted { public const int MaxLength = 256; [Preserve] internal SKColorTable (IntPtr x, bool owns) ...
21.047619
95
0.662896
[ "MIT" ]
Gitzhangjinyu/SkiaSharp
binding/Binding/SKColorTable.cs
2,212
C#
using System; using System.Diagnostics; using System.Net; using System.Reflection; using log4net; using Newtonsoft.Json; using CKAN.Types; using System.Linq; namespace CKAN { /// <summary> /// CKAN client auto-updating routines. This works in conjunction with the /// auto-update helper to allow users to ...
34.948113
136
0.568093
[ "MIT" ]
RichardLake/CKAN
Core/Net/AutoUpdate.cs
7,411
C#
using ActionsList; using Ship; using System; using Upgrade; namespace Ship { namespace SecondEdition.LambdaClassT4AShuttle { public class LieutenantSai : LambdaClassT4AShuttle { public LieutenantSai() : base() { PilotInfo = new PilotCardInfo( ...
30.360825
147
0.571138
[ "MIT" ]
97saundersj/FlyCasual
Assets/Scripts/Model/Content/SecondEdition/Pilots/LambdaClassT4AShuttle/LieutenantSai.cs
2,947
C#
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * Copyright (c) Swan & The Quaver Team <support@quavergame.com>. */ using System; using System.Collections.Generi...
37.029333
230
0.585626
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Kizuna-dev/QuaverKeymode
Quaver.Shared/Screens/Select/SelectScreenView.cs
13,886
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
48.62
156
0.697038
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Transport/Channels/DefaultEventLoopGroup.cs
9,726
C#
using CompanySales.Repository.DAO; using CompanySales.Repository.Models; using CompanySales.Repository.Parameter; using System; using System.Collections.Generic; using System.Text; namespace CompanySales.Repository.Business { public class ProductBiz { public static List<Product> GetList() { ...
25.904762
78
0.585172
[ "Apache-2.0" ]
imwyw/.net
Src/CompanySales_Speration/CompanySales/CompanySales.Repository/Business/ProductBiz.cs
1,724
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Concurrent; using System.Dynamic; using System.Runtime.CompilerServices; using System.Linq; using System.Text; using Microsoft.CSharp.RuntimeBinder; namespace Sylvester.Data { public class FrameR : DynamicObject, I...
31.511811
122
0.593203
[ "MIT" ]
allisterb/Sylvester
src/Data/Sylvester.DataFrame/FrameR.cs
4,004
C#
using System; using Xunit; using Xunit.Abstractions; namespace Swashbuckle.AspNetCore.SwaggerGen.Test { public class XmlCommentsMemberNameHelperTests { private readonly ITestOutputHelper _output; public XmlCommentsMemberNameHelperTests(ITestOutputHelper output) { _output =...
51.615385
225
0.71897
[ "MIT" ]
matdube/Swashbuckle.AspNetCore
test/Swashbuckle.AspNetCore.SwaggerGen.Test/Annotations/XmlCommentsMemberNameHelperTests.cs
4,699
C#
namespace Zinnia.Data.Type.Transformation { using Malimbe.PropertySerializationAttribute; using Malimbe.XmlDocumentationAttribute; using System; using UnityEngine; using UnityEngine.Events; /// <summary> /// Transforms a <see cref="Vector3"/> by changing its magnitude. /// </summary> ...
37.217391
154
0.617991
[ "MIT" ]
Borck/Zinnia.Unity
Runtime/Data/Type/Transformation/Vector3MagnitudeSetter.cs
1,714
C#
namespace Improving.Highway.Data.Scope.Test.Context.Foos { using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; public class FooMap : EntityTypeConfiguration<Foo> { public FooMap() { ToTable(nameof(Foo)); HasKey(x => x....
30.5
93
0.639344
[ "MIT" ]
improving/Improving.Highway.Data.Scope
Test/Improving.Highway.Data.Scope.Test/Context/Foos/FooMap.cs
488
C#
using Jcompiler.Syntax; using System; namespace Jcompiler.Binding { internal class BoundBinaryOperator { private BoundBinaryOperator(NodeKind nodeKind, BoundBinaryOperatorKind kind, Type type) : this(nodeKind, kind, type, type, type) { } private BoundBinaryOperator(No...
42.163934
132
0.671462
[ "MIT" ]
CozminDev/Jcompiler
src/Jcompiler/Binding/BoundBinaryOperator.cs
2,574
C#
// <auto-generated /> using System; using AlocaGFT.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace AlocaGFT.Migrations { [DbContext(typeof(AlocaGFTD...
36.299827
95
0.445739
[ "MIT" ]
LucasCancio/aloca-gft
AlocaGFT/Data/Migrations/20201103180317_CriandoEntidades.Designer.cs
20,947
C#
using System; namespace Acomp3 { class TailQuickSort : QuickSort { public new void Sort(int[] E, int left, int right) { throw new NotImplementedException(); } } }
16.384615
58
0.56338
[ "MIT" ]
GuilhermeFSV/Acomp3
Acomp3/TailQuickSort.cs
215
C#
using Foundation; namespace HyperlinkDemo; [Register("AppDelegate")] public class AppDelegate : MauiUIApplicationDelegate { protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); }
20.5
75
0.8
[ "MIT" ]
davidbritch/dotnet-maui-samples
UserInterface/HyperlinkDemo/HyperlinkDemo/Platforms/MacCatalyst/AppDelegate.cs
207
C#
using System; using System.Diagnostics; namespace toofz { internal sealed class StopwatchAdapter : IStopwatch { /// <summary> /// Initializes a new <see cref="StopwatchAdapter"/> instance, sets the elapsed time property to zero, and /// starts measuring elapsed time. /// </sum...
32.808824
115
0.593456
[ "MIT" ]
leonard-thieu/toofz-activity-tracing
src/toofz.ActivityTracing/StopwatchAdapter.cs
2,233
C#
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime:4.0.30319.42000 // // Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán...
31.640262
136
0.730834
[ "MIT" ]
matiasdieguez/bonos-independiente
src/BonosCaiApp/BonosCaiApp.Android/Resources/Resource.Designer.cs
188,138
C#
using Microservices.Demo.Core.Commands; namespace Microservices.Demo.ProductService.Messaging.Commands { public class GetProductsCommand : ICommand { public string Token { get; set; } public string ConnectionId { get; set; } } }
23.545455
62
0.698842
[ "MIT" ]
MarioEspositoStabia/microservices-demo
src/Microservices.Demo.ProductService.Messaging/Commands/GetProductsCommand.cs
261
C#
using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree; namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Util { public static class FSharpPatternUtil { [ItemNotNull] public static IEnumerable<IFSharpPattern> GetPartialDeclaration...
26.57971
120
0.637405
[ "Apache-2.0" ]
JetBrains/fsharp-support
ReSharper.FSharp/src/FSharp.Psi/src/Util/FSharpPatternUtil.cs
1,836
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2020 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
37.70297
121
0.625788
[ "Apache-2.0" ]
hnjm/YAFNET
yafsrc/YAF.Core/Extensions/LocalizationSupportExtensions.cs
3,709
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
33.830189
169
0.64696
[ "MIT" ]
WhereIsMyTransport/Pulumi.Crds.CertManager
crd/dotnet/Certmanager/V1Beta1/Inputs/IssuerSpecAcmeSolversDns01AzureDNSArgs.cs
1,793
C#
using System; using System.Collections.Generic; using System.Text; public class ENDCommand : Command { public ENDCommand(string[] data) : base(data) { } public override void Execute() { Environment.Exit(0); } }
14
34
0.705357
[ "MIT" ]
VladimirKyuranov/CSharp-OOP-Advanced
Exercises/Ex04-Reflection/07-InfernoInfinity/Core/Commands/ENDCommand.cs
226
C#
using System.ComponentModel; namespace ImageProcessing.App.DomainLayer.Code.Enums { /// <summary> /// Specifies the definition of luma. /// </summary> public enum Luma { /// <summary> /// ITU-R Recommendation BT.709. /// </summary> [Description("ITUR Recommendation B...
23.707317
52
0.510288
[ "Apache-2.0" ]
Softenraged/Image-Processing
Source/ImageProcessing.App.DomainLayer/Code/Enums/Luma.cs
972
C#
using System; using UniRx; namespace Networking.Messaging { public interface INetworkMessageHandler { /// <summary> /// An <see cref="IObservable{T}"/> stream that can be listened to in order to receive notifications /// of incoming messages. /// </summary> IObservable<Netwo...
37.642857
108
0.6926
[ "Apache-2.0" ]
dcasadevall/tabletop-combat-helper
Assets/Scripts/Networking/Messaging/INetworkMessageHandler.cs
527
C#
using FytSoa.Common; using FytSoa.Core.Model.Sys; using FytSoa.Service.DtoModel; using System.Threading.Tasks; namespace FytSoa.Service.Interfaces { /// <summary> /// 管理员接口 /// </summary> public interface ISysAdminService : IBaseService<SysAdmin> { /// <summary> /// 登录 /// ...
24.844444
72
0.54025
[ "MIT" ]
5653325/FytSoaCms
FytSoa.Service/Interfaces/Sys/ISysAdminService.cs
1,184
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...
32.80916
245
0.601675
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Cdn/V20200901/GetAFDEndpoint.cs
4,298
C#
using Com.Danliris.Service.Packing.Inventory.Application.InventorySKU; using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace Com.Danliris.Service.Packing.Inventory.Test.Services.InventorySKU { public class FormDtoTest { [Fact] public void ...
22.190476
75
0.516094
[ "MIT" ]
AndreaZain/com-danliris-service-packing-inventory
src/Com.Danliris.Service.Packing.Inventory.Test/Services/InventorySKU/FormDtoTest.cs
934
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; namespace tXeDataManager.Results { public class ChallengeResult : IHttpActionResult { public ChallengeResult(string l...
29.121212
96
0.695109
[ "MIT" ]
Redefender/theXeffect
tXeDataManager/Results/ChallengeResult.cs
963
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. All rights reserved. * * This software is subject to the Microsoft Public License (Ms-PL). * A copy of the license can be found in the license.htm file included * in this distribution. * *...
40.224806
108
0.566005
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web.Mvc2/System.Web.Mvc/TypeCacheSerializer.cs
5,191
C#
namespace CardboardKnight.Core.Models.API.Hotness { public class Item : ItemBase { public int? delta { get; set; } public string description { get; set; } public string href { get; set; } public Images images { get; set; } public string imageurl { get; set; } pub...
31.0625
50
0.587525
[ "MIT" ]
TheCardboardKnight/App
CardboardKnight.Core/Models/API/Hotness/Item.cs
499
C#
using System; using System.Threading.Tasks; using AutoFixture; using FluentAssertions; using Newtonsoft.Json; using NUnit.Framework; using ClaimantInformation = AcademyResidentInformationApi.V1.Boundary.Responses.ClaimantInformation; namespace AcademyResidentInformationApi.Tests.V1.E2ETests { [TestFixture] pub...
35.843137
141
0.672867
[ "MIT" ]
LBHackney-IT/academy-resident-information-api
AcademyResidentInformationApi.Tests/V1/E2ETests/GetClaimantInformationById.cs
1,828
C#
/* MIT License Copyright (c) 2018 Binwell https://binwell.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
31.962848
122
0.694886
[ "MIT" ]
digexco/Order-King-Mobile-Core
OrderKingCoreDemo/OrderKingCoreDemo/UI/NavigationService.cs
10,324
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 Xunit; namespace System.Drawing.Printing.Test { public class PrinterResoluti...
30.218182
100
0.615523
[ "MIT" ]
cydhaselton/cfx-android
src/System.Drawing.Common/tests/Printing/PrinterResolutionTest.cs
1,662
C#