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.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Uxnet.Web.Module.Common; namespace eIVOGo.Module.SYS { public partial class UserMenuList : System.Web.UI.UserControl { protected void Page_Load(object sende...
27.545455
124
0.558856
[ "MIT" ]
uxb2bralph/IFS-EIVO03
eIVOGo/Module/SYS/UserMenuList.ascx.cs
1,820
C#
namespace Hexio.DineroClient.Models.PurchaseVouchers { public class CreatePurchaseVoucherLineModel { public long AccountNumber { get; set; } public string Description { get; set; } public decimal Amount { get; set; } public string VatCode { get; set; } } }
30
52
0.656667
[ "MIT" ]
HexioDK/Hexio.DineroClient
Hexio.DineroClient/Models/PurchaseVouchers/CreatePurchaseVoucherLineModel.cs
300
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...
35.62
192
0.636159
[ "ECL-2.0", "Apache-2.0" ]
AaronFriel/pulumi-azuread
sdk/dotnet/Inputs/ApplicationOptionalClaimsAccessTokenGetArgs.cs
1,781
C#
#if !NETSTANDARD13 /* * 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 ...
32.342857
104
0.678445
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Chime/Generated/Model/_bcl45+netstandard/IListMeetingsPaginator.cs
1,132
C#
using System; using System.Drawing; namespace KaptchaNET.Extensions { public static class BitmapExtensions { public static Bitmap Apply(this Bitmap btmp, Func<int, int, Color, Color> func) { var img = btmp.Clone() as Bitmap; for (int y = 0; y < img.Height; ++y) ...
24.8125
87
0.4089
[ "MIT" ]
meysamda/Kaptcha.NET
src/Kaptcha.NET/Extensions/BitmapExtensions.cs
1,193
C#
using EmbyStat.Services.Models.Stat; namespace EmbyStat.Services.Models.Show { public class ShowGeneral { public Card<int> ShowCount { get; set; } public Card<int> EpisodeCount { get; set; } public Card<int> MissingEpisodeCount { get; set; } public TimeSpanCard TotalPlayableTim...
36.684211
61
0.66858
[ "MIT" ]
trizzone52/EmbyStat
EmbyStat.Services/Models/Show/ShowGeneral.cs
699
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.IO; using System.Linq; using Cake.Common.IO; using Cake.Common.IO.Pa...
32.515601
111
0.522802
[ "MIT" ]
ecampidoglio/cake
src/Cake.Common.Tests/Unit/IO/FileAliasesTests.cs
41,687
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...
44.20339
265
0.58934
[ "MIT" ]
0xced/azure-sdk-for-net
src/SDKs/Reservations/Management.Reservations/Generated/AzureReservationAPIClientExtensions.cs
5,216
C#
namespace Machete { using System; using Cursors; using Internals.Extensions; public static class ParsedCursorExtensions { /// <summary> /// Creates a <see cref="Cursor{T}"/> used to query the parsed result. /// </summary> /// <param name="entityResult">The parsed r...
41.790123
170
0.611817
[ "Apache-2.0" ]
amccool/Machete
src/Machete/Querying/ParsedCursorExtensions.cs
3,387
C#
//------------------------------------------------------------------------- // Copyright © 2019 Province of British Columbia // // 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...
37.025641
82
0.59903
[ "Apache-2.0" ]
bcgov/healthgateway
Apps/Common/src/Models/BCMailPlus/BcmpAssetQuery.cs
1,445
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...
36.02439
272
0.631686
[ "Apache-2.0" ]
pulumi/pulumi-kubernetes-crds
operators/prometheus/dotnet/Kubernetes/Crds/Operators/Prometheus/Monitoring/V1/Inputs/AlertmanagerSpecVolumesConfigMapItemsArgs.cs
1,477
C#
// // System.Runtime.InteropServices.ComVisibleAttribute.cs // // Author: // Nick Drochak (ndrochak@gol.com) // // (C) 2002 Nick Drochak // // // Copyright (C) 2004 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associate...
32.929825
73
0.750666
[ "Apache-2.0" ]
OpenPSS/psm-mono
mcs/class/corlib/System.Runtime.InteropServices/ComVisible.cs
1,877
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DPA_Musicsheets.enums { enum NoteItem { Kruis, Mol, Geen } }
14.0625
33
0.657778
[ "MIT" ]
JoostVermeulen11/dpamuziekgenerator
DPA_Musicsheets/enums/NoteItem.cs
227
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shaolinq.AsyncRewriter.Tests { public partial interface IFoo { [RewriteAsync] int Bar(string s); } public partial class Foo : IFoo { [RewriteAsync] public int Bar(string s) { ...
13.25974
42
0.606268
[ "MIT" ]
asizikov/Shaolinq
tests/Shaolinq.AsyncRewriter.Tests/RewriteTests/ConditionalAccess.cs
1,023
C#
using System; using System.Collections.Generic; using System.Text; namespace Kekonn.TagHelpers.Core.Assets { public enum AssetType { Script, Stylesheet, Library } }
15.538462
39
0.653465
[ "MIT" ]
bloodsplatter/TagHelpers
Kekonn.TagHelpers.Core.Assets/AssetType.cs
204
C#
namespace <%- namespaceContext %>.Core { using System; using Loymax.Core; using Loymax.Core.Modules; using Loymax.Core.Settings.Client; public class CoreApp : App { public override Type MainViewModelType => typeof(Loymax.Module.Offers.ViewModels.OffersViewModel); protected over...
26.34375
106
0.642942
[ "Apache-2.0" ]
loymax/MobileTemplate
XLoyalty.Core/CoreApp.cs
843
C#
using System; using UnityEngine; namespace GameSettings { [CreateAssetMenu(fileName = "PixelLightCountSetting", menuName = "Game Settings/Quality/Pixel Light Count")] public class PixelLightCountSetting : IntSetting { public const int min = 0; public override string settingName => "Pixel ...
26.25
112
0.659048
[ "MIT" ]
Casey-Hofland/GameSettings
Runtime/Quality/PixelLightCountSetting.cs
527
C#
using System.Collections; using System.Collections.Generic; using System.Linq; namespace TestStack.White.ScreenObjects.Services { public class ServiceCalls : List<ServiceCall> { public ServiceCalls(IEnumerable entities) : base(entities.OfType<ServiceCall>()) {} public ServiceCalls() {}...
28.941176
92
0.662602
[ "Apache-2.0", "MIT" ]
DaveWeath/White
src/TestStack.White.ScreenObjects/Services/ServiceCalls.cs
476
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> //----------------------------------------...
28.703704
84
0.490323
[ "MIT" ]
RakeshThakur26/Assignment4
EventManagement/EventManagement/notificationPage.aspx.designer.cs
777
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Scripting; using Microsoft.Scripting.Hosting; using SuperSocket.SocketBase; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase.Protocol; using SuperSocket.SocketBase.Metadata; using SuperSocket.ProtoBa...
32.3
119
0.686146
[ "Apache-2.0" ]
cnsuhao/SuperSocket
Dlr/DynamicCommand.cs
2,586
C#
using System; using System.Data; using CMS.CustomTables; using CMS.DataEngine; using CMS.Helpers; using CMS.SiteProvider; using CMS.UIControls; public partial class CMSModules_AdminControls_Controls_Class_ClassSites : CMSUserControl { private int mClassId; private string mTitleString; priv...
26.636816
126
0.485805
[ "MIT" ]
CMeeg/kentico-contrib
src/CMS/CMSModules/AdminControls/Controls/Class/ClassSites.ascx.cs
5,356
C#
using System; using System.Linq; using Sitecore.Data; using Sitecore.Links; using Sitecore.Data.Items; using Sitecore.Publishing; using Sitecore.Data.Fields; using Sitecore.Diagnostics; using Sitecore.Data.Managers; using Sitecore.Resources.Media; using System.Collections.Generic; namespace Sitecore.Foundation.Siteco...
33.97615
208
0.698255
[ "MIT" ]
ppatel-sitecore/headstart
src/Middleware/src/Sitecore.Foundation.SitecoreExtensions/code/Extensions/ItemExtensions.cs
19,946
C#
// --------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // // The MIT License (MIT) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files...
39.977064
209
0.591738
[ "MIT" ]
Bhaskers-Blu-Org2/Windows-appsample-familynotes
FamilyNotes/Settings.cs
8,717
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("Mi...
38.972973
84
0.747573
[ "Apache-2.0" ]
ppatierno/microjson
MicroJSON/Properties/AssemblyInfo.cs
1,445
C#
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("AWSSDK.SecretsManager")] [assembly: Assemb...
58.0625
578
0.764801
[ "Apache-2.0" ]
jiabiao/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/SecretsManager/Properties/AssemblyInfo.cs
1,858
C#
using UnityEngine; using UnityEngine.UI; using System.Collections; using System; using MoreMountains.Tools; using MoreMountains.Feedbacks; #if UNITY_EDITOR using UnityEditor; #endif namespace MoreMountains.Tools { /// <summary> /// Add this class to a camera and you'll be able to pilot it using the horizontal...
34.07931
146
0.557523
[ "MIT" ]
random-agile/slowmo_mobile
Assets/Amazing Assets/Feel/MMTools/ToolsForMMFeedbacks/Tools/Camera/MMGhostCamera.cs
9,883
C#
using System; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; using MelonLoader; namespace Bitzophrenia { public class BasicInjection { [DllImport("kernel32.dll")] public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandl...
45.521127
180
0.675743
[ "MIT" ]
XenoSnowFox/bitzophrenia-phasma-mod
src/Utils/BasicInjection.cs
3,232
C#
using System; using System.Collections.Generic; using System.Text; namespace Lib.Exceptions{ public class EmailAlreadyExistsException : Pd2TradeApiException { public EmailAlreadyExistsException(string message) : base(message) { } } }
23.272727
78
0.75
[ "BSD-3-Clause" ]
PD2tech/pd2-trade-api
src/Lib/Exceptions/EmailAlreadyExistsException.cs
258
C#
namespace AngleSharp.Html.Dom { using AngleSharp.Attributes; using AngleSharp.Dom; using System; /// <summary> /// Represents the HTML applet element. /// </summary> [DomHistorical] sealed class HtmlAppletElement : HtmlElement { public HtmlAppletElement(Document owner, Stri...
23.947368
88
0.632967
[ "MIT" ]
AlexDombrovsky/AngleSharp
src/AngleSharp/Html/Dom/Internal/HtmlAppletElement.cs
457
C#
using System.Threading.Tasks; using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Media; using Avalonia.Threading; namespace Material.Ripple { public class RippleEffect : ContentControl { // ReSharper disable once InconsistentNaming ...
31.770992
111
0.578808
[ "MIT" ]
Al-Dyachkov/Material.Avalonia
Material.Ripple/RippleEffect.cs
4,164
C#
using System; using System.Net.Mail; namespace ArpmarService.Services { public class MailService : IDisposable { private readonly LogService _logService; public SmtpClient Client { get; } public string From { private get; set; } public string To { private get; set; } ...
24.744681
60
0.474635
[ "MIT" ]
Xandev/arpmar
ArpmarService/Services/MailService.cs
1,165
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Q02_Advertising_Message { class Program { static void Main(string[] args) { int numberOfOutputs = int.Parse(Console.ReadLine()); string[] phras...
30.118421
68
0.459152
[ "MIT" ]
Uendy/Tech-Module
L07 Classes, Objects/L07 Exercises/Exercises/Q02 Advertising Message/Program.cs
2,293
C#
using System.Collections; using UnityEngine; public interface FSMState { void Update (FSM fsm, GameObject gameObject); }
15.875
49
0.76378
[ "MIT" ]
Over42/uGOAP
FSM/FSMState.cs
127
C#
 namespace XTemplate.Templating { /// <summary>代码块类型</summary> internal enum BlockType { /// <summary>指令</summary> Directive, /// <summary>成员</summary> Member, /// <summary>模版文本</summary> Text, /// <summary>语句</summary> Statement, ...
16.954545
35
0.506702
[ "MIT" ]
EnhWeb/DC.Framework
src/Ding.XTemplate/Templating/BlockType.cs
411
C#
/* * Copyright (c) Contributors, http://aurora-sim.org/, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
42.458333
95
0.596336
[ "BSD-3-Clause" ]
BillyWarrhol/Aurora-Sim
Aurora/Modules/World/Terrain/FloodBrushes/FlattenArea.cs
3,057
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.XR.Interaction.Toolkit; public class XRGrabInteractable_Offset : XRGrabInteractable { private Vector3 initialAttachLocalPos; private Quaternion initialAttachLocalRot; // Start is called before the first frame...
29.261905
72
0.6786
[ "Apache-2.0" ]
rafa-s-7/turn-off-the-lights
Assets/[Oculus]/Scripts/XRGrabInteractable_Offset.cs
1,229
C#
using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Text; namespace Maticsoft.Web.dafen_jieguo {...
24.869565
74
0.703671
[ "Unlicense" ]
nature-track/wenCollege-CSharp
Web/dafen_jieguo/Show.aspx.cs
1,146
C#
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.Diagnostics;...
32.2
160
0.673066
[ "Apache-2.0" ]
JosefPihrt/Roslynator
src/Analyzers/CSharp/Analysis/RemoveEmptyStatementAnalyzer.cs
1,773
C#
using System.Collections.Generic; namespace BeanstalkSeeder.Models { public class WorkerMessage { public string JsonPayload { get; set; } public Dictionary<string, string> Headers { get; set; } public string ReceiptHandle { get; set; } } }
25.090909
63
0.666667
[ "MIT" ]
gabrielweyer/beanstalk-seeder
src/BeanstalkSeeder/Models/WorkerMessage.cs
276
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using Microsoft.VisualStudio.R.Package.Commands; using Microsoft.VisualStudio.R.Package.Plots.Definitions; using Microsoft.VisualStudio.R.Package.Shell...
40.851852
168
0.727108
[ "MIT" ]
AlexanderSher/RTVS-Old
src/Package/Impl/Plots/Commands/ExportPlotAsPdfCommand.cs
1,105
C#
using AutoFixture.Xunit2; using FluentValidation.TestHelper; using Moq; using NHSD.GPIT.BuyingCatalogue.ServiceContracts.AssociatedServices; using NHSD.GPIT.BuyingCatalogue.Test.Framework.AutoFixtureCustomisations; using NHSD.GPIT.BuyingCatalogue.WebApp.Areas.Admin.Models.AssociatedServices; using NHSD.GPIT.BuyingCata...
40.326087
144
0.723989
[ "MIT" ]
nhs-digital-gp-it-futures/GPITBuyingCatalogue
tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/Areas/Admin/Validators/AddAssociatedServiceModelValidatorTests.cs
1,857
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; using A...
60.549724
480
0.680141
[ "MIT" ]
KurnakovMaksim/azure-sdk-for-net
sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerSecurityAlertPolicyCollection.cs
21,919
C#
//----------------------------------------------------------------------- // <copyright file="DistributedPubSubMediatorRouterSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2018 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2018 .NET Foundation <https://github.com/akkadotnet/akka.n...
34.896396
138
0.632116
[ "Apache-2.0" ]
EajksEajks/Akka.NET
src/contrib/cluster/Akka.Cluster.Tools.Tests/PublishSubscribe/DistributedPubSubMediatorRouterSpec.cs
7,749
C#
// ******************************************************************************* // <copyright file="ServiceUnavailableException.cs" company="Intuit"> // Copyright (c) 2019 Intuit // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License....
36.774648
102
0.600153
[ "Apache-2.0" ]
LaudateCorpus1/TSheets-V1-DotNET-SDK
Intuit.TSheets/Model/Exceptions/ServiceUnavailableException.cs
2,613
C#
using System.Linq; using System.Threading.Tasks; using EstoqueProduto.Domain.Contracts.Service; using EstoqueProduto.Domain.Validations; using EstoqueProduto.Infra.Notifications; using EstoqueProduto.ViewModels; using Microsoft.AspNetCore.Identity; namespace EstoqueProduto.Domain.Services { public class Autenticac...
36.658228
102
0.585981
[ "MIT" ]
juniorcesarrocha/dotnet-learn
src/03 - Identity/EstoqueProduto/Domain/Services/AutenticacaoUsuarioService.cs
2,896
C#
//----------------------------------------------------------------------- // <copyright file="ApiTrackingState.cs" company="Google LLC"> // // Copyright 2017 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
32.066667
75
0.597713
[ "Apache-2.0" ]
ANKITVIRGO23/ARVRTest
Assets/GoogleARCore/SDK/Scripts/Api/Types/ApiTrackingState.cs
962
C#
namespace MahJongSolitaireBlazor.Views; internal struct TileGame { public int Deck { get; set; } public int GameNumber { get; set; } } public partial class GameBoardBlazor { [Parameter] public BasicList<BoardInfo> BoardList { get; set; } = new(); //private static TileGame GetTileKey(MahjongSolitaire...
30.45
98
0.663383
[ "MIT" ]
musictopia2/GamingPackXV3
Blazor/Games/MahJongSolitaireBlazor/Views/GameBoardBlazor.razor.cs
609
C#
using System; using System.Collections; using System.Linq; using UnityEngine; using UnityEngine.UI; namespace DTDebugMenu.Internal { public class DebugMenuViewTab : MonoBehaviour { // PRAGMA MARK - Public Interface public void Init(DebugMenuItem menuItem, Action<DebugMenuItem> callback) { menuItem_ = menuItem;...
23.076923
76
0.724167
[ "MIT" ]
DarrenTsung/DTDebugMenu
View/DebugMenuViewTab.cs
1,200
C#
using System; using System.Reflection; using UnityEngine; namespace KSPNET4 { // Note(TMSP): Borrowed from BDDMP public static class Detourer { /** This is a basic first implementation of the IL method 'hooks' (detours) made possible by RawCode's work; https://ludeon.com/fo...
36.662651
128
0.544857
[ "MIT" ]
blowfishpro/KSP-NET4
src/Detourer.cs
3,045
C#
using CinemaWebApi.DataAccessLayer.Entities.Common; using System; namespace CinemaWebApi.DataAccessLayer.Entities { public class Movie : BaseEntity { public Guid GenreId { get; set; } public string Title { get; set; } public string OriginalTitle { get; set; } public string L...
22.909091
52
0.642857
[ "MIT" ]
N1K0232/CinemaWebApi
src/CinemaWebApi.DataAccessLayer/Entities/Movie.cs
506
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.Diagnostics; using System.Globalization; using System.Reflection.Context.Custom; namespace System.Reflection.Context.Virtual { int...
38.746835
143
0.627246
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Reflection.Context/src/System/Reflection/Context/Virtual/VirtualPropertyInfo.PropertySetter.cs
3,061
C#
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2013 FUJIWARA, Yusuke // // 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.apac...
35.146341
136
0.766829
[ "MIT" ]
Stormancer/Stormancer
src/libs/Unity/MsgPack/Serialization/DefaultSerializers/MsgPack_MessagePackExtendedTypeObjectMessagePackSerializer.cs
1,443
C#
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace Panuon.UI.Silver.Converters { #region Minus 2 internal class Minus2Converter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) ...
27.842975
120
0.638468
[ "MIT" ]
1017369306/PanuonUI.Silver
SharedResources/Panuon.UI.Silver/Converters/DirtyConverter.cs
3,371
C#
/* MIT License Copyright (c) 2017 NICE Ltd 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, publi...
28.350877
94
0.591275
[ "MIT" ]
stewilko/JRecorderAPI
RecorderAPI2COM/RecorderAPI2COM/Model/CChannel.cs
3,234
C#
// *** WARNING: this file was generated by the Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Azur...
33.311828
153
0.620723
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/MachineLearningServices/V20200601/Outputs/AmlComputeResponse.cs
3,098
C#
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Komodo.MetadataManager { /// <summary> /// Property for a metadata document. /// </summary> public class MetadataDocumentProperty { #region Public-Members /// <summary> /// ...
23.054945
96
0.517636
[ "MIT" ]
jchristn/komodo
Komodo.Core/MetadataManager/MetadataDocumentProperty.cs
2,100
C#
// // Encog(tm) Core v3.1 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2012 Heaton Research, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // htt...
29.62963
79
0.64
[ "BSD-3-Clause" ]
mpcoombes/MaterialPredictor
encog-core-cs/Neural/Pattern/PatternError.cs
1,600
C#
using System; namespace dotnow { public enum CLRFieldAccessMode { Read, Write, } [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class CLRFieldDirectAccessBindingAttribute : Attribute { // Private private Type declarin...
24
125
0.607008
[ "MIT" ]
SkutteOleg/dotnow-interpreter
Assets/dotnow/Scripts/Core/_Attributes/CLRFieldDirectAccessBinding.cs
1,058
C#
// Write methods to calculate minimum, maximum, average, sum and product of given set of integer numbers. // Use variable number of arguments. // * Modify your last program and try to make it work for any number type, not just integer (e.g. decimal, float, byte, etc.). // Use generic method (read in Internet about ...
29.846154
127
0.57417
[ "MIT" ]
Steffkn/TelerikAcademy
Programming/02. CSharp Part 2/03.Methods/15.CalcMinMaxAvSumProductOfAllTypes/CalcMinMaxAvSumProductOfAllTypes.cs
3,494
C#
/******************************************/ /* */ /* Copyright (c) 2018 monitor1394 */ /* https://github.com/monitor1394 */ /* */ /******************************************/ using System.Collections.Generic; using UnityEngi...
23.681818
105
0.415547
[ "MIT" ]
764424567/unity-ugui-XCharts
Assets/XCharts/Runtime/Internal/Pools/ListPool.cs
1,042
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...
37.209091
170
0.624237
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/CognitoIdentity/Generated/Model/Internal/MarshallTransformations/IdentityDescriptionUnmarshaller.cs
4,093
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. // // // // Description: Synchronized Input pattern adaptor // using System; using System.Windows; using System.Wi...
34.681818
115
0.561206
[ "MIT" ]
00mjk/wpf
src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/Automation/SynchronizedInputAdaptor.cs
3,815
C#
using System; using System.Threading.Tasks; namespace Shiny.Locations { public interface IGpsManager { AccessState Status { get; } Task<AccessState> RequestAccess(bool backgroundMode); IObservable<IGpsReading> GetLastReading(); IObservable<IGpsReading> WhenReading(); ...
22.684211
61
0.668213
[ "MIT" ]
DanielCauser/shiny
src/Shiny.Locations/IGpsManager.cs
433
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Gooios.GoodsService.Applications.DTOs; using Gooios.GoodsService.Applications.Services; namespace Gooios.GoodsService.Controllers { [Produces("app...
32.355556
129
0.706731
[ "Apache-2.0" ]
hccoo/gooios
netcoremicroservices/Gooios.GoodsService/Controllers/CommentController.cs
1,458
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FOS.Repositories.Infrastructure { //public interface IRepositoryBaseFactory<T> where T : class //{ // void setTable(); //} //class RepositoryBaseFactory<T> : IRepository...
22.388889
80
0.679901
[ "MIT" ]
lnmthuc/fos
fos-api/FOS/FOS.Repositories/Infrastructure/RepositoryBaseFactory.cs
405
C#
using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; namespace WPFWaiterExample { internal class Async:Waiter { public Async(Control spin, ProgressBar progressBar, TextBox elapseTimeTextBox, Button start, Button cancel) : base(spin, progressBar, elapseTime...
28.314286
175
0.550959
[ "MIT" ]
fresky/WPFWaiterExample
WPFWaiterExample/Async.cs
993
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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...
52.05303
192
0.729588
[ "MIT" ]
cuteant/SpanNetty
src/DotNetty.Buffers/PooledDuplicatedByteBuffer.cs
6,873
C#
//----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2.0 //-------------------------------------------------------------------------...
34.465116
116
0.589744
[ "Apache-2.0" ]
DavidDureau/framework
arcane/tools/Arcane.Curves/DrbarError.cs
1,482
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Windows.Forms; namespace SchoolWFApp { static class Program { public static CookieContainer cookie = new CookieContainer(); /// <summary> /// The main entry p...
24
69
0.631667
[ "Apache-2.0" ]
davidbull931997/asp.net
WebAPI_Buoi2/SchoolWFApp/Program.cs
602
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. #nullable disable using System.Diagnostics; namespace System.ComponentModel { // Shared between dlls inte...
24.6
103
0.596206
[ "MIT" ]
Amy-Li03/winforms
src/System.Windows.Forms/src/misc/CoreSwitches.cs
740
C#
using System.Linq; using System.Collections.Generic; using System.Threading.Tasks; using AutoMapper; using Kaizen.Domain.Entities; using Kaizen.Domain.Repositories; using Kaizen.Models.Notification; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespac...
32.584416
113
0.626943
[ "MIT" ]
cantte/Kaizen
Kaizen/Controllers/NotificationsController.cs
2,516
C#
using System; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using System.Web.Script.Serialization; using System.Web.Security; using AppConsig.Common.Security; using AppConsig.Web.Gestor.Mapping; using AppConsig.Web.Gestor.Modulos; using Autofac; using Autofac.Integrat...
35.328947
126
0.653631
[ "MIT" ]
Tabgyn/appconsig
AppConsig.Web.Gestor/Global.asax.cs
2,687
C#
using System; using System.Diagnostics; using System.Globalization; using System.IO; using System.Text; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.CryptoPro; using Org.BouncyCastle.Asn1.Pkcs; using Org.BouncyCastle.Asn1.X509; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Crypto; using Org.Bouncy...
22.903226
80
0.745775
[ "MIT" ]
SchmooseSA/Schmoose-BouncyCastle
Crypto/openssl/PEMWriter.cs
1,420
C#
using J2N.Collections.Generic.Extensions; using System; using System.Collections.Generic; using System.IO; using JCG = J2N.Collections.Generic; namespace Lucene.Net.Store { /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distr...
33.516908
184
0.54497
[ "Apache-2.0" ]
azhoshkin/lucenenet
src/Lucene.Net/Store/FileSwitchDirectory.cs
6,938
C#
using System; namespace Guppi.Application.Attributes { /// <summary> /// Sets an alternate display name for a property in the configuration process. /// </summary> [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class DisplayAttribute : Attribute { ...
25.578947
88
0.654321
[ "MIT" ]
rprouse/guppi
Guppi.Application/Attributes/DisplayAttribute.cs
486
C#
#pragma warning disable 0472 using System; using System.Text; using System.IO; using System.Collections; using System.ComponentModel; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Xml.Serialization; using BLToolkit.Aspects; using BLToolkit.DataAccess...
52.232883
426
0.555289
[ "BSD-2-Clause" ]
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.model/Schema/LabSample.model.cs
108,333
C#
using System; using Microsoft.AspNetCore.Components.Rendering; using Microsoft.AspNetCore.Components; namespace StableCube.Bulzor.Components { public class BulNavbarBrand : BulComponentBase { [Parameter] public RenderFragment ChildContent { get; set; } protected Bul...
30.137931
104
0.632723
[ "MIT" ]
StableCube/Bulzor
Components/src/Components/BulNavbarBrand.cs
876
C#
// This file is automatically generated. using System; using System.Text; using System.Runtime.InteropServices; namespace Steam4NET { public enum ESteamNotify : int { eSteamNotifyTicketsWillExpire = 0, eSteamNotifyAccountInfoChanged = 1, eSteamNotifyContentDescriptionChanged = 2, eSteamNotifyPleaseShutdown ...
25.153846
46
0.802752
[ "MIT" ]
Benramz/SteamBulkActivator
Steam4NET2/autogen/ESteamNotify.cs
654
C#
namespace Merchello.Providers.Resolvers { using System; using Merchello.Providers.Models; using Merchello.Providers.Payment.Models; using Umbraco.Core; using Umbraco.Core.Logging; /// <summary> /// The provider settings resolver. /// </summary> internal sealed class ProviderSetti...
32.53271
126
0.549267
[ "MIT" ]
HiteshMah-Jan/Merchello
src/Merchello.Providers/Resolvers/ProviderSettingsResolver.cs
3,483
C#
namespace Legend.Onenet.Response.Notify { public class NotifyResponse { public Msg Msg { get; set; } /// <summary> /// 消息摘要 /// </summary> public string Msg_signature { get; set; } /// <summary> /// 用于计算消息摘要的随机串 /// </summary> public strin...
27.271186
60
0.472343
[ "MIT" ]
myFirstway/Legend.OneNet
Legend.Onenet/Response/Notify/NotifyResponse.cs
1,947
C#
// Copyright 2008-2009 Louis DeJardin - http://whereslou.com // // 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 r...
44.771739
149
0.568779
[ "Apache-2.0" ]
adzerk/spark
src/Spark.Web.Mvc.Tests/DescriptorBuildingTester.cs
20,595
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Diagnostics.ContractsLight; using BuildXL.FrontEnd.Script.Evaluator; using BuildXL.Utilities; using LineInfo = TypeScript.Net.Utilities.LineInfo; namespace BuildXL.FrontEnd.Script.Values { /// <summary> /// An a...
39.4
150
0.677896
[ "MIT" ]
BearerPipelineTest/BuildXL
Public/Src/FrontEnd/Script/Ast/Values/ObjectLiterals/ArrayLiteralWithCustomMerge.cs
2,167
C#
using Medidata.MAuth.Core.Exceptions; using Medidata.MAuth.Core.Models; namespace Medidata.MAuth.Core { internal class MAuthCoreFactory { public static IMAuthCore Instantiate(MAuthVersion version = MAuthVersion.MWS) { if (version == MAuthVersion.MWSV2) return new MA...
27.842105
86
0.63138
[ "MIT" ]
eraffel-MDSol/mauth-client-dotnet
src/Medidata.MAuth.Core/MAuthCoreFactory.cs
531
C#
//----------------------------------------------------------------------- // <copyright file="TypeExtensionsTests.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyri...
38.860215
104
0.571666
[ "Apache-2.0" ]
uQr/akka.net
src/core/Akka.Tests/Util/Internal/ExtensionsTests.cs
3,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("Pro...
38.486486
84
0.750702
[ "MIT" ]
aamirWasi/Programming-Language-Feature
Programming-Language-Feature/Programming-Language-Feature/Properties/AssemblyInfo.cs
1,427
C#
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Threading.Tasks; using Backports; using NUnit.Framework; namespace Tests { public class FloatingPointDataProvider { public static IEnumerable<string> DataFilesPaths { ...
34.87234
111
0.526846
[ "MIT" ]
Ilia-Kosenkov/Backports
Tests/FPDataTests.cs
3,280
C#
using System; using Elasticsearch.Net; using FluentAssertions; using Nest; using Tests.Framework; using Tests.Framework.Integration; using Tests.Framework.MockData; using Xunit; namespace Tests.Search.Percolator.UnregisterPercolator { [Collection(IntegrationContext.Indexing)] public class UnregisterPercolatorApiTes...
44.12069
197
0.780383
[ "Apache-2.0" ]
lukapor/NEST
src/Tests/Search/Percolator/UnregisterPercolator/UnregisterPercolatorApiTests.cs
2,561
C#
namespace lib.Tests { using System.Diagnostics.CodeAnalysis; [ExcludeFromCodeCoverage] public class ClassTwo { public int Id { get; set; } } }
17.2
42
0.639535
[ "MIT" ]
zaiboot/OpenCover-Automapper
test/ClassTwo.cs
174
C#
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.717647
154
0.576856
[ "MIT" ]
AndreaDenikova/csharp-jobsite-repository
Web/MyJobSite.Web/Areas/Identity/Pages/Account/ExternalLogin.cshtml.cs
6,924
C#
using KnowledgeApi.Models; using KnowledgeApi.Services; using Microsoft.AspNetCore.Mvc; namespace KnowledgeApi.Controllers { [Route("api/[controller]")] [ApiController] public class ArtTypeController : BaseMongoController<ArtType> { public ArtTypeController(ArtTypeRepository artTypeRepository...
22.823529
95
0.695876
[ "Apache-2.0" ]
onselaydin/KnowledgeApi
Controllers/ArtTypeController.cs
390
C#
using Hotel.Core.Interfaces; using Hotel.Core.Models; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Collections.Generic; namespace Hotel.Web.Pages; public class RoomReservationsModel : PageModel { private readonly IRoomReservationRepository _roomReservationRepository; public RoomReservationsModel(...
26.166667
86
0.778662
[ "MIT" ]
mohammad-niazmand/TDD-Course-HotelReservation
Hotel.Web/Pages/RoomReservations.cshtml.cs
630
C#
/** * Autogenerated by Thrift Compiler (0.11.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ using System; using System.Collections; using System.Collections.Generic; using System.Text; using System.IO; using Thrift; using Thrift.Collections; using System.Runtime.Serializat...
25.961071
80
0.509185
[ "MIT" ]
DEIS-Project-EU/DDI-Scripting-Tools
ODE_Tooladapter/ThriftContract/ODEThriftContract/gen_Thrift_ODE/csharp/STB_Modeling_Techniques/DEISProject/ODEDataModel/ThriftContract/TDDIOutputEvent.cs
10,670
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
25.74359
153
0.49502
[ "MIT" ]
Aliases/msgraph-sdk-dotnet
src/Microsoft.Graph/Generated/model/RequiredPasswordType.cs
1,004
C#
using NHibernate; using NHibernate.Transform; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Gako.Data.EntityBinder.NHibernateUtilities { /// <summary> /// </summary> public static partial class NhibernateUtility ...
34.34375
145
0.52616
[ "MIT" ]
gako4u/EnitityBinder
src/Gako.Data.EntityBinder.NHibernateUtilities/NhibernateUtility.cs
4,398
C#
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Serilog; using Serilog.Events; using Serilog.Sinks.SystemConsole.Themes; namespace Krola.Authorization.IdentityServer { public class Program { public static void Main(string[] args) ...
37.607843
195
0.532847
[ "MIT" ]
krola/krola
src/Services/Authorization.IdentityServer/Program.cs
1,920
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class countRealNumbers { static void Main(string[] args) { var numbers = Console.ReadLine() .Split(' ') .Select(double.Parse); var result = new...
17.736842
61
0.505935
[ "MIT" ]
mlkumanova/Programming-Fundamentals
5. DICTIONARIES, LAMBDA AND LINQ/01. Count Real Numbers/countRealNumbers.cs
676
C#
// <auto-generated> // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v8/enums/google_ads_field_category.proto // </auto-generated> #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.P...
39.849206
324
0.699761
[ "Apache-2.0" ]
friedenberg/google-ads-dotnet
src/V8/Types/GoogleAdsFieldCategory.g.cs
10,042
C#
namespace LoadTests { using System; using System.Threading.Tasks; using SqlStreamStore; using SqlStreamStore.TestUtils.Postgres; using Xunit.Abstractions; public class PostgresStreamStoreDb : IDisposable { public string ConnectionString => _databaseManager.ConnectionString; ...
31.493151
119
0.635929
[ "MIT" ]
BillHally/SQLStreamStore
tests/LoadTests/PostgresStreamStoreDb.cs
2,301
C#
using Microsoft.EntityFrameworkCore.Storage; using Mix.Cms.Lib.Constants; using Mix.Cms.Lib.Enums; using Mix.Cms.Lib.Helpers; using Mix.Cms.Lib.Interfaces; using Mix.Cms.Lib.Models.Cms; using Mix.Cms.Lib.Services; using Mix.Heart.Infrastructure.ViewModels; using Mix.Heart.Models; using Newtonsoft.Json; using Newtonsof...
36.983651
172
0.595299
[ "MIT" ]
Mixcore-IO/mix.core
src/Mix.Cms.Lib/ViewModels/MixPosts/ReadMvcViewModel.cs
13,575
C#
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). // See third-party-notices in the repository root for more information. // Ported from um/winnt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. // <auto-generated /> #p...
24.720588
85
0.531826
[ "MIT" ]
saucecontrol/PhotoSauce
src/MagicScaler/External/Interop/Windows/shared/wtypes/VARENUM.cs
1,683
C#