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 Parroteer.ViewModels; using System.Windows; namespace Parroteer.Views { /// <summary> /// Interaction logic for NewProjectDialog.xaml /// </summary> public partial class NewProjectDialog : Window { public NewProjectDialogVM ViewModel { get; private set; } public NewProjectDialog() { InitializeCompo...
24.482759
76
0.739437
[ "MIT" ]
Randehh/Parroteer
Parroteer/Views/NewProjectDialog.xaml.cs
712
C#
using SplashScreen; using System.Diagnostics; using System.Reflection; using System.Windows.Controls; namespace ResTB.GUI.View { /// <summary> /// Interaktionslogik für SplashScreen.xaml /// </summary> [SplashScreen(MinimumVisibilityDuration = 2, FadeoutDuration = 1)] //2,1 public partial class My...
24.703704
131
0.652174
[ "Apache-2.0" ]
GEOTEST-AG/MiResiliencia
GUI/View/MySplashScreen.xaml.cs
670
C#
using System.Net; using System.Threading.Tasks; using Bogus; using Camunda.Worker.Client; using Microsoft.Extensions.DependencyInjection; using Moq; using Xunit; namespace Camunda.Worker { public class BpmnErrorResultTest { private readonly ExternalTask _externalTask; private readonly Mock<IExt...
32.823529
114
0.557348
[ "MIT" ]
AMalininHere/camunda-worker-dotnet
test/Camunda.Worker.Tests/BpmnErrorResultTest.cs
2,790
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; using AssemblyDefender.Common.IO; namespace AssemblyDefender.Net.Metadata { /// <summary> /// Interface implementation descriptors. /// </summary> public class InterfaceImplTable : MetadataTable<InterfaceI...
21.324138
114
0.629366
[ "MIT" ]
nickyandreev/AssemblyDefender
src/AssemblyDefender.Net/Metadata/Tables/InterfaceImpl/InterfaceImplTable.cs
3,092
C#
using EngineeringUnits; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using UnitsNet; using System.Linq; using Newtonsoft.Json; using System.Collections.Generic; using EngineeringUnits.Units; namespace UnitTests { [TestClass] public class MagneticFluxTest { [TestM...
29.76
112
0.496416
[ "MIT" ]
MadsKirkFoged/EngineeringUnits
UnitTests/CombinedUnits/MagneticFlux/MagneticFlux.cs
2,232
C#
using System; using Castle.Core.Logging; using Abp.Dependency; using Abp.Timing; namespace TigerAdmin.Migrator { public class Log : ITransientDependency { public ILogger Logger { get; set; } public Log() { Logger = NullLogger.Instance; } public void Write(s...
20
88
0.56875
[ "Apache-2.0" ]
AllenHongjun/ddu
TigerAdminZero/5.8.1/aspnet-core/src/TigerAdmin.Migrator/Log.cs
480
C#
using MassTransit.Util; using StackExchange.Redis; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using TDASCommon; using TDASDataParser.StdfTypes; using Topshelf; namespace TDASPersistentService { public class Orac...
33.553922
142
0.440029
[ "Apache-2.0" ]
dingzhengs/TDASFORCORE
TDASPersistentService/OracleSubmit.cs
7,165
C#
using System; namespace RyanJuan.Lahkesis { public static partial class LahkesisExtensions { #if ZH_HANT #else /// <summary> /// /// </summary> /// <param name="random"></param> /// <param name="size"></param> /// <returns></returns> #endif public stati...
23.378378
57
0.453179
[ "MIT" ]
ryans610/Lahkesis
RyanJuan.Lahkesis/LahkesisExtensions/NextByteArray.cs
867
C#
using System.Collections.Generic; using System.Net.Http; using System.Web.Http; using System.Web.Http.ModelBinding; using Hanabi.Datas; using Hanabi.Datas.RequestResponse.Rooms; using Hanabi.Server.Controllers.Helper; using Hanabi.Server.Models.Datas; namespace Hanabi.Server.Controllers { public class RoomsContro...
29.616438
114
0.496531
[ "MIT" ]
LiTsungYi/Hanabi
HanabiServer/Controllers/RoomsController.cs
4,326
C#
// Copyright 2019 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 obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
38.095238
89
0.695
[ "Apache-2.0" ]
amanda-tarafa/gapic-generator-csharp
Google.Api.Generator.Tests/ProtoTests/Snippets/Testing.Snippets.StandaloneSnippets/SnippetsClient.MethodThreeSignatures2Snippet.g.cs
1,602
C#
using System; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace NetModular.Module.Admin.Application.AccountService.ViewModels { public class UpdatePasswordModel { /// <summary> /// 账户编号 /// </summary> [JsonIgnore] public Guid AccountId { get;...
23.647059
71
0.547264
[ "MIT" ]
380138129/NetModular
src/Admin/Library/Application/AccountService/ViewModels/UpdatePasswordModel.cs
872
C#
using Xamarin.Forms.Platform.Android; using GoMobile.Controls; using Xamarin.Forms; using System.ComponentModel; using Android.Graphics.Drawables; using Android.Graphics.Drawables.Shapes; using Android.Graphics; using GoMobile.Droid.Renderers; [assembly: ExportRenderer(typeof(GradientButton), typeof(GradientButtonRen...
37.115942
129
0.623975
[ "MIT" ]
Bowman74/VSLiveGoMobile
src/GoMobile/GoMobile.Android/Renderers/GradientButtonRenderer.cs
2,563
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.Buffers; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using System.Security.Cryptography; using M...
33.5
156
0.541848
[ "MIT" ]
AustinWise/runtime
src/libraries/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/OpenSslCipher.cs
5,293
C#
using System.Collections.ObjectModel; using Noterium.Core.DataCarriers; namespace Noterium.Core { public class TagManager { public ObservableCollection<Tag> Tags { get; set; } public void ReloadTags() { } } }
18.214286
59
0.639216
[ "MIT" ]
ekblom/noterium
src/Noterium.Core/TagManager.cs
257
C#
using System.ComponentModel; using System.Web.Http; namespace Swagger_Test.Controllers { /// <summary> /// Testing a controller with param in the Route /// </summary> [RoutePrefix("api/RouteTest")] public class RouteTestController : ApiController { [Route("test/{itemid:int}")] ...
23.666667
56
0.578745
[ "BSD-3-Clause" ]
heldersepu/Swagger-Net-Test
Swagger_Test/Controllers/RouteTestController.cs
783
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// KoubeiContentContentcountSetModel Data Structure. /// </summary> [Serializable] public class KoubeiContentContentcountSetModel : AopObject { /// <summary> /// 口碑端内容唯一id,必填 ...
23.096774
63
0.513966
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/KoubeiContentContentcountSetModel.cs
746
C#
namespace XRoadLib.Serialization; /// <summary> /// Specifies how string values with special characters should be handled. /// </summary> public enum StringSerializationMode { /// <summary> /// Encodes special characters using HTML encoding. /// </summary> HtmlEncoded, /// <summary> /// Wrap ...
25.176471
74
0.686916
[ "MIT" ]
e-rik/XRoadLib
src/XRoadLib/Serialization/StringSerializationMode.cs
430
C#
#region Copyright (c) 2006-2019 nHydrate.org, All Rights Reserved // -------------------------------------------------------------------------- * // NHYDRATE.ORG * // Copyright (c) 2006-2019 All Rights reserved * // ...
38.310345
80
0.537054
[ "MIT" ]
mtgibbs/nHydrate
Source/nHydrate.DataImport/Entity.cs
3,333
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...
78.252315
515
0.685135
[ "MIT" ]
AndriiKalinichenko/azure-powershell
src/DesktopVirtualization/generated/cmdlets/UpdateAzWvdWorkspace_UpdateViaIdentityExpanded.cs
33,374
C#
using System.Globalization; using OpenQA.Selenium; namespace Tranquire.Selenium.Questions { /// <summary> /// Base class for the UI state /// </summary> /// <typeparam name="T"></typeparam> public abstract class UIState<T> : ITargeted { /// <summary> /// Gets The target of the ...
32.589744
89
0.571991
[ "MIT" ]
Galad/tranquire
src/Tranquire.Selenium/Questions/UIState.cs
1,273
C#
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; using Havok; using NLog; using NLog.Fluent; using Sandbox; using Sandbox.Engine.Analytics; using San...
35.97995
202
0.584843
[ "Apache-2.0" ]
SinZ163/Torch
Torch/VRageGame.cs
14,358
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...
29.272727
82
0.574017
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Network/V20200301/Inputs/FirewallPolicyNatRuleArgs.cs
1,932
C#
using System; /* * Предположим, что в tmux осталась последняя открытая вкладка. Что произойдет, если вы введете в этой вкладке в командную строку команду exit? */ namespace step_10 { class Program { static void Main(string[] args) { Console.WriteLine("tmux заверш...
18.684211
67
0.6
[ "Unlicense" ]
tshemake/Software-Development
stepik/73/4770/step_10/Program.cs
479
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...
53.041011
269
0.636291
[ "Apache-2.0" ]
KenHundley/aws-sdk-net
sdk/src/Services/S3Control/Generated/_bcl45/AmazonS3ControlClient.cs
289,710
C#
// <copyright file="Vector.cs" company="Math.NET"> // Math.NET Numerics, part of the Math.NET Project // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // // Copyright (c) 2009-2015 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this soft...
37.765751
120
0.57856
[ "MIT" ]
ABarnabyC/mathnet-numerics
src/Numerics/LinearAlgebra/Complex32/Vector.cs
23,381
C#
using LuduStack.Domain.Core.Attributes; namespace LuduStack.Domain.Core.Enums { public enum GamePlatforms { [UiInfo(Class = "windows")] Windows, [UiInfo(Class = "linux")] Linux, [UiInfo(Class = "xbox")] Xbox, [UiInfo(Class = "playstation")] Pl...
17.85
43
0.502801
[ "MIT" ]
anteatergames/ludustack
LuduStack.Domain.Core/Enums/GamePlatforms.cs
716
C#
using System; using System.Linq; namespace JsonApiDotNetCore.Internal { public class JsonApiException : Exception { private readonly ErrorCollection _errors = new ErrorCollection(); public JsonApiException(ErrorCollection errorCollection) { _errors = errorCollection; ...
37.483333
108
0.641174
[ "MIT" ]
milosloub/JsonApiDotNetCore
src/JsonApiDotNetCore/Internal/JsonApiException.cs
2,249
C#
using System; using WhiteMvvm.Bases; using Xamarin.Forms; namespace WhiteMvvm.Services.Resolve { public interface IReflectionResolve { Type GetTypeFromAssembly(Type typeFrom, string folderNameToBeReplaced, string replacedFolderName, string fileNameToBeReplaced, string replacedFileName); ...
31.705882
105
0.751391
[ "MIT" ]
AbuMandour/WhiteMvvm
src/WhiteMvvm/Services/Resolve/IReflectionResolve.cs
541
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.IO; using System.Linq; using Xunit; using Microsoft.Extensions.DependencyModel; namespac...
49.53316
196
0.628127
[ "MIT" ]
06needhamt/runtime
src/installer/tests/HostActivation.Tests/StartupHooks.cs
38,091
C#
using Paperless.Shared.Utils; namespace Colaborador.Domain.CasosDeUso.DeletarColaborador { public interface IDeletarColaborador : IHandlerPrimitive<int, bool> { } }
19.888889
71
0.765363
[ "MIT" ]
rafaelbatistaroque/TCC
Paperless/Features/Colaborador/Colaborador.Domain/CasosDeUso/DeletarColaborador/IDeletarColaborador.cs
181
C#
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. namespace Microsoft.Intune.PowerShellGraphSDK.PowerShellCmdlets { using System.Management.Automation; /// <summary> /// <para type="synopsis">Creates...
60.115942
162
0.649952
[ "MIT" ]
365Academic/Intune-PowerShell-SDK
PowerShellCmdlets/Generated/ObjectFactories/WorkbookRangeFontObject.cs
4,148
C#
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; namespace BuildXL.Utilities.Configuration.Resolvers { /// <summary> /// Settings for resolvers which allow configurable untracking /// </summary> public interface IUntrackingSettings...
28.275862
75
0.607317
[ "MIT" ]
Bhaskers-Blu-Org2/BuildXL
Public/Src/Utilities/Configuration/Resolvers/IUntrackingSettings.cs
822
C#
// UI Pointer|UI|80020 namespace VRTK { using UnityEngine; using UnityEngine.EventSystems; /// <summary> /// Event Payload /// </summary> /// <param name="controllerIndex">The index of the controller that was used.</param> /// <param name="isActive">The state of whether the UI Pointer is c...
43.725051
315
0.637198
[ "MIT" ]
Mufifnman/5P
PartyTime/Assets/VRTK/Scripts/UI/VRTK_UIPointer.cs
21,471
C#
using System; using System.Collections.Generic; using System.Text; namespace KLib { public class KRPCBatchRequest { public int requestId; public KRPCRequest[] list_request; } }
14.0625
43
0.631111
[ "MIT" ]
linchenrr/kakaTools
donetCore/KLib/KLib/net/rpc/KRPCBatchRequest.cs
227
C#
using Homebank.Core.Repositories; using Homebank.Web.Models; using Homebank.Core.Helpers; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Homebank.Core.Interfaces.Repositories; namespace Homebank.Web.Controllers { [Authorize] public class UserController : BaseController { pr...
24.134615
94
0.688446
[ "MIT" ]
curcas/Homebank
src/Homebank.Web/Controllers/UserController.cs
1,257
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...
41.247423
150
0.676831
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/ResourceGroupsTaggingAPI/Generated/Model/_bcl45+netstandard/GetResourcesPaginator.cs
4,001
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 ...
55.214286
213
0.809185
[ "Apache-2.0" ]
doublnt/aliyun-openapi-net-sdk
aliyun-net-sdk-ecs/Ecs/Transform/V20140526/DescribePrefixListAttributesResponseUnmarshaller.cs
3,092
C#
/******************************************************************************/ /* Project - Unity CJ Lib https://github.com/TheAllenChou/unity-cj-lib Author - Ming-Lun "Allen" Chou Web - http://AllenChou.net Twitter - @TheAllenChou */ /*****************************************************...
30.104895
202
0.658769
[ "MIT" ]
Harrison-Dev/unity-cj-lib
Unity CJ Lib/Assets/Example/Turbulent Rainbow GPU Particles/Main.cs
4,307
C#
#region license // Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com) // 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 ...
32.284211
110
0.685686
[ "BSD-3-Clause" ]
alaendle/rhino-mocks
Rhino.Mocks.Tests/FieldsProblem/ClassThatImplementsGetHashCodeAndEquals.cs
3,069
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 ...
15.089686
63
0.560475
[ "Apache-2.0" ]
AxiosCros/aliyun-openapi-net-sdk
aliyun-net-sdk-linkedmall/Linkedmall/Model/V20180116/QueryItemInventoryResponse.cs
3,365
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FlubuCore.Context.FluentInterface.Interfaces; using FlubuCore.Context.FluentInterface.TaskExtensions; using FlubuCore.Targeting; using FlubuCore.Tasks; namespace FlubuCore.Context.FluentInterface { public class ...
32.689655
244
0.56083
[ "BSD-2-Clause" ]
0xflotus/FlubuCore
FlubuCore/Context/FluentInterface/TargetFluentInterface.cs
5,690
C#
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; public class QueryClientEvaluationWarningDataContext : DbContext { #region QueryClientEvaluationWarning protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { optionsBuilder.Configur...
25.684211
81
0.711066
[ "MIT" ]
schernyh/GraphQL.EntityFramework
src/Snippets/QueryClientEvaluationWarningDataContext.cs
490
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UnityAudioFramework { public class AudioBin : MonoBehaviour { // Use this for initialization void Start () { } } }
13.75
40
0.727273
[ "MIT" ]
tarcisiotm/UnityAudioFramework
Assets/Scripts/managers/AudioBin.cs
222
C#
using MatterHackers.VectorMath; namespace MatterHackers.Agg.VertexSource { internal class ContourGenerator : IGenerator { private StrokeMath m_stroker; private double m_width; private VertexSequence m_src_vertices; private Vector2Container m_out_vertices; private StrokeMath.status_e m_status; private in...
22.242063
121
0.6719
[ "BSD-2-Clause" ]
0000duck/agg-sharp
agg/VertexSource/ContourGenerator.cs
5,607
C#
//------------------------------------------------------------------------------ // <copyright file="IIS7Runtime.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ /* * The ASP.NET/...
48.87234
185
0.569302
[ "Apache-2.0" ]
Distrotech/mono
external/referencesource/System.Web/Hosting/IPipelineRuntime.cs
36,752
C#
using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Collections.Generic; using System.Text; using System.Text.Encodings.Web; using System.Linq; using System.Threading.Tasks; using Infrastructure.Identity.Models; using Microsoft.AspNetCore.Identity; using Microsoft.AspNe...
34.974684
127
0.602425
[ "MIT" ]
DurkaTechnologies/AdminPanel
WebUI/Areas/Identity/Pages/Account/Manage/EnableAuthenticator.cshtml.cs
5,528
C#
// Copyright (c) 2018 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/ // Licensed under MIT licence. See License.txt in the project root for license information. using System.Threading.Tasks; using TestBizLayer.BizDTOs; namespace TestBizLayer.ActionsTransactional.Concrete { public clas...
28.181818
97
0.690323
[ "MIT" ]
Anapher/EfCore.GenericBizRunner
TestBizLayer/ActionsTransactional/Concrete/BizTranActionFinalAsync.cs
622
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace InventarioAPI.Models { public class TelefonoClienteCreacionDTO { [Required] public string Numero { get; set; } public string Descripci...
22.647059
47
0.693506
[ "Apache-2.0" ]
johnsvill/almacen-api
Models/TelefonoClienteCreacionDTO.cs
387
C#
using System.Collections.Generic; using System.Linq; namespace Gribble.Model { public class Index { public Index(string name, bool clustered, bool unique, bool primaryKey, ColumnSet columns) { Name = name; Clustered = clustered; Unique = unique; ...
33.313433
145
0.502688
[ "MIT" ]
mikeobrien/Gribble
src/Gribble/Model/Index.cs
2,234
C#
using System; public class NgEnum { public enum AXIS { X, Y, Z } public enum TRANSFORM { POSITION, ROTATION, SCALE } public enum PREFAB_TYPE { All, ParticleSystem, LegacyParticle, NcSpriteFactory } public static string[] m_TextureSizeStrings = new string[] { "32", "64", "128", ...
9.607843
59
0.591837
[ "MIT" ]
moto2002/kaituo_src
src/NgEnum.cs
490
C#
// Copyright © .NET Foundation and Contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace PInvoke { using System; using System.Buffers; using System.Runtime.InteropServices; using System.Threading; using Sy...
38.852113
148
0.547036
[ "MIT" ]
AArnott/pinvoke
src/WinUsb/WinUsb+WinUsbOverlapped.cs
5,520
C#
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace Microsoft.Azure.Cosmos.Telemetry { using System; using System.Net.Http; using System.Threading.Tasks; usi...
42.266234
157
0.636503
[ "MIT" ]
askazakov/azure-cosmos-dotnet-v3
Microsoft.Azure.Cosmos/src/Telemetry/ClientTelemetryOptions.cs
6,511
C#
using Newtonsoft.Json; namespace AndreasReitberger.Models.Events { public class PrinterChangedEventArgs : CalculatorEventArgs { #region Properties public Printer3d Printer { get; set; } #endregion #region Overrides public override string ToString() { ...
22.210526
74
0.637441
[ "Apache-2.0" ]
AndreasReitberger/3dPrintCostCalculatorSharp
source/3dPrintCalculatorLibrary/Models/Events/PrinterChangedEventArgs.cs
424
C#
namespace ECApp.Models { public class ErrorViewModel { public string RequestId { get; set; } public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); } }
21.777778
71
0.627551
[ "MIT" ]
expertscoding/asturias-netconf
ECApp/Models/ErrorViewModel.cs
196
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace todoapivstemplate.Controllers { public class User { public int Id { get; set; } public string firstName { get; set; } ...
25.266667
69
0.52876
[ "MIT" ]
1905-may05-dotnet/training-code
05-WebServices/todoapivstemplate/todoapivstemplate/Controllers/ValuesController.cs
1,897
C#
/* * Exchange Web Services Managed API * * 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 restr...
52.994903
201
0.680792
[ "MIT" ]
OfficeDevUnofficial/ews-managed-api
ews-managed-api/Core/ServiceObjects/Schemas/ContactSchema.cs
51,988
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DBManager.MSSQLModels { [Table("CONTACT")] public partial class Contact { [Key] [StringLength(15)] public string Person { get; ...
27.433333
62
0.619684
[ "MIT" ]
AlejandroIbarraC/Pandemica
API/SecondWaveAPIs/DBManager/MSSQLModels/Contact.cs
825
C#
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace Disqord.Collections { internal sealed class ReadOnlyValuePredicateDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue> { public IEnumerable<TKey> Keys => _dictionary is IDictionary<T...
35.538462
123
0.621753
[ "MIT" ]
FenikkusuKoneko/Disqord
src/Disqord.Core/Collections/ReadOnly/ReadOnlyValuePredicateDictionary.cs
1,850
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; using Microsoft.Identity.Client.AuthScheme.PoP; using Microsoft.Identity.Client.Cache; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client.Internal; using Micro...
32.748837
110
0.65147
[ "MIT" ]
DaehyunLee/microsoft-authentication-library-for-dotnet
src/client/Microsoft.Identity.Client/PlatformsCommon/Shared/AbstractPlatformProxy.cs
7,043
C#
namespace Landriesnidis.LCL_Controls.Controls.Button { partial class MiniImageButton { /// <summary> /// 必需的设计器变量。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清理所有正在使用的资源。 /// </summary> /// <par...
36.037037
113
0.599178
[ "MIT" ]
landriesnidis/LCL_UI
LCL_Controls/Controls/Botton/MiniImageButton.Designer.cs
2,102
C#
using System; using System.Collections.Generic; using System.IO; using RfpProxy.AaMiDe.Nwk.InformationElements; namespace RfpProxy.AaMiDe.Nwk { public abstract class NwkSFormatPayload : NwkPayload { public IList<NwkInformationElement> InformationElements { get; } public override bool HasUnkno...
35.987805
126
0.431379
[ "MIT" ]
eventphone/rfpproxy
RfpProxy.AaMiDe/AaMiDe/Nwk/NwkSFormatPayload.cs
2,953
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...
40.801653
190
0.6508
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/AppMesh/Generated/Model/Internal/MarshallTransformations/DescribeMeshResponseUnmarshaller.cs
4,937
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Observable_ { class Program { // メインメソッド static void Main(string[] args) { ...
52.957447
207
0.591402
[ "MIT" ]
bg1bgst333/Sample
rx/Observable/Defer_TValue/src/Observable_/Observable_/Program.cs
2,763
C#
using System; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Routing; using DigitalLabels.Core.Config; using DigitalLabels.Core.DomainModels; using DigitalLabels.WebApi.Config; using DigitalLabels.WebApi.Infrastructure; using Microsoft.Practices.ServiceLocation; using Microsoft.Web.Inf...
35.392157
117
0.664543
[ "MIT" ]
museumsvictoria/digital-labels
src/DigitalLabels.WebApi/App_Start/WebsiteBootstrapper.cs
3,612
C#
using System; using UnityEngine; namespace SootyShaderLoader { [KSPAddon(KSPAddon.Startup.Instantly, true)] public class SootyShaderLoader : MonoBehaviour { private const string shadersAssetName = "tundraexpshader"; private const string winShaderName = "-windows.ksp"; private const...
38.495238
193
0.56383
[ "MIT" ]
bfrobin446/TundraExploration
Source/Plugins/SootyShaderLoader/SootyShaderLoader.cs
4,044
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace Microsoft.Psi.Visualization.Summarizers { using Microsoft.Psi.Visualization.Data; /// <summary> /// Represents a range summarizer that performs interval-based data summarization over a series of int ...
29.478261
114
0.653392
[ "MIT" ]
danbohus/psi
Sources/Visualization/Microsoft.Psi.Visualization.Windows/Summarizers/Numeric/IntRangeSummarizer.cs
680
C#
using System.Diagnostics; namespace KMisaki.OSSProject.DotNetBeans.Common { public class ProcessUtils { private ProcessUtils() { } /// <summary> /// プロセスを取得する。 /// </summary> /// <param name="pname">取得対象のプロセス名</param> /// <returns>取得されたプロセスオブジェクト</returns> ...
29.928571
82
0.5358
[ "Apache-2.0" ]
mickey305/DotNetBeans
DotNetBeans/Common/ProcessUtils.cs
910
C#
using System; namespace Rodasnet.Infrastructure.HealthCheck { public interface IHealthCheckStorageConfiguration { String ConnectionString { get; } } }
19.222222
53
0.722543
[ "MIT" ]
rodasnet/rodasnet-infrastructure
Rodasnet.Infrastructure/HealthCheck/IHealthCheckStorageConfiguration.cs
175
C#
using Ipfs.Engine.BlockExchange; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Ipfs.Engine { [TestClass] public class BitswapApiTest { IpfsEngine ipfs = TestFixture.Ipfs; ...
38.735225
98
0.546048
[ "MIT" ]
benschop-it/net-ipfs-engine
test/CoreApi/BitswapApiTest.cs
16,387
C#
namespace SKIT.FlurlHttpClient.Wechat.Api.Models { /// <summary> /// <para>表示 [POST] /cgi-bin/guide/getguidebuyerrelationlist 接口的响应。</para> /// </summary> public class CgibinGuideGetGuideBuyerRelationListResponse : WechatApiResponse { public static class Types { public c...
34.88
83
0.530963
[ "MIT" ]
OrchesAdam/DotNetCore.SKIT.FlurlHttpClient.Wechat
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/BuyerRelation/CgibinGuideGetGuideBuyerRelationListResponse.cs
1,870
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...
47.715486
465
0.578
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/maintenance/Microsoft.Azure.Management.Maintenance/src/Generated/ConfigurationAssignmentsOperations.cs
90,898
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
38.609375
153
0.600567
[ "MIT" ]
gurry/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Models/Generated/PublicInnerError.cs
2,471
C#
// Developed by Softeq Development Corporation // http://www.softeq.com using System; using System.Threading.Tasks; using Softeq.XToolkit.Common.Extensions; using Softeq.XToolkit.Common.Logger; namespace Softeq.XToolkit.Common.Timers { /// <summary> /// Runs and wait task after a set interval. /// </...
33.543478
133
0.544394
[ "MIT" ]
Softeq/XToolkit.WhiteLabel
Softeq.XToolkit.Common/Timers/Timer.cs
3,088
C#
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace DataShaping { public static class DataShapingExtensions { public static IDictionary<string, object> ShapeData<T>(this T dataToshape, string fields) { var result = new Dictionary<st...
30.549451
142
0.567986
[ "MIT" ]
niccou/DataShaping
src/DataShaping/DataShapingExtensions.cs
2,782
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; #if ASPNETWEBAPI using System.Net.Http; #else using System.Web.Routing; #endif #if ASPNETWEBAPI namespace Sys...
30.082192
164
0.600638
[ "Apache-2.0" ]
Darth-Fx/AspNetMvcStack
src/Common/Routing/Constraints/MaxRouteConstraint.cs
2,196
C#
namespace iControl { using System.Xml.Serialization; using System.Web.Services; using System.ComponentModel; using System.Web.Services.Protocols; using System; using System.Diagnostics; /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")] [System.Diagnostics.DebuggerStepTh...
44.818182
152
0.646182
[ "MIT" ]
F5Networks/f5-icontrol-library-dotnet
iControl/Interfaces/Management/ManagementNamed.cs
18,241
C#
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 req...
32.653333
138
0.560229
[ "Apache-2.0" ]
cph-cachet/radmis.Moribus.vs2
Sensus.Shared/UI/UiProperties/EntryDoubleUiProperty.cs
2,449
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...
29.818182
112
0.625
[ "Apache-2.0" ]
Hazy87/aws-sdk-net
sdk/src/Services/NetworkManager/Generated/Model/ListAttachmentsResponse.cs
2,296
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using BuildXL.Utilities; using Test.BuildXL.FrontEnd.Core; using Test.BuildXL.TestUtilities.Xunit; using Xunit; using Xunit.Abstractions; namespace Test.DS...
31.304348
102
0.556481
[ "MIT" ]
breidikl/BuildXL
Public/Src/FrontEnd/UnitTests/Script.Ambients/AmbientUnsafetests.cs
2,162
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...
62.058824
218
0.698866
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Elasticsearch/Generated/_bcl35/AmazonElasticsearchClient.cs
190,955
C#
using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Blazui.ClientRender.PWA.Demo.BasicRadio { public class RadioButtonBase : ComponentBase { protected int selectedValue = 1; } }
21
49
0.758503
[ "MIT" ]
188867052/Element-Blazor
src/Samples/Blazui/Blazui.ClientRender.PWA/Demo/BasicRadio/RadioButtonBase.cs
296
C#
namespace Org.BouncyCastle.Crypto.Engines { /// <remarks> /// An implementation of the Camellia key wrapper based on RFC 3657/RFC 3394. /// <p/> /// For further details see: <a href="http://www.ietf.org/rfc/rfc3657.txt">http://www.ietf.org/rfc/rfc3657.txt</a>. /// </remarks> public class CamelliaWrapEngine : Rf...
24.352941
116
0.683575
[ "MIT" ]
0x070696E65/Symnity
Assets/Plugins/Symnity/Pulgins/crypto/src/crypto/engines/CamelliaWrapEngine.cs
414
C#
//---------------------------------------------------------------------------------------------- // Copyright 2021 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the ...
40.269231
97
0.578797
[ "Apache-2.0" ]
Azure/Azure-Media-Services-Explorer
AMSExplorer/Models/Drm/PFXCertificate.cs
1,049
C#
using System.IO; using System.Runtime.Serialization; using GameEstate.Formats.Red.CR2W.Reflection; using FastMember; using static GameEstate.Formats.Red.Records.Enums; namespace GameEstate.Formats.Red.Types { [DataContract(Namespace = "")] [REDMeta] public class SStorySceneEventGroupEntry : CVariable ...
32.925926
134
0.727784
[ "MIT" ]
smorey2/GameEstate
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/SStorySceneEventGroupEntry.cs
889
C#
using Emgu.CV; using Emgu.CV.CvEnum; using Emgu.CV.OCR; using Emgu.CV.Structure; using Emgu.CV.Util; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Text; using System.Windows; namespace OCRScanner.Classes { public static class OCR { //Declare a new ...
38.116379
164
0.555581
[ "MIT" ]
CodeBoiz/OCRScanner
OCRScanner/OCRScanner/Classes/OCR.cs
8,845
C#
/* MIT License Copyright (c) 2018 Grega Mohorko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
32.255319
78
0.769129
[ "MIT" ]
GregaMohorko/GM.Tools
src/GM.Tools/GM.Tools/Google/API/Maps/Geocoding/GeocodingResult.cs
1,518
C#
namespace ExperimentationLite.Configuration { public class DataContextSettings { public string ConnectionString { get; set; } public string Database { get; set; } } }
21.777778
52
0.668367
[ "MIT" ]
iby-dev/ExperimentationLite-API
src/ExperimentationLite.Configuration/DataContextSettings.cs
198
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("06....
38.054054
84
0.747869
[ "MIT" ]
GabrielRezendi/Programming-Fundamentals-2017
02.Extented Fundamentals/25.LAMBDA AND LINQ - EXERCISES/06.00 CottageScraper/Properties/AssemblyInfo.cs
1,411
C#
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System.Globalization; namespace SixLabors.ImageSharp.Metadata.Profiles.Exif { internal sealed class ExifLong : ExifValue<uint> { public ExifLong(ExifTag<uint> tag) : base(tag) { } ...
23.703704
99
0.494531
[ "Apache-2.0" ]
0xced/ImageSharp
src/ImageSharp/Metadata/Profiles/Exif/Values/ExifLong.cs
1,280
C#
using System; using ElmSharp; using ElmSharp.Wearable; using Microsoft.Maui.Controls.Compatibility.Platform.TV; using static Microsoft.Maui.Controls.Compatibility.Platform.Tizen.Native.TableView; using EButton = ElmSharp.Button; using EColor = ElmSharp.Color; using EEntry = ElmSharp.Entry; using ELabel = ElmSharp.Label...
31.138063
224
0.760785
[ "MIT" ]
3DSX/maui
src/Compatibility/Core/src/Tizen/ThemeManager.cs
32,477
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...
34.524272
149
0.595613
[ "Apache-2.0" ]
SaschaHaertel/AmazonAWS
sdk/src/Services/EC2/Generated/Model/Internal/MarshallTransformations/HostInstanceUnmarshaller.cs
3,556
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05.WildFarm.Models { public class Tiger : Feline { public Tiger(string animalName, string animalType, double animalWeight, string livingRegion) : base(animalName, ...
22.676471
100
0.581064
[ "MIT" ]
sotirona/SoftUni
CSharpOOPBasicsJune2017/04.Polymorphism/05.WildFarm/AnimalModels/Tiger.cs
773
C#
namespace ShortcutsGrid.Services.Image; using Models; using System; using System.Drawing; using System.IO; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; internal static class ImageUtilities { public static ImageSource Base64StringToImage(strin...
28.292308
89
0.569331
[ "MIT" ]
minkostaev/ShortcutsGrid
ShortcutsGrid/Services/Image/ImageUtilities.cs
1,841
C#
using System; using BilSimser.GeoJson.GeoJson; using Newtonsoft.Json; namespace BilSimser.GeoJson.JsonConverters { public class LineStringConverter : JsonConverter { private readonly Type _type; public LineStringConverter(Type type) { _type = type; } public...
28.404762
98
0.590947
[ "MIT" ]
bsimser/GeoJSON.NET
src/BilSimser.GeoJson/JsonConverters/LineStringConverter.cs
1,193
C#
using System.Collections.Generic; namespace Reports.PluginPackager { public class Context { public string AssemblyPath { get; set; } public string OutputPath { get; set; } public string DeployedFolderName { get; set; } public bool Subfolders { get; set; } = true; public...
29.111111
72
0.525763
[ "Apache-2.0" ]
AquaticInformatics/time-series-custom-reports
src/Reports.PluginPackager/Context.cs
1,050
C#
using HotChocolate.Data.Neo4J.Language; using HotChocolate.Data.Neo4J.Sorting; namespace HotChocolate.Data.Neo4J.Execution; /// <summary> /// Represents a executable for Neo4j database. /// </summary> public interface INeo4JExecutable : IExecutable { /// <summary> /// Applies the filter definition to the exec...
37
79
0.716652
[ "MIT" ]
ChilliCream/prometheus
src/HotChocolate/Neo4J/src/Data/Execution/INeo4JExecutable.cs
1,147
C#
using System; using System.Collections.Generic; using System.Windows.Forms; using Mage; namespace MageUIComponents { public partial class EntityFilePanel : UserControl, IModuleParameters { public event EventHandler<MageCommandEventArgs> OnAction; public EntityFilePanel() {...
32.526946
120
0.485272
[ "BSD-2-Clause" ]
PNNL-Comp-Mass-Spec/Mage
MageUIComponents/EntityFilePanel.cs
5,434
C#
namespace Atata { /// <summary> /// Specifies the verification of the <c>&lt;h5&gt;</c> element content. /// By default occurs upon the page object initialization. /// If no value is specified, it uses the class name as the expected value with the <see cref="TermCase.Title"/> casing applied. /...
31.264706
133
0.590781
[ "Apache-2.0" ]
EvgeniyShunevich/Atata
src/Atata/Attributes/Triggers/VerifyH5Attribute.cs
1,063
C#
using System.Collections.Generic; using FluentAssertions; using Microsoft.AspNetCore.Razor.TagHelpers; using Xunit; namespace Winton.AspNetCore.Seo.HeaderMetadata.OpenGraph.Music { public class OpenGraphMusicRadioStationTagHelperTests { public sealed class Process : OpenGraphMusicRadioStationTagHelperT...
35.042254
105
0.537379
[ "Apache-2.0" ]
wintoncode/Winton.AspNetCore.Seo
test/Winton.AspNetCore.Seo.Tests/HeaderMetadata/OpenGraph/Music/OpenGraphMusicRadioStationTagHelperTests.cs
2,488
C#
using System; using System.Threading.Tasks; using JustSaying.AwsTools; using JustSaying.AwsTools.QueueCreation; using Microsoft.Extensions.Logging; using Shouldly; using Xunit.Abstractions; namespace JustSaying.IntegrationTests.Fluent.AwsTools { public class WhenCreatingErrorQueue : IntegrationTestBase { ...
28.803922
87
0.635126
[ "Apache-2.0" ]
brainmurphy/MyOriginalJustSayingForkArghWhyWhyWhy
JustSaying.IntegrationTests/Fluent/AwsTools/WhenCreatingErrorQueue.cs
1,469
C#