content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class UserManager : MonoBehaviour { public bool isInitiating; public bool isTracking; public string fullName; public string schoolName; public int age; [Serializable] public class playing ...
21.72093
59
0.663812
[ "MIT" ]
farhnmh/NumberPedia
Assets/Scripts/UserManager.cs
934
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. /****************************************************************************** * This file is auto-generated from ...
37.800738
190
0.571798
[ "MIT" ]
06needhamt/runtime
src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Avx/Ceiling.Double.cs
20,488
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Bir derlemeyle ilgili Genel Bilgiler şu yollarla denetlenir: // denetlenir. Bir derlemeyle ilişkilendirilmiş bilgileri değiştirmek için bu // öznitelik değerlerini değiştirin. [assembly: AssemblyTitle("Todo.Tests"...
39.388889
111
0.775035
[ "MIT" ]
azmisahin/azmisahin-software-web-service-webapi-net
src/Todo.Tests/Properties/AssemblyInfo.cs
1,487
C#
// Copyright (c) Microsoft Corporation. All rights reserved using Doto.Model; using System.Threading; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Input; namespace Doto.Controls { public sealed partial class InviteUser : UserControl {...
28.924528
99
0.598826
[ "MIT" ]
Ranin26/msdn-code-gallery-microsoft
Official Windows Platform Sample/Windows 8.1 Store app samples/99866-Windows 8.1 Store app samples/Doto Windows Azure Mobile Services sample/C#/Controls/InviteUser.xaml.cs
1,535
C#
using System; namespace YesSql.Samples.Web.Models { public class BlogPost { public int Id { get; set; } public string Title { get; set; } public string Author { get; set; } public string Content { get; set; } public DateTime PublishedUtc { get; set; } public...
19.142857
50
0.569652
[ "MIT" ]
ScriptBox99/yessql
samples/YesSql.Samples.Web/Models/BlogPost.cs
404
C#
using System; using System.Collections.Generic; using System.Security.Claims; using System.Security.Principal; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; namespace reportapp { public partial class SiteMaster : MasterPage { private const string An...
34.725
110
0.578114
[ "BSD-3-Clause" ]
mateso/gac
web/reportapp/reportapp/Site.Master.cs
2,780
C#
//----------------------------------------------------------------------------- // <copyright file="AgentUtil.cs" company="Amazon.com"> // Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this...
37.528736
208
0.542113
[ "Apache-2.0" ]
QPC-database/aws-xray-dotnet-agent
src/sdk/Utils/AgentUtil.cs
6,532
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IoTCoreHelpers { /// <summary> /// Default period length expressed microseconds. /// </summary> public enum SerMotorPeriod { DefaultPeriod = 20000 } /// <su...
27.304
129
0.523293
[ "Apache-2.0" ]
Ellerbach/RPI-Win10-Helpers
IoTCoreHelpers/IoTCoreHelpers/Movement/ServoMotorDefinition.cs
3,415
C#
using MTProto.NET.Attributes; using MTProto.NET.Enums; namespace MTProto.NET.Schema.TL.Requests.Stickers { [MTObject(0xf1036780)] public class TLCreateStickerSet : MTObject { public override uint Constructor { get { return 0xf1036780; } ...
31.027027
91
0.58885
[ "MIT" ]
Gostareh-Negar/TeleNet
MTProto.NET/Schema/TL/_generated/Requests/Stickers/TLCreateStickerSet.cs
1,148
C#
// ReSharper disable RedundantUsingDirective // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable InconsistentNaming // ReSharper disable PartialTypeWithSinglePart // ReSharper disable PartialMethodWithSinglePart // ReSharper disable RedundantNameQualifier // ReSharper disable UnusedMember...
35.097561
80
0.722029
[ "Apache-2.0" ]
StingyJack/Geco
Test/Geco.Tests/Database/Model/CountryRegion.cs
1,439
C#
using System; using System.Diagnostics; using CafeLib.Cryptography.BouncyCastle.Util; namespace CafeLib.Cryptography.BouncyCastle.Math.EC { public abstract class ECFieldElement { public abstract BigInteger ToBigInteger(); public abstract string FieldName { get; } public abstract int Fie...
31.494541
121
0.490866
[ "MIT" ]
chrissolutions/CafeLib
Cryptography/CafeLib.Cryptography.BouncyCastle/Math/EC/ECFieldElement.cs
28,849
C#
using System.Collections.Generic; namespace WebMatrix.Data.Test.Mocks { internal class MockConfigurationManager : IConfigurationManager { private Dictionary<string, IConnectionConfiguration> _connectionStrings = new Dictionary<string, IConnectionConfiguration>(); public MockConfigurationManag...
31
133
0.679644
[ "Apache-2.0" ]
douchedetector/mvc-razor
test/WebMatrix.Data.Test/Mocks/MockConfigurationManager.cs
901
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Sample01.Models; namespace Sample01.Controllers { public class HomeController : Controller { private read...
24.078947
112
0.638251
[ "MIT" ]
Darcycodepocket/Sample01
Controllers/HomeController.cs
917
C#
// ----------------------------------------------------------------------------------------- // <copyright file="Constants.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance w...
37.322652
190
0.568313
[ "Apache-2.0" ]
EmmaZhu/azure-storage-net
Lib/Common/Shared/Protocol/Constants.cs
83,866
C#
// Generated by Xamasoft JSON Class Generator // http://www.xamasoft.com/json-class-generator using Newtonsoft.Json; namespace ByteSharp.Entities.Activity { public class Data { [JsonProperty("cursor")] public object Cursor { get; set; } [JsonProperty("messages")] public Mes...
18.695652
47
0.618605
[ "MIT" ]
drasticactions/ByteSharp
ByteSharp/Entities/Activity/Data.cs
432
C#
using UnityEngine; using DCL.Interface; using DCL.Helpers; using System.Collections; using System; public class EmailPromptHUDController : IHUD { const float POPUP_DELAY = 60; EmailPromptHUDView view; bool isPopupRoutineRunning = false; Coroutine showPopupDelayedRoutine; public event Action OnSe...
25.396825
127
0.614688
[ "Apache-2.0" ]
maraoz/explorer
unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/EmailPromptHUD/EmailPromptHUDController.cs
3,200
C#
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Abp.Module.Basket.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "AbpAuditLogs", ...
49.674487
136
0.521951
[ "MIT" ]
AbpApp/Basket
host/Abp.Module.Basket.IdentityServer/Migrations/20200106080828_Initial.cs
50,819
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; using System; using System.Collections.Generic; using System.IO; #if UNITY_EDITOR using UnityEditor; using Microsoft.MixedReality.Toolkit.Utilitie...
33.935691
136
0.522645
[ "MIT" ]
AdamMitchell-ms/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Definitions/Utilities/ArticulatedHandPose.cs
10,554
C#
namespace IntergalacticTravel.Constants { public class GlobalConstants { public const uint BronzeCoinsDefaultAmount = 0; public const uint SilverCoinsDefaultAmount = 0; public const uint GoldCoinsDefaultAmount = 0; } }
25.6
55
0.707031
[ "MIT" ]
Camyul/Modul_2_CSharp
CSharp - Unit Testing/UnitTestingExam-evening/IntergalacticTravel/Constants/GlobalConstants.cs
258
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Netw...
47.452055
237
0.755196
[ "MIT" ]
AME-Redmond/azure-sdk-for-net
sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewaysGetAdvertisedRoutesOperation.cs
3,464
C#
// -------------------------------------------------------------------------------------- // <copyright file = "GestureModelUnitTest.cs" company = "Студенческий проект HandControl‎"> // Copyright © 2019 HandControl. All rights reserved. // </copyright> // --------------------------------------------------------...
34.263158
93
0.529954
[ "MIT" ]
paulrozhkin/HandControlApplication
HandControl.Tests/GestureModelUnitTest.cs
1,367
C#
using System; using Inventor; namespace InventorEvents2010.Interfaces { public interface IDrawingViewEventsLib { /// <summary> /// Property representing the Inventor.DrawingViewEvents /// </summary> DrawingViewEvents DrawingViewEvents { get; } DrawingViewEventsSink_OnV...
25.714286
89
0.657407
[ "MIT" ]
Hallmanac/Adsk-Inv-Evts-Wrapper
InventorEvents2010/Interfaces/IDrawingViewEventsLib.cs
542
C#
#region License // Copyright (c) 2011, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This software is licensed under the Open Software License v3.0. // For the complete license, see http://www.clearcanvas.ca/OSLv3.0 #endregion using System.Windows.Forms; using ClearCanvas.De...
37.075472
120
0.759796
[ "Apache-2.0" ]
SNBnani/Xian
Ris/Client/View/WinForms/ExternalPractitionerDetailsEditorComponentControl.cs
1,965
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...
41.041958
194
0.601465
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/containerservice/Microsoft.Azure.Management.ContainerService/src/Generated/Models/OpenShiftManagedClusterAgentPoolProfile.cs
5,869
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 PlatinumFinance { //form öröklése,érték átadás public partial class BalanceForm : Form...
25.22807
81
0.552156
[ "MIT" ]
gyorgykorek/PlatinumFinance
BalanceForm.cs
1,466
C#
using HDT.Plugins.Common.Enums; using HDT.Plugins.Common.Models; using HDT.Plugins.Common.Services; using HDT.Plugins.EndGame.Models; using HDT.Plugins.EndGame.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Controls; namespace HDT.Plugins.EndGame.ViewModels { publi...
31.330882
111
0.698897
[ "MIT" ]
andburn/hdt-plugin-endgame
EndGame/ViewModels/ViewModelHelper.cs
4,263
C#
using System; using System.Collections.Generic; using Aop.Api.Response; namespace Aop.Api.Request { /// <summary> /// AOP API: alipay.ebpp.pdeduct.sign.add /// </summary> public class AlipayEbppPdeductSignAddRequest : IAopRequest<AlipayEbppPdeductSignAddResponse> { /// <summary> ///...
27.557895
125
0.566081
[ "MIT" ]
erikzhouxin/CSharpSolution
OSS/Alipay/F2FPayDll/Projects/alipay-sdk-NET20161213174056/Request/AlipayEbppPdeductSignAddRequest.cs
5,836
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AdaptHotel.views.Error { public partial class _4031 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { ...
19.941176
61
0.657817
[ "MIT" ]
levi92/AdaptHotel
AdaptHotel/AdaptHotel/views/Error/403.aspx.cs
341
C#
using AutoMapper; using Swiftcards.API.Models.Users; using Swiftcards.Data.Entities; namespace Swiftcards.API.Profiles { public class UserProfile : Profile { public UserProfile() { CreateMap<UserEntity, UserModel>(); } } }
18.2
47
0.641026
[ "MIT" ]
moorware/Swiftcards
src/Swiftcards.API/Profiles/UserProfile.cs
275
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Azure.Devices.Client.Transport { using System; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client.Extensions; using ...
53.962963
127
0.669526
[ "MIT" ]
CIPop-test/azure-iot-sdk-csharp
iothub/device/src/Transport/TransportHandlerFactory.cs
2,914
C#
// ----------------------------------------------------------------------------------------- // <copyright file="RetryPoliciesTests.cs" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in comp...
62.240343
252
0.666632
[ "Apache-2.0" ]
Hitcents/azure-storage-net
Test/ClassLibraryCommon/Core/RetryPoliciesTests.cs
29,004
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Numeria.IO { internal class IndexLink { public byte Index { get; set; } public uint PageID { get; set; } public IndexLink() { Index = 0; Pag...
17.241379
47
0.498
[ "MIT" ]
ChristianGutman/FileDB
FileDB/Structure/IndexLink.cs
502
C#
// This file was auto-generated by ML.NET Model Builder. using System; using Microsoft.ML.Data; namespace Shos_ReversiML.Model { public class ModelOutput { // ColumnName attribute is used to change the column name from // its default value, which is the name of the field. [ColumnName(...
25.705882
70
0.656751
[ "MIT" ]
Fujiwo/Shos.Reversi
Shos.ReversiML.Model/ModelOutput.cs
437
C#
/************************************************************************************ Copyright : Copyright 2017 Oculus VR, LLC. All Rights reserved. Licensed under the Oculus VR Rift SDK License Version 3.4.1 (the "License"); you may not use the Oculus VR Rift SDK except in compliance with the License, which is ...
25.598039
145
0.674327
[ "Apache-2.0" ]
Vladipil/BikeSimulator
Assets/Oculus/VR/Scripts/OVRDisplay.cs
7,833
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...
36.33908
113
0.605725
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/ListAttributesRequest.cs
6,323
C#
// //*********************************************************************** // Created: 2007-10-29 Author: ruijc // File: DynamicTHeaderHepler.cs // Description: 动态生成复合表头帮助类 // 相邻父列头之间用'#'分隔,父列头与子列头用空格(' ')分隔,相邻子列头用逗号分隔(','). //*********************************************************************** using Syst...
32.293233
99
0.420605
[ "Apache-2.0" ]
masach/FjutOrgProject
AppCode/DynamicTHeaderHepler.cs
9,236
C#
//------------------------------------------------------------------------------ // <auto-generated> // Bu kod araç tarafından oluşturuldu. // Çalışma Zamanı Sürümü:4.0.30319.42000 // // Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve // kod yeniden oluşturulursa kaybolur. // </aut...
42.583333
80
0.666341
[ "MIT" ]
gozdetumacar/csharp101
consoleProgramlama/obj/Debug/net5.0/consoleProgramlama.AssemblyInfo.cs
1,040
C#
using System; using Server.Items; using Server.Network; using Server.Engines.Harvest; namespace Server.Items { [FlipableAttribute( 0xE86, 0xE85 )] public class Pickaxe : BaseAxe, IUsesRemaining { public override HarvestSystem HarvestSystem{ get{ return Mining.System; } } public override WeaponAbility PrimaryAb...
28.067797
91
0.713768
[ "BSD-2-Clause" ]
greeduomacro/vivre-uo
Scripts/Items/Weapons/Axes/Pickaxe.cs
1,656
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Model.Extension; using SysProcessModel; using ViewModelBasic; using Kernel; using DBAccess; using DomainLogicEncap; namespace SysProcessViewModel { public class SysOrganizationBO : SysOrganiz...
31.138462
141
0.523715
[ "MIT" ]
tuoxieyz/fashionDRP
SysProcessViewModel/BO/SysOrganizationBO.cs
4,092
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.Security.KeyVault.Administration { /// <summary> Role definition. </summary> public partial class KeyVaul...
41.935484
201
0.625385
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/keyvault/Azure.Security.KeyVault.Administration/src/Generated/Models/KeyVaultRoleDefinition.cs
2,600
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.Management.Network.M...
51.983257
203
0.619741
[ "MIT" ]
AbelHu/azure-sdk-for-net
sdk/testcommon/Azure.Management.Network.2020_04/src/Generated/DdosProtectionPlansRestOperations.cs
34,153
C#
using System; using System.Collections.Generic; using System.Linq; using Content.Server.Body.Circulatory; using Content.Server.Chemistry.Components; using Content.Server.Cooldown; using Content.Server.Weapon.Melee.Components; using Content.Shared.Chemistry.EntitySystems; using Content.Shared.Damage; using Content.Share...
39.073964
178
0.601045
[ "MIT" ]
Day-OS/space-station-14
Content.Server/Weapon/Melee/MeleeWeaponSystem.cs
13,207
C#
using System.Net.Mime; using System.Threading; using System.Drawing; namespace CookiesLab { public class Program { public static void Main(string[] args) { IHttpServer server = new HttpServer(); server.Start(); } } }
16.470588
50
0.585714
[ "MIT" ]
svetlimladenov/C-Sharp-Web-Development-Basics
04.Web Server - State Management/Lab/CookiesLab/CookiesLab/Program.cs
282
C#
using System; using System.Collections.Generic; using System.Data; using System.Threading.Tasks; using Cybercore.Persistence.Model; using Cybercore.Persistence.Model.Projections; namespace Cybercore.Persistence.Repositories { public interface IShareRepository { Task InsertAsync(IDbConnection con, IDbTr...
74.137931
156
0.784186
[ "MIT" ]
cyberpoolorg/cybercore
src/Cybercore/Persistence/Repositories/IShareRepository.cs
2,150
C#
using UnityEngine; using System.Collections; public class MovingPlatform : MonoBehaviour { [SerializeField] private Vector3 movementDirection = Vector3.zero; [SerializeField] private float speed; [SerializeField] private bool isDestroyed = false; void Awake() { this.gameObject.particleSystem.Stop (); } vo...
23.74359
78
0.726782
[ "MIT" ]
aytona/GameEngineScripting_Finals
Assets/MyAssets/Scripts/MovingPlatform.cs
928
C#
using System; using System.Data; using System.Collections; using System.Text.RegularExpressions; using ECMPS.Checks.CheckEngine; using ECMPS.Checks.Parameters; using ECMPS.Checks.TypeUtilities; using ECMPS.ErrorSuppression; namespace ECMPS.Checks.QAEvaluation { public class cAppendixEOil : cQaTestReportCategory {...
32.2
150
0.732919
[ "MIT" ]
US-EPA-CAMD/easey-quartz-scheduler
CheckEngine/QA/Categories/Report/AppendixEOil.cs
3,059
C#
using System; using System.Collections; using System.ComponentModel; using TACTLib.Container; using TankLib; namespace TankView.ViewModel { public class GUIDEntry : INotifyPropertyChanged, INotifyDataErrorInfo, IDataErrorInfo { public string this[string columnName] => string.Empty; public string F...
30.06383
91
0.630573
[ "MIT" ]
Pandaaa2507/OWLib
TankView/ViewModel/GUIDEntry.cs
1,413
C#
namespace RMS.Core.Domain.RequestBC { public interface IRequestStatusRepository : IRepository<RequestStatus> { } }
18.285714
74
0.734375
[ "MIT" ]
EdmondShtogu/rms
src/RMS.Core/Domain/RequestBC/IRequestStatusRepository.cs
130
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Metadata.Ecma335; using System.Text; using System.Threading.Tasks; namespace GravitySandboxUWP { // Was using Windows.Foundation.Point for positions, accelerations, and velocities, but discovered that it is (float, float) i...
28.369565
140
0.587739
[ "MIT" ]
ezocher/Gravity-Sandbox
GravitySandboxUWP/GravitySandboxUWP/SimPoint.cs
1,307
C#
using System; namespace org.ek.HandMeAFile.commons.Tools { public class ServiceProvider<TService> : IProvideService<TService> { private TService m_service; public event EventHandler<TService> ServiceSet; public TService Get() { if (m_service == null) throw new Inva...
27.695652
137
0.604396
[ "MIT" ]
ekahlenberger/HandMeAFile
HandMeAFile/commons/Tools/ServiceProvider.cs
639
C#
// ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </autogen...
25.589286
81
0.511514
[ "MIT" ]
liangxiegame/QFramework.WuZiQi
Assets/Scripts/UI/UIHomePanel.cs
1,433
C#
using System; using System.Windows.Input; using Param_RootNamespace.Contracts.Services; using Param_RootNamespace.Models; using Param_RootNamespace.Contracts.Services; namespace Param_RootNamespace.ViewModels { // TODO WTS: Change the URL for your privacy policy in the appsettings.json file, currently set...
40.676923
187
0.691377
[ "MIT" ]
ConnectionMaster/WindowsTemplateStudio
templates/Wpf/Pages/Settings/ViewModels/wts.ItemNameViewModel.cs
2,582
C#
using System.Linq; using System.Threading.Tasks; using ClinicManagement.Infrastructure.Data; using UnitTests.Builders; using Xunit; using ClinicManagement.Core.Aggregates; namespace IntegrationTests.RoomTests { public class EfRepositoryList : BaseEfRepoTestFixture { private readonly EfRepository<Room> _repos...
19.925
71
0.691343
[ "MIT" ]
KunalChoudhary521/pluralsight-ddd-fundamentals
ClinicManagement/tests/IntegrationTests/RoomTests/EfRepositoryList.cs
799
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.Game.Rulesets.Cytosu.Judgements; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Scoring; namespace osu.Gam...
29.846154
93
0.685567
[ "MIT" ]
GSculerlor/Cytosu
osu.Game.Rulesets.Cytosu/Objects/Hold.cs
778
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Routing; using Microsoft.AspNetCore.Routing; using System.Threading.Tasks; namespace chapter03 { public sealed class TranslateRouteValueTransformer : DynamicRouteValueTransformer { private const string _languageKey = "language"; p...
33.052632
94
0.677548
[ "MIT" ]
PacktPublishing/Mastering-ASP.NET-Core-3.0-Second-Edition
Chapter03/TranslateRouteValueTransformer.cs
1,258
C#
namespace DCET.Model { [ObjectSystem] public class SessionIdleCheckerComponentAwakeSystem : AwakeSystem<SessionIdleCheckerComponent, int, int, int> { public override void Awake(SessionIdleCheckerComponent self, int checkInteral, int recvMaxIdleTime, int sendMaxIdleTime) { self.C...
34.323077
128
0.639175
[ "MIT" ]
zxsean/DCET
Unity/Packages/DCET/Module/Message/Runtime/SessionIdleCheckComponent.cs
2,233
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Runtime.Versioning; namespace ParseTreeVisualizer.Util { // taken from https://www.wpftutorial.net/ScreenResolutions.html // Copyright (c) by Christian Moser, 2011 ...
37.958333
85
0.596048
[ "MIT" ]
FeodorFitsner/ANTLR4ParseTreeVisualizer
Shared/Util/Monitor.cs
3,646
C#
using System.Threading.Tasks; using DevRelKr.PublishDevTo.FunctionApp.Models; namespace DevRelKr.PublishDevTo.FunctionApp.Services { /// <summary> /// This provides interfaces to <see cref="ArticleService" /> class. /// </summary> public interface IArticleService { /// <summary> //...
31.35
110
0.650718
[ "MIT" ]
devrel-kr/devto-article-publish-scheduler
src/PublishDevTo.FunctionApp/Services/IArticleService.cs
627
C#
namespace consumer_aws_iot { public interface IHealth { string pressure(double sistolica, double diastolica); } }
17.714286
57
0.741935
[ "MIT" ]
jefferson/.net-core-test-container-swarm
consumer-aws-iot/IHealth.cs
126
C#
using System; using System.ComponentModel.DataAnnotations; namespace ATIS.Ui.Models { public class Tbl06Phylum { [Key] public int PhylumId { get; set; } public string PhylumName { get; set; } public int RegnumId { get; set; } public int CountId { get; set; } pub...
32.375
52
0.57722
[ "CC0-1.0" ]
Terppe/ATIS
ATIS/Models/Tbl06Phylum.cs
1,038
C#
using System; using System.Threading.Tasks; using Cocona; namespace CoconaSample.InAction.HandleShutdownSignal { class Program : CoconaConsoleAppBase { static void Main(string[] args) { CoconaApp.Run<Program>(args); } public async Task RunAsync() { ...
23.464286
75
0.579909
[ "MIT" ]
1Franck/Cocona
samples/InAction.HandleShutdownSignal/Program.cs
657
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Medallion.Threading.Sql { internal sealed class SqlApplicationLock : ISqlSynchronizationSt...
43.660714
204
0.647171
[ "MIT" ]
clement911/DistributedLock
DistributedLock/Sql/SqlApplicationLock.cs
7,337
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: AssemblyTi...
39.324324
85
0.72921
[ "Apache-2.0" ]
bigjonroberts/SolrIKVM
SolrIKVM.Tests/Properties/AssemblyInfo.cs
1,458
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.42000 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします // </auto-generated> //----------------------------------------------------------...
38.268657
191
0.614665
[ "MIT" ]
MeilCli/Tbus
Tbus.App.XamarinForms.WPF/Properties/Resources.Designer.cs
3,206
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading.Tasks; using Content.Server.Administration.Logs; using Content.Server.CombatMode; using Content.Server.Hands.Components; using Content.Server.Items; using Content.Server.Pulling; using Content.Shared.ActionBlocker; using Cont...
41.729282
155
0.575533
[ "MIT" ]
AJCM-git/space-station-14
Content.Server/Interaction/InteractionSystem.cs
22,659
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class TileStruct { public GameObject prefab; //public LayerMask layer; public bool start; public bool end; }
16.785714
33
0.748936
[ "CC0-1.0" ]
Kataldoh/PROGETTO-ACCADEMIA
Assets/Scripts/Map/TileStruct.cs
235
C#
using System; using System.Collections; using System.Collections.Generic; namespace CodeMiner.Cest { /// <summary> /// Representa um código NCM, completo ou parcial. /// </summary> class NcmCollection: IEnumerable<string> { HashSet<string> ncms; public NcmCollection() => ncms = new HashSet<str...
26.184615
71
0.63866
[ "MIT" ]
felixsevero/CodeMiner
CodeMiner/Cest/NcmCollection.cs
1,727
C#
namespace ConfigureOptionsExample { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; public static class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } private static IHostBuilder CreateHost...
26
71
0.582418
[ "MIT" ]
pirocorp/ASP.NET-Core-Playground
02. ASP.NET Core In Action/Chapter19/D_ConfigureOptionsExample/ConfigureOptionsExample/Program.cs
546
C#
using System.Collections.Generic; using System.Windows; using System.Windows.Media; using EnvDTE; using EyeTrackingVsix.Options; using EyeTrackingVsix.Services; using EyeTrackingVsix.Utils; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; namespace EyeTrackingVsix { public class Foc...
34.152941
160
0.553393
[ "MIT" ]
Jdiablo/vs-eye-tracking
source/EyeTrackingVsix/Features/WindowFocus/FocusableWindowManager.cs
5,808
C#
using System; namespace pipe.Exceptions { public class InvalidArgumentException : Exception { public InvalidArgumentException(string message) : base(message) { } } }
17.916667
71
0.613953
[ "MIT" ]
jensandresen/dotnet-pipe
src/pipe/Exceptions/InvalidArgumentException.cs
215
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.ContractsLight; using System.Linq; using BuildXL.Cache.ContentStore.Interfaces.Utils; #pragma warning disable SA1600 // Elements must be documented namespace BuildXL.Cache.ContentStore.Hashing ...
31.972222
123
0.578048
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/Cache/ContentStore/Hashing/DedupIdentifier.cs
3,453
C#
using Newtonsoft.Json; namespace SocialCareCaseViewerApi.V1.Infrastructure { public class CaseNoteBase { [JsonProperty("first_name")] public string FirstName { get; set; } [JsonProperty("last_name")] public string LastName { get; set; } [JsonProperty("timestamp")] ...
25.375
53
0.612069
[ "MIT" ]
Duslerke/social-care-case-viewer-api
SocialCareCaseViewerApi/V1/Infrastructure/CaseNoteBase.cs
812
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 System.Fabric.ImageS...
43.876448
181
0.560916
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/Api/src/System/Fabric/ImageStore/FileImageStore.cs
45,456
C#
namespace N3O.Umbraco.Constants { public class CacheProfiles { public const string NoCache = nameof(NoCache); } }
21.666667
54
0.684615
[ "MIT" ]
Osama-Tahboub1/N3O.Umbraco
src/N3O.Umbraco.Extensions/Constants/CacheProfiles.cs
130
C#
using sphero.Rvr.Protocol; namespace sphero.Rvr.Commands.SystemInfoDevice; [Command(CommandId, DeviceId)] public class GetMacAddress : Command { public const byte CommandId = 0x06; public const DeviceIdentifier DeviceId = DeviceIdentifier.SystemInfo; public override Message ToMessage() { va...
27.826087
73
0.673438
[ "MIT" ]
colombod/sphero-sdk-net
src/sphero.Rvr/Commands/SystemInfoDevice/GetMacAddress.cs
642
C#
using UnityEngine; public class GGridController : GController { public GGridController(GGridModel aGridModel_ggm, GGridView aGridView_ggv) : base(aGridModel_ggm, aGridView_ggv) { } public void onGridViewRowChanged(int rowIndex_int, int value_int) { GGridModel gridModel_ggm = (GGridModel) this.getModel(); ...
29.02
111
0.768436
[ "Apache-2.0" ]
PetrViitman/RobotsFactory
Assets/Scripts/MVC/controller/gameplay/assembly/GGridController.cs
1,451
C#
/* Copyright (c) 2019 ExT (V.Sigalkin) */ using System; namespace extOSC.Core.Events { [Serializable] public class OSCEventPacket : OSCEvent<OSCPacket> { } }
17.2
53
0.674419
[ "MIT" ]
MacFurax/UnityRayMarchingPlayground
Assets/extOSC/Scripts/Core/Events/OSCEventPacket.cs
174
C#
using SolastaModApi.Infrastructure; using static RuleDefinitions; namespace SolastaModApi.Extensions { /// <summary> /// This helper extensions class was automatically generated. /// If you find a problem please report at https://github.com/SolastaMods/SolastaModApi/issues. /// </summary> [TargetTy...
31.872727
99
0.610953
[ "MIT" ]
Holic75/SolastaModApi
SolastaModApi/Extensions/RulesetEffectSpellExtensions.cs
1,753
C#
using System; namespace Ateliex.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
17.166667
70
0.660194
[ "MIT" ]
ateliex/UseCaseDrivenDesign
src/Ateliex.Web/Models/ErrorViewModel.cs
206
C#
using Application.Extension.Infrastructure.Crontab.Quartz.Attributes; using Microsoft.Extensions.Hosting; using Quartz; using Quartz.Spi; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; namespace Application.Extension.Infrastructure.Crontab.Quartz { /// <summary> ...
30.152381
112
0.517688
[ "Artistic-2.0" ]
JosephYue/application
Application.Extension.Infrastructure/Crontab/Quartz/JobHostedService.cs
3,342
C#
using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Linq; using PasPasPas.Api; using PasPasPas.Globals.Environment; using PasPasPas.Globals.Files; using PasPasPas.Globals.Options.DataTypes; using PasPasPas.Globals.Runtime; using PasPasPas.Globals.Types; using...
37.998039
143
0.551267
[ "Apache-2.0" ]
prjm/paspaspas
PasPasPasTests/src/Common/CommonTest.cs
19,381
C#
using UnityEngine; using System.Collections; namespace EasyMobile.Editor { public static partial class EM_Constants { // Product name public const string ProductName = "Easy Mobile"; public const string Copyright = "© 2017-2020 SgLib Games LLC. All Rights Reserved."; // Folder...
53.490196
134
0.720125
[ "MIT" ]
AndreeBurlamaqui/HyperBeatMIX
Assets/EasyMobile/Editor/EM_Constants.cs
5,463
C#
using CSRedis; using System.IO; using Microsoft.AspNetCore.DataProtection; using Microsoft.Extensions.Hosting; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using...
46.65798
184
0.608419
[ "MIT" ]
MonsterUncle/WaterCloud
WaterCloud.Web/Startup.cs
15,576
C#
namespace Stripe.Terminal { using Newtonsoft.Json; public class LocationListOptions : ListOptions { [JsonProperty("operator_account")] public string OperatorAccount { get; set; } } }
19.636364
51
0.666667
[ "Apache-2.0" ]
Franklin89/stripe-dotnet
src/Stripe.net/Services/Terminal/Locations/LocationListOptions.cs
216
C#
namespace FootballAnalyzes.Web.Models.AccountViewModels { using System.ComponentModel.DataAnnotations; public class ResetPasswordViewModel { [Required] [EmailAddress] public string Email { get; set; } [Required] [StringLength(100, ErrorMessage = "The {0} must be at...
31.458333
125
0.639735
[ "MIT" ]
andreykata/FootballPredictions
FootballAnalyzes.Web/Models/Account/ResetPasswordViewModel.cs
757
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 ...
41
164
0.69654
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/AdGroupAssetServiceClient.GetAdGroupAssetRequestObjectSnippet.g.cs
1,763
C#
using MarkWildmanNerdMathWorkouts.Application.Responses.Identity; using MudBlazor; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using MarkWildmanNerdMathWorkouts.Shared.Constants.Application; using MarkWildmanNerdMathWorkouts.Shared.Cons...
38.188525
141
0.613651
[ "MIT" ]
AshleyHollis/MarkWildmanNerdMathWorkouts
src/Client/Pages/Identity/Users.razor.cs
4,661
C#
public class Enums { public enum Direction {North, East, South, West}; public enum AttackState {Pre, On, Post} public const int IDLE = -1; }
17.111111
50
0.662338
[ "MIT" ]
vschoener/unity2DTraining
Assets/Scripts/Enum/Enums.cs
156
C#
// cassandra-sharp - high performance .NET driver for Apache Cassandra // Copyright (c) 2011-2013 Pierre Chalamet // // 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.apach...
36.383648
98
0.550562
[ "Apache-2.0" ]
Jacky1/cassandra-sharp
CassandraSharp/Transport/StreamingFrameReader.cs
5,787
C#
using System; using System.Collections.Generic; using System.Linq; namespace _04.Average_Grades { public class Student { public string Name { get; set; } public List<double> ListOfGrades { get; set; } public double Average { get { return ListOfGrades.Average(); } ...
25.616667
77
0.46324
[ "MIT" ]
kostadinlambov/Programming-Fundamentals
20. Objects-and-Classes-Exercises/04. Average Grades/Average_Grades.cs
1,539
C#
using System; namespace NuGetPe { public static class Constants { internal const string PackageServiceEntitySetName = "Packages"; internal const string PackageRelationshipNamespace = "http://schemas.microsoft.com/packaging/2010/07/"; public static readonly string PackageExtension = "....
49.185185
142
0.704066
[ "MIT" ]
0xced/NuGetPackageExplorer
Core/Packages/Constants.cs
1,330
C#
// SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using Microsoft.EntityFrameworkCore; using MSDF.D...
34.7
131
0.646013
[ "Apache-2.0" ]
Ed-Fi-Exchange-OSS/DataChecker
MSDF.DataChecker.Persistence/RuleExecutionLogs/RuleExecutionLogQueries.cs
2,084
C#
using UnityEngine; namespace TriLibCore.Samples { public class TestCurve : MonoBehaviour { public AnimationCurve AnimationCurve; } }
17.111111
45
0.707792
[ "Apache-2.0" ]
Master109/open-brush
Assets/New Assets/New Standard Assets/TriLib/TriLibSamples/LoadExtraAnimations/Scripts/TestCurve.cs
156
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...
32.404255
81
0.635588
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/DeploymentManager/Inputs/ServiceUnitArtifactsArgs.cs
1,523
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...
39.228571
306
0.664967
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Insights/V20170401/Inputs/ActivityLogAlertLeafConditionArgs.cs
1,373
C#
// SPDX-License-Identifier: Apache-2.0 // Copyright 2020 TTCO Holding Company, Inc. and Contributors // Licensed under the Apache License, Version 2.0 // See https://opensource.org/licenses/Apache-2.0 or the LICENSE file in the repository root for the full text of the license. using Dapper; using Shipwright.Databases...
39.798561
154
0.497289
[ "Apache-2.0" ]
seaseducation/Shipwright.Core
Core/src/Dataflows/Sources/DbSource.Handler.cs
5,534
C#
/* ------------------------------------------------------------------------- * * Copyright (C) 2008-2009 Jaroslav Runcik * * Jaroslav Runcik <J [dot] Runcik [at] seznam [dot] cz> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as pub...
21.86
79
0.598353
[ "MIT" ]
jruncik/C.M.L
SR.CML.Core.Interfaces/InSimCommon/DriversAndCars/IInSimCar.cs
1,095
C#
using System.Reflection; namespace PhantomNet.AspNetCore.Mvc { public static class MvcViews { public const string CompozrHeadLayout = "Components/_Layouts/CompozrHead"; public const string CompozrBodyLayout = "Components/_Layouts/CompozrBody"; public const string CompozrScriptsLayout =...
38
88
0.740789
[ "MIT" ]
green-grass/PhantomNet-Mvc
src/extensions/PhantomNet.AspNetCore.Mvc.Views/MvcViews.cs
762
C#
using System; using Core.Entities.Catalog; using Core.Entities.Media; namespace Tests.Lib.Seed { public static class ProductSeed { public static Product BaseCreateProductEntity() { var drug = new Product { Id = 1, Ncm = "30024561", ...
34.15
84
0.462665
[ "MIT" ]
adnanioricce/DHsys
tests/Tests.Lib/Seed/ProductSeed.cs
1,366
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.Dynamic.Utils; namespace System.Dynamic { /// <summary> /// Represents the dynamic get index operation at the call site, providing the binding semantic and the ...
47.260274
150
0.653333
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Linq.Expressions/src/System/Dynamic/GetIndexBinder.cs
3,450
C#