content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FSS.Omnius.Modules.Tapestry.Actions { public abstract class ActionSequence : Action { private List<Action> _sequence; public ActionSequence() { _se...
24.233333
111
0.618982
[ "MIT" ]
simplifate/omnius
application/FSS.Omnius.Modules/Tapestry/Actions/ActionSequence.cs
729
C#
namespace BaristaLabs.Skrapr.ChromeDevTools.Database { using Newtonsoft.Json; /// <summary> /// Enables database tracking, database events will now be delivered to the client. /// </summary> public sealed class EnableCommand : ICommand { private const string ChromeRemoteInterface_Comman...
25.826087
87
0.659933
[ "MIT" ]
BaristaLabs/BaristaLabs.Skrapr
src/BaristaLabs.Skrapr.ChromeDevTools/Database/EnableCommand.cs
594
C#
using NBitcoin; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using WalletWasabi.WabiSabi.Backend.Models; namespace WalletWasabi.WabiSabi.Backend.Banning; /// <summary> /// Malicious UTXOs are sent here. /// </summary> public class Prison { public Prison() : this(Enumera...
22.851852
132
0.692382
[ "MIT" ]
dorisoy/WalletWasabi
WalletWasabi/WabiSabi/Backend/Banning/Prison.cs
3,085
C#
using System; using System.Collections.Generic; using System.Text; namespace JDCloudSDK.Core.Model { /// <summary> /// the sign result /// </summary> public class SignedRequestModel { /// <summary> /// sign nonce id /// </summary> public string RequestNonceId { get;...
24.4
103
0.536885
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net-signer
JDCloud.SDK.Signer/Core/Model/SignedRequestModel.cs
1,222
C#
using System; namespace KoharuYomiageApp.UseCase.AddMisskeyAccount.DataObjects { public record UserData(string Username, string DisplayName, Uri IconUrl); }
23.285714
77
0.809816
[ "Apache-2.0", "MIT" ]
MatchaChoco010/KoharuYomiage
KoharuYomiageApp/UseCase/AddMisskeyAccount/DataObjects/UserData.cs
165
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/Mobsync.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Diagnos...
26.261438
145
0.448482
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/Mobsync/IID.cs
4,020
C#
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; #nullable disable namespace CentroHipicoAPI.Datos.Modelos.CentroHipico { public partial class CentroHipicoContext : DbContext { public CentroHipicoContext() { } public CentroHipic...
37.03871
87
0.546943
[ "MIT" ]
edwardmacorini/CentroHipicoV1
CentroHipicoAPI/CentroHipicoAPI.Datos/Modelos/CentroHipico/CentroHipicoContext.cs
5,743
C#
using System.ComponentModel.DataAnnotations; namespace CoffeeHouse.Models { public class MaquinaCafe { [Required(ErrorMessage = "Campo {0} obrigatório")] [Range(0, 100, ErrorMessage = "Campo {0}: Apenas números positivos")] [Display(Name = "R$ 0,01")] public int UmCentavo { get...
33.947368
77
0.586047
[ "MIT" ]
karolinagb/CoffeeHouse
CoffeeHouse/Models/MaquinaCafe.cs
1,951
C#
namespace Facade.Subsystems { public class Projector { public void On() { } public void WideScreenMode() { } public void Off() { } } }
13
36
0.425339
[ "MIT" ]
filimor/head-first-design-patterns
DesignPatterns/Structural/Facade/Subsystems/Projector.cs
223
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using Futbol3.Authorization.Users; namespace Futbol3.Sessions.Dto { [AutoMapFrom(typeof(User))] public class UserLoginInfoDto : EntityDto<long> { public string Name { get; set; } public string Surname { get; set; } public ...
21.473684
51
0.659314
[ "MIT" ]
marcoscolombo66/6.0.0
aspnet-core/src/Futbol3.Application/Sessions/Dto/UserLoginInfoDto.cs
410
C#
using System; using System.Collections.Generic; using UnityEngine; namespace Unity.InteractiveTutorials { [Serializable] class TypedCriterion { [SerializeField] [SerializedTypeFilter(typeof(Criterion))] public SerializedType type; [SerializeField] public Criterion c...
21.638889
82
0.630295
[ "MIT" ]
CristianCamilo04/tson1
trod1-game/Library/PackageCache/com.unity.learn.iet-framework@0.2.3-preview.1/Framework/Interactive Tutorials/Editor/Models/TypedCriterion.cs
779
C#
/* Copyright (C) 2015 haha01haha01 * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; using System.Collections.Generic; using System.Drawing; using Syst...
39.416181
238
0.547736
[ "MPL-2.0" ]
Riremito/HaRepackerJ
HaRepacker/GUI/MainForm.cs
60,900
C#
namespace PCMgr.WorkWindow { partial class FormDetalsistHeaders { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
41.079208
152
0.596288
[ "MIT" ]
717021/PCMgr
TaskMgr/WorkWindow/FormDetalsistHeaders.Designer.cs
4,151
C#
//------------------------------------------------------------ // Game Framework // Copyright © 2013-2020 Jiang Yin. All rights reserved. // Homepage: https://gameframework.cn/ // Feedback: mailto:ellan@gameframework.cn //------------------------------------------------------------ using GameFramework.FileSystem; usi...
43.197002
313
0.543201
[ "MIT" ]
297496732/GameFramework
GameFramework/Resource/ResourceManager.ResourceLoader.cs
42,701
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // d...
41.47561
147
0.659218
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Library/ExtensionPoints/ExtensionPointManager.cs
10,206
C#
using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Aiursoft.Colossus.Controllers { public class ErrorController : Controller { public IActionResult Code404() { return View(); } p...
19.666667
46
0.627119
[ "MIT" ]
asxuen/Nexus
Colossus/Controllers/ErrorController.cs
415
C#
using System; using System.Drawing; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Diagnostics; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.Threading; using S...
33.783379
236
0.447834
[ "Apache-2.0" ]
jasonliaocn/dp2
dp2Batch/MainForm.cs
248,668
C#
using BookmarkManager.Domain.Dtos; using BookmarkManager.Domain.Models; using BookmarkManager.Tests.Support; using System; using System.Net; using System.Net.Http.Json; using System.Threading.Tasks; using Xunit; namespace BookmarkManager.Tests.Integration.Controllers.V1 { public class BookmarkControllerTests : We...
33.133333
87
0.613179
[ "MIT" ]
rafaelpadovezi/bookmark-manager
tests/Integration/Controllers/V1/BookmarkControllerTests.cs
1,990
C#
using System.Collections.Generic; namespace FakeServer.Authentication { public class AuthenticationSettings { public bool Enabled { get; set; } public IEnumerable<User> Users { get; set; } } public class User { public string Username { get; set; } public string P...
19.388889
52
0.621777
[ "MIT" ]
Lucarine/dotnet-fake-json-server
FakeServer/Authentication/AuthenticationSettings.cs
351
C#
using System; using System.Collections.Generic; namespace StealthyCommerce.Service.StealthyCommerceDBEntities { public partial class Customer { public Customer() { Order = new HashSet<Order>(); } public int CustomerId { get; set; } public string EmailAddres...
26.043478
61
0.616027
[ "MIT" ]
ronakal/StealthyCommerce
StealthyCommerce/StealthyCommerce.Service/StealthyCommerceDBEntities/Customer.cs
601
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/wincodec.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtim...
47.351852
213
0.700039
[ "MIT" ]
manju-summoner/terrafx.interop.windows
sources/Interop/Windows/um/wincodec/IWICPlanarBitmapFrameEncode.cs
2,559
C#
namespace RabbitFarm.WebAPI.DataModels { using System.ComponentModel.DataAnnotations; using RabbitFarm.Models; public class PurchaseModel { public int Id { get; set; } [Required(ErrorMessage = "Purchase Name is required")] [MinLength(3, ErrorMessage = "Purchase Nam...
33.325581
89
0.597348
[ "MIT" ]
Team-Antalya/Rabbit-Farm
RabbitFarm/RabbitFarm.WebAPI/DataModels/PurchaseModel.cs
1,435
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Sql....
70.109208
272
0.672032
[ "MIT" ]
Ramananaidu/dotnet-sonarqube
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestOperations/LedgerDigestUploadsRestOperations.cs
32,741
C#
using TestStack.White.AutomationElementSearch; using TestStack.White.UIItems.Finders; using Xunit; namespace TestStack.White.UnitTests.AutomationElementSearch { public class SearchConditionTest { [Fact] public void TestToString() { const string name = "blah"; ...
38.04
136
0.669821
[ "Apache-2.0", "MIT" ]
DaveWeath/White
src/TestStack.White.UnitTests/AutomationElementSearch/SearchConditionTest.cs
927
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using HotChocolate.Language; using HotChocolate.Properties; using HotChocolate.Resolvers; using HotChocolate.Types; using HotChocolate.Utilities; using static HotChocolate.Execution.ArgumentNonNullValidator; namespace HotCho...
33.634312
83
0.493221
[ "MIT" ]
Elywejnak/hotchocolate
src/Core/Core/Execution/Utilities/FieldCollector.cs
14,900
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Enemy : MonoBehaviour, CollisionHandler { public static Enemy mob; public Transform body; public int health = 5; public float bodyDamage; public GameObject coin; public Transform GetBody() { ...
18.914894
112
0.595051
[ "MIT" ]
brimatt16219/Knightshacks-Hackathon
Knightshacks Project/Assets/Scripts/Enemy.cs
889
C#
using System.Collections.Generic; namespace Sidekick.Business.Filters { public class Exchange { public List<string> Want { get; set; } = new List<string>(); public List<string> Have { get; set; } = new List<string>(); public Status Status { get; set; } = new Status(); } }
22.285714
68
0.612179
[ "MIT" ]
cmos12345/Sidekick
src/Sidekick.Business/Filters/Exchange.cs
312
C#
using Newtonsoft.Json; using System; namespace BinanceChain { [Serializable] public sealed class TransactionCoin { [JsonProperty] private string denom; [JsonProperty] private string amount; [JsonIgnore] private decimal? _amount; public string Den...
20.925
56
0.396655
[ "MIT" ]
Mathias-Hedelund-Larsen/Crypto_Transaction_Assistant
Assets/Scripts/Other/JsonModels/BinanceChain/TransactionCoin.cs
839
C#
using System; using System.Diagnostics; using NPoco; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.Persistence; using Umbraco.Core.Persistence.Dtos; using Umbraco.Tests.TestHelpers; namespace Umbraco.Tests.Persistence.Querying { [TestFixture] public class MediaTypeRepositorySqlClau...
33.622222
115
0.57766
[ "MIT" ]
ismailmayat/Umbraco-CMS
src/Umbraco.Tests/Persistence/Querying/MediaTypeRepositorySqlClausesTest.cs
1,515
C#
// Copyright 2018 by JCoder58. See License.txt for license // Auto-generated --- Do not modify. using System; using System.Collections.Generic; using System.Runtime.InteropServices; using UE4.Core; using UE4.CoreUObject; using UE4.CoreUObject.Native; using UE4.InputCore; using UE4.Native; #pragma warning disable CS01...
52.94717
208
0.675861
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/UMG/WidgetComponent.cs
14,031
C#
using System; using System.IO; using System.Windows.Forms; namespace apBiblioteca { public enum Situacao { navegando, incluindo, pesquisando, editando, excluindo } class VetorDados<Registro> : IVetorDados<Registro> where Registro : IComparable<Registro>, IRegistro, new() { Registr...
29.84264
111
0.427879
[ "MIT" ]
FabricioOnofre/SistemaDeBiblioteca
20130_Projeto3TP1/VetorDados.cs
11,829
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...
39.9
198
0.631161
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/StorageGateway/Generated/Model/Internal/MarshallTransformations/UpdateGatewayInformationResponseUnmarshaller.cs
4,788
C#
using Newtonsoft.Json; using UnityEngine; public abstract class Config <T> where T : Config <T> { [JsonProperty("self")] public string Self { get; private set; } public static T LoadFromResources(string path) { var asset = Resources.Load<TextAsset>(path); if (asset == null) { ...
28.421053
72
0.603704
[ "MIT" ]
mefist0fel/Astral-Empire
AstralEmpireProject/Assets/Sources/Utils/Config.cs
542
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...
33.545455
155
0.785908
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementOrStatementStatementAndStatementStatementOrStatementStatementRegexPatternSetReferenceStatementFieldToMatchMethod.cs
738
C#
using System; using System.Collections.Generic; using System.Text; namespace UpcomingMoviesMob.Models { public class TrendingRoot { public int page { get; set; } public List<TrendingItem> results { get; set; } public int total_Pages { get; set; } public int total_results { get;...
22.4
55
0.64881
[ "MIT" ]
catsbyy/movies-are-coming-android
UpcomingMoviesMob/Models/TrendingRoot.cs
338
C#
using System; using System.Collections.Generic; namespace HashSet { class StartUp { static void Main(string[] args) { } } }
12.461538
39
0.567901
[ "MIT" ]
NaskoVasilev/Data-Structures
Hash Tables - Sets and Dictionaries/HashSet/HashSet/StartUp.cs
164
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using AnaLight.Containers; namespace AnaLight.Commands { public class SpectraListCommand : ICommand { public delegate void HandlerDelegate(List<BasicSpectraCo...
23.555556
87
0.659198
[ "MIT" ]
jmnich/AnaLight
Commands/SpectraListCommand.cs
850
C#
using System; using System.Collections.Generic; using System.Text; namespace Mossharbor.AzureWorkArounds.ServiceBus { using System.Xml.Serialization; [XmlRoot(ElementName = "Filter", DataType = "FalseFilter")] public class FalseFilter : SqlFilter { internal readonly static FalseFilter Default...
20.75
73
0.66988
[ "MIT" ]
Mossharbor/AzureWorkArounds.ServiceBus
Mossharbor.AzureWorkArounds.ServiceBus/FiltersActionsAndRules/FalseFilter.cs
417
C#
// Zeron - Scheduled Task Application for Windows OS // Copyright (c) 2019 Jiowcl. All rights reserved. using System.Security.Cryptography; using System.Text; namespace Zeron.ZCore.Utils { /// <summary> /// EncryptionProvider /// </summary> public static class EncryptionProvider { // Cryp...
33.4
133
0.516111
[ "MIT" ]
inwazy/Zeron
Zeron/ZCore/Utils/EncryptionProvider.cs
3,509
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium; using Riganti.Selenium.Core.Factories; namespace Riganti.Selenium.Core.Drivers.Implementation { public class EdgeDevWebBrowser : DevWebBrowserBase { public new Loc...
25.08
90
0.717703
[ "Apache-2.0" ]
JTOne123/selenium-utils
src/Core/Riganti.Selenium.Core/Drivers/Implementation/EdgeDevWebBrowser.cs
629
C#
using System.Reflection; 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("AWSSDK.CertificateManager")] [assembly: As...
48.03125
255
0.752765
[ "Apache-2.0" ]
damtur/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/CertificateManager/Properties/AssemblyInfo.cs
1,537
C#
using System; using System.Globalization; using System.Windows.Forms; namespace Opulos.Core.UI { public class TimePicker : MaskedTextBox<DateTime> { private String dateTimeFormat = null; public ClockControl ClockMenu = null; private ToolStripDropDownAttacher attacher = null; ///<summary> ///<para>Creates a ti...
32.100719
189
0.707978
[ "MIT" ]
Arno1235Official/JugaAgenda
Libraries/MaskedTextBox/src/TimePicker.cs
4,462
C#
namespace Forum.Data.Models { using System.Collections.Generic; using Forum.Data.Common.Models; public class Category : BaseDeletableModel<int> { public Category() { this.Posts = new HashSet<Post>(); } public string Name { get; set; } public strin...
20.2
60
0.580198
[ "MIT" ]
EvgeniTrifonov/Forum
Data/Forum.Data.Models/Category.cs
507
C#
using EasyLOB.Identity.Data.Resources; using EasyLOB.Data; using EasyLOB.Library; using EasyLOB.Resources; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace EasyLOB.Identity.Data { public partial class RoleViewModel : ZViewBase<RoleViewModel, Role> ...
26.541667
90
0.580848
[ "MIT" ]
EasyLOB/EasyLOB-MyLOB-3
MyLOB.Mvc/Models/Identity/Role/RoleViewModel.cs
1,276
C#
using System; using System.Collections.Generic; namespace LazyECS { public enum GroupType { Any, All } public enum EventType { Added, Set, Removed, All } public interface IGroup { GroupType GroupType { get; } HashSet<Entity.Entity> Entities { get; } HashSet<Type> Filters { get; } Event...
19.058824
72
0.731481
[ "MIT" ]
tatelax/LazyECS
Runtime/IGroup.cs
650
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Reflection; using Microsoft.CodeAnalysis; namespace Analyzer.Utilities.Lightup { internal static class NullableSyntaxAnnotationEx { public stat...
45.916667
187
0.725045
[ "MIT" ]
AndreasVolkmann/roslyn-analyzers
src/NetAnalyzers/Core/NullableSyntaxAnnotationEx.cs
1,104
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Web; using System.Xml; using Umbraco.Core; using Umbraco.Core.IO; using umbraco.BasePages; using umbraco.BusinessLogic; using umbraco.interfaces; using System.Linq; namespace Umbraco.Web.UI { ...
38.522088
188
0.573499
[ "MIT" ]
mariusz-sycz/UmbracoSEO
src/Umbraco.Web/UI/LegacyDialogHandler.cs
9,594
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Runtime.ExceptionServices; using Azure.Core; namespace Microsoft.Extensions.Azure { internal class ClientRegistration<TClient> { public string Name { get; set; } public o...
28.179104
148
0.54714
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/extensions/Microsoft.Extensions.Azure/src/Internal/ClientRegistration.cs
1,890
C#
using System.Text.Json.Serialization; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AlipaySocialBaseIdpsourceSyncModel Data Structure. /// </summary> public class AlipaySocialBaseIdpsourceSyncModel : AlipayObject { /// <summary> /// 数据内容为json格式的字符串,要求数据内容...
27.217391
70
0.619808
[ "MIT" ]
LuohuaRain/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipaySocialBaseIdpsourceSyncModel.cs
782
C#
namespace Application.UseCases.Transactions.Deposit; using System.ComponentModel.DataAnnotations; public sealed class DepositInput { [Required] public Guid AccountId { get; set; } [Required] public decimal Amount { get; set; } [Required] public string Currency { get; set; } = string.Empty; ...
21.4
56
0.707165
[ "MIT" ]
MartsTech/D-Wallet
packages/api/src/Application/UseCases/Transactions/Deposit/DepositInput.cs
323
C#
/* Copyright (c) 2018 ExT (V.Sigalkin) */ using System; namespace extOSC { [Serializable] public struct OSCMidi { #region Public Vars public byte Channel; public byte Status; public byte Data1; public byte Data2; #endregion #region Public Meth...
18.25641
88
0.519663
[ "MIT" ]
TheBricktop/extOSC
Assets/extOSC/Scripts/OSCMidi.cs
714
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using WritingExample.Data; namespace WritingExample.Migrations { [DbContext(type...
35.136842
95
0.445376
[ "MIT" ]
PacktPublishing/Visual-Studio-2019-Tricks-and-Techniques
Chapter15/WritingInstruments/Migrations/20201129215256_Init.Designer.cs
10,016
C#
using Ryujinx.Graphics.Gpu.Memory; using System; namespace Ryujinx.Graphics.Vic { class StructUnpacker { private MemoryAccessor _vmm; private ulong _position; private ulong _buffer; private int _buffPos; public StructUnpacker(MemoryAccessor vmm, ulong position) ...
20.753623
91
0.445531
[ "MIT" ]
AidanXu/Ryujinx
Ryujinx.Graphics.Nvdec/Vic/StructUnpacker.cs
1,432
C#
using System; using System.Diagnostics.Contracts; using System.Runtime.InteropServices; #pragma warning disable 1591 #pragma warning disable CA1401 // P/Invokes should not be visible #pragma warning disable CA2101 // Specify marshaling for P/Invoke string arguments #pragma warning disable IDE1006 // Naming style nam...
61.090909
143
0.769345
[ "Apache-2.0" ]
AvenSun/opencvsharp
src/OpenCvSharp/Internal/PInvoke/NativeMethods/ml/NativeMethods_ml_Boost.cs
2,690
C#
using System; using NUnit.Framework; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Agreement; using Org.BouncyCastle.Crypto.Digests; using Org.BouncyCastle.Crypto.Encodings; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Generators; using Org.BouncyCastle.Crypto.Macs; using Org.Bo...
35.731225
120
0.561394
[ "MIT" ]
TangoCS/BouncyCastle
crypto/test/src/crypto/test/ECIESTest.cs
9,040
C#
#nullable enable using System; using JetBrains.Annotations; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robust.Shared.Prototypes; namespace Content.Shared.Utility { [UsedImplicitly] public static class EntityPrototypeHelpers { public static bool HasComponent<T>(this EntityProto...
38.875
169
0.716399
[ "MIT" ]
BingoJohnson/space-station-14
Content.Shared/Utility/EntityPrototypeHelpers.cs
1,557
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> //---...
29.794521
152
0.50023
[ "MIT" ]
Joey35233/FoxKit-3
FoxKit/Assets/FoxKit/Fox/Generated/Fox/Geo/GeoCheckModuleConditionBody.generated.cs
2,175
C#
using System; using System.Linq; using System.Reflection; namespace Repo2.Core.ns11.ReflectionTools { public static class AssemblyReflector { //public static List<string> GetNamespaces(this Assembly assembly) // => assembly.ExportedTypes.Select(x // => x.Namespace).Distinct(...
28.930233
103
0.551447
[ "MIT" ]
peterson1/Repo2
Repo2.Core.ns11/ReflectionTools/AssemblyReflector.cs
1,250
C#
// -------------------------------------------------------------------------------------------------- // <copyright file="PropertyTypeCommandHandler.cs" company="InmoIT"> // Copyright (c) InmoIT. All rights reserved. // Developer: Vladimir P. CHibás (vladperchi). // Licensed under the MIT license. See LICENSE file in ...
47.592814
141
0.636512
[ "MIT" ]
DevCrafts/InmoIT
src/server/Modules/Inmo/Modules.Inmo.Core/Features/PropertyTypes/Commands/PropertyTypeCommandHandler.cs
7,951
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Flower : MonoBehaviour { public enum FlowerType { not_set, grow, colonize, protect, attack, }; public FlowerType type; public int owner; // 1 lub 2 public Vecto...
29.580247
156
0.599332
[ "Unlicense" ]
Zbyl/GardenForce
GardenForce/Assets/Scripts/Flower.cs
4,794
C#
#region License /* MIT License Copyright © 2006 The Mono.Xna Team All rights reserved. Authors: Olivier Dufour (Duff) 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, includ...
34.476584
344
0.58346
[ "MIT" ]
harzival/PyriteDemoClient
Assets/Pyrite/Scripts/Microsoft.Xna/BoundingSphere.cs
12,518
C#
// <copyright file="ItemPriceCalculatorTest.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.Tests { using System.Collections.Generic; using MUnique.OpenMU.DataModel.Configuration.Items; us...
39.836957
208
0.530832
[ "MIT" ]
sven-n/OpenMU
tests/MUnique.OpenMU.Tests/ItemPriceCalculatorTest.cs
14,662
C#
using System.Collections.Generic; using Latem.Runtime.Instructions; using Latem.Runtime.Memory.Storage; namespace Latem.Runtime { public class MachineState { public IMemory Memory { get; private set; } public InstructionSet Instructions { get; private set; } public MachineState(IMemor...
26.052632
91
0.678788
[ "MIT" ]
FetzenRndy/Creative
projects/Latem/Latem.Runtime/MachineState.cs
495
C#
using System.Web; using System.Web.Optimization; namespace FIT5032_Week06B { public class BundleConfig { // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ...
38.9375
113
0.575441
[ "MIT" ]
JianLoong/FIT5032-S2-2018
Solutions/FIT5032_Week06B/FIT5032_Week06B/App_Start/BundleConfig.cs
1,248
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 ...
15.244813
63
0.572673
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-rds/Rds/Model/V20140815/DescribeSlowLogRecordsResponse.cs
3,674
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace AdventOfCode2019.Puzzles.Day16 { public class Puzzle1 : IPuzzle { public object Solve() { var inputSignal = GetInputSignal(); var signalCleaner = new SignalCleaner(); ...
34.202247
117
0.507884
[ "MIT" ]
lewishenson/AdventOfCode2019
src/Puzzles/Day16/Puzzle1.cs
3,044
C#
/* Copyright (c) 2013, 2014 Paolo Patierno All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www...
30.903226
91
0.723382
[ "EPL-1.0" ]
tevux-tech/forks.paho.mqtt.m2mqtt
M2Mqtt/Events/UnsubscribedEventArgs.cs
930
C#
using System; using System.Text.RegularExpressions; using System.Linq; namespace bindu { public class WgetOutput { public double PercentageComplete {get;set;} public double DownloadRate {get;set;} } public class WgetOutputParser { public WgetOutput _output; public...
26.023256
92
0.512064
[ "MIT" ]
AdhirRamjiawan/bindu
WgetOutputParser.cs
1,119
C#
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd 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...
61.75
135
0.717651
[ "Apache-2.0", "MIT" ]
Inhong/TizenFX
src/Tizen.Applications.Common/Interop/Interop.RPCPort.cs
19,019
C#
using System; using System.Collections.Generic; using System.Text; using System.Windows.Media.Imaging; namespace PuzzleTimer.Models { class LangComboBoxItem { public string Name { get; set; } public BitmapImage ImgPath { get; set; } public LangComboBoxItem() { Name = String.Emp...
28.3
79
0.621908
[ "MIT" ]
overflowed-stack/PuzzleTimer
PuzzleTimer/Models/LangComboBoxItem.cs
568
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace GestureSample.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally responding)...
33.764706
98
0.672474
[ "MIT" ]
JavierVaca/Catan
GestureSample/GestureSample/GestureSample.iOS/AppDelegate.cs
1,150
C#
using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using Zenject; namespace Zenject.Tests.Installers { public class TestCompositeInstallerExtensions { TestInstaller _installer1; TestCompositeInstaller _compositeInstaller1; ...
37.887665
125
0.607407
[ "MIT" ]
AgeOfLearning/Extenject
UnityProject/Assets/Plugins/Zenject/Tests/IntegrationTests/Tests/TestCompositeInstallerExtensions/TestCompositeInstallerExtensions.cs
17,201
C#
namespace IRunesWebApp.Controllers { using SIS.Framework.ActionResults.Contracts; using SIS.HTTP.Requests.Contracts; using SIS.HTTP.Response.Contracts; public class HomeController : BaseController { public IActionResult Index() { //if (this.IsAuthenticated(request)) ...
26.391304
55
0.556837
[ "MIT" ]
MihailDobrev/SoftUni
C# Web/C# Web Development Basics/09. Introduction To MVC - Lab/IRunesWebApp/Controllers/HomeController.cs
609
C#
using Binance; using CryptoShark.Data; using CryptoShark.Utility; using CryptoShark.Utility.Enum; using Quantum.Framework.GenericProperties.Data; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CryptoShark.Hunting.Data { public class Hunting { ...
31.532258
104
0.530776
[ "MIT" ]
arcadeindy/Binance-CryptoShark
CryptoShark/Hunting/Data/Hunting.cs
5,867
C#
//////////////////////////////////////////////////////////////////////////////// //NUnit tests for "EF Core Provider for LCPI OLE DB" // IBProvider and Contributors. 16.05.2021. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.S...
29.388
203
0.561862
[ "MIT" ]
ibprovider/Lcpi.EFCore.LcpiOleDb
Tests/General/Source/Work/DBMS/Firebird/V03_0_0/D3/Query/Operators/SET_001/NotEqual/Complete2__objs/Int64/NullableInt32/TestSet_001__fields__01__VV.cs
7,349
C#
using CustomerManager.Application.Responses.Identity; using System.Collections.Generic; namespace CustomerManager.Application.Requests.Identity { public class UpdateUserRolesRequest { public string UserId { get; set; } public IList<UserRoleModel> UserRoles { get; set; } } }
27.636364
59
0.736842
[ "MIT" ]
kennyas/CustomerManager
src/Application/Requests/Identity/UpdateUserRolesRequest.cs
306
C#
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #pragma warning disable CS8653 // A default expression introduces a null value for a type parameter. using System; ...
40.549852
162
0.592692
[ "MPL-2.0-no-copyleft-exception", "MPL-2.0", "Apache-2.0" ]
Spreads/Spreads
src/Spreads.Core/Collections/Vec.cs
41,079
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("Mor...
37.891892
84
0.749643
[ "MIT" ]
StefanLB/Programming-Fundamentals---September-2017
26. Strings and Regular Expressions - More Exercises/MorseCodeUpgraded/Properties/AssemblyInfo.cs
1,405
C#
using BeckyApi.AddressBook; 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 AutoAddressBookImpl { public partial class Configu...
38.083333
118
0.589716
[ "MIT" ]
HeikoStudt/BeckyPlugin.Net
pluginimpl/AutoAddressBookImpl/ConfigurationForm.cs
3,658
C#
using Bing.Maps; using Eqstra.BusinessLogic; using Eqstra.BusinessLogic.DocumentDelivery; using Eqstra.BusinessLogic.Helpers; using Eqstra.DocumentDelivery.UILogic.Helpers; using Microsoft.Practices.Prism.StoreApps; using Microsoft.Practices.Prism.StoreApps.Interfaces; using System; using System.Collections.Generic; u...
42.041322
206
0.615294
[ "MIT" ]
pithline/FMS
Pithline.FMS.DocumentDelivery.UILogic/ViewModels/DrivingDirectionPageViewModel.cs
5,089
C#
using System.Diagnostics; using PdfSharp.Xps.XpsModel; namespace PdfSharp.Xps.Parsing { partial class XpsParser { /// <summary> /// Parses a StoryFragmentReference element. /// </summary> StoryFragmentReference ParseStoryFragmentReference() { Debug.Assert(reader.Name == ""); bool i...
25.081081
83
0.615302
[ "MIT" ]
XpsToPdf/XpsToPdf
XpsToPdf/PdfSharp.Xps.Parsing/XpsParser.StoryFragmentReference.cs
930
C#
version https://git-lfs.github.com/spec/v1 oid sha256:7bae5111da8fef850900191ac036ce5e5211294670afe05fea9ddd54832d8ad3 size 5212
32.25
75
0.883721
[ "MIT" ]
kenx00x/ahhhhhhhhhhhh
ahhhhhhhhhh/Library/PackageCache/com.unity.render-pipelines.core@7.1.8/Runtime/Common/XRGraphics.cs
129
C#
// ---------------------------------------------------------------------------------- // Microsoft Developer & Platform Evangelism // // Copyright (c) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, // EITHER EXPRESSED OR IMPLIED, INCLUD...
41.888889
86
0.553492
[ "Apache-2.0" ]
PankajRawat333/MicrosoftAzureTrainingKit
HOLs/HOL-BuildingSocialGame/Source/Assets/SocialGames.Core/Entities/Board.cs
1,133
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. #nullable disable using System.Collections; using System.ComponentModel; using System.Diagnostics; namespace Syst...
32.961995
143
0.568711
[ "MIT" ]
AraHaan/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewCellCollection.cs
13,879
C#
using System.Collections.Generic; namespace Dynu.API.Model.Domain { public class NameServers : List<string> { } }
13.8
44
0.637681
[ "MIT" ]
JTOne123/Dynu.API
Dynu.API/Model/Domain/NameServers.cs
140
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ExaminationSystem { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
26.136364
70
0.711304
[ "Apache-2.0" ]
QiYuOr2/exam-system
ExaminationSystem/Global.asax.cs
575
C#
using WDE.Common.Services; using WDE.Module.Attributes; namespace WDE.RemoteSOAP.Providers { [AutoRegister] [SingleInstance] public class ConnectionSettingsProvider : IConnectionSettingsProvider { private readonly IUserSettings userSettings; public ConnectionSettingsProvider(IUserSett...
29.225806
91
0.649007
[ "Unlicense" ]
BAndysc/WoWDatabaseEditor
WDE.RemoteSOAP/Providers/ConnectionSettingsProvider.cs
908
C#
/* * Copyright (c) 2014 Universal Technical Resource Services, Inc. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ using System; using System.Collections....
40.208333
139
0.63696
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
UtrsSoftware/ATMLWorkBench
ATMLLibraries/ATMLCommonLibrary/controls/connector/ConnectorPinControl.cs
2,897
C#
using System.Text.Json.Serialization; namespace MCDSaveEdit.Save.Models.Profiles { public partial class TowerMissionState { [JsonPropertyName("completedOnce")] public bool CompletedOnce { get; set; } [JsonPropertyName("guid")] public string Guid { get; set; } [JsonPro...
26.625
64
0.635681
[ "MIT" ]
ACKREIK/MCDSaveEdit
MCDSaveEdit/Models/Profiles/TheTower/TowerMissionState.cs
1,067
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; namespace GON.BeatKnuckle { public class StatusHolder : MonoBehaviour { private static StatusHolder instance; public static StatusHolder Instance { get { ...
25.673077
82
0.578277
[ "Apache-2.0" ]
GONBEEEproject/VR-Academy-rhythmgame
Assets/Beat_Knuckle/My_Assets/Scripts/Managers/StatusHolder.cs
1,395
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. n...
31.8
111
0.615209
[ "MIT" ]
AzureAutomationTeam/azure-sdk-for-net
src/SDKs/KeyVault/dataPlane/Microsoft.Azure.KeyVault/Generated/Models/Page.cs
1,749
C#
namespace XenAdmin.Dialogs { partial class RoleElevationDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// <...
49.593496
152
0.612295
[ "BSD-2-Clause" ]
CraigOrendi/xenadmin
XenAdmin/Dialogs/RoleElevationDialog.Designer.cs
12,200
C#
using Sitecore.Web; namespace Cognifide.PowerShell.Core.VersionDecoupling.Interfaces { public interface IUrlHandleWrapper { bool TryGetHandle(out UrlHandle handle); bool DisposeHandle(UrlHandle handle); } }
21.545455
64
0.729958
[ "MIT" ]
orifjonmelibayev/Console
Cognifide.PowerShell/Core/VersionDecoupling/Interfaces/IUrlHandleWrapper.cs
239
C#
//------------------------------------------------------------------------------ // <copyright file="TreeNodeConverter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------...
45.482456
132
0.470781
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/winforms/managed/system/winforms/treenodeconverter.cs
5,185
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using EricABP.Configuration; using EricABP.Web; namespace EricABP.EntityFrameworkCore { /* This class is needed to run "dotnet ef ..." commands from command line on development. Not used anyw...
38.913043
129
0.757542
[ "MIT" ]
eric33230/EricABP
src/EricABP.EntityFrameworkCore/EntityFrameworkCore/EricABPDbContextFactory.cs
897
C#
using System; using System.IO; using Azure.Storage.Blobs; using CharlieBackend.Core; using System.Threading.Tasks; using Azure.Storage.Blobs.Models; using Microsoft.Extensions.Logging; using CharlieBackend.Business.Services.Interfaces; using CharlieBackend.Core.Entities; namespace CharlieBackend.Business.Services { ...
30.314607
108
0.569311
[ "MIT" ]
ITA-Dnipro/WhatBackend
CharlieBackend.Business/Services/BlobService.cs
2,700
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; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.L...
53.1584
213
0.653203
[ "MIT" ]
NewellClark/roslyn
src/VisualStudio/Core/Test.Next/Services/LspDiagnosticsTests.cs
33,226
C#
using System; using System.Globalization; namespace Microsoft.Msagl.Core.Geometry.Curves { /// <summary> /// Contains the result of the intersection of two ICurves. /// </summary> public class IntersectionInfo { /* The following conditions should hold: * X=seg0[par0]=seg1[par1] ...
32.522222
210
0.532627
[ "MIT" ]
0xbeecaffe/MSAGL
GraphLayout/MSAGL/Core/Geometry/Curves/IntersectionInfo.cs
2,927
C#
/* * Copyright(c) 2017 Samsung Electronics Co., Ltd. * * 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 ...
41.546185
177
0.61827
[ "Apache-2.0" ]
sameerppradhan/TizenFX
src/Tizen.NUI/src/public/StyleManager.cs
10,345
C#
using System; using System.Collections; using System.Collections.Generic; using StrawberryShake; namespace CoolStore.UI.Blazor { [System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")] public interface IGetProducts { IReadOnlyList<ICatalogProductDto> Products { get; } } }
22.285714
72
0.737179
[ "MIT" ]
Magicianred/coolstore-moduliths
src/CoolStore.UI.Blazor/GraphQL/Generated/IGetProducts.cs
314
C#