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 FaraMedia.Web.Framework.UI.Sectionation.Renderers { using System.Web.Mvc; using FaraMedia.Web.Framework.UI.Sectionation.Items; public abstract class SectionItemRendererBase { public abstract MvcHtmlString Render(SectionItemBase sectionItem); } }
31.222222
74
0.768683
[ "MIT" ]
m-sadegh-sh/FaraMedia
src/Presentation/FaraMedia.Web.Framework/UI/Sectionation/Renderers/SectionItemRendererBase.cs
281
C#
using System; using System.Collections.Generic; using System.Text; namespace RazorPagesMovie.MovieServices.DTOs { public class MovieDto { public int Id { get; set; } public string Title { get; set; } public DateTime ReleaseDate { get; set; } public string Genre {...
20.210526
49
0.606771
[ "MIT" ]
VeselinovStf/Telerik_Alpha_NET_Prep
Web_Applications/RazorPagesInAspNetCore/RazorPagesMovie.MovieServices/DTOs/MovieDto.cs
386
C#
namespace MassTransit.Futures { /// <summary> /// Given the event context and request, returns an object used to complete the initialization of the object type /// </summary> /// <param name="context"></param> /// <typeparam name="TMessage"></typeparam> /// <typeparam name="T"></typeparam> p...
38.904762
117
0.667075
[ "ECL-2.0", "Apache-2.0" ]
AhmedKhalil777/MassTransit
src/MassTransit/Futures/FutureMessageFactory.cs
817
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigati...
24.736842
106
0.729787
[ "MIT" ]
grammophone/Gramma.BetaImport.Viewer
MainWindow.xaml.cs
1,412
C#
using RabbitMQ.TraceableMessaging.Models; using System; using System.Collections.Generic; using System.Text; namespace RabbitMQ.TraceableMessaging.ApplicationInsights.Tests.Models { class Pong1 : Reply { } }
18.5
70
0.774775
[ "MIT" ]
dmlarionov/RabbitMQ.TraceableMessaging
tests/RabbitMQ.TraceableMessaging.ApplicationInsights.Tests/Models/Pong1.cs
224
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...
47.927562
194
0.648247
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/TimestreamQuery/Generated/_bcl45/AmazonTimestreamQueryClient.cs
27,135
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("Pr...
38.351351
84
0.74771
[ "Apache-2.0" ]
fabianomarcos/ASP-NET-MVC-MODELO-DDD
ProjetoModeloDDD/ProjetoModeloDDD.Domain/Properties/AssemblyInfo.cs
1,422
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 Xunit; namespace System.Linq.Expressions.Tests { public static class TernaryArrayNullableTe...
34.665574
220
0.438735
[ "MIT" ]
OceanYan/corefx
src/System.Linq.Expressions/tests/Ternary/TernaryArrayNullableTests.cs
42,292
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("Au...
38.675676
84
0.748428
[ "Apache-2.0" ]
Mohsens22/Uno.Samples
UI/Authentication.OidcDemo/Authentication.OidcDemo/Authentication.OidcDemo.macOS/Properties/AssemblyInfo.cs
1,434
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.IO; using System.Reflection; namespace Tests.Tx { [TestClass] public class EtwGeneration { string ToolFileName { get { string dir = Path.GetDirectoryName(Assem...
23.097561
93
0.544879
[ "Apache-2.0" ]
Reactive-Extensions/Tx
Test/UnitTests/EtwGeneration.cs
949
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FantasyCritic.Lib.Domain; using NodaTime; namespace FantasyCritic.Web.Models.Responses { public class ManagerMessageViewModel { public ManagerMessageViewModel(ManagerMessage domain...
26.033333
79
0.654289
[ "MIT" ]
SteveF92/FantasyCritic
FantasyCritic.Web/Models/Responses/ManagerMessageViewModel.cs
781
C#
using FluentAssertions; using Xunit; namespace MsSqlCdc.Tests; public class DataConverTests { [Theory] [InlineData(RelationalOperator.LargestLessThan, "largest less than")] [InlineData(RelationalOperator.LargestLessThanOrEqual, "largest less than or equal")] [InlineData(RelationalOperator.SmallestGrea...
39.318182
97
0.762428
[ "MIT" ]
DAXGRID/mssql-cdc
test/MsSqlCdc.Tests/DataConvertTests.cs
1,730
C#
using EPiServer.Core; using System.Collections.Generic; namespace TcbInternetSolutions.Vulcan.Core { /// <summary> /// Arguments used to modify indexing /// </summary> public interface IVulcanIndexingModifierArgs { /// <summary> /// Content Instance /// </summary> I...
24.269231
60
0.573693
[ "MIT" ]
TCB-Internet-Solutions/vulcan
src/TcbInternetSolutions.Vulcan.Core/IVulcanIndexingModifierArgs.cs
633
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 System; using System....
30.765625
125
0.561453
[ "MIT" ]
CameronLoewen/docusign-csharp-client
sdk/src/DocuSign.eSign/Model/FoldersResponse.cs
3,938
C#
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
36.171875
116
0.64838
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/Internal/MarshallTransformations/CaptionSourceSettingsMarshaller.cs
4,630
C#
//------------------------------------------------------------------------------ // <auto-generated> // このコードはツールによって生成されました。 // ランタイム バージョン:4.0.30319.18444 // // このファイルへの変更は、以下の状況下で不正な動作の原因になったり、 // コードが再生成されるときに損失したりします。 // </auto-generated> //---------------------------------------------------------...
40.484375
175
0.610575
[ "MIT" ]
shirothin/Kbtter
KbtterWPF/Properties/Resources.Designer.cs
3,235
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 * ...
33.173077
116
0.653333
[ "Apache-2.0" ]
TencentCloud/tencentcloud-sdk-dotnet-intl-en
TencentCloud/Cam/V20190116/Models/CreatePolicyVersionResponse.cs
1,725
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...
37.386139
159
0.63215
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/DeleteEgressOnlyInternetGatewayResponseUnmarshaller.cs
3,776
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
45.492537
192
0.694226
[ "MIT" ]
BearerPipelineTest/fhir-server
src/Microsoft.Health.Fhir.Azure/IntegrationDataStore/AzureConnectionStringClientInitializerV2.cs
3,050
C#
using ShadowEngine.Objects.Parameters; using ShadowEngine.Config; using ShadowEngine.Exceptions; using ShadowEngine.Objects.Texturing.Image; using System; using System.Collections.Generic; using System.Drawing; using System.Collections.ObjectModel; namespace ShadowEngine.Objects.Texturing { /// <summary> /// ...
35.169231
114
0.461651
[ "MIT" ]
jszczerbinsky/ShadowEngine
src/ShadowEngine/Objects/Texturing/Texture.cs
6,860
C#
using System; namespace LoanApplication.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
19.363636
70
0.676056
[ "MIT" ]
PacktPublishing/CSharp-and-.NET-Core-Test-Driven-Development
Chapter04/LoanApplication/Models/ErrorViewModel.cs
213
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Senparc.CO2NET.Tests; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Senparc.CO2NET.Cache.Redis.Tests { [TestClass] public class RedisLockTest : BaseTest { [TestMethod...
36.473684
220
0.53824
[ "Apache-2.0" ]
554393109/Senparc.CO2NET
src/Senparc.CO2NET.Cache.Redis.Tests/RedisLockTest.cs
3,098
C#
// Copyright (c) 2022 AccelByte Inc. All Rights Reserved. // This is licensed software from AccelByte Inc, for limitations // and restrictions contact your company contract manager. // This code is generated by tool. DO NOT EDIT. using System; using System.IO; using System.Collections.Generic; using AccelByte.Sdk.Co...
31.09434
108
0.656553
[ "MIT" ]
AccelByte/accelbyte-csharp-sdk
samples/AccelByte.Sdk.Sample.Cli/ApiCommand/Iam/UsersV4/PublicRemoveTrustedDeviceV4.cs
1,648
C#
using ANM.Example.Application.UseCases.GetTransactions; using Microsoft.AspNetCore.Mvc; namespace ANM.Example.API.UseCases.GetTransactions { public class GetTransactionsPresenter : IGetTransactionsOutput { public IActionResult ViewModel { get; private set; } public void Error(string message) ...
27.47619
93
0.688042
[ "MIT" ]
alesimoes/hexagonal-clean-architecture
source/ANM.Example.API/UseCases/GetTransactions/GetTransactionsPresenter.cs
579
C#
namespace CrossJob.Web.Admin { using System; using System.Linq; using System.Web.UI; using Models; using Ninject; using Services.Contracts; using Controls.Notifier; public partial class Freelancers : Page { [Inject] public IFreelancersService users { get; set; } ...
29.54321
98
0.5257
[ "MIT" ]
Team-Katana-WebForms/CrossJob
CrossJob/Web/CrossJob.Web/Admin/Freelancers.aspx.cs
2,395
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AnZw.NavCodeEditor.Extensions.Reflection; namespace AnZw.NavCodeEditor.Extensions.LanguageService { public class SignatureInfo : ReflectionWrapper { publ...
32.382979
82
0.624179
[ "MIT" ]
anzwdev/ClassicAL-CodeEditorExtension
VSProject/AnZw.NavCodeEditor.Extensions/LanguageService/SignatureInfo.cs
1,524
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
34.995435
221
0.543065
[ "MIT" ]
ggagnaux/Sage300-SDK
resources/Sage300Resources/Sage.CA.SBS.ERP.Sage300.Common.Resources/Portal/NavigationResx.Designer.cs
160,982
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace CampusSnapshots.Models.AccountViewModels { public class ForgotPasswordViewModel { [Required] [EmailAddress] public string Email { get;...
21
50
0.72619
[ "MIT" ]
Filipedc1/cen4010-s2018-g01
CampusSnapshots/CampusSnapshots/ViewModels/AccountViewModels/ForgotPasswordViewModel.cs
338
C#
using System.Net; namespace Kudu.Client.PCL.Infrastructure { public class BasicAuthCredentialProvider : ICredentialProvider { private readonly ICredentials _credentials; public BasicAuthCredentialProvider(string userName, string password) { _credentials = new NetworkCreden...
23.15
76
0.658747
[ "Apache-2.0" ]
eashi/kudu.client.pcl
Kudu.Client.PCL/Infrastructure/BasicAuthCredentialProvider.cs
465
C#
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Tracing { using System; using System.Diagnostics; using System.IO; using System.Security; using System.Threading; using Microsoft.ApplicationInsights.Common.Extensions; using static System.FormattableString; /// <su...
38.95
159
0.62837
[ "MIT" ]
304NotModified/ApplicationInsights-dotnet
BASE/src/Microsoft.ApplicationInsights/Extensibility/Implementation/Tracing/FileHelper.cs
3,118
C#
// --------------------------------------------------------------------------------------------- // <copyright>PhotonNetwork Framework for Unity - Copyright (C) 2020 Exit Games GmbH</copyright> // <author>developer@exitgames.com</author> // ---------------------------------------------------------------------------...
34.880597
118
0.581515
[ "CC0-1.0" ]
chrapacz2000/KoboldKare
Assets/ThirdParty/Photon/Simple/Components/Assistants/TriggerAssists.cs
2,339
C#
//---------------------- // <auto-generated> // Generated using the NSwag toolchain v13.11.3.0 (NJsonSchema v10.4.4.0 (Newtonsoft.Json v11.0.0.0)) (http://NSwag.org) // </auto-generated> //---------------------- #pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase...
42.021834
268
0.647459
[ "MIT" ]
DanikRaikhlin/NSwag
src/NSwag.Integration.ClientPCL/ServiceClientsContracts.cs
19,246
C#
using System; using System.Collections.Generic; namespace FCM.Business.Models { public partial class UsersCars { public Guid IdUser { get; set; } public Guid IdCar { get; set; } public virtual Cars IdCarNavigation { get; set; } public virtual Users IdUserNavigation { get; set;...
22.066667
59
0.646526
[ "MIT" ]
VitaliyFilippov2012/Vehicle-logbook
Server_Asp.Net/FinanceCarManager/FCM.Business/Models/UsersCars.cs
333
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsMonthly.Model; namespace ESFA.DC.PeriodEnd.ReportService.Reports.Interface.AppsMonthly.DataProvider { public interface IPaymentsDataP...
33.117647
118
0.802842
[ "MIT" ]
SkillsFundingAgency/DC-2021-PeriodEnd-ReportService
src/ESFA.DC.PeriodEnd.ReportService.Reports.Interface/AppsMonthly/DataProvider/IPaymentsDataProvider.cs
565
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; using Newtonsoft.Json.Linq; namespace StickyNotes { public class MapInfoElement : MonoBehaviour { [SerializeField] Text mMapIdText; [SerializeField] Text mLocationText...
39.833333
104
0.571967
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
Pandinosaurus/PlacenoteSDK-Unity
Assets/Placenote/Examples/3_StickyNotes/Scripts/MapInfoElement.cs
2,392
C#
using System; using System.Numerics; using Veldrid.Utilities; namespace Veldrid.NeoDemo.Objects { internal class FullScreenQuad : Renderable { private DisposeCollector _disposeCollector; private Pipeline _pipeline; private DeviceBuffer _ib; private DeviceBuffer _vb; pub...
43.892857
139
0.650122
[ "MIT" ]
BSG-75/veldrid
src/NeoDemo/Objects/FullScreenQuad.cs
3,689
C#
using System; using System.Linq; namespace CsBenc.Encoders { /// <summary> /// Simple encoder with checksum abilities. /// </summary> public class ChecksumEncoder : SimpleEncoder { private readonly string _checksums; private readonly int _checksumBase; /// <summary> ...
34.326531
114
0.575505
[ "MIT" ]
mcliment/CsBenc
src/CsBenc/Encoders/ChecksumEncoder.cs
3,366
C#
using CharacterGen.Abilities; using CharacterGen.Domain.Tables; using CharacterGen.Races; using NUnit.Framework; namespace CharacterGen.Tests.Integration.Tables.Abilities.Races { [TestFixture] public class KuoToaAbilityAdjustmentsTests : AdjustmentsTests { protected override string tableName ...
33.828571
140
0.692568
[ "MIT" ]
DnDGen/CharacterGen
CharacterGen.Tests.Integration.Tables/Abilities/Races/KuoToaAbilityAdjustmentsTests.cs
1,186
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BpuyoReplayConverter { static class BpuyoParameter { public const int FieldSize = 78; public const int ColumnNumber = 6; public const int RowNumber = 13; ...
22.8
46
0.682018
[ "MIT" ]
nsendoda/BpuyoReplayConverter
BpuyoReplayConverter/BpuyoParameter.cs
458
C#
 namespace FinancialPortal.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.AspNet.Identity; using Microsoft.Owin.Security; public class IndexViewModel { public bool HasPassword { get; set; } public IList<UserLoginInfo> Log...
30.758621
110
0.622571
[ "MIT" ]
drrky-g/FinancialPortal
FinancialPortal/Models/ManageViewModels.cs
2,678
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Runtime.CompilerServices; using Microso...
34.418136
130
0.511612
[ "Apache-2.0" ]
erravimishracse/Mvc
src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelStateDictionary.cs
40,992
C#
using System; using Newtonsoft.Json; namespace TdLib { /// <summary> /// Autogenerated TDLib APIs /// </summary> public static partial class TdApi { public partial class InputPassportElement : Object { /// <summary> /// A Telegram Passport element to be saved...
33.897436
108
0.531014
[ "MIT" ]
0x25CBFC4F/tdsharp
TDLib.Api/Objects/InputPassportElementTemporaryRegistration.cs
1,322
C#
using System.Runtime.Serialization; using Portable.Xaml.Markup; [assembly: ContractNamespace("http://schemas.directx12gameengine.com/xaml", ClrNamespace = "DirectX12GameEngine.Assets")] [assembly: XmlnsDefinition("http://schemas.directx12gameengine.com/xaml", "DirectX12GameEngine.Assets")]
48.833333
121
0.812287
[ "MIT" ]
5l1v3r1/DirectX12GameEngine
DirectX12GameEngine.Assets/Properties/AssemblyInfo.cs
295
C#
#region (c) 2019 Gilles Macabies All right reserved // Author : Gilles Macabies // Solution : DataGridFilter // Projet : DataGridFilter // File : FilterDataGrid.cs // Created : 26/01/2021 #endregion (c) 2019 Gilles Macabies All right reserved using System; using System.Collections; using System.C...
38.437968
128
0.531042
[ "MIT" ]
Apflkuacha/DataGridFilter
FilterDataGrid/FilterDataGrid.cs
46,166
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
53.045045
213
0.673913
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IDeviceConfigurationDeviceStatusesCollectionRequest.cs
5,888
C#
// // Copyright (c) 2004-2021 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of s...
45.631579
134
0.722414
[ "BSD-3-Clause" ]
304NotModified/NLog
src/NLog/Abstractions/IValueFormatter.cs
2,601
C#
// <copyright file="HostCollection.cs" company="PlaceholderCompany"> // Copyright (c) PlaceholderCompany. All rights reserved. // </copyright> using System.Collections.Generic; namespace Da { internal class HostCollection { public string Host { get; set; } public List<string> ServiceIds ...
21.375
70
0.669591
[ "Apache-2.0" ]
Eliav2rll2v/Justin-E-Taylorj
component/Opc/Model/HostCollection.cs
344
C#
//------------------------------------------------------------------------------ // <copyright file="PropertyManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ /*****...
35.4
128
0.505085
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/framework/winforms/managed/system/winforms/propertymanager.cs
7,965
C#
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // PermissionState.cool // // The Runtime policy manager. Maintains a set of IdentityMapper objects that map // inbound evidence to groups. Resolves an identity into a set of permissions // namespace System.Sec...
30.423077
110
0.623262
[ "Unlicense" ]
bestbat/Windows-Server
com/netfx/src/clr/bcl/system/security/permissions/permissionstate.cs
791
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using LogisticsManagerModel; namespace LogisticsManager { public partial class CarriersDetils : System.Web.UI.Page { protected void Page_Load(object sender, EventA...
36.666667
100
0.561279
[ "MIT" ]
hc-hub/LogisticsManager
LogisticsManager/LogisticsManager/CarriersDetils.aspx.cs
3,010
C#
using Castle.Core; using Castle.MicroKernel; using Castle.MicroKernel.Registration; using Castle.Windsor; using System; namespace MongoDbFramework.CastleWindsor { public static class Installer { public static IWindsorContainer AddMongoDbContext<TContext>( this IWindsorContainer containe...
38.237288
122
0.640071
[ "MIT" ]
marcrabadan/MongoDbContext
src/MongoDbContext.CastleWindsor/Installer.cs
2,258
C#
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json.Linq; using System.Runtime.Serialization; namespace XBMCRPC.VideoLibrary { public class GetMusicVideos_filterYear { public int year { get; set; } } }
19.692308
41
0.75
[ "MIT" ]
RyanMelenaNoesis/ElveKodiDriver
src/NoesisLabs.Elve.Kodi/XBMCRPC/XBMCRPC/VideoLibrary/GetMusicVideos_filterYear.cs
256
C#
using UnityEngine; using UnityEngine.Events; namespace ScriptableObjectArchitecture { [System.Serializable] public class Vector2Event : UnityEvent<Vector2> { } [CreateAssetMenu( fileName = "Vector2Variable.asset", menuName = SOArchitecture_Utility.VARIABLE_SUBMENU + "Structs/Vector2", ...
30.1875
79
0.73706
[ "MIT" ]
YuanSambo/Fruit-Rush
Assets/SO Architecture/Variables/Vector2Variable.cs
483
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; public class Score : MonoBehaviour { public static int score; public Text scoreText; // Use this for initialization void Start () { scoreText = GetComponent<Text>(); score = 0; } // Update is called once per frame void...
18.190476
43
0.646597
[ "Apache-2.0" ]
haiquangtran/Skube
Assets/Scripts/Score.cs
384
C#
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information. // This file was created by Tim Ebben (Geodan) 2009 using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Xml.Seri...
40.889831
127
0.607047
[ "Apache-2.0" ]
EastpointSoftware/BruTile
BruTile/Tms/TileMapParser.cs
4,827
C#
using System; using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using NUnit.Framework; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.TestTools; using Object = UnityEngine.Object; using Unity.Netcode.Transports.UNET; using System.Diagnostics; namespace U...
47.618557
209
0.617955
[ "MIT" ]
Myxcil/com.unity.netcode.gameobjects
testproject/Assets/Tests/Runtime/MultiprocessRuntime/BaseMultiprocessTests.cs
13,857
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; namespace MixedRealityToolkit.Common.InterpolatedValues { /// <summary> /// Provides interpolation over Color. /// </su...
48.888889
138
0.666288
[ "MIT" ]
amngupta/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Common/Scripts/InterpolatedValues/InterpolatedColor.cs
2,642
C#
using Rynchodon.Autopilot.Pathfinding; namespace Rynchodon.Autopilot.Instruction.Command { public class Asteroid : ASingleWord { public override ACommand Clone() { return new Asteroid(); } public override string Identifier { get { return "asteroid"; } } public override string AddDescription ...
17.933333
71
0.726766
[ "CC0-1.0" ]
Rynchodon/ARMS
Scripts/Autopilot/Instruction/Command/SingleWord/Asteroid.cs
540
C#
using Ship; using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace Upgrade { public class UpgradeSlot { public GenericShip HostShip { get; private set; } public UpgradeType Type { get; private set; } public object GrantedBy { ...
33.54902
131
0.589714
[ "MIT" ]
nickell-andrew/FlyCasual
Assets/Scripts/Model/Content/Core/Ship/UpgradesBar/UpgradeSlot.cs
3,424
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AGCI.ViewModels { public class DatosViewModel { public string nombre { get; set; } } }
16.615385
42
0.703704
[ "MIT" ]
ArielBlanco1990/AGCI
AGCI/ViewModels/DatosViewModel.cs
218
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.Specialized; using System.Configuration.Internal; using System.Diagnostics; using System.IO...
41.918519
120
0.643753
[ "MIT" ]
06needhamt/runtime
src/libraries/System.Configuration.ConfigurationManager/src/System/Configuration/UpdateConfigHost.cs
5,659
C#
namespace _02.Blobs.Interfaces { public interface IReader { string ReadLine(); } }
13
31
0.605769
[ "MIT" ]
nikolaydechev/CSharp-OOP-Advanced
07 SOLID/Ex.2 Blobs/Interfaces/IReader.cs
106
C#
using System; using System.IO; using System.Linq; using System.Runtime.Serialization.Formatters.Binary; using FluentNHibernate.Automapping.Alterations; using NHibernate.Util; namespace FluentNHibernate.Utils { public static class Extensions { public static bool In<T>(this T instance, params ...
32.682353
149
0.590353
[ "BSD-3-Clause" ]
BrunoJuchli/fluent-nhibernate
src/FluentNHibernate/Utils/Extensions.cs
2,778
C#
#region using using Convert = System.Convert; using Network; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using Oxide.Core.Libraries.Covalence; using Oxide.Plugins; using Oxide.Core.Plugins; using Oxide.Core; using Un...
40.354651
191
0.680161
[ "Unlicense" ]
read-0nly/Rust-coop-survival
Oxide/plugins/Hotzone.cs
20,823
C#
// Decompiled with JetBrains decompiler // Type: Diga.WebView2.Interop.COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON // Assembly: Diga.WebView2.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 1E8B0323-528E-4C9C-8FF8-A486637C87E1 // Assembly location: O:\webview2\V1096133\Diga.WebView2.Interop.dll nam...
53.465116
89
0.885602
[ "MIT" ]
ITAgnesmeyer/Diga.WebView2
V1096133/Diga.WebView2.Interop.V1096133/COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON.cs
2,301
C#
namespace LogicMonitor.Api.Test; public class CacheTests : TestWithOutput { public CacheTests(ITestOutputHelper iTestOutputHelper) : base(iTestOutputHelper) { } [Fact] public async void CacheTestFasterSecondTimeAround() { // Enable caching LogicMonitorClient.UseCache = true; var stopwatch = Stopwatch.Sta...
30.825581
83
0.762731
[ "MIT" ]
panoramicdata/LogicMonitor.Api
LogicMonitor.Api.Test/CacheTests.cs
2,651
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
41.97619
153
0.642087
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IAospDeviceOwnerPkcsCertificateProfileRequestBuilder.cs
1,763
C#
namespace internet_shop.Helpers { public class AppSettings { public string Secret { get; set; } } }
15.125
42
0.619835
[ "MIT" ]
OlehMarchenko95/internet_shop
internet_shop/Helpers/AppSettings.cs
123
C#
namespace MobileShop.Models.Phones { using MobileShop.Domain.Phones.ServiceModels; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class AllPhonesQueryModel { public const int PhonesPerPage = 6; public int CurrentPage { get; init; } = 1; ...
25.172414
66
0.642466
[ "MIT" ]
Vkirovpz/ASP.NET-Project-MobileShop
MobileShop/Models/Phones/AllPhonesQueryModel.cs
732
C#
using Ramulator.MemReq; using System.Collections.Generic; using System.Diagnostics; using Ramulator.Sim; namespace Ramulator.Proc { public class CacheHierarchy { public Cache[] L1List; public Cache[] L2List; public CacheHierarchy(int numCores) { L1List...
35.069519
126
0.469045
[ "BSD-3-Clause" ]
CMU-SAFARI/RamulatorSharp
src/Proc/Cache.cs
13,116
C#
using System; using System.Configuration; using System.Linq; using System.Net.Configuration; using System.Web; using System.Web.Configuration; using System.Web.Hosting; using System.Xml.Linq; using Umbraco.Core.IO; namespace Umbraco.Core.Configuration { // TODO: Replace checking for if the app settings exist and...
38.02611
188
0.548956
[ "MIT" ]
0Neji/Umbraco-CMS
src/Umbraco.Core/Configuration/GlobalSettings.cs
14,566
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Query.Sql; namespace Microsoft.EntityFrameworkCore.Query.Internal { ...
41.130435
111
0.711416
[ "Apache-2.0" ]
Alecu100/EntityFrameworkCore
src/EFCore.Relational/Query/Internal/IShaperCommandContextFactory.cs
946
C#
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) 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 System; namespace Stride.Core.Assets.Analysi...
29.7
163
0.619529
[ "MIT" ]
Alan-love/xenko
sources/assets/Stride.Core.Assets/Analysis/AssetInheritanceSearchOptions.cs
891
C#
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.JSInterop; using Microsoft.AspNetCore.Components.Web; namespace Blazui.Component { public partial class BInput<TValue> : IDisposable { internal HtmlPr...
29.395652
111
0.516787
[ "MIT" ]
BlazorUI/Element-Blazor
src/Components/BInput.razor.cs
6,973
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace SportsStore.WebUI { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.a...
27.125
89
0.430876
[ "Apache-2.0" ]
NJWolf/SportsStore
SportsStore.WebUI/App_Start/RouteConfig.cs
1,304
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...
29.948718
109
0.62714
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/SecurityGroupMembership.cs
2,336
C#
using System; using Forum.App.Services; using Forum.App.UserInterface; namespace Forum.App.Controllers { using App; using Contracts; using UserInterface.Contracts; public class SignUpController : IController, IReadUserInfoController { private enum Command { ReadUsernam...
29.483871
98
0.51787
[ "MIT" ]
DimchoLakov/CSharpOOPBasics
Forum App/Forum.App/Controllers/SignUpController.cs
2,744
C#
using NBitcoin; namespace Stratis.Bitcoin.Features.SmartContracts.Consensus { public class SmartContractBlockHeader : BlockHeader { /// <summary> /// Root of the state trie after execution of this block. /// </summary> private uint256 hashStateRoot; public uint256 Hash...
31.592593
115
0.607268
[ "MIT" ]
kogot/StratisBitcoinFullNode
src/Stratis.Bitcoin.Features.SmartContracts/Consensus/SmartContractBlockHeader.cs
855
C#
using System; using Newtonsoft.Json; namespace XCCDFParser { public class TextBooleanConverter : JsonConverter { public override bool CanWrite => false; public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { throw new NotImplementedExce...
24.731707
124
0.544379
[ "MIT" ]
surgicalcoder/XCCDFParser
XCCDFParser/TextBooleanConverter.cs
1,014
C#
using System; using System.Collections.Generic; using System.Linq; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Prism.Xaml { public abstract class ParentPageAwareExtension<T> : BindableObject, IMarkupExtension<T> { private IServiceProvider ServiceProvider; private Element _targetE...
28.065421
107
0.513487
[ "Apache-2.0" ]
Amroll/Prism
Source/Xamarin/Prism.Forms/Xaml/ParentPageAwareExtension.cs
3,005
C#
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("com.lover.astd.common")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assemb...
26.243243
56
0.715757
[ "MIT" ]
jewmin/astd
com.lover.astd.common/Properties/AssemblyInfo.cs
1,338
C#
//Write a method that asks the user for his name and prints “Hello, <name>” //Write a program to test this method. namespace SayHello { using System; public class SayHello { static void Main(string[] args) { Console.WriteLine("Enter your name: "); string name = Cons...
24.545455
76
0.57963
[ "MIT" ]
VProfirov/Telerik-Academy
Module 1/[02] CSharp Advanced/[performance improvement versions] C# Advanced/C# Advanced v0.1/Methods/SayHello/SayHello.cs
546
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using System; using System.Collections.Generic; namespace ForumSystem.Data.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { ...
39.568182
122
0.484204
[ "MIT" ]
msotiroff/Softuni-learning
C# Fundamentals Module/CSharp-OOP-Basics/Feb 2018 instance/WorkShop/Solution/ForumSystem/ForumSystem.Data/Migrations/20180307192457_Initial.cs
5,225
C#
//------------------------------------------------------------------------------ // <自動產生的> // 這段程式碼是由工具產生的。 // // 變更這個檔案可能會導致不正確的行為,而且如果已重新產生 // 程式碼,則會遺失變更。 // </自動產生的> //------------------------------------------------------------------------------ namespace HelpDesk.Components { public pa...
26.382353
81
0.434783
[ "MIT" ]
gamegeartw/HelpDesk
HelpDesk/Components/ListViewMeetingsComponent.ascx.designer.cs
1,181
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...
31.717514
110
0.551953
[ "Apache-2.0" ]
EbstaLimited/aws-sdk-net
sdk/src/Services/GlueDataBrew/Generated/Model/DescribeJobResponse.cs
16,842
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("Spe...
37.513514
84
0.745677
[ "MIT" ]
Karnalow/SoftUni
Programming Basics with C#/02. Simple-Conditions/Speed Info/Properties/AssemblyInfo.cs
1,391
C#
// ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by SpecFlow (http://www.specflow.org/). // SpecFlow Version:1.9.0.77 // SpecFlow Generator Version:1.9.0.0 // Runtime Version:4.0.30319.34003 // // Changes to this...
41.773109
247
0.61215
[ "MIT" ]
afonsof/meganium
Tests/SystemTests/Features/Postagens/GerenciarDestaques.feature.cs
4,989
C#
namespace Merchello.Core.Gateways.Taxation { /// <summary> /// The taxation application. /// </summary> public enum TaxationApplication { /// <summary> /// The invoice - US /// </summary> Invoice, /// <summary> /// The product - e.g. VAT /// ...
19.666667
43
0.485876
[ "MIT" ]
HiteshMah-Jan/Merchello
src/Merchello.Core/Gateways/Taxation/TaxationApplication.cs
356
C#
using MFiles.VAF.Configuration.Domain.Dashboards; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace MFiles.VAF.Extensions.Dashboards { public class DashboardCustomContentEx : DashboardContentBase { public IDashboardCon...
25.225806
85
0.785166
[ "MIT" ]
Link-IT-Developer/VAF.Extensions.Community
MFiles.VAF.Extensions/Dashboards/DashboardCustomContentEx.cs
784
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace PIL_Fantasy_Data_Integration.API.Fantasy_Data.CommonDefinitions.FootBallResponses { public class Team2 { [JsonProperty("id")] public int Id; [JsonProperty("name")] public string...
18.892086
91
0.547982
[ "MIT" ]
yousseff-alazer/PIL_Fantasy_Data
PIL_Fantasy_Data_Integration.API/Fantasy_Data.CommonDefinitions/FootBallResponses/FootBallTeamsRes.cs
2,628
C#
using System.Numerics; using System.Threading.Tasks; namespace EmptyBox.Devices.Sensors { public interface IMagnetometer : IDevice { public event MagnetometerValueChanged ValueChanged; Task<Vector3> GetValue(); } }
18.923077
59
0.715447
[ "MIT" ]
DjArt/EmptyBox.IO
EmptyBox/Devices/Sensors/IMagnetometer.cs
248
C#
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Numerics; namespace Irony.Interpreter { public partial class LanguageRuntime { public readonly OperatorImplementationTable OperatorImplementations = new OperatorImplementa...
40.325581
129
0.578047
[ "MIT" ]
Hyperspaces/Hyperspace.DotLua
src/Irony.Interpreter/LanguageRuntime/LanguageRuntime_OpDispatch.cs
5,204
C#
/** * $File: JCS_DisableWithTimeEvent.cs $ * $Date: $ * $Revision: $ * $Creator: Jen-Chieh Shen $ * $Notice: See LICENSE.txt for modification and distribution information * Copyright (c) 2016 by Shen, Jen-Chieh $ */ using System.Collections.Generic; using UnityEngine; namespace JCSUnity { ...
26.965517
112
0.553708
[ "BSD-3-Clause" ]
MapleStoryUnity/MapleStoryUnity
Assets/JCSUnity/Scripts/Events/Enable/JCS_DisableWithTimeEvent.cs
1,566
C#
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Running; namespace NumericsConverter.Benchmark { public class Program { [System.Obsolete] public static void Main() => BenchmarkRunner.Run<VectorBenchmark>( ManualConfig .Create(DefaultConfig.I...
27.266667
72
0.633252
[ "MIT" ]
KuraiAndras/NumericsConverter
NumericsConverter.Benchmark/Program.cs
411
C#
using System; namespace LiarsDiceAPI.Models { public class GameInfo { public int PlayersJoined { get; set; } public int MaxPlayers { get; set; } = Game.MaxPlayers; public string Name { get; set; } public string CreatedBy { get; set; } public Guid Id { get; set; } } ...
24.692308
62
0.595016
[ "MIT" ]
Christdej/gathering-gaia
LiarsDiceAPI/Models/GameInfo.cs
323
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...
28.540816
101
0.59099
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/SimpleSystemsManagement/Generated/Model/ScheduledWindowExecution.cs
2,797
C#
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2021 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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 ...
30.307692
90
0.57297
[ "Apache-2.0" ]
YaChengMu/WeiXinMPSDK
src/Senparc.Weixin.MP/Senparc.Weixin.MP/Entities/Menu/Buttons/SingleButton.cs
1,696
C#
/* * Copyright(c) 2021 Samsung Electronics Co., Ltd. * * 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 ...
35.21164
192
0.615928
[ "Apache-2.0", "MIT" ]
AchoWang/TizenFX
src/Tizen.NUI/src/public/XamlBinding/BindingBase.cs
6,655
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
48.336876
157
0.676179
[ "BSD-3-Clause" ]
Wikilook-LiveLIVE/opensim
OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
45,485
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; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
34.27907
191
0.649932
[ "ECL-2.0", "Apache-2.0" ]
RafalSumislawski/pulumi-aws
sdk/dotnet/ElasticTranscoder/Outputs/PipelineThumbnailConfigPermission.cs
1,474
C#