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; class SumIntegers { static void Main() { string numbers = Console.ReadLine(); string[] numbersS = numbers.Split(' '); int sum = 0; for (int i = 0; i < numbersS.Length; i++) { sum += int.Parse(numbersS[i]); } Console.WriteLine(su...
20.6875
49
0.498489
[ "MIT" ]
zachdimitrov/Homework
CSharp-Part-2/05.ClassesAndObjects/08.SumIntegers/SumIntegers.cs
333
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Formatting; using System.Collections.Immutable; using System.Composition; using System.Linq; usin...
46.571429
146
0.705083
[ "Apache-2.0" ]
sqdavid/code-cracker
src/CSharp/CodeCracker/Design/NameOfCodeFixProvider.cs
2,284
C#
//-------------------------------------------------------- // This code is generated by AutoFastGenerator. // You should not modify the code. //-------------------------------------------------------- namespace FlowScriptEngineBasicExtension.FlowSourceObjects.Enumerable { public partial class RangeWithStartIndexF...
28.305556
83
0.452404
[ "Apache-2.0" ]
KHCmaster/PPD
Win/FlowScriptEngineBasicExtension/FlowSourceObjects/Enumerable/RangeWithStartIndexFlowSourceObject.AutoFast.cs
1,021
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Http; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client; using Microsoft.Identity.Client.Instance; usi...
51.007282
145
0.583773
[ "MIT" ]
deisterhold/microsoft-authentication-library-for-dotnet
tests/Microsoft.Identity.Test.Unit.net45/CoreTests/InstanceTests/AadAuthorityTests.cs
21,017
C#
using System; using System.Collections.Specialized; using EPiServer; namespace Forte.EpiResponsivePicture.ResizedImage { public static class UrlBuilderExtensions { public static UrlBuilder Clone(this UrlBuilder builder) { return new UrlBuilder(builder.ToString()); } ...
32.621951
92
0.59028
[ "MIT" ]
fortedigital/EpiResponsivePicture
EpiResponsivePicture/ResizedImage/UrlBuilderExtensions.cs
2,675
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Azure.IoT.ModelsRepository; using Microsoft.Azure.DigitalTwins.Parser; using Microsoft.IoT.ModelsRepository.Extensions; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System...
36.324324
143
0.603423
[ "MIT" ]
Azure/iot-plugandplay-models-tools
clients/dotnet/Microsoft.IoT.ModelsRepository.CommandLine/src/RepoProvider.cs
4,034
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CocontroladorAPI.DTOs { public class TraComprasDTO { public int Idcompra { get; set; } public decimal? PrecioTotal { get; set; } public DateTime? FechaCompra { get; set; } ...
28.15
81
0.671403
[ "MIT" ]
CETI-2020A-8D1/Cocontrolador-Web-API
DTOs/TraComprasDTO.cs
565
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息是通过以下项进行控制的 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("NewMusic")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assemb...
25.805556
56
0.727664
[ "MIT" ]
1305779886/homework42
NewMusic/NewMusic/Properties/AssemblyInfo.cs
1,301
C#
namespace Ange.Application.Room.Queries.GetRoomsList { using System; using MediatR; public class GetRoomListQuery : IRequest<RoomListViewModel> { public string Title { get; set; } public Guid Resident { get; set; } } }
23.181818
63
0.662745
[ "MIT" ]
v4rden/Ange
Ange.Application/Room/Queries/GetRoomsList/GetRoomListQuery.cs
255
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; using Amazon.Lambda.Core; using Amazon.Lambda.TestUtilities; using NorthwindLambda; namespace NorthwindLambda.Tests { public class FunctionTest { [Fact] public void TestToUpperFunctio...
22.931034
82
0.661654
[ "MIT" ]
kejvi-doko/CleanArchitecture
NorthwindLambda.Tests/FunctionTest.cs
665
C#
using UnityEngine; public class WorldCursor : MonoBehaviour { private MeshRenderer meshRenderer; // Use this for initialization void Start() { // Grab the mesh renderer that's on the same object as this script. meshRenderer = this.gameObject.GetComponentInChildren<MeshRenderer>(); } // Update is called on...
25.318182
83
0.720826
[ "MIT" ]
kaiomagalhaes/hololens-academy-101
Origami/Assets/Scripts/WorldCursor.cs
1,116
C#
// Unity C# reference source // Copyright (c) Unity Technologies. For terms of use, see // https://unity3d.com/legal/licenses/Unity_Reference_Only_License using System.Collections.Generic; using UnityEditor.IMGUI.Controls; using UnityEditorInternal; using UnityEngine; using UnityEngine.Rendering; namespace UnityEdito...
42.413462
288
0.61562
[ "Unlicense" ]
HelloWindows/AccountBook
client/framework/UnityCsReference-master/Editor/Mono/Inspector/SkinnedMeshRendererEditor.cs
8,822
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Xyz.TForce.MiniCasher.Data.Migrations.Ac...
39.148148
108
0.746452
[ "Apache-2.0" ]
tforcexyz/mini-casher
src/TfxMiniCasher.Data.Migrations/Accounting/npgsql/00000000000001_Initialize.Designer.cs
1,057
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace MasteringEFCore.Performance.Starter.Models { public class Blog { public int Id { get; set; } [Required(ErrorMessage = "...
31.171429
57
0.623281
[ "MIT" ]
PacktPublishing/Mastering-Entity-Framework-Core
Chapter 11/Starter/MasteringEFCore.Performance.Starter/Models/Blog.cs
1,093
C#
namespace BackgroundService.NET.CronHostService; public interface ICronHost { Task ExecuteAsync(CancellationToken cancellationToken); }
23.5
59
0.836879
[ "MIT" ]
Ben757/BackgroundService.NET
BackgroundService.NET/CronHostService/ICronHost.cs
143
C#
// Copyright 2020 New Relic, Inc. All rights reserved. // SPDX-License-Identifier: Apache-2.0 using NewRelic.Agent.Core.Attributes; using NewRelic.Agent.Core.Segments; using NewRelic.Agent.Core.Segments.Tests; using NewRelic.Agent.Core.Wrapper.AgentWrapperApi.Data; using NewRelic.Core; using System; using System.Colle...
45.191176
550
0.70135
[ "Apache-2.0" ]
JoshuaColeman/newrelic-dotnet-agent
tests/Agent/UnitTests/Core.UnitTest/Transactions/ImmutableTransactionBuilder.cs
12,292
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OnlineBookStore { public partial class MainWindow : Form { public static Shopp...
40.769231
105
0.560635
[ "MIT" ]
ardasdasdas/OnlineBookStore
OnlineBookStore/OnlineBookStore/MainWindow.cs
11,662
C#
#region License Header /* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
41.222857
174
0.629332
[ "Apache-2.0" ]
Quantler/Core
Quantler.Indicators/CandlestickPatterns/SeparatingLines.cs
7,216
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.301205
150
0.610966
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Network/V20190401/Inputs/AzureFirewallNetworkRuleArgs.cs
2,681
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Cuadrantes.Controllers { [Route("api/[controller]")] public class SeguridadController : Controller { [HttpPost] public string IniciarSesion(string usua...
24.458333
71
0.638842
[ "MIT" ]
adejo2220/WorkshopToolsForAPI
Workshop/Cuadrantes/Cuadrantes/Controllers/SeguridadController.cs
589
C#
using System; using BencodeNET.Exceptions; using BencodeNET.IO; using BencodeNET.Objects; using BencodeNET.Parsing; using FluentAssertions; using NSubstitute; using NSubstitute.ExceptionExtensions; using Xunit; namespace BencodeNET.Tests.Parsing { public partial class BDictionaryParserTests { [Theory]...
36.099338
141
0.628875
[ "Unlicense" ]
djon2003/BencodeNET
BencodeNET.Tests/Parsing/BDictionaryParserTests.cs
5,453
C#
namespace PSCredentialManager.Common.Enum { public enum CredType : uint { Generic = 1, DomainPassword = 2, DomainCertificate = 3, DomainVisiblePassword = 4, GenericCertificate = 5, DomainExtended = 6, Maximum = 7, // Maximum supported cred type ...
27.133333
83
0.597052
[ "MIT" ]
davotronic5000/PowerShell_Credential_Manager
PSCredentialManager.Object/Enum/Cred-Type.cs
409
C#
namespace _03.Card_Power { public enum Suit { Clubs, Diamonds = 13, Hearts = 26, Spades = 39 } }
14.4
25
0.465278
[ "MIT" ]
zrusev/SoftUni_2016
06. C# OOP Advanced - July 2017/04. Enums And Attributes/04. Enums And Attributes - Exercise/Exercises Enums and Attributes/03. Card Power/Suit.cs
146
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> //--...
44.722081
438
0.599359
[ "MIT" ]
Microsoft/testfx
src/Adapter/MSTest.CoreAdapter/Resources/Resource.Designer.cs
35,243
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using ZeraSystems.CodeNanite.Expansion; using ZeraSystems.CodeStencil.Contracts; namespace ZeraSystems.DevExtremeAspCore { /// <summary> /// </summary> [Export(typeof(ICodeStencilCodeNanite))] [CodeStencilCodeNanit...
34.964912
78
0.525339
[ "MIT" ]
codetstencil/DevExtremeAspCore
src/DevExtremeAspCore/PopulateModel.cs
1,993
C#
using System.IO; using System.Collections.Generic; using System.Threading; using NetcoreDbgTestCore; namespace NetcoreDbgTestCore.MI { public class MILocalDebuggerClient : DebuggerClient { public MILocalDebuggerClient(StreamWriter input, StreamReader output) : base(ProtocolType.MI) ...
25.850575
77
0.528679
[ "MIT" ]
SunburstApps/netcoredbg
test-suite/NetcoreDbgTest/MI/MILocalDebuggerClient.cs
2,249
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Walking : MonoBehaviour { [SerializeField] private float speed; private bool walkRight = true; // Update is called once per frame void Update() { if(walkRight) this.transform.position = Vec...
38.666667
173
0.679957
[ "MIT" ]
kevincrans/Cupheads
Assets/Enemies/Walking.cs
930
C#
using System.Collections.Generic; using System.Linq; namespace AnyService { public static class WorkContextExtensions { public static T GetFirstParameter<T>(this WorkContext workContext, string parameterName) { return GetParameterByIndex<T>(workContext, parameterName, 0); }...
33.631579
109
0.668232
[ "MIT" ]
saturn72/AnyService
src/AnyService/WorkContextExtensions.cs
641
C#
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
44.571121
122
0.612301
[ "Apache-2.0" ]
ArulMozhiVaradan/google-cloud-dotnet
apis/Google.Cloud.Talent.V4Beta1/Google.Cloud.Talent.V4Beta1.Snippets/CompanyServiceClientSnippets.g.cs
20,681
C#
using System; using UnityEngine; namespace ScreenManager { [Serializable] public class ScreenComponent { public ScreenType Type; public GameObject Root; } }
16.833333
34
0.628713
[ "MIT" ]
CrArher/HakatonFinalClient
Assets/Scripts/ScreenManager/ScreenComponent.cs
204
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Co_nnecto.Controllers { public class HomeController : ApplicationBaseController { public ActionResult Index() { return View(); } public Act...
18.75
68
0.56
[ "MIT" ]
Kleida10/Connecto
Controllers/HomeController.cs
602
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/chromeos/moblab/v1beta1/resources.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collect...
35.866447
413
0.650293
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/chromeos/moblab/v1beta1/google-cloud-chromeos-moblab-v1beta1-csharp/Google.Chromeos.Moblab.V1Beta1/Resources.g.cs
54,517
C#
using Microsoft.Extensions.Options; using Tingle.EventBus.Transports.RabbitMQ; namespace Microsoft.Extensions.DependencyInjection; /// <summary> /// Extension methods on <see cref="EventBusBuilder"/> for RabbitMQ. /// </summary> public static class EventBusBuilderExtensions { /// <summary> /// Add RabbitMQ a...
34.558824
128
0.714043
[ "MIT" ]
BarryCao-2009/eventbus
src/Tingle.EventBus.Transports.RabbitMQ/EventBusBuilderExtensions.cs
1,177
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using PIM_4_PERIODO.View.__Tela_Principal__.Chat; namespace PIM_4_PERIODO.View.__Tela_Principal__.Sac { ...
24.243902
70
0.6167
[ "Apache-2.0" ]
Caiocesar173/PIM_4_Periodo
PIM 4 PERIODO/View/Tela Principal/Sac/Tela_Sac.cs
996
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
35.760417
126
0.617827
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet
TencentCloud/Bmvpc/V20180625/Models/DescribeVpnConnectionsRequest.cs
3,807
C#
using System; namespace OrchardCore.Data.Documents { /// <summary> /// The <see cref="Exception"/> that is thrown if <see cref="IDocumentStore.CommitAsync"/> fails. /// </summary> public class DocumentStoreCommitException : Exception { /// <summary> /// Creates a new instance of <se...
37.2
117
0.632616
[ "BSD-3-Clause" ]
1051324354/OrchardCore
src/OrchardCore/OrchardCore.Data.Abstractions/Documents/DocumentStoreCommitException.cs
1,116
C#
using CMS.DocumentEngine.Types.Generic; using PartialWidgetPage; namespace Generic { public class CustomPartialWidgetRenderingRetriever : IPartialWidgetRenderingRetriever { public ParitalWidgetRendering GetRenderingViewComponent(string ClassName, int DocumentID = 0) { /*if (ClassNa...
30.294118
101
0.535922
[ "MIT" ]
HBSTech/Kentico13CoreBaseline
MVC/MVC/RepositoryLibrary/Implementation/CustomPartialWidgetRenderingRetriever.cs
1,032
C#
#region MigraDoc - Creating Documents on the Fly // // Authors: // Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com) // // Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany) // // http://www.pdfsharp.com // http://www.migradoc.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby ...
29.613445
173
0.608872
[ "MIT" ]
HiraokaHyperTools/PDFsharp
MigraDoc/code/MigraDoc.Rendering/MigraDoc.Rendering.Windows/DocumentPreview.xaml.cs
10,574
C#
// This is a modified version of the code from https://github.com/Flufd/NanoDotNet/blob/master/NanoDotNet/NanoRpcClient.cs using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Newtonsoft.Json.S...
34.546512
171
0.55189
[ "MIT" ]
RestoreMonarchy/Nano.Net
Nano.Net/RpcClient.cs
8,915
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.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Symbols; using Roslyn.Utilities; namespace Microsoft...
39.808219
145
0.571461
[ "MIT" ]
333fred/roslyn
src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_ConditionalAccess.cs
8,720
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace MediaCategorie { static class Program { /// <summary> /// Punto di ingresso principale dell'applicazione. /// </summary> [STAThread] st...
22.565217
65
0.620424
[ "Apache-2.0" ]
LucaMazzei88/CefiCourse
Prova di Esame/MediaCategorie/MediaCategorie/Program.cs
521
C#
using ISAAR.MSolve.LinearAlgebra.Commons; using ISAAR.MSolve.LinearAlgebra.Vectors; namespace ISAAR.MSolve.LinearAlgebra.Matrices.Operators { /// <summary> /// Efficient implementation for permutation matrices, namely matrices that change the order of vector entries, matrix rows /// or matrix columns. ...
45.045455
128
0.597124
[ "Apache-2.0" ]
TheoChristo/MSolve.Bio
ISAAR.MSolve.LinearAlgebra/Matrices/Operators/PermutationMatrix.cs
3,966
C#
namespace Termie { partial class AboutBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> protected over...
55.031915
159
0.642567
[ "Unlicense" ]
EIDOSDATA/Awexome_Ray
SerialCommunication_CS/REF DATA/Termie/AboutBox.Designer.cs
10,346
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.072289
124
0.609151
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Synthetics/Generated/Model/UntagResourceRequest.cs
2,579
C#
using System; using System.Collections.Generic; using System.Linq; public class Engine { private NationsBuilder nation; public Engine() { this.nation = new NationsBuilder(); } public void Run() { var command = Console.ReadLine(); while (command != "Quit") { ...
23.12766
66
0.450782
[ "MIT" ]
NadiaKaradjova/SoftUni
C# OOP Basics/Exam Preparation II/Avatar/Core/Engine.cs
1,089
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1012_09c8-2718019e")] public void Method_1012_09c8() { ii(0x1012_09c8, 5); push(0x24); ...
63.540541
114
0.395151
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1012-09c8.cs
2,351
C#
using Core; using System.Collections.Generic; namespace Action { public interface IActionInfo : IEventDispatcher { ActionType type { get; } ActionState state { get; set; } bool paused { get; set; } float speed { get; set; } float progress { get; set; ...
20.795918
65
0.564279
[ "MIT" ]
SylarLi/ActionEditor
ActionEditor/Assets/Runtime/Action/Core/IActionInfo.cs
1,021
C#
using Altinn.Platform.Register.Models; using System.Threading.Tasks; namespace LocalTest.Services.Register.Interface { /// <summary> /// Interface handling methods for operations related to parties /// </summary> public interface IParties { /// <summary> /// Method that fetches a pa...
33.787879
99
0.617937
[ "BSD-3-Clause" ]
Altinn/altinn-studio
src/development/LocalTest/Services/Register/Interface/IParties.cs
1,115
C#
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
30.372093
98
0.545942
[ "Apache-2.0" ]
rsumner33/PTVS
Release/Product/Python/Profiling/Profiling/AvailableProject.cs
1,308
C#
// <auto-generated /> using System; using FMS.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace FMS.Migrations { [DbContext(typeof(FMSDbContext))] partial class FMSDbContextModelS...
31.571318
103
0.435264
[ "MIT" ]
Watapapz/FMS
aspnet-core/src/FMS.EntityFrameworkCore/Migrations/FMSDbContextModelSnapshot.cs
40,729
C#
using System; using System.IO; using Abp.Reflection.Extensions; namespace demoFirstApp { /// <summary> /// Central point for application version. /// </summary> public class AppVersionHelper { /// <summary> /// Gets current version of the application. /// It's also shown in...
29.62963
166
0.6225
[ "MIT" ]
MatiasDevop/abp-netcore
aspnet-core/src/demoFirstApp.Core/AppVersionHelper.cs
802
C#
using System; using CssUI.DOM.Nodes; namespace CssUI.CSS { /// <summary> /// Represents a styling property which always resolves to an floating point number /// </summary> public class NumberProperty : LengthProperty { #region Value Overrides public new double Actual => base.Actual...
26.956522
138
0.65
[ "MIT" ]
dsisco11/CssUI
CssUI/CSS/Properties/Typed Properties/NumberProperty.cs
622
C#
// using System; // using System.Collections.Generic; // using System.IO; // using System.Text; // using System.Threading; // using System.Threading.Tasks; // namespace JetBlack.MessageBus.Common.IO // { // public static class StreamReadExtensions // { // public static Int32 ReadInt32(this ...
36.823171
134
0.487498
[ "Apache-2.0" ]
rob-blackbourn/scratch-dotnet
JetBlack.MessageBus/JetBlack.MessageBus.Common/IO/StreamReadExtensions.cs
6,041
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 02.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
32.670807
155
0.570722
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/GreaterThan/Complete/NullableDECIMAL_6_1/Int64/TestSet_001__fields__03__NV.cs
5,262
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("EF...
38.189189
84
0.748054
[ "MIT" ]
erhankiyakk/EFaturaGoruntuleyici
EFaturaGoruntuleyici/Properties/AssemblyInfo.cs
1,416
C#
// --- DebugCommands ---------------------------------------------------------- // MIT License // // Copyright (c) 2020 Joel Schroyen // // 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 wi...
34.656977
133
0.604764
[ "MIT" ]
thatnzguy/DebugCommands
Assets/Plugins/DebugCommands/DebugCommands.cs
5,963
C#
using MedicalGroup.Domains; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MedicalGroup.ViewModels { public class PacienteViewModel { public Usuarios Usuario { get; set; } public Pacientes Paciente { get; set; } } }
20.4
47
0.715686
[ "Unlicense" ]
danielroncaglia/Medical-Group
API/MedicalGroup/ViewModels/PacienteViewModel.cs
308
C#
using System; using System.Collections.Generic; using System.Linq; using Telerik.JustDecompiler.Ast; using Telerik.JustDecompiler.Ast.Statements; using Telerik.JustDecompiler.Decompiler; using Telerik.JustDecompiler.Ast.Expressions; using Mono.Cecil.Cil; using Mono.Cecil; namespace Telerik.JustDecompiler.St...
36.689125
167
0.542479
[ "ECL-2.0", "Apache-2.0" ]
GiGatR00n/JustDecompileEngine
Cecil.Decompiler/Steps/RebuildForeachStatements.cs
31,041
C#
using NodaTime; using System; using System.Collections.Generic; using System.Text; namespace SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime.Tests.Models { public class RaceSplit { public int Id { get; set; } public Instant TimeStampInstant { get; set; } public OffsetDateTime ...
23.428571
77
0.703252
[ "MIT" ]
BerkleyInsuranceCompany-APAC/EFCore.SqlServer.NodaTime
src/SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime.Tests/Models/RaceSplit.cs
494
C#
using ClosedXML.Excel; using konito_project.Attributes; using konito_project.Exceptions; using konito_project.Model; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace konito_project.WorkBook { public class TradingWorkBook...
26.785714
78
0.706667
[ "Apache-2.0" ]
GyuCheol/konito_project
src/konito_project/WorkBook/TradingWorkBook.cs
756
C#
namespace WebServer { class OneEnv { public string Key { get; private set; } public string Val { get; private set; } public OneEnv(string key, string val) { Key = key; Val = val; } } }
22.727273
47
0.508
[ "Apache-2.0" ]
JoshuWats/bjd5
WebServer/OneEnv.cs
252
C#
// // Copyright (C) 2010 Novell Inc. http://novell.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, modi...
25.456
145
0.662036
[ "Apache-2.0" ]
dvmarshall/mono
mcs/class/System.Xaml/Test/System.Xaml/XamlXmlReaderTest.cs
15,910
C#
using RockSnifferGui.Common; using RockSnifferGui.Model; using RockSnifferLib.Sniffing; using System.Collections.ObjectModel; using System.Windows.Input; namespace RockSnifferGui.Controls { public class PlayHistoryGridViewModel : GenericViewModel { private ObservableCollection<SongPlayInstance> songPl...
27.462963
112
0.596763
[ "MIT" ]
hunterpankey/RockSnifferGui
Controls/PlayHistoryGridViewModel.cs
1,485
C#
using Guardian.Features.Commands.Impl; using Guardian.Features.Commands.Impl.MasterClient; using Guardian.Features.Commands.Impl.Debug; using Guardian.Features.Commands.Impl.RC; using Guardian.Features.Commands.Impl.RC.MasterClient; namespace Guardian.Features.Commands { class CommandManager : FeatureManager<Comm...
35.244444
109
0.539092
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
suhtiva/guardian
Assembly-CSharp/Guardian/Features/Commands/CommandManager.cs
3,174
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Input; using osu.Game.Beatmaps; using osu.Game.Input.Handlers; using osu....
35.064935
132
0.667778
[ "MIT" ]
jun112561/osu
osu.Game.Rulesets.Osu/UI/DrawableOsuRuleset.cs
2,626
C#
using InvoiceXpress.Json; using System.Text.Json.Serialization; namespace InvoiceXpress.Payloads; /// <summary /> [JsonConverter( typeof( GuideDataPayloadConverter ) )] public class GuideDataPayload { public GuideData Guide { get; set; } = default!; }
21.583333
54
0.752896
[ "MIT" ]
filipetoscano/invoice-express
src/InvoiceXpress/Payloads/GuideDataPayload.cs
261
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // La información general sobre un ensamblado se controla mediante el siguiente // conjunto de atributos. Cambie estos atributos para modificar la información // asociada con un ensamblado. [assembly: Assembl...
42
115
0.7426
[ "MIT" ]
barbosaGonzalez/Juego-de-Laberinto-WII
Laberinto/Properties/AssemblyInfo.cs
1,572
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...
51.660377
228
0.780131
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/CodeStarconnections/Properties/AssemblyInfo.cs
2,738
C#
namespace Coop.Entity.Interface { public interface IAnimal { public bool IsReadyForPregnancy(); public bool IsPregnant(); public int NewBornMaleCount(); public int NewBornFemaleCount(); } }
18.230769
42
0.637131
[ "MIT" ]
kivanckara/Coop-Case
Coop.Entity/Interface/IAnimal.cs
239
C#
// Copyright 2016-2018, Pulumi Corporation using System; using System.Diagnostics.CodeAnalysis; using System.Text.Json; namespace Pulumi { /// <summary> /// <see cref="Config"/> is a bag of related configuration state. Each bag contains any number /// of configuration variables, indexed by simple keys, a...
42.522936
112
0.583819
[ "Apache-2.0" ]
RichardWLaub/pulumi
sdk/dotnet/Pulumi/Config.cs
9,270
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace TattooViewer { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
18.111111
42
0.705521
[ "MIT" ]
MeTaXaS4/TattooViewer
TattooViewer/App.xaml.cs
328
C#
using ExcelMapper.Abstractions; using Xunit; namespace ExcelMapper.Fallbacks.Tests { public class FixedValueFallbackTests { [Theory] [InlineData(null)] [InlineData(1)] [InlineData("value")] public void Ctor_Default(object value) { var fallback = new ...
24.590909
95
0.608133
[ "MIT" ]
joao29a/excel-mapper
tests/ExcelMapper/Fallbacks/FixedValueFallbackTests.cs
543
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...
43.077333
376
0.566423
[ "ECL-2.0", "Apache-2.0" ]
la3mmchen/pulumi-gcp
sdk/dotnet/ServiceAccount/IAMBinding.cs
16,154
C#
using System.Collections; using UnityEngine; using UnityEditor; using UVNF.Core.UI; using UVNF.Extensions; namespace UVNF.Core.Story.Audio { public class BackgroundMusicElement : StoryElement { public override string ElementName => "Background Music"; public override Color32 DisplayColor => _...
32.416667
114
0.671594
[ "MIT" ]
Velorexe/UDSF
Project/Assets/UVNF/Scripts/Core/Story/Elements/Audio/BackgroundMusicElement.cs
1,558
C#
using System; using Serilog; using Microsoft.AspNetCore.Mvc; using Its.Onix.Erp.Models; using Its.Onix.Core.Business; using Its.Onix.Core.Factories; using Its.Onix.Core.Smtp; using Its.Onix.Core.Notifications; using Magnum.Web.Utils; using Magnum.Api.Utils; namespace Magnum.Web.Controllers { [A...
33.880282
134
0.526917
[ "Apache-2.0" ]
joey-customer/magnum-web
MagnumWeb/Magnum/Web/Controllers/ContactUsController.cs
4,813
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace GameSystem { namespace Operator { [AddComponentMenu("|Operator/DontDestroyOnloader")] public class DontDestroyOnloader : MonoBehaviour { #if UNITY_EDITOR [MinsHeader("Dont Destroy Onlo...
23.333333
77
0.630159
[ "Apache-2.0" ]
Minstreams/My-Assets
TheMatrixAsset/Scripts/Operator/DontDestroyOnloader.cs
656
C#
using System.Net; using System.Runtime.Serialization; namespace Syncfusion.Dashboard.Server.Api.Helper.V2.Models { /// <summary> /// Details of Shared DataSources. /// </summary> public class ApiSharedDataSourceResponse { /// <summary> /// Datasource name. /// </summary> ...
20.828571
58
0.51989
[ "MIT" ]
mohamedaslamm/enterpriseserver-dashboardapiclient
Src/API.Helper/V2/Models/ApiSharedDataSourceResponse.cs
731
C#
// Copyright (c) CodesInChaos // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using PacketDotNet; using PacketDotNet.Utils; using SharpPcap; using SharpPcap.WinPcap; //usi...
33.079755
192
0.520215
[ "MIT" ]
sarisia/Tera-custom-cooldowns
TCC.Core/Sniffing/IpSnifferWinPcap.cs
5,394
C#
namespace SIS.WebServer.Results { using HTTP.Enums; using HTTP.Headers; using HTTP.Responses; using System.Text; public class TextResult : HttpResponse { public TextResult(string content, HttpResponseStatusCode responseStatusCode, string contentType = "text/plain; charset=u...
31.814815
84
0.633295
[ "MIT" ]
TihomirIvanovIvanov/SoftUni
C#WebDevelopment/C#-Web-Basics/01HTTPProtocol/SIS/SIS.WebServer/Results/TextResult.cs
861
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...
32.942446
181
0.572832
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/RDS/Generated/Model/ModifyDBSnapshotRequest.cs
4,579
C#
// // System.EnterpriseServices.IRemoteDispatch.cs // // Author: // Tim Coleman (tim@timcoleman.com) // // Copyright (C) Tim Coleman, 2002 // // // 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 ...
31.58
73
0.753642
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.EnterpriseServices/System.EnterpriseServices/IRemoteDispatch.cs
1,579
C#
namespace Spectre.Console; /// <summary> /// A column showing the remaining time of a task. /// </summary> public sealed class RemainingTimeColumn : ProgressColumn { /// <inheritdoc/> protected internal override bool NoWrap => true; /// <summary> /// Gets or sets the style of the remaining time text. ...
26.210526
100
0.590361
[ "MIT" ]
BlackOfWorld/spectre.console
src/Spectre.Console/Live/Progress/Columns/RemainingTimeColumn.cs
996
C#
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Tencent is pleased to support the open source community by making behaviac available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clau...
35.877193
113
0.637164
[ "BSD-3-Clause" ]
chkob/behaviac-old
tools/designer/Plugins/PluginBehaviac/Nodes/Conditions/OperatorCondition.cs
2,045
C#
/******************************************************** * Module Name : * Purpose : * Class Used : MProductBOM * Chronological Development * Raghunandan 18-june-2009 ******************************************************/ using System; using System.Collections; using System.Collections.G...
29.723958
135
0.496934
[ "Apache-2.0" ]
AsimKhan2019/ERP-CMR-DMS
ViennaAdvantageWeb/ModelLibrary/Model/MProductBOM.cs
5,709
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace JoshAaronMiller.INaturalist { [System.Serializable] public class IdentificationCategoryCount : JsonObject<IdentificationCategoryCount> { public string category; public int count; } }
21.857143
86
0.748366
[ "MIT" ]
joshmiller17/iNatUnity
Assets/JoshAaronMiller/INatForUnity/Scripts/JsonObjects/IdentificationCategoryCount.cs
308
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DublettenChecker { public interface IDublette { IEnumerable<string> Dateipfade { get; } IEnumerable<IFileCandidate> Candidates { get; } } }
19.733333
55
0.716216
[ "MIT" ]
huvermann/DublettenChecker
DublettenChecker/IDublette.cs
298
C#
using System.Linq; using System.Windows.Controls; using System.Windows.Input; using Microsoft.VisualStudio.TestTools.UnitTesting; using Utils.NetTests; namespace Utils.Net.Interactivity.Behaviors.Tests { [TestClass] public class TreeViewExtensionBehaviorTests { private TreeView testTreeView; ...
35.197183
145
0.585434
[ "Apache-2.0" ]
hr-kapanakov/Utils.Net
Utils.NetTests/Interactivity/Behaviors/TreeViewExtensionBehaviorTests.cs
2,501
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using PermissionBase.Core.Domain; using Permis...
33.795918
134
0.595411
[ "Apache-2.0" ]
caikelun/PermissionBase
src/Web/Admin/Modules/ModuleMgr/ModuleTypeInfo.aspx.cs
1,682
C#
namespace Boa.Constrictor.Screenplay { /// <summary> /// An executable task that an actor can perform. /// It should do one main thing, and it does not return any value. /// </summary> public interface ITask : IInteraction { /// <summary> /// Performs the task. /// </sum...
26.4375
70
0.576832
[ "Apache-2.0" ]
HyperAutomation/boa-constrictor
Boa.Constrictor/Screenplay/Pattern/ITask.cs
425
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace lm.Comol.Modules.Standard.ProjectManagement.Domain { [Serializable] public class dtoTimeGroup { public TimeGroup TimeLine { get; set; } public long FromTicks { get; set; } public long To...
33.318182
167
0.618008
[ "MIT" ]
EdutechSRL/Adevico
3-Business/3-Modules/lm.Comol.Modules.Standard/ProjectManagement/Domain/List/dtoTimeGroup.cs
735
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DeletePlatform : MonoBehaviour { //when player leaves platfrom, delete platform void OnCollisionExit(Collision other){ if(other.gameObject.CompareTag("Player")){ Destroy(gameObject); } }...
23.071429
50
0.69969
[ "MIT" ]
AdilurChoudhury/My-Unity-Games
JungleEscape/Assets/Scripts/DeletePlatform.cs
325
C#
#if __ANDROID__ || __IOS__ using System; using System.Collections.Generic; using System.Text; using Windows.Foundation; using Windows.UI; using Windows.UI.Core; namespace Windows.UI.ViewManagement { /// <summary> /// Provides methods and properties for interacting with the status bar on a window (app view). /// </...
27.311828
117
0.694882
[ "Apache-2.0" ]
AlexTrepanier/Uno
src/Uno.UWP/UI/ViewManagement/StatusBar/StatusBar.cs
2,542
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Catalog.Entities; namespace Catalog.Repositories { public interface IItemsRepository { Task<IEnumerable<Item>> GetItemsAsync(); Task<Item> GetItemAsync(string name); Task CreateItemAsync(Item item); ...
25.25
48
0.705446
[ "MIT" ]
TechLabs-Dortmund/nutritional-value-determination
backend/Catalog/Repositories/IItemsRepository.cs
406
C#
#region License // Copyright (c) 2020 Raif Atef Wasef // This source file is licensed under the MIT license. // // 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...
39.319149
119
0.592713
[ "MIT" ]
jdunne525/Bgrep
FunkyGrep.UI/Converters/SearchResultItemToXamlConverter.cs
5,546
C#
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Orleans.Clustering.CosmosDB; using Orleans.Configuration; using Orleans.Messaging; using System.Threading.Tasks; using Xunit; namespace Orleans.CosmosDB.Tests { /// <summary> /// Tests for operation of Orleans Membership Table using ...
34.169492
159
0.618056
[ "MIT" ]
Ulriksen/Orleans.CosmosDB
test/Orleans.CosmosDB.Tests/MBTTests.cs
4,032
C#
using System; namespace ProtoBuf.Meta { /// <summary> /// Event arguments needed to perform type-formatting functions; this could be resolving a Type to a string suitable for serialization, or could /// be requesting a Type from a string. If no changes are made, a default implementation will be used (from...
36.920635
148
0.575666
[ "Apache-2.0" ]
Jessecar96/protobuf-net
protobuf-net/Meta/TypeFormatEventArgs.cs
2,328
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: mediapipe/framework/calculator.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; usin...
41.330259
975
0.651898
[ "MIT" ]
MrTrotta2010/clibras-frontend
Packages/com.github.homuler.mediapipe/Runtime/Scripts/Protobuf/Calculator.cs
161,312
C#
using Lucene.Net.Index; using Lucene.Net.Search; using Lucene.Net.Spatial.Prefix.Tree; using Lucene.Net.Util; using Spatial4n.Core.Shapes; using System.IO; namespace Lucene.Net.Spatial.Prefix { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See ...
36.417391
161
0.60936
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net.Spatial/Prefix/IntersectsPrefixTreeFilter.cs
4,188
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("Fi...
37.702703
84
0.744803
[ "BSD-3-Clause" ]
aloisdg/algo
Algo/FisherYates/Properties/AssemblyInfo.cs
1,398
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Test.Utilities; us...
36.162963
161
0.590844
[ "Apache-2.0" ]
20chan/roslyn
src/Compilers/CSharp/Test/Syntax/IncrementalParsing/BinaryExpression.cs
9,766
C#