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.ComponentModel.DataAnnotations; using todoCore3.Api.Models.Auth.Entities; namespace todoCore3.Api.Models.Auth { public class UpdateAccountRequest { private string _password; private string _confirmPassword; private string _role; private string _email; public string Gender { get; s...
22.519231
62
0.653288
[ "MIT" ]
shockzinfinity/todo-app-complicated
todoCore3.Api/Models/Auth/UpdateAccountRequest.cs
1,171
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Unlocks : MonoBehaviour { #region Singleton public static Unlocks instance; private void Awake() { instance = this; } #endregion public List<Reward> rewards; public Item armyDefeatItem; public Item castleDefeatI...
20.376238
82
0.707483
[ "MIT" ]
cortexarts/Otter-Space-Prototype
Prototype/Assets/Scripts/UI/Unlocks.cs
2,058
C#
using Content.Server.Administration; using Content.Server.GameTicking.Presets; using Content.Shared.Administration; using Content.Shared.CCVar; using Robust.Shared.Configuration; using Robust.Shared.Console; namespace Content.Server.GameTicking.Commands { [AdminCommand(AdminFlags.Round)] public sealed class G...
32.782609
134
0.592838
[ "MIT" ]
14th-Batallion-Marine-Corps/14-Marine-Corps
Content.Server/GameTicking/Commands/GoLobbyCommand.cs
1,510
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Auth0.Core.Collections; using Auth0.ManagementApi.Models; namespace Auth0.ManagementApi.Clients { /// <summary> /// Contains all the methods to call the /users endpoints. /// </summary> public interface IUsersClient ...
53.098837
184
0.621702
[ "MIT" ]
Vaskinn/auth0.net
src/Auth0.ManagementApi/Clients/IUsersClient.cs
9,135
C#
using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Web; namespace AdminApp.Libraries { /// <summary> /// 常用Http操作类集合 /// </summary> public class Ht...
28.613546
126
0.493317
[ "MIT" ]
berkerdong/NetEngine
AdminApp/Libraries/HttpHelper.cs
7,484
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.AwsN...
22.5
81
0.637037
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/FraudDetector/Outputs/EntityTypeTag.cs
675
C#
using Verse; namespace WaterworksMod { public abstract class CompWater : ThingComp { public CompProperties_Water Props => this.props as CompProperties_Water; } }
20.333333
80
0.715847
[ "Apache-2.0" ]
coder2000/WaterworksMod
Source/WaterworksMod/WaterworksMod/CompWater.cs
185
C#
using FactFactory.TestsCommon; using FactFactory.VersionedTests.CommonFacts; using FactFactory.VersionedTests.VersionedFactRuleCollection.Env; using GetcuReone.FactFactory.Entities; using GetcuReone.GetcuTestAdapter; using GetcuReone.GwtTestFramework.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; using S...
41.192982
141
0.629046
[ "Apache-2.0" ]
GetcuReone/FactFactory
FactFactory/VersionedFactFactory/FactFactory.VersionedTests/VersionedFactRuleCollection/VersionedFactRuleCollectionTests.cs
2,350
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Axe.Windows.Desktop.ColorContrastAnalyzer { public class Pixel { public int Row { get; private set; } public int Column { get...
28.75
102
0.587826
[ "MIT" ]
AdrianaDJ/axe-windows
src/Desktop/ColorContrastAnalyzer/Pixel.cs
558
C#
using Autofac; using JetBrains.Annotations; using Lykke.Common; using Lykke.Job.Staking.Settings; using Lykke.Job.Staking.Settings.JobSettings; using Lykke.RabbitMqBroker.Publisher; using MAVN.Service.NotificationSystem.SubscriberContract; using MAVN.Service.Staking.Contract.Events; using MAVN.Service.Staking.DomainSe...
42.783784
125
0.709413
[ "MIT" ]
HannaAndreevna/MAVN.Service.Staking
src/MAVN.Job.Staking/Modules/RabbitMqModule.cs
3,168
C#
using System.Runtime.InteropServices; using Microsoft.Git.CredentialManager.Interop.Posix.Native; namespace Microsoft.Git.CredentialManager.Interop.MacOS.Native { public static class Termios_MacOS { [DllImport("libc", CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)] public ...
37.235294
105
0.691943
[ "MIT" ]
Shegox/Git-Credential-Manager-Core
src/shared/Microsoft.Git.CredentialManager/Interop/MacOS/Native/termios_MacOS.cs
1,266
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Threading; using System.Threading.Tasks; using HttpMachine; using ISimpleHttpListener.Rx.Enum; using ISimpleHttpListener.Rx.Model; using SimpleHttpListener.Rx.Helper; u...
34.718085
123
0.512946
[ "MIT" ]
1iveowl/SimpleHttpListener.Rx
src/main/SimpleHttpListener.Rx/Parser/HttpStreamParser.cs
6,529
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1/policytagmanagerserialization.proto // </auto-generated> // Original file comments: // Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may...
65.075157
383
0.727824
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1/PolicytagmanagerserializationGrpc.g.cs
31,171
C#
using System.Threading; using Vapula; using Vapula.Runtime; namespace sample_lib_x { public class Sample { public void Math() { Stack stack = Stack.Instance; Dataset dataset = stack.Dataset; Record record = dataset[1]; Pointer pointer = new Point...
31.134328
57
0.45302
[ "Apache-2.0" ]
sartrey/vapula
Core/Sample/sample_library_x/Program.cs
2,104
C#
using Microsoft.eShopWeb.ApplicationCore.Interfaces; using System.Collections.Generic; using System.Linq; namespace Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate { public class Basket : BaseEntity, IAggregateRoot { public string BuyerId { get; private set; } private readonly List<BasketIt...
26.340909
83
0.695427
[ "MIT" ]
jesse-moore/eShopOnWeb
src/ApplicationCore/Entities/BasketAggregate/Basket.cs
1,161
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...
42.682927
165
0.651619
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/APIGateway/Generated/Model/Internal/MarshallTransformations/UpdateIntegrationResponseRequestMarshaller.cs
5,250
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.3603 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
34.612903
150
0.584343
[ "Apache-2.0" ]
haowenbiao/His6C-
Test/TestXmlizedAttribute/TestXmlizedAttribute/Properties/Settings.Designer.cs
1,075
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.Runtime; namespace System.ServiceModel.Channels { public abstract class BufferManager { ...
32.901786
135
0.59213
[ "MIT" ]
OceanYan/dotnet-wcf
src/System.Private.ServiceModel/src/System/ServiceModel/Channels/BufferManager.cs
3,685
C#
using System; namespace Xample.DeadCode.CSharp { static class Program { static void Main(params object[] args) { var x = new SimpleClass(); Console.Write(x.Method(8)); } } }
13.642857
40
0.659686
[ "MIT" ]
Corniel/DeadCode
xample/Xample.DeadCode.CSharp/Program.cs
193
C#
using AutoMapper; using Discount.Grpc.Entities; using Discount.Grpc.Protos; using Discount.Grpc.Repositories; using Grpc.Core; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Discount.Grpc.Services { public class Discou...
39.337838
158
0.678805
[ "MIT" ]
Mental-NV/AspnetMicroservices
src/Services/Discount/Discount.Grpc/Services/DiscountService.cs
2,913
C#
using NUnit.Framework; using static Yoga.Net.YGGlobal; namespace Yoga.Net.Tests { [TestFixture] public class YGDirtyMarkingTest { [Test] public void dirty_propagation() { YGNode root = YGNodeNew(); YGNodeStyleSetAlignItems(root, YGAlign.FlexStart); YGNodeStyleS...
37.703704
99
0.639817
[ "MIT" ]
brainzdev/Yoga.Net
Yoga.Net.Tests/YGDirtyMarkingTest.cs
6,108
C#
using System; using System.Collections.Generic; using System.Text; using Zoo.Interfaces; namespace Zoo.Classes { public class Nautilus : Cephalopod { public override int NumberOfTentacles { get; set; } = 90; public override string Habitat { get; set; } = "Tropical Indo-Pacific"; public...
28.403509
87
0.536751
[ "MIT" ]
Inkh/Zoo
Zoo/Classes/Nautilus.cs
1,621
C#
namespace InControl { // @cond nodoc [AutoDiscover] public class MogaHeroPowerAndroidProfile : UnityInputDeviceProfile { public MogaHeroPowerAndroidProfile() { Name = "Moga Hero Power"; Meta = "Moga Hero Power on Android"; DeviceClass = InputDeviceClass.Controller; IncludePlatforms = new[] { "...
23.09375
67
0.653586
[ "MIT" ]
BattlerockStudios/GGJ2019
Assets/InControl/Source/Unity/DeviceProfiles/MogaHeroPowerAndroidProfile.cs
2,217
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using System.Linq; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Test.Utilities; using Microsoft.CodeAnalysis.Text; using ...
42.627329
161
0.57107
[ "Apache-2.0" ]
Ashera138/roslyn
src/Workspaces/CoreTest/WorkspaceTests/AdhocWorkspaceTests.cs
27,454
C#
using System; using System.Collections; using System.Data; using System.Data.Common; using System.Collections.Generic; using Hades.Pager.Entity; using Hades.Framework.ControlUtil; using Hades.HR.Entity; namespace Hades.HR.IDAL { /// <summary> /// LaborLeaveWorkload /// </summary> public interface ILabor...
19.947368
72
0.746702
[ "Apache-2.0" ]
robertzml/Hades.HR
Hades.HR.Core/IDAL/Attendance/ILaborLeaveWorkload.cs
381
C#
namespace HackF5.UnitySpy.HearthstoneLib.Tests { using JetBrains.Annotations; using Microsoft.VisualStudio.TestTools.UnitTesting; // This needs to be run while Hearthstone is running [TestClass] public class TestHearthstoneLibApi { [PublicAPI] public TestContext TestContext { ge...
35.538462
118
0.637085
[ "MIT" ]
Manuel-777/unityspy
src/HackF5.UnitySpy.Tests/TestHearthstoneLibApi.cs
1,386
C#
public static partial class ToonLibrary { public static partial class Animations { public static class Walk { public const string Name = "Walk"; public const string ParentName = Idle.Name; public static class Events { public stati...
24.238095
87
0.532417
[ "MIT" ]
NatPlane/unity3d-little-heroes-script-addon
src/Little Heroes Script Addon/Animations/Walk.cs
509
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.Immutable; using System.Diagnostics; using Microsoft.CodeAnalysis.CSharp.Syn...
40.484536
122
0.572193
[ "MIT" ]
belav/roslyn
src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_BasePatternSwitchLocalRewriter.cs
3,929
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 ...
22.350877
63
0.684458
[ "Apache-2.0" ]
aliyun/aliyun-openapi-net-sdk
aliyun-net-sdk-companyreg/Companyreg/Model/V20200306/PutMeasureDataResponse.cs
1,274
C#
/* __ __ _ __ __ _ _ _ _ | \/ | | | | \/ (_) | | | (_) | \ / | __ _ _ __| | __ | \ / |_ ___| |__ __ _ ___| |_ ___ | |\/| |/ _` | '__| |/ / | |\/| | |/ __| '_ \ / _` |/ _ \ | / __| | | | | (_| | | | < | | | | | (__| | | | (_| | ...
40.772727
65
0.259755
[ "MIT" ]
BenjaminMichaelis/SpokaneNETUserGroupSamples
2020.11.10-CShap9/CSharp9/00-Intro.cs
897
C#
using UnityEngine; public class DebugMode : MonoBehaviour { int index = 0; float lastTime; public KeyCode[] phrase; public bool debugEnabled; void Update () { if (Input.GetKeyUp(phrase[index])) { print(phrase[index]); lastTime = Time.realtimeSinceStar...
17.257143
56
0.485099
[ "MIT" ]
sloan-gamedev-tutorials/manic-miner
Assets/Scripts/Debug/DebugMode.cs
606
C#
using System; using System.Collections.Generic; using System.Text; namespace SmallTalks.Core.Models { public class MatchData { public string SmallTalk { get; internal set; } public string Value { get; internal set; } public int? Index { get; internal set; } public int? Lenght {...
23.333333
54
0.648571
[ "MIT" ]
mregisd/smalltalks
SmallTalks/SmallTalks.Core/Models/MatchData.cs
352
C#
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace IdentityServerHost { public class ScopeViewModel { public string Name { get; set; } public string DisplayNa...
30.705882
107
0.649425
[ "MIT" ]
ardalis/TestSecureApiSample
IdentityServerHost/Quickstart/Consent/ScopeViewModel.cs
524
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using Microsoft; using NuGet.ProjectManagement; using NuGet.ProjectManagement.Projec...
34.677966
128
0.672532
[ "Apache-2.0" ]
0xced/NuGet.Client
src/NuGet.Clients/NuGet.VisualStudio.Internal.Contracts/ProjectContextInfo.cs
2,046
C#
/** * Copyright(c) Live2D Inc. All rights reserved. * * Use of this source code is governed by the Live2D Open Software license * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html. */ using Live2D.Cubism.Core; using Live2D.Cubism.Rendering; using UnityEngine; name...
33.857143
141
0.620253
[ "MIT" ]
NAJA5152/TouhouMachineLearning2022
Assets/Plugins/Live2D/Cubism/Framework/Json/CubismBuiltinPickers.cs
2,135
C#
using System; using System.Collections.Generic; namespace P4_ListasYNumeros { class Program { static void Main(string[] args) { Console.WriteLine(" "); //Inicialización del array string[] numeros = new string[5] {"1", "2", "3", "4", "5"}; //Mo...
23.306122
81
0.429947
[ "MIT" ]
RAMZ-66/P4_ListasYNumeros
Program.cs
3,437
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using SeoSchema; using SeoSchema.Enumerations; using SuperStructs; namespace SeoSchema.Entities { /// <summary> /// An airline flight. /// <see cref="https://schema.org/Flight"/> /// </summary> public class Flight...
51.504274
427
0.671922
[ "MIT" ]
jefersonsv/SeoSchema
src/SeoSchema/Entities/Flight.cs
6,028
C#
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.IO; using System.Linq; using Nuke.Common.IO; namespace Nuke.Common.Utilities { public class CustomFileWriter : IDisposable { private readonl...
28.58
108
0.603919
[ "MIT" ]
robsonj/common
source/Nuke.Common/Utilities/CustomFileWriter.cs
1,429
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public static class WinController { public static bool Win = false; public static bool Game1Done = false; }
18.909091
42
0.725962
[ "MIT" ]
Jiawen-Zhang/GGJ-W2020
Coronavania/Assets/Scripts/WinController.cs
210
C#
using UnityEngine; namespace RockVR.Common { /// <summary> /// Be aware this will not prevent a non singleton constructor /// such as `T myT = new T();` /// To prevent that, add `protected T () {}` to your singleton class. /// /// As a note, this is made as MonoBehaviour because we n...
38.142857
88
0.449438
[ "MIT" ]
adarshmelethil/TankTourney
Assets/RockVR/Common/Scripts/Singleton.cs
3,740
C#
using System; using CMS.UIControls; public partial class CMSFormControls_LiveSelectors_InsertImageOrMedia_Default : CMSLiveModalPage { protected string mBlankUrl = null; protected void Page_Load(object sender, EventArgs e) { mBlankUrl = ResolveUrl("~/CMSPages/blank.htm"); } ...
23
97
0.701863
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSFormControls/LiveSelectors/InsertImageOrMedia/Default.aspx.cs
324
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006-2019, All rights reserved. // The software and associated documentation supplied hereunder are the // propri...
42.579832
157
0.574896
[ "BSD-3-Clause" ]
MarketingInternetOnlines/Krypton-NET-5.480
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/View Layout/ViewLayoutContext.cs
5,070
C#
// ----------------------------------------------------------------------------- // 让 .NET 开发更简单,更通用,更流行。 // Copyright © 2020-2021 Furion, 百小僧, Baiqian Co.,Ltd. // // 框架名称:Furion // 框架作者:百小僧 // 框架版本:2.8.9 // 源码地址:Gitee: https://gitee.com/dotnetchina/Furion // Github:https://github.com/monksoul/Furion // 开源协...
28.571429
81
0.463333
[ "Apache-2.0" ]
jakinchan/Furion
framework/Furion.Pure/Logging/Internal/Logging.cs
717
C#
namespace WaterAddition.UI.Pages.Main { public partial class MainPage : BasePage { public MainPage () { InitializeComponent (); } } }
13.272727
41
0.684932
[ "MIT" ]
Porodin/WaterAddition
WaterAddition/UI/Pages/Main/MainPage.xaml.cs
146
C#
#region Header /** * JsonWriter.cs * Stream-like facility to output JSON text. * * The authors disclaim copyright to this source code. For more details, see * the COPYING file included with this distribution. **/ #endregion using System; using System.Collections.Generic; using System.Globalization; using Syst...
25.595388
83
0.460562
[ "MIT" ]
AndrewMSHowe/unity-sdk
CotcSdk/Libs/LitJson/JsonWriter.cs
12,209
C#
#region BSD License /* * * Original BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) * © Component Factory Pty Ltd, 2006 - 2016, (Version 4.5.0.0) All rights reserved. * * New BSD 3-Clause License (https://github.com/Krypton-Suite/Standard-Toolkit/blob/master/LICENSE) * ...
40.139442
122
0.581241
[ "BSD-3-Clause" ]
cuteofdragon/Standard-Toolkit
Source/Krypton Components/Krypton.Toolkit/View Draw/ViewDrawSeparator.cs
10,078
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HighScores : MonoBehaviour { public Text[] scores = new Text[10]; // Start is called before the first frame update void Start() { for (int i = 1; i <= 10; i++) { ...
21.92
93
0.514599
[ "MIT" ]
yunus-topal/unityBabySteps
BasicMath/Assets/Scripts/HighScores.cs
550
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: AssemblyTit...
38.810811
85
0.727716
[ "MIT" ]
giuliobosco/CsharpSAMT
01-LearnMVVM/08 CoffeeShop.DA/Properties/AssemblyInfo.cs
1,439
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 no...
35.55814
129
0.703728
[ "Apache-2.0" ]
ThinkGeo/GIS-Editor
MapSuiteGisEditor/GisEditorPluginCore/Shares/Converters/ImageSourceToImageBrushConverter.cs
1,529
C#
using System; using System.Threading.Tasks; using AutoMapper; using EMS.Events; using HotChocolate; using HotChocolate.Execution; using Microsoft.EntityFrameworkCore; using EMS.EventVerification_Services.API.Context; using EMS.EventVerification_Services.API.Controllers.Request; using EMS.TemplateWebHost.Customization.E...
39.467742
201
0.644871
[ "MIT" ]
EventMS/EMS
src/Services/EventVerification/EventVerification.API/GraphQlQueries/EventVerificationMutations.cs
2,447
C#
// Copyright (c) 2014-2018 The Khronos Group Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and/or associated documentation files (the "Materials"), // to deal in the Materials without restriction, including without limitation // the rights to use, copy, mod...
30.73092
132
0.499315
[ "Apache-2.0" ]
10088/filament
third_party/spirv-tools/external/spirv-headers/include/spirv/1.2/spirv.cs
31,407
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...
26.625
101
0.595775
[ "Apache-2.0" ]
orinem/aws-sdk-net
sdk/src/Services/SimpleNotificationService/Generated/AmazonSimpleNotificationServiceConfig.cs
2,130
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("07...
38.081081
84
0.74308
[ "MIT" ]
VelislavLeonov/Telerik-Akademy
HomeworkMethods/07. Reverse number/Properties/AssemblyInfo.cs
1,412
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LeetCode.Test { [TestClass] public class _0452_MinimumNumberOfArrowsToBurstBalloons_Test { [TestMethod] public void FindMinArrowShots_1() { var solution = new _0452_MinimumNumberOfArrowsToBurstBalloons(); ...
30.884058
76
0.486626
[ "MIT" ]
BigEggStudy/LeetCode-CS
LeetCode.Test/0451-0500/0452-MinimumNumberOfArrowsToBurstBalloons-Test.cs
2,131
C#
namespace NServiceKit.Common.Tests.Models { /// <summary>A model with long identifier and string fields.</summary> public class ModelWithLongIdAndStringFields { /// <summary>Gets or sets the identifier.</summary> /// <value>The identifier.</value> public long Id { get; set; } /// <summa...
34.454545
74
0.631926
[ "BSD-3-Clause" ]
azraelrabbit/NServiceKit.OrmLite
tests/NServiceKit.OrmLite.Tests/Shared/ModelWithLongIdAndStringFields.cs
758
C#
using System.Collections.Generic; using System.Threading.Tasks; using Abp.Application.Features; using Abp.Application.Navigation; using Abp.Authorization; using Abp.Configuration; using Abp.Configuration.Startup; using Abp.Localization; using Abp.Runtime.Session; using Abp.Timing; using Abp.Timing.Timezone; using Abp.W...
38.829352
136
0.597785
[ "MIT" ]
Aytekin/aspnetboilerplate
src/Abp.Web.Common/Web/Configuration/AbpUserConfigurationBuilder.cs
11,377
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...
43
138
0.733615
[ "MIT" ]
UE4DotNet/Plugin
DotNet/DotNet/UE4/Generated/BlueprintGraph/K2Node_LoadAssetClass.cs
1,419
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Swr.V2.Model { /// <summary> /// Request Object /// </summary> public ...
33.368852
98
0.50872
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Swr/V2/Model/ListRetentionHistoriesRequest.cs
4,315
C#
// This file is subject to the MIT License as seen in the root of this folder structure (LICENSE) using UnityEngine; namespace Crest { [CreateAssetMenu(fileName = "SimSettingsFoam", menuName = "Crest/Foam Sim Settings", order = 10000)] public class SimSettingsFoam : SimSettingsBase { [Range(0f, 5...
44.772727
104
0.684264
[ "MIT" ]
Rbn3D/crest-oceanrender
src/unity/Assets/Crest/Scripts/Simulation/Settings/SimSettingsFoam.cs
987
C#
/** * $File: JCS_ButtonSoundEffect.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using UnityEngine; using System.Collections; using UnityEngine.EventSystems; na...
41.748555
187
0.615022
[ "MIT" ]
edwin-channel/JCSUnity
Assets/JCSUnity/Scripts/Effects/JCS_ButtonSoundEffect.cs
14,447
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...
53.991987
225
0.65614
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/Network/V20200301/ApplicationGateway.cs
33,691
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> //---...
41.958333
80
0.656405
[ "MIT" ]
g-aleprojetos/DIO
Bootcamps/Everis New Talents - dotnet/DesafiosAvancadosEmCSharp/CoodenadasDeUmPonto/obj/Debug/net5.0/CoodenadasDeUmPonto.AssemblyInfo.cs
1,007
C#
using System; namespace FizzyBuzz { public class Program { static void Main(string[] args) { for (Number number = new Number(1); number <= 100; number++) { if (number.IsMod3() && number.IsMod5()) { Console.WriteLine("FizzBuzz"); } else if (number.IsMod3()) { Console.WriteLine...
15.212121
63
0.551793
[ "MIT" ]
gilbertgeorge/fizzybuzz
FizzyBuzz/FizzyBuzz/Program.cs
504
C#
namespace FactoryPattern { public abstract class PizzaFactory { public abstract Pizza CreatePizza(); } }
15.75
44
0.666667
[ "MIT" ]
PhilShishov/Design-Patterns
CreationalDesignPatterns/FactoryPattern/PizzaFactory.cs
128
C#
using System; namespace PuertsStaticWrap { public static class UnityEngine_LightProbes_Wrap { [Puerts.MonoPInvokeCallback(typeof(Puerts.V8ConstructorCallback))] private static IntPtr Constructor(IntPtr isolate, IntPtr info, int paramLen, long data) { try ...
43.557746
214
0.520856
[ "MIT" ]
HFX-93/luban_examples
Projects/TypeScript_Unity_Puerts_Bin/Assets/Gen/UnityEngine_LightProbes_Wrap.cs
15,465
C#
#if !NETSTANDARD13 /* * 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 ...
32.9
102
0.667933
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoT/Generated/Model/_bcl45+netstandard/IListPolicyPrincipalsPaginator.cs
1,316
C#
// This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.Text; using Silk.NET.Core.Native; using Ultz.SuperInvoke; #pragma warning disable 1591 namespace S...
29.87234
86
0.688746
[ "MIT" ]
AzyIsCool/Silk.NET
src/Vulkan/Silk.NET.Vulkan/Structs/SubpassDescriptionDepthStencilResolve.gen.cs
1,404
C#
namespace Shopping_cart.Authorization.Accounts.Dto { public class IsTenantAvailableOutput { public TenantAvailabilityState State { get; set; } public int? TenantId { get; set; } public IsTenantAvailableOutput() { } public IsTenantAvailableOutput(TenantAvailabil...
22.3
91
0.605381
[ "MIT" ]
vishnupriya55/Shopping_cart
aspnet-core/src/Shopping_cart.Application/Authorization/Accounts/Dto/IsTenantAvailableOutput.cs
446
C#
#region PDFsharp - A .NET library for processing PDF // // Authors: // Stefan Lange // // Copyright (c) 2005-2019 empira Software GmbH, Cologne Area (Germany) // // http://www.pdfsharp.com // http://sourceforge.net/projects/pdfsharp // // Permission is hereby granted, free of charge, to any person obtaining a // copy...
34.245283
77
0.687603
[ "MIT" ]
0xced/PDFsharp
src/PdfSharp/Pdf.IO/enums/PasswordValidity.cs
1,815
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cosmos { /// <summary> /// 网络模块定义的常量; /// </summary> public class NetworkConstant { /// <summary> /// 秒级别; /// 1代表1秒; /// </summary> ...
21.242424
48
0.513552
[ "MIT" ]
DonHitYep/CosmosFramework
Assets/CosmosFramework/Runtime/Modules/Network/Base/NetworkConstant.cs
769
C#
/** * Copyright 2017-2020 Plexus Interop Deutsche Bank AG * SPDX-License-Identifier: Apache-2.0 * * 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/...
27.157895
75
0.660853
[ "ECL-2.0", "Apache-2.0" ]
brntbeer/plexus-interop
desktop/src/Plexus.Utils/Latch.cs
1,032
C#
namespace soen390_team01.Data.Exceptions { public class NotFoundException : DataAccessException { public NotFoundException(string entity, string identifier, string value) : base("Non existent entity", BuildMessage(entity, identifier, value)) {} private static string BuildMe...
34.785714
90
0.640657
[ "MIT" ]
jshoyos/soen390-team01
soen390-team01/soen390-team01/Data/Exceptions/NotFoundException.cs
489
C#
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6365, generator: {generator}) // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Commvault.Powershell.Models { using Commvault.Powershell.Runtime.PowerShell; /// <summary> /// A PowerShell...
50.186207
200
0.597087
[ "MIT" ]
Commvault/CVPowershellSDKV2
generated/api/Models/PlanBackupDestinationResp.TypeConverter.cs
7,277
C#
//C6#CPE001 //C5#43121 //Description: Adds the ISSN to the periodical name or replaces the periodical name for the ISSN //Version: 2.1 //Version 2.1 changed options to that component can also be suppressed altogether if there is no ISSN for a given Journal // therefore we now have the options (output modes) Append...
27.864078
174
0.693206
[ "MIT" ]
Citavi/C6-Citation-Style-Scripts
Components/CPE Periodical/CPE001 Add ISSN to journal name or replace with ISSN/CPE001_Add_ISSN_to_journal_name_or_replace_with_ISSN.cs
5,740
C#
// // Author: B4rtik (@b4rtik) // Project: RedPeanut (https://github.com/b4rtik/RedPeanut) // License: BSD 3-Clause // using System; using System.Net; using static RedPeanut.Models; using static RedPeanut.Utility; namespace RedPeanut { public static class Replacer { public static string ReplaceAgentP...
39.639024
165
0.503323
[ "BSD-3-Clause" ]
FDlucifer/RedPeanut
Modules/Launchers/Replacer.cs
8,128
C#
#if CSHARP_7_OR_LATER #pragma warning disable CS1591 // Missing XML comment for publicly visible type or member using UniRx.Async.Internal; using UnityEngine; using UnityEngine.EventSystems; namespace UniRx.Async.Triggers { [DisallowMultipleComponent] public class AsyncUpdateSelectedTrigger : MonoBehaviour, ...
29.107143
125
0.736196
[ "MIT" ]
ryo0ka/MinAR
Assets/Plugins/UniRx/Scripts/Async/Triggers/AsyncUpdateSelectedTrigger.cs
817
C#
using System; using System.Collections.Generic; namespace AdventOfCode._6 { public class Vertex : IEquatable<Vertex> { private readonly ISet<Vertex> _outEdges = new HashSet<Vertex>(); public Vertex(string id) { Id = id; } public string Id { get; } ...
23.573529
83
0.50655
[ "MIT" ]
joao-r-reis/advent-of-code
csharp/AdventOfCode/6/Vertex.cs
1,605
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Text; using System.Linq; using System.Collections.Generic; using Bioinformatics; using Bioinformatics.Algorithms; namespace BioTest { [TestClass] public class MotifMediumTests { [TestMethod] public void MotifMed...
37.172414
85
0.642857
[ "Unlicense", "MIT" ]
andweller/bioinformatics
BioTest/Motif/MotifMediumTests.cs
4,314
C#
using BinarySerializer; namespace R1Engine { public class LUDI_Video : LUDI_BaseBlock { public uint Width { get; set; } public uint Height { get; set; } public uint Speed { get; set; } public uint FrameCount { get; set; } public uint[] FrameOffsets { get; set; } pub...
50.617647
153
0.565369
[ "MIT" ]
Adsolution/Ray1Map
Assets/Scripts/DataTypes/GBC/LUDI/LUDI_Video.cs
1,723
C#
using Obsidian.Domain; using Obsidian.Domain.Repositories; using Obsidian.Persistence.Repositories; using System; using System.Threading.Tasks; using Xunit; namespace Obsidian.Persistence.Test.Repositories { public class UserMongoRepositoryTest : MongoRepositoryTest<User> { protected override User Cre...
33.072727
127
0.642111
[ "Apache-2.0" ]
TheCashiers/Obsidian
test/Obsidian.Persistence.Test/Repositories/UserMongoRepositoryTest.cs
1,821
C#
using System; namespace AkkaPrismUnityDemo.Modules.Stocks.ActorModels.Messages { internal sealed class RemoveChartSeriesMessage { /// <summary> /// The constructor. /// </summary> /// <param name="stockSymbol"></param> public RemoveChartSeriesMessage( string stockSymbol ) { this.StockSymbol = stockSym...
18.73913
66
0.679814
[ "Apache-2.0" ]
forki/AkkaPrismUnityDemo
AkkaPrismUnityDemo.Modules.Stocks/ActorModels/Messages/RemoveChartSeriesMessage.cs
433
C#
using System.Diagnostics.CodeAnalysis; using System.Web.Mvc.Async; namespace System.Web.Mvc { [SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes", Justification = "Unsealed so that subclassed types can set properties in the default constructor.")] [AttributeUsage(AttributeTargets.Class ...
34.071429
180
0.6471
[ "Apache-2.0" ]
douchedetector/mvc-razor
src/System.Web.Mvc/AsyncTimeoutAttribute.cs
1,433
C#
using System; using System.Diagnostics; using System.IO; using System.Numerics; namespace _18_CornellBoxHittableLight { public class Program { public static Diffuse_light lightMaterial; public static Hitable_List Cornell_box(out Camera cam, float aspect) { Hitable_List obj...
42.388158
154
0.525842
[ "MIT" ]
Jorgemagic/RaytracingTheRestOfYourLife
18-CornellBoxHittableLight/Program.cs
6,445
C#
using System; using System.Diagnostics; using System.Threading.Tasks; namespace syp.biz.Core.Extensions { /// <summary> /// A collection of diagnostics extension methods /// </summary> public static class DiagnosticsExtensions { /// <summary> /// Measures the duration it takes to p...
39.282443
126
0.54178
[ "Apache-2.0" ]
sypbiz/core
syp.biz.Core/Extensions/DiagnosticsExtensions.cs
5,148
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 ...
26.110092
134
0.670766
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-sgw/Sgw/Model/V20180511/OperateGatewayRequest.cs
2,846
C#
using Agathas.Storefront.Controllers.ActionArguments; using Agathas.Storefront.Infrastructure.Authentication; using Agathas.Storefront.Infrastructure.CookieStorage; using Agathas.Storefront.Infrastructure.Domain.Events; using Agathas.Storefront.Infrastructure.Logging; using Agathas.Storefront.Infrastructure.Payme...
48.414634
126
0.62351
[ "MIT" ]
codeyu/ASPNETCore-Design-Patterns
ASPPatterns.allcode/ASPPatterns14/Agathas.Storefront - VS 2010/Agathas.Storefront.UI.Web.MVC/BootStrapper.cs
5,957
C#
using Lucene.Net.Store; using Lucene.Net.Util; using System; using System.Diagnostics; using System.IO; namespace Lucene.Net.Codecs.Bloom { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for ...
46.12012
183
0.598581
[ "Apache-2.0" ]
Ref12/lucenenet
src/Lucene.Net.Codecs/Bloom/FuzzySet.cs
15,358
C#
using Chameleon.Domain; using Chameleon.Entity; using Chameleon.Repository; using Chameleon.ValueObject; using MongoDB.Bson; using MongoDB.Driver; using Newtonsoft.Json.Linq; using SevenTiny.Bantina; using System; using System.Collections.Generic; using System.Linq; namespace Chameleon.Application { public interf...
45.167082
629
0.636042
[ "MIT" ]
sevenTiny/Chameleon
Code/Chameleon.Application/DataAccessApp.cs
19,054
C#
using BlazorInputFile; namespace Frontend.Models { public class Image { public int Id { get; set; } public string ImageDataURL { get; set; } public IFileListEntry ImageFile { get; set; } public string ImageURL { get; set; } public bool IsDefault { get; set; } pu...
25.714286
53
0.6
[ "MIT" ]
PGBSNH19/project-grupp-5-1
Frontend/Models/Image.cs
362
C#
using BusinessAccessLayer; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace E_Commerce_Site.UI { public partial class Index : System.Web.UI.MasterPage { public int flag =...
31.493151
100
0.508047
[ "MIT" ]
78526Nasir/E-Commerce-Site
E-Commerce Site/UI/Index.Master.cs
2,301
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; using Azure.Storage.Blobs.Models; using Metadata = System.Collections.Generic.IDictionary<st...
46.197588
141
0.571334
[ "MIT" ]
AzureDataBox/azure-sdk-for-net
sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs
49,803
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...
59.450704
183
0.780147
[ "ECL-2.0", "Apache-2.0" ]
Otanikotani/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleStatementOrStatementStatementNotStatementStatementNotStatementStatementXssMatchStatementFieldToMatch.cs
4,221
C#
/* Copyright(c) 2009, Stefan Simek Copyright(c) 2016, Vladyslav Taranov 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 without limitation the rights to...
27.638095
130
0.7357
[ "MIT" ]
AqlaSolutions/runsharp
RunSharpShared/FieldGen.cs
5,804
C#
using Microsoft.Xna.Framework; using System.ComponentModel; using Terraria.ModLoader.Config; // This file defines custom data type that represents Gradient data type that can be used in ModConfig classes. namespace ExampleMod.Common.Configs.CustomDataTypes { public class Gradient { [Tooltip("The color the gradien...
32.071429
132
0.719376
[ "MIT" ]
blushiemagic/tModLoader
ExampleMod/Common/Configs/CustomDataTypes/Gradient.cs
900
C#
using MySocketServerTool.RequestInfo; using MySocketServerTool.Session; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase.Protocol; namespace MySocketServerTool.Command { public class FinsRWData : CommandBase<FinsSession, FinsTcpRequestInfo> { public override void ExecuteCommand(FinsS...
36.777778
119
0.732628
[ "Apache-2.0" ]
YAOZZJ/LTSProject
LTSProject/MySocketServerTool/Command/FinsRWData.cs
664
C#
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
40.263158
129
0.620261
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/iam/admin/v1/google-cloud-iam-admin-v1-csharp/Google.Cloud.Iam.Admin.V1.StandaloneSnippets/IAMClient.QueryTestablePermissionsRequestObjectSnippet.g.cs
3,060
C#
using System; using System.Collections.Generic; using UnityEditor.Animations; using UnityEngine; using VRC.SDK3.Avatars.Components; using VRC.SDKBase; namespace Hai.ComboGesture.Scripts.Editor.Internal.Reused { internal class Machinist { private readonly AnimatorStateMachine _machine; private ...
34.536697
156
0.606521
[ "MIT" ]
SpiralP/combo-gesture-expressions-av3
Assets/Hai/ComboGesture/Scripts/Editor/Internal/Reused/HaiMachinist.cs
15,060
C#
using System; using UnityEngine; using UnityEngine.Experimental.PlayerLoop; namespace Components { public class Spinning : MonoBehaviour { public Vector3 Speed; private void Update() { transform.Rotate(Speed * Time.deltaTime); } } }
18.625
53
0.61745
[ "MIT" ]
MouradZzz/TankArena
Assets/Scripts/Components/Spinning.cs
300
C#
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated> using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace WebApplication.API.Models.Northwind; [Table("order_details", Schem...
29.96875
96
0.692388
[ "MIT" ]
mehmetuken/AutoFilterer
sandbox/WebApplication.API/Models/Northwind/OrderDetail.cs
961
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> //--...
38.614035
178
0.554521
[ "MIT" ]
Mattlk13/SevenZipExtractor
SevenZipExtractor.Tests/TestFiles.Designer.cs
4,404
C#