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 UnityEngine; namespace SS3D.Engine.Inventory { [Serializable] public struct ItemSupply { [SerializeField] private ItemSupplyType type; [SerializeField] private int drainRate; [SerializeField] private int maxSupply; [SerializeField] private int currentSupp...
29.46875
95
0.640509
[ "MIT" ]
CrazyMalk/SS3D
Assets/Engine/Inventory/ItemSupply.cs
943
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.1 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
38.273418
206
0.564757
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
archive/Changesets/beta/Source/BioExcel-48099/MBT_BioExcel/BioExcel.Visualizations.Common/Properties/Resources.Designer.cs
15,120
C#
using System; using System.Collections.Generic; using System.Diagnostics; using WaveEngine.Common.Graphics; using WaveEngine.Framework; using WaveEngine.Framework.Graphics; using WaveEngine.Framework.Services; using WaveEngine.Web; using WaveEngine.WebGL; using WebAssembly; namespace BetiJaiDemo.Web { public class...
37.06
112
0.608473
[ "MIT" ]
gabrielgt/WaveEngine.Web.Learning
BetiJaiDemo.Web/Program.cs
3,706
C#
//========= Copyright 2016-2021, HTC Corporation. All rights reserved. =========== using UnityEngine; using UnityEngine.EventSystems; namespace HTC.UnityPlugin.Pointer3D { public interface ICanvasRaycastTarget { Canvas canvas { get; } bool enabled { get; } bool ignoreReversedGraphics ...
29.925
129
0.642439
[ "MIT" ]
CharlesCai123/Wearable-MultiCamera-System
Assets/HTC.UnityPlugin/Pointer3D/RaycastMethod/CanvasRaycastTarget.cs
1,199
C#
using System.Linq.Expressions; using Komair.Expressions.Abstract; using Komair.Expressions.Mapping.Mapster.Configuration.Mappers.Expression.Abstract; using Mapster; namespace Komair.Expressions.Mapping.Mapster.Configuration.Mappers.Expression { internal class BinaryExpressionMapper : ExpressionMapperBase<B...
37.074074
105
0.66034
[ "MIT" ]
Yuck/Komair.Expressions.Serialization
src/Komair.Expressions.Mapping.Mapster/Configuration/Mappers/Expression/BinaryExpressionMapper.cs
1,003
C#
/*$ preserve start $*/ /* ========================================================================================== */ /* FMOD Ex - DSP header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2008. */ /* */ /* Use...
51.455137
299
0.619803
[ "BSD-2-Clause" ]
IndiegameGarden/Goatic
TTengine/MusicEngine/FMOD/fmod_dsp.cs
39,569
C#
// MIT License - Copyright (c) Callum McGing // This file is subject to the terms and conditions defined in // LICENSE, which is part of this source code package using System; using LibreLancer; using System.Runtime.InteropServices; using ImGuiNET; namespace LibreLancer.ImUI { public class ImGuiExt { ...
38.547945
160
0.58209
[ "MIT" ]
lyzardiar/Librelancer
src/Editor/LibreLancer.ImUI/ImGuiExt.cs
2,816
C#
using System; using System.Threading.Tasks; using Windows.Storage; using Windows.Media; using Windows.Graphics.Imaging; using Windows.Storage.Streams; namespace VGG19_Console_Demo_CS { class ImageNetClassList { public string[] classList { get; set; } public ImageNetClassList() { ...
290.151515
24,715
0.708094
[ "MIT" ]
nkgami/WindowsML-VGG19-Samples
Samples/VGG19_Console_Demo_CS/VGG19_Console_Demo_CS/Program.cs
28,727
C#
using System; using System.Net; using System.Web; using Sitecore.Configuration; using Sitecore.Pipelines; using Sitecore.Pipelines.HttpRequest; using Sitecore.SecurityModel; using Sitecore.Sites; using Unicorn.Configuration; using Unicorn.ControlPanel.Pipelines.UnicornControlPanelRequest; using Unicorn.ControlPanel.Re...
31.945652
145
0.761824
[ "MIT" ]
jorrit/Unicorn
src/Unicorn/ControlPanel/UnicornControlPanelPipelineProcessor.cs
2,941
C#
using Microsoft.AspNetCore.Http; using System.Collections.Generic; namespace NRLS_APITest.Data { public class HttpContexts { public static HttpContext Valid_Create_Pointer { get { var context = new DefaultHttpContext(); context.Request.Sc...
39.714286
132
0.544964
[ "Apache-2.0" ]
elementechemlyn/nrls-reference-implementation
NRLS-API/NRLS-APITest.Data/HttpContexts.cs
3,338
C#
using System; using System.Collections.Generic; using Xunit; namespace Coresian.UnitTests.Extensions { public class EnumerableTExtensionsUnitTests { [Theory, AutoNSubstituteData] public void ForEachWorks(List<string> enumerable) { var result = new List<string>();...
31.344828
82
0.575358
[ "MIT" ]
CodeConceptsUk/Coresian
Coresian.UnitTests/Extensions/EnumerableTExtensionsUnitTests.cs
911
C#
namespace Simple.OData.Client.Tests { public class Activity { public long Id { get; set; } public string Number { get; set; } public string Title { get; set; } public Option Option { get; set; } public Ticket Ticket { get; set; } } public class Ticket { ...
18.516129
47
0.538328
[ "MIT" ]
BISmb/Simple.OData.Client
src/Simple.OData.Client.UnitTests/Entities/Activity.cs
576
C#
using Microsoft.Phone.Shell; using PushSDK; using WPCordovaClassLib.Cordova; using WPCordovaClassLib.Cordova.Commands; using WPCordovaClassLib.Cordova.JSON; namespace Cordova.Extension.Commands { public class PWTags : BaseCommand { private static NotificationService NotificationService ...
32.5
176
0.691026
[ "MIT" ]
hossain-rayhan/push-notifications-sdk
SDK Sample Projects/WP8-Phonegap/WP8-Phonegap/Plugins/PushWoosh/PWTags.cs
782
C#
using OpenQA.Selenium; using System; using System.Collections.Generic; namespace Yandex.HtmlElements.Elements { public class Radio : TypifiedElement { public Radio(IWebElement element) : base(element) { } public IList<IWebElement> GetButtons() { String ...
27.677419
117
0.465812
[ "Apache-2.0" ]
HardNorth/htmlelements-dotnet
HtmlElements-dotNet/Elements/Radio.cs
2,576
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace CleanArchitecture.Blazor.Application.Features.Wallets.Commands.Delete; public class DeleteWalletCommandValidator : AbstractValidator<DeleteWalletCommand> { public Del...
35.08
98
0.745724
[ "Apache-2.0" ]
jccirs09/CleanArchitectureWithBlazorServer
src/Application/Features/Wallets/Commands/Delete/DeleteWalletCommandValidator.cs
879
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using NLog; namespace Example.Mvc4.Net45.Controllers { public class HomeController : Controller { public ActionResult Index() { var logger = LogManager.GetCurrentClassLogger()...
26.538462
97
0.522464
[ "MIT" ]
sorenhl/Glimpse.NLog
Example.Mvc4.Net45/Controllers/HomeController.cs
1,382
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...
33.395349
136
0.622214
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/DeleteInstanceRequest.cs
2,872
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. // to COM components. If yo...
37.12
84
0.742457
[ "MIT" ]
AJH16/tokenizer
Tokenizer.Tests/Properties/AssemblyInfo.cs
930
C#
using Autofac; using Autofac.Extras.DynamicProxy; using LiberisLabs.DogStatsD.Interceptors; namespace LiberisLabs.DogStatsD.FunctionalTests { public class TestServiceFactory { public ITestService Create() { var builder = new ContainerBuilder(); builder.RegisterType<Dog...
24.678571
60
0.620839
[ "MIT" ]
LiberisLabs/DogStatsD.Interceptors
src/LiberisLabs.DogStatsD.FunctionalTests/TestServiceFactory.cs
693
C#
using System.Collections.Generic; using System.Linq; using System.Security.Claims; using Abp.Extensions; namespace Ranallo.DocKeeper.Identity { public class ExternalLoginInfoHelper { public static (string name, string surname) GetNameAndSurnameFromClaims(List<Claim> claims) { strin...
34.339623
99
0.484615
[ "MIT" ]
alejsouza/DocKeeper
aspnet-core/src/Ranallo.DocKeeper.Web.Core/Identity/ExternalLoginInfoHelper.cs
1,822
C#
/// <summary> /// 任务处理,一般用在回调中 /// </summary> public class Task { /// <summary> /// 任务处理的代理 /// </summary> public delegate void taskFunc(object para, object[] list); private taskFunc cb; private object para; public Task(taskFunc cb) { this.cb = cb; } public Task(taskFunc cb, objec...
15.060606
60
0.561368
[ "MIT" ]
741645596/Lab
Assets/Scripts/dependence/Task.cs
545
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Collections.Generic; using Azure.Core; namespace Azure.ResourceManager.Network.Models { /// <summary> Result of the request to list VpnGateways. It contains a list ...
36.405405
156
0.662212
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ListVpnGatewaysResult.cs
1,347
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.IO; using System.Threading.Tasks; using Microsoft.Diag...
38.569892
127
0.627265
[ "MIT" ]
swift-kim/clrmd
src/Microsoft.Diagnostics.Runtime.Tests/src/BinaryLocatorTests.cs
3,589
C#
using Tyr.Agents; namespace Tyr.StrategyAnalysis { public class SporeCrawler : Strategy { private static SporeCrawler Singleton = new SporeCrawler(); public static Strategy Get() { return Singleton; } public override bool Detect() { ret...
22.96
156
0.609756
[ "MIT" ]
kblood/TyrSc2
Tyr/StrategyAnalysis/SporeCrawler.cs
576
C#
using System.Collections.Generic; namespace Demo.Entity { public class Role : BaseEntity { public string Name { get; set; } public string Description { get; set; } public List<Permission> Permissions { get; set; } } }
21.333333
57
0.628906
[ "MIT" ]
trungnguyendlu/demo-asp-net-core
Demo.Entity/Role.cs
258
C#
using NUnit.Framework; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; [TestFixture] public class Perf7 { [TestCase] public void ChangePriority_ThreadExecutor_ShouldWorkFast() { //Arange const int items = 100_000; IScheduler executor =...
34.461538
114
0.614583
[ "Apache-2.0" ]
KostadinovK/Data-Structures
12-Exam-Prep/Exam-20.05.2018/01-Scheduler/ThreadExecutorTest/Performance/Perf7.cs
2,690
C#
using System.Reflection; namespace UnityEditor.ShaderGraph { [Title("Math", "Round", "Truncate")] public class TruncateNode : CodeFunctionNode { public TruncateNode() { name = "Truncate"; } public override string documentationURL { get { retu...
23.805556
103
0.576429
[ "BSD-2-Clause" ]
1-10/VisualEffectGraphSample
GitHub/com.unity.shadergraph/Editor/Data/Nodes/Math/Round/TruncateNode.cs
857
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace TrackIt.UI.Controllers { public class PortalController : Controller { // GET: Portal public ActionResult Index() { return View(); } } }
18.235294
46
0.625806
[ "MIT" ]
rolfintatu/trackIt
src/TrackIt.UI/Controllers/PortalController.cs
312
C#
using Gestionale.Pages; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Gestionale.Data { public class Iscrizione { [Key] public int Id { get; set; } public DateTime DataIscrizione {...
23.448276
75
0.616176
[ "MIT" ]
FITSTIC/Hackathon_Team1_19_21
Gestionale/Gestionale/Data/Iscrizione.cs
682
C#
using System.Text.Json.Serialization; namespace Essensoft.Paylink.Alipay.Domain { /// <summary> /// KoubeiCateringDishDictionaryQueryModel Data Structure. /// </summary> public class KoubeiCateringDishDictionaryQueryModel : AlipayObject { /// <summary> /// 业务字典类型. 定义如下: catetory 分...
31.707317
206
0.604615
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Domain/KoubeiCateringDishDictionaryQueryModel.cs
1,542
C#
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Squadron; namespace HotChocolate.Data.Projections.Spatial { public class DatabaseContext<T> : DbContext where T : class { private readonly PostgreSqlResource<PostgisConfig> _resource; private readonly string _databaseName;...
27.435897
95
0.616822
[ "MIT" ]
AccountTechnologies/hotchocolate
src/HotChocolate/Spatial/test/Data.Projections.SqlServer.Tests/DatabaseContext.cs
1,070
C#
using System; using cm = System.ComponentModel.DataAnnotations; namespace Bb.OptionServer.Repositories.Tables { [cm.Schema.Table("Environment", Schema = "dbo")] public class EnvironmentTable : IPrimaryTable { public EnvironmentTable() { _mapping = DtoSqlManager.GetMapping(GetT...
34.047619
135
0.637063
[ "Apache-2.0" ]
Moleculars/OptionServer
Src/OptionServer/Black.Beard.OptionServer/Repositories/Tables/EnvironmentTable.cs
1,432
C#
/* _BEGIN_TEMPLATE_ { "id": "GILA_BOSS_54e", "name": [ "同化效应", "Assimilation" ], "text": [ "法力值消耗减少(1)点。", "Cost reduced by (1)." ], "cardClass": "NEUTRAL", "type": "ENCHANTMENT", "cost": null, "rarity": null, "set": "GILNEAS", "collectible": null, "dbfId": 49030 } _END_TEMPLATE_...
15.037037
41
0.566502
[ "MIT" ]
chi-rei-den/Silverfish
cards/GILNEAS/GILA/Sim_GILA_BOSS_54e.cs
436
C#
using N8T.Core.Domain; using N8T.Infrastructure.EfCore; namespace ProductService.Infrastructure.Data { public class Repository<TEntity> : RepositoryBase<MainDbContext, TEntity> where TEntity : EntityBase, IAggregateRoot { public Repository(MainDbContext dbContext) : base(dbContext) { } ...
25.230769
120
0.719512
[ "MIT" ]
Aharonyan-Narek/clean-architecture-dotnet
samples/Product/ProductService.Infrastructure/Data/Repository.cs
328
C#
/************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is p...
35.195489
135
0.708609
[ "Apache-2.0" ]
dadadau/LeapMotionCoreAssets
Assets/OVR/Moonlight/Scripts/OVROverlay.cs
4,683
C#
// <copyright file="TestConsumer.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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.o...
33.2
75
0.72992
[ "Apache-2.0" ]
Austin-Tan/opentelemetry-dotnet-contrib
test/OpenTelemetry.Contrib.Instrumentation.MassTransit.Tests/TestConsumer.cs
998
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Boligrafos; namespace EjercicioNro33 { class Program { static void Main(string[] args) { List<Boligrafo> miLista = new List<Boligrafo>(); Boligrafo ...
32.98
76
0.562765
[ "MIT" ]
ezequielfreire007/EjerciciosLab2
EjercicioNro33/EjercicioNro33/Program.cs
1,651
C#
#region copyright // ------------------------------------------------------- // Copyright (C) Dmitriy Yukhanov [https://codestage.net] // ------------------------------------------------------- #endregion namespace CodeStage.Maintainer.Issues.Detectors { using Core.Scan; internal interface IGameObjectBeginIssueDet...
27.214286
97
0.553806
[ "MIT" ]
rafaeldolfe/MasterServerChess
Assets/Plugins/CodeStage/Maintainer/Editor/Scripts/Modules/RecordsBased/Issues/Detectors/Interfaces/IGameObjectBeginIssueDetector.cs
383
C#
using DataModel; using FluentValidation; using Infrastructure.Core.Queries; using Microsoft.EntityFrameworkCore; using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace UsersService.Queries { public class GetUserQuery { public class Query : IQuery<Result> ...
26.60274
104
0.477858
[ "MIT" ]
GuilhermeStracini/NetCoreMicroservicesSample
Src/UsersService/Queries/GetUserQuery.cs
1,944
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> //--...
34.774194
151
0.586271
[ "MIT" ]
Ash200042123/SWE-4202---OOC-I
LaundryManagementSystem/Properties/Settings.Designer.cs
1,080
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 ...
27.842105
134
0.679017
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-cdn/Cdn/Model/V20180510/StopCdnDomainRequest.cs
2,645
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Web.Hosting; using System.Web.Http.Routing; using System.Web.Http.WebHost.Properties; using Syst...
32.743902
213
0.565736
[ "Apache-2.0" ]
Icenium/aspnetwebstack
src/System.Web.Http.WebHost/Routing/HostedHttpRouteCollection.cs
8,057
C#
using System.Collections.Generic; using System.Linq; using RepairR.Core.ProjectAggregate; using RepairR.Core.ProjectAggregate.Specifications; using Xunit; namespace RepairR.UnitTests.Core.Specifications { public class IncompleteItemsSpecificationConstructor { [Fact] public void FilterCollectio...
29.875
70
0.626569
[ "MIT" ]
AAimson/RepairR
tests/RepairR.UnitTests/Core/Specifications/IncompleteItemSpecificationsConstructor.cs
958
C#
/*``The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public License along with this software. If not, it can be * retrieved via the world wide web at http...
24.676923
77
0.669576
[ "MIT" ]
spoconnor/ElixirMessagingServer
DotNet/OTP.NET-2010/Otp/Erlang/Double.cs
3,208
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...
38.6
189
0.642919
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/Backup/Generated/Model/Internal/MarshallTransformations/ListReportPlansResponseUnmarshaller.cs
4,632
C#
using System; namespace q1 { class Program { static void Main(string[] args) { int x = 5; int y = 2; int z = 3; int j = 9; int k = 6; int area = x * x; int a = (x * x) + (3 * x) - 4; ...
33.972973
92
0.361177
[ "MIT" ]
fatimabashir658/csharp
question 50/Program.cs
1,259
C#
// Copyright (c) MudBlazor 2021 // MudBlazor 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.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet...
36.846875
167
0.50776
[ "MIT" ]
A6blpka/MudBlazor
src/MudBlazor/Components/Select/MudSelect.razor.cs
35,375
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 Internal.Metadata.NativeFormat.Writer; using Cts = Internal.T...
37.493421
131
0.582383
[ "MIT" ]
LaudateCorpus1/corert
src/ILCompiler.MetadataTransform/src/ILCompiler/Metadata/Transform.Namespace.cs
5,699
C#
using System; using System.Collections.Generic; namespace RomanToInteger { class Program { static void Main(string[] args) { // Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. // Symbol Value // I 1 ...
25.02
97
0.310951
[ "MIT" ]
besirgunduz/AlgorithmCoding
RomanToInteger/Program.cs
1,253
C#
// <auto-generated> // 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. // Changes may cause incorrect behavior and will be lost if the code is // re...
48.8125
307
0.564938
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/VirtualMachinesOperationsExtensions.cs
86,691
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.16092
134
0.644969
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-vod/Vod/Model/V20170321/ListTranscodeTaskRequest.cs
3,856
C#
using System.Management.Automation; using Microsoft.SharePoint.Client; using Microsoft.SharePoint.Client.UserProfiles; using PnP.PowerShell.Commands.Base; using System.Linq; namespace PnP.PowerShell.Commands.UserProfiles { [Cmdlet(VerbsCommon.Set, "UserProfileProperty")] public class SetUserProfileProperty :...
30.653061
105
0.653795
[ "MIT" ]
JimmyHang/powershell
src/Commands/UserProfiles/SetUserProfileProperty.cs
1,504
C#
using System; using System.IO; using System.Text.RegularExpressions; using UnityEditor; using UnityEditor.Callbacks; public class PostBuildActions { [PostProcessBuild] public static void OnPostProcessBuild(BuildTarget target, string targetPath) { var path = Path.Combine(targetPath, "Build/Uni...
29.117647
80
0.709091
[ "MIT" ]
AkioUnity/SevenStar
Assets/Editor/PostBuildActions.cs
497
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// <summary> /// Allows customization of the <see cref="ParameterModel"/>. /// </summary> /// <remarks> //...
37.88
112
0.657867
[ "MIT" ]
48355746/AspNetCore
src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelConvention.cs
947
C#
using LogicMonitor.Api.Alerts; using LogicMonitor.Api.Attributes; using LogicMonitor.Api.Extensions; using LogicMonitor.Api.LogicModules; using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace LogicMonitor.Api.Devices { /// <summary> /// A Device (also known as a Host) /// ...
27.636364
114
0.6642
[ "MIT" ]
tdicks/LogicMonitor.Api
LogicMonitor.Api/Devices/Device.cs
10,944
C#
using System.Collections.Generic; using Ertis.Core.Models.Resources; using ErtisAuth.Core.Models.Identity; using Newtonsoft.Json; namespace ErtisAuth.Core.Models.Users { public class User : MembershipBoundedResource, IUtilizer, IHasSysInfo { #region Properties [JsonProperty("firstname")] public string FirstNa...
23.634146
74
0.714138
[ "MIT" ]
ertugrulozcan/ErtisAuth
ErtisAuth.Core/Models/Users/User.cs
969
C#
// MIT License // // Copyright (c) Y2 Corporation using System; namespace Y2.Ft4222.Core { /// <summary> /// I2C Master Flag /// </summary> [Flags] public enum I2cMasterFlags { /// <summary> /// No specific flag /// </summary> None = Iot.Device.Ft4222.I2cMaster...
21.95122
70
0.543333
[ "MIT" ]
y2cjp/Y2.Ft4222.Core
src/I2cMasterFlags.cs
902
C#
using System; namespace Atata { public interface IVerificationProvider<TOwner> { /// <summary> /// Gets a value indicating whether the verification is a negation verification. /// </summary> bool IsNegation { get; } /// <summary> /// Gets or sets th...
29.355932
89
0.512125
[ "Apache-2.0" ]
atata-framework/atata
src/Atata/Verification/IVerificationProvider`1.cs
1,734
C#
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
29.741935
117
0.716197
[ "MIT" ]
0x53A/ILSpy
ILSpy/OpenFromGacDialog.xaml.cs
5,534
C#
using Newtonsoft.Json; namespace TradingBotPrj.Models { public partial class ErrorModel { [JsonProperty("code")] public long Code { get; set; } [JsonProperty("msg")] public string Msg { get; set; } } }
17.785714
39
0.590361
[ "MIT" ]
SnnK/binance-trader
TradingBotPrj/Models/ErrorModel.cs
251
C#
using System.Collections.Generic; using UnityEngine; namespace Surrogates { public class SystemBehaviour<T> : MonoBehaviour where T : MonoBehaviour { public static List<T> Instances { get; private set; } // public static Vector3[] arrayS = new Vector3[5]; BatchSystem system; pr...
27.964286
75
0.564496
[ "MIT" ]
simonwittber/surrogates
SurrogateBatch/Runtime/SystemBehaviour.cs
783
C#
using System; using System.Runtime.CompilerServices; using Xamarin.Forms; using XF.Material.Forms.Resources.Typography; namespace XF.Material.Forms.UI { public class MaterialLabel : Label { public const string MaterialLineHeightPropertyName = "MaterialLineHeight"; public static readonly Binda...
38.11215
185
0.591957
[ "MIT" ]
eceowl/XF-Material-Library
XF.Material/XF.Material.Forms/UI/MaterialLabel.cs
4,080
C#
using Uno.UI.Web; using System; using System.Collections.Generic; using System.Text; namespace Windows.UI.Xaml.Controls { public partial class WebViewNavigationFailedEventArgs { public Uri Uri { get; internal set; } public WebErrorStatus WebErrorStatus { get; internal set; } } }
22.142857
67
0.716129
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UI/UI/Xaml/Controls/WebView/WebViewNavigationFailedEventArgs.cs
312
C#
namespace Rancher.DotNet.Models { public interface IRequestObject { string name { get; set; } string description { get; set; } } }
17.777778
40
0.6
[ "Apache-2.0" ]
writeameer/RancherDotNet
src/RancherDotNet/Models/IRequestObject.cs
162
C#
using System; using System.Collections.Generic; using Mapbox.Map; using Mapbox.Unity.Utilities; using Mapbox.Utils; using UnityEngine; namespace Mapbox.Unity.Map.TileProviders { public class QuadTreeTileProvider : AbstractTileProvider { private static readonly int HIT_POINTS_COUNT = 4; private Plane _groundPlan...
30.835821
161
0.71039
[ "Apache-2.0" ]
Noobay/mapbox-unity-sdk
sdkproject/Assets/Mapbox/Unity/Map/TileProviders/QuadTreeTileProvider.cs
6,198
C#
/* * Copyright 2010-2013 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...
36.755556
119
0.706771
[ "Apache-2.0" ]
virajs/aws-sdk-net
AWSSDK_DotNet35/Amazon.S3/Model/Internal/MarshallTransformations/DeleteBucketPolicyRequestMarshaller.cs
1,654
C#
// <copyright file="FilterAttribute.cs" company="Arm"> // Copyright (c) Arm. All rights reserved. // </copyright> namespace MbedCloudSDK.Common.Filter { using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; /// <summary> /// Filter Attribute /// </summary> public class FilterAtt...
33.568182
103
0.549425
[ "Apache-2.0" ]
ARMmbed/mbed-cloud-sdk-dotnet
src/Legacy/Common/Filter/FilterAttribute.cs
2,954
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Npgsql; namespace RepoDb.PostgreSql.UnitTests { [TestClass] public class DbSettingTest { [TestInitialize] public void Initialize() { PostgreSqlBootstrap.Initialize(); } [TestMethod] publi...
26.982759
79
0.577955
[ "Apache-2.0" ]
Ashrafnet/RepoDB
RepoDb.PostgreSql/RepoDb.PostgreSql.UnitTests/DbSettingTest.cs
3,132
C#
/// Credit GXMark, alexzzzz, CaoMengde777, TroyDavis /// Original Sourced from (GXMark) - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/page-2#post-1834806 (with corrections) /// Scaling fixed for non overlay canvases (alexzzzz) - http://forum.unity3d.com/threads/scripts-useful-4-6-sc...
39.836066
191
0.626337
[ "MIT" ]
AustinDreak/Dieselpunk-Audio-Player
Assets/com.unity.uiextensions/Runtime/Scripts/UIWindowBase.cs
4,862
C#
using System.Linq; using System.Threading.Tasks; using CodeMash.Client; using CodeMash.Repository; using Microsoft.VisualStudio.TestTools.UnitTesting; using MongoDB.Driver; namespace CodeMash.Core.Tests { [TestClass] public class UpdateOneTests : DatabaseTestBase { [TestInitialize] ...
35.90411
113
0.59443
[ "MIT" ]
codemash-io/CodeMash.Net
src/CodeMash.Core.Tests/DatabaseTests/Update/UpdateOneTests.cs
2,621
C#
// Instance generated by TankLibHelper.InstanceBuilder // ReSharper disable All namespace TankLib.STU.Types { [STUAttribute(0x33B3D2B6)] public class STU_33B3D2B6 : STUUXDependencyObject { [STUFieldAttribute(0xADE95629, "m_items", ReaderType = typeof(EmbeddedInstanceFieldReader))] public STU_E1...
31.454545
100
0.745665
[ "MIT" ]
Mike111177/OWLib
TankLib/STU/Types/STU_33B3D2B6.cs
346
C#
using System; using Rhino.Queues; using Rhino.Queues.Model; using Rhino.ServiceBus.Impl; namespace Rhino.ServiceBus.RhinoQueues { [CLSCompliant(false)] public class RhinoQueueCurrentMessageInformation : CurrentMessageInformation { public Uri ListenUri { get; set; } public IQueue Queue { get...
26
80
0.710256
[ "BSD-3-Clause" ]
EzyWebwerkstaden/rhino-esb
Rhino.ServiceBus.RhinoQueues/RhinoQueues/RhinoQueueCurrentMessageInformation.cs
390
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.ServiceModel; namespace Workday.Compensation { [GeneratedCode("System.ServiceModel", "4.0.0.0"), EditorBrowsable(EditorBrowsableState.Advanced), DebuggerStepThrough, MessageContract(IsWrapped = false)] pu...
36.931034
188
0.843137
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.Compensation/Get_Compensation_Scorecard_ResultsInput.cs
1,071
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using CodeMonkey.Utils; public class SpawnEnemyOnKeyDown : MonoBehaviour { [SerializeField] private Transform pfEnemyTransform; private void Update() { if (Input.GetKeyDown(KeyCode.M)) { int spawnCount = 5; ...
30.347826
174
0.644699
[ "MIT" ]
Theunisv/StrategyGameDemo
Assets/ExtraPackages/_/Stuff/Scripts/SpawnEnemyOnKeyDown.cs
700
C#
// Copyright (c) 2011 Morten Bakkedal // This code is published under the MIT License. using System; using FuncLib.Optimization; namespace FuncLib.Functions { public partial class Variable { public static VariableAssignment operator |(Variable variable, double value) { return new VariableAssignment(variable...
26.666667
87
0.738542
[ "MIT" ]
lionpeloux/FuncLib
src/FuncLib/Functions/Variable.Operators.cs
1,920
C#
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: tenancy_config/rpc/room_call_billing_rates_svc.proto #pragma warning disable 1591 #region Designer generated code using System; using System.Threading; using System.Threading.Tasks; using grpc = global::Grpc.Core; namespace HOLMS.Types.TenancyConf...
59.570313
296
0.758295
[ "MIT" ]
PietroProperties/holms.platformclient.net
csharp/HOLMS.Platform/HOLMS.Platform/Types/out/RoomCallBillingRatesSvcGrpc.cs
7,625
C#
using System; using System.Collections.Generic; using System.Linq; namespace CodeKicker.BBCode.Core.SyntaxTree { public sealed class SequenceNode : SyntaxTreeNode { public SequenceNode() { } public SequenceNode(SyntaxTreeNodeCollection subNodes) : base(subNodes) ...
30.730769
88
0.595119
[ "MIT" ]
a-witkowski/BBCode.Core
BBCode.Core/SyntaxTree/SequenceNode.cs
1,600
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace AppCenterSample.iOS { // The UIApplicationDelegate for the application. This class is responsible for launching the // User Interface of the application, as well as listening (and optionally respondin...
34.5625
98
0.679024
[ "MIT" ]
KeiichiHara/AppCenterSample
AppCenterSample/AppCenterSample/AppCenterSample.iOS/AppDelegate.cs
1,108
C#
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // 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 restric...
39.764706
84
0.648422
[ "MIT" ]
bayeslife/api-add-in
APIAddIn/YamlDotNet/Core/Tokens/FlowEntry.cs
2,028
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using lm.Comol.Core.DomainModel; namespace lm.Comol.Modules.Standard.Glossary.Domain { [Serializable] public class GlossaryItem : DomainBaseObjectMetaInfo<long> { /// ...
28.376812
104
0.54954
[ "MIT" ]
EdutechSRL/Adevico
3-Business/3-Modules/lm.Comol.Modules.Standard/Glossary/Domain/GlossaryItem.cs
1,960
C#
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
35.194444
119
0.715075
[ "Apache-2.0" ]
HiFiPhile/sandbox-attacksurface-analysis-tools
NtObjectManager/Provider/NtObjectContainer.cs
2,536
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
28.617647
134
0.699897
[ "MIT" ]
CrazyHein/Weltuna
Mcvein/About.xaml.cs
985
C#
using System.Runtime.CompilerServices; using Microsoft.Gestures; namespace GestureLibrary { public static class HandPoseHelper { private static string GetPoseName([CallerMemberName] string propertyName = null) { return propertyName; } public static HandPose Closed...
62.623188
166
0.548021
[ "MIT" ]
massimobonanni/ProjectPragueSamples
GestureLibrary/HandPoseHelper.cs
4,323
C#
using System.Linq; using AutoMapper; using Abp.Authorization; using Abp.Authorization.Roles; using LibraryManagementProject.Authorization.Roles; namespace LibraryManagementProject.Roles.Dto { public class RoleMapProfile : Profile { public RoleMapProfile() { // Role and permission ...
29.333333
81
0.627273
[ "MIT" ]
trailv18/DATN
aspnet-core/src/LibraryManagementProject.Application/Roles/Dto/RoleMapProfile.cs
880
C#
using System; using AngleSharp.Dom; using Bunit.Mocking.JSInterop; using Bunit.SampleComponents; using Bunit.SampleComponents.Data; using Microsoft.Extensions.DependencyInjection; using Shouldly; using Xunit; namespace Bunit.Rendering { public class RenderWaitingHelperExtensionsTest : ComponentTestFixture { ...
44.035928
137
0.62211
[ "MIT" ]
Siphonophora/bunit
tests/Rendering/RenderWaitingHelperExtensionsTest.cs
7,356
C#
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Avalonia.Data; using Avalonia.PropertyStore; using Avalonia.Utilities; #nullable enable namespace Avalonia { /// <summary> /// Stores styled property values for an <see cref="AvaloniaObject"/>. /// </summary> ...
36.873541
120
0.497652
[ "MIT" ]
0x90d/Avalonia
src/Avalonia.Base/ValueStore.cs
18,955
C#
using System; using System.Web; using System.Web.Routing; using UserJourneyRecorderWebApp.Infrastructure; namespace UserJourneyRecorderWebApp { public class UserJourneyRecorderWebApplication : HttpApplication { protected void Application_Start(object sender, EventArgs e) { var rout...
27.944444
69
0.701789
[ "MIT" ]
Azure-Samples/active-directory-b2c-advanced-policies
UserJourneyRecorder/UserJourneyRecorderWebApp/Global.asax.cs
505
C#
using System; namespace Nez { /// <summary> /// Renderer that renders using its own Camera which doesnt move. /// </summary> public class ScreenSpaceRenderer : Renderer { public int[] renderLayers; public ScreenSpaceRenderer( int renderOrder, params int[] renderLayers ) : base( renderOrder, null ) { ...
24.473684
102
0.690323
[ "MIT" ]
Blucky87/Nez
Nez.Portable/Graphics/Renderers/ScreenSpaceRenderer.cs
1,397
C#
#nullable disable namespace NadekoBot.Modules.Games.Hangman; public sealed class HangmanTerm { public string Word { get; set; } public string ImageUrl { get; set; } }
21.875
42
0.731429
[ "MIT" ]
StefanPuia/nadeko
src/NadekoBot/Modules/Games/Hangman/HangmanTerm.cs
175
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
48.694118
174
0.603044
[ "MIT" ]
akaver/ASP.NET-WebApiDal
WebApiDal/Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs
24,834
C#
namespace DemandForecasting.Model { using DemandForecasting.Convertor; using System.ComponentModel; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum ForecastingTechniques { [Description("Simple moving average")] SimpleMovingAverage, [Description("Weighted ...
43.911765
280
0.762224
[ "MIT" ]
hamdiChehdi/Demand-Forecasting
DemandForecasting/Model/ForecastingTechniques.cs
1,499
C#
using System; using System.Collections.Generic; using Microsoft.Build.Logging.StructuredLogger; namespace StructuredLogViewer { public class SearchResult { public BaseNode Node { get; } public List<(string field, string match)> WordsInFields = new List<(string, string)>(); ...
26.761905
96
0.525801
[ "MIT" ]
laurenprinn/MSBuildStructuredLog
src/StructuredLogViewer.Core/SearchResult.cs
1,126
C#
using System.Diagnostics; using System.Threading; using JetBlack.Diagnostics.Monitoring; using NUnit.Framework; namespace JetBlack.Diagnostics.Test.Monitoring { [TestFixture] public class ElapsedTimeFixture { [Test] public void Test() { const string categoryName = "Test...
35.928571
148
0.631544
[ "MIT" ]
rob-blackbourn/JetBlack.Diagnostics
JetBlack.Diagnostics.Test/Monitoring/ElapsedTimeFixture.cs
1,511
C#
/************************************************************************ AvalonDock Copyright (C) 2007-2013 Xceed Software Inc. This program is provided to you under the terms of the Microsoft Public License (Ms-PL) as published at https://opensource.org/licenses/MS-PL **********************************...
28.304348
85
0.499232
[ "Apache-2.0" ]
sak9188/WinIO2
WinIO/WinIO/Themes/GenericTheme.cs
651
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using Newtonsoft.Json; namespace ImportAndCompare { class Program { static void Main(string[] args) { try ...
46.934884
260
0.508275
[ "MIT" ]
StephenClearyApps/PewBible
Import/ImportAndCompare/Program.cs
10,093
C#
using System; using System.Linq; using Eto.Parse.Parsers; using System.IO; using System.CodeDom.Compiler; using Eto.Parse.Writers; using System.Globalization; namespace Eto.Parse.Grammars { /// <summary> /// Grammar to build a parser grammar using Gold Meta-Language /// </summary> /// <remarks> /// See http://gol...
29.814721
184
0.642377
[ "MIT" ]
DanielDavis5/Eto.Parse
Eto.Parse/Grammars/GoldGrammar.cs
11,747
C#
using NServiceBus; namespace Receiver { public class ReceiverConfiguration : EndpointConfiguration { public ReceiverConfiguration() : base("Receiver") { this.SendFailedMessagesTo("error"); this.UseTransport<LearningTransport>(); } } }
22.769231
62
0.631757
[ "Apache-2.0" ]
mauroservienti/NServiceBus.AttributeRouting
src/Receiver/ReceiverConfiguration.cs
298
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 osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; using os...
33.081081
100
0.660131
[ "MIT" ]
123tris/osu
osu.Game/Online/Chat/ExternalLinkOpener.cs
1,190
C#
using System.Net.Http; namespace Legend.Onenet.Request.Topic { public class SearchSubscribeTopicDeviceRequest : RequestBase { public SearchSubscribeTopicDeviceRequest() : base(Constants.SearchSubscribeTopicDevice, HttpMethod.Get) { } public SearchSubscribeTopicDeviceRequest(One...
24.912281
153
0.496479
[ "MIT" ]
myFirstway/Legend.OneNet
Legend.Onenet/Request/Topic/SearchSubscribeTopicDeviceRequest.cs
1,496
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("Sq...
38.351351
84
0.74771
[ "MIT" ]
NGPVAN/SqlChangeTracker
SqlChangeTracker/Properties/AssemblyInfo.cs
1,422
C#