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 BinaryDiff.Input.Domain.Models; using BinaryDiff.Shared.Infrastructure.MongoDb.Context; using BinaryDiff.Shared.Infrastructure.MongoDb.Repositories; namespace BinaryDiff.Input.Infrastructure.Repositories { public class DiffRepository : MongoDbRepository<Diff>, IDiffRepository { const string COLL...
28.588235
74
0.738683
[ "MIT" ]
CaioCavalcanti/binary-diff-api
Services/BinaryDiff.Input/BinaryDiff.Input.Infrastructure/Repositories/DiffRepository.cs
488
C#
using System.Collections.Generic; using Essensoft.AspNetCore.Payment.Alipay.Response; namespace Essensoft.AspNetCore.Payment.Alipay.Request { /// <summary> /// alipay.open.app.silan.apigraythirteen.query /// </summary> public class AlipayOpenAppSilanApigraythirteenQueryRequest : IAlipayRequest<AlipayO...
23.008621
127
0.56538
[ "MIT" ]
lzw316/payment
src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenAppSilanApigraythirteenQueryRequest.cs
2,671
C#
namespace Play.Inputs { public class GlobalStringVaribles { #region Input vars public const string HORIZONTAL_AXIS = "Horizontal"; public const string VERTICAL_AXIS = "Vertical"; public const string JUMP_AXIS = "Jump"; public const string Fire_AXIS = "Fire1"; #e...
22.466667
59
0.637982
[ "Unlicense" ]
PaveSafronov/Games2D
Games/Assets/Scriptes/Knight/GlobalStringVaribles.cs
337
C#
namespace PnP.Framework.Enums { /// <summary> /// Defines the TLS versions a Microsoft Graph subscription supports calling into when an event for which a subscription exists gets triggered /// </summary> public enum GraphSubscriptionTlsVersion : short { v1_0, v1_1, v1_2, ...
24.142857
146
0.639053
[ "MIT" ]
jackpoz/pnpframework
src/lib/PnP.Framework/Enums/GraphSubscriptionTlsVersion.cs
340
C#
// Copyright (c) 2021 Alachisoft // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
41.230769
108
0.672886
[ "Apache-2.0" ]
Alachisoft/NCache
Src/NCCommon/Locking/LockAccessType.cs
1,608
C#
using UnityEngine; using System.Collections; namespace Ist { public class MPGPGPUSort { public struct KIP { public uint key; public uint index; } public struct SortCB { public uint level; public uint level...
42.009346
139
0.552836
[ "MIT" ]
phamngocanit82/PNA-Unity3D
LightEffects/Assets/Ist/MassParticle/GPUParticle/Scripts/MPGPGPUSort.cs
4,497
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 ...
23.654676
134
0.657238
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-scdn/Scdn/Model/V20171115/DescribeScdnCcTopIpRequest.cs
3,288
C#
using Microsoft.VisualStudio.Text.Operations; namespace Vim.EditorHost { /// <summary> /// In certain hosted scenarios the default ITextUndoHistoryRegistry won't be /// available. This is a necessary part of editor composition though and some /// implementation needs to be provided. Importi...
36.815789
93
0.649035
[ "Apache-2.0" ]
EAirPeter/VsVim
Src/VimEditorHost/IBasicUndoHistoryRegistry.cs
1,401
C#
using System; namespace Ceen.PaaS.Services { public static class PasswordPolicy { /// <summary> /// The random number generator to use /// </summary> private static readonly Random _rnd = new Random(); /// <summary> /// The lock guarding the random number genera...
32.710526
179
0.519308
[ "MIT" ]
Peckmore/ceenhttpd
Ceen.PaaS/Services/PasswordPolicy.cs
2,486
C#
using CssUI.DOM.Enums; using CssUI.DOM.Exceptions; using CssUI.DOM.Nodes; using System; using System.Collections.Generic; namespace CssUI.DOM { public class NodeIterator {/* Docs: */ public static LinkedList<WeakReference<NodeIterator>> ALL = new LinkedList<WeakReference<NodeIterator>>(); #r...
41.942222
238
0.547102
[ "MIT" ]
dsisco11/CssUI
CssUI/DOM/Traversal/NodeIterator.cs
9,499
C#
using log4net; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.ServiceModel.Web; using System.Text; using CodeProbe.Sensing; using CodeProbe.HealthChecks; using CodeProbe.Reporting.Reporters; using CodeProbe.Reporting.Extractors; using System.Collections.Concurr...
40.4625
161
0.554526
[ "MIT" ]
aliaslab-1984/CodeProbe
src/CodeProbe.Reporting.Remote/ProbeServiceBase.cs
6,476
C#
using UnityEngine; using UnityEngine.Rendering; using UnityEngine.Rendering.HighDefinition; using System; [Serializable, VolumeComponentMenu("Post-processing/Custom/Snow")] public sealed class Snow : CustomPostProcessVolumeComponent, IPostProcessComponent { [Tooltip("Controls the intensity of the effect.")...
35.704545
129
0.693826
[ "MIT" ]
Takata1128/SSKK_Hackathon2021_Takata
Assets/SampleSceneAssets/Scripts/SamplePostProcess/Snow/Snow.cs
1,571
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Red.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Red.Formats.Red.Records.Enums; namespace GameEstate.Red.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class CAINpcReactionLeadEscape : CA...
32.782609
136
0.753316
[ "MIT" ]
bclnet/GameEstate
src/Estates/Red/GameEstate.Red.Format/Red/W3/RTTIConvert/CAINpcReactionLeadEscape.cs
754
C#
using System.Windows; using System.Windows.Controls; namespace PTWpf.Modules.Resource { /// <summary> /// Interaction logic for ResourceList.xaml /// </summary> public partial class ResourceListView : UserControl { public ResourceListView() { InitializeComponent()...
20.235294
56
0.604651
[ "MIT" ]
MarimerLLC/cslacontrib
branches/2010.11.001/ProjectTrackerPrism/PTWpf.Modules.Resource/ResourceListView.xaml.cs
346
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 Microsoft.ML.Calibrators; using Microsoft.ML.Trainers.FastTree; namespace Microsoft.ML.StaticP...
59.411392
179
0.638223
[ "MIT" ]
endintiers/machinelearning
src/Microsoft.ML.StaticPipe/TreeTrainersStatic.cs
18,776
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using HuaweiCloud.SDK.Core; namespace HuaweiCloud.SDK.Kafka.V2.Model { /// <summary> /// Response Object /// </summary> publ...
18.904762
68
0.740554
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/Kafka/V2/Model/UpdateInstanceAutoCreateTopicResponse.cs
397
C#
using System; using System.Collections.Generic; using UniJSON; namespace UniGLTF { /// <summary> /// https://github.com/KhronosGroup/glTF/issues/1036 /// </summary> [Serializable] public partial class glTFMesh_extras : ExtraBase<glTFMesh_extras> { [JsonSchema(Required = true, MinItems...
23.636364
69
0.516667
[ "MIT" ]
DanielHands008/VTuber-App
Assets/VRM/UniGLTF/Scripts/Format/ExtensionsAndExtras/glTFMesh.extras.targetNames.cs
782
C#
// Copyright (C) 2007 Jesse Jones // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, /...
30.286957
193
0.674706
[ "MIT" ]
dbremner/smokey
source/internal/rules/correctness/ArgumentException2Rule.cs
3,483
C#
using DelegationPokerApp.Dtos; using System.Collections.Generic; namespace DelegationPokerApp.Services { public interface ITeamService { TeamAddOrUpdateResponseDto AddOrUpdate(TeamAddOrUpdateRequestDto request); ICollection<TeamDto> Get(); TeamDto GetById(int id); dynamic Remove...
24.142857
82
0.724852
[ "MIT" ]
QuinntyneBrown/delegation-poker-app
DelegationPokerApp/Services/ITeamService.cs
338
C#
using System.Collections.Generic; namespace Dukkan.Authorization.Roles.Dto { public class GetRoleForEditOutput { public RoleEditDto Role { get; set; } public List<FlatPermissionDto> Permissions { get; set; } public List<string> GrantedPermissionNames { get; set; } } }
23.692308
64
0.685065
[ "MIT" ]
dukkan/dukkan
aspnet-core/src/Dukkan.Application.Shared/Authorization/Roles/Dto/GetRoleForEditOutput.cs
310
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.Reflection; using System.Diagnostics; using System.Collections.Generic; using System.Ref...
26.190476
71
0.716364
[ "MIT" ]
LaudateCorpus1/corert
src/System.Private.Reflection.Core/src/System/Reflection/Runtime/FieldInfos/LiteralFieldAccessor.cs
1,100
C#
using Cysharp.Threading.Tasks; using Cysharp.Threading.Tasks.Linq; using Millennium.InGame.Effect; using Millennium.InGame.Entity.Bullet; using Millennium.Mathematics; using Millennium.Sound; using System; using System.Threading; using UnityEngine; namespace Millennium.InGame.Entity.Enemy { public class MidBossAka...
32.660377
188
0.593876
[ "MIT" ]
andanteyk/Millennium
Assets/Millennium/Scripts/InGame/Entity/Enemy/MidBossAkane.cs
3,462
C#
using System; namespace Abc.Zebus.Tests.Dispatch.DispatchMessages { public class AsyncFailingCommand : ICommand { public Exception Exception { get; } public bool ThrowSynchronously { get; set; } public AsyncFailingCommand(Exception exception) { Exception = exceptio...
21.3125
55
0.636364
[ "MIT" ]
Abc-Arbitrage/Zebus
src/Abc.Zebus.Tests/Dispatch/DispatchMessages/AsyncFailingCommand.cs
343
C#
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class LoadFirstLevel : MonoBehaviour { private bool levelLoaded = false; void Update() { KinectManager manager = KinectManager.Instance; if(!levelLoaded && manager && KinectManager.IsKinectInitialized())...
18.045455
69
0.690176
[ "MIT" ]
KevinWu57/EmbodiedAI-Gesture
3rd-Party/Kinect/KinectScripts/MultiScene/LoadFirstLevel.cs
397
C#
using System.ComponentModel; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using AGS.API; using AGS.Engine; namespace AGS.Editor { public static class BreakDebuggerForm { private static API.IComponent _component; private static string _property; public sta...
38.679245
154
0.607317
[ "Artistic-2.0" ]
tzachshabtay/MonoAGS
Source/Editor/AGS.Editor/Debugging/BreakDebuggerForm.cs
2,052
C#
using System.Linq; using Dfc.CourseDirectory.Core.DataStore.CosmosDb.Queries; using OneOf; using OneOf.Types; namespace Dfc.CourseDirectory.Testing.DataStore.CosmosDb.QueryHandlers { public class UpdateProviderFromUkrlpDataHandler : ICosmosDbQueryHandler<UpdateProviderFromUkrlpData, OneOf<NotFound, Succes...
34.111111
112
0.659609
[ "MIT" ]
SkillsFundingAgency/dfc-coursedirectory
tests/Dfc.CourseDirectory.Testing/DataStore/CosmosDb/QueryHandlers/UpdateProviderFromUkrlpDataHandler.cs
1,230
C#
using System.Windows.Input; using Windows.UI.Xaml; namespace ArtCat.Services.DragAndDrop { public class ListViewDropConfiguration : DropConfiguration { public static readonly DependencyProperty DragItemsStartingCommandProperty = DependencyProperty.Register("DragItemsStartingCommand", type...
38.392857
142
0.724651
[ "MIT" ]
marsscotia/ArtCat
ArtCat/Services/DragAndDrop/ListViewDropConfiguration.cs
1,077
C#
public class DiagnosticEventCollector : MonoBehaviour // TypeDefIndex: 4508 { // Fields private static DiagnosticEventCollector s_Collector; // 0x0 // Properties public static Guid PlayerConnectionGuid { get; } // Methods // RVA: 0x19D6CB0 Offset: 0x19D6DB1 VA: 0x19D6CB0 public static Guid get_PlayerConnectio...
31.066667
105
0.76824
[ "MIT" ]
SinsofSloth/RF5-global-metadata
UnityEngine/ResourceManagement/Diagnostics/DiagnosticEventCollector.cs
932
C#
using System.Collections; using System.Collections.Generic; using System.Security.Cryptography; using UnityEngine; public class Enemy : MonoBehaviour { [SerializeField] private float speed; private GameObject player; private Rigidbody enemyRigidbody; // Start is called before the first frame updat...
23.393939
92
0.65285
[ "MIT" ]
OmerKilicc/CreateWithCode
Prototype4/Assets/Prototype4/Scripts/Enemy.cs
772
C#
namespace Microsoft.NetConf2021.Maui.Pages { public partial class ShowDetailPage : ContentPage { private ShowDetailViewModel viewModel => BindingContext as ShowDetailViewModel; public ShowDetailPage(ShowDetailViewModel vm) { InitializeComponent(); BindingContext...
25.296296
87
0.594436
[ "MIT" ]
JoonghyunCho/dotnet-podcasts
src/Mobile/Pages/ShowDetailPage.xaml.cs
685
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using ISSU.Data.UoW; using ISSU.Models; using ISSU.Web.Models; using ISSU.D...
28.575
139
0.688539
[ "MIT" ]
betrakiss/ISSU
ISSU.Web/Areas/API/Controllers/AccountController.cs
1,145
C#
#region license // Copyright (c) HatTrick Labs, LLC. 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 // // Unless re...
32.788462
136
0.697947
[ "Apache-2.0" ]
HatTrickLabs/dbExpression
src/HatTrick.DbEx.Sql/Expression/_Field/NullableInt64FieldExpression.cs
1,705
C#
using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. //[assembly: AssemblyTitle("C...
50.25
325
0.763682
[ "MIT" ]
ArcadeMode/CRA
src/CRA.ClientLibrary/Properties/AssemblyInfo.cs
2,013
C#
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Runtime.InteropServices; using System.Runtime.Serialization; using GlmSharp.Swizzle; // ReSharper disable InconsistentNaming namespace GlmSharp { /// <summary> /// Static class that contains stat...
27.333333
86
0.626016
[ "MIT" ]
akriegman/GlmSharpN
GlmSharp/GlmSharpCompat5/Mat5x2/umat5x2.glm.cs
984
C#
using System.Threading.Tasks; using Abp.Configuration; using Abp.Zero.Configuration; using Azmoon.Authorization.Accounts.Dto; using Azmoon.Authorization.Users; namespace Azmoon.Authorization.Accounts { public class AccountAppService : AzmoonAppServiceBase, IAccountAppService { // from: http://regexlib....
37.068966
174
0.64093
[ "MIT" ]
mahdighorbanpour/Azmoon
aspnet-core/src/Azmoon.Application/Authorization/Accounts/AccountAppService.cs
2,150
C#
#region License /* Copyright © 2014-2022 European Support Limited Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
26.695652
96
0.667752
[ "Apache-2.0" ]
FOSSAware/Ginger
Ginger/Ginger/UserControlsLib/TextEditor/WebBrowser/WebBrowserDocumentPage.xaml.cs
1,229
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using JabboServerCMD.Core.Sockets; using JabboServerCMD.Core.Systems; using JabboServerCMD.Core.Instances.User; using JabboServerCMD.Core.Instances.Room; namespace JabboServerCMD.Core.Managers { public...
24.246154
67
0.550127
[ "MIT" ]
jabbo/Jabbo
server/JabboServerCMD/Core/Managers/RoomManager.cs
1,578
C#
using Bucket.EventBus.Abstractions; using Bucket.EventBus.Attributes; using Bucket.EventBus.Events; using Bucket.EventBus.Util; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Newtonsoft.Json; using Polly; using Polly.Retry; using ...
40.956113
179
0.545121
[ "MIT" ]
q315523275/.net-core-
src/EventBus/Bucket.EventBus.RabbitMQ/EventBusRabbitMQ.cs
13,221
C#
using System.Text.Json.Serialization; using Money; using OrchardCore.Commerce.Serialization; namespace OrchardCore.Commerce.Models { /// <summary> /// A price and its priority. /// </summary> [JsonConverter(typeof(PrioritizedPriceConverter))] public class PrioritizedPrice { /// <summary...
24.206897
65
0.579772
[ "MIT" ]
TRiV07/OrchardCore.Commerce
Models/PrioritizedPrice.cs
702
C#
using System; using System.Windows; using System.Timers; using System.Diagnostics; using DiscordRPC.Main.ViewModels; namespace DiscordRPC.Main.UI { public partial class GoAFKWindow : Window { public GoAFKWindow() { InitializeComponent(); BeginAFKTimer(); } ...
31.549296
169
0.622768
[ "Unlicense" ]
ddasutein/Discord-RPC-Customizer
src/DiscordRPC.Main/UI/GoAFKWindow.xaml.cs
2,242
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.857143
98
0.712083
[ "Apache-2.0" ]
BAStevens/Lego-Ev3
LegoUI/Properties/AssemblyInfo.cs
2,403
C#
using System.Collections.Generic; using cv19ResSupportV3.V3.Domain; using cv19ResSupportV3.V3.Domain.Commands; namespace cv19ResSupportV3.V3.Gateways { public interface ICallHandlerGateway { List<CallHandlerResponse> GetCallHandlers(); CallHandlerResponse GetCallHandler(int id); CallH...
25.35
74
0.765286
[ "MIT" ]
LBHSPreston/cv-19-res-support-v3
cv19ResSupportV3/V3/Gateways/ICallHandlerGateway.cs
507
C#
using BusinessLayer.DTO; using Mapster; using Riganti.Utils.Infrastructure.Core; using System.Linq; namespace BusinessLayer.Queries { public class BandInfoesQuery : AppQuery<BandInfoDTO> { public BandInfoesQuery(IUnitOfWorkProvider provider) : base(provider) { } protected override IQueryable<...
25.666667
85
0.701299
[ "Apache-2.0" ]
Arcidev/MusicLibrary
src/BusinessLayer/Queries/BandInfoesQuery.cs
464
C#
using System; using System.Threading.Tasks; using BurnForMoney.Domain; using BurnForMoney.Functions.Infrastructure.Queues; using BurnForMoney.Functions.Shared.Extensions; using BurnForMoney.Functions.Shared.Functions.Extensions; using BurnForMoney.Functions.Shared.Helpers; using BurnForMoney.Functions.Strava.Commands;...
51.17033
261
0.666595
[ "MIT" ]
makingwaves/BurnForMoney
src/BurnForMoney.Functions.Strava/Functions/EventsHub/EventsRouter.cs
9,315
C#
using System.Collections.Generic; namespace Reface.NPI.Generators { public class SqlCommandDescription : ICopy { public SqlCommandExecuteModes Mode { get; set; } public string SqlCommand { get; set; } public Dictionary<string, SqlParameterInfo> Parameters { get; private set; } ...
27.763158
119
0.569668
[ "MIT" ]
ShimizuShiori/Reface.NPI
src/Reface.NPI/Generators/SqlCommandDescription.cs
1,057
C#
// T4 code generation is enabled for model 'D:\Lockdown E-commarace(MVC)\Lockdown-E-commarace--MVC-\Application\BaustManagementSys\Database\Baustmgt.edmx'. // To enable legacy code generation, change the value of the 'Code Generation Strategy' designer // property to 'Legacy ObjectContext'. This property is available...
81.4
157
0.767813
[ "MIT" ]
Abed0711/Lockdown-BAUST-Management-System--MVC-
Application/BaustManagementSys/Database/Baustmgt.Designer.cs
816
C#
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. // // Microsoft Cognitive Services: http://www.microsoft.com/cognitive // // Microsoft Cognitive Services Github: // https://github.com/Microsoft/Cognitive // // Copyright (c) Microsoft Corporation // All rights reserved. // //...
36.841121
96
0.643328
[ "MIT" ]
Bhaskers-Blu-Org2/intelligent-apps
AlpineSkiHouseHappinessMeter/Controls/UpDownVerticalBarControl.xaml.cs
3,944
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 CommandCenter.Models { /// <summary> /// Actions enum. /// </summary> public enum ActionsEnum { /// <summary> ...
21.580645
101
0.5142
[ "MIT" ]
Azure-Samples/Commercial-Marketplace-SaaS-Manual-On-Boarding
src/CommandCenter/Models/ActionsEnum.cs
671
C#
namespace BeerApp.Web.Areas.Administration.ViewModels.Place { using System; using System.ComponentModel.DataAnnotations; using AutoMapper; using BeerApp.Web.Infrastructure.Mapping; using Data.Models; public class AdminPlaceViewModel : IMapFrom<Place>, IHaveCustomMappings { ...
28.363636
104
0.569231
[ "MIT" ]
ahansb/BeerApp
Source/Web/BeerApp.Web/Areas/Administration/ViewModels/Place/AdminPlaceViewModel.cs
1,562
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PerfectDiamond { class PerfectDiamond { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); if (n == 1) { ...
27.703704
67
0.349599
[ "MIT" ]
msotiroff/Softuni-learning
Programming Basics/Practice_old_Exams/PerfectDiamond/PerfectDiamond.cs
1,498
C#
using System; using System.Collections.Generic; using Xamarin.Forms; using GalaSoft.MvvmLight.Messaging; using Smartphone.Driver.Messages; namespace Smartphone.Driver { public partial class OrderDetailsPage : ContentPage { public OrderDetailsPage () { InitializeComponent (); BindingContext = App.Locator....
17.75
76
0.754527
[ "Unlicense", "MIT" ]
dowe/Project2
Smartphone/Smartphone.Driver/Views/OrderDetailsPage.xaml.cs
499
C#
using System; using System.Collections.Generic; using System.Linq; using GTFS; using GTFS.Entities; using GTFS.Entities.Enumerations; using Itinero.Transit.Data; using Itinero.Transit.Data.Core; using Itinero.Transit.Logging; using Itinero.Transit.Utils; using Stop = GTFS.Entities.Stop; using Trip = GTFS.Entities.Trip;...
45.652482
159
0.437212
[ "MIT" ]
openplannerteam/Itinero-Transit
src/Itinero.Transit.IO.GTFS/TransitDbExtensions.cs
19,311
C#
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2021 Energistics // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use file except in compliance with the License. // You may obtain a copy of the License at // // http...
45.986111
147
0.613208
[ "Apache-2.0" ]
pds-technology/etp.net
src/Energistics.Avro/Encoding/Converter/AvroConverter.DateTimeOffset.cs
9,935
C#
#if APPSETTINGS using System; using System.Linq; using Serilog.Debugging; using Serilog.Events; using Serilog.Tests.Support; using TestDummies; using Xunit; using Xunit.Abstractions; namespace Serilog.Settings.Combined.Tests { public class CombinedSettingsMixTests { readonly ITestOutputHelper _outputHe...
42.60274
162
0.590675
[ "Apache-2.0" ]
serilog/serilog-settings-combined
test/Serilog.Settings.Combined.Tests/CombinedSettingsMixTests.cs
3,110
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using CalcLang; using CalcLang.Interpreter; namespace Base { internal static class MathLib { [CalcCallableMethod("Acos", 1)] public static object Acos(ScriptThread thread, object...
50.130952
179
0.686535
[ "MIT" ]
hstde/Calc2
Base/Math.cs
4,213
C#
///------------------------------------------------------------------------------------------------- /// <file> Fomantic.Blazor.UI\Features\Base\UIFeatureDefinition.cs </file> /// /// <copyright file="UIFeatureDefinition.cs" company="MyCompany.com"> /// Copyright (c) 2020 MyCompany.com. All rights reserved. /// </cop...
36.306452
149
0.507774
[ "MIT" ]
DotFomanticNet/fomantic-blazor
src/Fomantic.Blazor.UI/Features/Base/UIFeatureDefinition.cs
4,504
C#
namespace XPlat { using System.Collections.Generic; /// <summary> /// Defines a collection of extensions for collections. /// </summary> public static partial class Extensions { /// <summary> /// Takes a number of elements from the specified collection from the specified starti...
33.566929
106
0.479944
[ "MIT" ]
jasells/XPlat-Windows-APIs
XPlat.Core/Extensions/Extensions.Collection.cs
4,265
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsof...
35.211679
106
0.47699
[ "MIT" ]
48355746/AspNetCore
src/Middleware/HealthChecks/test/UnitTests/HealthCheckEndpointRouteBuilderExtensionsTest.cs
4,824
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Query.InternalTrees { using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Dia...
37.121387
132
0.554812
[ "Apache-2.0" ]
CZEMacLeod/EntityFramework6
src/EntityFramework/Core/Query/InternalTrees/RuleProcessor.cs
6,422
C#
using ProcessingBlock.Core; using System; using System.Collections.Generic; using System.Text; namespace ProcessingBlock.Runtime { public class ManualReceiver<T>:QueueEndPointReceiverBase<T> { public void Add(T value) { add(value); } public void Complete() ...
16.590909
63
0.589041
[ "MIT" ]
JohnMasen/ProcessingBlock
src/ProcessingBlock.Runtime/ManualReceiver.cs
367
C#
using System; namespace Identifiers { interface @I1 { void @Method1(int @param1); } struct @S1 { } class @C1 : @I1 { int @field1; @S1 @field2; int field3; public void @Method1(int @param1) { object @local1; Func<...
14.107143
46
0.437975
[ "MIT" ]
00mjk/codeql
csharp/ql/test/library-tests/tokens/tokens.cs
395
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerMovement : MonoBehaviour { public CharacterController controller; public float speed = 12f; public float gravity = -9.81f; public float jumpHeight = 3f; public Transform groundCheck; public float...
25.738095
91
0.641073
[ "MIT" ]
justinamaple/FPSPrototype
Assets/Scripts/PlayerMovement.cs
1,081
C#
// Copyright (c) 2012, Event Store LLP // 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 source code must retain the above copyright notice, // this list of condit...
48.716981
91
0.741673
[ "BSD-3-Clause" ]
ianbattersby/EventStore
src/EventStore/EventStore.Transport.Http/ContentType.cs
2,584
C#
using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; namespace webapp.Authentication { /// <summary> /// 在 SignInAsync 中将用户的Claim序列化后保存到Cookie中,在 AuthenticateAsync 中从Cookie中读取并反序列化成用户Claim。 /// /// //然后在DI系统中注册我们的Hand...
30.394737
116
0.62987
[ "MIT" ]
AtwindYu/Asp.NetCore2
sources/webapp/Authentication/MyAuthHandler.cs
2,396
C#
using System; using System.Runtime.InteropServices; namespace AnsiCodes { /// <summary> /// This hack enables ANSI codes in modern Windows terminals. /// Original author: https://www.jerriepelser.com/blog/using-ansi-color-codes-in-net-console-apps/ /// TODO: Add extra checks to determine if using a mod...
37.207547
119
0.634381
[ "MIT" ]
phil-harmoniq/AnsiCodes
AnsiCodes/WindowsHelper.cs
1,972
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Extensions.Configuration.Ini { /// <summary> /// Represents an INI file as an <see cref="IConfigurationSource"/>. /// Files are simple line structures...
37.62069
118
0.644363
[ "MIT" ]
belav/runtime
src/libraries/Microsoft.Extensions.Configuration.Ini/src/IniStreamConfigurationSource.cs
1,091
C#
namespace SalesSystem.Areas.HelpPage.ModelDescriptions { public class CollectionModelDescription : ModelDescription { public ModelDescription ElementDescription { get; set; } } }
28.285714
64
0.752525
[ "MIT" ]
cristiano2005reis/sales_system
SalesSystem/Areas/HelpPage/ModelDescriptions/CollectionModelDescription.cs
198
C#
/* Generated SBE (Simple Binary Encoding) message codec */ using System; using System.Text; using System.Collections.Generic; using Adaptive.Agrona; namespace Adaptive.Cluster.Codecs { public class JoinClusterEncoder { public const ushort BLOCK_LENGTH = 12; public const ushort TEMPLATE_ID = 74; public co...
19.780899
84
0.628799
[ "Apache-2.0" ]
Horusiath/aeron.net
src/Adaptive.Cluster/Codecs/JoinClusterEncoder.cs
3,521
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Data; using System.Globalization; namespace DataGridFilterLibrary.Support { public class FontSizeToHeightConverter : IValueConverter { public object Convert(object value, Type targetTy...
24.65
104
0.48783
[ "MIT" ]
MaxReinerAAE/Kundenverwaltung
DataGridFilterLibrary/Support/FontSizeToHeightConverter.cs
988
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
45.829268
160
0.648749
[ "MIT" ]
gurry/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/WindowsMalwareOverview.cs
3,758
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AntChain.SDK.BLOCKCHAIN.Models { public class SaveBlockchainBrowserPrivilegeRequest : TeaModel { // OAuth模式下的授权token [NameInMap("auth_token")] [Vali...
23.294118
67
0.628788
[ "MIT" ]
alipay/antchain-openapi-prod-sdk
blockchain/csharp/core/Models/SaveBlockchainBrowserPrivilegeRequest.cs
806
C#
using System; using System.Collections.Generic; using System.Text; namespace CustomDI.Models.Contracts { public interface IWriter { void Write(string text); } }
16.166667
36
0.659794
[ "MIT" ]
Gandjurov/AdvancedOOP_CSharp
06.Workshop-DependancyInjention/01.CustomDI/Models/Contracts/IWriter.cs
196
C#
// The MIT License (MIT) // // Copyright (c) 2013 Jacob Dufault // // 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, cop...
46.689655
100
0.748892
[ "MIT" ]
Mephistofeles/forge
Forge.Entities/API/IGameInput.cs
1,356
C#
using System; using System.Runtime.InteropServices; #pragma warning disable CA1051 namespace OpenCvSharp { /// <summary> /// 3-Tuple of byte (System.Byte) /// </summary> [Serializable] [StructLayout(LayoutKind.Sequential)] // ReSharper disable once InconsistentNaming public struct Vec3b :...
27.255034
129
0.443979
[ "BSD-3-Clause" ]
AJEETX/opencvsharp
src/OpenCvSharp/Modules/core/Struct/Vec/Vec3b.cs
4,063
C#
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using ...
30.416667
110
0.609315
[ "MIT" ]
bpbpublications/Implementing-Design-Patterns-in-C-and-.NET-5
Chapter 02/2.ChapterTwo2.9/Startup.cs
1,825
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 Microsoft.EntityFrameworkCore.Specification.Tests; using Microsoft.EntityFrameworkCore.Specification.Tests.TestModels.Northwind; using Microsoft.E...
41.52381
111
0.692087
[ "Apache-2.0" ]
pmiddleton/EntityFramework
test/EFCore.InMemory.FunctionalTests/NorthwindQueryInMemoryFixture.cs
1,744
C#
using System; using System.Collections.Generic; using System.Text; namespace Bdo.Objects.Base { /// <summary> /// Classe base per oggetti Business /// </summary> public abstract class BusinessObjectBase: SlotAwareObject { /// <summary> /// Ritorna rappresentazione JSON ///...
19.75
61
0.582278
[ "MIT" ]
simonep77/bdo
Business.Data.Objects/Objects/Base/BusinessObjectBase.cs
476
C#
namespace MassTransit.InMemoryTransport { using System.Collections.Generic; using System.Threading.Tasks; using Fabric; using Transports; public class InMemoryMessageErrorTransport : InMemoryMessageMoveTransport, IErrorTransport { public InMemoryMessageErrorTransport(II...
24.275862
95
0.632102
[ "ECL-2.0", "Apache-2.0" ]
sinch/MassTransit
src/MassTransit/InMemoryTransport/InMemoryTransport/InMemoryMessageErrorTransport.cs
704
C#
/* * Copyright 2018 James Courtney * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
31.141844
146
0.631519
[ "Apache-2.0" ]
mattico/FlatSharp
src/FlatSharp/Serialization/CSharpHelpers.cs
4,393
C#
using CodeNav.Helpers; using CodeNav.Models; using CodeNav.Shared.ViewModels; using Microsoft.VisualStudio.PlatformUI; using System.Linq; using System.Windows; using System.Windows.Controls; namespace CodeNav.Windows { public partial class FilterWindow : DialogWindow { private DataGridCell _cell; ...
26.590476
88
0.527221
[ "MIT" ]
sboulema/CodeNav
CodeNav.Shared/Windows/FilterWindow.xaml.cs
2,794
C#
namespace CWMII.lib.Enums { public enum Win32_PerfRawData_WSearchIdxPi_SearchIndexer { Caption, Description, Name, Frequency_Object, Frequency_PerfTime, Frequency_Sys100NS, Timestamp_Object, Timestamp_PerfTime, Timestamp_Sys100NS, ActiveConnections, CleanWidSets, DirtyWidSets, DocumentsFilter...
22.35
214
0.807047
[ "MIT" ]
jcapellman/CWMII
CWMII.lib/Enums/Win32_PerfRawData_WSearchIdxPi_SearchIndexer.cs
1,788
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using GwApiNET; using GwApiNET.ResponseObjects; using GwApiNETExample.Managers; namespace GwApiNETExampl...
31.589286
115
0.671566
[ "MIT" ]
prbarcelon/GwApiNET
GwApiNET/GwApiNETExample/Controls/RecipeViewerUserControl.cs
1,771
C#
// Copyright 2020 The Tilt Brush Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
36.138693
127
0.680933
[ "Apache-2.0" ]
blackalice/bilt-trush
Assets/Scripts/App.cs
71,916
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-generate...
60.354756
420
0.601258
[ "MIT" ]
cljernigan/CProject03
Project03/Project03/ServicePartsDataSet.Designer.cs
140,870
C#
/* SCRIPT INSPECTOR 3 * version 3.0.29, May 2021 * Copyright © 2012-2021, Flipbook Games * * Unity's legendary editor for C#, UnityScript, Boo, Shaders, and text, * now transformed into an advanced C# IDE!!! * * Follow me on http://twitter.com/FlipbookGames * Like Flipbook Games on Facebook http://facebook.c...
24.758065
117
0.689902
[ "MIT" ]
DuLovell/Battle-Simulator
Assets/Imported Assets/Editor/ScriptInspector3/Scripts/GoToLineWindow.cs
3,073
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Client.UI { public class SettlementData { public SettlementData() { } #region 创造财富 /// <summary> /// 大机会得分计算 /// </summary> ...
25.704718
132
0.379856
[ "Apache-2.0" ]
rusmass/wealthland_client
arpg_prg/nativeclient_prg/Assets/Code/Client/PlayerInfo/SettlementData.cs
17,708
C#
using Unity.Entities; using Unity.Mathematics; namespace Joystick { public struct CameraFollow : IComponentData { public Entity TargetToFollow; public float2 DeadZone; public float FollowSpeed; } }
18.153846
47
0.686441
[ "MIT" ]
glauber-guimaraes/Run-Dino-Run
Assets/Samples/Project Tiny/0.15.3-preview/Joystick/Components/CameraFollow.cs
238
C#
using FluentNHibernate.Mapping; using QS.Test.TestDomain; namespace QS.Test.TestDomainMapping.TestDomain { public class BusinessObjectTestEntityMap : ClassMap<BusinessObjectTestEntity> { public BusinessObjectTestEntityMap() { Id(x => x.Id); } } }
18.642857
78
0.766284
[ "Apache-2.0" ]
Art8m/QSProjects
QS.LibsTest/TestApp/HibernateMapping/BusinessObjectTestEntityMap.cs
263
C#
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using amantini.davide._5h.PrimoEF; namespace amantini.davide._5h.PrimoEF.Migrations { ...
31.790698
76
0.554499
[ "Apache-2.0" ]
DavideAmantini/PrimoEF
Migrations/20211015073036_InitialCreate.Designer.cs
1,369
C#
using Playnite; using Playnite.API; using Playnite.App; using Playnite.Common; using Playnite.Common.System; using Playnite.Database; using Playnite.Metadata; using Playnite.Plugins; using Playnite.Scripting; using Playnite.SDK; using Playnite.SDK.Models; using Playnite.SDK.Plugins; using Playnite.Settings...
37.7902
154
0.495051
[ "MIT" ]
BertVerbouw/Playnite
source/PlayniteUI/ViewModels/MainViewModel.cs
54,760
C#
// Copyright © 2019, Silverlake Software LLC and Contributors (see NOTICES file) // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; namespace Mailboxes.Be...
29.704301
133
0.535566
[ "Apache-2.0" ]
silverlakesoftware/mailboxes
source/Mailboxes.Benchmarks/CoreMailboxBenchmarks.cs
5,528
C#
using HostLPass.Core.Domain; using HostLPass.Core.Repository; using HostLPass.Data.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HostLPass.Data.Repository { public class PaymentRepository : Repository<Payment>, IPaymen...
22.9
90
0.757642
[ "MIT" ]
dangermin/HostelPass
HostLPass.Data/Repository/PaymentRepository.cs
460
C#
using System; using System.Collections.Generic; using System.Text; using NUnit.Framework; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; using System.IO; using System.Xml.Serialization; using InTheHand.Net.Bluetooth; namespace InTheHand.Net.Tests.Bluetooth.TestBluetoothEndPoi...
42.09396
408
0.564573
[ "MIT" ]
3wayHimself/32feet
ITH.Net.Personal.FX2.Tests/BtEndPointSerialization.cs
6,272
C#
// ------------------------------------------------------- // Copyright (c) Coalition of the Good-Hearted Engineers // FREE TO USE FOR THE WORLD // ------------------------------------------------------- using Microsoft.AspNetCore.Mvc; using RESTFulSense.Controllers; namespace Jubilant.Core.Api.Controllers { [Ro...
28
65
0.535714
[ "MIT" ]
iCloudBMX/Jubilant.Core
Jubilant.Core.Api/Controllers/HomeController.cs
562
C#
using System; namespace Reddit.Inputs { [Serializable] public class ListingInput : BaseInput { /// <summary> /// fullname of a thing /// </summary> public string after { get; set; } /// <summary> /// fullname of a thing /// </summary> public...
27.840909
97
0.510204
[ "MIT" ]
DanClowry/Reddit.NET
src/Reddit.NET/Inputs/ListingInput.cs
1,227
C#
using System; using System.Collections.Generic; using System.Text; namespace CodingChallengeWeek3 { class Tasks { } }
11.666667
33
0.671429
[ "MIT" ]
042020-dotnet-uta/michaelHall-repo0
CodingChallengeWeek3/Tasks.cs
142
C#
using System; using System.Threading; using System.Threading.Tasks; using EventStore.Client; using M5x.Config; using M5x.DEC.Schema.Extensions; using M5x.EventStore.Interfaces; using M5x.Serilog; using M5x.Testing; using Microsoft.Extensions.DependencyInjection; using Xunit; using Xunit.Abstractions; namespace M5x.Eve...
24.527132
86
0.606827
[ "MIT" ]
rgfaber/m5x-sdk
tests/M5x.EventStore.Tests/EsPersistentSubscriptionClientTests.cs
3,164
C#
using System; using System.Data.SqlClient; namespace DBExecuteReader { class Program { static void Main(string[] args) { string connectionString = "Server=.; Database=SoftUni; Integrated Security=true"; using(var connection = new SqlConnection(connectionStri...
31.1
106
0.5209
[ "MIT" ]
Katsarov/EF-Core
01.ADO.NET/ADONET1/DBExecuteReader/Program.cs
935
C#
/* Copyright (c) 2018 ExT (V.Sigalkin) */ using UnityEngine; using extOSC.Core.Events; namespace extOSC.Components.Events { [AddComponentMenu("extOSC/Components/Receiver/Float Event")] public class OSCReceiverEventFloat : OSCReceiverEvent<OSCEventFloat> { #region Protected Methods prote...
22.037037
72
0.586555
[ "MIT" ]
TheBricktop/extOSC
Assets/extOSC/Scripts/Compontents/Events/OSCReceiverEventFloat.cs
597
C#
using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace uSync.BackOffice.Controllers { [JsonObject(NamingStrategyType = typeof(CamelCaseNamingStrategy))] public class SyncActionResult { public SyncActionResult() { } public SyncActionResult(...
22.904762
70
0.68815
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
JohanPlate/uSync
uSync.BackOffice/Controllers/ViewModels/SyncActionResult.cs
483
C#