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.Generic; using System.Text; using Thunder.Blazor.Models; namespace Thunder.Blazor.Components { /// <summary> /// 基础对象 /// </summary> public interface IThunderObject { /// <summary> /// 对象名称 /// </summary> string ObjectName { ge...
20.936416
59
0.437604
[ "MIT" ]
alislin/Thunder.Blazor
Thunder.Blazor/Thunder.Blazor/Components/Base/IBlazorObject.cs
3,844
C#
<<<<<<< HEAD using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media.Media3D; using System.Windows; using System.Windows.Media.Imaging; using System.Windows.Media; using System.Windows.Controls; using System.Diagnostics; ======= using System.Windows; >>>>>>> 2e...
40.289683
146
0.577169
[ "Apache-2.0", "MIT" ]
frankfralick/Dynamo
src/Legacy/DynamoKinect/dynKinect.cs
10,155
C#
// Copyright (c) Russlan Akiev. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace ServiceBase { using System; using System.IO; using Microsoft.Extensions.Configuration; /// <summary> /// Configuration utiliti...
29.774194
107
0.56338
[ "Apache-2.0" ]
aruss/ServiceBase
src/ServiceBase/ConfigUtils.cs
1,848
C#
namespace Sakuno.KanColle.Amatsukaze.Views.Overviews { /// <summary> /// EquipmentOverviewWindow.xaml の相互作用ロジック /// </summary> partial class EquipmentOverviewWindow { public EquipmentOverviewWindow() { InitializeComponent(); } } }
20.857143
53
0.616438
[ "MIT" ]
ly931003/ing
src/HeavenlyWind/Views/Overviews/EquipmentOverviewWindow.xaml.cs
312
C#
namespace FluentFiles.Core.Base { using System; using System.Reflection; using FluentFiles.Core.Conversion; using FluentFiles.Core.Extensions; internal abstract class FieldSettingsBase : IFieldSettingsContainer { private IFieldValueConverter? _converter; private readonly Func<o...
33.037037
93
0.632848
[ "MIT" ]
mthamil/FlatFile
src/FluentFiles.Core/Base/FieldSettingsBase.cs
1,786
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace StudentSystem.WebApi.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } } }
17.411765
44
0.652027
[ "MIT" ]
vic-alexiev/TelerikAcademy
JavaScript Frameworks/Homework Assignments/2. Mustache.js/StudentSystem.Services/Controllers/HomeController.cs
298
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class weapon_laser : MonoBehaviour { Ray2D ray; public LineRenderer lineRenderer; public Transform LaserShoot; public Transform LaserHit; private Vector2 playerPos; public float offsetLaser; public Lay...
22.785185
122
0.542588
[ "MIT" ]
ConradoAndrade/Dont-Trust-in-Drones
Assets/codes/weapon_laser.cs
3,076
C#
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models { /// <summary> /// <para>表示 [POST] /goldplan/merchants/close-advertising-show 接口的响应。</para> /// </summary> public class CloseGoldPlanAdvertisingShowResponse : WechatTenpayResponse { } }
24.230769
80
0.714286
[ "MIT" ]
KimMeng2015/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/GoldPlan/CloseGoldPlanAdvertisingShowResponse.cs
333
C#
using System; using System.Collections.Generic; using System.Text; namespace DasContract.Editor.Entities.Exceptions { public class EditorContractException: Exception { public EditorContractException(string message) : base(message) { } public EditorContractException(string mess...
21.5
112
0.663848
[ "MIT" ]
drozdik-m/DasContractEditor
DasContract.Editor/DasContract.Editor.Entities/Exceptions/EditorContractException.cs
475
C#
using UnityEngine; using UnityEngine.SceneManagement; public class Zumbi : MonoBehaviour { public Animator anim; public Rigidbody rb; public Collider coll; private Transform jogador; public float delay = 1f; public float delayDamage = 1f; private bool andando = false; private bo...
17.777778
77
0.53125
[ "MIT" ]
paulosalvatore/Intensivo8_Ocean_VR
Assets/Scripts/Zumbi.cs
1,763
C#
// // CounterAssemblyBuilder.cs // // Author: // Sergiy Sakharov (sakharov@gmail.com) // // (C) 2011 Sergiy Sakharov // // 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 ...
37.406504
131
0.7218
[ "MIT" ]
SteveGilham/dot-net-coverage
Coverage/Instrument/CounterAssemblyBuilder.cs
4,601
C#
using System; using System.Collections.Generic; using System.Text; namespace Cipher { public interface IVigenere { public string DefaultAlphabet { get; } public string Encrypt(string source, string key); public string Decrypt(string encrypted, string key); p...
23.761905
86
0.669339
[ "MIT" ]
s1nav/TestTasks
SpeechPro/Cipher/IVigenere.cs
501
C#
using DragonSpark.Runtime; using System; using System.IO; using DragonSpark.Windows; namespace DevelopersWin.VoteReporter { public interface IStorage { Uri Save( object item, string fileName = null ); } public sealed class Storage : IStorage { readonly ISerializer serializer; readonly DirectoryInfo directo...
24.114286
105
0.709716
[ "MIT" ]
DragonSpark/VoteReporter
DevelopersWin.VoteReporter/IStorage.cs
844
C#
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace JpegLibrary.Benchmarks { internal class JpegRgbToYCbCrComponentConverter { public static JpegRgbToYCbCrComponentConverter Shared { get; } = new JpegRgbToYCbCrComponentConverter(); private int[...
33.395833
118
0.509461
[ "MIT" ]
yigolden/JpegLibrary
tests/JpegLibrary.Benchmarks/JpegRgbToYCbCrComponentConverter.cs
4,811
C#
using System.Threading.Tasks; using Toss.Shared; namespace Toss.Client.Services { /// <summary> /// Access to account informations /// </summary> public interface IAccountService { /// <summary> /// Get the current user account details from backend /// </summary> /...
22.166667
61
0.606516
[ "Apache-2.0" ]
OsvaldoMartini/Blazor_Projects
Toss.Blazor/Toss/Toss.Client/Services/IAccountService.cs
401
C#
using Fuchsbau.Components.CrossCutting.DataTypes; namespace Fuchsbau.Components.Data.DataStoring.Contract { public interface IComplaintImageRepository : IRepository<ComplaintImage> { } }
25
76
0.795
[ "MIT" ]
hubertfuchs/Components
DataStoring.Contract/IComplaintImageRepository.cs
202
C#
using System; using System.Collections.Generic; namespace FHIRGenomicsImporter.Model { public partial class AgspatientCtmsdata { public int PatientId { get; set; } public int MessageId { get; set; } public string StudyId { get; set; } public string IndicationForTestin...
32
64
0.642361
[ "Apache-2.0" ]
emerge-ehri/FHIRGenomicsImporter
FHIRGenomicsImporter/Model/AgspatientCtmsdata.cs
578
C#
using System.Collections.Generic; using System.Linq; using Abp.MultiTenancy; using Afonsoft.Ranking.Authorization; namespace Afonsoft.Ranking.DashboardCustomization.Definitions { public class DashboardConfiguration { public List<DashboardDefinition> DashboardDefinitions { get; } = new List<DashboardDe...
38.956044
144
0.627645
[ "MIT" ]
afonsoft/Ranking
src/Afonsoft.Ranking.Core/DashboardCustomization/Definitions/DashboardConfiguration.cs
7,092
C#
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Windows; using System.Windows.Controls; namespace OnlineTradingSystem { public partial class MainWindow : Window { List<Int32> numbersID; readonly DA dal; DataTable dt; #region...
27.005714
142
0.495133
[ "BSD-2-Clause" ]
orenber/Online-Trading-System
OnlineTradingSystem/OnlineTradingSystem/OnlineStoreMenu.xaml.cs
4,728
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("Ma...
38.973684
84
0.749494
[ "Apache-2.0" ]
1orenz0/sandbox-attacksurface-analysis-tools
ManagedHandleUtils/Properties/AssemblyInfo.cs
1,484
C#
// This code is in the Public Domain. It is provided "as is" // without express or implied warranty of any kind. using System; using System.Drawing; using System.Windows.Forms; using OpenTK.Graphics.OpenGL; namespace Examples.WinForms { [Example("GLControl Simple", ExampleCategory.OpenTK, "GLControl", 1, Docume...
26.319149
106
0.565077
[ "MIT" ]
jwatte/gears
OpenTK/1.0/Source/Examples/Examples/OpenTK/GLControl/GLControlSimple.cs
2,476
C#
using System; using System.Collections.Generic; namespace OpenInvoicePeru.Estructuras.CommonAggregateComponents { [Serializable] public class PricingReference { public List<AlternativeConditionPrice> AlternativeConditionPrices { get; set; } public PricingReference() { ...
25.3125
87
0.706173
[ "Apache-2.0" ]
MrJmpl3-Forks/openinvoiceperu
OpenInvoicePeru/OpenInvoicePeru.Estructuras/CommonAggregateComponents/PricingReference.cs
407
C#
using System; using System.Collections.Generic; using Cassette.Scripts; using Moq; using Should; using Xunit; namespace Cassette.RequireJS { public class ModuleInitializerTests { readonly ModuleInitializer configuration; readonly List<Bundle> bundles; public ModuleInitializerT...
34.022222
104
0.585892
[ "MIT" ]
WS-QA/cassette
src/Cassette.RequireJS.UnitTests/ModuleInitializer.cs
3,064
C#
namespace DddInPractice.UI.Common { public partial class MainWindow { public MainWindow() { InitializeComponent(); DataContext = new MainViewModel(); } } }
16.769231
46
0.550459
[ "Apache-2.0" ]
NicoDeAstis/DddInPractice
DddInPractice.UI/Common/MainWindow.xaml.cs
220
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Bot Framework: http://botframework.com // // Bot Builder SDK GitHub: // https://github.com/Microsoft/BotBuilder // // Copyright (c) Microsoft Corporation // All rights reserved. // // MIT License: // Permission ...
33.595041
109
0.560394
[ "MIT" ]
AskYous/botbuilder
CSharp/Tests/Microsoft.Bot.Builder.Tests/EndConversationTests.cs
4,067
C#
// ========================================================================== // This software is subject to the provisions of the Zope Public License, // Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED // WARRANTIES ARE D...
36.98377
80
0.677086
[ "MIT" ]
Alfred-Sun/Wox
Pythonnet.Runtime/runtime.cs
59,248
C#
using MasterServerToolkit.Logging; using System; using System.Collections.Generic; using UnityEngine; namespace MasterServerToolkit.Networking { /// <summary> /// Client for connecting to websocket server. /// </summary> public class ClientSocketWs : BaseClientSocket<PeerWs>, IClientSocket, IUpdatable...
29.077399
119
0.492227
[ "MIT" ]
itsnotyoutoday/MST
Assets/MasterServerToolkit/Networking/Scripts/ClientSocketWs.cs
9,394
C#
using System; [Serializable] public struct PotionEffect { public double IncreaseMaxHp { get; set; } public double IncreaseMaxEp { get; set; } public double IncreaseAttDmg { get; set; } public double IncreaseDefPer { get; set; } public double IncreaseCritDmg { get; set; } public double IncreaseCritPer { get...
32.071429
47
0.707127
[ "Apache-2.0" ]
hellun205/Goguma
Game/Object/Inventory/Item/Consume/PotionEffect.cs
898
C#
using System.Collections.Generic; using System.Threading.Tasks; using Zammad.Client.Core; using Zammad.Client.Resources; using Zammad.Client.Services; namespace Zammad.Client { public class OrganizationClient : ZammadClient, IOrganizationService { public OrganizationClient(ZammadAccount account) ...
30.491228
125
0.643268
[ "Apache-2.0" ]
MarvinKlar/Zammad-Client
src/Zammad.Client/OrganizationClient.cs
1,740
C#
using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Dynamic.Core; using System.Threading.Tasks; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.Authorization; using Abp.Domain.Repositories; using Abp.Extensions; using Abp.IdentityFramework; usi...
36.074468
134
0.615305
[ "MIT" ]
snowchenlei/AbpCustomerAuth
aspnet-core/src/Snow.Template.Application/Authorization/Roles/RoleAppService.cs
6,800
C#
 namespace ET { public class LoginFinish_RemoveLoginUI: AEvent<EventType.LoginFinish> { protected override async ETTask Run(EventType.LoginFinish args) { args.ZoneScene.GetComponent<FGUIComponent>().Remove(FGUILogin.UIResName); await ETTask.CompletedTask; //await UIHelper.Remove(args.ZoneScene, UIType...
21.25
76
0.761765
[ "MIT" ]
jameshuh/ET
Unity/Assets/HotfixView/FairyGUI/Logic/UILogin/Handler/LoginFinish_RemoveLoginUI.cs
342
C#
// Copyright (c) MicroElements. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace MicroElements.FileStorage.Abstractions { public static class StorageEngineExtensions { public static bool IsExists(this IStorageProvider ...
32.357143
101
0.730684
[ "MIT" ]
micro-elements/MicroElements.FileStorage
src/MicroElements.FileStorage/Abstractions/StorageEngineExtensions.cs
455
C#
using DotNetRevolution.Core.Domain; using DotNetRevolution.Core.Tests.Mock; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.ObjectModel; using System.Linq; namespace DotNetRevolution.Core.Tests.Domain { [TestClass] public class DomainEventHandlerFactoryTests { private ...
31.307692
112
0.646683
[ "MIT" ]
DotNetRevolution/DotNetRevolution-Framework
tests/DotNetRevolution.Core.Tests/Domain/DomainEventHandlerFactoryTests.cs
2,037
C#
using Abp.AspNetCore.Mvc.Controllers; using Abp.IdentityFramework; using Microsoft.AspNetCore.Identity; namespace MyProject.Controllers { public abstract class MyProjectControllerBase: AbpController { protected MyProjectControllerBase() { LocalizationSourceName = MyProjectConsts.Loc...
25.35
76
0.710059
[ "MIT" ]
CadeXu/ABP
abpMySql/aspnet-core/src/MyProject.Web.Core/Controllers/MyProjectControllerBase.cs
507
C#
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, co...
32.218543
154
0.730319
[ "MIT" ]
TetradogOther/SharpDevelop
src/Main/Base/Project/Services/IFileSystem.cs
4,867
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
38.787879
110
0.542076
[ "MIT" ]
Peter-Schneider/azure-powershell
src/Common/Commands.Common.Authentication.Test/AzureRMProfileTests.cs
8,732
C#
using DotNetNuke.Services.Localization; using System; using System.Web; using System.ComponentModel; using Microsoft.VisualBasic; using System.Web.UI.WebControls; using System.Collections; using System.Web.UI.HtmlControls; using System.Web.UI; using System.Data.SqlClient; using System.Data; using DotNetNuke.UI.UserCo...
26.080808
80
0.660341
[ "MIT" ]
UpendoVentures/dnnstuff.sqlviewpro
EditConnection.ascx.designer.cs
2,582
C#
using SAAI.Properties; using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Windows.Forms; using System.Windows.Media.Imaging; namespace SAAI { /// <summary> /// SettingsDialog allows the user to enter/edit the application ...
34.944444
226
0.651122
[ "MIT" ]
Ken98045/On-Guard
src/AIDisplay/Forms/SettingsDialog.cs
5,663
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Lykke.Service.EthereumCore.Core.Repositories { public interface INewEthereumContract { string Abi { get; set; } string ByteCode { get; set; } } public interface IEthereumContract ...
25.612903
65
0.680101
[ "MIT" ]
JTOne123/EthereumApiDotNetCore
src/Lykke.Service.EthereumCore.Core/Repositories/IEthereumContractRepository.cs
796
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFix...
36.72549
160
0.601708
[ "Apache-2.0" ]
IanKemp/Roslynator
src/CodeFixes/CSharp/CodeFixes/RemoveDuplicateModifierCodeFixProvider.cs
1,875
C#
using FFMpegCore.FFMPEG.Enums; namespace FFMpegCore.FFMPEG.Argument { /// <summary> /// Represents speed parameter /// </summary> public class SpeedArgument : Argument<Speed> { public SpeedArgument() { } public SpeedArgument(Speed value) : base(value) {...
21.130435
59
0.549383
[ "MIT" ]
liuyl1992/FFMpegCore
FFMpegCore/FFMPEG/Argument/Atoms/SpeedArgument.cs
488
C#
// <auto-generated /> using System; using Company.WebApplication1.Data; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; nam...
35.164557
125
0.489921
[ "Apache-2.0" ]
0xced/AspNetCore
src/Templating/src/Microsoft.DotNet.Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Data/SqlServer/00000000000000_CreateIdentitySchema.Designer.cs
8,334
C#
// Copyright (c) 2017 Andrew Vardeman. Published under the MIT license. // See license.txt in the FileSharper distribution or repository for the // full text of the license. using System; using System.Collections.Generic; using System.IO; using System.Threading; namespace FileSharperCore.Processors.Shell { publi...
32.788462
92
0.607038
[ "MIT" ]
adv12/FileSharper
src/FileSharper/FileSharperCore/Processors/Shell/OpenContainingFolderProcessor.cs
1,705
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <ToDo> /// check code. /// </ToDo> public class CharacterHolder : MonoBehaviour { public Text CharacterName; public RawImage CharacterImage; public RawImage CharacterRank; public RawImage CharacterFaction; p...
18.636364
46
0.754878
[ "MIT" ]
jengske/HeroesAndGeneralsManager
Scripts/CharacterScripts/CharacterHolder.cs
822
C#
using HaloEzAPI.Model.Response.MetaData.HaloWars2.Shared; namespace HaloEzAPI.Model.Response.MetaData.HaloWars2.Cards { public class HW2StartingArmyDisplayInfo : Details { } }
23.5
59
0.781915
[ "MIT" ]
BadDub/Halo-API
HaloEzAPI/Model/Response/MetaData/HaloWars2/Cards/HW2StartingArmyDisplayInfo.cs
188
C#
using HarSharp; using JBlam.HarClient.Tests.Mocks; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Mime; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace JBlam...
52.902655
166
0.616929
[ "MIT" ]
jblam/HarClient
HarClient.Tests/Content/ResponseContentBehaviour.cs
11,965
C#
using System.Collections.Generic; using System.Linq; using UnityEngine; public class Buffer<T> { public int Size { get { return elements.Count; } } private Queue<T> elements; private int bufferSize; private int counter; private int correctionTollerance; public Buffer(int bufferSize, int co...
20.443038
59
0.448916
[ "MIT" ]
Vytek/EmbeddedFPSExample
EmbeddedFPSClient/Assets/Scripts/shared/Buffer.cs
1,617
C#
/* * This class was auto-generated from the API references found at * https://epayments-api.developer-ingenico.com/s2sapi/v1/ */ using Ingenico.Connect.Sdk.Domain.Mandates.Definitions; namespace Ingenico.Connect.Sdk.Domain.Payment.Definitions { public class SepaDirectDebitPaymentProduct771SpecificInput : Abstra...
33.125
118
0.766038
[ "MIT" ]
AlexXx777/connect-sdk-dotnet
connect-sdk-dotnet/Ingenico/Connect/Sdk/Domain/Payment/Definitions/SepaDirectDebitPaymentProduct771SpecificInput.cs
530
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Starter.Web.Vue.API.Users { public class User { public int Id { get; set; } public string Name { get; set; } public string Email { get; set; } public DateTime CreatedAt { ...
21.25
47
0.635294
[ "MIT" ]
vyrotek/dotnet-starter
src/Starter.Web.Vue/API/Users/User.cs
342
C#
// InpDateTimeOptionTests.cs // By: Adam Renaud // Created: 2019-09-18 using Droplet.Core.Inp.Exceptions; using Droplet.Core.Inp.Options; using Droplet.Core.Inp.Entities; using System; using System.Collections; using System.Collections.Generic; using Xunit; using Xunit.Abstractions; namespace Droplet.Core.Inp.Tests....
38.933806
142
0.586132
[ "MIT" ]
rena0157/Droplet
tests/Droplet.Core.Inp.Tests/Options/InpDateTimeOptionTests.cs
16,471
C#
using UnityEditor.ShaderGraph; namespace UnityEditor.Rendering.HighDefinition { static class CreateHDLitShaderGraph { [MenuItem("Assets/Create/Shader/HDRP/Lit Graph", false, 208)] public static void CreateMaterialGraph() { GraphUtil.CreateNewGraph(new HDLitMasterNod...
24.857143
70
0.646552
[ "MIT" ]
JesusGarciaValadez/RenderStreamingHDRP
RenderStreamingHDRP/Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Editor/Material/Lit/ShaderGraph/CreateHDLitShaderGraph.cs
348
C#
// // Copyright 2012-2016, Xamarin Inc. // // 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...
34.155116
133
0.511837
[ "Apache-2.0" ]
Abhirasmanu-Trimble/Xamarin.Auth
source/Core/Xamarin.Auth.XamarinAndroid/AccountStore/AndroidAccountStore.cs
10,349
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...
30.36
101
0.689723
[ "Apache-2.0" ]
ermshiperete/aws-sdk-net
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/DescribeDomainResult.cs
1,518
C#
using System; using System.Collections.Generic; using Windows.Foundation; namespace Windows.UI.Xaml.Automation.Peers { public partial class LoopingSelectorItemDataAutomationPeer { internal LoopingSelectorItemDataAutomationPeer( DependencyObject pItem, LoopingSelectorAutomationPeer pOwner) { _itemIndex =...
21.498563
108
0.714629
[ "Apache-2.0" ]
AbdalaMask/uno
src/Uno.UI/UI/Xaml/Controls/Primitives/LoopingSelector/LoopingSelectorItemDataAutomationPeer_Partial.cs
14,963
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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://w...
41.801527
149
0.610299
[ "MIT" ]
Milstein/azure-sdk-tools
WindowsAzurePowershell/src/Commands/HDInsight/NewAzureHDInsightHiveJobDefinitionCmdlet.cs
5,348
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; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading; usi...
39.83208
201
0.643302
[ "MIT" ]
AArnott/vs-threading
test/Microsoft.VisualStudio.Threading.Tests/TestUtilities.cs
15,895
C#
using RestAPI.Data.VO; using RestAPI.Model; using RestAPI.Model.Context; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace RestAPI.Repository { public class UserRepository : IUserRepository { ...
27.986842
109
0.566996
[ "Apache-2.0" ]
osvaldobnu/RestWithAspnet5
RestWithASPNET/02_Calculator/RestAPI/RestAPI/Repository/UserRepository.cs
2,129
C#
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
77.518219
400
0.656343
[ "MIT" ]
3quanfeng/azure-powershell
src/ImageBuilder/generated/runtime/EventListener.cs
18,901
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Eva.eShop.Services.Marketing.API.Model; using MySql.Data.EntityFrameworkCore.Extensions; namespace Eva.eShop.Services.Marketing.API.Infrastructure.EntityConfigurations { class RuleEntityTypeConfiguration : IEn...
33.15625
79
0.653157
[ "MIT" ]
Liang-Zhinian/eShop
src/Services/Marketing/Marketing.API/Infrastructure/EntityConfigurations/RuleEntityTypeConfiguration.cs
1,063
C#
namespace Lab_7 { public enum Gender { Male, Female, Intrasex } }
11.333333
22
0.470588
[ "MIT" ]
BullFrog13/Centennial_Programming2CSharp
Labs/Lab_7/Gender.cs
104
C#
using NUnit.Framework; using PackageManager.Enums; using PackageManager.Models; using System; namespace PackageManager.Tests.Models.PackageVersionTests { [TestFixture] public class Minor_Should { [Test] public void SetThePassedValue_IfItIsValid() { int major = 1; ...
25.333333
98
0.592105
[ "MIT" ]
darindragomirow/TelerikAcademy
Module2/UnitTestingEXAMS-02.2017/PackageManager-UnitTesting2/Skeleton/AcademyPackageManager/PackageManager.Tests/Models/PackageVersionTests/Minor_Should.cs
914
C#
namespace TraktNet.Objects.Get.Syncs.Activities { using System; /// <summary>A collection of UTC datetimes of last activities for seasons.</summary> public class TraktSyncSeasonsLastActivities : ITraktSyncSeasonsLastActivities { /// <summary>Gets or sets the UTC datetime, when a season was las...
40.714286
110
0.678363
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Lib/Trakt.NET/Objects/Get/Syncs/Activities/Implementations/TraktSyncSeasonsLastActivities.cs
857
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using NUnit.Framework; us...
26.494737
126
0.595153
[ "MIT" ]
CameronLoewen/docusign-csharp-client
sdk/src/DocuSign.eSign.Test/Model/RecipientUpdateResponseTests.cs
2,517
C#
using System; using ObjCRuntime; namespace MaterialControls { public enum MDButtonType : uint { Raised, Flat, FloatingAction } [Native] public enum MDCalendarMonthSymbolsFormat : long /* nint */ { Short = 0, Full = 1, ShortUppercase = 2, FullUppercase = 3 } [Native] public enum MDCalendarCellS...
15.137931
61
0.63022
[ "MIT" ]
AgentdesksEngine/Material-Controls-For-iOS
MaterialControls.Xamarin.Binding/Structs.cs
1,319
C#
/* * Copyright 2020 Sage Intacct, Inc. * * 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 * * or in the "LICENSE" file accompanying t...
30.416667
80
0.595205
[ "Apache-2.0" ]
Intacct/intacct-sdk-net
Intacct.SDK.Tests/Functions/Common/Query/Comparison/GreaterThan/GreaterThanDecimalTest.cs
1,462
C#
/*=================================\ * CWA.DTP\CommandType.cs * * The Coestaris licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. * * Created: 12.09.2017 21:45 * Last Edited: 15.09.2017 22:40:15 *=================================*/ using System; namespac...
25.222222
64
0.602056
[ "MIT" ]
Coestaris/PlotterControl
Lib/CWA.DTP/Plotter/Handler/CommandType.cs
681
C#
using HarmonyLib; using StardewValley; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace PlatoTK.Content { internal class EventConditionsProvider : IConditionsProvider { public string Id => "Default"; ...
26.090909
91
0.646922
[ "MIT" ]
Platonymous/PlatoTK
PlatoTK/Content/EventConditionsProvider.cs
863
C#
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using Xenko.Core; using Xenko.Core.IO; using Xenko.Games; using Xenko.Graphics.Font; namespace Xenk...
26.12766
114
0.613192
[ "MIT" ]
Aminator/xenko
sources/engine/Xenko.Engine/Rendering/Fonts/GameFontSystem.cs
1,228
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...
33.064748
184
0.604656
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ContainerRegistry/V20190501/GetRegistry.cs
4,596
C#
using UnityEngine; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using System.Linq; using System; // TODO: Muokkaa tätä koodia myöhemmin. public static class SaveLoad { // all saved data is turned into longs (64bit int) public static long[] SaveData { get; set; } // SaveData lengh...
26.962963
114
0.556319
[ "MIT" ]
FromCaffeineToCode/Kuntoutussovelluss
Assets/Code/SaveLoad.cs
2,917
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03.PCCatalog { class Components { private string name; private string details; private decimal price; public Components(string name, string details, d...
26.97561
103
0.44575
[ "MIT" ]
evgeni-tsn/CSharp-Entity-ASP-Web-Development
2.C#-Object-Oriented-Programming/01.OOP-Defining-Classes/03.PCCatalog/Components.cs
2,214
C#
using Newtonsoft.Json; using RabbitMqHttpApiClient.Models.Common; namespace RabbitMqHttpApiClient.Models.QueueModel { public class Queue { [JsonProperty("memory")] public long Memory { get; set; } [JsonProperty("message_stats")] public QueueMessageStats MessageStats { get; set;...
30.414634
70
0.631917
[ "MIT" ]
kuanysh-nabiyev/RabbitMqHttpApiClient
RabbitMqHttpApiClient/Models/QueueModel/Queue.cs
3,741
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.Extensions.TrxLogger { using System; using System.Collections.Concurrent; using System.Collections...
40.715339
189
0.604419
[ "MIT" ]
saul/vstest
src/Microsoft.TestPlatform.Extensions.TrxLogger/TrxLogger.cs
27,605
C#
/* --------------------------------- MIT License --------------------------------- Copyright (c) 2019 jtsoya539 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 witho...
37.540984
79
0.620087
[ "MIT" ]
DamyGenius/risk
source/backend/Risk.API/Entities/YArchivo.cs
2,290
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...
77.416918
507
0.686049
[ "MIT" ]
AlanFlorance/azure-powershell
src/ApplicationInsights/generated/cmdlets/GetAzApplicationInsightsComponentQuotaStatus_GetViaIdentity.cs
25,295
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.4952 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
32.903226
148
0.613725
[ "BSD-3-Clause" ]
Shagai/Activiz
Examples/EventMonitor/CS/Properties/Settings.Designer.cs
1,022
C#
using System; using System.Collections.Generic; using System.Linq; using System.Data.Entity; using System.Text; using System.Threading.Tasks; using BlogSystem.IDAL; using BlogSystem.Models; namespace BlogSystem.DAL { public class BaseService<T>:IBaseService<T> where T :BaseEntity,new() { priva...
29.340206
107
0.547435
[ "MIT" ]
zd19851231/blog_sys
BlogSystem/BlogSystem.DAL/BaseService.cs
2,886
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Frends.Community.RabbitMQ { /// <summary> /// Acknowledge type for manual operation /// </summary> pub...
29.970213
117
0.557717
[ "MIT" ]
levik-buka/Frends.Community.RabbitMQ
Frends.Community.RabbitMQ/Definitions.cs
7,045
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 Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input.Touch; #if WINDOWS_STOREAPP || WINDOWS_UAP using Wind...
38.115677
174
0.634374
[ "MIT" ]
ArmatureStudio/MonoGame
MonoGame.Framework/GraphicsDeviceManager.Legacy.cs
25,042
C#
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Wind...
25.117647
102
0.660422
[ "MIT" ]
billchungiii/Test2d
Test2d.UI.Wpf/Controls/StateControl.xaml.cs
826
C#
using System; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using FakeItEasy; using FluentAssertions.Json; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Diagnostics.HealthChecks; using Newtonsoft.Json.Linq...
28.255102
106
0.657638
[ "MIT" ]
concilify/stackage-core-nuget
package/Stackage.Core.Tests/DefaultMiddleware/Health/child_registered_with_factory.cs
2,769
C#
// Copyright (c) All contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #if !UNITY_2018_3_OR_NEWER using System; using MessagePack; using MessagePack.Resolvers; using Xunit; using Xunit.Abstractions; public class MessagePackSeriali...
33.05
202
0.699319
[ "BSD-2-Clause" ]
Alprog/MessagePack-CSharp
src/MessagePack.UnityClient/Assets/Scripts/Tests/ShareTests/MessagePackSerializerTypelessTests.cs
2,644
C#
using Amazon.JSII.JsonModel.Spec; using System; using System.Collections.Generic; using System.Xml.Linq; namespace Amazon.JSII.Generator { public static class AssemblyExtensions { public static string GetNativePackageId(this Assembly assembly, string targetPackageName = null) { ass...
37.773196
127
0.577784
[ "Apache-2.0" ]
floehopper/jsii
packages/jsii-dotnet-generator/src/Amazon.JSII.Generator/AssemblyExtensions.cs
3,666
C#
using System; using System.IO; using System.Runtime.InteropServices; using System.Security.Principal; using smartadmiral.common; namespace smartadmiral.files { public class FileCopier { [DllImport("advapi32.dll", SetLastError = true, CharSet = CharSet.Unicode)] internal static extern bool Logo...
32.511111
101
0.548872
[ "MIT" ]
AdmiralTool/Admiral
smartadmiral.files/FileCopier.cs
1,465
C#
using CryptoApisLibrary.DataTypes; using CryptoApisLibrary.ResponseTypes.Blockchains; using System; namespace CryptoApisSnippets.Samples.Blockchains { partial class BlockchainSnippets { public void ImportAddressAsWalletBtc() { var walletName = "testImportWallet"; var password = "SECRET123456";...
37.115385
101
0.745078
[ "MIT" ]
Crypto-APIs/.NET-Library
CryptoApisSnippets/Samples/Blockchains/Wallets/ImportAddressAsWalletBtc.cs
967
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 System.Net; using System.Net.Http; using System.Text; using FluentAssertions; using Microsoft.CodeAnalysis.Sarif.PatternMatch...
43.609195
150
0.563258
[ "MIT" ]
microsoft/sarif-pattern-matcher
Src/Plugins/Tests.Security/Validators/SEC101_047.CratesApiKeyValidatorTests.cs
3,796
C#
using Foundation.ObjectHydrator.Interfaces; using System; using System.Collections.Generic; namespace Foundation.ObjectHydrator.Tests.HydratorTests { class InjectedGenerator:IGenerator<string> { private readonly Random random; private IList<string> states = new List<string>(); public...
25.242424
61
0.477791
[ "Apache-2.0" ]
PrintsCharming/ObjectHydrator
Foundation.ObjectHydrator.Tests/HydratorTests/InjectedGenerator.cs
835
C#
using System; #if __MOBILE__ namespace Xamarin.Forms.Platform.iOS #else namespace Xamarin.Forms.Platform.MacOS #endif { public class VisualElementChangedEventArgs : ElementChangedEventArgs<VisualElement> { public VisualElementChangedEventArgs(VisualElement oldElement, VisualElement newElement) : base(oldElemen...
22.733333
90
0.77566
[ "MIT" ]
07101994/Xamarin.Forms
Xamarin.Forms.Platform.iOS/ElementChangedEventArgs.cs
682
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Transport.Libuv.Native { using System; using System.Diagnostics; using System.Net; sealed class Tcp : TcpHandle { stati...
29.425743
101
0.567631
[ "Apache-2.0" ]
cdy816/mars
Common/DotNettyCore/Transport/Libuv/Native/Tcp.cs
2,974
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using IndependentResolutionRendering; using BBTA.Interface; using BBTA.GestionAudio; namespace BBTA.Menus { public class MenuOptions : MenuArrierePlan { ...
43.444853
147
0.616654
[ "BSD-3-Clause" ]
Tri125/BBTA_MonoGame
BBTA_MonoGame/BBTA_MonoGame/Classe/Menus/MenuOptions.cs
11,834
C#
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WinActiveTool { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyle...
20.5
65
0.585366
[ "MIT" ]
KangXieXK/FileUpLoadDownloadToSqlServer
WinActiveTool/Program.cs
473
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using Xunit; using Xunit.Abstractions; namespace Dotnet.CodeGen.Tests { public class PackAndUseTests : IDisposable { const string PACKAGE_NAME = "Dotnet.CodeGen"; const string COMMAND_...
36.762821
121
0.544725
[ "Apache-2.0" ]
thomasraynal/dotnet-codegen
tests/Dotnet.CodeGen.Tests/PackAndUseTests.cs
5,737
C#
using System; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using Check2.Models; namespace Check2.Contr...
37.045361
173
0.539712
[ "MIT" ]
athena272/Mentoria
Controllers/AccountController.cs
18,026
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.322581
115
0.616766
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Cdn/Inputs/QueryStringMatchConditionParametersArgs.cs
2,004
C#
#pragma checksum "C:\Users\merve bilgiç\Source\Repos\merveBILGIC\KombniyApp\KombniyAppAccount\Views\Shared\_Layout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "266a12e94271e40d223514d318f168a7fe2cde42" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorComp...
79.955056
384
0.725583
[ "MIT" ]
merveBILGIC/KombiniyApp
KombniyAppAccount/obj/Debug/netcoreapp3.1/Razor/Views/Shared/_Layout.cshtml.g.cs
28,475
C#
namespace CarDealer.Web.Controllers { using CarDealer.Data.Models; using CarDealer.Web.Models.AccountModels; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.L...
34.922374
153
0.555178
[ "MIT" ]
ivanrk/CarDealerSystem
CarDealer.Web/Controllers/AccountController.cs
15,298
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; /* namespace project_api.Models { public class Taak { #region Properties public int Id { get; set; } [Required] [StringLength(50, Minimum...
25.173077
133
0.588235
[ "MIT" ]
christofremeysen-git/mobile-application-development-android
project-api/Models/Taak.cs
1,309
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...
45.872985
307
0.553753
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/PoolsOperations.cs
71,149
C#
using GDAPI.Objects.DataStructures; using System; namespace GDAPI.Objects.Reflection { /// <summary>Represents a dictionary of <seealso cref="FirstWideCachedTypeInfo{TTypeKey, TPropertyKey}"/> objects.</summary> /// <typeparam name="TTypeKey">The type of the key that the type returns.</typeparam> /// <typ...
61.526316
160
0.734816
[ "MIT" ]
AlFasGD/GDAPI
GDAPI/GDAPI/Objects/Reflection/CachedTypeInfoDictionary.cs
1,171
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using Eto.Forms; using Quartz.Util; using Serilog.Core; using SteamKit2; using SteamKit2.GC; using SteamKit2.GC.CSGO.Internal; using SteamKit2.GC.TF2.Internal; using Ste...
37.893817
131
0.507325
[ "MIT" ]
Marc3842h/Titan
Titan/Account/Impl/ProtectedAccount.cs
28,195
C#