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
namespace Dev.DevKit.Shared.Entities { public partial class SiteMap { #region --- PROPERTIES --- //public DateTime? DateTime { get { return GetAliasedValue<DateTime?>("c.birthdate"); } } #endregion #region --- STATIC METHODS --- #endregion } }
17.764706
97
0.576159
[ "MIT" ]
Kayserheimer/Dynamics-Crm-DevKit
test/v.2.12.31/TestAllEntities/All-DEMO/Dev.DevKit.Shared/Entities/SiteMap.cs
304
C#
using MediatR; using Microsoft.Extensions.Logging; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; namespace Hb.Application.PipelineBehaviours { public class PerformanceBehaviour<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse> { private readonly Stopwatch ...
28.619048
138
0.634775
[ "MIT" ]
gkctnn/HbCase
src/Services/Catalog/Hb.Application/PipelineBehaviours/PerformanceBehaviour.cs
1,204
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Drawing; using System.Windows.Forms; using System.Threading; namespace SerialPortTools { static class Program { public static frmMain frm; public static frmWaiting frma; publi...
29.961538
102
0.583312
[ "MIT" ]
zzudongxiang/SerialPort.Tools
SerialPortTools/Program.cs
3,917
C#
using System; using System.Text; using Aspose.Cloud.Marketplace.HTML.Converter.Helpers; using Aspose.Cloud.Marketplace.HTML.Converter.Models; using Aspose.Cloud.Marketplace.HTML.Converter.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace Aspos...
44.697987
159
0.56952
[ "MIT" ]
andruhovski/aspose-html-converter
Aspose.Cloud.Marketplace.HTML.MarkdownConverter/Controllers/MarkdownController.cs
6,662
C#
using System; using System.Collections.Generic; namespace Shoko.Server.Providers.AniDB.UDP.Info { public class ResponseGetFile { /// AniDB File ID public int FileID { get; set; } /// AniDB Anime ID public int AnimeID { get; set; } /// AniDB Release Group ID, if available...
43.818182
121
0.606846
[ "MIT" ]
Hitsounds/ShokoServer
Shoko.Server/Providers/AniDB/UDP/Info/ResponseGetFile.cs
2,892
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // As informações gerais sobre um assembly são controladas por // conjunto de atributos. Altere estes valores de atributo para modificar as informações // associada a um assembly. [assembly: AssemblyTitle("Bz2Helper"...
38
95
0.751778
[ "MIT" ]
danielhidalgojunior/zrageadminpanel
Bz2Helper/Properties/AssemblyInfo.cs
1,431
C#
namespace PedroLamas.WP7.UnitConverter.Framework { using System; using System.Linq; using System.Collections.Generic; using System.Windows; /// <summary> /// A base implementation of <see cref="IScreen"/>. /// </summary> public class Screen : PropertyChangedBase, IScreen, IChild<IConduc...
30.225926
136
0.509987
[ "MIT" ]
PedroLamas/PedroLamas.WP7.UnitConverter
src/PedroLamas.WP7.UnitConverter/Framework/Screen.cs
8,161
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Az...
40.7
175
0.614558
[ "ECL-2.0", "Apache-2.0" ]
apollo2030/pulumi-azure
sdk/dotnet/Proximity/PlacementGroup.cs
6,512
C#
using UnityEngine; public class MiniMap : MonoBehaviour { public Transform miniMapCameraTransform; public Transform playerTransform; private Vector3 cameraFromPlayerOffset; [SerializeField] float rotationSpeed = 120f; [SerializeField] Transform player; [SerializeField] private Camera cam; private Vector3 previo...
32.090909
109
0.764873
[ "MIT" ]
Cecilija-Simic-Rihtnesberg/game21-2021-1129-arpg-team-3
Assets/Scripts/UI/MiniMap.cs
1,059
C#
using System.Windows; using System.Windows.Media; using BuildNotifications.Resources.BuildTree.TriggerActions; using TweenSharp.Animation; using TweenSharp.Factory; namespace BuildNotifications.Resources.GroupDefinitionSelection { internal class GroupDefinitionFadeIn : TweenTriggerAction<UIElement> { ...
43.153846
120
0.710339
[ "MIT" ]
TheSylence/BuildNotifications
BuildNotifications/Resources/GroupDefinitionSelection/GroupDefinitionFadeIn.cs
1,124
C#
// // CRegistry.cs // // Lunar Unity Mobile Console // https://github.com/SpaceMadness/lunar-unity-console // // Copyright 2017 Alex Lementuev, SpaceMadness. // // 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...
24.81982
76
0.524319
[ "MIT" ]
pdyxs/UnityProjectStarter
Assets/Plugins/Externals/LunarConsole/Scripts/Actions/CRegistry.cs
5,512
C#
// ---------------------------------------------------------------------------- // <copyright file="PhotonViewInspector.cs" company="Exit Games GmbH"> // PhotonNetwork Framework for Unity - Copyright (C) 2018 Exit Games GmbH // </copyright> // <summary> // Custom inspector for the PhotonView component. // </s...
51.134969
216
0.518896
[ "MIT" ]
Andre-LA/unity-snake
Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonViewInspector.cs
16,670
C#
namespace AmplaData.AmplaData2008 { public class CredentialsProvider : ICredentialsProvider { private readonly string session; private readonly string userName; private readonly string password; private CredentialsProvider(string userName, string password) { ...
28.282051
98
0.600181
[ "MIT" ]
Ampla/Ampla-Data
src/AmplaData/AmplaData2008/CredentialsProvider.cs
1,105
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("YDL...
39.108108
94
0.745681
[ "MIT" ]
vaginessa/ydl-ui
YDL-UI/Properties/AssemblyInfo.cs
1,450
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) using System; using System.Diagnostics; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; namespace Org.BouncyCastle.Crypto.Modes { /** * A Cipher Text Stealing (CTS) mode cipher. CTS allows block ciphers to * be...
30.988372
98
0.542089
[ "MIT" ]
Manolomon/space-checkers
client/Assets/Libs/Best HTTP (Pro)/Best HTTP (Pro)/BestHTTP/SecureProtocol/crypto/modes/CtsBlockCipher.cs
7,995
C#
#if ALTCOINS using BTCPayServer.Contracts; using BTCPayServer.Payments; using BTCPayServer.Services.Altcoins.Stripe.Payments; using Microsoft.Extensions.DependencyInjection; namespace BTCPayServer.Services.Altcoins.Stripe { public static class StripeExtensions { public static IServiceCollection AddStri...
35.291667
121
0.74144
[ "MIT" ]
XPayServer/btcpayserver
BTCPayServer/Services/Altcoins/Stripe/StripeExtensions.cs
847
C#
// Copyright 2020 Maksym Liannoi // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
30.088608
87
0.611695
[ "Apache-2.0" ]
liannoi/autocomplete
src/Autocomplete.WindowUI/Autocomplete.WindowUI.UI/Helpers/Bindable.cs
2,379
C#
// ----------------------------------------------------------------------- // <copyright file="TestActors.cs" company="Asynkron AB"> // Copyright (C) 2015-2022 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System.Threading.Tasks; us...
22.173077
88
0.531657
[ "Apache-2.0" ]
BearerPipelineTest/protoactor-dotnet
benchmarks/ProtoActorBenchmarks/TestActors.cs
2,306
C#
// Copyright (c) Richasy. All rights reserved. using Richasy.Bili.Models.App.Other; using Richasy.Bili.ViewModels.Uwp.Common; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Richasy.Bili.App.Controls { /// <summary> /// 弹幕发送设置. /// </summary> public sealed partial class DanmakuSendOp...
28.83871
162
0.565996
[ "MIT" ]
ELI2sdkm/Bili.Uwp
src/App/Controls/Danmaku/DanmakuSendOptions.xaml.cs
1,826
C#
using System; using System.Collections.Generic; using System.Text; namespace Domain.Models.Dtos.Transactions { public class RegisterTransactionResponse { } }
14.416667
44
0.751445
[ "MIT" ]
hsulipe/UmHelper-desafio-tecnico
Domain/Models/Dtos/Transactions/RegisterTransactionResponse.cs
175
C#
namespace TrafficManager.API.Traffic.Enums { using System; [Flags] public enum ExtTransportMode { /// <summary> /// No information about which mode of transport is used /// </summary> None = 0, /// <summary> /// Travelling by car /// </summary> ...
22.190476
64
0.515021
[ "MIT" ]
CitiesSkylinesMods/TMPE
TLM/TMPE.API/Traffic/Enums/ExtTransportMode.cs
466
C#
// Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information. namespace Pegasus.Tests { using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.Linq; using System.Reflection; using Mic...
36.773109
183
0.529022
[ "MIT" ]
otac0n/Pegasus
Pegasus.Tests/CodeCompiler.cs
4,377
C#
/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * ...
36
80
0.424897
[ "Apache-2.0" ]
CoreUnion/CoreShop
CoreCms.Net.Model/ViewModels/DTO/BillAftersalesDto.cs
1,006
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Lclb.Cllb.Interfaces.Models { using Newtonsoft.Json; using System.Collections; using System.Collections....
48.654867
2,250
0.656117
[ "Apache-2.0" ]
ElizabethWolfe/jag-lcrb-carla-public
cllc-interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMphonetocaseprocess.cs
16,494
C#
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:TypeProperties.cs ****/ using System; using PropertyModel; namespace TestModel { /// <summary> /// Supported properties /// <...
24.901408
105
0.611425
[ "MIT" ]
Bhaskers-Blu-Org2/pmod
tests/src/schemas/TypeProperties.cs
1,768
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; using System.Collections.Generic; using System.Diagnostics; using System.IO.Pipelines; using System.Net.Http; using System.Net.Http.QPack; using S...
37.380841
280
0.600538
[ "MIT" ]
ChiragRupani/AspNetCore
src/Servers/Kestrel/Core/src/Internal/Http3/Http3FrameWriter.cs
15,999
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. namespace Mi...
52.265306
269
0.593909
[ "MIT" ]
arpit-gagneja/azure-powershell
src/ApplicationInsights/generated/api/Models/Api202002/ComponentPurgeBody.TypeConverter.cs
7,537
C#
namespace Sitecore.MediaFramework.Upload { using System; using System.Web; using Sitecore.Configuration; using Sitecore.Integration.Common.Providers; public class UploadManager { #region Initialization static UploadManager() { var helper = new ProviderHelper<UploadProvide...
27.391304
131
0.688889
[ "Apache-2.0" ]
KRazguliaev/pmi.sitecore.9.1.brightcove
src/Sitecore.MediaFramework/Upload/UploadManager.cs
1,217
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.Collections; using System.Diagnostics; namespace System.Text.Json { public static partial class J...
33.714286
130
0.532486
[ "MIT" ]
Castaneda1914/corefx
src/System.Text.Json/src/System/Text/Json/Serialization/JsonSerializer.Write.HandleEnumerable.cs
2,834
C#
namespace GSA.OpenItems.Web { using System; using System.Data; using Data; public partial class FundsReview : PageBase { const string DEFAULT_VALUE_BUDGET_ACTIVITY = "PG61"; protected override void PageLoadEvent(object sender, System.EventArgs e) { try ...
38.737864
229
0.545363
[ "CC0-1.0" ]
gaybro8777/FM-ULO
Archive/OpenItems/FundStatus/FundsReview.aspx.cs
3,990
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WSC { class Program { static void Main(string[] args) { } } }
14.125
39
0.632743
[ "MIT" ]
Nathanha/eiin839
TD5/MathsLibrary/WSC/Program.cs
228
C#
using System; using System.Collections.Generic; namespace esharp.transpiler { public class Transpiler { private readonly String _version; public Transpiler(String solcVersion) { _version = solcVersion; } public List<String> CastContract(String line) ...
18.619048
53
0.603581
[ "CC0-1.0" ]
bitcoinbrisbane/EthSharp
esharp.transpiler/Transpiler.cs
393
C#
using ForgeModGenerator.Controls; using ForgeModGenerator.Core; using ForgeModGenerator.ItemGenerator.Models; using ForgeModGenerator.Utility; using System; using System.Collections.Generic; using System.Linq; using System.Windows; using System.Windows.Controls; namespace ForgeModGenerator.ItemGenerator.Controls { ...
39.589286
154
0.671177
[ "MIT" ]
Prastiwar/ForgeModGenerator
ForgeModGenerator/app/ForgeModGenerator.Wpf/Source/Modules/ItemGenerator/Controls/ItemEditForm.xaml.cs
2,219
C#
using System; using Expressive.Expressions.Binary.Multiplicative; using Expressive.Operators; using Expressive.Operators.Multiplicative; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Expressive.Tests.Operators.Multiplicative { [TestClass] public class MultiplyOperatorTests : OperatorBaseTests ...
29.56
103
0.753721
[ "MIT" ]
antoniaelek/expressive
Source/Expressive.Tests/Operators/Multiplicative/MultiplyOperatorTests.cs
741
C#
/// This code was generated by /// \ / _ _ _| _ _ /// | (_)\/(_)(_|\/| |(/_ v1.0.0 /// / / using System; using System.Collections.Generic; using Twilio.Base; using Twilio.Converters; namespace Twilio.Rest.Conversations.V1.Conversation { /// <summary> /// Add a new participant to the conv...
35.975741
127
0.570241
[ "MIT" ]
charliesantos/twilio-csharp
src/Twilio/Rest/Conversations/V1/Conversation/ParticipantOptions.cs
13,347
C#
using System; using NServiceBus; public class ShipOrder : IMessage { public Guid OrderId { get; set; } }
15.125
38
0.644628
[ "Apache-2.0" ]
A-Franklin/docs.particular.net
samples/nhibernate/simple/NHibernate_5/Server/ShipOrder.cs
116
C#
using Autofac; using Hangfire.Demo.Job; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Hangfire.Demo.Server { public class Service { private BackgroundJobServer backgroundJobServer; /// <summary> /// ...
29.1
119
0.564556
[ "MIT" ]
from-zero-fr/Hangfire.Demo
Hangfire.Demo.Server/Service.cs
2,039
C#
using UnityEngine; [CreateAssetMenu(fileName = "Vector2", menuName = "SO/Vector2", order = 1)] public class SVector2 : SharedVariable<Vector2> { }
29.6
75
0.736486
[ "MIT" ]
imrealnow/com.liamgreen.sharedvariables
Variables/SVector2.cs
148
C#
using System; namespace _Exercise_WorkoutTrapezoidArea { class MainClass { public static void Main(string[] args) { // 编写一个程序,输入梯形的上底、下底和高,计算梯形的面积并输出 Console.WriteLine("Enter the topline, baseline and the high of a trapezoid:"); Console.WriteLine("Topline:")...
32.76
99
0.583639
[ "MIT" ]
PaddyHuang/Basic
Languages/C#/017_Exercise_WorkoutTrapeziumArea/Program.cs
881
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Build.Shared.LanguageParser { /* * Class: Token * * Base class for all token classes. * */ intern...
36.662791
121
0.632096
[ "MIT" ]
0xced/msbuild
src/Shared/LanguageParser/token.cs
3,155
C#
using System.IO; using CP77.CR2W.Reflection; using FastMember; using static CP77.CR2W.Types.Enums; namespace CP77.CR2W.Types { [REDMeta] public class HealthStatListener : gameScriptStatPoolsListener { [Ordinal(0)] [RED("healthEvent")] public CHandle<HealthUpdateEvent> HealthEvent { get; set; } [Ordi...
30.705882
105
0.724138
[ "MIT" ]
Eingin/CP77Tools
CP77.CR2W/Types/cp77/HealthStatListener.cs
506
C#
using System; using System.Collections.Generic; namespace KeikoObfuscator.Renaming { public class SymbolRenamingPhase : ObfuscatorTaskPhase { public SymbolRenamingPhase(SymbolRenamingTask task) { Task = task; } public SymbolRenamingTask Task { get; private set; } ...
31.716981
117
0.593694
[ "MIT" ]
Marwix/PP-Obfuscator
KeikoObfuscator/Renaming/SymbolRenamingPhase.cs
1,683
C#
using System; using System.ComponentModel; using EfsTools.Attributes; using EfsTools.Utils; using Newtonsoft.Json; namespace EfsTools.Items.Efs { [Serializable] [EfsFile("/nv/item_files/rfnv/00022738", true, 0xE1FF)] [Attributes(9)] public class WcdmaB2TxLinVsTemp2Addl { [Eleme...
27.854167
60
0.497008
[ "MIT" ]
HomerSp/EfsTools
EfsTools/Items/Efs/WcdmaB2TxLinVsTemp2AddlI.cs
2,674
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [ExecuteInEditMode] public class ProgressBar : MonoBehaviour { [Header("Title Setting")] public string Title; public Color TitleColor; public Font TitleFont; public int TitleFontSize = 10; ...
22.533898
78
0.570515
[ "MIT" ]
zeidanbm/Surviving-Mars-Unity-VR-Game
Assets/ProgressBar/Script/ProgressBar.cs
2,661
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> //--...
40
151
0.587037
[ "BSD-3-Clause" ]
BMBH/Krypton
Source/Krypton Toolkit Examples/KryptonBreadCrumb Examples/Properties/Settings.Designer.cs
1,082
C#
// Copyright (c) Mark Nichols. All Rights Reserved. // Licensed under the MIT License. using Azure.Deployments.Core.Extensions; using BicepFlex.Process; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Console; using Microsoft.Extensions.Options; using Newtonsoft.Json.Linq; var loggerProvide...
33.125
202
0.655094
[ "MIT" ]
marknic/BicepXray
src/ParameterTest/Program.cs
3,977
C#
// Copyright 2022 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 ...
51.438596
216
0.629036
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.Compute.V1/Google.Cloud.Compute.V1.Tests/InstanceGroupsClientTest.g.cs
8,796
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ using System; namespace System.IdentityModel.Tokens { /// <summary> /// This class defines the encrypting credentials whi...
31.119048
108
0.515175
[ "Apache-2.0" ]
295007712/295007712.github.io
sourceCode/dotNet4.6/ndp/cdf/src/WCF/IdentityModel/System/IdentityModel/Tokens/EncryptingCredentials.cs
3,921
C#
using System.Text.RegularExpressions; using FirebirdMonitorTool.Transaction; namespace FirebirdMonitorTool.Function { abstract class ParseFunction : ParseTransaction, IFunction { static readonly Regex Parser = new Regex( @"^\s*Function (?<FunctionName>.+?):((\r\s*)|(\s*$))", RegexOptions.Compiled | Reg...
20.769231
60
0.680247
[ "MIT" ]
MagicAndre1981/FirebirdMonitorTool
src/FirebirdMonitorTool/Function/ParseFunction.cs
812
C#
using System; using UnityEditor.ShaderGraph; using UnityEditor.ShaderGraph.Serialization; using UnityEngine; namespace UnityEditor.Graphing { [Serializable] struct SlotReference : IEquatable<SlotReference>, IComparable<SlotReference> { [SerializeField] JsonRef<AbstractMaterialNode> m_Node; ...
26.898305
116
0.599244
[ "Apache-2.0" ]
AJTheEnder/E428
Projet/E428/Library/PackageCache/com.unity.shadergraph@10.4.0/Editor/Data/Interfaces/Graph/SlotReference.cs
1,587
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace SharpSound.SoundCloud.Query { public static class Evaluator { /// <summary> /// Performs evaluation & replacement of independent sub-trees /// </summary> /// <param name="expression">The...
34.265625
141
0.526448
[ "MIT" ]
RyuzakiH/SoundCloud.Api
SoundCloud.Api/Query/Evaluator.cs
4,388
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.Runtime.InteropServices; internal partial class Interop { internal partial class Ker...
29
71
0.739224
[ "MIT" ]
06needhamt/runtime
src/libraries/Common/src/Interop/Windows/Kernel32/Interop.GetFileType_IntPtr.cs
464
C#
using System.Collections.Generic; using System.Threading.Tasks; using Xamarin.Forms; using XamarinAzure.Mobile.Controls; using XamarinAzure.Mobile.Pages.Acesso; using XamarinAzure.Mobile.Pages.Home; namespace XamarinAzure.Mobile.Pages.Android { public sealed class DroidRootPage : MasterDetailPage { Di...
27.630137
98
0.564204
[ "MIT" ]
onfriday/exemplo-xamarin-azure
XamarinAzureSolution/XamarinAzure.Mobile/XamarinAzure.Mobile/Pages/Android/DroidRootPage.cs
2,019
C#
namespace ShopManage { partial class MainInterface { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
41.39375
107
0.563793
[ "Apache-2.0" ]
nikolaynikolaevn/Mysteryland
ShopManage/MainInterface.Designer.cs
6,625
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. namespace SixLabors.ImageSharp.MetaData.Profiles.Icc { /// <summary> /// Provides methods to read ICC data types /// </summary> internal sealed partial class IccDataReader { /// <summary> ...
31.734375
110
0.458887
[ "Apache-2.0" ]
4thOffice/ImageSharp
src/ImageSharp/MetaData/Profiles/ICC/DataReader/IccDataReader.Matrix.cs
2,033
C#
using Moq; using NUnit.Framework; using PackageManager.Info.Contracts; using PackageManager.Models.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PackageManager.Tests.Repositories.PackageRepositoryTests.Fakes { [TestFixture]...
31.380952
106
0.645675
[ "MIT" ]
SimonaArsova/TelerikAcademy
C# Programming/C#UnitTesting/Exam_Skeleton/Skeleton/AcademyPackageManager/PackageManager.Tests/Repositories/PackageRepositoryTests/Update_Should.cs
1,320
C#
namespace mazes.Core.Cells { using System.Collections.Generic; using System.Drawing; using System.Linq; public abstract class Cell { // Position in the maze public int Row { get; } public int Column { get; } public Point Location => new Point(Column, Row); // Ce...
32.43956
88
0.442751
[ "MIT" ]
ericrrichards/mazes
mazes/Core/Cells/Cell.cs
2,954
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.CAS.Models { public class CreateVpcVroutertableResponse : TeaModel { // 请求唯一ID,用于链路跟踪和问题排查 [NameInMap("req_msg_id")] [Validation(Requir...
22.366667
59
0.631893
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
cas/csharp/core/Models/CreateVpcVroutertableResponse.cs
745
C#
using System.Net.Http.Headers; using UnityEngine; using UnityEngine.XR; public class Enemy : MonoBehaviour { public float speed = 10f; public int enemyHealth = 100; public int moneyGain = 50; public GameObject deathEffect; private Transform target; private int waypointIndex = 0; void S...
20.712329
106
0.583995
[ "CC0-1.0" ]
benji-rea/RaidDefenceLeague
Tower Defence Game/Assets/Scripts/Enemy.cs
1,514
C#
using System; namespace SshConfig { public class Program { public static int Main(string[] args) { if (args.Length < 1) { Console.Error.WriteLine("Usage: dotnet SshConfig.dll [group]"); return 1; } var result = H...
23.275
84
0.424275
[ "MIT" ]
IgorMilavec/IntegrationTests
src/SshConfig/Program.cs
933
C#
using System; using System.Linq; using AutoMapper; using Microsoft.EntityFrameworkCore; using WebApi.Common; using WebApi.DBOperations; namespace WebApi.Application.BookOperations.Queries.GetBookDetail { public class GetBookDetailQuery { private readonly IBookStoreDbContext _dbContext; private ...
29.333333
134
0.638799
[ "MIT" ]
MuhammetFatihYilmaz/BookStore
WebApi/Application/BookOperations/Queries/GetBookDetail/GetBookDetailQuery.cs
1,233
C#
using ComLight; using Diligent.Graphics; using System; using System.Runtime.InteropServices; using System.Threading; using Vrmac; using Vrmac.ModeSet; namespace RenderSamples { static class SampleRenderer { const eLogLevel consoleLoggingLevel = eLogLevel.Verbose; /// <summary>When running full sc...
33.520548
165
0.710666
[ "MIT" ]
Const-me/Vrmac
RenderSamples/Utils/SampleRenderer.cs
2,449
C#
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/UnitTestEx using UnitTestEx.NUnit.Internal; using NFI = NUnit.Framework.Internal; namespace UnitTestEx.NUnit { /// <summary> /// Provides the <b>NUnit</b> <see cref="Mocking.MockHttpClientFactory"/> implementation. /...
38.052632
135
0.688797
[ "MIT" ]
Avanade/UnitTestEx
src/UnitTestEx.NUnit/MockHttpClientFactory.cs
725
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.LanguageServices.Contracts { ...
27.28
101
0.703812
[ "MIT" ]
Bhaskers-Blu-Org2/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/LanguageServices/Contracts/FindModuleRequest.cs
684
C#
using Tizen.NET.MaterialComponents; using Microsoft.Maui.Controls; using Microsoft.Maui.Controls.Compatibility.Material.Tizen; using Microsoft.Maui.Controls.Platform.Tizen; using Microsoft.Maui.Controls.Platform.Tizen.Native; [assembly: ExportRenderer(typeof(Frame), typeof(MaterialFrameRenderer), new[] { typeof(Visual...
28.710526
146
0.779102
[ "MIT" ]
3DSX/maui
src/Compatibility/Material/src/Tizen/MaterialFrameRenderer.cs
1,091
C#
/* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ namespace Sportradar.OddsFeed.SDK.Entities.REST { /// <summary> /// Defines a contract implemented by classes representing a hole of a golf course /// </summary> public interface IHole { /// <summary> ...
23.73913
86
0.553114
[ "Apache-2.0" ]
Honore-Gaming/UnifiedOddsSdkNetCore
src/Sportradar.OddsFeed.SDK/Entities/REST/IHole.cs
548
C#
// ============================================================================ // FileName: RecordCNAME.cs // // Description: // // // Author(s): // Alphons van der Heijden // // History: // 28 Mar 2008 Aaron Clauson Added to sipswitch code base based on http://www.codeproject.com/KB/library/DNS.NET_Resolver.aspx. ...
25.763636
129
0.47777
[ "MIT" ]
go2sleep/GB28181.Solution
sipsorcery/src/net/DNS/Records/RecordCNAME.cs
1,417
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...
38.257813
190
0.637942
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataFactory/Latest/Outputs/AmazonMWSLinkedServiceResponse.cs
4,897
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using SalesWebMvc.Data; namespace SalesWebMvc.Migrations { [DbContext(typeof(Sal...
29.677419
75
0.493478
[ "MIT" ]
Igor-IS/SalesWeb
SalesWebMvc/Migrations/20200908193644_OtherEntities.Designer.cs
2,762
C#
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using WindowsTemplateSample.Models; using WindowsTemplateSample.ViewModels; namespace WindowsTemplateSample.Views { public sealed partial class ImageGallery1DetailPage : Page { public ImageGallery1...
27.275
100
0.64253
[ "MIT" ]
CNinnovation/MVVMWorkshopMar2018
WindowsTemplateSample/WindowsTemplateSample/Views/ImageGallery1DetailPage.xaml.cs
1,093
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("Fi...
35.965517
84
0.74209
[ "MIT" ]
sergioctorres/FitnessOfBand
FitnessOfBand/Properties/AssemblyInfo.cs
1,046
C#
using System.IO.Compression; using System.Web; using System.Web.Mvc; using System.Web.Routing; using Bundler.AspNet; using Bundler.Defaults; using Bundler.Example; using Bundler.Infrastructure; using Bundler.JavaScript; using Bundler.Less; [assembly: PreApplicationStartMethod(typeof(MvcApplication), nameof(MvcApplica...
35.66129
123
0.610131
[ "MIT" ]
irii/Bundler
Bundler.Example/Global.asax.cs
2,213
C#
using System; namespace SoliditySHA3Miner.NetworkInterface { public delegate void GetMiningParameterStatusEvent(INetworkInterface sender, bool success, MiningParameters miningParameters); public delegate void NewMessagePrefixEvent(INetworkInterface sender, string messagePrefix); public delegate void NewTa...
39.222222
153
0.728754
[ "MIT" ]
Aristophanes888/SoliditySHA3Miner
SoliditySHA3Miner/NetworkInterface/INetworkInterface.cs
1,414
C#
using Microsoft.Extensions.Localization; using OwnID.Extensibility.Services; namespace OwnID.Web { /// <summary> /// Default localization mechanism /// </summary> /// <remarks> /// Uses default and userDefined localizer /// </remarks> /// <inheritdoc cref="ILocalizationService" /> ...
32.054545
115
0.609189
[ "Apache-2.0", "MIT" ]
I343796/ownid-server-sdk-net
OwnID.Web/LocalizationService.cs
1,763
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; // no manager public class SnHBasketController : MonoBehaviour { public Players players; public int playerID; private PlayerStats snhPlayerStats; public SnHGameConstants gameConstants; ...
28.010563
83
0.586298
[ "MIT" ]
xmliszt/CB2.0
CB2.0/Assets/Scripts/Snatch&Hoard/PrefabControllers/SnHBasketController.cs
7,955
C#
using System.Web.Mvc; namespace GroupDocs.Total.MVC.Controllers { /// <summary> /// Search Web page controller /// </summary> public class SearchController : Controller { public ActionResult Index() { return View("Index"); } } }
19.8
46
0.558923
[ "MIT" ]
faizin87/GroupDocs.Total-for-.NET
Demos/MVC/src/Controllers/SearchController.cs
299
C#
using System; using MediatR; using System.Collections.Generic; using System.Runtime.Serialization; namespace Microsoft.eShopOnContainers.Services.Ordering.API.Application.Commands { // DDD and CQRS patterns comment: Note that it is recommended to implement immutable Commands // In this case, its immutability ...
29.9
107
0.618395
[ "MIT" ]
HydAu/eShopOnContainers
src/Services/Ordering/Ordering.API/Application/Commands/CreateOrderCommand.cs
2,992
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Entities.DataTransferObjects.Writable.Manipulatable { public abstract class CompanyForManipulationDTOW { [Required(ErrorMessage = "Company name is a required field.")] [MaxLength(60, ErrorMessage = "Maximu...
40.65
88
0.698647
[ "MIT" ]
IfeanyiNwachukwu/EmployeeRegisterAPI
Entities/DataTransferObjects/Writable/Manipulatable/CompanyForManipulationDTOW.cs
815
C#
// WARNING // // This file has been generated automatically by MonoDevelop to store outlets and // actions made in the Xcode designer. If it is removed, they will be lost. // Manual changes to this file may not be handled correctly. // using MonoMac.Foundation; namespace NBTExplorer.Mac { [Register ("CancelFindWindow...
20.612903
81
0.735524
[ "MIT" ]
3prm3/NBTExplorer-Reloaded
NBTExplorer/Mac/CancelFindWindow.designer.cs
639
C#
using System.IdentityModel.Tokens.Jwt; using HealthChecks.UI.Client; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting;...
44.638889
276
0.701805
[ "MIT" ]
CC-Expertise/IdentityServer4.Admin
templates/template-publish/content/src/SkorubaIdentityServer4Admin.Admin/Startup.cs
8,037
C#
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG // Licensed under the Apache License, Version 2.0 using Moryx.AbstractionLayer.Products; using Moryx.Configuration; using Moryx.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Moryx.Products.Manag...
35.785714
118
0.642315
[ "Apache-2.0" ]
milmilkat/MORYX-AbstractionLayer
src/Moryx.Products.Management/Modifications/PartialSerialization.cs
2,505
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using Acr.UserDialogs.Forms; using ReactiveUI; using ReactiveUI.Fody.Helpers; using Samples.Infrastructure; using Samples.Models; using Shiny; using Shiny.Push; namespace Samples.Push { pu...
29.90625
88
0.546499
[ "MIT" ]
shuheydev/shinysamples
Samples/Push/PushViewModel.cs
2,873
C#
using Abp.Authorization; using Abp.Zero.SampleApp.MultiTenancy; using Abp.Zero.SampleApp.Roles; using Abp.Zero.SampleApp.Users; namespace Abp.Zero.SampleApp.Authorization { public class AppPermissionChecker : PermissionChecker<Tenant, Role, User> { public AppPermissionChecker(UserManager userManager) ...
23.75
77
0.707895
[ "MIT" ]
MaikelE/module-zero-fork
src/Tests/Abp.Zero.SampleApp/Authorization/AppPermissionChecker.cs
382
C#
using System; namespace Framework.DomainDriven.BLL { public interface IBLLOperationEventListener<TDomainObject, TOperation> : IForceEventContainer<TDomainObject, TOperation> where TDomainObject : class where TOperation : struct, Enum { event EventHandler<DomainOperationEventArg...
31.75
125
0.737533
[ "MIT" ]
Luxoft/BSSFramework
src/_DomainDriven/Framework.DomainDriven.Core/BLL/Events/Operation/_Base/IBLLOperationEventListener.cs
372
C#
using System; namespace UAOOI.Networking.SemanticData.Encoding { internal static class CommonDefinitions { /// <summary> /// The time base DateTime to calculate ticks sent over wire for UA binary representation. /// </summary> public static readonly DateTime TimeBase = new DateTime(1601, 1, 1); /...
34.121212
97
0.629218
[ "MIT" ]
BiancoRoyal/OPC-UA-OOI
Networking/SemanticData/Encoding/CommonDefinitions.cs
2,254
C#
namespace _05._Kings_Gambit_Extended.Interfaces { public interface IDieable { bool IsAlive { get; } int Health { get; } void TakeDamage(); void Die(); } }
15.538462
48
0.564356
[ "MIT" ]
thelad43/CSharp-OOP-Advanced-SoftUni
12. Object Communication and Events - Exercise/05. Kings Gambit Extended/Interfaces/IDieable.cs
204
C#
namespace NEventStore.Benchmark.Support { internal static class EventStoreHelpers { internal static IStoreEvents WireupEventStore() { return Wireup.Init() // .LogToOutputWindow(LogLevel.Verbose) // .LogToConsoleWindow(LogLevel.Verbose) .U...
30.65
83
0.595432
[ "MIT" ]
tralivali1234/NEventStore
src/NEventStore.Benchmark/Support/EventStoreHelpers.cs
615
C#
// Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3 using System; using ClassicalSharp.Model; using ClassicalSharp.Physics; using OpenTK; using BlockID = System.UInt16; namespace ClassicalSharp.Entities { /// <summary> Entity component that performs collision detection. </summary> public sealed...
38.980519
113
0.635182
[ "BSD-3-Clause" ]
Andresian/ClassicalSharp
ClassicalSharp/Entities/Components/PhysicsComponent.cs
11,702
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v6/services/campaign_extension_setting_service.proto // </auto-generated> // Original file comments: // Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); ...
70.421456
438
0.75914
[ "Apache-2.0" ]
PierrickVoulet/google-ads-dotnet
src/V6/Services/CampaignExtensionSettingServiceGrpc.cs
18,380
C#
namespace Mirai.Net.Data.Messengers.Enums { public enum ImageMessengerType { Friend, Group, Temp } }
15.222222
42
0.576642
[ "MIT" ]
nidbCN/Mirai.Net
Mirai.Net/Data/Messengers/Enums/ImageMessengerType.cs
139
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v5/enums/manager_link_status.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobu...
36.902542
304
0.688483
[ "Apache-2.0" ]
GraphikaPS/google-ads-dotnet
src/V5/Types/ManagerLinkStatus.cs
8,709
C#
using MediatR; using System; using System.Collections.Generic; namespace PharmVerse.Domain.Common { public abstract class Entity { int? _requestedHashCode; Guid _Id; public virtual Guid Id { get { return _Id; ...
26.652632
96
0.459321
[ "MIT" ]
ddynamight/PharmVerse
PharmVerse/PharmVerse.Domain/Common/Entity.cs
2,534
C#
//============================================================================== // TorqueLab -> // Copyright (c) 2015 All Right Reserved, http://nordiklab.com/ //------------------------------------------------------------------------------ //============================================================================...
38.614754
94
0.478455
[ "MIT" ]
Torque3D-Resources/TorqueLab-v0.5-Alpha
tlab/sceneEditor/treeBook/PageDatablock/dbSelectData.cs
4,711
C#
using System; namespace LibA { public class Class1 { } }
7.888889
23
0.577465
[ "MIT" ]
01xOfFoo/sdk
src/Assets/TestProjects/AppWithProjRefCaseDiff/LibA/Class1.cs
73
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/securitycenter/v1/vulnerability.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Col...
41.200651
795
0.671015
[ "Apache-2.0" ]
AlexandrTrf/google-cloud-dotnet
apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/Vulnerability.g.cs
63,243
C#
/* Copyright (c) 2014 Antmicro <www.antmicro.com> Authors: * Konrad Kruczynski (kkruczynski@antmicro.com) * Piotr Zierhoffer (pzierhoffer@antmicro.com) * Mateusz Holenko (mholenko@antmicro.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associate...
32.09434
72
0.757202
[ "MIT" ]
konrad-kruczynski/Migrant
PerformanceTester/Serializers/MigrantSerializer.cs
1,701
C#
using AutoMapper.QueryableExtensions; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.SqlServer.Server; using MoreLinq; using NetTopologySuite; using NetTopologySuite.IO; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using...
44.578624
233
0.567173
[ "BSD-3-Clause" ]
WSWCWaterDataExchange/WaDE2.0
source/WesternStatesWater.WaDE.Accessors/WaterAllocationAccessor.cs
36,289
C#
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using System.IO; using MediaPlayer; using Foundation; using Microsoft.Xna.Framework.Graphics; namespace Microsoft.Xna.Framework...
30.672131
147
0.60449
[ "MIT" ]
06needhamt/MonoGame
MonoGame.Framework/Platform/Media/Video.iOS.cs
1,873
C#
// // BodyBuilder.cs // // Author: Jeffrey Stedfast <jestedfa@microsoft.com> // // Copyright (c) 2013-2019 Xamarin Inc. // // 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 restrict...
29.069519
121
0.648455
[ "MIT" ]
humayun-ahmed/MimeKit
MimeKit/BodyBuilder.cs
5,438
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; using BMap.NET.HTTPService; using System.ComponentModel; using System.Windows.Forms; using System.Threading; namespace BMap.NET.WindowsForm.BMapElements { /// <summary> /// 地图瓦片 /// </summary> i...
33.474926
166
0.394783
[ "Apache-2.0" ]
baikangwang/SunPhotometer
SunPhotometerMap/BMap.NET.WindowsForm/BMapElements/BTile.cs
11,748
C#