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.Threading.Tasks; using Red.Interfaces; namespace Red.Extensions { /// <summary> /// Extension to RedRequests, to parse body to object of specified type /// </summary> public static class BodyParserExtensions { /// <summary> /// Returns the body deserialized or p...
31.909091
102
0.612536
[ "MIT" ]
firesharkstudios/Red
src/RedHttpServer/Extensions/BodyParserExtensions.cs
702
C#
using System.Collections.Generic; using System.Linq; using OurUmbraco.Our.Extensions; using OurUmbraco.Our.Services; using Umbraco.Core; namespace OurUmbraco.Project.uVersion { public class UVersion { public string Key { get; private set; } public string Name { get; private set; } pub...
32.27451
88
0.521871
[ "MIT" ]
KevinJump/OurUmbraco
OurUmbraco/Project/uVersion/uVersion.cs
1,648
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace EFCore_Ex.Pages { [ResponseCache(Duration = 0, Location = Re...
26.393939
89
0.659013
[ "MIT" ]
bpbpublications/Cross-Platform-Modern-Apps-with-VS-Code
Chapter 7 Code Samples/EFCore_Ex/EFCore_Ex/Pages/Error.cshtml.cs
871
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Text; using System.Text; namespace MyTemplate { internal static class SourceGeneratorContextExtension { public static void AddCode(this GeneratorExecutionContext context, string hint_name, string code) { context.A...
32.642857
138
0.68709
[ "MIT" ]
stefanloerwald/roslyn-templates
templates/SourceGenerator/MyTemplate/SourceGeneratorContextExtension.cs
459
C#
using Microsoft.EntityFrameworkCore; using Open.Nat; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; using TournamentAssistantCore.Discord; using TournamentAssistantCore.Discord.Helpers; using Tourna...
41.187547
323
0.49434
[ "MIT" ]
raineio/TournamentAssistant
TournamentAssistantCore/SystemServer.cs
54,246
C#
using OpenTracker.Models.Modes; namespace OpenTracker.Models.UndoRedo.Mode { /// <summary> /// This interface contains the <see cref="IUndoable"/> action to change the <see cref="IMode.BossShuffle"/> /// property. /// </summary> public interface IChangeBossShuffle : IUndoable { /// <sum...
34.5
112
0.594203
[ "MIT" ]
AntyMew/OpenTracker
OpenTracker.Models/UndoRedo/Mode/IChangeBossShuffle.cs
759
C#
using Actio.Common.Commands; using Actio.Services.Identity.Services; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Actio.Services.Identity.Controllers { [Route("")] public class AccountController : Controller { private readonly IUserService _userService; public Ac...
28.5
84
0.69697
[ "MIT" ]
josh-davis-git/Actio
src/Actio.Services.Identity/Controllers/AccountController.cs
627
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. namespace Microsoft.CodeAnalysis.Testing { public abstract class ProjectState { private readonly st...
34.138889
119
0.66965
[ "MIT" ]
Danghor/roslyn-sdk
src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/ProjectState.cs
1,231
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("BS...
38.027027
84
0.746979
[ "MIT" ]
ErazerBrecht/Pok-Dex
BS_PokedexManager/Properties/AssemblyInfo.cs
1,410
C#
using BlazorApp.Shared.FileStorage; namespace BlazorApp.Shared.Identity; public class UpdateProfileRequest { public string? FirstName { get; set; } public string? LastName { get; set; } public string? PhoneNumber { get; set; } public string? Email { get; set; } public FileUploadRequest? Image ...
20.9375
49
0.695522
[ "MIT" ]
DurgaPrasadReddyV/BlazorApp
Source/BlazorApp.Shared/Identity/UpdateProfileRequest.cs
335
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.Sql; using System.Data.SqlClient; public partial class student_AcademicRecords : System.Web.UI.Page { string uname; int S...
30.302326
90
0.578665
[ "MIT" ]
panchal0026/HKDI
student/AcademicRecords.aspx.cs
1,305
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using ImageFramework.Utility; using SharpDX.Direct3D11; using SharpDX.DXGI; using Resource = SharpDX.Direct3D11.Resource; namespace ImageFrame...
33.018018
133
0.531924
[ "MIT" ]
gaybro8777/ImageViewer
ImageFramework/DirectX/TextureBase.cs
7,332
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using TMPro; using UnityEngine; using UnityEngine.Networking; public class AIShooter : MonoBehaviour { [SerializeField] float moveSpeed = 10f; private Grid<GridCell> grid; private CharacterUnit stats; private ...
41.405507
135
0.53133
[ "MIT" ]
XCJGames/Damng-la-balada-del-capitan
Damng La Balada del Capitan/Assets/Scripts/AIShooter.cs
33,086
C#
using System.Runtime.Serialization; namespace SchinkZeShips.Server { [DataContract] public class GameState { [DataMember] public bool CurrentPlayerIsGameCreator { get; set; } [DataMember] public BoardState BoardCreator { get; set; } [DataMember] public BoardState BoardParticipant { get; set; } } }
18.705882
54
0.738994
[ "MIT" ]
StarlordTheCoder/SchinkZeShips
SchinkZeShips.Server/GameState.cs
320
C#
using System; using System.Threading.Tasks; using Core.Arango.Serialization.Json; using Core.Arango.Serialization.Newtonsoft; using Xunit; namespace Core.Arango.Tests.Core { public abstract class TestBase : IAsyncLifetime { public IArangoContext Arango { get; protected set; } public virtual Ta...
34.118644
118
0.584699
[ "Apache-2.0" ]
ASolomatin/dotnet-arangodb
Core.Arango.Tests/Core/TestBase.cs
2,013
C#
using System; using System.Collections.Generic; using System.Text; namespace Xunit.MySql.Tests.Models { public class TestModel { public uint Id { get; set; } public DateTime Created { get; set; } public string Description { get; set; } } }
17.5
47
0.639286
[ "MIT" ]
twsl/xunit.MySql
test/xunit.MySql.Tests/Models/TestModel.cs
282
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Rainbow.Model; using Sitecore; using Sitecore.Configuration; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Data.Managers; using Sitecore.Globalization; using Sitecore.SecurityModel...
27.664706
144
0.696577
[ "MIT" ]
aevanommen/SitecoreSidekick
Source/SitecoreSidekick/Services/SitecoreDataAccessService.cs
4,705
C#
using System; using System.Collections.Generic; using System.Text; using AktasTech.Core.DataAccess.EntityFramework; using AktasTech.DataAccess.Abstract; using AktasTech.Entities.Concrete; namespace AktasTech.DataAccess.Concrete { public class EfKategorilerDal: EfEntityRepositoryBase<Kategoriler, EfContext>, IKate...
23.066667
98
0.809249
[ "MIT" ]
aktasismail/TeknolojiMagazasi
AktasTech/AktasTech.DataAccess/Concrete/EfKategorilerDal.cs
348
C#
using CronExpressionDescriptor; namespace Bluefish.Blazor.Components; public partial class BfCronExpression { string seconds = "*"; string minutes = "*"; string hours = "*"; string days = "? *"; string months = "*"; string years = "*"; string description = ""; [Parameter] public ...
27.141176
169
0.449068
[ "MIT" ]
BluefishSoftware/Bluefish.Blazor
Bluefish.Blazor/Components/BfCronExpression.razor.cs
4,616
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("Tes...
37.189189
84
0.744913
[ "Apache-2.0" ]
SquidPony/SquidLibSharp
code/Test/Properties/AssemblyInfo.cs
1,379
C#
using System; namespace R5T.S0025.Library { public static class HumanActionsRequired01Extensions { public static bool Any(this HumanActionsRequired01 humanActionsRequired) { var output = false || humanActionsRequired.ReviewNewExtensionMethodBaseExtensions ...
38.975
94
0.691469
[ "MIT" ]
SafetyCone/R5T.S0025
source/R5T.S0025.Library/Code/Extensions/HumanActionsRequired01Extensions.cs
1,561
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...
35.770701
121
0.630342
[ "MIT" ]
AzureDataBox/azure-powershell
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup.Providers/Providers/MabPsBackupProvider.cs
5,462
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.28
164
0.641264
[ "Apache-2.0" ]
pulumi-bot/pulumi-azure-native
sdk/dotnet/MachineLearning/V20160501Preview/Outputs/ServiceInputOutputSpecificationResponse.cs
1,614
C#
using ARKBreedingStats.Library; using ARKBreedingStats.values; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Text.RegularExpressions; using System.Windows.Forms; using ARKBreedingStats.utils; namespace ARKBree...
55.852036
412
0.669808
[ "MIT" ]
Leyrix/ARKStatsExtractor
ARKBreedingStats/settings/Settings.cs
56,253
C#
using System; using System.Collections.Generic; using Host4Travel.Core.DTO.PostRatingDtos; using Host4Travel.UI; namespace Host4Travel.BLL.Abstract { public interface IPostRatingService { List<PostRatingListDto> GetAllRatings(); PostRatingDetailDto GetById(Guid ratingId); List<PostRat...
29.15
64
0.740995
[ "MIT" ]
SadettinKepenek/Host4Travel
Host4Travel.BLL/Abstract/IPostRatingService.cs
585
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using RDG.Chop_Chop.Scripts.Animation; using UnityEngine; namespace RDG.Chop_Chop.Scripts.Combat { [Serializable] public class CombatAttackConfig { public string attackAnimName = "Attack"; public float attackSpeed = ...
29.736364
126
0.653623
[ "Apache-2.0" ]
RunDotGames/chop-chop
chop-chop-client/Assets/RDG/Chop Chop/Scripts/Combat/CombatAttacker.cs
3,273
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Devices.Geolocation; namespace AmadeusW.KindleNav.Device { public static class Location { static Geolocator _geolocator = null; public static async Tas...
43.151786
149
0.561453
[ "MIT" ]
AmadeusW/kindlenav
src/AmadeusW.KindleNav/Device/Location.cs
9,668
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...
37.291667
97
0.745251
[ "MIT" ]
galich/SharpDevelop
src/AddIns/BackendBindings/Ruby/RubyBinding/Test/Converter/EmptyCSharpClassConversionTestFixture.cs
1,792
C#
using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace Test.MissionTest { public class MissionMonolithSetupSystemTest : ContextsTest { [SetUp] public void Init() { _systems.Add(new MissionBossMonolithSetupSystem(_contexts)); _contexts.game.SetMainMission(MainMission.BossMo...
25.089286
84
0.747331
[ "MIT" ]
Arpple/projectend
Assets/Scripts/Test/Editor/Mission/Main/MainMissionMonolithSetupSystemTest.cs
1,407
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
38.294118
134
0.712238
[ "Apache-2.0" ]
slipjimmy/aliyun-openapi-net-sdk
aliyun-net-sdk-ros/ROS/Model/V20150901/CreateStacksRequest.cs
1,953
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
37.730769
145
0.643221
[ "MIT" ]
DaZombieKiller/terrafx.interop.windows
tests/Interop/Windows/um/MsHTML/ISVGGradientElementTests.cs
1,964
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Text; using Bicep.Core; using Bicep.Core.UnitTests.Assertions; using Bicep.Core.UnitTests.Utils; using Bicep.LanguageServer.Handlers; using FluentAssertions; usi...
30.481236
235
0.565614
[ "MIT" ]
Manny27nyc/bicep
src/Bicep.LangServer.UnitTests/Handlers/BicepDisableLinterRuleCommandHandlerTests.cs
13,808
C#
/* * Gridly API * * Gridly API documentation * * The version of the OpenAPI document: 3.29.0 * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using S...
45.52381
234
0.576833
[ "MIT" ]
gridly-spreadsheet-CMS/gridly-netcore-sdk
src/Com.Gridly/Client/ApiClient.cs
40,152
C#
using Microsoft.AspNetCore.Html; namespace AgileDotNetHtml.Models { public class HtmlNodeElementText { public HtmlNodeElementText(HtmlString htmlString) { HtmlString = htmlString; } public HtmlNodeElementText(HtmlString htmlString, string afterElementUId) { HtmlString = htmlString; AfterElementUI...
21.047619
75
0.755656
[ "MIT" ]
atanasgalchov/AgileDotNetHtml
src/Models/HtmlNodeElementText.cs
444
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...
39.241667
193
0.623487
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/AWSHealth/Generated/Model/Internal/MarshallTransformations/DescribeEventsResponseUnmarshaller.cs
4,709
C#
using CIE.MRTD.SDK.Crypto; using CIE.MRTD.SDK.Util; using System; using System.Numerics; namespace CIE.MRTD.SDK.EAC { internal class DHKey { public ByteArray Public; public ByteArray Private; } internal interface IPACEMapping { IPACEAlgo Map(byte[] secret, ...
38.992481
650
0.627266
[ "BSD-3-Clause" ]
italia/cie-mrtd-dotnet-sdk
CIE.MRTD.SDK/EAC/PACE.cs
5,188
C#
using System.Collections.Generic; using System.Linq; using Andover.Domain.Components.Content.Provider; using Andover.Domain.Components.Content.Results; using Andover.Domain.Components.Database.Results; using Andover.Domain.Core; using Andover.Domain.Core.Results; namespace Andover.Domain.Components.Content { public ...
24.361111
82
0.766249
[ "MIT" ]
PetersonDave/Andover
Source/Andover.Domain/Components/Content/ItemChildrenComponent.cs
879
C#
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace ByYsmn.Application.Shared { public interface IBaseService<TPKey, TCreateInput, TUpdateInput, TModel> { Task <List<TModel>> GetAll(); Task <List<TModel>> GetAllByUserId(Guid userId); ...
31.105263
76
0.692047
[ "MIT" ]
yasemenclik/ByYasemen
src/ByYsmn.Application/Shared/IBaseService.cs
593
C#
namespace SeleniumScript.Implementation { using Antlr4.Runtime; using Grammar; using Exceptions; using Interfaces; using System; using global::SeleniumScript.Factories; using global::SeleniumScript.Enums; using System.Collections.Generic; public class SeleniumScript : ISeleniumScript, IDisposable ...
37.349398
168
0.744194
[ "MIT" ]
karisigurd4/SeleniumScript
SeleniumScript/Implementation/SeleniumScript.cs
3,102
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("Pho...
38
84
0.752924
[ "MIT" ]
AzureUserGroupBulgaria/Meetups2017
04-April/source/PhotoOfTheDay/PhotoOfTheDay.WebApp/Properties/AssemblyInfo.cs
1,371
C#
using System; using Android.Content; using Android.Text; using Android.Widget; namespace Comet.Android.Handlers { public class SecureFieldHandler : AbstractControlHandler<SecureField, EditText> { public static readonly PropertyMapper<SecureField> Mapper = new PropertyMapper<SecureField>(ViewHandler.Mapper) { ...
29.203125
113
0.76458
[ "MIT" ]
VincentH-Net/Comet
src/Comet.Android/Handlers/SecureFieldHandler.cs
1,871
C#
using System.Threading.Tasks; namespace Communication.Types.Interfaces { public interface IUserPreferencesProvider { string UserType { get; } Task<CommunicationUserPreference> GetUserPreferenceAsync(string requestType, CommunicationUser user); } }
27.6
109
0.757246
[ "MIT" ]
SkillsFundingAgency/das-recru
src/Communication/Communication.Types/Interfaces/IUserPreferencesProvider.cs
276
C#
#if USE_UNI_LUA using LuaAPI = UniLua.Lua; using RealStatePtr = UniLua.ILuaState; using LuaCSFunction = UniLua.CSharpFunctionDelegate; #else using LuaAPI = XLua.LuaDLL.Lua; using RealStatePtr = System.IntPtr; using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; #endif using XLua; using System.Collections.Generic; name...
26.954545
229
0.611804
[ "MIT" ]
zxsean/DCET
Unity/Assets/Model/XLua/Gen/XLuaCSObjectWrapXLuaCSObjectWrapMongoDBBsonSerializationConventionsDelegateClassMapConventionWrapWrapWrap.cs
2,967
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/Windows.Devices.Display.Core.Interop.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using...
27.672131
145
0.521327
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/WinRT/um/Windows.Devices.Display.Core.Interop/IID.cs
1,690
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.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace System.Reflection { public class CustomAttributeData { #region ...
32.204301
92
0.619366
[ "MIT" ]
Ali-YousefiTelori/runtime
src/libraries/System.Private.CoreLib/src/System/Reflection/CustomAttributeData.cs
2,995
C#
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Data; using System.Data.Common; using System.IO; using System.Runtime.ExceptionServices; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using AdoNetCore.AseC...
35.252646
186
0.548948
[ "Apache-2.0" ]
Kaltalen/AdoNetCore.AseClient
src/AdoNetCore.AseClient/Internal/InternalConnection.cs
26,651
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.505263
170
0.622509
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ElastiCache/Generated/Model/Internal/MarshallTransformations/DescribeCacheSecurityGroupsRequestMarshaller.cs
3,563
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.Linq; using Xunit; using static NuGet.Frameworks.FrameworkConstants; using PackagesLockFileBuilder = NuGet.ProjectModel.Test.Builders.Packa...
42.558442
111
0.588038
[ "Apache-2.0" ]
JetBrains/NuGet.Client
test/NuGet.Core.Tests/NuGet.ProjectModel.Test/ProjectLockFile/LockFileUtilitiesTests.cs
6,554
C#
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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 la...
29.949153
103
0.571024
[ "ECL-2.0", "Apache-2.0", "MIT" ]
ONLYOFFICE/CommunityServer
module/ASC.Mail/ASC.Mail/Data/Contracts/CrmContactData.cs
1,767
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.Admin.Contracts { public class CreateLoginParams { ...
25.806452
101
0.68
[ "MIT" ]
Bhaskers-Blu-Org2/sqltoolsservice
src/Microsoft.SqlTools.ServiceLayer/Admin/Contracts/CreateLoginRequest.cs
802
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...
39.591837
168
0.682732
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/PinpointEmail/Generated/Model/Internal/MarshallTransformations/PutDedicatedIpInPoolResponseUnmarshaller.cs
3,880
C#
//----------------------------------------------------------------------- // <copyright file="JetGetThreadStats2Tests.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. // </copyright> //----------------------------------------------------------------------- namespace InteropApiTest...
45.907895
117
0.619662
[ "MIT" ]
Bhaskers-Blu-Org2/ManagedEsent
EsentInteropTests/JetGetThreadStats2Tests.cs
3,489
C#
using UnityEngine; public class GroundTrigger : MonoBehaviour { private void Start() { } private void Update() { } private void OnTriggerEnter(Collider other) { if (other.tag == "Ground") { //Movement.inAir = false; } } private void OnTrig...
16.107143
47
0.505543
[ "MIT" ]
Chillu1/GottaGoFust
Assets/Scripts/MapBased/GroundTrigger.cs
453
C#
using Microsoft.AspNetCore.Components; using PeterPedia.Shared; using PeterPedia.Client.Services; namespace PeterPedia.Client.Pages.Books; public partial class Reading : ComponentBase { [Inject] BookService BookService { get; set; } = null!; private List<Book> BookList = new(); protected override a...
25.7
109
0.70428
[ "MIT" ]
peter-andersson/peterpedia
src/Client/Pages/Books/Reading.razor.cs
516
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Aspen.DailyUpdates.DBModel.Models { public class TopField : Field { public ICollection<Field> SubFields { get; set; } public new DateTime? TurnOver { get ...
18.761905
57
0.591371
[ "MIT" ]
thundernet8/DailyUpdates
DBModel/Models/TopField.cs
396
C#
// dnlib: See LICENSE.txt for more info using dnlib.DotNet.Emit; using System; using System.Collections.Generic; namespace dnlib.DotNet.Writer { /// <summary> /// Calculates max stack usage by using a simple pass over all instructions. This value /// can be placed in the fat method header's MaxStack field...
34.649123
133
0.454177
[ "MIT" ]
Owen0225/ConfuserEx-Plus
dnlib/src/DotNet/Writer/MaxStackCalculator.cs
5,925
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("_0...
38.459459
84
0.748419
[ "MIT" ]
spzvtbg/02-Tech-modul
Fundamental task solutions/08.Methods. Debugging and Troubleshooting Code - Exercises/07. Primes in Given Range/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Collections.Generic; using System.Text; using SeniorBlockchain.Consensus; using SeniorBlockchain.Networks; using NBitcoin; namespace SeniorBlockchain.Networks.City.Networks.Consensus { public class CityPosConsensusOptions : PosConsensusOptions { /// <summary>Coinstake minimal...
40.068966
107
0.726334
[ "MIT" ]
seniorblockchain/blockchain
src/Networks/SeniorBlockchain.Networks.City/Networks/Consensus/CityPosConsensusOptions.cs
1,162
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL.Photos { [TLObject(-1916114267)] public class TLPhotos : TLAbsPhotos { public override int Constructor { ...
23.608696
94
0.606814
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/Photos/TLPhotos.cs
1,086
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...
33.147059
102
0.643744
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/ECS/Generated/Model/Internal/MarshallTransformations/HostEntryMarshaller.cs
2,254
C#
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Data.Common; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; namespace FishTechWebManager._infra { public class MSSQL : IDB { private SqlConnection _connection; ...
23.151515
96
0.651832
[ "MIT" ]
andrewBezerra/FishTech
FishTechWebManager/_infra/MSSQL.cs
766
C#
#if UNITY_EDITOR namespace Unity.Views { using System; using System.Windows.Forms.Design; using System.Windows.Forms; using UnityEngine; using UnityEditor; public class ControlInspector : EditorWindow { private static ControlInspector _self; public static ControlInspector...
26.186667
115
0.511202
[ "MIT" ]
superowner/Unity-WinForms
Unity/Views/ControlInspector.cs
1,966
C#
namespace OnlyM.Windows { using System.Windows.Controls; /// <summary> /// Interaction logic for SettingsPage.xaml /// </summary> public partial class SettingsPage : UserControl { public SettingsPage() { InitializeComponent(); } } }
18.6875
51
0.58194
[ "MIT" ]
JDigitalInk/OnlyM
OnlyM/Windows/SettingsPage.xaml.cs
301
C#
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Windows.Forms; using System.ComponentModel; using System.Runtime.InteropServices; namespace Jk { /// <summary> /// 長押し用ボタン /// </summary> public class LongPressButton : Button { #region PInvoke [DllImport("wi...
23.834437
82
0.684912
[ "MIT" ]
nQuantums/tips
windows/cs/JunkCs/LongPressButton.cs
4,247
C#
using System; using System.Collections.Generic; using System.Diagnostics; namespace Microsoft.Cci { internal sealed class DummyUnit : IUnit { #region IUnit Members public string Name { get { return Dummy.Name; } } #endregion #region IDoubleDispatc...
19.409091
81
0.59719
[ "Apache-2.0" ]
enginekit/copy_of_roslyn
Src/Compilers/Core/Source/PEWriter/Dummies/DummyUnit.cs
856
C#
namespace FakeItEasy.Tests.IoC { using FakeItEasy.IoC; using NUnit.Framework; [TestFixture] public class DictionaryContainerTests { [Test] public void Register_registers_resolver_to_resolve_each_time_resolve_is_called() { int calledNumberOfTimes = 0; ...
27.196078
89
0.519106
[ "MIT" ]
bondsbw/FakeItEasy
Source/FakeItEasy.Tests/IoC/DictionaryContainerTests.cs
1,389
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...
31.293103
107
0.668871
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/S3Control/Generated/Model/DeletePublicAccessBlockRequest.cs
1,815
C#
using Parse.Abstractions.Infrastructure.Data; using Parse.Abstractions.Infrastructure.Execution; using Parse.Abstractions.Platform.Analytics; using Parse.Abstractions.Platform.Cloud; using Parse.Abstractions.Platform.Configuration; using Parse.Abstractions.Platform.Files; using Parse.Abstractions.Platform.Installations...
43.985075
131
0.809298
[ "BSD-3-Clause" ]
MoralisWeb3/MoralisCSharp
Parse/Abstractions/Infrastructure/CustomServiceHub.cs
2,947
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 Microsoft.CodeAnalysis.CSharp.CodeStyle; using Microsoft.CodeAnalysis.Options; using Microsoft.CodeAnalysis.P...
37.769231
89
0.730143
[ "Apache-2.0" ]
cshung/roslyn
src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpVarReducer.cs
984
C#
using System; using System.Linq; using LinqToDB; using LinqToDB.Data; using LinqToDB.Mapping; using NUnit.Framework; namespace Tests.UserTests { [TestFixture] public class CompareNullableChars : TestBase { class Table1 { [PrimaryKey(1)] [Identity] public Int64 Field1 { get; set; } ...
19.744681
77
0.635776
[ "MIT" ]
Vclcl/linq2db
Tests/Linq/UserTests/CompareNullableChars.cs
930
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using DeviceManagement.Infrustructure.Connectivity.Exceptions; using DeviceManagement.Infrustructure.Connectivity.Models.TerminalDevice; using GlobalResources; using Microsoft...
38.074468
148
0.608759
[ "MIT" ]
Anchinga/TechnicalCommunityContent
IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.2/DeviceAdministration/Web/Controllers/DeviceController.cs
14,316
C#
namespace Evolutionary { abstract class NodeBaseType<T,S> where S : new() { // everybody has a parent public NodeBaseType<T,S> Parent { get; set; } // everyone needs to implement these public abstract T Evaluate(); public abstract NodeBaseType<T,S> Clone(NodeBaseType<T,...
35.1875
84
0.671403
[ "Apache-2.0" ]
monado3/Evolutionary.Net
Engine/NodeBaseType.cs
565
C#
using System.Collections.Generic; namespace Mendz.Matrix { /// <summary> /// Provides methods to create and initialize a matrix, /// which is basically T[,] -- a two-dimensional array of type T. /// </summary> /// <typeparam name="T">The type of the elements/entries.</typeparam> public static ...
44.365591
160
0.531992
[ "Apache-2.0" ]
etmendz/Mendz.Matrix
Mendz.Matrix/Matrix.cs
4,128
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; /// ****************************************************************************************************************** /// * Copyright (c) 2011 Dialect Software LLC ...
25.382979
169
0.422883
[ "Apache-2.0" ]
dialectsoftware/DialectSoftware.Registration
DialectSoftware.Registration.Documents/Entities/Contacts/Phone.cs
2,388
C#
namespace Cineaste.Data.Services; public interface IListService { DataList GetList(IEnumerable<Kind> kinds, IEnumerable<Tag> tags); }
19.857143
69
0.784173
[ "MIT" ]
TolikPylypchuk/Cineaste
Cineaste.Data/Services/IListService.cs
139
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; namespace Dsp.Web.Chat { [Authorize] [RoutePrefix("api/Chat")] public class ChatController : ApiController { private DspContext _cont...
28.375
102
0.595343
[ "MIT" ]
joncloud/darkstarweb
src/Dsp.Web/Chat/ChatController.cs
1,591
C#
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Data; using Avalonia.Input; namespace Zafiro.Avalonia.Design { public class DeltaContentControl : ContentControl { public static readonly AvaloniaProperty AngleProperty = AvaloniaProperty.Register...
30.852174
119
0.575817
[ "MIT" ]
SuperJMN-Zafiro/Zafiro
Source/Zafiro.Avalonia.Design/DeltaContentControl.cs
3,550
C#
using ToDoListApp.Models; namespace ToDoListApp.Repositories { public interface IToDoListRepository : IRepository<ToDoList, int> { } }
17.333333
69
0.705128
[ "MIT" ]
beardeddev/tutos
ToDoListApp/Repositories/IToDoListRepository.cs
156
C#
using System.Runtime.Serialization; namespace PlanGrid.Api { public enum Status { [EnumMember(Value = "incomplete")] Incomplete, [EnumMember(Value = "complete")] Complete, [EnumMember(Value = "errored")] Errored } }
16.470588
42
0.578571
[ "MIT" ]
BartokW/plangrid-api-net
PlanGrid.Api/Status.cs
282
C#
namespace Course_Project.Data.Models { /// <summary> /// Film role. /// </summary> public class FilmActor { /// <summary> /// Identification. /// </summary> public int Id { get; set; } /// <summary> /// Actor identification. /// </summary> ...
22.484848
42
0.47035
[ "MIT" ]
AKS2044/TMS-DotNet02-Online-Aksenchik
src/CourseProject.Data/Models/FilmActor.cs
744
C#
#region License /********************************************************************************* * UIActionBinding.cs * * Copyright (c) 2004-2021 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
44.593407
134
0.603499
[ "Apache-2.0" ]
PenguinF/sandra-three
Eutherion/Shared/UIActions/UIActionBinding.cs
4,058
C#
namespace Gimnasio.Usuarios { partial class frmUsuario { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
51.360169
166
0.606468
[ "Apache-2.0" ]
xmalmorthen/gym
Gimnasio/Usuarios/frmUsuario.Designer.cs
12,125
C#
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.8
86
0.757682
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-aegis/Aegis/Transform/V20161111/CreateLogQueryResponseUnmarshaller.cs
1,432
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
33.735294
84
0.517001
[ "Apache-2.0" ]
CodeDuoFintech/CodeDuoSoln
CodeDuo.ManagementWebApp/Transactions/ViewTransactions.aspx.designer.cs
1,149
C#
// *** WARNING: this file was generated by crd2pulumi. *** // *** 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.Kubernetes.Types.I...
40.828571
305
0.678097
[ "MIT" ]
WhereIsMyTransport/Pulumi.Crds.CertManager
crd/dotnet/Certmanager/V1/Inputs/ClusterIssuerSpecAcmePrivateKeySecretRefArgs.cs
1,429
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AngieDashVFX : PlayerHit { protected Rigidbody rb; public float vel; public float destructionTime; protected virtual void Start() { rb = GetComponent<Rigidbody>(); rb.velocity = transform.T...
19.038462
82
0.682828
[ "Apache-2.0" ]
bruno-pLima/PandoraPlayers
Players/Angie/Ataques/AngieDashVFX.cs
497
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Bright.Forms.Main.Docks { public partial class PictureView : WeifenLuo.WinFormsUI.Docking.DockContent { protected override stri...
31.57754
136
0.527688
[ "MIT" ]
karno/Typict
Bright/Forms/Main/Docks/PictureView.cs
5,907
C#
using UnityEngine.Experimental.GlobalIllumination; using Unity.Collections; namespace UnityEngine.Rendering.HighDefinition { class GlobalIlluminationUtils { // Return true if the light must be added to the baking public static bool LightDataGIExtract(Light light, ref LightDataGI lightDa...
53.950758
233
0.534227
[ "MIT" ]
JesusGarciaValadez/RenderStreamingHDRP
RenderStreamingHDRP/Library/PackageCache/com.unity.render-pipelines.high-definition@8.2.0/Runtime/Lighting/GlobalIlluminationUtils.cs
14,243
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...
50.339806
256
0.670299
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/IoTSecureTunneling/Generated/_netstandard/IAmazonIoTSecureTunneling.cs
10,370
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.Linq; namespace Microsoft.ML.Trainers.FastTree { #if USE_SINGLE_PRECISION using Floa...
38.404908
147
0.572524
[ "MIT" ]
geffzhang/machinelearning
src/Microsoft.ML.FastTree/Dataset/FeatureHistogram.cs
6,260
C#
//********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// using System.Runtime.CompilerServices; namespace bs { /** @addto...
32.275676
125
0.592866
[ "MIT" ]
Alan-love/bsf
Source/Scripting/bsfSharp/Utility/Cursor.cs
5,973
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...
27.26087
74
0.69059
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/databoxedge/Microsoft.Azure.Management.DataBoxEdge/src/Generated/Models/DataPolicy.cs
627
C#
using System; using System.Windows.Controls; namespace Wpf.Docs { public partial class EnumComboBoxControl : UserControl { public EnumComboBoxControl() { InitializeComponent(); this.DataContext = new FlagEnumComboBoxControlVM(); } } }
19.8
63
0.632997
[ "MIT" ]
jonnypjohnston/Xarial-xtoolk
docs/_src/wpf/FlagEnumComboBoxControl.xaml.cs
299
C#
using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Query; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Linq; using System.Text; using System.Threading; using System....
32.929017
149
0.549283
[ "MIT" ]
broszkiet/xrm-ci-framework
MSDYNV9/Xrm.Framework.CI/Xrm.Framework.CI.Common/SolutionManagement/SolutionManager.cs
42,217
C#
// Visual Studio Shared Project // Copyright(c) Microsoft Corporation // 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 // ...
43.432584
163
0.640926
[ "Apache-2.0" ]
brianbok/python-language-server
src/UnitTests/Core/Impl/TestData.cs
7,733
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Websites.Data; namespace Websites.Api { public class Startup { ...
29.603774
106
0.62269
[ "MIT" ]
GeorgiPetrovGH/.Net-core-WebAPI-project
Source/Websites/Websites.Api/Startup.cs
1,569
C#
using FSH.WebApi.Domain.Common.Events; namespace FSH.WebApi.Application.Catalog.Products.EventHandlers; public class ProductDeletedEventHandler : IEventNotificationHandler<EntityDeletedEvent<Product>> { private readonly ILogger<ProductDeletedEventHandler> _logger; public ProductDeletedEventHandler(ILogger<Pr...
39.5625
120
0.797788
[ "MIT" ]
DevJr14/dotnet-webapi-boilerplate
src/Core/Application/Catalog/Products/EventHandlers/ProductDeletedEventHandler.cs
633
C#
using System; namespace Device.Net { /// <summary> /// Represents the definition of a device that has been physically connected and has a DeviceId /// </summary> public class ConnectedDeviceDefinition : ConnectedDeviceDefinitionBase { #region Public Methods public string DeviceId ...
24.518519
99
0.601208
[ "MIT" ]
boek/Device.Net
src/Device.Net/ConnectedDeviceDefinition.cs
664
C#
using My.AspNetCore.WebForms.Rendering; using System; using System.IO; using System.Text.Encodings.Web; using System.Threading.Tasks; namespace My.AspNetCore.WebForms.Controls { public class Image : Control { public string AlternateText { get; set; } public string DescriptionUrl { get; set; }...
26.886364
84
0.590871
[ "MIT" ]
hishamco/WebForms
src/My.AspNetCore.WebForms/Controls/image.cs
1,185
C#
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace JiraWebApi { /// <summary> /// Fields meta information. /// </summary> [Serializable] ...
34.396825
133
0.601754
[ "MIT" ]
Bassman2/JiraWebApi
JiraWebApi/Fields.cs
2,169
C#