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 UnityEngine; using System.Collections; namespace VoxelBusters.Utility { public static class EnumerationExtensions { public static int GetValue (this System.Enum _enum) { int _finalValue = 0; System.Type _enumType = _enum.GetType(); foreach (int _value in System.Enum.GetValues(_enumType)) ...
18.782609
59
0.68287
[ "MIT" ]
orochii/repositorio-pruebas89
Assets/Standard Assets/VoxelBusters/Common/Utility/Extensions/Scripts/Enumeration/EnumerationExtensions.cs
434
C#
using System; using System.Reflection; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Ribbon; using System.Windows.Input; using System.Windows.Media; using TakeAshUtility; namespace WpfUtility { /// <summary> /// Behavior to show the place holder /// </sum...
46.371257
135
0.578642
[ "MIT" ]
TakeAsh/WpfUtility
WpfUtility/PlaceHolder.cs
7,778
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NServiceKit.Messaging.Rcon { /// <summary> /// Contains methods required for encoding and decoding rcon packets. /// </summary> internal class PacketCodec { /// <summary> //...
34.013072
179
0.476172
[ "BSD-3-Clause" ]
NServiceKit/NServiceKit
src/NServiceKit.Common/Messaging/Rcon/PacketCodec.cs
5,054
C#
using IpcServiceSample.ServiceContracts; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.Threading.Tasks; namespace IpcServiceSample.ConsoleServer { public class ComputingService : IComputingService { private readonly ILogger<ComputingService> _logger; publi...
29.372549
103
0.602136
[ "MIT" ]
adospace/IpcServiceFramework
src/IpcServiceSample.ConsoleServer/ComputingService.cs
1,500
C#
namespace ProjectMarco.Interface { public interface IModel { int? Offset { get; set; } } }
12.125
33
0.680412
[ "MIT" ]
JWootts/Project-Marco
ProjectMarco/Interface/IModel.cs
99
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 Microsoft.Xunit.Performance; namespace Functions { public static partial class MathTests { // Tests MathF.Ceiling(float) over 5000 iterations for...
29.867925
106
0.53885
[ "MIT" ]
belav/runtime
src/tests/JIT/Performance/CodeQuality/Math/Functions/Single/CeilingSingle.cs
1,583
C#
// MIT License // Copyright (c) 2021 vasvl123 // https://github.com/vasvl123/onesharp.net namespace onesharp.lib { class Сем : Onesharp { public Сем() : base("Сем") { } Узел Формы; public object УзелСвойство(Структура Узел, string Свойство) { object УзелСвойство ...
44.794212
314
0.363123
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
vasvl123/OneScriptDB
src/showdata/lib/Сем.cs
53,659
C#
// // DownloadDataCompletedEventArgs.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // (C) 2006 Novell, Inc. (http://www.novell.com) // // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software")...
30.333333
74
0.712551
[ "MIT" ]
GrapeCity/pagefx
mono/mcs/class/System/System.Net/DownloadDataCompletedEventArgs.cs
1,729
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ceras.Helpers { internal static partial class HashHelpers { internal static readonly int[] SizeOneIntArray = new int[1]; internal static int PowerOf2(int v) { if ((v & (v - 1)) == ...
17.954545
62
0.665823
[ "MIT" ]
Svengali/Ceras
src/Ceras/Helpers/HashHelpers.cs
397
C#
/* * Influx API Service * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.1.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text...
30.946565
109
0.544154
[ "MIT" ]
BigHam/influxdb-client-csharp
Client/InfluxDB.Client.Api/Domain/BuilderTagsType.cs
4,054
C#
using System.Collections.Generic; using Bunq.Sdk.Http; using Bunq.Sdk.Model.Core; using Newtonsoft.Json; namespace Bunq.Sdk.Model.Generated.Endpoint { /// <summary> /// bunq.me fundraiser result containing all payments. /// </summary> public class BunqMeFundraiserResult : BunqModel { /// <s...
29.809091
118
0.547728
[ "MIT" ]
1Crazymoney/sdk_csharp
BunqSdk/Model/Generated/Endpoint/BunqMeFundraiserResult.cs
3,279
C#
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("CmisCmdlets.Test")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [...
46.857143
82
0.740854
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
OpenDataSpace/CmisCmdlets
Source/Cmdlets.Test/Properties/AssemblyInfo.cs
984
C#
using System; using System.Collections.Generic; using System.Text; using InTheHand.Net.Bluetooth.Factory; using NUnit.Framework; namespace InTheHand.Net.Tests.Infra { class ClientTesting { internal readonly static BluetoothAddress Addr1 = BluetoothAddress.Parse("002233445566"); internal readon...
38.457627
99
0.565888
[ "MIT" ]
3wayHimself/32feet
ITH.Net.Personal.FX2.Tests/Infra/ClientTesting.cs
2,271
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Nami.Database; using Nami.Database.Models; using Nami.Services; namespace Nami.Modules.Misc.Services { public sealed class BirthdayService : DbAbstractionServiceBase<Birthday, (ulong gid, ...
36.315789
119
0.628986
[ "Apache-2.0" ]
OkashiKami/Nami
Nami/Modules/Misc/Services/BirthdayService.cs
2,072
C#
using System.ComponentModel.DataAnnotations; namespace minizalo.Dtos { public record SignUpDto { [Required] [MinLength(2), MaxLength(100)] public string UserName { get; set; } [Required] [EmailAddress] public string Email { get; init; } ...
21.277778
44
0.563969
[ "MIT" ]
k-kyler/minizalo
server/Dtos/SignUpDto.cs
383
C#
/* Printer++ Virtual Printer Processor Copyright (C) 2012 - Printer++ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This pr...
37.147727
189
0.565616
[ "Apache-2.0" ]
dokuflex/Dokuflex
Source/PrinterPlusPlusSrc/PrinterPlusPlusSDK/Converters.cs
3,271
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace AnalogClock.iOS { public class Application { // This is the main entry point of the application. static void Main (string[] args) { // if you want to use a different Application Delegate class from "A...
21.15
82
0.723404
[ "Apache-2.0" ]
G3r3rd/mobile-samples
AnalogClock/AnalogClock.iOS/Main.cs
423
C#
using System; using System.Collections.Generic; namespace V308CMS.Helpers { [Serializable] public class MyUser { public MyUser() { } public int UserId { get; set; } public string UserName { get; set; } public string Avatar { get; set; } ...
21.777778
64
0.55102
[ "Unlicense" ]
giaiphapictcom/mamoo.vn
V308CMS/Helpers/MyUser.cs
394
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Crestron.SimplSharp; using Crestron.SimplSharpPro; using Crestron.SimplSharpPro.DM; using Crestron.SimplSharpPro.DM.Endpoints; using Crestron.SimplSharpPro.DM.Endpoints.Receivers; using PepperDash.Essentials.Core; namespace P...
36.479452
134
0.662411
[ "MIT" ]
bitm0de/Essentials
essentials-framework/Essentials DM/Essentials_DM/Endpoints/Receivers/DmRmc100SController.cs
2,665
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; namespace SifflForums.Api { public class Program { ...
24.44
76
0.693944
[ "MIT" ]
ShadAhm/sifflforums
SifflForums.Api/Program.cs
613
C#
using UnityEditor; using UnityEngine; namespace XNodeEditor { /// <summary> Utility for renaming assets </summary> public class RenamePopup : EditorWindow { public static RenamePopup current { get; private set; } public Object target; public string input; private bool firstFra...
39.029412
118
0.554258
[ "MIT" ]
BLUDRAG/SOFlow
Assets/Plugins/xNode/Scripts/Editor/RenamePopup.cs
2,656
C#
using IRPF.Lib.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IRPF.Lib.Classes_DEC { public class R21_RendimentosPJ : IFixedLenLine { [Index(1), Type(TipoRegistro.N), Length(2)] public int NR_Reg { ge...
30.021739
56
0.616944
[ "MIT" ]
RafaelEstevamReis/IRPF
CSharp/IRPF.Lib/Classes_DEC/R21_RendimentosPJ.cs
1,383
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Careful.Controls.Common { public static class TypeHelper { public static Type FindGenericType(Type generic, Type type) { while (type != null && type != typeof(object)) ...
32.641762
109
0.394683
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
daixin10310/CarefulDemo
ControlLibrary/ControlResource/Common/TypeHelper.cs
17,041
C#
/** Copyright (c) blueback Released under the MIT License @brief エンジン。 */ /** BlueBack.Excel */ namespace BlueBack.Excel { /** Excel */ public sealed class Excel { /** engine */ private Engine_Base engine; /** constructor */ public Excel(Engine_Base a_engine) { this...
16.156627
73
0.608501
[ "MIT" ]
bluebackblue/UpmExcel
BlueBackExcel/Assets/UPM/Runtime/BlueBack/Excel/Excel.cs
1,429
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Laboratory_Work_03 { public partial class Help_Form : Form { pub...
36.390625
195
0.617432
[ "MIT" ]
AmazingRoovy/csharp-moscow-polytech-works
Laboratory_Work_03/Laboratory_Work_03/Form2.cs
2,462
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using War3Api.Object.Abilities; using War3Api.Object.Enums; using War3Net.Build.Object; using War3Net.Common.Extensions; namespace War3Api.Object.Abilities { public sealed class BeastMasterStampede : Ability ...
75.927461
168
0.739389
[ "MIT" ]
YakaryBovine/AzerothWarsCSharp
src/War3Api.Object/Generated/1.32.10.17734/Abilities/BeastMasterStampede.cs
14,654
C#
using Dissonance.Audio.Playback; using UnityEditor; using UnityEngine; namespace Dissonance.Editor { [CustomEditor(typeof (VoicePlayback))] [CanEditMultipleObjects] public class VoicePlaybackEditor : UnityEditor.Editor { private Texture2D _logo; private readonly VUMeter _amplitudeMete...
35.46
209
0.652002
[ "MIT" ]
cornellvel/Boxy
Assets/Plugins/Dissonance/Editor/VoicePlaybackEditor.cs
1,775
C#
// <copyright file="Benchmark28.cs" company="Endjin Limited"> // Copyright (c) Endjin Limited. All rights reserved. // </copyright> #pragma warning disable namespace JsonPointerDraft201909Feature.ValidationOfJSNPointersJSNStringRepresentation { using System.Threading.Tasks; using BenchmarkDotNet.Attributes; ...
32.590909
123
0.625523
[ "Apache-2.0" ]
corvus-dotnet/Corvus.JsonSchema
Solutions/Corvus.JsonSchema.Benchmarking/201909/JsonPointerDraft201909/ValidationOfJSNPointersJSNStringRepresentation/Benchmark28.cs
1,434
C#
using Education.Web.Gateways.Models; using Education.Web.Gateways.Models.Inventory; using Education.Web.Gateways.Models.Rule; namespace Education.Web.Gateways.History.Tests.Model; public sealed record TestBuilderModel( TestRuleModel Rule, TopicOverviewModel? Topic, TestInformation[] Tests, DescribedIn...
27.230769
53
0.80226
[ "MIT" ]
nmakhmutov/Elwark.Cafe.Frontend
src/Gateways/History/Tests/Model/TestBuilderModel.cs
354
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace Microsoft.Azure.II...
34.292683
99
0.564011
[ "MIT" ]
bamajeed/Industrial-IoT
api/src/Microsoft.Azure.IIoT.OpcUa.Api.History/src/Models/ServiceResultApiModel.cs
1,406
C#
using System; using System.Buffers; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; using HotChocolate.Resolvers; #nullable enable namespace HotChocolate.Types.Descriptors.Definitions { /// <summary> /// The <see cref="ObjectFieldDefinition"/> contains the settings ...
32.343669
98
0.503236
[ "MIT" ]
ChilliCream/hotchocolate
src/HotChocolate/Core/src/Types/Types/Descriptors/Definitions/ObjectFieldDefinition.cs
12,517
C#
using CharacterGen.Domain.Tables; using CharacterGen.Feats; using CharacterGen.Skills; using NUnit.Framework; namespace CharacterGen.Tests.Integration.Tables.Feats.Requirements.Skills { [TestFixture] public class DiligentSkillRankRequirementsTests : AdjustmentsTests { protected override string tab...
30.258065
135
0.679104
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Feats/Requirements/Skills/DiligentSkillRankRequirementsTests.cs
940
C#
using BindKey.KeyActions; using BindKey.Util; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace BindKey { internal partial class Profile : Form { private KeyActionData Data { get; } public Profile(KeyActionData data) { ...
27.77027
151
0.509976
[ "MIT" ]
ohslyfox/BindKey
src/Profile.cs
2,057
C#
// This file was auto-generated based on version 1.2.0 of the canonical data. using Xunit; public class LuhnTest { [Fact] public void Single_digit_strings_can_not_be_valid() { Assert.False(Luhn.IsValid("1")); } [Fact(Skip = "Remove to run test")] public void A_single_zero_is_invalid()...
25.322222
77
0.633611
[ "MIT" ]
FizzBuzz791/csharp
exercises/luhn/LuhnTest.cs
2,280
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SaveC01 : MonoBehaviour { // Use this for initialization public GameObject MyPlayer; public GameObject MyCamerabox; public GameObject BuildPoint1; public GameObject BuildPoint2; private void Awake() ...
30.776471
81
0.53211
[ "MIT" ]
RegalWzh/2DcrowFish
Assets/MyScripts/Save/SaveC01.cs
2,766
C#
using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace TDD_Katas_project.TheCalcStatsKata { [TestFixture] [Category("The CalcStats Kata")] public class CalcStatTest { #region Private Methods private static IList<int> List(params int[] numbers) { ...
31.804878
142
0.574387
[ "Apache-2.0" ]
illusionsnew/TDD-samples
Src/cs/TheCalcStatsKata/CalcStatTest.cs
1,304
C#
using System.Runtime.Serialization; using Newtonsoft.Json.Converters; namespace Alpaca.Markets; /// <summary> /// Authorization status for Alpaca streaming API. /// </summary> [JsonConverter(typeof(StringEnumConverter))] internal enum ConnectionStatus { /// <summary> /// Client successfully connected. //...
22.958904
51
0.636635
[ "Apache-2.0" ]
bitministry/alpaca-trade-api-csharp
Alpaca.Markets/Enums/ConnectionStatus.cs
1,678
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.Rendering; namespace SarRP.Renderer { [CreateAssetMenu(fileName ="ForwardLit",menuName = "SarRP/RenderPass/ForwardLit")] public class ForwardLit :...
42.905325
132
0.590263
[ "MIT" ]
MaQingT/SRP-Demos
Assets/Scripts/SarRP/RenderPass/ForwardLit.cs
7,253
C#
// Copyright (c) 2021 Alachisoft // // 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...
42.571429
192
0.728859
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Protobuf/Commands/GetHashmapCommand.cs
1,490
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace HslCommunicationDemo { static class Program { // / <summary> // / 应用程序的主入口点。 // / </summary> [STAThread] static void Main() { Application.EnableVisu...
20.954545
65
0.59436
[ "MIT" ]
BAtoDA/-Uppercomputer-20200727
三菱伺服MR-JE-C控制/HslCommunicationDemo-master/HslCommunicationDemo/Program.cs
483
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...
41.531915
287
0.747951
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/ApiManagement/Latest/GetApiManagementServiceDomainOwnershipIdentifier.cs
1,952
C#
//----------------------------------------------------------------------- // <copyright file="QuoteError.cs" company="KriaSoft, LLC"> // TD Ameritrade .NET SDK v1.1.0 (June 01, 2011) // Copyright © 2011 Konstantin Tarkus (k.tarkus@kriasoft.com) // </copyright> //------------------------------------------------...
28.884615
74
0.455393
[ "Unlicense" ]
AnCh7/tdameritrade
TDAmeritrade/Models/QuoteError.cs
754
C#
using EIS.AppBase; using EIS.AppModel; using EIS.DataAccess; using EIS.DataModel.Access; using EIS.DataModel.Model; using System; using System.Collections; using System.Collections.Generic; using System.Data.Common; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.HtmlControls; using Syste...
59.214634
258
0.571381
[ "MIT" ]
chen1993nian/CPMPlatform
Dev/SysFolder/DefFrame/DefFieldsQueryExt.aspx.cs
12,241
C#
//Released under the MIT License. // //Copyright (c) 2018 Ntreev Soft co., Ltd. // //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 //rig...
41.837838
121
0.768088
[ "MIT" ]
NtreevSoft/Crema
client/Ntreev.Crema.Commands/Authenticator.cs
1,550
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-generate...
46.052632
155
0.610857
[ "MIT" ]
caydin5/Hangman
hangman/adamasmaca/Properties/Settings.Designer.cs
1,752
C#
namespace JexusManager.Features.Caching { using System.ComponentModel; using System.Windows.Forms; sealed partial class NewCachingDialog { /// <summary> /// Required designer variable. /// </summary> private IContainer components = null; /// <summary> /...
43.237762
107
0.572133
[ "MIT" ]
jexuswebserver/JexusManager
JexusManager.Features.Caching/NewCachingDialog.Designer.cs
12,368
C#
using System; namespace Ais.Internal.Dcm.ModernUIV2.ViewModels { public class ThumbnailModel { public string AssetId { get; set; } public string AssetFileId { get; set; } public string ThumbnailFileId { get; set; } public string Name { get; set; } public string URL { g...
14.4
51
0.555556
[ "Apache-2.0" ]
AppliedIS/wams-manager
Source/Ais.Internal.Dcm/Ais.Internal.Dcm.ModernUIV2/ViewModels/ThumbnailViewModel.cs
434
C#
// <auto-generated /> namespace Infrastructure.DataAccess.Migrations { using System.CodeDom.Compiler; using System.Data.Entity.Migrations; using System.Data.Entity.Migrations.Infrastructure; using System.Resources; [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] public sealed p...
29.466667
111
0.644796
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Strongminds/kitos
Infrastructure.DataAccess/Migrations/201804110855592_approved added to archiveperiod.Designer.cs
884
C#
using System; namespace OpenRiaServices.Server { /// <summary> /// Attribute applied to an association member to indicate that the associated entities should be /// made available for client access. /// </summary> /// <remarks> /// When applied to an entity association, this attribute indicate...
34.138462
115
0.560838
[ "Apache-2.0" ]
Daniel-Svensson/OpenRiaServices
src/OpenRiaServices.Server/Framework/Data/IncludeAttribute.cs
4,440
C#
/* * CHANGE LOG - keep only last 5 threads */ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Gravity.Extensions { /// <summary> /// Extensions for <see cref="object"/>. /// </summary> public static class ObjectExtensions { #region *** To JSON *** /// <summa...
39.486842
113
0.596801
[ "Apache-2.0" ]
gravity-api/gravity-extensions
src/csharp/Gravity.Extensions/CSharp/ObjectExtensions.cs
3,003
C#
using System; using System.Collections.Generic; using Hl7.Fhir.Introspection; using Hl7.Fhir.Validation; using System.Linq; using System.Runtime.Serialization; using Hl7.Fhir.Utility; /* Copyright (c) 2011+, HL7, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without mod...
42.662252
143
0.577336
[ "BSD-3-Clause" ]
CASPA-Care/caspa-fhir-net-api
src/Hl7.Fhir.Core/Model/Generated/CompartmentDefinition.cs
32,212
C#
// © Microsoft Corporation. All rights reserved. #pragma warning disable CA1801 // Review unused parameters #pragma warning disable S1118 namespace Microsoft.Extensions.Logging.Generators.Test.TestClasses { // test particular method signature variations are generated correctly internal static partial class Si...
38.77381
97
0.638317
[ "MIT" ]
maryamariyan/LoggingGenerator
Microsoft.Extensions.Logging.Generators.Tests/TestClasses/SignatureTestExtensions.cs
3,258
C#
/******************************************************************************* * Copyright 2012-2019 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...
50.611241
274
0.646523
[ "Apache-2.0" ]
hevaldez07/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/CodeBuild/Basic/Update-CBReportGroup-Cmdlet.cs
21,611
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using System; using System.IO; namespace hayatsukikazumi.amr { /// <summary> /// Recorder status. /// </summary> public enum RecorderStatus { READY, RECORDING, CALIBRATION, NOT_READY, SENSOR_SURPRESSING } //...
27.465839
134
0.673677
[ "Apache-2.0" ]
hayatsukikazumi/AutoMicRecorder
Assets/AutoMicRecorder/Scripts/AutoMicRecorder.cs
13,268
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Linq; using System.Data.Linq; using System.Threading; using LinqToSqlShared.Mapping; using System.Runtime.CompilerServic...
28.518135
150
0.680596
[ "MIT" ]
copiltembel/Linq2SQL3
src/Mapping/AttributedMetaModel/AttributedRootType.cs
5,504
C#
namespace Tanks.Collisions { using System; using Morpeh; [Serializable] public struct CanCollide : IComponent { public CollisionDetector detector; } }
20
43
0.672222
[ "MIT" ]
scellecs/morpeh.examples.tanks
Assets/Tanks.Code/Collisions/CanCollide.cs
182
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...
42.20283
178
0.640773
[ "Apache-2.0" ]
JeffAshton/aws-sdk-net
sdk/src/Services/ECR/Generated/Model/InvalidLayerPartException.cs
8,947
C#
using Grasshopper.Kernel; using Rhino.Geometry; using System; using System.Collections.Generic; using System.IO; using Sd = System.Drawing; namespace ThreePlus.Components.Output { public class GH_BitmapDeSerialize : GH_Component { /// <summary> /// Initializes a new instance of the GH_BitmapDe...
33.413043
148
0.59434
[ "MIT" ]
interopxyz/ThreePlus
ThreePlus/Components/Output/GH_BitmapDeSerialize.cs
3,076
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.Collections.Generic; using System.Collections.Tests; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using S...
46.781457
230
0.589967
[ "MIT" ]
Jozkee/runtime
src/libraries/System.Collections.Immutable/tests/ImmutableArrayTest.cs
120,088
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VpnAutoConnect { /// <summary> /// 拡張メソッド /// </summary> public static class Extension { /// <summary> /// IEnumerableのNullチェック用Extension /// </summ...
26.454545
83
0.518213
[ "MIT" ]
tomoyukioya/VPN-AutoConnect
VpnAutoConnect/VpnAutoConnect/Extension.cs
1,497
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.Serialization; namespace Panama.Entities { [DataContract] [KnownType("DataContractKnownTypes")] public class Result : IResult { private HashSet<string> _messages; [OnSerial...
24.413043
77
0.491095
[ "MIT" ]
Code4Dough/command-handler-pattern
Panama/Entities/Result.cs
2,248
C#
// Copyright (c) Multi-Emu. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Lappa_ORM; namespace Framework.Database.Data.Entities { public class GtNpcTotalHpExp2 : Entity { public int Index { get; set; } public float Data { get; set...
23.714286
101
0.677711
[ "MIT" ]
gitter-badger/Project-WoW
Projects/Framework/Database/Data/Entities/GtNpcTotalHpExp2.cs
334
C#
using System; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using OrchardCore.ReCaptcha.Configuration; namespace OrchardCore.ReCaptcha.ActionFilters.Detection { public class IpAddressRobotDetector : IDetectRobots { private const string I...
33.435484
151
0.666667
[ "BSD-3-Clause" ]
Craige/OrchardCore
src/OrchardCore/OrchardCore.ReCaptcha.Core/ActionFilters/Detection/IpAddressRobotDetector.cs
2,073
C#
private void textBox5_Click(object sender, EventArgs e) { textBox5.ForeColor = Color.Black; textBox5.SelectAll(); textBox5.Text = ""; textBox5.Click -= textBox5_Click; //provavelmente isto } //https://pt.stackoverflow.com/q/122345/101
28.222222
59
0.708661
[ "MIT" ]
Everton75/estudo
CSharp/WinForms/DisableEvent.cs
254
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...
25.830189
76
0.549671
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Iotedge/Apis/DescribeDeployAppRequest.cs
2,908
C#
//======= Copyright (c) Valve Corporation, All rights reserved. =============== using UnityEngine; using System.Collections; using System; using Valve.VR; using System.Runtime.InteropServices; using System.Collections.Generic; namespace Valve.VR { [Serializable] /// <summary>An analog action with...
58.812325
196
0.691036
[ "MIT" ]
HCUM/dronos
DronOS Unity/Assets/SteamVR/Input/SteamVR_Action_Vector3.cs
20,998
C#
using System; using System.ComponentModel; namespace abremir.AllMyBricks.ThirdParty.Brickset.Extensions { public static class TypeExtension { public static string GetDescription(this Type type) { var descriptions = (DescriptionAttribute[]) type.GetCustomAttributes(t...
24.904762
78
0.602294
[ "MIT" ]
zmira/abremir.AllMyBricks
abremir.AllMyBricks.ThirdParty.Brickset/Extensions/TypeExtension.cs
525
C#
using Advanced.Algorithms.Binary; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Advanced.Algorithms.Tests.Binary { [TestClass] public class BaseConversion_Tests { [TestMethod] public void BaseConversion_Smoke_Test() { //decimal to binary Asse...
29.8
95
0.522819
[ "MIT" ]
Mith873/Advanced-Algorithms
tests/Advanced.Algorithms.Tests/Binary/BaseConversion_Tests.cs
1,492
C#
using System.Linq; using Android.Content; using Android.OS; using Android.Views; using AndroidX.Preference; using Madamin.Unfollow.Main; namespace Madamin.Unfollow.Fragments { public class SettingsFragment : PreferenceFragmentCompat, ISharedPreferencesOnSharedPreferenceChangeListener { ...
38.52809
109
0.678624
[ "MIT" ]
minusium/Unfollow
Fragments/SettingsFragment.cs
3,431
C#
using System; using AppRopio.Base.Core.ViewModels; using AppRopio.Models.Products.Responses; namespace AppRopio.ECommerce.Products.Core.ViewModels.ProductCard.Items { public abstract class ProductDetailsItemVM : BaseViewModel, IProductDetailsItemVM { protected string Id { get; } public string...
30.25641
167
0.671186
[ "Apache-2.0" ]
cryptobuks/AppRopio.Mobile
src/app-ropio/AppRopio.ECommerce/Products/Core/ViewModels/ProductCard/Items/ProductDetailsItemVM.cs
1,182
C#
/* * Copyright(c) 2021 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 ...
40.272727
140
0.69526
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.NUI/src/internal/Common/ViewLayoutDirectionChangedSignal.cs
3,101
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; namespace KLib { public class SocketConnection : BaseConnection { public const int packageHeadLen = 4; private Socket soc...
27.107438
141
0.533537
[ "MIT" ]
superkaka/mycsharp
kakalib/kakalib/net/connection/SocketConnection.cs
3,332
C#
using System.Collections.Generic; namespace Ecommerce_App.Models { public class CategoryProducts { public int CategoryId { get; set; } public int ProductId { get; set; } public Category Category { get; set; } public Product Product { get; set; } } }
20.571429
43
0.649306
[ "MIT" ]
AlanYHung/401-dotnet-Ecommerce-App
Ecommerce-App/Models/CategoryProducts.cs
290
C#
using UnityEngine; using System.Collections.Generic; // 遊戲事件 public enum ENUM_GameEvent { Null = 0, EnemyKilled = 1,// 敵方單位陣亡 SoldierKilled = 2,// 玩家單位陣亡 SoldierUpgate = 3,// 玩家單位升級 NewStage = 4,// 新關卡 } // 遊戲事件系統 public class GameEventSystem : IGameSystem { private Dictionary< ENUM_GameEvent, IGameEven...
21.988506
125
0.725039
[ "MIT" ]
LittleCopernicus/DPGame
Assets/P-BaseDefenseAssets/GameCode/GameEvent/GameEventSystem.cs
2,105
C#
using System; namespace P03_FootballBetting { class StartUp { static void Main(string[] args) { } } }
10.846154
39
0.531915
[ "MIT" ]
NikolayLutakov/Entity-Framework-Core
04 Entity Relations/P03_FootballBetting/StartUp.cs
143
C#
// RGBColor.cs // // Copyright (C) BEditor // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using BEditor.Data; using BEditor.Data.Primitive; using BEditor.Data.Propert...
33.55102
141
0.597628
[ "MIT" ]
tomo0611/BEditor
src/libraries/BEditor.Primitive/Effects/PrimitiveImages/RGBColor.cs
3,290
C#
#if UNITY_EDITOR || UNITY_WEBPLAYER || UNITY_STANDALONE || (UNITY_ANDROID && !ENABLE_IL2CPP) #define AbleToCompile #endif using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; using System.Diagnostics; using System.IO; /* This file contains everything t...
32.685963
122
0.674953
[ "MIT" ]
profK/powerui
Assets/PowerUI/Source/JavaScript/WebAssembly/Emit/ReflectionEmit.cs
63,803
C#
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ConsoleAppNetCore3Ef3.EntityFrameworkCore.Entities { public class Room { [Key] public int Id { get; set; } [Required] public int Number { get; set; } ...
24.878049
103
0.551961
[ "MIT" ]
Logerfo/LINQKit
examples/ConsoleAppNetCore3Ef3/EntityFrameworkCore/Entities/Room.cs
1,022
C#
using AElf.CSharp.CodeOps.Validators.Whitelist; namespace AElf.CSharp.CodeOps.Policies { public class PrivilegePolicy : DefaultPolicy { public PrivilegePolicy() { Whitelist = Whitelist.Namespace("System.Threading", Permission.Allowed); } } }
22.384615
84
0.666667
[ "MIT" ]
380086154/AElf
src/AElf.CSharp.CodeOps/Policies/PrivilegePolicy.cs
291
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
26.888889
81
0.53168
[ "MIT" ]
AlexHedley/BlazorWebFormsComponents
samples/BeforeWebForms/ControlSamples/DataList/Default.aspx.designer.cs
728
C#
/******************************************************************************\ * Copyright Andy Gainey * * * * Licensed under the Apache License, Version 2.0 (the "License"); ...
34.875706
164
0.652681
[ "Apache-2.0" ]
againey/MakeIt.Tile
Samples~/Tile/Scripts/OrbitalCameraController.cs
6,175
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class InputContextSystem : gameScriptableSystem { [Ordinal(0)] [RED("activeContext")] public CEnum<inputContextType> ActiveContext { get; set; } public In...
26.375
105
0.727488
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/InputContextSystem.cs
407
C#
using StoreManager2.Infrastructure.Identity.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; namespace StoreManager2.Web.A...
33.357143
116
0.603854
[ "MIT" ]
Thanakorn-VK/StoreManager2
StoreManager2.Web/Areas/Identity/Pages/Account/Manage/DeletePersonalData.cshtml.cs
2,804
C#
using System; using System.Runtime.InteropServices; using Ultraviolet.Core; using Ultraviolet.Graphics; using Ultraviolet.OpenGL.Bindings; namespace Ultraviolet.OpenGL.Graphics { /// <summary> /// Represents the OpenGL implementation of the IndexBuffer class. /// </summary> public unsafe sealed class ...
40.551495
163
0.553252
[ "Apache-2.0", "MIT" ]
Spool5520/ultraviolet
Source/Ultraviolet.OpenGL/Shared/Graphics/OpenGLIndexBuffer.cs
12,208
C#
/* * ****************************************************************************** * Copyright 2014-2017 Spectra Logic Corporation. 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 i...
41.857143
151
0.640956
[ "Apache-2.0" ]
RachelTucker/ds3_net_sdk
Ds3/Calls/GetS3DataReplicationRulesSpectraS3Response.cs
1,465
C#
namespace ExactOnline.Client.Models.Manufacturing { using System; using System.Collections.Generic; [SupportedActionsSDK(true, true, true, true)] [DataServiceKey("ID")] public class ShopOrderRoutingStepPlan { /// <summary>Reference to Account providing the Outsourced item</summary> ...
50.683333
120
0.637948
[ "MIT" ]
FWest98/exactonline-api-dotnet-client
src/ExactOnline.Client.Models/Manufacturing/ShopOrderRoutingStepPlan.cs
6,082
C#
using System; using System.Threading.Tasks; namespace EpisodeDownloader.Core.Service.History { public interface IHistoryService { Task AddDownloadedAsync(string episodeName, Uri episodeUrl, Uri videoUrl); Task<bool> CheckIfDownloadedAsync(Uri episodeUrl); } }
24.166667
82
0.744828
[ "MIT" ]
RobertSmits/EpisodeDownloader
EpisodeDownloader.Core/Service/History/IHistoryService.cs
292
C#
using System.Diagnostics; namespace System.Runtime.CompilerServices { [Conditional("VERBOSE_LOG")] [AttributeUsage(AttributeTargets.Parameter, Inherited = false)] sealed class CallerMemberNameAttribute : Attribute { public CallerMemberNameAttribute() { } } [Conditional...
24.645161
67
0.66623
[ "MIT" ]
Therzok/dsp_modding
src/Shared/CompilerServicesStubs.cs
766
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; using UnityEngine.Serialization; namespace ARX { /// <summary> /// A Stat box for StatQuads /// </summary> [Serializable] [CreateAssetMenu(menuName = "ARX/ Stat Box - Quad")] public class ...
27.528796
98
0.505515
[ "CC0-1.0" ]
VelvetAlabaster/ARX
Unremastered Files/ARX8.Core/main/ARX_StatBox_Quad.cs
5,260
C#
using ChocolArm64.Decoder; using ChocolArm64.State; using ChocolArm64.Translation; using System; using System.Reflection; using System.Reflection.Emit; using static ChocolArm64.Instruction.AInstEmitAluHelper; namespace ChocolArm64.Instruction { static partial class AInstEmit { public static void Adc(A...
28.340967
99
0.580535
[ "Unlicense" ]
0x0ade/Ryujinx
ChocolArm64/Instruction/AInstEmitAlu.cs
11,138
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1013_38bc-30c91d46")] public void Method_1013_38bc() { ii(0x1013_38bc, 5); push(0x24); ...
65.078947
114
0.415689
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1013-38bc.cs
2,473
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace PandaWebApp.Models.ManageViewModels { public class GenerateRecoveryCodesViewModel { public string[] RecoveryCodes { get; set; } } }
21.857143
51
0.764706
[ "MIT" ]
alexandrateneva/CSharp-Web-SoftUni
CSharp MVC Frameworks - ASP.NET Core/Intro to ASP.NET Core MVC/PandaWebApp/PandaWebApp/Models/ManageViewModels/GenerateRecoveryCodesViewModel.cs
308
C#
using System; namespace Havit.Data.EntityFrameworkCore.Patterns.Lookups { /// <summary> /// Nápověda pro lookup service, aby dokázal fungovat efektivněji. /// Flags. /// </summary> [Flags] public enum LookupServiceOptimizationHints { /// <summary> /// Žádná nápověda. /// </summary> None = 0, /// <su...
19.826087
83
0.66886
[ "MIT" ]
havit/HavitFramework
Havit.Data.EntityFrameworkCore.Patterns/Lookups/LookupServiceOptimizationHints.cs
471
C#
/* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2021 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby granted, free of charge, to any person obtainin...
34.304348
131
0.503629
[ "MIT" ]
BME-MIT-IET/iet-hf2021-gitgud
Libraries/dotNetRDF/Update/Commands/ClearCommand.cs
8,679
C#
/* | Version 10.1.84 | Copyright 2013 Esri | | 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 o...
36.804688
98
0.583528
[ "Apache-2.0" ]
Esri/route-planner-csharp
RoutePlanner_DeveloperTools/Source/ArcLogistics/Tracking/TrackingService/FeatureService.cs
9,424
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; namespace Travelling.FrameWork { public class HttpHelper { /// <summary> /// 向服务器提交XML数据 /// </summary> /// <param name="url">远程访问的地址</param> /// <pa...
30.549296
94
0.458737
[ "MIT" ]
binlyzhuo/travel
src/Travelling.FrameWork/HttpHelper.cs
2,233
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Data { class StringContainer { public static readonly string Player = "Player"; public static readonly string TagScore = "Score"; public static r...
29.6
71
0.681081
[ "MIT" ]
iambackit/COPS_AI
Assets/Scripts/Data/StringContainer.cs
742
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 JetBrains.Annotations; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; namespace osu.Game.Screens.Ranking.Statistics { /// <sum...
41.272727
181
0.610683
[ "MIT" ]
02Naitsirk/osu
osu.Game/Screens/Ranking/Statistics/StatisticItem.cs
1,773
C#
// -------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. // -------------------------------------------------------------------------------------------- using System.Collections....
41.344828
111
0.602168
[ "MIT" ]
JasonRShaver/Oryx
tests/BuildScriptGenerator.Tests/TestVersionProvider.cs
1,173
C#
using System; using System.Collections.Generic; using System.Windows.Forms; using System.Xml.Serialization; using taskt.UI.CustomControls; using taskt.UI.Forms; namespace taskt.Core.Automation.Commands { [Serializable] [Attributes.ClassAttributes.Group("Folder Operation Commands")] [Attributes.ClassAttri...
48.788889
153
0.705762
[ "Apache-2.0" ]
Faro1991/taskt
taskt/Core/Automation/Commands/CreateFolderCommand.cs
4,393
C#