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.Resources; using System.Reflection; // 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("PillarDemo")] [assembly: AssemblyDescription("")] [asse...
34.413793
84
0.733467
[ "Apache-2.0" ]
JTOne123/Pillar
demo/PillarDemo/PillarDemo/Properties/AssemblyInfo.cs
1,001
C#
// Generated on 03/23/2022 09:50:14 using System; using System.Collections.Generic; using System.Linq; using AmaknaProxy.API.Protocol.Types; using AmaknaProxy.API.IO; using AmaknaProxy.API.Network; namespace AmaknaProxy.API.Protocol.Messages { public class BasicLatencyStatsMessage : NetworkMessage { ...
25.076923
83
0.582055
[ "MIT" ]
ImNotARobot742/DofusProtocol
DofusProtocol/D2Parser/Protocol/Messages/game/basic/BasicLatencyStatsMessage.cs
1,304
C#
using System; using System.Runtime.InteropServices; using System.Security; namespace BulletSharp { public class Convex2DShape : ConvexShape { private ConvexShape _childShape; public Convex2DShape(ConvexShape convexChildShape) : base(btConvex2dShape_new(convexChildShape._native)) { _childS...
26.964286
91
0.762914
[ "BSD-3-Clause" ]
OneYoungMean/libmmd-for-unity
Assets/LibMmd/Plugins/BulletUnity/BulletSharp/Collision/Convex2DShape.cs
755
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using DefaultDocumentation.Api; using DefaultDocumentation.Markdown.Internal; using DefaultDocumentation.Models; namespace DefaultDocumentation.Markdown.FileNameFactories { /// <summary> /// Base implem...
37.5
217
0.555185
[ "MIT-0" ]
Doraku/DefaultApiDocumentation
source/DefaultDocumentation.Markdown/FileNameFactories/AMarkdownFactory.cs
2,702
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Juice : MonoBehaviour { [SerializeField] MeshRenderer m_JuiceMeshRenderer; const string k_URPListShader = "Universal Render Pipeline/Lit"; public void SetJuiceColor(Color juiceColor) { Material newM...
23.217391
69
0.674157
[ "MIT" ]
DanMillerDev/JuiceMaker
Assets/Scripts/Juice.cs
534
C#
using System.Drawing; using System.Threading; using GHIElectronics.TinyCLR.Devices.Spi; using GHIElectronics.TinyCLR.Drivers.ShijiLighting.APA102C; using GHIElectronics.TinyCLR.Pins; namespace APA102CLedStrip { public static class Program { public static void Main() { var spi1Controller = SpiCo...
31.16129
127
0.541408
[ "Apache-2.0" ]
RoSchmi/TinyCLR-Samples
Old/Components/APA102CLedStrip/Program.cs
966
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...
29.280702
105
0.659676
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/UploadMultipartPartResponse.cs
1,669
C#
using Microsoft.AspNetCore.Mvc; namespace MvcClient.Controllers { public class AuthorizationController: Controller { public IActionResult AccessDenied() { return View(); } } }
19.333333
52
0.607759
[ "MIT" ]
xcodexnet/ASP.NET-Core-REST-API-Starter-Template
src/MvcClient/Controllers/AuthorizationController.cs
232
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...
40.71875
158
0.741366
[ "ECL-2.0", "Apache-2.0" ]
chivandikwa/pulumi-aws
sdk/dotnet/WafV2/Inputs/WebAclRuleStatementRateBasedStatementScopeDownStatementAndStatementGetArgs.cs
1,303
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...
30.137255
107
0.629798
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/DataFactory/V20170901Preview/Outputs/MultiplePipelineTriggerResponse.cs
1,537
C#
using System.Collections.Generic; using HamzaBank.Api.Models; using HamzaBank.Api.Repositories; namespace HamzaBank.Api.Services { public class MenuItemService : IMenuItemService { private readonly IMenuItemRepository _menuItemRepository; public MenuItemService(IMenuItemRepository menuItemRepo...
24.633333
70
0.633288
[ "MIT" ]
hamzaak/hamzabank
backend/Services/MenuItemService.cs
739
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEngine; namespace ReactiveConsole { public interface IHttpRequestSolver { bool Match(HttpRequest request); void Solve(Stream s, HttpSession session, HttpRequest request); } public class OkSol...
26.542289
85
0.535333
[ "MIT" ]
ousttrue/ReactiveConsole
Scripts/Http/HttpRequestSolver.cs
5,335
C#
namespace KrmKantar2013 { partial class FrmYanLiman { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
58.660969
179
0.627829
[ "MIT" ]
hy2015tr/Kantar2013
Forms/FrmYanLiman.Designer.cs
20,596
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using Microsoft.Build.Framework; using Microsoft.NET.TestFramework; using System; using System.Collections; using Syste...
46.751142
289
0.593349
[ "MIT" ]
Nirmal4G/sdk
src/Tasks/Microsoft.NET.Build.Tasks.UnitTests/GivenAResolveTargetingPackAssetsTask.cs
20,479
C#
/* _BEGIN_TEMPLATE_ { "id": "ICC_829t4", "name": [ "检察官怀特迈恩", "Inquisitor Whitemane" ], "text": [ null, null ], "cardClass": "PALADIN", "type": "MINION", "cost": 2, "rarity": null, "set": "ICECROWN", "collectible": null, "dbfId": 45620 } _END_TEMPLATE_ */ namespace HREngine.Bots...
13.851852
37
0.561497
[ "MIT" ]
chi-rei-den/Silverfish
cards/ICECROWN/ICC/Sim_ICC_829t4.cs
388
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...
29.657895
101
0.734694
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/AttachSecurityProfileResponse.cs
1,127
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; using ZeroChaos.TimesheetPOC.IServices; using ZeroChaos.TimesheetPOC.Models.Request.Timesheet; using ZeroChaos.Tim...
40.086124
235
0.596324
[ "MIT" ]
Dhaval8087/TimesheetPOCNew
ZeroChaos.TimesheetPOC/ZeroChaos.TimesheetPOC/ViewModel/Timesheet/DetailTimesheetViewModel.cs
8,380
C#
/////////////////////////////////////////////////////////////// // This is generated code. ////////////////////////////////////////////////////////////// // Code is generated using LLBLGen Pro version: 4.2 // Code is generated using templates: SD.TemplateBindings.SharedTemplates // Templates vendor: Solutions Design....
38.657895
167
0.73179
[ "Apache-2.0" ]
malininja/NinjaSoftware.EnioNg
CoolJ/DatabaseGeneric/RelationClasses/EntityRoRelations.cs
2,940
C#
using System; using FubuCore.Conversion; using NUnit.Framework; namespace FubuCore.Testing.Conversion { [TestFixture] public class TimeSpanConverterTester { [Test] public void happily_converts_timespans_in_4_digit_format() { TimeSpanConverter.GetTimeSpan("123...
26.363636
89
0.631034
[ "Apache-2.0" ]
DovetailSoftware/fubucore
src/FubuCore.Testing/Conversion/TimeSpanConverterTester.cs
580
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Text; using eIVOGo.Helper; using Uxnet.Web.WebUI; using Utility; using Model.Security.MembershipManagement; using Business.Helper; using Model.DataEntity; namespace ...
37.161491
134
0.519639
[ "MIT" ]
uxb2bralph/IFS-EIVO03
eIVOGo/Module/EIVO/RelativeBuyer/ReceiveInvoice.ascx.cs
6,175
C#
namespace EmployeesManagement.Services.Interfaces { using EmployeesManagement.Common.BindingModels; using EmployeesManagement.Common.ViewModels; using EmployeesManagement.Models; using System.Collections.Generic; using System.Threading.Tasks; public interface IEmployeesSecrvice { T...
30.916667
88
0.765499
[ "Apache-2.0" ]
svetliub/Employee-Management
EmployeesManagement.Services/Interfaces/IEmployeesSecrvice.cs
744
C#
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Media; namespace ConfuserEx { public class BrushToColorConverter : IValueConverter { public static readonly BrushToColorConverter Instance = new BrushToColorConverter(); BrushToColorConverter() { } public object Conve...
26.08
99
0.760736
[ "MIT" ]
Deltafox79/ConfuserEx
ConfuserEx/BrushToColorConverter.cs
654
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompa...
28.486486
57
0.739089
[ "MIT" ]
stackprobe/HTT
WHTT/WHTT/Properties/AssemblyInfo.cs
1,578
C#
using System; using System.Collections.Generic; using System.Text; using DotNetCore_BeehooeServer.Infrastructure.Jwt; using DotNetCore_BeehooeServer.Model.Authentication; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DotNetCore_BeehooeServer.Test { [TestClass] public class JwtTest { ...
26.2
124
0.717557
[ "Apache-2.0" ]
shunchuan/DotNetCore_BeehooeServer
DotNetCore_BeehooeServer.Test/JwtTest.cs
526
C#
using UnityEngine; namespace Phantom { [RequireComponent(typeof(Kvant.SprayMV))] public class SprayController : MonoBehaviour { [SerializeField] Transform _target; [SerializeField, Range(0, 2)] float _applyVelocity; Kvant.SprayMV _spray; void Start() ...
20.558824
64
0.555079
[ "MIT" ]
gomez-addams/Phantom
Assets/Phantom/Script/SprayController.cs
699
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("晨曦小竹常用工具集")] [assembly: AssemblyDescription("本产品由“蟑螂·魂”在长期的开发实践工作奋战中,或创作、或摘抄、或优化、或改善、或封装、或集成、或切面等等综合而成,如有雷同,纯属他人抄袭(^_^),不然就是我在抄袭(>_<);本产品经...
32.297297
259
0.743096
[ "MIT" ]
cockroach888/DawnTools
DawnXZ.PagerUtility20/Properties/AssemblyInfo.cs
2,049
C#
/* Copyright (c) 2018, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
26.964835
105
0.694026
[ "BSD-2-Clause" ]
Bhalddin/MatterControl
MatterControlLib/CustomWidgets/TreeView/TreeView.cs
12,271
C#
// This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given // a specific target and scoped to a namespace, type, member, etc. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("StyleCop.CS...
88.285714
186
0.800971
[ "MIT" ]
KaixunYao/ApplicationInsights-dotnet-server
Src/Web/Web.Nuget.Tests/GlobalSuppressions.cs
620
C#
using System; using System.Text.RegularExpressions; namespace MooGet { /// <summary>Represents the name of a version of the .NET framework, eg. .NET 1.1 or Silverlight 4.0</summary> public class FrameworkName { public static string DefaultName = ".NETFramework"; public static string SilverlightName = "Silv...
28.133333
111
0.620379
[ "MIT" ]
beccasaurus/mooget
src/misc/FrameworkName.cs
2,110
C#
// <copyright file="MatrixTests.Arithmetic.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2016 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a co...
36.929674
146
0.528216
[ "MIT" ]
WeihanLi/mathnet-numerics
src/Numerics.Tests/LinearAlgebraTests/Single/MatrixTests.Arithmetic.cs
43,062
C#
using System; namespace Shane32.ExcelLinq.Tests.Models { class Class1 { public string StringColumn; public int IntColumn; public float FloatColumn; public double DoubleColumn; public DateTime DateTimeColumn; public TimeSpan TimeSpanColumn; public bool Boo...
23.95
40
0.65762
[ "MIT" ]
Shane32/ExcelLinq
src/Shane32.ExcelLinq.Tests/Models/Class1.cs
479
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OopProperties { public class Address { public string Country { get; set; } = string.Empty; public string State { get; set; } = string.Empty; public string Cit...
24.786885
96
0.453704
[ "MIT" ]
FastTrackIT-WON-3/oop-properties
OopProperties/OopProperties/Address.cs
1,514
C#
using System; using System.Collections.Generic; using System.Text; namespace RevivingSun.Messages { public class AuthOut : AbstractMessage { public override string _Name { get => "auth"; } public string TOS { get; set; } public string NAME { get; set; } public string MAIL { ge...
32.26087
67
0.579515
[ "Apache-2.0" ]
xxCUBSxx/RevivingSun
RevivingSun/Messages/AuthOut.cs
744
C#
// // ReplaceWithLastOrDefaultIssue.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. (http://xamarin.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 ...
36.520408
116
0.721431
[ "MIT" ]
Jenkin0603/myvim
bundle/omnisharp-vim/server/NRefactory/ICSharpCode.NRefactory.CSharp.Refactoring/CodeIssues/Synced/PracticesAndImprovements/ReplaceWithLastOrDefaultIssue.cs
3,580
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class DayNight : MonoBehaviour { [SerializeField] public int time = 5000; [SerializeField] Transform food = null; // Update is called once per frame void FixedUpdate() { time --; ...
22.730769
74
0.588832
[ "MIT" ]
Jackson-Stitzel/EvolutionSimulation
EvolutionTestTest/Assets/Scripts/DayNight.cs
591
C#
namespace StrumskaSlava.Data.Common.Repositories { using System.Linq; using System.Threading.Tasks; using StrumskaSlava.Data.Common.Models; public interface IDeletableEntityRepository<TEntity> : IRepository<TEntity> where TEntity : class, IDeletableEntity { IQueryable<TEntity> All...
25.090909
79
0.708333
[ "MIT" ]
DanailY/StrumskaSlava
Data/StrumskaSlava.Data.Common/Repositories/IDeletableEntityRepository.cs
554
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/WinUser.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.Versioning; ...
44.736842
145
0.737059
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/WinUser/POINTER_DEVICE_INFO.cs
1,702
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 System.Threading; using System.Threading.Tasks; namespace Roslyn.Utilities { internal static class SemaphoreSlimExtensions { ...
32.871795
167
0.663807
[ "Apache-2.0" ]
0x53A/roslyn
src/Compilers/Core/Portable/InternalUtilities/SemaphoreSlimExtensions.cs
1,284
C#
using System; using Microsoft.AspNetCore.Components; using MudBlazor.Services; namespace MudBlazor { public partial class MudPortalProvider : IDisposable { private PortalItem _itemToRender; [Inject] internal IPortal Portal { get; set; } protected override void OnInitialized() => Port...
25.897436
87
0.60099
[ "MIT" ]
KamilBugnoKrk/MudBlazor
src/MudBlazor/Components/Portal/MudPortalProvider.razor.cs
1,012
C#
using UnityEngine; using UnityEngine.UI; namespace OpenTibiaUnity.Modules.Skills { public class SkillProgressPanel : SkillPanel { [SerializeField] private TMPro.TextMeshProUGUI _labelText = null; [SerializeField] private TMPro.TextMeshProUGUI _labelValue = null; [SerializeField] privat...
40.777778
129
0.680518
[ "MIT" ]
DwarvenSoft/OpenTibia-Unity
OpenTibia/Assets/Scripts/Modules/Skills/SkillProgressPanel.cs
1,470
C#
using System; namespace ReverseArray { class Program { static void Main(string[] args) { ArrayReverse(); } public static void ArrayReverse() { int[] GivenArray = new int[] { 3, 2, 1 }; int[] ReverseArray = new int[GivenArray.Length];...
24.36
79
0.490969
[ "MIT" ]
IndigoShock/data-structures-and-algorithms
Challenges/ReverseArray/ReverseArray/Program.cs
611
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Run...
49.986441
208
0.712532
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/shared/dxgi1_2/IDXGIOutput1.cs
14,748
C#
using System.Text; using System.Collections.Generic; using OdeToFood.Core; namespace OdeToFood.Data { public interface IRestaurantData { IEnumerable<Restaurant> GetRestaurantByName(string name); Restaurant GetById(int id); Restaurant Update(Restaurant restaurant); Restaurant Add...
25.5
65
0.698529
[ "MIT" ]
ntang-flexera/OdeToFood
OdeToFood/OdeToFood.Data/IRestaurantData.cs
408
C#
using System.Collections.Generic; namespace Snowflake.Parsing { public class ListNode : ExpressionNode, IEnumerable<ExpressionNode> { public SyntaxNodeCollection<ExpressionNode> ValueExpressions { get; private set; } public ListNode() : base() { this.ValueExpressions = new SyntaxNodeCollec...
19
79
0.693364
[ "MIT" ]
smack0007/Snowflake
src/Snowflake/Parsing/ListNode.cs
876
C#
/* * kabuステーションAPI * * # 定義情報 REST APIのコード一覧、エンドポイントは下記リンク参照 - [REST APIコード一覧](../ptal/error.html) * * The version of the OpenAPI document: 1.5 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using System.C...
32.714286
140
0.568996
[ "MIT" ]
HolyMartianEmpire/kabusapi
sample/DotNetCore/Org.OpenAPITools/src/Org.OpenAPITools/Model/BoardSuccessBuy4.cs
4,920
C#
namespace NoOrangeTrees.Redirection { public class Tuple<T1, T2> { public T1 First { get; private set; } public T2 Second { get; private set; } internal Tuple(T1 first, T2 second) { First = first; Second = second; } } public static class ...
23.272727
68
0.513672
[ "MIT" ]
bloodypenguin/Skylines-NoOrangeTrees
NoOrangeTrees/Redirection/Tuple.cs
514
C#
using MediatR; namespace Ordering.Application.Features.Orders.Commands.DeleteOrder { public class DeleteOrderCommand: IRequest { public int Id { get; set; } } }
17.8
67
0.713483
[ "MIT" ]
jimmyayo/AspNetMicroservices
src/Services/Ordering/Ordering.Application/Features/Orders/Commands/DeleteOrder/DeleteOrderCommand.cs
180
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...
31.55814
109
0.658806
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Synapse/V20201201/Outputs/VulnerabilityAssessmentRecurringScansPropertiesResponse.cs
1,357
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...
43.793814
178
0.655367
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Route53/Generated/Model/InvalidPaginationTokenException.cs
4,248
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Umbraco.Core.Models; namespace Umbraco.Web.PublishedCache { /// <summary> /// Provides access to cached medias in a specified context. /// </summary> public class ContextualPublishedMediaCache : Cont...
35.791667
140
0.670547
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Web/PublishedCache/ContextualPublishedMediaCache.cs
861
C#
// <copyright file="WeightedSnapshot.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; using System.Collections.Generic; using System.Linq; // Originally Written by Iulian Margarintescu https://github.com/etishor/Metrics.NET and will...
29.725146
127
0.506
[ "Apache-2.0" ]
8adre/AppMetrics
src/Core/src/App.Metrics.Core/ReservoirSampling/ExponentialDecay/WeightedSnapshot.cs
5,085
C#
using System; using System.Data; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using ClickHouse.Client.ADO; using ClickHouse.Client.Utility; using NUnit.Framework; namespace ClickHouse.Client.Tests { public class ConnectionTests : AbstractConnecti...
37.261194
152
0.618466
[ "MIT" ]
YahuiWong/ClickHouse.Client
ClickHouse.Client.Tests/ConnectionTests.cs
4,993
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.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Fra...
33.897321
134
0.521006
[ "MIT" ]
BananeVolante/osu
osu.Game/Overlays/BeatmapListing/BeatmapListingFilterControl.cs
7,372
C#
using SimpleRPG.Core; using SimpleRPG.GameObjects.Characters; using System; using System.Text; namespace SimpleRPG { class Program { private GODataBase dataBase; private World mainWorld; static void Main(string[] args) { Console.OutputEncoding = Encoding.UTF8; ...
27.773585
105
0.560462
[ "Apache-2.0" ]
QuantMad/SimpleRPG
SimpleRPG/Program.cs
1,474
C#
using System.Collections; using UnityEngine; [CreateAssetMenu(fileName = "New Skill", menuName = "Skill/Spawn Object Skill")] public class SpawnObjectSkill : Skill, ImplosionListener { public float distanceToTeleport; public bool isInmediate = false; public GameObject[] targetObjects; public GameObje...
25.79661
140
0.669514
[ "MIT" ]
betomaluje/unity-experiments
Kirby Clone/Kirby Clone/Assets/Scripts/Skills/SpawnObjectSkill.cs
1,524
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
38.071429
83
0.714822
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-ab-r02_04_03_imm/Main/Ca/Infoway/Messagebuilder/Model/Ab_r02_04_03_imm/Domainvalue/GISPositionAccuracyTierCode.cs
1,066
C#
using System; using System.Collections.Generic; using System.Text; using System.IO; using LUA_NUMBER = System.Double; namespace SharpLua { partial class Lua { /// <summary> /// Class used to simulate/emulate fscanf(f, "%lf", ...) /// </summary> class NumberReader { ...
37.750809
133
0.363138
[ "MIT" ]
Stevie-O/SharpLua
SharpLua/Support/NumberReader.cs
11,667
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ------------------------------------------------------------ using System.Linq; using Microso...
47.985755
207
0.644363
[ "MIT" ]
nickmcummins/OpenAPI.NET.OData
test/Microsoft.OpenAPI.OData.Reader.Tests/Operation/ODataTypeCastGetOperationHandlerTests.cs
16,845
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...
39.722222
85
0.735664
[ "MIT" ]
augustogoncalves/viewer-csharp-custom.properties
viewer-csharp-custom.properties/Properties/AssemblyInfo.cs
1,433
C#
namespace EnoCore.Models { using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection.Metadata.Ecma335; using System.Text; using System.Text.Json.Serialization; public record EnoLogMessage( string? Tool, string Severity, ...
25.566667
46
0.586701
[ "MIT" ]
DanielHabenicht/EnoEngine
EnoCore/Models/EnoLogMessage.cs
769
C#
using System; using System.Globalization; using System.Windows.Data; using System.Windows.Markup; namespace SpectrumAnalyzer.Converters { /// <summary> /// A base value converter that allows direct xaml usage /// </summary> /// <typeparam name="T"></typeparam> public abstract class BaseValueConver...
31.607143
113
0.694915
[ "MIT" ]
Grahmification/SpectrumAnalyzer
SpectrumAnalyzer/Converters/BaseValueConverter.cs
887
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...
35.557692
146
0.621958
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MediaLive/Generated/Model/Internal/MarshallTransformations/OutputGroupUnmarshaller.cs
3,698
C#
using System; namespace SpotiFire.SpotifyLib { public interface ITrackAndOffset { ITrack Track { get; } TimeSpan Offset { get; } } }
14.818182
36
0.613497
[ "MIT" ]
Jono120/PlayMe
SpotiFire.SpotifyLib/Interfaces/ITrackAndOffset.cs
165
C#
using CalendarPlus.API.Middlewares; using FluentValidation.AspNetCore; using Microsoft.Extensions.DependencyInjection; namespace CalendarPlus.Registers.Validators { public static class LoadValidators { public static void Load(IServiceCollection services) { services ....
28.409091
78
0.576
[ "MIT" ]
luca0898/calendar-plus
new_project/backend/CalendarPlus.API/Registers/Validators/LoadValidators.cs
625
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Collections; namespace nin { class Program { static void Main(string[] args) { StreamReader in_f = new StreamReader("inpu...
26.734694
65
0.39084
[ "Unlicense" ]
godnoTA/acm.bsu.by
3. Структуры данных/55. Бинарная куча #3565/[OK]189303.cs
1,310
C#
/* * @(#)Function3Arg.cs 5.0.0 2022-03-20 * * You may use this software under the condition of "Simplified BSD License" * * Copyright 2010-2022 MARIUSZ GROMADA. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the f...
65.050279
198
0.7281
[ "BSD-2-Clause" ]
workgroupengineering/MathParser.org-mXparser
CURRENT/c-sharp/src/org/mariuszgromada/math/mxparser/parsertokens/Function3Arg.cs
11,644
C#
// // System.Security.Cryptography.X509Certificates.X509CertificateCollection // // Authors: // Lawrence Pit (loz@cable.a2000.nl) // Sebastien Pouliot (spouliot@motus.com) // // Copyright (C) 2004 Novell (http://www.novell.com) // // // Permission is hereby granted, free of charge, to any person obtaining ...
23.629808
75
0.663683
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/System/System.Security.Cryptography.X509Certificates/X509CertificateCollection.cs
4,915
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayFinanceQuotationDtcrawlerSendModel Data Structure. /// </summary> [Serializable] public class AlipayFinanceQuotationDtcrawlerSendModel : AopObject { /// <summary> /// 爬虫平...
25.789474
72
0.628571
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/AlipayFinanceQuotationDtcrawlerSendModel.cs
558
C#
using System; using System.Collections.Generic; using FINT.Model.Administrasjon.Kodeverk; namespace FINT.Model.Administrasjon.Kodeverk { public class Ansvar : Kontodimensjon { public enum Relasjonsnavn { OVERORDNET, UNDERORDNET, ORGANISASJONSELEMENT } } }
14.285714
44
0.703333
[ "MIT" ]
FINTmodels/FINT.Information.Model
FINT.Model.Administrasjon/Kodeverk/Ansvar.cs
300
C#
namespace android.hardware { [global::MonoJavaBridge.JavaClass()] public partial class GeomagneticField : java.lang.Object { internal new static global::MonoJavaBridge.JniGlobalHandle staticClass; static GeomagneticField() { InitJNI(); } protected GeomagneticField(global::MonoJavaBridge.JNIEnv @__env) :...
63.232323
403
0.801597
[ "MIT" ]
beachmiles/androidmono
jni/MonoJavaBridge/android/generated/android/hardware/GeomagneticField.cs
6,260
C#
/* * Copyright 2018 JDCLOUD.COM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
26.682927
93
0.726691
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Antipro/Apis/DescribeIpMonitorFlowResponse.cs
1,112
C#
/* *Author:jxx *Contact:283591387@qq.com *Date:2018-07-01 * 此代码由框架生成,请勿随意更改 */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using VOL.Entity.System...
24.11465
53
0.522979
[ "MIT" ]
1426463237/Vue.NetCore
Vue.Net/VOL.Entity/DomainModels/System/Sys_Menu.cs
3,926
C#
// // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
43.379699
172
0.489384
[ "Apache-2.0" ]
farazsid/Sample
src/ResourceManagement/ApiManagement/ApiManagementManagement/Generated/PolicySnippetsOperations.cs
11,539
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; namespace HigherArithmetics.Numerics { //------------------------------------------------------------------------------------------------------------------- // /// <summary> /// Real Value...
27.700719
133
0.588406
[ "MIT" ]
Dmitry-Bychenko/HigherArithmetics
Numerics/HigherArithmetics.Numerics.RationalMatrix.cs
19,254
C#
using System; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Support.Design.Widget; using Android.Support.V7.App; using Android.Views; using Android.Widget; namespace DWGettingStartedXamarin { [Activity(Label = "@string/app_name", Theme = "@style/AppTheme.NoAction...
42.897059
155
0.627014
[ "MIT" ]
darryncampbell/DataWedge-GettingStarted-Samples
Xamarin/MainActivity.cs
2,919
C#
using System; using Prism.Navigation; using Prism; using MyFormsLibrary.Navigation; using Prism.AppModel; using System.Threading.Tasks; namespace MyFormsLibrary.Tests.Mocks.ViewModels { public class PageAlphaViewModel:ContentPageAllActionViewModel,INavigationAware,IInitializeAsync,IActiveAware,IDestructible {...
25.208955
126
0.553582
[ "MIT" ]
muak/MyFormsLibrary
MyFormsLibrary.Tests/Mocks/ViewModels/PageAlphaViewModel.cs
1,691
C#
using System.ComponentModel; using P42.Utils; using P42.Utils.Uno; using System; namespace P42.Utils.Uno { /// <summary> /// P42.Utils.Uno FormattedString Span /// </summary> abstract class Span : NotifiableObject, ICopiable<Span> { #region Fields internal string Key; int...
24.327434
126
0.444162
[ "MIT" ]
baskren/P42.Utils
P42.Utils.Uno/HtmlString/Span.cs
2,751
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace DotNetAsync.ParallelFramework { public class TaskContinuationsExample { private readonly EventWaitHandle _waitHandle = new AutoResetEvent(false); public void Run(...
36.701299
107
0.595188
[ "MIT" ]
RePierre/dot-net-async
4.ParallelFramework/TaskContinuationsExample.cs
2,828
C#
using System.Drawing; namespace LianLianXuan_Prj.View { public abstract class BackGroundPictureView : View { private readonly Bitmap _bgp; // Guide background picture private Rectangle _drawSize; protected BackGroundPictureView(Model.Model model, Rectangle drawSize, string picPath) : ...
23.565217
108
0.621771
[ "MIT" ]
marklang1993/LianLianXuan_Prj
LianLianXuan_Prj/View/BackGroundPictureView.cs
544
C#
/* Copyright (c) 2017, Nokia 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, this list of conditions and the...
41.553191
86
0.747568
[ "BSD-3-Clause" ]
nuagenetworks/vspk-csharp
vspk/vspk/VNFCatalogsFetcher.cs
1,953
C#
/* https://github.com/mattbenic/Numeric Copyright(c) 2014 Matt Benic 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, mod...
29.611765
85
0.554946
[ "MIT" ]
mattbenic/Numeric
UnitTests/DecimalTests.cs
12,587
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 l...
30.596491
75
0.658257
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
module/ASC.Mail/ASC.Mail/Data/Contracts/MailSieveFilterData.cs
1,746
C#
using System; using System.IO; using UnityEditor; using UnityEngine; namespace Ripgrep.Editor { public class Installer { public const string InstallRoot = "Library/com.random-poison.ripgrep-unity"; public const string RipgrepVersion = "12.1.1"; public static readonly string WindowsDown...
40.66
191
0.598869
[ "MIT" ]
randomPoison/ripgrep-unity
com.random-poison.ripgrep-unity/Editor/Installer.cs
4,066
C#
using System.Xml.Serialization; namespace Uroskur.Shared.Models; [XmlRoot(ElementName = "trkpt", Namespace = "http://www.topografix.com/GPX/1/1")] public class Trkpt { [XmlAttribute("lat")] public double Lat { get; set; } [XmlAttribute("lon")] public double Lon { get; set; } } [XmlRoot(ElementName = "trkseg...
28.178571
82
0.673004
[ "MIT" ]
ahaggqvist/uroskur
src/Shared/Models/Gpx.cs
791
C#
using System; using System.Threading; using TicTacToe.Game; namespace GameRunner { internal class Program { public static void Main(string[] args) { int gameId = 0; while (true) { gameId++; // var game = gameId...
34.583333
181
0.506024
[ "MIT" ]
Illedan/SharpNN
SharpNetwork/GameRunner/Program.cs
1,247
C#
namespace AllegroExtended.Web { using System.Data.Entity; using System.Reflection; using System.Web.Mvc; using Autofac; using Autofac.Integration.Mvc; using Controllers; using Data; using Data.Common; using Services.Data; using Services.Web; public static class AutofacC...
33.180556
88
0.627459
[ "MIT" ]
mdraganov/AllegroExtended
Web/AllegroExtended.Web/App_Start/AutofacConfig.cs
2,391
C#
using Content.Server.Xenoarchaeology.XenoArtifacts.Events; using Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components; using Content.Shared.Disease; using Content.Server.Disease; using Content.Server.Disease.Components; using Robust.Shared.Random; using Robust.Shared.Prototypes; using Content.Shared.Interact...
38.170732
111
0.654313
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Server/Xenoarchaeology/XenoArtifacts/Effects/Systems/DiseaseArtifactSystem.cs
3,130
C#
namespace Kephas.Model.Tests.Models.ConflictingBaseMembersModel { using Kephas.Model.AttributedModel; [Mixin] public interface IIdentifiable { int Id { get; set; } } [Mixin] public interface INamed : IIdentifiable { string Name { get; set; } } public class Ent...
19.269231
64
0.60479
[ "MIT" ]
kephas-software/kephas
src/Tests/Kephas.Model.Tests/Models/ConflictingBaseMembersModel/ConflictingBaseMembers.cs
503
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("02....
38.216216
84
0.744696
[ "MIT" ]
donded/soft-uni-zadachi
Solution2/02. Numbers Ending in 7/Properties/AssemblyInfo.cs
1,417
C#
#if (implement_database || implement_entityframework) using Beef.Database.Core; #endif #if (implement_cosmos) using Beef.Data.Cosmos; #endif using Beef.Test.NUnit; #if (implement_cosmos) using Microsoft.Extensions.Configuration; using Cosmos = Microsoft.Azure.Cosmos; #endif using NUnit.Framework; #if (implement_databa...
39.466019
204
0.640836
[ "MIT" ]
ualehosaini/Beef
templates/Beef.Template.Solution/content/Company.AppName.Test/FixtureSetup.cs
4,067
C#
// Copyright 2009 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Reflection; using System.Reflection.Emit; using System.Collections.Generic; using DBus; using org.freedesktop.DBus; public class ManagedDBusTestRental { public s...
24.012987
221
0.683252
[ "MIT" ]
AaltoNEPPI/dbus-sharp
examples/TestRental.cs
11,094
C#
using System.Runtime.CompilerServices; namespace System.Html.Media.Graphics.SVG { [IgnoreNamespace, Imported(ObeysTypeSystem = true)] public partial class SVGForeignObjectElement : SVGGraphicsElement { internal SVGForeignObjectElement() { } public void AddEventListener(string type, HtmlEventHandlerWithTarget...
30.989796
147
0.800132
[ "Apache-2.0" ]
Saltarelle/SaltarelleWeb
Web/Generated/Html/Media/Graphics/SVG/SVGForeignObjectElement.cs
3,039
C#
 using ChakraCore.NET.API; using System; using System.Collections.Generic; using System.Text; namespace ChakraCore.NET { public partial class JSValueBinding : ServiceConsumerBase { IJSValueConverterService Converter => this.ServiceNode.GetService<IJSValueConverterService>(); IJSValueService Va...
31.384615
114
0.692402
[ "MIT" ]
michaelcoxon/ChakraCore.NET
source/ChakraCore.NET.Core/JSValueBinding.cs
818
C#
using System; using System.Xml.Serialization; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using JdSdk.Request; using JdSdk.Response.Im; namespace JdSdk.Request.Im {  public class ImPopChatlogFuzzyQueryRequest : JdRequestBase<ImPopChatlogFuzzyQueryResponse> { pub...
20.932432
95
0.517108
[ "Apache-2.0" ]
starpeng/JdSdk2
Source/JdSdk/request/im/ImPopChatlogFuzzyQueryRequest.cs
1,555
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace EventCore { public abstract class DelegateEventStore : IEventStore { private readonly IEventStore _eventStore; protected DelegateEventStore(IEventStore eventStore) { _eventStore = event...
29.6875
141
0.678947
[ "MIT" ]
tessin/event-store
SqlEventStore/DelegateEventStore.cs
952
C#
//------------------------------------------------------------------------------ // <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 si // se vuelve a gener...
44.391892
174
0.614612
[ "MIT" ]
Checha504/Farmacia
Farmacia/Properties/Resources.Designer.cs
3,299
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace CheckMvc { public static class WebApiConfig { public static void Register(HttpConfiguration config) { config.Routes.MapHttpRoute( name: "DefaultApi", ...
23.75
63
0.562105
[ "Apache-2.0" ]
BruceCowan-AI/ServiceStack
tests/CheckMvc/App_Start/WebApiConfig.cs
458
C#
using Godot; using System; using System.Collections.Generic; public class DitherTool : Tool { public override KeyList shortcut { get { return KeyList.D; } } public override bool NeedsUpdate() { return Input.IsActionJustPressed("Mouse1") || Input.IsActionJustReleased("Mouse1"); } public D...
28.233533
135
0.553977
[ "MIT" ]
AnotherPompousDunmer/ChimeraSpriteEditor
Tools/DitherTool.cs
4,717
C#
using System; using System.Collections.Generic; using System.Text; using System.Xml.Serialization; namespace XmlSerialization { // this is something called "POCO" plain old clr object // a class with just public get-set properties and a default constructor // "DTO" data transfer object public class Pe...
29.88
97
0.65328
[ "MIT" ]
200106-UTA-PRS-NET/training-code
01CSharp/XmlSerialization/XmlSerialization/Person.cs
749
C#
using Autofac; using JetBrains.Annotations; using SharpLab.Server.Caching.Internal; using SharpLab.Server.Common; namespace SharpLab.Server.Caching { [UsedImplicitly] public class CachingModule : Module { protected override void Load(ContainerBuilder builder) { var webAppName = Env...
35.73913
103
0.615572
[ "BSD-2-Clause" ]
Fantoom/SharpLab
source/Server/Caching/CachingModule.cs
822
C#