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
// *********************************************************************** // Assembly : FenrirFS // Component : FSFileSystemEntry.cs // Author : vonderborch // Created : 07-13-2016 // // Version : 2.0.0 // Last Modified By : vonderborch // Last Modified On : 09-24-2016 // **...
34.713262
140
0.527414
[ "MIT" ]
vonderborch/FenrirFS
Core/FileSystem/FSFileSystemEntry.cs
9,688
C#
using UnityEngine; using Verse; namespace ZenGarden; [StaticConstructorOnStartup] public static class Static { public static Texture2D texHarvestSecondary = ContentFinder<Texture2D>.Get("Cupro/UI/Designations/HarvestSecondary"); public static DesignationDef DesignationHarvestSecondary = DefD...
56
115
0.820714
[ "CC0-1.0" ]
emipa606/ZenGarden
Source/ZenGarden/Static/Static.cs
1,402
C#
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Argo { public class Monitor...
31.462963
96
0.664509
[ "MIT" ]
delaco/Argo
src/Argo/MonitorService.cs
1,701
C#
using System; using System.IO; using System.Text; using DeconTools.Backend.Core; using DeconTools.Backend.FileIO; using DeconTools.Backend.Runs; using DeconTools.Workflows.Backend.Core; using DeconTools.Workflows.Backend.FileIO; using DeconTools.Workflows.Backend.Results; using NUnit.Framework; namespace D...
30.789744
144
0.532645
[ "Apache-2.0" ]
PNNL-Comp-Mass-Spec/DeconTools
DeconTools.Workflows/DeconTools.Workflows.UnitTesting/AlignmentTests/AlignmentResults_Tests.cs
6,006
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.ComponentModel.Design; using System.Windows.Forms; using Be.Windows.Forms; namespace ShandalarImageToolbox { public partial class HexEditor : Use...
19.666667
76
0.585687
[ "MIT" ]
CelestialAmber/MtgShandalarImageDecoder
ShandalarImageToolbox/Custom Forms/HexEditor/HexEditorNew.cs
1,064
C#
using System; using TreeGecko.Library.Common.Attributes; using TreeGecko.Library.Common.Helpers; using TreeGecko.Library.Common.Interfaces; namespace TreeGecko.Library.Common.Objects { public abstract class AbstractTGObject : ITGSerializable, IActive { protected AbstractTGObject() { ...
28.172414
97
0.522889
[ "MIT" ]
TreeGecko/Libraries
src/tgCommonLibrary/Objects/AbstractTGObject.cs
4,087
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace FuckQustodio { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] ...
23.173913
66
0.587242
[ "MIT" ]
jack-debug/FuckQustodio
Program.cs
535
C#
using System.Collections.Generic; using Eto.Forms; namespace ArbitesEto2 { public partial class FmMacroEdit { public List<UCMacroButton> Buttons { get; set; } public MacroData Data { get; set; } public bool SaveOutput { get; set; } public FmMacroEdit() { ...
28.510288
92
0.42653
[ "BSD-3-Clause" ]
blahlicus/arbites-family
ArbitesEto2/ArbitesEto2/Forms/FmMacroEdit.cs
6,930
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics.ContractsLight; using System.Linq; using BuildXL.Cache.ContentStore.Interfaces.Results; using Microsoft.Azure.Management.Redis.Fluent; namespace BuildXL.Cache....
38.626087
212
0.612337
[ "MIT" ]
RobJellinghaus/BuildXL
Public/Src/Cache/Monitor/Library/Rules/Autoscaling/RedisClusterSize.cs
4,444
C#
/* Copyright (C) 2008-2015 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * 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 t...
51.389831
191
0.726583
[ "MIT" ]
OpenDataSpace/AlphaFS
AlphaFS/Filesystem/Directory Class/Directory.HasInheritedPermissions.cs
3,032
C#
#pragma checksum "C:\Users\Admin\Desktop\IIT\L6\EAD\CW2\Jello\Jello\Jello\Shared\MainLayout.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "da2568bd6639c8d310c2f50cdaa3fbbd27a99a9b" // <auto-generated/> #pragma warning disable 1591 namespace Jello.Shared { #line hidden using System; using System.Collection...
31.702479
182
0.712722
[ "MIT" ]
AyoobAboosalih/Jello
Jello/Jello/obj/Debug/net5.0/Razor/Shared/MainLayout.razor.g.cs
3,836
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.Generic; using System.Threading; using System.Threading.Tasks; using CoreWCF.Channels; using Microsoft.AspNetCore.Hosting; using Microsoft.Exte...
39.651163
162
0.652786
[ "MIT" ]
ScriptBox99/CoreWCF
src/CoreWCF.Primitives/src/CoreWCF/Configuration/ServiceBuilder.cs
6,820
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
47.56
178
0.681413
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/CloudControlApi/Generated/Model/NetworkFailureException.cs
5,945
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("HotChocolate.AspNetCore.Tests")]
26
63
0.836538
[ "MIT" ]
Ciantic/hotchocolate
src/HotChocolate/AspNetCore/src/AspNetCore/Properties/InternalsVisibleTo.cs
104
C#
using System; using System.Collections.Specialized; using System.Net.Http; using System.Net.WebSockets; using System.Threading.Tasks; using GraphQL.Client.Http; using Speckle.Core.Api.GraphQL.Serializer; using Speckle.Core.Credentials; using Speckle.Core.Logging; using Speckle.Newtonsoft.Json; namespace Speckle.Core....
29.43617
169
0.676545
[ "Apache-2.0" ]
ENAC-CNPA/speckle-sharp
Core/Core/Api/GraphQL/Client.cs
2,769
C#
using System; using System.ComponentModel.Composition; using Formatter; namespace Logger { [Export] public class ConsoleLogger { private FormatterBase formatter; [ImportingConstructor] public ConsoleLogger([Import(typeof(FormatterBase))]FormatterBase formatter) { ...
21.88
84
0.634369
[ "BSD-2-Clause" ]
StefanHenneken/Blog-2011-10-MEFPart06-Sample01
ConsoleLogger/ConsoleLogger.cs
549
C#
using System; using System.Collections.Generic; using Telerik.JustDecompiler.Ast; using Telerik.JustDecompiler.Ast.Expressions; using Telerik.JustDecompiler.Ast.Statements; using Telerik.JustDecompiler.Decompiler; namespace Telerik.JustDecompiler.Steps { /// <remarks> /// Depends on the following previous...
31.1
104
0.659411
[ "ECL-2.0", "Apache-2.0" ]
Bebere/JustDecompileEngine
Cecil.Decompiler/Steps/ParenthesizeExpressionsStep.cs
4,045
C#
using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace TodoApi.Identity; public interface IRoleManagerWrapper { /// <summary> /// Create the target role. /// </summary> /// <param name="role">The target role.</param> /// <returns>IdentityResult.</returns> Task<IdentityRes...
27.380952
51
0.65913
[ "MIT" ]
charlehsin/net6-webapi-tutorial
TodoApi/Identity/IRoleManagerWrapper.cs
575
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
30.956522
153
0.558989
[ "MIT" ]
ehtick/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/EdgeSearchEngineBase.cs
1,424
C#
namespace xLayout.Animations { public class InverseCondition : UICondition { public UICondition[] originals; public override bool IsMet() { return !originals[0].IsMet(); } } }
20
47
0.558333
[ "MIT" ]
BAndysc/xLayout
Assets/Plugins/xLayout/Animations/Condition/InverseCondition.cs
240
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class WeaponAction : MonoBehaviour { [SerializeField] protected int code; protected void Start() { gameObject.GetComponent<Weapon>().AddAction(code, this); } public abstract void Process(); ...
17.590909
64
0.671835
[ "MIT" ]
lannguyen0910/rpg-hero-adventure
src/Assets/scripts/object/weapon/logic/WeaponAction.cs
387
C#
// Copyright (c) 2008-2021, Hazelcast, 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...
38.811688
87
0.600301
[ "Apache-2.0" ]
alexb5dh/hazelcast-csharp-client
src/Hazelcast.Net/Core/BytesExtensions.Protocol.cs
5,979
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json; using System; namespace Microsoft.Bot.Builder.Integration.AspNet.Core { /// <summary> /// Extension class for bot integration with ASP.NET Cor...
40.405405
160
0.677592
[ "MIT" ]
joescars/botbuilder-dotnet
libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/ServiceCollectionExtensions.cs
1,497
C#
using System; using System.Windows.Forms; namespace GSA.ToolKits.FormUtility { /// <summary> /// 加载提示窗口 /// </summary> public partial class WaitDialogForm : Form { /// <summary> /// 构造函数 /// </summary> public WaitDialogForm() { InitializeComponen...
20.724138
47
0.502496
[ "MIT" ]
cockroach888/GSA.MOLLE.ToolKits
src/ToolKits.FormUtility/src/WaitDialogForm.cs
639
C#
using Android.App; using Android.Content; using Android.Graphics; using Android.Graphics.Drawables; using Android.Support.V4.Widget; using Android.Support.V7.Graphics.Drawable; using Android.Support.V7.Widget; using Android.Views; using System; using System.Collections.Specialized; using System.ComponentModel; using S...
29.13036
169
0.725549
[ "MIT" ]
Arobono/Xamarin.Forms
Xamarin.Forms.Platform.Android/Renderers/ShellToolbarTracker.cs
16,985
C#
using System; namespace Unity.VisualScripting.Community.Libraries.Humility { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface, AllowMultiple = false, Inherited = true)] public sealed class DisplayNameAttribute : Attribute { publi...
27.9375
164
0.700224
[ "MIT" ]
Fitz-YM/Bolt.Addons.Community
Runtime/Libraries/Humility/Attributes/DisplayNameAttribute.cs
449
C#
using System.Collections.Generic; using Alipay.AopSdk.Core.Response; namespace Alipay.AopSdk.Core.Request { /// <summary> /// AOP API: koubei.marketing.campaign.recruit.shop.query /// </summary> public class KoubeiMarketingCampaignRecruitShopQueryRequest : IAopRequest<KoubeiMarketingCampaignRecruitShopQueryR...
18
111
0.706284
[ "MIT" ]
ArcherTrister/LeXun.Alipay.AopSdk
src/Alipay.AopSdk.Core/Request/KoubeiMarketingCampaignRecruitShopQueryRequest.cs
2,216
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
34.882353
161
0.670152
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/Glacier/Generated/Model/Internal/MarshallTransformations/ListProvisionedCapacityRequestMarshaller.cs
2,965
C#
using Microsoft.EntityFrameworkCore; using Stations.Data.EntityConfig; using Stations.Models; namespace Stations.Data { public class StationsDbContext : DbContext { public StationsDbContext() { } public StationsDbContext(DbContextOptions options) : base(options) { } public DbSet<Station> St...
31.622222
85
0.692902
[ "MIT" ]
ewgeni-dinew/04.Databases_Advanced-Entity_Framework
14.Exam Preparation II/13. DB-Advanced-EF-Core-Exam-Preparation-2-Stations-Skeleton/Stations.Data/StationsDbContext.cs
1,425
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; namespace HandshakeVR.Demo { public class Alert : MonoBehaviour { public UnityEvent OnAlert; [SerializeField] float viewAngle = 25; [SerializeField] ...
25
97
0.483333
[ "MIT" ]
jcorvinus/HandshakeVR
Assets/HandshakeVR/Scripts/Demo/Alert.cs
1,502
C#
using TcfBackup.Filesystem; namespace TcfBackup.Source; public class FilesListSource : ISource, IDisposable { private readonly IEnumerable<IFile> _files; public FilesListSource(IEnumerable<IFile> files) => _files = files; public static FilesListSource CreateMutable(IFilesystem fs, IEnumerable<string> fi...
25.611111
152
0.603037
[ "MIT" ]
TheCheshireFox/tcf-backup
TcfBackup.Source/FilesListSource.cs
922
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("Sto...
37.459459
84
0.74531
[ "MIT" ]
zeinabkamel/AdvancedWF
AdvancedWf.DTO/Properties/AssemblyInfo.cs
1,389
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Numerics { /// <summary>Defines a mechanism for decrementing a given value.</summary> /// <typeparam name="TSelf">The type that implements this interface.</t...
49.130435
167
0.676106
[ "MIT" ]
AlexanderSemenyak/runtime
src/libraries/System.Private.CoreLib/src/System/Numerics/IDecrementOperators.cs
1,130
C#
using System.ComponentModel.DataAnnotations; using Abp.MultiTenancy; namespace EduVault.Authorization.Accounts.Dto { public class IsTenantAvailableInput { [Required] [StringLength(AbpTenantBase.MaxTenancyNameLength)] public string TenancyName { get; set; } } }
23
58
0.722408
[ "MIT" ]
nataizya-s/gitlab
aspnet-core/src/EduVault.Application/Authorization/Accounts/Dto/IsTenantAvailableInput.cs
301
C#
using EA.TMS.Common.Core; using EA.TMS.DataAccess.Core; using System.Collections.Generic; namespace EA.TMS.Business.Core { public interface IActionManager { void Create(BaseEntity entity); void Update(BaseEntity entity); void Delete(BaseEntity entity); IEnumerable<BaseEntity...
19.47619
41
0.665037
[ "MIT" ]
cristofima/TenantManagementSystem
EA.TMS.Business/Core/IActionManager.cs
411
C#
using System.IO; using System.Runtime.Serialization.Formatters.Binary; namespace FastSLQL.Format { internal static class DBFileSystem { public static void Serialize(string fileName, string[] data) { BinaryFormatter bf = new BinaryFormatter(); using (Stre...
30.733333
87
0.505423
[ "MIT" ]
ZikkeyLS/FastSLQL
Format/DBFileSystem.cs
924
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Terraria; using Terraria.ID; using TerrariaApi.Server; using TShockAPI; using Terraria.Localization; using System.Runtime.InteropServices; us...
18.694915
69
0.631006
[ "MIT" ]
DreamPrism/Starver
ProjContainers/ProjQueue.cs
2,236
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Alquran.model { class DataQuran { [JsonProperty(PropertyName = "nomor")] public string Nomor { get; set; } [JsonProperty(PropertyName = ...
24.868421
53
0.62328
[ "MIT" ]
suryamsj/Aplikasi-E-Quran
Alquran/model/DataQuran.cs
947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SkyrimTwitchBotLib.Models { public class SkyrimStreamRedemption { public string Username { get; set; } public string RedemptionName { get; set; } public DateTime Re...
28.75
53
0.695652
[ "MIT" ]
mrowrpurr/SkyrimTwitchBot
SkyrimTwitchBotLib/Models/SkyrimStreamRedemption.cs
462
C#
using System; using System.Collections.Generic; using System.Linq; namespace Concept.Linq.Lesson1 { class Human { public string Name { get; } public int Age { get; } public Human(string name, int age) => (Name, Age) = (name, age); } class Main { public void Run() { ...
31.052632
81
0.490678
[ "CC0-1.0" ]
ytyaru/CSharp.Concept.Linq.Group.20191201085538
src/lesson1/Main.cs
1,180
C#
namespace ESIConnectionLibrary.PublicModels { public enum V1ContractsPublicType { Unknown, ItemExchange, Auction, Courier, Loan } }
16.727273
44
0.592391
[ "MIT" ]
Dusty-Meg/ESIConnectionLibrary
ESIConnectionLibrary/ESIConnectionLibrary/PublicModels/V1ContractsPublicType.cs
186
C#
// ArrayListTest.cs - NUnit Test Cases for the System.Collections.ArrayList class // // David Brandt (bucky@keystreams.com) // // (C) Ximian, Inc. http://www.ximian.com // Copyright (C) 2005 Novell (http://www.novell.com) // using System; using System.Collections; using NUnit.Framework; namespace MonoTests.System....
27.400857
91
0.589008
[ "Apache-2.0" ]
121468615/mono
mcs/class/corlib/Test/System.Collections/ArrayListTest.cs
51,130
C#
// <copyright file="GameContext.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameLogic; using System.Collections.Concurrent; using System.Diagnostics; using System.Text.RegularExpressions; using S...
32.127717
232
0.633257
[ "MIT" ]
ADMTec/OpenMU
src/GameLogic/GameContext.cs
11,825
C#
using System; using System.IO; using System.Net; using System.Text; using UnityEngine; using HtmlAgilityPack; public static class DoubanSpider { public static BookRecord[] Request(string isbn) { var url = "https://www.douban.com/search?q=" + isbn; BookRecord[] ret; var we...
36.846154
122
0.596555
[ "MIT" ]
flyingSnow-hu/personal-library
Assets/Scripts/DoubanSpider.cs
1,982
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Nimbus.StressTests.ThroughputTests.MessageContracts; using NUnit.Framework; namespace Nimbus.StressTests.ThroughputTests { [TestFixture] public class WhenSendingManyLargeCommandsOfTheSameType : ThroughputSpe...
29.054054
116
0.556279
[ "MIT" ]
sbalkum/Nimbus
src/Tests/Nimbus.StressTests/ThroughputTests/WhenSendingManyLargeCommandsOfTheSameType.cs
1,077
C#
/* * Copyright 2018 Andrey Lemin * * 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...
41.616438
206
0.7184
[ "Apache-2.0" ]
Elevator89/PseudoCardboard
Assets/PseudoCardboard/Scripts/VrCameraBiMesh.cs
6,912
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace FirstREST.Lib_Primavera.Model { public class LinhaDocVenda { public string CodArtigo { get; set; } public string DescArtigo { ...
15.057143
40
0.363378
[ "MIT" ]
rodavoce/SINF-WebStore
musicstore/Lib_Primavera/Model/LinhaDocVenda.cs
1,056
C#
//------------------------------------------------------------------------------ // <auto-generated> // Este código fue generado por una herramienta. // Versión de runtime: 4.0.30319.42000 // // Los cambios de este archivo pueden provocar un comportamiento inesperado y se perderán si // el código se vu...
40.25
172
0.615252
[ "MIT" ]
Edgar1975/Edgar.Saavedra
Examen/Examen/Properties/Resources.Designer.cs
2,911
C#
// Copyright (c) MOSA Project. Licensed under the New BSD License. // This code was generated by an automated template. using Mosa.Compiler.Framework; namespace Mosa.Platform.x86.Instructions { /// <summary> /// MovzxLoad16 /// </summary> /// <seealso cref="Mosa.Platform.x86.X86Instruction" /> public sealed cla...
38.147239
204
0.758443
[ "BSD-3-Clause" ]
marcelocaetano/MOSA-Project
Source/Mosa.Platform.x86/Instructions/MovzxLoad16.cs
6,218
C#
namespace SixLabors.ImageSharp.Benchmarks.General.Vectorization { using System.Numerics; using BenchmarkDotNet.Attributes; public class DivUInt32 { private uint[] input; private uint[] result; [Params(32)] public int InputSize { get; set; } private uint testV...
24
75
0.469907
[ "Apache-2.0" ]
4thOffice/ImageSharp
tests/ImageSharp.Benchmarks/General/Vectorization/DivUInt32.cs
1,296
C#
using BusinessLayer; using BusinessLayer.Storage; using System; using System.Collections.Generic; using System.Text; using System.Windows.Input; namespace Battleships.Commands { public class ActionCommand : ICommand { private readonly Action _action; private readonly Func<bool> _canExecuteActi...
22.431373
70
0.549825
[ "MIT" ]
Gerfatz/M326
src/Battleships/Commands/ActionCommand.cs
1,146
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.MachineLearningServices.Models { public partial class AuthKeys : IUtf8JsonSerializable { vo...
26.6875
63
0.614754
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Generated/Models/AuthKeys.Serialization.cs
854
C#
// // Mono.Xml.XmlNodeWriter // // Author: // Atsushi Enomoto (ginga@kit.hi-ho.ne.jp) // // (C)2003 Atsushi Enomoto // // // 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 restricti...
26.11054
113
0.692626
[ "Apache-2.0" ]
121468615/mono
mcs/class/System.XML/Mono.Xml/XmlNodeWriter.cs
10,157
C#
// *********************************************************************** // Copyright (c) 2014 Charlie Poole // // 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, incl...
36.945055
104
0.605294
[ "MIT" ]
JetBrains/nunit
src/NUnitEngine/nunit.engine/Services/ResultWriters/XmlTransformResultWriter.cs
3,364
C#
#nullable enable using System; using System.Threading; using System.Threading.Tasks; using Android.Graphics.Drawables; using Android.Widget; namespace Microsoft.Maui { public static class ImageViewExtensions { public static void Clear(this ImageView imageView) { // stop the animation if (imageView.Drawabl...
23.514286
217
0.706359
[ "MIT" ]
3DSX/maui
src/Core/src/Platform/Android/ImageViewExtensions.cs
2,471
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 Microsoft.CodeAnalysis.Diagnostics; namespace LocalisationAnalyser.Tools { public class OsuAnalyzerConfigOptions : AnalyzerConfigOptions { public o...
37.75
176
0.65011
[ "MIT" ]
ppy/osu-localisation-analyser
LocalisationAnalyser.Tools/OsuAnalyzerConfigOptions.cs
906
C#
/* * 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 may obtain a copy ...
43.698529
174
0.641932
[ "Apache-2.0" ]
3ai-co/Lean
Indicators/CandlestickPatterns/Takuri.cs
5,945
C#
using System; using System.IO; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Xml; using Boots.Core; using Polly.Timeout; using Xunit; namespace Boots.Tests { public class HttpClientWithPolicyTests { [Fact] public void InvalidTimeout () { var boots = new Bootstrapp...
32.466102
129
0.712608
[ "MIT" ]
jonathanpeppers/boots
Boots.Tests/HttpClientWithPolicyTests.cs
3,831
C#
namespace Service.BackofficeCreds.Domain.Models { public class Role { public string Name { get; set; } public bool IsSupervisor { get; set; } } }
21.625
47
0.624277
[ "MIT" ]
MyJetWallet/Service.BackofficeCreds
src/Service.BackofficeCreds.Domain.Models/Role.cs
173
C#
/* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to Y...
32.888112
97
0.554965
[ "MIT" ]
cschen1205/myob-accounting-plugin
NPOI/main/HSSF/Record/PivotTable/ExtendedPivotTableViewFieldsRecord.cs
4,703
C#
namespace CriptoHub { partial class Home { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param nam...
54.081967
159
0.616854
[ "MIT" ]
MarcosBrandao21/PIM-III-Cripto-Hub
CriptoHub/Home.Designer.cs
19,798
C#
/* * WebAPI * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: data * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.R...
34.377622
140
0.581774
[ "Apache-2.0" ]
zanardini/ARXivarNext-StressTest
ARXivarNext-StressTest/IO.Swagger/Model/IxFeSendResponseDTO.cs
4,916
C#
using AnimalCentre.Models.Contracts; using System; using System.Collections.Generic; using System.Text; namespace AnimalCentre.Models.Procedures { public abstract class Procedure : IProcedure { protected ICollection<IAnimal> procedureHistory; protected Procedure() { this.pr...
24.555556
89
0.574661
[ "MIT" ]
bodyquest/SoftwareUniversity-Bulgaria
C# OOP 2019/EXAM_PREP/ExamPrep - Apr 2019 (AnimalCentre, BankAccount)/AnimalCenter_Business_Logic/Models/Procedures/Procedure.cs
1,107
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("12...
37.810811
84
0.744103
[ "MIT" ]
yangra/SoftUni
ProgrammingBasics/05.Loops/12.EqualPairs/Properties/AssemblyInfo.cs
1,402
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutoItX3Lib; namespace addressbook_tests_autoit { public class ApplicationManager { public static string WINTITLE = "Free Address Book"; private AutoItX3 aux; priva...
22.489796
100
0.546279
[ "Apache-2.0" ]
azagorodskih/csharp_training
addressbook_tests_autoit/addressbook_tests_autoit/appmanager/ApplicationManager.cs
1,104
C#
using SoulsFormats; using System.Collections.Generic; using System.Numerics; namespace HKX2 { public partial class hkbRocketboxCharacterControllerInternalState : hkReferencedObject { public override uint Signature { get => 1772527852; } public bool m_rapidTurnRequest; public in...
33.058824
90
0.605575
[ "MIT" ]
SyllabusGames/DSMapStudio
HKX2/Autogen/hkbRocketboxCharacterControllerInternalState.cs
1,686
C#
using System; using System.IO; using System.Xml; using System.Linq; using System.Xml.Linq; using System.Text; using System.Globalization; using System.Collections.Generic; using UnityEditor; using UnityEngine; public class LinuxPreferenceProvider : BasePreferenceProvider { static string s_EditorPrefsPath; static s...
26.431373
123
0.692878
[ "MIT" ]
CapnRat/Unity-Utilities
Assets/Editor/LinuxPreferenceProvider.cs
4,046
C#
using Game.Managers; using Game.Tasks; using Mirror; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.Events; [RequireComponent(typeof(InteractionListener))] public class InteractiveTask : NetworkBehaviour { [SyncVar] public string TaskName; ...
22.642857
77
0.701367
[ "MIT" ]
benedekdaniel/Gravitational-Waves
Assets/Scripts/Interaction/InteractiveTask.cs
951
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Client { static class MessageSystemPropertyNames { public const string MessageId = "message-id"; public cons...
32.346154
101
0.694411
[ "MIT" ]
Oaz/azure-iot-sdk-csharp
iothub/device/src/MessageSystemPropertyNames.cs
1,684
C#
using System; using System.Reflection; namespace IOT.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
20.666667
51
0.741935
[ "MIT" ]
MShahzadMirza/IOTESAS
IOT/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
248
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.Search; namespace Azure.Search.Models { internal partial class SearchDocumentsResult ...
36.05618
103
0.45497
[ "MIT" ]
Kishp01/azure-sdk-for-net
sdk/search/Azure.Search/src/Generated/Models/SearchDocumentsResult.Serialization.cs
3,209
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows; using Uno.EventsComponents; using Uno.Players; using System.Linq; namespace Uno { [Serializable] class UnoTournament { private List<Player> mPlayers; private int mWinThreshold = 500; public U...
34.207547
126
0.559294
[ "Unlicense" ]
sarapayne/UnoWpfDotNetCore3.1
Uno/Uno/UnoTournament.cs
3,628
C#
using RMUD; using static RMUD.Core; public class disambig_red_door : MudObject { public override void Initialize() { AddNoun("DOOR"); // Doors can be referred to as 'the open door' or 'the closed door' as appropriate. AddNoun("CLOSED").When(actor => !GetProperty<bool>("open?")); ...
26.096774
91
0.5822
[ "MIT" ]
Blecki/RMUDReboot
DelmudDB/database/static/palantine/disambig_red_door.cs
811
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34014 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
33.847222
165
0.690193
[ "MIT" ]
Celarix/Misc
LCDBoardController/CustomCharEdit/Properties/Resources.Designer.cs
2,439
C#
/* Copyright (C) 2019 Alex Watt (alexwatt@hotmail.com) This file is part of Highlander Project https://github.com/alexanderwatt/Highlander.Net Highlander is free software: you can redistribute it and/or modify it under the terms of the Highlander license. You should have received a copy of the license along wit...
40.831081
109
0.625352
[ "BSD-3-Clause" ]
mmrath/Highlander.Net
Metadata/FpML.V5r3/FpML.V5r3.Reporting.Analytics/Options/BlackVanillaSwaption.cs
6,043
C#
/// Created by Ferdowsur Asif @ Tiny Giant Studios using UnityEditor; using UnityEngine; namespace MText { [CustomEditor(typeof(MText_LoopAnimation))] public class MText_LoopAnimationEditor : Editor { MText_LoopAnimation myTarget; SerializedObject soTarget; void OnEnable() ...
30.808511
165
0.587017
[ "MIT" ]
Aupuma/Immersal-Fork
Assets/Tiny Giant Studio/Modular 3D Text/Scripts/Editor/MText_LoopAnimationEditor.cs
1,450
C#
using System; using System.Linq; using System.Reflection; using Contentful.Core.Models.Management; using Forte.ContentfulSchema.ContentTypes; using Forte.ContentfulSchema.Conventions; using Forte.ContentfulSchema.Discovery; using Moq; using Xunit; namespace Forte.ContentfulSchema.Tests.Conventions { public class D...
32.301205
108
0.661693
[ "MIT" ]
fortedigital/Contentful.Schema
Forte.ContentfulSchema.Tests/Conventions/DefaultFieldControlConventionTests.cs
2,681
C#
using System; using System.Collections.Generic; using System.Linq; public class Program { static void Main(string[] args) { try { List<Private> privates = new List<Private>(); string command = string.Empty; while ((command = Console.ReadLine()) != "End") ...
38.74
232
0.500516
[ "MIT" ]
giggals/Software-University
Exercises-Interfaces/8.MilitaryElite/Program.cs
3,876
C#
using System; using System.IO; using System.Runtime.InteropServices; using System.Diagnostics; using NAudio.Utils; namespace NAudio.Wave { /// <summary> /// Represents a Wave file format /// </summary> [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi, Pack=2)] public class WaveFormat {...
38.361272
167
0.562721
[ "MIT" ]
ArisAgnew/NAudio
NAudio.Core/Wave/WaveFormats/WaveFormat.cs
13,273
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
14.245136
63
0.542202
[ "Apache-2.0" ]
hl8080/aliyun-openapi-net-sdk
aliyun-net-sdk-aliyuncvc/Aliyuncvc/Model/V20191030/GetUserResponse.cs
3,661
C#
using Microsoft.Identity.Client; using Xamarin.Forms; namespace UserDetailsClient { public class App : Application { public static IPublicClientApplication PCA = null; /// <summary> /// The ClientID is the Application ID found in the portal (https://go.microsoft.com/fwlink/?linkid=208...
30.12766
118
0.605932
[ "MIT" ]
Sidharthan1988/active-directory-xamarin-native-v2
2-With-broker/UserDetailsClient/UserDetailsClient/App.cs
1,418
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using VMS.TPS.Common.Model.API; using VMS.TPS.Common.Model.Types; namespace PlanCheck.Calculators { class PQMMinMaxMean { public static string GetMin...
47.122449
194
0.461888
[ "MIT" ]
LDClark/PlanCheck
PlanCheck.Script/Calculators/PQMMinMaxMean.cs
4,618
C#
//----------------------------------------------------------------------- // <copyright file="GravityActor.cs" company="brpeanut"> // Copyright (c), brpeanut. All rights reserved. // </copyright> // <summary> Base class for the gravity physics for Actors. </summary> // <author> brpeanut/OpenMario - https://github....
37.101449
114
0.522266
[ "MIT" ]
lyshuga/OpenMario
OpenMario.Core/Actors/GravityActor.cs
2,562
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...
32.5
111
0.587436
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AuditManager/Generated/Model/BatchImportEvidenceToAssessmentControlRequest.cs
3,900
C#
using System; using System.Collections; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Math; using Org.BouncyCastle.Math.EC; using Org.BouncyCastle.Math.EC.Endo; using Org.BouncyCastle.Math.EC.Multiplier; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities....
43.194191
188
0.594555
[ "MIT" ]
straight-coding/EmbedTools
crypto/src/asn1/sec/SECNamedCurves.cs
52,049
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; usi...
29.145455
106
0.612601
[ "MIT" ]
Bjornej/KB
KB/src/KB/Startup.cs
1,605
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Yukar.Common.GameData { public class Party : IGameDataItem { public const int MAX_PARTY = 4; public const int MAX_ITEM = 99; public const int MAX_MONEY = 9999999; // パーティメンバー ...
30.976534
175
0.475205
[ "MIT" ]
Iseeicy/Icy
Assets/src/common/GameData/Party.cs
18,125
C#
/* * Copyright 2019 Douglas Kaip * * 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...
31.106383
145
0.707934
[ "Apache-2.0" ]
dkaip/CSharpSECSTools
SECSCommUtils/HSMS/HSMSWriter.cs
1,464
C#
using BootStore.EntityFrameworkCore; using Volo.Abp.Modularity; namespace BootStore { [DependsOn( typeof(BootStoreEntityFrameworkCoreTestModule) )] public class BootStoreDomainTestModule : AbpModule { } }
18.384615
54
0.715481
[ "MIT" ]
13640535881/LogDashboard
samples/abpvnext/test/BootStore.Domain.Tests/BootStoreDomainTestModule.cs
241
C#
#region License /* * ServerSslConfiguration.cs * * The MIT License * * Copyright (c) 2014 liryna * Copyright (c) 2014 sta.blockhead * * 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 Softwar...
32.854545
106
0.677735
[ "MIT" ]
AelithBlanchett/websocket-sharp-core
websocket-sharp-core/Net/ServerSslConfiguration.cs
5,423
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MeowDSIO.DataTypes.MSB.EVENT_PARAM_ST { public class MsbEventWindSFX : MsbEventBase { internal override void DebugPushUnknownFieldReport_Subtype(out string subtypeName, Diction...
35.802083
123
0.552808
[ "MIT" ]
AinTunez/MeowDSIO
MeowDSIO/DataTypes/MSB/EVENT_PARAM_ST/MsbEventWindSFX.cs
3,439
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Text; using System.Threading.Tasks; using System.Windows.Interop; using System.Xml; using System.Xml.Serialization; using ACT.SpecialSpellTimer.Config.Models; using ACT.SpecialSpellTimer.Config...
30.749729
123
0.48108
[ "BSD-3-Clause" ]
sheeva-r/ACT.Hojoring
source/ACT.SpecialSpellTimer/ACT.SpecialSpellTimer.Core/Config/Settings.cs
28,936
C#
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
38.368421
97
0.731139
[ "Apache-2.0" ]
Distrotech/mono
external/Lucene.Net/src/contrib/DistributedSearch/Distributed/Configuration/DistributedSearcherConfigurationHandler.cs
2,187
C#
// Copyright (c) Piotr Stenke. All rights reserved. // Licensed under the MIT license. using System; using System.IO; using System.Text; using Durian.Configuration; namespace Durian.Samples.DefaultParam { [DefaultParamConfiguration(TypeConvention = DPTypeConvention.Copy)] public class Logger<[DefaultParam(typeof(s...
18.824561
95
0.692451
[ "MIT" ]
piotrstenke/Durian
samples/Durian.Samples.DefaultParam/Logger.cs
1,075
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.IO; namespace Microsoft.Xna.Framework.Audio { class VolumeEvent : ClipEvent { private readonly float _volume;...
19.770492
124
0.62272
[ "MIT" ]
06needhamt/MonoGame
MonoGame.Framework/Audio/Xact/VolumeEvent.cs
1,206
C#
using System; namespace Vip.DFe.SAT.Events { public sealed class SatMensagemEventArgs : EventArgs { #region Constructor public SatMensagemEventArgs(int codigo, string mensagem) { Codigo = codigo; Mensagem = mensagem; } #endregion Constructor ...
19.44
64
0.598765
[ "MIT" ]
leandrovip/Vip.DFe
src/Vip.DFe/1-Services/SAT/Events/SatMensagemEventArgs.cs
486
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace RemoteEffectRole.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); ...
17.578947
44
0.628743
[ "MIT" ]
infinitespace-studios/InfinitespaceStudios.Pipeline
InfinitespaceStudios.PipelineService/PipelineRole/Controllers/HomeController.cs
336
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // 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, including wit...
42.063158
463
0.776777
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/System.ServiceModel/Sources/System.ServiceModel.Security.X509CertificateRecipientClientCredential.cs
3,996
C#
namespace CareerManagement.Entities { /// <summary> /// 교육 링크 /// </summary> public class EducationLink:LinkBase { /// <summary> /// 교육 식별자 /// </summary> public string EducationId { get; set; } public virtual Education Education { get; set; } } ...
20.125
56
0.521739
[ "MIT" ]
bbonkr/career-management-backend
CareerManagement.Entities/EducationLink.cs
342
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...
36.809524
154
0.619922
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/GetInstanceSnapshotRequestMarshaller.cs
3,865
C#