content
stringlengths
5
1.04M
avg_line_length
float64
1.75
12.9k
max_line_length
int64
2
244k
alphanum_fraction
float64
0
0.98
licenses
list
repository_name
stringlengths
7
92
path
stringlengths
3
249
size
int64
5
1.04M
lang
stringclasses
2 values
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Security.Claims; using System.Text; using System.Text.Encodings.Web; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft....
40.352941
154
0.573324
[ "MIT" ]
behluluysal/asp-net-core-5-training
rokWebsite/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs
6,862
C#
namespace Skeleton.Web.Documentation { using System.Linq; using Common.Extensions; using Microsoft.AspNetCore.Authorization; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; public class AuthResponsesOperationFilter : IOperationF...
35.043478
101
0.689826
[ "MIT" ]
litichevskiydv/WebInfrastructure
src/Infrastructure/Web/Documentation/AuthResponsesOperationFilter.cs
806
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Classification { public partial class TotalClassifier...
34.882159
161
0.497395
[ "Apache-2.0" ]
AlessandroDelSole/Roslyn
src/EditorFeatures/CSharpTest/Classification/TotalClassifierTests_Dynamic.cs
31,675
C#
using System; using System.Linq; using System.Windows.Forms; using CruiseDAL.DataObjects; using FSCruiser.Core; using FSCruiser.Core.Models; using System.Collections.Generic; namespace FSCruiser.WinForms { public partial class CuttingUnitSelectView : UserControl { public IApplicationController Control...
28.317073
85
0.511197
[ "CC0-1.0" ]
FMSC-Measurements/FScruiserV2
Source/FSCruiserV2/WinForms/CuttingUnitSelectView.cs
2,324
C#
using BulletSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TGC.Core.Mathematica; using TGC.Group.Model.GameObjects; using TGC.Group.Model.GameObjects.BulletObjects; using TGC.Group.Model.GameObjects.BulletObjects.Plantas; namespace TGC....
40.920455
107
0.638711
[ "MIT" ]
mariaguadalupeuvia/2018_2C_3572_Apocalipsis
TGC.Group/Model/Factorys/FactoryPlanta.cs
3,603
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. #nullable enable using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.IO; usin...
43.696379
186
0.606489
[ "Apache-2.0" ]
1kevgriff/aspnetcore
src/Hosting/Hosting/src/WebHostBuilder.cs
15,687
C#
using System; using System.Collections.Generic; using System.Text; using Discord.WebSocket; using System.Threading.Tasks; using Discord.Commands; namespace Discord.Addons.Interactive { public interface ICriterion<in T> { Task<bool> JudgeAsync(SocketCommandContext sourceContext, T parameter); } }
21.266667
79
0.761755
[ "ISC" ]
Anu6is/Discord.Addons.Interactive
Discord.Addons.Interactive/Criteria/ICriterion.cs
321
C#
using System; using System.Collections.Generic; using System.Linq.Expressions; using Laraue.EfCoreTriggers.Common.TriggerBuilders.Base; namespace Laraue.EfCoreTriggers.Common.TriggerBuilders.OnUpdate { public class OnUpdateTriggerCondition<TTriggerEntity> : TriggerCondition<TTriggerEntity> where TTriggerE...
32.086957
105
0.700542
[ "MIT" ]
Meberem/Laraue.EfCoreTriggers
src/Laraue.EfCoreTriggers.Common/TriggerBuilders/OnUpdate/OnUpdateTriggerCondition.cs
740
C#
using ImproveX.Configuration.Ui; namespace ImproveX.Web.Models.Layout { public class RightSideBarViewModel { public UiThemeInfo CurrentTheme { get; set; } } }
19.888889
53
0.709497
[ "MIT" ]
zchhaenngg/IWI
src/ImproveX.Web/Models/Layout/RightSideBarViewModel.cs
179
C#
using InvertedTomato.TikLink.Records; namespace InvertedTomato.TikLink.RecordHandlers { public class LinkBridgeNat : SetRecordHandlerBase<BridgeNat> { public LinkBridgeNat(Link link) : base(link) { } } }
27.75
66
0.743243
[ "Apache-2.0" ]
invertedtomato/tiklink
Library/RecordHandlers/LinkBridgeNat.cs
224
C#
using FubuDocs; namespace FubuValidation.Docs.GettingStarted { public class UsingValidationAttributes : Topic { public UsingValidationAttributes() : base("Using validation attributes") { } } }
19.166667
80
0.673913
[ "Apache-2.0" ]
DovetailSoftware/fubuvalidation
src/FubuValidation.Docs/GettingStarted/UsingValidationAttributes.cs
230
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Abmes.DataCollector.Vault.Configuration { public class StorageConfig { public string StorageType { get; set; } public string LoginName { get; set; } public string LoginSecret { ge...
28.086957
100
0.55031
[ "MIT" ]
abmes/Abmes.DataCollector
Abmes.DataCollector.Vault.Common/Configuration/StorageConfig.cs
1,294
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. namespace Mi...
76.325581
373
0.724558
[ "MIT" ]
Amrinder-Singh29/azure-powershell
src/DataBox/generated/api/Support/CustomerResolutionCode.Completer.cs
3,240
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MainWindow.xaml.cs" company="PropertyTools"> // Copyright (c) 2014 PropertyTools contributors // </copyright> // <summary> // Interaction logic for MainWindow.xaml // </...
31.114286
121
0.522498
[ "MIT" ]
JawadJaber/PropertyTools
Source/Examples/PropertyGrid/SimpleDemo/MainWindow.xaml.cs
1,091
C#
// Copyright (c) 2017 Jan Pluskal // //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in ...
39.76
176
0.775654
[ "Apache-2.0" ]
mvondracek/NetfoxDetective
Framework/Snoopers/SnooperYMSG.WPF/Infrastructure/SnooperYMSGWindsorInstaller.cs
996
C#
namespace BlogSystem.Web.ViewModels.Account { using System.Collections.Generic; using System.Web.Mvc; public class SendCodeViewModel { public string SelectedProvider { get; set; } public ICollection<SelectListItem> Providers { get; set; } public string ReturnUrl { get; set; } ...
23.3125
66
0.659517
[ "MIT" ]
csyntax/BlogSystem
src/BlogSystem.Web/ViewModels/Account/SendCodeViewModel.cs
373
C#
using System; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace NDG.DataAcc...
25.189189
105
0.667382
[ "BSD-3-Clause" ]
nokiadatagathering/WP7-Official
NDG.DataAccessModels/Repositories/CategoryRepository.cs
934
C#
namespace Microsoft.ML.Samples.Dynamic.Trainers.BinaryClassification { public class LightGbm { // This example requires installation of additional nuget package <a href="https://www.nuget.org/packages/Microsoft.ML.LightGBM/">Microsoft.ML.LightGBM</a>. public static void Example() { ...
39.923077
164
0.614644
[ "MIT" ]
oguzhanszr/machinelearning
docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/LightGbm.cs
1,559
C#
namespace CompanyDiscounts.Models { using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using System.Security.Claims; using System.Threading.Tasks; public class User : IdentityUser { public ClaimsIdentity GenerateUserIdentity(UserManager<User> manager) ...
33.24
119
0.699158
[ "MIT" ]
mvivancheva9/CompanyDiscounts
CompanyDiscounts/CompanyDiscounts.Models/User.cs
833
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/WinUser.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime...
26.026667
145
0.526127
[ "MIT" ]
Perksey/terrafx.interop.windows
sources/Interop/Windows/um/WinUser/MENUBARINFO.cs
1,954
C#
using System; using System.Net; using WebApi.Api.User.request; using WebApi.Api.User.response; namespace WebApi.Api.User { class ReadUserController : AbstractController<ReadUserRequest, ReadUserResponse> { public ReadUserController(HttpListenerRequest req, HttpListenerResponse res, string reqBody) : b...
25.5
126
0.612045
[ "MIT" ]
yunbow/CSharp-WebAPI
WebApi/Api/User/ReadUserController.cs
724
C#
using Android.App; using Android.Widget; using Android.OS; using System.Threading.Tasks; namespace AsyncSample { [Activity(Label = "AsyncSample", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { ...
22.324324
91
0.560533
[ "MIT" ]
CNinnovation/XamarinAug2017
AsyncSample/AsyncSample/MainActivity.cs
828
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Portions derived from React Native: // Copyright (c) 2015-present, Facebook, Inc. // Licensed under the MIT License. using Facebook.Yoga; using Newtonsoft.Json.Linq; using ReactNative.Reflection; using ReactNative.UIManager; using ReactNative.UIManager.An...
31.858247
185
0.556994
[ "MIT" ]
05340836108/react-native-windows
current/ReactWindows/ReactNative.Shared/Views/TextInput/ReactTextInputShadowNode.cs
12,361
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...
35.304762
147
0.631778
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/Internal/MarshallTransformations/GetInstanceStateRequestMarshaller.cs
3,707
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. namespace Microsoft.EntityFrameworkCore.TestModels { public class CrossStoreContext : DbContext { public CrossStoreContext(DbContextOpti...
36.242424
111
0.612876
[ "Apache-2.0" ]
vadzimpm/EntityFramework
test/EFCore.CrossStore.FunctionalTests/TestModels/CrossStoreContext.cs
1,196
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using Serilog.Events; using Serilog.Parsing; using Xunit; namespace Redbox.Serilog.Stackdriver.Tests { public class StackdriverFormatterTests { private static readonly DateTimeOffset ...
40.443396
106
0.578027
[ "Apache-2.0" ]
alteredego/stackdriver-serilog
src/Redbox.Serilog.Stackdriver.Tests/StackdriverFormatterTests.cs
4,287
C#
namespace Task03_ConvertWindowsDirToTree { using System; using System.Collections.Generic; using System.IO; using System.Linq; public class Startup { private const string DirectoryName = @"c:\windows"; private const string SearchPattern = @"*.*"; public static void Mai...
28.228571
105
0.505567
[ "MIT" ]
atanas-georgiev/TelerikAcademy
12.Data-Structures-and-Algorithms/Homeworks/03. Trees-and-Traversals/Task03-ConvertWindowsDirToTree/Startup.cs
1,978
C#
#region BSD Licence /* Copyright (c) 2013-2014, Doxense SAS 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 cond...
77.195531
449
0.767043
[ "BSD-3-Clause" ]
BedeGaming/foundationdb-dotnet-client
FoundationDB.Client/Core/IFdbTransactionHandler.cs
13,824
C#
// This file is auto-generated, don't edit it. Thanks. using System; using System.Collections.Generic; using System.IO; using Tea; namespace AlibabaCloud.SDK.Dingtalkvillage_1_0.Models { public class ListDeptSimpleUsersResponseBody : TeaModel { [NameInMap("hasMore")] [Validation(Required=false)] ...
25.98
83
0.56351
[ "Apache-2.0" ]
aliyun/dingtalk-sdk
dingtalk/csharp/core/village_1_0/Models/ListDeptSimpleUsersResponseBody.cs
1,319
C#
namespace demoFirstApp.Authorization.Roles { public static class StaticRoleNames { public static class Host { public const string Admin = "Admin"; } public static class Tenants { public const string Admin = "Admin"; } } }
19.1875
48
0.553746
[ "MIT" ]
MatiasDevop/abp-netcore
aspnet-core/src/demoFirstApp.Core/Authorization/Roles/StaticRoleNames.cs
307
C#
namespace Goui.Html { public class Iframe : Element { public string Source { get => GetStringAttribute ("src", null); set => SetAttributeProperty ("src", value); } public Iframe () : base ("iframe") { } } }
19.0625
55
0.459016
[ "MIT" ]
KevinGliewe/Goui
Goui/Html/Iframe.cs
307
C#
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System; using System.ComponentModel.Composition; using DotNetNuke.Entities.Icons; using DotNetNuke.ExtensionPoints; using DotNetNuke.UI.Modules; n...
25.959459
103
0.608537
[ "MIT" ]
CMarius94/Dnn.Platform
DNN Platform/Modules/DigitalAssets/Components/ExtensionPoint/ToolBarButton/GridViewToolBarButtonExtensionPoint.cs
1,923
C#
// Copyright 2020 Energinet DataHub A/S // // Licensed under the Apache License, Version 2.0 (the "License2"); // 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...
35
84
0.6875
[ "Apache-2.0" ]
Energinet-DataHub/geh-market-roles
source/Energinet.DataHub.MarketRoles.Infrastructure/Transport/Protobuf/ProtobufParser.cs
1,122
C#
using UnityEditor; namespace NaughtyAttributes.Editor { [PropertyDrawer(typeof(SliderAttribute))] public class SliderPropertyDrawer : PropertyDrawer { public override void DrawProperty(SerializedProperty property) { EditorDrawUtility.DrawHeader(property); SliderAttr...
37.1875
128
0.652101
[ "MIT" ]
517752548/UnityFramework
GameFrameWork/ThirdParty/NaughtyAttributes/Scripts/Editor/PropertyDrawers/SliderPropertyDrawer.cs
1,190
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("Po...
38.459459
84
0.749824
[ "MIT" ]
MomchilSt/SoftUni
01-Programming-Basics/C# Basics/Exercises/04. Complex Conditional Statements/PointInTheFigure/Properties/AssemblyInfo.cs
1,426
C#
using System; using System.Runtime.InteropServices; namespace Dapplo.Windows.Com { /// <summary> /// Enables objects and their containers to dispatch commands to each other. For example, an object's toolbars may contain buttons for commands such as Print, Print Preview, Save, New, and Zoom. /// <a href="h...
61.469697
261
0.686468
[ "MIT" ]
dapplo/Dapplo.Windows
src/Dapplo.Windows.Com/IOleCommandTarget.cs
4,059
C#
namespace JKang.EventSourcing.Persistence.DynamoDB { public class DynamoDBEventStoreOptions { public string TableName { get; set; } } }
22.285714
51
0.698718
[ "MIT" ]
Nacorpio/EventSourcing
src/JKang.EventSourcing.Persistence.DynamoDB/DynamoDBEventStoreOptions.cs
158
C#
using System; namespace RudderStack.Model { public class RudderOptions { public string AnonymousId { get; private set; } public Dict Integrations { get; private set; } public DateTime? Timestamp { get; private set; } public RudderContext Context { get; private set; } //...
38.147368
103
0.561258
[ "MIT" ]
rudderlabs/rudder-sdk-.net
RudderAnalytics/Model/RudderOptions.cs
3,624
C#
#region Copyright (c) 2007 Ryan Williams <drcforbin@gmail.com> /// <copyright> /// Copyright (c) 2007 Ryan Williams <drcforbin@gmail.com> /// /// 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 So...
41.764706
111
0.588908
[ "MIT" ]
ALEHACKsp/obfuscar
Tests/CustomAttributeTests.cs
5,680
C#
using System.Collections.Generic; using System.Net; using Aspose.Pdf.Cloud.Sdk.Model; using System.IO; using System; using Aspose.Pdf.Cloud.Sdk.Api; using System.Collections; namespace Aspose.Pdf.Cloud.Sdk.Example { public class ImportExportExamples { protected void UploadFile(string sourcePath, stri...
35.555133
104
0.626457
[ "MIT" ]
aspose-pdf-cloud/aspose-pdf-cloud-dotnet
Examples/ImportExportExamples.cs
9,351
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NLog; using Revo.Core.Core; using Revo.Core.Events; namespace Revo.Infrastructure.Events.Async { public class AsyncEventWorker : IAsyncEventWorker { private static readonly Logger Logger = LogManager...
43.530612
213
0.582904
[ "MIT" ]
Zev-OwitGlobal/Revo
Revo.Infrastructure/Events/Async/AsyncEventWorker.cs
6,401
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...
27.910714
104
0.644914
[ "Apache-2.0" ]
Bio2hazard/aws-sdk-net
sdk/src/Services/Athena/Generated/Model/Datum.cs
1,563
C#
/****************************************************************************** * Copyright (C) Leap Motion, Inc. 2011-2017. * * Leap Motion proprietary and confidential. * * ...
34.268293
85
0.53879
[ "MIT" ]
sayakbiswas/hackriddle-2017
Assets/LeapMotion/Modules/InteractionEngine/Scripts/UI/Anchors/Editor/AnchorEditor.cs
1,405
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Jitter; using Microsoft.Xna.Framework; using Jitter.Collision.Shapes; using Jitter.Dynamics; using Jitter.LinearMath; using Microsoft.Xna.Framework.Graphics; using Jitter.Collision; using JitterDemo.PhysicsObjects; using Jitte...
32.555556
111
0.554892
[ "MIT" ]
ninekorn/SCCoreSystemsMono
SCCoreSystemsMono/SCCoreSystemsMono/Scenes/SoftBodyJengaNOSCENE.cs
7,034
C#
/* * MX Platform API * * The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions. * * The version of the OpenAPI document: 0.1.0 * Generated by: h...
33.212121
227
0.536496
[ "MIT" ]
mxenabled/mx-platform-csharp
src/MX.Platform.CSharp/Model/WidgetResponse.cs
5,480
C#
//------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for gerado ...
41.833333
90
0.65239
[ "MIT" ]
silviafrigatto/csharp-exercises
ex1041/ex1041/obj/Debug/netcoreapp3.1/ex1041.AssemblyInfo.cs
1,013
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #region Using directives #endregion namespace Microsoft.Management.Infrastructure.CimCmdlets { /// <summary> /// <para> /// Write result object to ps pipeline /// </para> /// </summary> internal sealed class CimWriteRe...
23.62963
84
0.538401
[ "MIT" ]
AWESOME-S-MINDSET/PowerShell
src/Microsoft.Management.Infrastructure.CimCmdlets/CimWriteResultObject.cs
1,276
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.Generic; using System.Diagnostics; using System.Dynamic.Utils; using System.Reflection; usi...
34.885174
184
0.510395
[ "MIT" ]
FrancisFYK/corefx
src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/TypeOperations.cs
24,001
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
43.5
212
0.629159
[ "MIT" ]
AzureMentor/msgraph-sdk-dotnet
src/Microsoft.Graph/Requests/Generated/ManagedDeviceMobileAppConfigurationAssignmentsCollectionPage.cs
1,653
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.Applications.Events; namespace Microsoft.Quantum.Telemetry.Commands { public class LogEventCommand : CommandBase { public LogEventCommand(EventProperties? eventProperties = null) : base(CommandType.L...
32.836364
100
0.549834
[ "MIT" ]
ScriptBox99/qsharp-compiler
src/Telemetry/Library/Commands/LogEventCommand.cs
1,806
C#
using System; using System.Collections.Generic; /// <summary> /// https://leetcode.com/explore/learn/card/data-structure-tree/17/solve-problems-recursively/537/ /// </summary> namespace Amazon.Core.LeetCode.Explore.BinaryTree.PathSum { class Main { public static void Run() { var ro...
25.466667
98
0.470332
[ "MIT" ]
coni2k/Amazon
Amazon.Core/LeetCode/Explore/BinaryTree/PathSum.cs
2,294
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Microsoft.MixedReality.WorldLocking.Core { /// <summary> /// Fragm...
37.994413
128
0.57271
[ "MIT" ]
Bhaskers-Blu-Org2/MixedReality-WorldLockingTools-Unity
Assets/WorldLocking.Core/Scripts/Fragment.cs
6,803
C#
namespace Bum.EventGrid.Subscriptions.Annotations { public class WebhookSubscriptionAttribute : SubscriptionAttribute { /// <summary> /// The fully qualified webhook url. For azure functions it should be https://function host/runtime/webhooks/eventgrid?functionname=name of the function ...
38.7
160
0.69509
[ "MIT" ]
Badabum/Bum.EventGrid.Subscriptions
Bum.EventGrid.Subscriptions.Annotations/WebhookSubscriptionAttribute.cs
389
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YuGiOh.Bot.Models; namespace YuGiOh.Bot.Services.Interfaces { public interface IGuildConfigDbService { Task<GuildConfig> GetGuildConfigAsync(ulong id); Task InsertGuildCon...
24.1
61
0.755187
[ "MIT" ]
MeLikeChoco/YuGiOhBot
YuGiOh.Bot/Services/Interfaces/IGuildConfigDbService.cs
484
C#
//------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for gerado ...
42.958333
90
0.661494
[ "Apache-2.0" ]
MateusGonc/Primeiro-AspNet
BibliotecaGames/obj/Debug/netcoreapp3.1/BibliotecaGames.AssemblyInfo.cs
1,040
C#
using JetBrains.Annotations; namespace Lykke.Bil2.Client.BlocksReader.Services { /// <summary> /// Factory of the blockchain integration blocks reader API instance for the particular blockchain integration. /// </summary> [PublicAPI] public interface IBlocksReaderApiFactory { /// <summ...
31.176471
116
0.7
[ "MIT" ]
LykkeCity/Lykke.Bil2.Sdk
src/Lykke.Bil2.Client.BlocksReader/Services/IBlocksReaderApiFactory.cs
532
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.Generic; using System.ComponentModel.Composition.Diagnostics; using System.ComponentModel.C...
36.903353
159
0.560502
[ "MIT" ]
edenlee1212/corefx
src/System.ComponentModel.Composition/src/System/ComponentModel/Composition/AttributedModel/AttributedPartCreationInfo.cs
18,710
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Configuration; using System.Linq; using System.Text; using System.IO; using BarRaider.SdTools; using Microsoft.Win32; using p4ktest; using TheUser = p4ktest.SC.TheUser; //using SCJMapper_V2.Translation; namespace SCJMa...
39.083893
174
0.494462
[ "MIT" ]
mhwlng/streamdeck-starcitizen
starcitizen/SC/SCPath.cs
11,649
C#
// // CGPDFPage.cs: Implements the managed CGPDFPage // // Authors: Mono Team // // Copyright 2009 Novell, Inc // Copyright 2011-2014 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal i...
29.828571
91
0.729406
[ "BSD-3-Clause" ]
Acidburn0zzz/xamarin-macios
src/CoreGraphics/CGPDFPage.cs
2,088
C#
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Linq; namespace LinqToDB.DataProvider.SapHana { using Common; using Data; using SchemaProvider; class SapHanaOdbcSchemaProvider : SapHanaSchemaProvider { protected override List<DataTypeInfo...
28.104651
103
0.614812
[ "MIT" ]
Kshitij-Kafle-123/linq2db
Source/LinqToDB/DataProvider/SapHana/SapHanaOdbcSchemaProvider.cs
2,334
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.Collections.Immutable; using System.IO; using System.Linq; using System.Reflection; using System.Threading; using System...
38.622449
177
0.578864
[ "MIT" ]
AerisG222/runtime
src/libraries/Common/tests/SourceGenerators/RoslynTestUtils.cs
11,357
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.MSComctlLibApi; namespace NetOffice.MSComctlLibApi.Behind { /// <summary> /// DispatchInterface IImageList /// SupportByVersion MSComctlLib, 6 /// </summary> [SupportByVersion("MSComctlLib", 6...
23.297414
127
0.662905
[ "MIT" ]
igoreksiz/NetOffice
Source/MSComctlLib/Behind/DispatchInterfaces/IImageList.cs
5,407
C#
#pragma warning disable 1591 // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. // Mono Runtime Version: 4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code ...
31.419506
147
0.730334
[ "MIT" ]
starl1n/Xamarin.Forms-Samples-of-Clases
Clase 02/Proyecto/XamarinFormsClase02_03/Droid/Resources/Resource.designer.cs
188,140
C#
namespace MassTransit.MongoDbIntegration.Tests.Courier { using System; using System.Threading.Tasks; using MassTransit.Courier.Contracts; using MongoDB.Driver; using MongoDbIntegration.Courier; using MongoDbIntegration.Courier.Documents; using NUnit.Framework; using Testing; [Test...
37.983471
142
0.679286
[ "ECL-2.0", "Apache-2.0" ]
AlexanderMeier/MassTransit
tests/MassTransit.MongoDbIntegration.Tests/Courier/Complete_Specs.cs
4,598
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...
29.393939
107
0.670103
[ "ECL-2.0", "Apache-2.0" ]
johnktims/pulumi-aws
sdk/dotnet/Ec2/Outputs/GetLaunchTemplateTagSpecificationResult.cs
970
C#
using System.Globalization; namespace Skybrud.Essentials.Strings.Extensions { public static partial class StringExtensions { /// <summary> /// Gets whether the string matches a float (<see cref="float"/>). /// </summary> /// <param name="str">The string to validate.</param> ...
47.685714
134
0.601857
[ "MIT" ]
skybrud/Skybrud.Essentials
src/Skybrud.Essentials/Strings/Extensions/StringExtensions.Float.cs
3,340
C#
// Copyright (c) Isaiah Williams. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.Store.PartnerCenter.Offers { using System; using System.Collections.Generic; using System.Globalization; using System.Threadi...
40.833333
152
0.612987
[ "MIT" ]
erickbp/partner-center-dotnet
src/PartnerCenter/Offers/OfferOperations.cs
2,697
C#
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/ // Portions Copyright 2000-2004 Jonathan de Halleux // // 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.a...
31.933333
125
0.650313
[ "ECL-2.0", "Apache-2.0" ]
citizenmatt/gallio
src/Gallio/Gallio/Common/Reflection/Impl/NativeCodeElementWrapper.cs
2,874
C#
using System.Linq; using Microsoft.EntityFrameworkCore; using Abp.Application.Editions; using Abp.Application.Features; using Swagger.Sample.Editions; namespace Swagger.Sample.EntityFrameworkCore.Seed.Host { public class DefaultEditionCreator { private readonly SampleDbContext _context; public...
31.207547
139
0.602177
[ "MIT" ]
Dpio/swagger-presentation
2-aspboilerplate/Swagger.Sample/aspnet-core/src/Swagger.Sample.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultEditionCreator.cs
1,654
C#
using NoRainSDK.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace NoRainSDK.src { public class PostStatusService : CommonAbstract<ListModel<IdNameDTO>> { public PostStatusService(string appKey, string apSecret) : base(appKey, apSecret, "...
29.090909
142
0.639583
[ "Apache-2.0" ]
MapleWithoutWords/NoRainForum-MicroService
NoRainForum/NoRainSDK/src/PostStatusService.cs
962
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/strmif.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using System...
39.305556
145
0.677032
[ "MIT" ]
Ethereal77/terrafx.interop.windows
tests/Interop/Windows/um/strmif/ALLOCATOR_PROPERTIESTests.cs
1,417
C#
using System; using System.Threading.Tasks; using Windows.Storage; namespace GsriSync.WpfApp.Models { internal class Teamspeak : Expandable { private const string APPDATA = nameof(APPDATA); protected override string Archive => "TFAR.zip"; protected override string ExpandPath => $@"{A...
27.434783
98
0.703645
[ "MIT" ]
team-gsri/GsriSync
GsriSync.WpfApp/Models/Teamspeak.cs
633
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class FabriqueNode : Node { public Node next; public override Node Next(GameObject obj) { if(next != null) { return next; }else { return null; } } ...
17.428571
72
0.532787
[ "Unlicense" ]
Raser23/GamedevBudetUdivlen
GamedevBudetUdivlen/Assets/Scripts/PathNodes/FabriqueNode.cs
734
C#
// // CGPath.cs: Implements the managed CGPath // // Authors: Mono Team // // Copyright 2009 Novell, Inc // Copyright 2011-2014 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the ...
33.357143
265
0.720685
[ "BSD-3-Clause" ]
960208781/xamarin-macios
src/CoreGraphics/CGPath.cs
23,350
C#
using Microsoft.Extensions.Options; using SendGrid; using SendGrid.Helpers.Mail; using System.Net; using System.Threading.Tasks; namespace CodexBank.Common.EmailSender { public class EmailSender : IEmailSender { private readonly SendGridConfiguration options; public EmailSender(IOptions<SendG...
31.52381
114
0.629154
[ "MIT" ]
Dimulski/CodexBank
src/Common/CodexBank.Common/EmailSender/EmailSender.cs
1,326
C#
using System.Collections.Generic; namespace Core.Module.CharacterData.Template.Class { public class ElvenFighter : ElfFighter, ITemplateHandler { private const byte ClassId = 18; private const string ClassKey = "elven_fighter"; private readonly IDictionary<byte, float> _cpTabl...
29.166667
60
0.574286
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
dr3dd/L2Interlude
Core/Module/CharacterData/Template/Class/ElvenFighter.cs
1,402
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace BottomAnimation.CustonViews { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class CustomBu...
39.370229
130
0.646437
[ "MIT" ]
EmersonMeloMachado/BottomAnimation
BottomAnimation/BottomAnimation/CustonViews/CustomButtomActivityView.xaml.cs
10,317
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Web; using umbraco; using Umbraco.Core.Configuration; using Umbraco.Core.Models; using Umbraco.Core.Models.PublishedContent; using RenderingEngine = Umbraco.Core.RenderingEngine; namespace Umbraco.Web.Routing { /// <summary> ...
38.094595
138
0.593219
[ "MIT" ]
ismailmayat/Umbraco-CMS
src/Umbraco.Web/Routing/PublishedRequest.cs
19,735
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 ...
39.413043
109
0.766685
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-airec/Airec/Transform/V20201126/CreateInstanceResponseUnmarshaller.cs
1,813
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...
28.690141
101
0.576338
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20180201/Inputs/RouteFilterArgs.cs
2,037
C#
using ChubbyWarps.Data; using Rocket.API.Configuration; namespace ChubbyWarps.Services { public sealed class WarpsDataProvider : DataProvider<WarpsData> { public WarpsDataProvider(IConfiguration configuration) : base(configuration) { } public override string Name => "Data"; } }
25.75
88
0.728155
[ "MIT" ]
ChubbyQuokka/ChubbyWarps
ChubbyWarps/Services/WarpsDataProvider.cs
311
C#
using BenchmarkDotNet.Reports; using BenchmarkDotNet.Running; namespace SequentialReadingBenchmark { internal class Program { private static void Main(string[] args) { Summary[] summaries = BenchmarkRunner.Run(typeof(Program).Assembly); } } }
21.857143
81
0.637255
[ "MIT" ]
ErwinSturluson/Examples
.NET/CPU/DotNetCpuCacheExamples/SequentialReadingBenchmarks/Program.cs
308
C#
using System; using System.Collections.Generic; using Google.OrTools.ConstraintSolver; namespace OrToolsConstraint { class Job { public Job(List<Task> tasks) { AlternativeTasks = tasks; } public Job Successor { get; set; } public List<Task> AlternativeTasks { get; set; } } class Task { public Task(stri...
32.751295
81
0.652903
[ "Apache-2.0" ]
serraict/googleortools
examples/TaskScheduling.cs
6,323
C#
using System; using System.Collections.Generic; using MongoDB.Bson; namespace ReckonMe.Api.Models { public class Expense { public Expense() { Id = Guid.NewGuid(); } public Guid Id { get; set; } public string Name { get; set; } public string Descript...
24.090909
56
0.569811
[ "MIT" ]
reckonme-stack/ReckonMe.Api
ReckonMe.Api/Models/Expense.cs
532
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.612903
151
0.584343
[ "MIT" ]
IVSoftware/dgv-radio-checkbox
dgv-radio-checkbox/Properties/Settings.Designer.cs
1,075
C#
using System.Collections.Generic; using System.Linq; using Abp.Localization; using Microsoft.EntityFrameworkCore; namespace AbpCompanyName.AbpProjectName.EntityFrameworkCore.Seed.Host { public class DefaultLanguagesCreator { public static List<ApplicationLanguage> InitialLanguages => GetInitialLanguag...
35.967213
125
0.59845
[ "MIT" ]
5468sun/netcore-angular-boilerplate-osx
aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs
2,223
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
36.641509
153
0.595778
[ "MIT" ]
GeertVL/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IEducationSynchronizationProfileUploadUrlRequest.cs
1,942
C#
using System; namespace NumSharp.Backends { public partial class DefaultEngine { public override NDArray Mod(in NDArray lhs, in NDArray rhs) { switch (lhs.GetTypeCode) { #if _REGEN %foreach supported_dtypes,supported_dtypes_lowercase% case NPTy...
35.864865
67
0.592313
[ "Apache-2.0" ]
AmbachtIT/NumSharp
src/NumSharp.Core/Backends/Default/Math/Default.Mod.cs
1,329
C#
// 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 // // THIS CODE IS PROVIDED ON...
38.238095
116
0.745953
[ "Apache-2.0" ]
cityscapesc/specobs
main/external/dev/Client/MS.AutoUpdate.Service/IExecute.cs
803
C#
using System; namespace Device.Inbound { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
14
46
0.521978
[ "Apache-2.0" ]
iotbusters/assistant.net.iot
src/Device.Routers/Device.Inbound/Program.cs
184
C#
/***************************************************************************************** MathGraph Copyright (C) Coast AUTHOR : Coast DATE : 2020/9/3 DESCRIPTION : *****************************************************************************************/ using Syste...
17.835821
91
0.422594
[ "MIT" ]
M-Coast/MathGraph
Coast.Math/Expression/Lang/Operators.cs
1,197
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...
53.30068
194
0.642926
[ "Apache-2.0" ]
DalavanCloud/aws-sdk-net
sdk/src/Services/CloudTrail/Generated/_bcl45/AmazonCloudTrailClient.cs
94,133
C#
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Domain { /// <summary> /// AntMerchantExpandItemSecurityModifyModel Data Structure. /// </summary> [Serializable] public class AntMerchantExpandItemSecurityModifyModel : AlipayObjec...
27.441176
72
0.557342
[ "MIT" ]
lotosbin/payment
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AntMerchantExpandItemSecurityModifyModel.cs
2,162
C#
using Android.App; using Android.Graphics; using Android.Hardware.Camera2; using Android.Hardware.Camera2.Params; using Android.Media; using Android.OS; using Android.Util; using Android.Views; using Android.Widget; using ApxLabs.FastAndroidCamera; using BuildIt.Forms.Controls; using BuildIt.Forms.Controls.Extensions;...
39.659401
256
0.580711
[ "MIT" ]
builttoroam/BuildIt
src/BuildIt.Forms/BuildIt.Forms.Controls/Platforms/Android/CameraPreviewControlRenderer.cs
58,222
C#
using Microsoft.Extensions.Hosting; using System.Threading; using System.Threading.Tasks; namespace BackgroundTasksASPNETCore.Services { public class LifeTimeTaskService : BackgroundService { protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while(!stopp...
27.368421
83
0.653846
[ "MIT" ]
JakeDixon/background-services-with-asp-net-core
Services/LifeTimeTaskService.cs
522
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TOUCH : MonoBehaviour { public string runname = "Player"; public GameObject todestroy; public bool activateing = false; void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.name == runnam...
22.055556
45
0.667506
[ "MIT" ]
Sharkbyteprojects/Wallracepaint
version 2/Scripts/TOUCH.cs
399
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; using AMP.Models; namespace AMP.Utilities { public class DemoIdentityManager : IIdentityManager { public Person GetPersonByUserName(string userName) { Person person; sw...
34.4
67
0.365504
[ "MIT" ]
DFID/aid-management-platform
AMP/Utilities/DemoIdentityManager.cs
2,582
C#
using System; using System.Data.SqlClient; using System.Drawing; using System.Drawing.Printing; using bv.common.Core; using bv.model.BLToolkit; using bv.model.Model.Core; using DevExpress.XtraPrinting; using DevExpress.XtraReports.UI; using eidss.model.Reports.TH; using EIDSS.Reports.BaseControls.Report; usi...
33.31746
129
0.577656
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6.1/vb/EIDSS/EIDSS.Reports/Parameterized/Human/TH/Reports/NumberOfCasesDeathsMonthTHReport.cs
4,198
C#
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AplicacaoCinema.Hosting.Atributos; namespace AplicacaoCinema.Controllers { [Route("api/[controller]")] [ApiController] public class EnforceHttps...
20.027027
54
0.68691
[ "MIT" ]
andresbosca/filmes
Controllers/EnforceHttpsController.cs
743
C#
using NUnit.Framework; using Rhino.Mocks; using StoryTeller.Domain; using StoryTeller.Testing; using StoryTeller.UserInterface.Tests; namespace StoryTeller.UserInterface.Testing.UI.Tests { [TestFixture] public class EditTestControllerTester : InteractionContext<EditTestController> { priv...
29.488889
136
0.603115
[ "Apache-2.0" ]
DarthFubuMVC/storyteller
src/StoryTeller.UserInterface.Testing/UI/Tests/EditTestControllerTester.cs
7,962
C#