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
// https://www.mshowto.org/yazilim-gelistiriciler-icin-azure-azure-app-configuration-bolum-3.html using Azure.Messaging.EventGrid; using Microsoft.Azure.ServiceBus; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration.AzureAppConfiguration; using Microsoft.Extensions.Configuration.AzureAp...
37.76
185
0.716102
[ "MIT" ]
mertyeter/azure-for-developers
app-configuration/push-model.cs
1,888
C#
using UnityEngine; using System.Collections.Generic; using Assets.Scripts.Lib.View; using Assets.Scripts.Controller; using Assets.Scripts.View.UIDetail; namespace Assets.Scripts.View.Chat { public class CMDView : ChatUIDetail { public CMDView() : base(200, 30) { } ...
23.818182
78
0.545802
[ "MIT" ]
moto2002/DinaGameClient
Assets/Scripts/View/Chat/CMDView.cs
1,312
C#
using EveMarketProphet.Models; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; namespace EveMarketProphet.Services { public class SdeContext : DbContext { public DbSet<Type> Types { get; set; } public DbSet<ContrabandType> ContrabandTypes { get; set; }...
37.410714
111
0.632936
[ "Apache-2.0" ]
LevWi/EveMarketProphet
EveMarketProphet/Services/DB.cs
2,097
C#
namespace osfDesigner { public enum FlatStyle { Всплывающий = 1, Плоский = 0, Система = 3, Стандартный = 2 } }
14.181818
25
0.50641
[ "MPL-2.0" ]
Nivanchenko/OneScriptFormsDesigner
OneScriptFormsDesigner/OneScriptFormsDesigner/FlatStyle.cs
194
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...
36.915663
170
0.682768
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Route53/Generated/Model/Internal/MarshallTransformations/TrafficPolicyInstanceAlreadyExistsExceptionUnmarshaller.cs
3,064
C#
namespace SpacechemPatch.Patches { [Decoy("#=q92hEbMwWJAHBnI1OOFNVMfgZTZcBdcobiluEchpymk8=")] internal class WholeUI { [Decoy(".ctor")] public WholeUI(AbstractUI actualUI, bool unused, Optional<AbstractUiElement> elementToFocus, Optional<IScreen> screen) { } } }
28.272727
126
0.672026
[ "MIT" ]
csaboka/spacechempatch
SpacechemPatch/Patches/WholeUI.cs
313
C#
#pragma checksum "/home/saint/Documentos/HexDataMovies/Client/Shared/NavMenu.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3c60c3212035ffe38a47f6c217e44887d25dc334" // <auto-generated/> #pragma warning disable 1591 namespace HexDataMovies.Client.Shared { #line hidden using System; using System.Collection...
41.035336
176
0.668992
[ "MIT" ]
toXGet/HexDataMovies
Client/obj/Debug/net5.0/Razor/Shared/NavMenu.razor.g.cs
11,616
C#
using System.IO; using System.Reflection; using MLAPI.Serialization.Pooled; namespace MLAPI.NetworkedVar { internal class SyncedVarContainer { internal SyncedVarAttribute attribute; internal FieldInfo field; internal object fieldInstance; internal object value; internal bool isDirty; internal float lastS...
20.90411
161
0.693971
[ "MIT" ]
cakeslice/MLAPI
MLAPI/NetworkedVar/SyncedVarContainer.cs
1,526
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extension...
34.283582
126
0.670875
[ "MIT" ]
Dariusz11/rss-collection
RssCollection/Startup.cs
2,297
C#
using BookManagementSystem.Data.BaseEntity; using System.ComponentModel.DataAnnotations.Schema; namespace BookManagementSystem.Data.Model { [Table("Author")] public class Author : BaseEntities { public string AuthorName { get; set; } public bool IsDeleted { get; set; } [ForeignK...
21.45
51
0.648019
[ "MIT" ]
DiyanLyubchev/BookManagementSystem
BookManagementSystem.Data/Model/Author.cs
431
C#
namespace SourceLink.Create.GitHub { public class CreateTask : GitCreateTask { public override string ConvertUrl(string origin) { return UrlConverter.Convert(origin); } } }
20.181818
56
0.621622
[ "MIT" ]
paulomorgado/ctaggart-SourceLink
SourceLink.Create.GitHub/CreateTask.cs
224
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
33.493333
215
0.618232
[ "MIT" ]
thangnguyen2001/azure-sdk-for-net
src/SDKs/Network/Management.Network/Generated/Models/AvailableProvidersListState.cs
2,512
C#
using AoC.Day25; using FluentAssertions; using NUnit.Framework; namespace AoC.Tests.Day25 { public class Day25SolverTests { private readonly Day25Solver _sut = new(); [TestCase(5764801, 8)] [TestCase(17807724, 11)] public void DetermineLoopSize_Tests(int publicKey, int expected...
25.175439
108
0.567247
[ "BSD-3-Clause" ]
robshakespeare/aoc2020
AoC.Tests/Day25/Day25SolverTests.cs
1,435
C#
/****************************************************************************** * The MIT License * Copyright (c) 2003 Novell Inc. www.novell.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the Software), to deal * in the Sof...
35.990099
111
0.687483
[ "MIT" ]
VQComms/CsharpLDAP
src/Novell.Directory.LDAP/Extensions/SplitPartitionRequest.cs
3,635
C#
using FluentAssertions; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Newtonsoft.Json.Linq; using System; using System.Net.Http; using System.Threading.Tasks; using Xunit; namespace Blaze.SimTainer.Service.Api.Integration.UnitTests.Contro...
22.115385
71
0.73913
[ "Apache-2.0" ]
wehkamp/blaze-simtainer-service
test/Blaze.SimTainer.Service.Api.Integration.UnitTests/Controllers/TestStatusFixture.cs
1,150
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...
33.525
121
0.644668
[ "Apache-2.0" ]
AaronFriel/pulumi-aws-native
sdk/dotnet/EC2/Inputs/LaunchTemplateNetworkInterfaceArgs.cs
2,682
C#
using UnityEngine; public class Bomb : MonoBehaviour { private Blows _blows; private void OnEnable() { _blows = FindObjectOfType<Blows>(); } private void OnCollisionEnter2D(Collision2D collision) { GameObject blow = _blows.GetItem(); if (blow != null) { ...
18.766667
58
0.575488
[ "MIT" ]
wladweb/Kings-Pigs
Assets/Scripts/Environment/Bomb.cs
565
C#
using System; using System.Collections.Generic; using UnityEngine; namespace UnityARInterface { public class AREditorInterface : ARInterface { float m_LastTime; enum State { Uninitialized, Initialized, WaitingToAddPlane1, WaitingToAddPlan...
30.423913
80
0.50786
[ "MIT" ]
ARUnityBook/ARBook-ARUnity
Assets/UnityARInterface/Scripts/AREditorInterface.cs
5,600
C#
/// Credit Tomasz Schelenz /// Sourced from - https://bitbucket.org/SimonDarksideJ/unity-ui-extensions/issues/81/infinite-scrollrect /// Demo - https://www.youtube.com/watch?v=uVTV7Udx78k - configures automatically. - works in both vertical and horizontal (but not both at the same time) - drag and drop - can be i...
42.055046
260
0.558137
[ "MIT" ]
AustinDreak/Dieselpunk-Audio-Player
Assets/com.unity.uiextensions/Runtime/Scripts/Utilities/UI_InfiniteScroll.cs
9,170
C#
//////////////////////////////////////////////////////////////////////////////// // // @module Common Android Native Lib // @author Osipov Stanislav (Stan's Assets) // @support stans.assets@gmail.com // //////////////////////////////////////////////////////////////////////////////// using UnityEngine; using Syst...
22.205298
108
0.665225
[ "MIT" ]
KingOfFawns/Special_Course
Special Course/Assets/Plugins/StansAssets/Modules/AndroidNative/Scripts/Social/Twitter/Models/TwitterUserInfo.cs
6,706
C#
#region License // Copyright (c) Amos Voron. All rights reserved. // Licensed under the Apache 2.0 License. See LICENSE in the project root for license information. #endregion using System; using System.Collections.Generic; using System.Linq; using System.ComponentModel; using System.Reflection; using System.Diagnost...
30.764359
157
0.508832
[ "MIT" ]
amosvoron/QueryTalk
lib/designer/Constructor.cs
20,891
C#
using System; using System.Collections.Generic; using NUnit.Framework; namespace addressbook_tests_autoit { [TestFixture] public class GroupCreationTests : TestBase { [Test] public void TestGroupCreation() { List<GroupData> oldGroups = app.Groups.GetGroupList(); ...
21.818182
66
0.544444
[ "Apache-2.0" ]
hatshepsutb/csharp_training
addressbook_tests_autoit/addressbook_tests_autoit/tests/GroupCreationTests.cs
722
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...
27.894737
110
0.619497
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoTWireless/Generated/Model/LoRaWANListDevice.cs
1,590
C#
namespace KitchenPC.DB.Models { using System; using FluentNHibernate.Mapping; public class QueuedRecipesMap : ClassMap<QueuedRecipes> { public QueuedRecipesMap() { this.Id(x => x.QueueId) .GeneratedBy.GuidComb() .UnsavedValue(Gui...
29.047619
112
0.57377
[ "MIT" ]
Derneuca/KitchenPCTeamwork
KitchenPC/DB/Models/QueuedRecipesMap.cs
612
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace DotNet.VersionSweeper; public enum ActionType { CreateIssue, PullRequest, DryRun }
21.333333
72
0.710938
[ "MIT" ]
dotnet/versionsweeper
src/DotNet.VersionSweeper/ActionType.cs
258
C#
using System; namespace PerformanceEf3.EFCore.Models { public partial class ProductReview { public int ProductReviewID { get; set; } public int ProductID { get; set; } public string ReviewerName { get; set; } public DateTime ReviewDate { get; set; } public string EmailA...
28.368421
52
0.617811
[ "BSD-3-Clause" ]
VDSnuff/presentations
DOTNETCORE/EFCoreSamples/01_PerformanceEF3/EFCore/Models/ProductReview.cs
541
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using maarif.myproject.Authorization; using maarif.myproject.Authorization.Roles; using maarif.myproject.Authorization.Users; using Microsoft.AspNetCore....
36.252525
171
0.56506
[ "MIT" ]
eminekiricii/maarifProject
aspnet-core/src/maarif.myproject.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs
3,589
C#
namespace DataFlow.EdFi.Models.Resources { public class StudentDisciplineIncidentAssociationBehavior { /// <summary> /// A unique identifier used as Primary Key, not derived from business logic, when acting as Foreign Key, references the parent table. /// </summary> public stri...
31.888889
142
0.649826
[ "Apache-2.0" ]
schoolstacks/dataflow
DataFlow.EdFi/Models/Resources/StudentDisciplineIncidentAssociationBehavior.cs
574
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; internal static partial class Interop { internal static partial class User32 { publi...
43.066667
76
0.654025
[ "MIT" ]
AArnott/winforms
src/System.Windows.Forms.Primitives/src/Interop/User32/Interop.OBJID.cs
1,294
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.Diagnostics; using System.IO; using System.Text; using ...
40.07837
207
0.600834
[ "MIT" ]
Drawaes/runtime
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.cs
115,065
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> //---...
43.333333
88
0.664423
[ "MIT" ]
PacktPublishing/Clean-Code-in-C-
CH07/backup/CH07_DependencyInjection.Tests/obj/Debug/netcoreapp3.1/CH07_DependencyInjection.Tests.AssemblyInfo.cs
1,040
C#
using System.Collections.Generic; namespace AntProVue.Admin.Api.Dtos.Users { public class UserRolesApiDto<TRoleDto> { public UserRolesApiDto() { Roles = new List<TRoleDto>(); } public List<TRoleDto> Roles { get; set; } public int PageSize { get; set; } ...
15.583333
49
0.57754
[ "MIT" ]
gnsilence/AntdPro-Vue-id4
AntProVue/src/AntProVue.Admin.Api/Dtos/Users/UserRolesApiDto.cs
374
C#
using System; using System.Collections.Generic; using Microsoft.ML; using Microsoft.ML.Transforms.TimeSeries; using System.IO; namespace Samples.Dynamic { public static class ForecastingWithConfidenceInternal { // This example creates a time series (list of Data with the i-th element // corresp...
40.035971
130
0.583468
[ "MIT" ]
1Crazymoney/machinelearning
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/TimeSeries/ForecastingWithConfidenceInterval.cs
5,565
C#
using Newtonsoft.Json; using System.Collections.Generic; using System.Linq; namespace NMock { public class MockUserRepository : IUserRepository { private List<User> _users = JsonConvert.DeserializeObject<List<User>>(@" [{""id"":""1"",""createdAt"":""2019-05-06T19:32:07.034Z"",""name"":""Rosar...
49.888889
497
0.642539
[ "MIT" ]
guneysus/dotnet-mock-server
src/dotnet-mock-server/NMock/MockUserRepository.cs
900
C#
using System; using System.Collections.Generic; using System.Text; namespace SageOne.Entities { public class BankAccountNote : Entity<BankAccountNote> { } }
17
58
0.741176
[ "MIT" ]
gvanderberg/sageone-dotnet
src/SageOne/Entities/BankAccountNote.cs
172
C#
using System; using System.Reflection; using Hik.Communication.Mbt.Client; using Hik.Communication.Mbt.Communication; using Hik.Communication.Mbt.Communication.Messages; using Hik.Communication.Mbt.Communication.Messengers; using Hik.Communication.MbtServices.Communication; using Hik.Communication.MbtServices.Communic...
32.587591
138
0.568597
[ "MIT" ]
majidbigdeli/MBT
src/Mbt/Communication/MbtServices/Client/MbtServiceClient.cs
8,931
C#
using System.Collections.Generic; using System.Linq; using FormEditor.Fields.Statistics; using Newtonsoft.Json; using Umbraco.Core.Models; namespace FormEditor.Fields { public abstract class FieldWithFieldValues : FieldWithMandatoryValidation, IValueFrequencyStatisticsField { public FieldValue[] FieldValues { get...
31.328358
133
0.737018
[ "MIT" ]
generike/FormEditor
Source/Solution/FormEditor/Fields/FieldWithFieldValues.cs
2,101
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.902439
148
0.607457
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/ContainerRegistry/ConnectedRegistry.cs
8,180
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PieceScript : MonoBehaviour { public int ID; public bool enemy; public GameObject SFX; public GameObject evolveSound; public GameObject mergeSound; public GameObject particle; Ray ray; Ray moveR...
39.785185
181
0.518805
[ "MIT" ]
Whalebot/NeoMatchess
Assets/Scripts/PieceScript.cs
10,744
C#
using System; using System.Globalization; using Autofac; using NUnit.Framework; using Orchard.Localization.Services; using Orchard.Services; using Orchard.Tokens.Implementation; using Orchard.Tokens.Providers; using Orchard.Localization.Models; namespace Orchard.Tokens.Tests { [TestFixture] public class DateT...
54.593985
311
0.69894
[ "BSD-3-Clause" ]
1996dylanriley/Orchard
src/Orchard.Web/Modules/Orchard.Tokens/Tests/DateTokenTests.cs
7,263
C#
using System; using System.Collections.Specialized; namespace com.GraphDefined.SMSApi.API.Action { public class EditField : Rest<Response.Field> { public EditField(Credentials Client, SMSAPIClient Proxy, String fieldId) : base(Client, Proxy...
25.5
91
0.535294
[ "Apache-2.0" ]
GraphDefined/SMSAPI
smsapi/Actions/Contacts/EditField.cs
1,020
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("Fe...
36.655172
84
0.745061
[ "MIT" ]
LTGKeithYang/CaliburnFrameworkStudy
samples/features/Features.WindowsRuntime/Properties/AssemblyInfo.cs
1,066
C#
using System.Linq; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Options; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Authorization.Users; using Abp.MultiTenancy; using AbpTemplate.Authorization; using AbpTemplate.Authorization.Roles; using A...
36.776699
168
0.560982
[ "MIT" ]
aspnetboilerplate/module-zero-core-template-docker
src/AbpTemplate.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/TenantRoleAndUserBuilder.cs
3,790
C#
using System; using System.Reflection; namespace Python.Runtime { /// <summary> /// Bundles the information required to support an indexer property. /// </summary> [Serializable] internal class Indexer { public MethodBinder GetterBinder; public MethodBinder SetterBinder; ...
30.416667
112
0.52
[ "MIT" ]
FilamentGames/pythonnet
src/runtime/indexer.cs
3,650
C#
using fi.retorch.com.Areas.Dashboard.Code.Enums; using fi.retorch.com.Areas.Dashboard.Models; using fi.retorch.com.Areas.Legacy.Code.Base; using fi.retorch.com.Areas.Legacy.Models; using fi.retorch.com.Data; using fi.retorch.com.Models; using System; using System.Collections.Generic; using System.Linq; using System.We...
37.693182
151
0.544468
[ "MIT" ]
jcbeck37/fi-retorch
fi.retorch.com/fi.retorch.com/Areas/Legacy/Controllers/ImportController.cs
9,953
C#
using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using System.Windows.Forms.Design; namespace VisualPosSuite.POSFrontEnd.GUI { [Flags] public enum ResizeDirection : short { None = 0, /// <summary> /// Not implemented ...
34.587879
151
0.503548
[ "MIT" ]
AbabeiAndrei/ResizableControl
ResizableControl.cs
22,830
C#
using System; using System.Linq; using System.Collections.Generic; using System.Linq.Expressions; namespace Patternizer { internal class RepeatStep : Step { private int _repeatCount; private Expression<Func<StepPattern, StepPattern>> _pattern; /// <summary> /// Initializes a new instance of the...
27.078125
130
0.678592
[ "MIT" ]
johankson/Patternizer
src/Patternizer/RepeatStep.cs
1,733
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Diagnostics.ContractsLight; using System.Diagnostics.Tracing; using System.Globalization; using System.IO; ...
49.850657
302
0.5743
[ "MIT" ]
erikma/BuildXL
Public/Src/App/Bxl/BuildXLApp.cs
125,175
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace AspNetCoreTest.Models.ManageViewModels { public class ConfigureTwoFactorViewModel { public string SelectedProvider { get; set; } public ICollecti...
23.1875
66
0.752022
[ "MIT" ]
JRPSoft/Examples
testes_donet_core/teste_mvc/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs
371
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Rout...
38.22043
135
0.478267
[ "MIT" ]
tommymarto/interactive
src/Microsoft.DotNet.Interactive.Http/VariableRouter.cs
7,111
C#
#region License // Copyright (c) 2007 James Newton-King // // 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, // copy,...
36.384
218
0.577177
[ "MIT" ]
1Konto/Newtonsoft.Json
Src/Newtonsoft.Json/Linq/JConstructor.cs
9,098
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
42.765957
170
0.725871
[ "Apache-2.0" ]
pronovo-ag/geh-metering-point
source/Energinet.DataHub.MeteringPoints.Application/Validation/Rules/PostCodeFormatMustBeValidRule.cs
2,012
C#
// <copyright file="CharacterWalkHandlerPlugIn075.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameServer.MessageHandler { using System.Runtime.InteropServices; using MUnique.OpenMU.Network...
37.26087
101
0.723454
[ "MIT" ]
psydox/OpenMU
src/GameServer/MessageHandler/CharacterWalkHandlerPlugIn075.cs
859
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 * ...
30.627451
86
0.645967
[ "Apache-2.0" ]
ImEdisonJiang/tencentcloud-sdk-dotnet
TencentCloud/Lighthouse/V20200324/Models/CreateFirewallRulesRequest.cs
1,584
C#
using System; using System.Collections.Generic; using GoogleApi.Entities.Interfaces; namespace GoogleApi.Entities.Places { /// <summary> /// Base abstract class for Places requests. /// </summary> public abstract class BasePlacesRequest : BaseRequest, IRequestQueryString { /// <summary> ...
31.6
108
0.602057
[ "MIT" ]
McSym28/GoogleApi
GoogleApi/Entities/Places/BasePlacesRequest.cs
1,266
C#
using DotnetKubernetesClient; using k8s; using k8s.Models; using KubeOps.Operator.Controller; using KubeOps.Operator.Controller.Results; using KubeOps.Operator.Entities.Extensions; using KubeOps.Operator.Events; using KubeOps.Operator.Rbac; using Operator.Entities; namespace Operator.Controller; [EntityRbac(typeof(V...
35.53022
119
0.551535
[ "Apache-2.0" ]
WirePact/k8s-operator
Operator/Controller/PkiController.cs
12,935
C#
using System; using System.Runtime.Serialization; namespace PocketGauger.Exceptions { [Serializable] public class PocketGaugerZipFileMissingRequiredContentException : Exception { protected PocketGaugerZipFileMissingRequiredContentException(SerializationInfo info, StreamingContext context) ...
27.214286
118
0.690289
[ "Apache-2.0" ]
AquaticInformatics/pocket-gauger-field-data-plugin
src/PocketGauger/Exceptions/PocketGaugerZipFileMissingRequiredContentException.cs
764
C#
using System; namespace ImageTo3d { class Program { static void Help() { Options defaults = new Options(); string[] help = new string[] { "ImageTo3D: converts an image file to a 3d STL file.", " by default thicknes...
44.213115
130
0.390805
[ "MIT" ]
JonPahl/ImageTo3d
ImageTo3d/Program.cs
5,396
C#
namespace AcadLib.Geometry { using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.Geometry; using JetBrains.Annotations; using AcRx = Autodesk.AutoCAD.Runtime; /// <summary> /// Provides extension methods for the Spline type. /// </summary> public static class SplineExtensio...
41.272727
79
0.629956
[ "MIT" ]
coordinate/AcadLib
AcadLib/Model/Geometry/SplineExtensions.cs
1,364
C#
#region Copyright // <<<<<<< HEAD <<<<<<< HEAD ======= ======= >>>>>>> update form orginal repo // DotNetNuke® - https://www.dnnsoftware.com // Copyright (c) 2002-2018 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // do...
42.270833
116
0.61656
[ "MIT" ]
DnnSoftwarePersian/Dnn.Platform
DNN Platform/Library/UI/Modules/ModuleCachingType.cs
2,030
C#
namespace StoreAssignment.Constants { using System; using System.Collections.Generic; using System.Text; class ErrorMessages { public static string NULL_EXCEPTION => "Error: {0} can`t be NULL!"; public static string OUT_OF_RANGE_EXCEPTION => "Error: {0} is out of the proper range!"...
30.65
98
0.69168
[ "MIT" ]
Nextttttt/.NET-StoreAssignment
StoreAssignment/Constants/ErrorMessages.cs
615
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace KMeansClustering { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application ...
18.333333
42
0.709091
[ "MIT" ]
matthejo/KMeansClustering
src/KMeansClustering/App.xaml.cs
332
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.054054
85
0.724567
[ "MIT" ]
AppleJack111/Learn_CSharp
Learn_CSharp_Solution/002 Medium, Normal/Properties/AssemblyInfo.cs
1,448
C#
using System; namespace WRC.Shared { public enum WindowsEvent { Shutdown = 0, Restart = 1, VolumeUp = 2, VolumeDown = 3, ToggleMute = 4 } }
13.928571
28
0.507692
[ "MIT" ]
alzhir2009/Win-Remote-Control
WRC.Shared/WindowsEvent.cs
197
C#
 namespace MyPlayStation.API.Requests { public class GetTrophyTitlesRequest { public int Limit { get; set; } = 125; public int Offset { get; set; } = 0; } }
18.6
45
0.596774
[ "MIT" ]
chowarth/MyPlayStation.API
src/MyPlayStation.API/Requests/GetTrophyTitlesRequest.cs
188
C#
namespace Caliburn.Micro.BubblingAction { using System.Windows; public partial class App : Application { public App() { InitializeComponent(); } } }
17.75
43
0.535211
[ "MIT" ]
BrunoJuchli/Caliburn.Micro
samples/Caliburn.Micro.BubblingAction/Caliburn.Micro.BubblingAction/App.xaml.cs
215
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage; using Microsoft.EntityFrameworkCore.Storage.Internal; using OdeToFood...
31.325581
117
0.626578
[ "MIT" ]
georgimanov/OdeToFood
OdeToFood/Migrations/OdeToFoodDbContextModelSnapshot.cs
1,349
C#
// MIT License // // Copyright (c) 2017 Dennis Kingsley // // 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, copy, ...
32.196078
81
0.698538
[ "MIT" ]
dkingsley/RhinoORK
RhinoORK/RhinoOrkPlugin.cs
1,644
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Slack.NetStandard.Auth; using Xunit; namespace Slack.NetStandard.Tests { public class OauthTests { [Fact] public void AccessTokenInformation() ...
35.026316
104
0.647633
[ "MIT" ]
AbsShek/Slack.NetStandard
Slack.NetStandard.Tests/OauthTests.cs
1,333
C#
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Math.NET Numerics Test Data")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Math.NET Project")] [assembly: AssemblyProduct("Math.NET Numerics")] [assembly: AssemblyCopyrigh...
31.315789
63
0.757983
[ "MIT" ]
ABarnabyC/mathnet-numerics
src/TestData/Properties/AssemblyInfo.cs
597
C#
// $Id$ // // 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"...
31.454545
63
0.66763
[ "ECL-2.0", "Apache-2.0" ]
apache/etch
binding-csharp/runtime/src/main/csharp/Org.Apache.Etch.Bindings.Csharp/Util/StrIntHashMap.cs
1,384
C#
using System; using System.Collections.Generic; using System.Linq; using Core.Hotkeys.Exceptions; using WinApi.User32; namespace Core.Hotkeys { /// <summary> /// A combination of keyboard key and modifiers (e.g. control+alt) /// </summary> public class Hotkey { /// <summary> //...
33.71
112
0.565114
[ "Apache-2.0" ]
lDisciple/Watrix
src/Core/Hotkeys/Hotkey.cs
3,373
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.Common; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Text; using System.Threading; using System.Threading.Tasks; using Timer =...
34.027972
181
0.535142
[ "MIT" ]
erikzhouxin/NDabber
src/Dabber/DbConnectionPool.cs
15,146
C#
namespace OpenClosedBefore { public class Triangle { public decimal Width { get; set; } public decimal Height { get; set; } public Triangle() { } public Triangle(decimal width, decimal height) { Width = width; Height = height; ...
20.875
55
0.502994
[ "MIT" ]
StaticSphere/oop-fundamentals
OpenClosedBefore/Triangle.cs
336
C#
using System.Collections.Generic; using System.Threading.Tasks; using BuildingBlocks.CQRS.Events; namespace University.Students.Application.Services { public interface IMessageBroker { Task PublishAsync(IEnumerable<IEvent> events); } }
23.272727
54
0.769531
[ "MIT" ]
meysamhadeli/University-Microservices
src/Services/Students/University.Students.Application/Services/IMessageBroker.cs
256
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.Diagnostics; using System.Globalization; using System.IO; namespace System.Net.NetworkInformation { ...
40.896552
141
0.567805
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Net.NetworkInformation/src/System/Net/NetworkInformation/StringParsingHelpers.Connections.cs
14,232
C#
using System.Net; namespace TestNinja.Mocking { public interface IDownloadClient { void DownloadFile(string address, string fileName); } public class DownloadClient : IDownloadClient { public void DownloadFile(string address, string fileName) { var client = new...
19.333333
65
0.628079
[ "MIT" ]
dreis0/csharp-testing
testing-course/TestNinja/Mocking/DownloadClient.cs
408
C#
using FoxTunes.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using TinyJson; namespace FoxTunes { public class Discogs : BaseComponent, IDisposabl...
36.534535
141
0.466587
[ "MIT" ]
Raimusoft/FoxTunes
FoxTunes.MetaData.Discogs/Discogs.cs
24,334
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPool : MonoBehaviour { public static ObjectPool SharedInstance; public GameObject poolObject; List<GameObject> pooledObjects; public int initPoolAmount; public GameObject GetPooledObject() { ...
22.346154
96
0.583477
[ "MIT" ]
lunetis/OperationZERO
Assets/Scripts/Utils/ObjectPool.cs
1,162
C#
using Store.Core.Domain.Entities.Default; using Store.Core.Domain.Interfaces.Infrastructures.Data.Contexts; using Microsoft.EntityFrameworkCore; using Store.Infrastructures.Data.EntityMappings.Default; namespace Store.Infrastructures.Data.Contexts { public class DefaultDbContext : DbContext, IDefaultDbContext ...
37.641026
74
0.666213
[ "MIT" ]
isilveira/ModelWrapper
samples/Store/Store.Infrastructures.Data/Contexts/DefaultDbContext.cs
1,470
C#
namespace Idoit.API.Client.CMDB.Category { public class MemoryRequest : IRequest { public int? category_id { get; set; } public int quantity { get; set; } public int title { get; set; } public int manufacturer { get; set; } public int type { get; set; } public fl...
32.666667
49
0.583673
[ "MIT" ]
Kleinrotti/Idoit.API.Client
Idoit.API.Client/CMDB/Category/Request/MemoryRequest.cs
492
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...
46.029412
188
0.638722
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/PolicyInsights/Latest/RemediationAtSubscription.cs
7,825
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.UI.Composition { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class SpringVector3NaturalMotio...
48.590909
198
0.778765
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI.Composition/Generated/3.0.0.0/Windows.UI.Composition/SpringVector3NaturalMotionAnimation.cs
2,138
C#
using GoTiled.Core; namespace GoTiled.Astar; public class GTWeightedPathMap { private readonly List<GTWeightedConnection>[,] _nodes; public GTWeightedPathMap(int sizeX, int sizeY) { _nodes = new List<GTWeightedConnection>[sizeX, sizeY]; for (var x = 0; x < sizeX; x++) { ...
28.625
96
0.628093
[ "MIT" ]
GoTiled/GoTiled
Src/GoTiled.Astar/GTWeightedPathMap.cs
1,376
C#
namespace Pushenger.Api { public class TopicResource { } }
10.285714
30
0.625
[ "Apache-2.0" ]
RichWarrior/Pushenger
src/Pushenger.Api/Resources/TopicResource.cs
74
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WeatherServiceApp.Pages { public partial class Forecast { } }
14.153846
33
0.744565
[ "MIT" ]
CodeFontana/WeatherService
WeatherServiceApp/Pages/Forecast.cs
186
C#
using System; using HarmonyLib; using RimWorld; namespace EventsPlusCore.CameraPlus { //[HarmonyPatch(typeof(ColonistBarDrawLocsFinder))] //[HarmonyPatch(nameof(ColonistBarDrawLocsFinder.GetDrawLoc))] //public static class HColonistBAr //{ // private const float TopMargine = 36f; // pub...
23.157895
66
0.656818
[ "MIT" ]
kbatbouta/CameraPlus
Source/Optimizations/H_MoveBar.cs
442
C#
// ------------------------------------------------------------------------------------------------- // <copyright file="AttributeValueBoolean.cs" company="RHEA System S.A."> // // Copyright 2017 RHEA System S.A. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file e...
37.877095
185
0.563127
[ "Apache-2.0" ]
LBRNZ/reqifsharp_plus
ReqIFSharp/AttributeValue/AttributeValueBoolean.cs
6,782
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...
38.092593
331
0.615459
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/alertsmanagement/Microsoft.Azure.Management.AlertsManagement/src/Generated/Models/AlertModificationItem.cs
4,114
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.037975
208
0.690183
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsMarshaller.cs
3,005
C#
using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.DataLake.Store.RetryPolicies; using NLog; namespace Microsoft.Azure.DataLake.Store { /// <summary> /// ADLS Input stream that reads data from a file on Data lake. It reads data in bulk from server to a b...
44.917949
225
0.579404
[ "MIT" ]
pasn/azure-data-lake-store-net
AdlsDotNetSDK/AdlsInputStream.cs
17,520
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Sircl.Website.Data; using System; namespace Sir...
37.690647
125
0.471082
[ "MIT" ]
codetuner/Sircl2
src/Sircl.Website/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs
10,478
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.SecurityHub")] [assembly: AssemblyD...
54.375
464
0.764943
[ "Apache-2.0" ]
playstudios/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SecurityHub/Properties/AssemblyInfo.cs
1,740
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BuildStudio.Models.AccountViewModels { public class ResetPasswordViewModel { [Required] [EmailAddress] public string Email { get; set;...
29.964286
125
0.661502
[ "MIT" ]
eduardomessias/build-studio
BuildStudio/Models/AccountViewModels/ResetPasswordViewModel.cs
841
C#
using Microsoft.AspNet.OData; using Microsoft.AspNetCore.Mvc; using System.Linq; namespace DawaReplication.OData.Controllers { /// <summary> /// Table Bbr_grundjordstykke Controller. /// </summary> public partial class Bbr_grundjordstykkeController : ControllerBase { /// <summary>The typica...
30.555556
100
0.618182
[ "MIT" ]
JakobLindekilde/DawaReplication.OData
DawaReplication.OData/Controllers/Bbr_grundjordstykke.cs
1,100
C#
using System; namespace UE4Launcher.Launcher { [Serializable] internal class ProfileItem<T> { public T DefaultValue { get; } public bool IsEnabled { get; set; } public T Value { get; set; } public ProfileItem(T defaultValue = default(T)) { this.Defaul...
17.238095
55
0.571823
[ "Apache-2.0" ]
hillin/ue4launcher
ProjectLauncher/Launcher/ProfileItem.cs
364
C#
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; namespace XELibrary { public class GameStateManager : GameComponent, IGameStateManager { private Stack<GameState> states = new Stack<GameState>(); public event EventHandler On...
26.793814
71
0.561755
[ "MIT" ]
kewlniss/XNAUnleashed
Chapter17/XELibrary/GameStateManager.cs
2,603
C#
using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; using AutoMapper; using Google.Type; using Mandarin.Api.Transactions; using Mandarin.Transactions.External; using NodaTime; using static Mandarin.Api.Transactions.Transactions; namespace Mandarin.Client.Services.Transactions { /// ...
39.892857
161
0.698747
[ "BSD-3-Clause" ]
KK578/Mandarin
src/Mandarin.Client.Services/Transactions/MandarinGrpcTransactionSynchronizer.cs
2,236
C#
#region MIT // // Gorgon. // Copyright (C) 2020 Michael Winsor // // 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,...
32.680851
80
0.688151
[ "MIT" ]
Tape-Worm/Gorgon
PlugIns/Gorgon.Editor.ImageEditor/_Internal/ViewModels/Fx/_Interfaces/IFxEmboss.cs
1,538
C#
using System.Collections; using UnityEngine.EventSystems; using System.Collections.Generic; using UnityEngine; public class SelectOnInput : MonoBehaviour { public EventSystem eventSystem; public GameObject selectedObject; private bool buttonSelected; // Use this for initialization void Start () { } // U...
20.678571
63
0.746114
[ "MIT" ]
knevin123/FYP_DragonSim
Dragon Simulator/Assets/Scripts/SelectOnInput.cs
581
C#