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.Reflection; namespace ODataDemo.Areas.HelpPage.ModelDescriptions { public interface IModelDocumentationProvider { string GetDocumentation(MemberInfo member); string GetDocumentation(Type type); } }
21.166667
52
0.748031
[ "MIT" ]
mihairada/ODataDemo
ODataDemo/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs
254
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Input; using OpenCVApp.Commands; using OpenCVApp.Utils; namespace OpenCVApp.ViewModels { internal class MainViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; ...
32.385417
156
0.615954
[ "Apache-2.0" ]
mikkokok/OpenCVApp
OpenCVApp/ViewModels/MainViewModel.cs
3,111
C#
namespace GitHub.ViewModels.Documents { /// <summary> /// Displays a one-line summary of a commit in a pull request timeline. /// </summary> public interface ICommitSummaryViewModel : IViewModel { /// <summary> /// Gets the abbreviated OID (SHA) of the commit. /// </summary>...
26.285714
75
0.529891
[ "MIT" ]
123balu42/VisualStudio
src/GitHub.Exports.Reactive/ViewModels/Documents/ICommitSummaryViewModel.cs
738
C#
namespace MS.Lib.Data.Abstractions.Entities { /// <summary> /// 实体Sql生成器 /// </summary> public interface IEntitySqlBuilder { /// <summary> /// 生成 /// </summary> /// <returns></returns> EntitySql Build(); } }
19.428571
44
0.5
[ "MIT" ]
billowliu2/MS
src/Framework/Data/Core/Data.Abstractions/Entities/IEntitySqlBuilder.cs
288
C#
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Threading.Tasks; using GitHub.DistributedTask.Expressions2; using GitHub.DistributedTask.ObjectTemplating.Tokens; using GitHub.Distr...
52.02729
229
0.484938
[ "MIT" ]
base-up/runner
src/Runner.Worker/JobExtension.cs
26,692
C#
namespace LegoTrainProject.Main_UI { partial class FormWelcome { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed re...
42.378151
152
0.729526
[ "MIT" ]
Cosmik42/BAP
LTP.Desktop/Main UI/FormWelcome.Designer.cs
5,045
C#
namespace CloudinaryDotNet.Actions { using System.Collections.Generic; using System.Runtime.Serialization; /// <summary> /// Parsed result of folder deletion. /// </summary> [DataContract] public class DeleteFolderResult : BaseResult { /// <summary> /// The list of medi...
28.947368
127
0.636364
[ "MIT" ]
jordansjones/CloudinaryDotNet
Shared/Actions/DeleteFolderResult.cs
552
C#
namespace Epsiloner.Wpf.Keyboard.KeyBinding { /// <summary> /// Manager update mode. /// </summary> public enum ManagerUpdateMode { /// <summary> /// Can only update gestures for existing configs. /// </summary> OnlyUpdateExisting, /// <summary> /// ...
22.611111
58
0.545455
[ "MIT" ]
Epsil0neR/Epsiloner.Wpf.Keyboard
Epsiloner.Wpf.Keyboard/Epsiloner.Wpf.Keyboard/KeyBinding/ManagerUpdateMode.cs
409
C#
//#define MB_DEBUG using UnityEngine; using static MenteBacata.ScivoloCharacterController.Internal.ShapeCaster; namespace MenteBacata.ScivoloCharacterController.Internal { public static class CapsuleSweepTester { private const float extraDistanceOverBuffer = 8f; /// <summary> ...
36.557692
145
0.565492
[ "MIT" ]
zaun/endless-world
E09/unity/Assets/Scripts/3rd Party/Scivolo Character Controller/Scripts/Internal/CapsuleSweepTester.cs
1,903
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.Elb.V3.Model { /// <summary> /// Response Object /// </summary> public...
28.766667
82
0.501352
[ "Apache-2.0" ]
huaweicloud/huaweicloud-sdk-net
Services/Elb/V3/Model/UpdateIpListResponse.cs
2,609
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Perfon.Core.Common; using Perfon.Core.PerfCounters; using Perfon.Interfaces.Common; using Perfon.Interfaces.PerfCounterStorage; namespace Perfon.Core.PerfCounterStorages.CSVFileSt...
34.031847
148
0.493917
[ "MIT" ]
magsoft2/Perfon.Net
Perfon.Core/PerfCounterStorages/CSVFileStorage/PerfCounterCSVFileStorage.cs
5,345
C#
// <copyright file="MeasureMapBase.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry 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.apac...
34.5625
78
0.74141
[ "Apache-2.0" ]
alexvaluyskiy/opentelemetry-dotnet
src/OpenTelemetry/Stats/MeasureMapBase.cs
1,108
C#
using System.Text; namespace Page316.HideInHouse { public abstract class Location { protected Location(string name) { this.name = name; } private readonly string name; public string Name { get { return name; } } public ...
25.9
80
0.457529
[ "MIT" ]
renebentes/HeadFirstCSharp
Cap7/Page316.HideInHouse/Location.cs
1,038
C#
using System; using System.Windows.Media.Media3D; using System.Windows.Media; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Dynamic; using ESAPIX.Extensions; using VMS.TPS.Common.Model.Types; using XC = ESAPIX.Common.AppComThread; using V = VMS.TPS.Common.Model.API; using T...
28.432
130
0.376618
[ "MIT" ]
avalgoma/ESAPIX
ESAPIX/Facade/API15.0/Application.cs
7,108
C#
using System.Collections; using UnityEngine; using UnityEngine.Events; public class Mole : MonoBehaviour { /// <summary> /// Used to animate and scale the mole /// </summary> public MoleVisuals visuals; public UnityAction<Mole, bool> OnMoleDied; [HideInInspector] public MoleData data; ...
21.967213
69
0.586567
[ "MIT" ]
amnasheikh1/WackAMoleMSFinal
Whack-A-Mole/Assets/Scripts/Mole.cs
1,342
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT license. using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1601:EnableXmlDocumentationOutput", Justification = "Reviewed.")] [assembly: SuppressMessage("StyleCop.CSharp.D...
77.833333
136
0.810493
[ "MIT" ]
pareshjoshi/MSBuildSdks
src/GlobalSuppressions.cs
936
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...
44.091603
174
0.658068
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Imagebuilder/Generated/Model/Internal/MarshallTransformations/DeleteComponentResponseUnmarshaller.cs
5,776
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...
27.115385
88
0.678014
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-akamai
sdk/dotnet/Inputs/GtmAsmapDefaultDatacenterGetArgs.cs
705
C#
// // MenuItems.cs // // Author: // JasonXuDeveloper(傑) <jasonxudeveloper@gmail.com> // // Copyright (c) 2020 JEngine // // 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 restr...
35.25
80
0.713039
[ "MIT" ]
mudbee111/JEngine
UnityProject/Assets/Dependencies/JEngine/Editor/JEngineTools/UnityEditor/MenuItems.cs
1,839
C#
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // 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 ...
31.755814
87
0.499817
[ "Apache-2.0" ]
Anojsingh/edulinq
src/Edulinq/Last.cs
2,733
C#
/* * Copyright © 2011, Petro Protsyk, Denys Vuika * * 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 applicab...
29.633333
82
0.71766
[ "Apache-2.0" ]
JackWangCUMT/SSharp
SSharp.Net/Extensions/HashSetExtensions.cs
892
C#
using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 namespace CalculatorDemoApp { /// <summary> /// An empty page that can be used on its own or navigated to within a Frame. /// </summary> public sealed partial class MainPage ...
25.117647
94
0.632319
[ "MIT" ]
sonnemaf/XamlCalculatorBehavior
CalculatorDemoApp/MainPage.xaml.cs
429
C#
using NBitcoin; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.JsonConverters; using WalletWasabi.Models; namespace WalletWasabi.Blockchain.Keys { [JsonObject(MemberSerialization.OptIn)] public class BlockchainState { [JsonConstructo...
19.459459
56
0.744444
[ "MIT" ]
2pac1/WalletWasabi
WalletWasabi/Blockchain/Keys/BlockchainState.cs
720
C#
// <copyright file="IPropagationComponent.cs" company="OpenCensus Authors"> // Copyright 2018, OpenCensus 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.apa...
34.911765
95
0.680708
[ "Apache-2.0" ]
PriceSpider-NeuIntel/opencensus-csharp
src/OpenCensus.Abstractions/Trace/Propagation/IPropagationComponent.cs
1,189
C#
/* * OpenAPI Petstore * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ usin...
32.119658
159
0.577435
[ "Apache-2.0" ]
0x0c/openapi-generator
samples/client/petstore/csharp/OpenAPIClientNet35/src/Org.OpenAPITools/Model/AdditionalPropertiesString.cs
3,758
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Bot.Builder; using Microsoft.Bot.Builder.AI.QnA; using Newtonsoft.Json; namespace EnterpriseBotSample.Middleware.Telem...
48.219048
180
0.64369
[ "MIT" ]
SVemulapalli/AI
templates/Enterprise-Template/src/csharp/EnterpriseBotSample/Middleware/Telemetry/TelemetryQnAMaker.cs
5,065
C#
// // Copyright (c) Microsoft and contributors. 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 // // Unle...
41.142857
148
0.660714
[ "MIT" ]
Andrean/azure-powershell
src/ServiceManagement/Compute/Commands.ServiceManagement.Preview/Generated/VirtualMachineOSImage/VirtualMachineOSImageDeleteMethod.cs
3,935
C#
using SuperSocket.Common; using SuperSocket.SocketBase.Config; using System; using System.Collections.Generic; namespace SuperSocket.SocketBase.Command { /// <summary> /// CommandLoader base class /// </summary> public abstract class CommandLoaderBase<TCommand> : ICommandLoader<TCommand> where...
31.149254
86
0.578342
[ "Apache-2.0" ]
fwyhq/SupperSocket
SuperSocket.SocketBase/Command/CommandLoaderBase.cs
2,089
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace d { class Program { static void Main(string[] args) { string s = Console.ReadLine(); if (s[0] == s[1]) { Console.Wri...
23.4375
65
0.386667
[ "MIT" ]
yu3mars/procon
atcoder/abc/abc043/d/Program.cs
752
C#
using System; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace src.Shared { public static class BitmapExtensions { // // https://stackoverflow.com/questions/32066893/changing-datetaken-of-a-photo //...
35.25
105
0.62766
[ "MIT" ]
vladlee098/img_tool
src/Shared/BitmapExtensions.cs
1,128
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...
34.73913
179
0.65363
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/MediaConnect/Generated/Model/Internal/MarshallTransformations/VpcInterfaceAttachmentUnmarshaller.cs
3,196
C#
#define DEBUG_CC2D_RAYS using Assets.Scripts.Helpers; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace Assets.Scripts.Movement { public class MovementHandler { private readonly IMotor _motor; private RaycastHit2D _downHit; private ColliderPoint _previousColliderPoi...
35.743316
572
0.677962
[ "MIT" ]
CannibalK9/fireperson
Assets/Scripts/Movement/MovementHandler.cs
13,370
C#
using System; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; using Microsoft.WindowsAzure.Storage.Table; using Newtonsoft.Json; namespace AzurePubSubServerlessCSharp { public class Su...
33.328571
187
0.660952
[ "Apache-2.0" ]
i13tum/serverless-pubsub
AzurePubSubServerless/SubscribeFunction.cs
2,333
C#
using System; namespace Confuser.Core.Project { /// <summary> /// The exception that is thrown when attempted to parse an invalid pattern. /// </summary> public class InvalidPatternException : Exception { /// <summary> /// Initializes a new instance of the <see cref="ConfuserException" /> class. ///...
35.448276
99
0.685798
[ "MIT" ]
Deltafox79/ConfuserEx
Confuser.Core/Project/InvalidPatternException.cs
1,030
C#
namespace BaristaLabs.Skrapr.ChromeDevTools.Accessibility { using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime.Serialization; /// <summary> /// Enum of possible property sources. /// </summary> [JsonConverter(typeof(StringEnumConverter))] public enum AXValueSo...
27.307692
57
0.619718
[ "MIT" ]
BaristaLabs/BaristaLabs.Skrapr
src/BaristaLabs.Skrapr.ChromeDevTools/Accessibility/AXValueSourceType.cs
710
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Collections.Immutable; using System.Globaliz...
37.229358
191
0.636028
[ "BSD-3-Clause" ]
0xCM/z0
src/symbolic/src/models/specific/PointerTypeSymbol.cs
8,116
C#
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. using System; using System.Collections.Generic; using System.Diagnostics; using System.Windows.Forms; name...
37.469274
123
0.612345
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
3prm3/WinDynamicDesktop
src/MainMenu.cs
6,709
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using LINQPad.Extensibility.DataContext; namespace TestWindow { class ConnectionInfo : IConnectionInfo { XElement data = new XElement("blah"); public XElement DriverData { get { return data; } s...
18.925373
51
0.701104
[ "MIT" ]
zyonet/linqpad-soap-driver
Window/ConnectionInfo.cs
1,270
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
37
154
0.609506
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/LakeFormation/Generated/Model/Internal/MarshallTransformations/PutDataLakeSettingsRequestMarshaller.cs
4,292
C#
using System.Threading.Tasks; namespace SimpleIdServer.MobileApp.Services { public interface IMessageService { Task Show(string title, string message); Task<bool> Show(string title, string message, string accept, string cancel); } }
23.909091
84
0.711027
[ "Apache-2.0" ]
LaTranche31/SimpleIdServer
src/Mobile/SimpleIdServer.MobileApp/Services/IMessageService.cs
265
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Text.RegularExpressions; namespace AndroidSdk { public class JdkLocator { string PlatformJavaCExtension => IsWindows ? ".exe" : string.Empty; protected bool...
29.594203
152
0.701273
[ "MIT" ]
Redth/Android.Tool
AndroidSdk/JdkLocator.cs
4,086
C#
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using AmblOn.State.API.Users.Models; using Fathym;using M...
35.866667
186
0.705855
[ "Apache-2.0" ]
ttrichar/state-api-users
state-api-users/DeleteLocation.cs
2,152
C#
using System.Linq; using System.Threading.Tasks; using DevToys.Api.Tools; using DevToys.Core.Threading; using DevToys.ViewModels.Tools.Base64EncoderDecoder; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace DevToys.Tests.Providers.Tools { [TestClass] public class Base64EncoderDecoderTests : MefBas...
34.328767
145
0.613727
[ "MIT" ]
kawnnor/DevToys
src/tests/DevToys.Tests/Providers/Tools/Base64EncoderDecoderTests.cs
2,508
C#
using UnityEngine; namespace VmodMonkeMapLoader.Behaviours { [System.Serializable] public class ObjectTrigger : GorillaMapTriggerBase { public GameObject ObjectToTrigger; public bool DisableObject = false; public bool OnlyTriggerOnce = false; #if PLUGIN private bool _trig...
22.652174
65
0.588292
[ "MIT" ]
AHauntedArmy/MonkeMapLoaderPC
MonkeMapLoader/Behaviours/ObjectTrigger.cs
1,044
C#
using System; using System.ComponentModel.DataAnnotations; using PS.Build.Types; namespace PS.Build.Tasks.Services { class TimeMacroHandler : IMacroHandler { #region Properties public string ID => "time"; int IMacroHandler.Order => 100; #endregion #r...
28.894737
121
0.605647
[ "MIT" ]
BlackGad/PS.Build
PS.Build.Tasks/Services/MacroResolver/TimeMacroHandler.cs
1,100
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
26.322581
106
0.723039
[ "MIT" ]
emenifee/ecm-mva-w10dab
L8 App4/L8 App4/MainPage.xaml.cs
818
C#
using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace AspNetRunBasic.Migrations { public partial class Initial : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
39.096774
122
0.518977
[ "MIT" ]
aspnetrun/run-aspnetcore-basic
AspNetRunBasic/Migrations/20190502061258_Initial.cs
2,426
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("WWC...
38.054054
84
0.74929
[ "Apache-2.0" ]
OpenChargingCloud/WWCP_OICP
WWCP_OICPv2.3_WebAPI/Properties/AssemblyInfo.cs
1,411
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 System; using System.Collections.Generic; using System.Linq; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Shared.Utilities { internal ...
39.023256
161
0.589392
[ "Apache-2.0" ]
GKotfis/roslyn
src/Workspaces/Core/Portable/Shared/Utilities/ExtensionOrderer.cs
3,358
C#
using Abp.Application.Services.Dto; using Abp.AutoMapper; using BlazorProject.Backend.Entities; using System; using System.Collections.Generic; using System.Text; namespace BlazorProject.Backend.Payments.Dto { [AutoMapFrom(typeof(Payment))] public class PaymentListDto:EntityDto { public string Nam...
21.5
44
0.744186
[ "MIT" ]
274188A/BlazorProjectASPBoilerplateBackend
aspnet-core/src/BlazorProject.Backend.Application/Payments/Dto/PaymentListDto.cs
346
C#
using System; using System.Collections.Generic; namespace Tracker.Domain.Models { public partial class UserLoginUpdateModel { #region Generated Properties public Guid Id { get; set; } public string EmailAddress { get; set; } public Guid? UserId { get; set; } public st...
21.425532
51
0.599801
[ "Apache-2.0" ]
BartBr/EntityFrameworkCore.Generator
sample/Tracker.PostgreSQL/Tracker.PostgreSQL.Core/Domain/Models/UserLoginUpdateModel.cs
1,007
C#
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Text; namespace Infranstructure.Behaviors { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] [MetadataAttribute] public sealed class ViewExportAttribute : ExportAttribute...
25.846154
86
0.684524
[ "MIT" ]
SaberGuo/KMP
KMP/Infranstructure/Behaviors/ViewExportAttribute.cs
674
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace GoToWindow.Api.Tests { [TestClass] public class WindowEntryFactoryTests { [TestMethod] public void GetGetWindowEntry_FromTestWindow() { using (var app = new GivenAnApp("GoToWindow.GetGetWindowEntry_FromTestWindow")) { var e...
27.923077
82
0.764463
[ "MIT" ]
christianrondeau/GoToWindow
GoToWindow.Api.Tests/WindowEntryFactoryTests.cs
728
C#
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.PowerPointApi { /// <summary> /// DispatchInterface Axis /// SupportByVersion PowerPoint, 14,15,16 /// </summary> /// <remarks> MSDN Online: http://msdn.microsoft.com/en-us/en-us/library/o...
35.483568
106
0.672665
[ "MIT" ]
igoreksiz/NetOffice
Source/PowerPoint/DispatchInterfaces/Axis.cs
15,118
C#
using System.Collections; using System.Web; using OptimizelySDK.Entity; namespace Foundation.Experiments.Core.Interfaces { /// <summary> /// Used to get the user Id and attributes of the user to be used in roll outs and experimentation /// </summary> public interface IUserRetriever { /// <...
32.3
102
0.637771
[ "Apache-2.0" ]
JoshuaFolkerts/foundation-experiments
src/Foundation.Experiments/Core/Interfaces/IUserRetriever.cs
971
C#
#region copyright // ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIE...
39.858156
140
0.607473
[ "MIT" ]
FrancescoCrimi/InventorySample
src/Inventory.App/Services/OrderItemService.cs
5,622
C#
// ***************************************************************************** // BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE) // © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. // The software and associated documentation supplied hereunder are the // prop...
33.416667
157
0.548317
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-NET-5.451
Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Palette Controls/PaletteRedirectBreadCrumb.cs
3,211
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; using System.Drawing; using System.IO; using System....
44.109875
160
0.604225
[ "MIT" ]
abdullah1133/winforms
src/System.Windows.Forms/tests/UnitTests/System/Windows/Forms/ListViewGroupTests.cs
63,432
C#
using Xunit; using AliceInventory.Logic; using AliceInventory.Logic.Cache; namespace AliceInventory.UnitTests { public class ResultCacheTests { [Fact] public void GetEmptyResultFromCache() { ResultCache sut = new ResultCache(); ProcessingResult cachedResultUser1...
32.178571
70
0.614317
[ "MIT" ]
artemziz/yandex-dialogs-inventory
src/AliceInventory.UnitTests/ResultCacheTests.cs
1,802
C#
namespace HiddenTear_Message { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
39.608696
138
0.583242
[ "MIT" ]
Harot5001/HiddenTear
HiddenTear-Message/Form1.Designer.cs
2,735
C#
 namespace XMetadata.MetadataDescriptors { /// <summary> /// Definition of the <see cref="ShortMetadata"/> class. /// </summary> public class ShortMetadata : ABoundableMetadata<short> { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="Shor...
24.026316
80
0.535597
[ "MIT" ]
mastertnt/XRay
XMetadata/MetadataDescriptors/ShortMetadata.cs
915
C#
using FlexibleProxy; using FlexibleProxy.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FlexibleProxyTests { [TestClass] public class ArgumentsParserTests { [TestMethod] public void ParseTest() { var parser = new ArgumentsParser(new[] { "-Arg1"...
29.15
102
0.622642
[ "MIT" ]
sts11vcd71/NetworkTools
FlexibleProxy/FlexibleProxyTests/ArgumentsParserTests.cs
585
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
37.458564
161
0.603097
[ "MIT" ]
BrightsDigi/squidex
backend/src/Squidex.Domain.Apps.Entities.MongoDb/Contents/MongoContentRepository_SnapshotStore.cs
6,782
C#
// GBEmmy // Copyright (C) 2014 Tim Potze // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMA...
37.35
78
0.73494
[ "Unlicense" ]
ikkentim/GBEmmy
src/GBEmmyOld/Processor/Opcode/Operation/IOperation.cs
749
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("dropdownTextBoxApp")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("...
26.553571
91
0.732347
[ "Apache-2.0" ]
zollty/CryptoTools
Properties/AssemblyInfo.cs
2,144
C#
using GroupDocs.Metadata.WebForms.Products.Common.Config; using GroupDocs.Metadata.WebForms.Products.Common.Util.Parser; using GroupDocs.Metadata.WebForms.Products.Metadata.Util; using Newtonsoft.Json; using System; using System.IO; namespace GroupDocs.Metadata.WebForms.Products.Metadata.Config { /// <summary> ...
31.432
106
0.605752
[ "MIT" ]
groupdocs-metadata/GroupDocs.Metadata-for-.NET
Demos/WebForms/src/Products/Metadata/Config/MetadataConfiguration.cs
3,931
C#
namespace SFA.DAS.ApprenticeCommitments.Configuration { public class AzureManagedIdentityApiConfiguration { public string Identifier { get; set; } public string Url { get; set; } } }
23.555556
54
0.683962
[ "MIT" ]
SkillsFundingAgency/das-apim-endpoints
src/SFA.DAS.ApprenticeCommitments/Configuration/AzureManagedIdentityApiConfiguration.cs
214
C#
using System; using System.Collections.Generic; using DocumentFormat.OpenXml; using DocumentFormat.OpenXml.Packaging; using DocumentFormat.OpenXml.Wordprocessing; namespace Kinetix.Reporting.TagHandlers { /// <summary> /// Utility TagHandler. /// </summary> internal static class CustomNodeProcessor {...
50.580153
311
0.590552
[ "Apache-2.0" ]
KleeGroup/kinetix
Kinetix/Kinetix.Reporting/TagHandlers/CustomNodeProcessor.cs
6,640
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.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using Reaqtive; using...
32.085714
118
0.617097
[ "MIT" ]
Botcoin-com/reaqtor
Reaqtive/Core/Tests.Reaqtive.Core/Reaqtive/Operators/OperatorContextTests.cs
2,248
C#
using System; using System.Collections.Generic; using System.Linq; namespace MTP.VueltaAtras { /* * El laberinto * Una matriz bidimensional NxN puede representar un laberinto cuadrado. Cada posición contiene * un entero no negativo que indica si la casilla es transitable (0) o si no lo es (∞). Las...
32.518797
99
0.371098
[ "MIT" ]
gorkinovich/MTP
MTP/VueltaAtras/Ejercicio307.cs
4,349
C#
// Copyright (c) r12f. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Confidence.Utilities; namespace Confidence { /// <summary> ...
41.674419
200
0.597377
[ "MIT" ]
r12f/Confidence
Confidence/Validations/Collection/CollectionAllValidationExtensions.cs
3,586
C#
// Copyright (c) János Janka. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNetCore.Mvc; namespace Partnerinfo.Controllers { /// <summary> /// Provides methods that respond to HTTP requests that are made...
33.944444
111
0.661211
[ "Apache-2.0" ]
janosjanka/Partnerinfo
src/Partnerinfo.Web.Site/Controllers/HomeController.cs
614
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "li...
35.694444
121
0.649416
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Greengrass/Generated/Model/Internal/MarshallTransformations/DeviceDefinitionVersionMarshaller.cs
2,570
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/imapi2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime....
49.439189
280
0.703704
[ "MIT" ]
IngmarBitter/terrafx.interop.windows
sources/Interop/Windows/Windows/um/imapi2/IWriteSpeedDescriptor.cs
7,319
C#
using System; using System.Threading; using Meadow; namespace PwmLed_Sample { class MainClass { static IApp app; public static void Main(string[] args) { app = new PwmLedApp(); Thread.Sleep(Timeout.Infinite); } } }
15.888889
46
0.566434
[ "Apache-2.0" ]
patridge/Meadow.Foundation
Source/Samples/Leds/PwmLed_Sample/Program.cs
288
C#
/******************************************************************************* * Copyright 2012-2019 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...
43.713636
278
0.604658
[ "Apache-2.0" ]
hevaldez07/aws-tools-for-powershell
modules/AWSPowerShell/Cmdlets/LocationService/Basic/Remove-LOCMap-Cmdlet.cs
9,617
C#
using System; using System.Management.Automation; namespace office365.PORTAL.Core { [Cmdlet("Remove", "PORTALDomain")] public class RemovePORTALDomain : PSCmdlet { [Parameter(Position=1)] public string Message { get; set; } = string.Empty; ...
26.55
64
0.504708
[ "MIT" ]
MartinGudel/PowerShell-PORTAL-module
office365.MSOnline.Core/RemoveMsolDomain.cs
533
C#
//===================================================================== // http://www.cocoa-mono.org // // Copyright (c) 2011 Kenneth J. Pouncey // // // 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 th...
29.375
177
0.727111
[ "MIT" ]
Devolutions/monomac
samples/GLSLShader/MyOpenGLView.cs
7,285
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Windows.Forms { /// <include file='doc\DataGridViewElementStates.uex' path='docs/doc[@for="Data...
55.21875
129
0.661007
[ "MIT" ]
OliaG/winforms
src/System.Windows.Forms/src/System/Windows/Forms/DataGridViewElementStates.cs
1,767
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // ------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Diagnostics { using Microsoft.Azure.Cosmos.Query.Core.Metrics; using static Microsoft.A...
39.356436
133
0.633962
[ "MIT" ]
cgelon/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Diagnostics/BackendMetricsExtractor.cs
3,977
C#
namespace Buildalyzer.Build; public static class Settings { public const string IsBuildServer = nameof(IsBuildServer); }
20.833333
62
0.792
[ "MIT" ]
AdaskoTheBeAsT/Buildalyzer
build/Buildalyzer.Build/Settings.cs
125
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.IO; using Dbg = System.Management.Automation.Diagnostics; namespace System.Management.Automation.Remoting { ///<summary> /// This is the object used by Runspace,pipeline,host to send data /// to re...
35.462783
116
0.5762
[ "MIT" ]
DCtheGeek/PowerShell
src/System.Management.Automation/engine/remoting/common/WireDataFormat/RemotingDataObject.cs
10,958
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
42.505618
182
0.630981
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/IImportedDeviceIdentityImportDeviceIdentityListRequest.cs
3,783
C#
// <copyright file="IUmbracoToDataTransferObjectProvider{T}.cs" company="Logikfabrik"> // Copyright (c) 2015 anton(at)logikfabrik.se. Licensed under the MIT license. // </copyright> namespace Logikfabrik.Umbraco.Jet.Social { /// <summary> /// The <see cref="IUmbracoToDataTransferObjectProvider{T}" /> interf...
39.818182
94
0.676941
[ "MIT" ]
logikfabrik/uJetSocial
src/Logikfabrik.Umbraco.Jet.Social/IUmbracoToDataTransferObjectProvider{T}.cs
878
C#
// Copyright (c) 2021 Salim Mayaleh. All Rights Reserved // Licensed under the BSD-3-Clause License // Generated at 08.11.2021 21:25:55 by RaynetApiDocToDotnet.ApiDocParser, created by Salim Mayaleh. using System.Collections.Generic; using System.Threading.Tasks; namespace Maya.Raynet.Crm.Request.Get { public cl...
32.88
108
0.684915
[ "BSD-3-Clause" ]
mayaleh/Maya.Raynet.Crm
src/Maya.Raynet.Crm/Request/Get/BusinessCase.cs
822
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...
37.546012
426
0.626634
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/AnalysisServices/V20170801Beta/GetServerDetails.cs
6,120
C#
using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace aws { [JsiiByValue(fqn: "aws.Wafv2RuleGroupRuleStatementOrStatementStatementNotStatementStatementSizeConstraintStatementFieldToMatchMethod")] public class Wafv2RuleGroupRuleStatementOrStatementStatementNotStatementStateme...
41.25
243
0.882828
[ "MIT" ]
scottenriquez/cdktf-alpha-csharp-testing
resources/.gen/aws/aws/Wafv2RuleGroupRuleStatementOrStatementStatementNotStatementStatementSizeConstraintStatementFieldToMatchMethod.cs
495
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Text; using System.Windows.Forms; using UIToolbox; namespace ExampleApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private v...
19.689655
72
0.751313
[ "MIT" ]
chromhelm/the-dot-factory
CheckGroupBoxAndRadioGroupBox_1_1/CheckGroupBox/ExampleApplication/Form1.cs
571
C#
using System.Runtime.Serialization; namespace Trakt.Api.DataContracts { [DataContract] public class TraktEpisodeDataContract { [DataMember(Name = "season")] public int Season { get; set; } [DataMember(Name = "number")] public int Number { get; set; } [DataMember(N...
26.041667
61
0.5728
[ "MIT" ]
snazy2000/MediaBrowser.Plugins
Trakt/Api/DataContracts/TraktEpisodeDataContract.cs
1,252
C#
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DevnotMentor.Common.Requests; using DevnotMentor.Data.Entities; using DevnotMentor.Data.Interfaces; using Microsoft.EntityFrameworkCore; namespace DevnotMentor.Data { public class MentorRepository : BaseRepository<Mentor>, IM...
35.698925
141
0.584337
[ "MIT" ]
SabitKondakci/devnot-mentor-back-end
src/DevnotMentor.Data/MentorRepository.cs
3,322
C#
using System; using System.IO; using GroupDocs.Conversion.Options.Convert; namespace GroupDocs.Conversion.Examples.CSharp.AdvancedUsage { /// <summary> /// This example demonstrates how to convert document from stream. /// </summary> class LoadDocumentFromStream { public static void Run() ...
31.193548
112
0.62668
[ "MIT" ]
ExplodedRiot/MachineLearning2
Examples/GroupDocs.Conversion.Examples.CSharp/AdvancedUsage/Loading/LoadingDocumentsFromDifferentSources/LoadDocumentFromStream.cs
969
C#
// Copyright (c) 2014-2022 Sarin Na Wangkanai, All Rights Reserved.Apache License, Version 2.0 namespace Microsoft.Extensions.DependencyInjection; public class WebserverOptions { }
23.5
95
0.781915
[ "Apache-2.0" ]
wangkanai/BrowserDetection
Webserver/src/DependencyInjection/Options/WebserverOptions.cs
190
C#
using System.Collections.Generic; using System.Linq; using System.Reflection; using SupportChat; namespace AOP { //Caches messages to make calls to the database rarer public class ChatDatabaseAdvice: Advice<IChatDatabase> { private static Dictionary<int, List<MessageDTO>> messageCache = new Diction...
36.7
155
0.554223
[ "MIT" ]
artemgur/sem2
SupportChat/ChatDatabaseAdvice.cs
1,835
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.225 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated>...
39.820513
152
0.55763
[ "MIT" ]
abhcr/adGiga
adGiga Projects/Backup/DailyExpense/Properties/Settings.Designer.cs
1,555
C#
using System.Collections.Generic; using FubuCore; using StoryTeller.Domain; using StoryTeller.Execution; using StoryTeller.Model; namespace StoryTeller.Engine { public class TestRunner : ITestRunner { private readonly ISystem _system; private readonly FixtureLibrary _library; ...
25.537634
87
0.517895
[ "Apache-2.0" ]
mtscout6/StoryTeller2
src/StoryTeller/Engine/TestRunner.cs
2,375
C#
using System; using System.Collections.Generic; using System.DirectoryServices.AccountManagement; using System.Linq; using System.Management.Automation; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace PowerLFRepository { public class RepositoryCmdlet : PSCmdlet { ...
27.882353
121
0.605485
[ "MIT" ]
MedAmericaBillingServices/PowerLF
PowerLFRepository/RepositoryCmdlet.cs
1,424
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.Goog...
33.225806
274
0.685437
[ "Apache-2.0" ]
AaronFriel/pulumi-google-native
sdk/dotnet/Container/V1Beta1/Outputs/FilterResponse.cs
1,030
C#
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
28.351351
83
0.686368
[ "Apache-2.0" ]
Darkfaker/tencentcloud-sdk-dotnet
TencentCloud/Tiems/V20190416/Models/DescribeRuntimesRequest.cs
1,071
C#
using System; using System.Threading.Tasks; using DevOpen.Application.Mediators; using DevOpen.Domain; namespace DevOpen.Application.Handlers.Commands { public interface ICommandHandler { Type CommandType { get; } Task<CommandExecutionResult> Handle(Command command); } pub...
23.45
61
0.690832
[ "MIT" ]
nissbran/collector-open-es
src/core/DevOpen.Application/Handlers/Commands/ICommandHandler.cs
469
C#
// CodeContracts // // Copyright (c) Microsoft Corporation // // All rights reserved. // // MIT License // // 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 wit...
40.785714
463
0.688967
[ "MIT" ]
Acidburn0zzz/CodeContracts
Microsoft.Research/Contracts/MsCorlib/System.Runtime.Serialization.SurrogateSelector.cs
2,855
C#