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 Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BAH.BOS.WebAPI.ServiceStub.Permission.Dto { /// <summary> /// 用户组织输出对象。 /// </summary> [JsonObject] public class UserOrgInfoOutput : BaseDataOutput<long> { }//end class }...
18.666667
57
0.690476
[ "MIT" ]
Ronaltn/BAH.K3.Solution
Code/BAH.BOS.WebAPI.ServiceStub/Permission/Dto/UserOrgInfoOutput.cs
356
C#
#region License // IPaginated{T}.cs // // Copyright (c) 2012 Xoqal.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 req...
28.914286
75
0.666996
[ "Apache-2.0" ]
AmirKarimi/Xoqal
Source/Xoqal.Web.Mvc/Models/IPaginated{T}.cs
1,012
C#
namespace GitVersionCore.Tests.Init { using GitVersion; using GitVersion.Configuration.Init; using GitVersion.Configuration.Init.Wizard; using NUnit.Framework; using Shouldly; using TestStack.ConventionTests; using TestStack.ConventionTests.ConventionData; [TestFixture] ...
35.410256
134
0.636495
[ "MIT" ]
SeppPenner/GitVersion
src/GitVersionCore.Tests/Init/InitScenarios.cs
1,345
C#
using System; using System.Collections; using System.Collections.Generic; namespace EuNet.Core { public sealed class SendingQueue : IList<ArraySegment<byte>> { private List<ArraySegment<byte>> _globalQueue; private int _currentCount = 0; private int _beginOffset; public Sendin...
23.559748
117
0.466097
[ "MIT" ]
zestylife/EuNet
src/EuNet.Core/Util/SendingQueue.cs
3,748
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.Collections.Generic; using System.Linq; using System.Text; using Google.Protobuf; using M...
42.082979
147
0.602002
[ "MIT" ]
FrancisChung/machinelearning
src/Microsoft.ML.OnnxConverter/OnnxUtils.cs
19,779
C#
using ETLBox.ControlFlow; using NLog.Targets; using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Threading.Tasks.Dataflow; namespace ETLBox.DataFlow { /// <summary> /// A target block that serves as a destination for components that can have multiple inputs. /// </s...
29.292683
97
0.65612
[ "MIT" ]
gjvanvuuren/etlbox
ETLBox/src/Definitions/DataFlow/ActionJoinTarget.cs
1,203
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.Globalization; using System.Tests; using Xunit; namespace System.Text.RegularExpressions.Tests { public class RegexGroupTests ...
98.581446
289
0.543229
[ "MIT" ]
2m0nd/runtime
src/libraries/System.Text.RegularExpressions/tests/Regex.Groups.Tests.cs
91,385
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
48.043478
110
0.577376
[ "MIT" ]
cwang-dhs/iomt-fhir
src/lib/Microsoft.Health.Fhir.Ingest/Data/IEnumerableAsyncCollector.cs
1,107
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using CSharpKonachan.Models; using Newtonsoft.Json; [assembly: CLSCompliant(true)] namespace CSharpKonachan { public class Bo...
31.26178
165
0.410819
[ "MIT" ]
YukiCoco/AcgViewer
CSharpKonachan/Client.cs
12,160
C#
// <auto-generated/> #pragma warning disable 1591 namespace Test { #line hidden using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components; public class TestComponent : Microsoft.AspNetCore.Components.ComponentBase ...
26.931034
121
0.665813
[ "Apache-2.0" ]
Therzok/AspNetCore-Tooling
src/Razor/test/RazorLanguage.Test/TestFiles/IntegrationTests/ComponentDesignTimeCodeGenerationTest/ChildComponent_WithLambdaEventHandler/TestComponent.codegen.cs
1,562
C#
// Copyright (c) 2007 James Newton-King. All rights reserved. // Use of this source code is governed by The MIT License, // as found in the license.md file. using TestObjects; namespace Argon.Tests; public class JsonTextWriterAsyncTests : TestFixtureBase { public class LazyStringWriter : StringWriter { ...
36.014529
229
0.618599
[ "MIT" ]
SimonCropp/Argonautica
src/Tests/JsonTextWriterAsyncTests.cs
71,889
C#
#region License // Copyright (c) 2007 James Newton-King // // 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,...
34.032258
105
0.715166
[ "MIT" ]
jkorell/Newtonsoft.Json
Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/DeserializeCollection.cs
2,112
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using DeepSpace.JsonProtocol; namespace DeepSpace.Udp { public class UdpFieldOfViewSync : MonoBehaviour { public UdpManager udpManager; public FloorNetworkHandler floorNetworkHandler; public OffAxisFieldOfViewManager _fieldOfViewMa...
23.235955
79
0.721954
[ "MIT" ]
ArsElectronicaFuturelab/DeepSpaceDevKit
Assets/DeepSpace/Scripts/UDP/UdpFieldOfViewSync.cs
2,070
C#
//#if (!__solua__ && !__Windows__) // #define __liblua__ //#endif namespace SharpLua { using System; using System.Runtime.InteropServices; using System.Reflection; using System.Collections; using System.Text; using System.Security; using SharpLua; /* * Lua types for the API, retu...
43.447334
144
0.645715
[ "MIT" ]
Stevie-O/SharpLua
SharpLua/Interfacing/LuaDLL.cs
33,411
C#
namespace Aigamo.Saruhashi { public interface IFont { } }
8.857143
27
0.709677
[ "MIT" ]
ycanardeau/Saruhashi
Aigamo.Saruhashi/IFont.cs
64
C#
using System; using System.Linq; using Vexe.Runtime.Extensions; using Vexe.Runtime.Helpers; using Vexe.Runtime.Types; using Vexe.Editor.Types; namespace Vexe.Editor.Drawers { public class ShowTypeDrawer : AttributeDrawer<Type, ShowTypeAttribute> { private Type[] availableTypes; private string[] typesNames; pr...
22.836735
71
0.644325
[ "MIT" ]
DanielPotter/VFW
Assets/Plugins/Editor/Vexe/Drawers/User/ShowTypeDrawer.cs
1,121
C#
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Data; namespace WeatherApp.ViewModel { public class BoolToRainConverter : IValueConverter { public object Convert(object value, Type targ...
26
103
0.640584
[ "MIT" ]
michalovsky/weather-app
src/ViewModel/BoolToRainConverter.cs
756
C#
using System.Collections.Generic; using System.Runtime.Serialization; namespace LMPlatform.UI.Services.Modules.Materials { [DataContract] public class DocumentsViewData { private List<Models.Materials> dc; public DocumentsViewData(Models.Materials materials) { Id = materi...
22.969697
60
0.583113
[ "MIT" ]
Kharlap-Sergey/CATSdesigner
api/LMPlatform.UI/Services/Modules/Materials/DocumentsViewData.cs
760
C#
// // -------------------------------------------------------------------------------------------------------------------- // // <copyright file="ILambdaCheck.cs" company=""> // // Copyright 2013 Cyrille DUPUYDAUBY, Thomas PIERRAIN // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
45.939394
162
0.566953
[ "Apache-2.0" ]
draptik/NFluent
src/NFluent/Obsolete/ILambdaCheck.cs
2,969
C#
using JetBrains.ReSharper.FeaturesTestFramework.Intentions; using JetBrains.ReSharper.Plugins.Unity.Feature.Services.QuickFixes; using NUnit.Framework; namespace JetBrains.ReSharper.Plugins.Unity.Tests.Intentions.QuickFixes { [TestUnity] public class RedundantSerializeFieldAttributeQuickFixAvailabilityTests :...
39.954545
129
0.788396
[ "Apache-2.0" ]
mfilippov/resharper-unity
resharper/test/src/Intentions/QuickFixes/RedundantSerializeFieldAttributeQuickFixTests.cs
881
C#
using System; using System.Threading.Tasks; using Autofac; using AutoMapper; using LifeManager.Data.Entities; using LifeManager.Data.Repositories; using LifeManager.Models; using LifeManager.PeopleService.Services; using Microsoft.Extensions.Configuration; using MongoDB.Driver; using NServiceBus; namespace LifeManage...
33.014085
120
0.599403
[ "MIT" ]
SamuelCox/LifeManager
LifeManager/LifeManager.PeopleService/Program.cs
2,346
C#
// -------------------------------------------------------------------------------------------------- // <auto-generated> // This code was generated by a tool. // Script: ./scripts/cldr-relative-time.csx // // Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. // </auto...
54.488017
172
0.605078
[ "MIT" ]
pointnet/alrev-intl
packages/Alrev.Intl.RelativeTime/Resources/EnFkRelativeTimeResource.intl.cs
25,010
C#
using System.Threading.Tasks; namespace DisCore.Shared.Commands { public interface ICommand { Task<string> Usage(); Task<string> Summary(); } }
14.461538
34
0.585106
[ "Apache-2.0" ]
AgentBlackout/DisCore
DisCore.Shared/Commands/ICommand.cs
190
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.Diagnostics.Runtime.Utilities; using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Text...
28.254682
110
0.521474
[ "MIT" ]
chrisnas/clrmd
src/Microsoft.Diagnostics.Runtime/dumpdatareader.cs
7,546
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; namespace XLGraphicsUI.Elements.EffectsUI { public class MotionBlurUI : UIsingleton<MotionBlurUI> { public XLToggle toggle; //public GameObject...
25.041667
55
0.78203
[ "MIT" ]
Amatobahn/Skater-XL-mods
XLGraphicsUI/Elements/EffectsUI/MotionBlurUI.cs
578
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Linq.Expressions; using System.Security.Cryptography.X509Certificates; using System.Xml; using Nuke.Common; using Nuke.Common.Execution; using Nuke.Common.IO; using Nuke.Common.ProjectModel; using Nuke.Common.Tooling; using...
26.919355
54
0.736369
[ "MIT" ]
ABergBN/nuke
source/Nuke.GlobalTool.Tests/cake-scripts/targets.verified.cs
1,669
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // ...
33.475
105
0.760269
[ "MIT" ]
Microsoft/TestAdapterForGoogleTest
GoogleTestAdapter/VsPackage.TAfGT/Properties/AssemblyInfo.cs
1,342
C#
using System; using UnityEngine; public class EllipsePointsChecker : global::PointsChecker { public EllipsePointsChecker(global::UnityEngine.Transform transform, bool hasOffset, float radius1, float radius2) : base(transform, hasOffset) { this.radiusA = radius1; this.radiusB = radius2; } public override bool...
36.971429
244
0.716383
[ "CC0-1.0" ]
FreyaFreed/mordheim
Assembly-CSharp/EllipsePointsChecker.cs
1,296
C#
using System.Linq; using ConfigureAppIo.Demos.SayHello.Common; using FluentAssertions; using Xunit; namespace ConfigureAppIo.Demos.SayHello.UnitTests.Common.LanguageTests { public class PersonValidationTests { [Fact] public void SupportedLanguagesEnumerableReturnsExpecetedList() { ...
27.842105
97
0.725898
[ "MIT" ]
configureappio/SeparateStartup
Common/ConfigureAppIo.Demos.SayHello.UnitTests.Common/LanguageTests/SupportedLanguagesTests.cs
529
C#
using PeopleViewer.Presentation; using System; using System.Windows; namespace PeopleViewer { public partial class MainWindow : Window { PeopleViewModel ViewModel { get; } public MainWindow(PeopleViewModel viewModel) { InitializeComponent(); ViewModel = viewMod...
25.241379
109
0.631148
[ "MIT" ]
jeremybytes/di-dotnet-workshop
MainDemo-Extended/PeopleViewer/MainWindow.xaml.cs
734
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...
27.942308
90
0.602202
[ "MIT" ]
0rland0Wats0n/azure-sdk-for-net
sdk/policyinsights/Microsoft.Azure.Management.PolicyInsights/src/Generated/Models/ErrorResponse.cs
1,453
C#
//----------------------------------------------------------------------------- // Copyright : (c) Chris Moore, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root...
24.258621
79
0.347548
[ "BSD-3-Clause" ]
0xCM/z0
src/gen/src/projects/model/parts/Version.cs
1,407
C#
#region License /* Copyright © 2014-2021 European Support Limited Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
28.578947
73
0.720074
[ "Apache-2.0" ]
Ginger-Automation/Ginger
Ginger/GingerPluginPlatforms/Platform/Web/Elements/IComboBox.cs
1,087
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 ...
27.512195
63
0.718085
[ "Apache-2.0" ]
brightness007/unofficial-aliyun-openapi-net-sdk
aliyun-net-sdk-ehpc/EHPC/Model/V20180412/StartClusterResponse.cs
1,128
C#
using System; using System.Linq; using csmacnz.Coveralls.Parsers; using Xunit; namespace csmacnz.Coveralls.Tests.Chutzpah { public class ChutzpahJsonParserTests { [Fact] public void GenerateSourceFiles_CorrectCoverage() { var fileContents = Reports.ChutzpahSample.ChutzpahEx...
31.4
132
0.654777
[ "MIT" ]
CraigChamberlain/coveralls.net
src/csmacnz.Coveralls.Tests/Chutzpah/ChutzpahJsonParserTests.cs
787
C#
using System; using System.Collections.Generic; using System.Text; namespace Common { public static class Extensions { public static Result<TIn, TOut> Apply<TIn, TOut>( this Result<TIn, TOut> result, Func<Result<TIn, TOut>, Result<TIn, TOut>> func) => result.IsOk ...
26.777778
114
0.523651
[ "MIT" ]
KathleenDollard/sample-class-tracker2
ClassTracker2/Common/Extensions.cs
1,207
C#
using System; //Morghan Kiverago 3/27/2019 // Tshit Design using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using ...
28
78
0.378942
[ "MIT" ]
CaptainMorghan/Unit-2-Projects
MainWindow.xaml.cs
2,158
C#
using HarmonyLib; using RimWorld; using Verse; using Verse.AI; namespace QuickFast { [StaticConstructorOnStartup] public static class H_MiscPatches { static H_MiscPatches() { } [HarmonyPatch(typeof(Pawn_PathFollower), nameof(Pawn_PathFollower.StartPath))] public static class H_StartPath { public s...
22.59364
153
0.662027
[ "MIT" ]
Dubwise56/QuickFast
Source/H_MiscPatches.cs
6,396
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...
30.512821
89
0.672269
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20160801/Outputs/HttpLogsConfigResponse.cs
1,190
C#
using Microsoft.AspNetCore.Authorization; namespace FoodVault.Api.Configuration.Authorization { public class HasPermissionAuthorizationRequirement : IAuthorizationRequirement { } }
21.666667
82
0.805128
[ "MIT" ]
chrishanzlik/FoodVault
src/Api/Configuration/Authorization/HasPermissionAuthorizationRequirement.cs
197
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Brightcove.MediaFramework.Brightcove.Configuration; using Sitecore; using Sitecore.MediaFramework.Pipelines.MediaGenerateMarkup; namespace Brightcove.MediaFramework.Brightcove.Pipelines.MediaGener...
32.347826
108
0.744624
[ "Apache-2.0" ]
KRazguliaev/pmi.sitecore.9.1.brightcove
src/Brightcove.MediaFramework.Brightcove/Pipelines/MediaGenerateMarkup/GetPlaybackEvents.cs
746
C#
// <auto-generated> // automatically generated by the FlatBuffers compiler, do not modify // </auto-generated> [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] public enum Character : byte { NONE = 0, MuLan = 1, Rapunzel = 2, Belle = 3, BookFan = 4, Other = 5, Unus...
47.141414
159
0.720591
[ "Apache-2.0" ]
0gap/flatbuffers
tests/union_vector/Character.cs
4,667
C#
using System.Collections.Generic; using Essensoft.Paylink.Alipay.Response; namespace Essensoft.Paylink.Alipay.Request { /// <summary> /// alipay.open.mini.poi.query /// </summary> public class AlipayOpenMiniPoiQueryRequest : IAlipayRequest<AlipayOpenMiniPoiQueryResponse> { /// <summary> ...
23.311594
95
0.53497
[ "MIT" ]
Frunck8206/payment
src/Essensoft.Paylink.Alipay/Request/AlipayOpenMiniPoiQueryRequest.cs
3,233
C#
using AutoMapper; using MAVN.Service.Campaign.Profiles; using Xunit; namespace MAVN.Service.Campaign.Tests { public class AutoMapperProfileTests { [Fact] public void Mapping_Configuration_Is_Correct() { // arrange var mockMapper = new MapperConfiguration(cfg => ...
21.555556
103
0.603093
[ "MIT" ]
IliyanIlievPH/MAVN.Service.Campaign
tests/MAVN.Service.Campaign.Tests/AutoMapperProfileTests.cs
582
C#
using System; using System.Threading.Tasks; using Android.Graphics.Drawables; using Android.Views; using Android.Widget; using Microsoft.Maui.Graphics; using AButton = AndroidX.AppCompat.Widget.AppCompatButton; using ATextAlignment = Android.Views.TextAlignment; using AView = Android.Views.View; namespace Microsoft.M...
29.42515
129
0.743386
[ "MIT" ]
10088/maui
src/Core/src/Handlers/SwipeItemMenuItem/SwipeItemMenuItemHandler.Android.cs
4,916
C#
// // Copyright (c) 2010-2018 Antmicro // // This file is licensed under the MIT License. // Full license text is available in 'licenses/MIT.txt'. // namespace Antmicro.Renode.Core.USB.HID { public enum Protocol { None = 0, Keyboard = 1, Mouse = 2 } }
19.266667
57
0.605536
[ "MIT" ]
UPBIoT/renode-iot
src/Infrastructure/src/Emulator/Main/Peripherals/USB/HID/Protocol.cs
289
C#
using UnityEngine; using UnityEditor; // Inspector for CharacterDefinitions. [CustomEditor(typeof(CharacterDefinition))] public class CharacterDefinitionInspector : Editor { // Render the inspector view. public override void OnInspectorGUI() { base.OnInspectorGUI(); CharacterDefinition characterDefinition = t...
28.952381
105
0.794408
[ "MIT" ]
weslo/workshop-workflow-tools-unity
Assets/Scripts/Editor/CharacterInspector.cs
610
C#
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
56.38
233
0.683079
[ "MIT" ]
ScriptBox99/msgraph-beta-sdk-dotnet
src/Microsoft.Graph/Generated/requests/DeviceComplianceScriptRunSummaryRequest.cs
14,095
C#
using System; using System.IO; using System.Reflection; using System.Xml; using System.Runtime.Serialization; using System.Linq; namespace MusicBeePlugin { [DataContract] public class Settings { private string FilePath { get; set; } public bool IsDirty { get; private set; } // Don...
29.727626
134
0.559424
[ "Apache-2.0" ]
doujincafe/doujincafe-discordbee
Settings.cs
7,642
C#
using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Xml.Schema; using System.Xml.Serialization; namespace Workday.AcademicFoundation { [GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepT...
20.885246
136
0.729984
[ "MIT" ]
matteofabbri/Workday.WebServices
Workday.AcademicFoundation/Education_Test_ResultObjectIDType.cs
1,274
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using UnityEditor; using UnityEditor.Build.Reporting; using UnityEngine; namespace UnityBuilderAction { public static class BuildScript { private static readonly string Eol = Environment.NewLine; private static...
41.032967
116
0.542582
[ "MIT" ]
michalusio/Procedural-Generator
Assets/Editor/UnityBuilderAction.cs
7,468
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Windows; using System.Windows.Automation; using System.Windows.Automation.Peers; using System.Windows.Controls; using Microsoft.VisualStudi...
39.521739
111
0.657316
[ "Apache-2.0" ]
AntonC9018/NuGet.Client
src/NuGet.Clients/NuGet.PackageManagement.UI/Xamls/PackageItemControl.xaml.cs
1,818
C#
using amrts_map.Dialogs; using ModernWpf.Controls; using Newtonsoft.Json; using Ookii.Dialogs.Wpf; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace amrts_map { public class Project { public static string Defa...
47.883838
231
0.598882
[ "MIT" ]
DavidL344/amrts-assistant
amrts-map/src/common/Project.cs
9,483
C#
using AzR.Core.Config; using System.ComponentModel.DataAnnotations; namespace AzR.Student.Core.Models { public class Student : IBaseEntity { [Key] public int Id { get; set; } [StringLength(256)] public string Name { get; set; } [StringLength(128)] public string...
21
44
0.592857
[ "MIT" ]
ashiquzzaman/azr-admin
Development/AzRAdmin/Plugins/Example/AzR.Student.Core/Models/Student.cs
422
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using saboteur.Interfaces; using saboteur.ViewModels.Episode; namespace saboteur.Controllers { public class EpisodeController : Controller { private readonly IGameDataServic...
30.451613
109
0.681144
[ "MIT" ]
gschro/saboteur
saboteur/Controllers/EpisodeController.cs
946
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
40.259259
152
0.565777
[ "MIT" ]
MaxMEllon/Sticky
Sticky/Properties/Settings.Designer.cs
1,089
C#
namespace MercadoPagoCore.Client.AdvancedPayment { /// <summary> /// Refund creation request data. /// </summary> public class AdvancedPaymentRefundCreateRequest { /// <summary> /// Amount to be refunded. /// </summary> public decimal? Amount { get; set; } } }
22.714286
51
0.584906
[ "MIT" ]
cantte/MercadoPagoCore
MercadoPagoCore/Client/AdvancedPayment/AdvancedPaymentRefundCreateRequest.cs
320
C#
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; using System.IO; public class UDPWrapper : ModuleRules { public UDPWrapper(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePaths.AddRange( ...
21.067797
80
0.613837
[ "MIT" ]
Thibault-Brocheton/udp-ue4
Source/UDPWrapper/UDPWrapper.Build.cs
1,243
C#
using Microsoft.Azure.Documents; using Microsoft.Azure.Documents.Client; using Microsoft.Extensions.Configuration; using System; using System.Threading.Tasks; using NUnit.Framework; using SimpleEventStore.Tests.Events; namespace SimpleEventStore.AzureDocumentDb.Tests { [TestFixture] public class AzureDocument...
38.72
154
0.621556
[ "MIT" ]
GivePenny/SimpleEventStore
SimpleEventStore.AzureDocumentDb.Tests/AzureDocumentDbEventStoreLogging.cs
2,906
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...
38.51585
171
0.546727
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/Lightsail/Generated/Model/InstancePortInfo.cs
13,365
C#
using System; using System.IO; using Aitgmbh.Tapio.Developerapp.Web.Configurations; using Aitgmbh.Tapio.Developerapp.Web.Repositories; using Aitgmbh.Tapio.Developerapp.Web.Scenarios.MachineOverview; using Aitgmbh.Tapio.Developerapp.Web.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; u...
34.708738
170
0.629091
[ "MIT" ]
LarissaKoehne/tapiodeveloperapp
src/web/Startup.cs
3,575
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNet.Mvc.ModelBinding.Validation { public class ModelValidationResult { public ModelValidationResult(string member...
30.473684
111
0.670121
[ "Apache-2.0" ]
VGGeorgiev/Mvc
src/Microsoft.AspNet.Mvc.Abstractions/ModelBinding/Validation/ModelValidationResult.cs
579
C#
namespace ILG.Codex.CodexR4 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
72.723445
199
0.695919
[ "Unlicense" ]
IrakliLomidze/CodexDS16
DataTools/DatabaseInstallerDS.RC2/DatabaseInstallerDS/Form1.Designer.cs
193,867
C#
using System.Runtime.InteropServices; using UnityEngine; using OpenCvSharp; namespace Leap.Unity.AR.Testing { public class OpenCVStereoWebcam : MonoBehaviour { public int deviceNumber = 0; public Renderer leftDisplay, rightDisplay; public bool updateScreenAutomatically = true; [System.Non...
40.563636
128
0.634917
[ "MIT" ]
HyperLethalVector/ProjectEsky-UnityIntegration
Assets/Plugins/LeapMotion/North Star/Scripts/Calibration/OpenCVStereoWebcam.cs
4,464
C#
using System.Collections.Generic; using System.Threading.Tasks; #nullable enable namespace Couchbase.Management.Views { public interface IViewIndexManager { Task<DesignDocument> GetDesignDocumentAsync(string designDocName, DesignDocumentNamespace @namespace, GetDesignDocumentOptions? options = null); ...
41.170732
152
0.699645
[ "Apache-2.0" ]
Zeroshi/couchbase-net-client
src/Couchbase/Management/Views/IViewIndexManager.cs
1,688
C#
namespace Synology.Api.Client.ApiDescription { public interface IApisInfo { IApiInfo InfoApi { get; set; } IApiInfo AuthApi { get; set; } IApiInfo DownloadStationTaskApi { get; set; } IApiInfo FileStationCopyMoveApi { get; set; } IApiInfo FileStationExtractApi { get;...
22
53
0.634091
[ "MIT" ]
plneto/Synology.Api.Client
src/Synology.Api.Client/ApiDescription/IApisInfo.cs
442
C#
using System; using System.IO; using System.Text; using System.Collections.Generic; namespace SilentOrbit.ProtocolBuffers { static class ProtoParser { /// <summary> /// Parse a single .proto file. /// Return true if successful/no errors. /// </summary> publi...
32.064198
109
0.409595
[ "ECL-2.0", "Apache-2.0" ]
Facepunch/RustProtoBuf
CodeGenerator/ProtoParser.cs
12,986
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bee.Eee.Utility.Logging { /// <summary> /// The different defined logging levels. /// </summary> public enum Level : int { Info = 0, Debug = 1, Warn = 2, Error = 3, Notify = 4,...
24.285714
100
0.667647
[ "MIT" ]
sls1j/caveSpy
Utility/Logging/LoggingLevels.cs
342
C#
using Cloud.Storage.Azure.Tables.Partitioning; using Cloud.Storage.Tables; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage.Table; using System; using System.Threading.Tasks; namespace Cloud.Storage.Azure.Tables { public class TableStorageClient : ITableStorageClient { private static string PartitionTa...
28.258065
155
0.752854
[ "MIT" ]
bstark23/Cloud.Storage
src/Cloud.Storage.Azure/Tables/TableStorageClient.cs
1,754
C#
using GangOfFour.Core.Entities.Sales; namespace GangOfFour.Core.Interfaces.Repositories { public interface ICustomerRepository { Customer GetCustomerByFullName(string firstName, string lastName); } }
24.555556
74
0.764706
[ "MIT" ]
theMickster/joy-of-csharp
src/GangOfFour/GangOfFour.Core/Interfaces/Repositories/ICustomerRepository.cs
223
C#
// // The MIT License(MIT) // // Copyright(c) 2014 Demonsaw LLC // // 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, ...
33.087719
81
0.716861
[ "MIT" ]
demonsaw/Code
ds1/WpfClient/Machine/UploadQueueMachine.cs
1,888
C#
using System.Collections.Generic; using Machine.Specifications; namespace Stripe.Tests { public class when_creating_a_bank_account { private static StripeCustomer _stripeCustomer; private static BankAccountService _bankAccountService; private static BankAccountCreateOptions _bankAccoun...
41.818182
126
0.742935
[ "Apache-2.0" ]
dimarobert/stripe.net
src/Stripe.Tests/bank_accounts/when_creating_a_bank_account.cs
1,842
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("12...
37.918919
84
0.744833
[ "MIT" ]
yangra/SoftUni
TechModule/Programming Fundamentals/02.DataTypesAndVariables - Exercises/12.VowelOrDigit/Properties/AssemblyInfo.cs
1,406
C#
using AutoMapper; using MediatR; using Microsoft.Extensions.Logging; using Ordering.Application.Contracts.Persistance; using Ordering.Application.Exceptions; using Ordering.Domain.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Thread...
36.909091
133
0.719212
[ "MIT" ]
Daniel-stk/ECommerce
Microservices/Ordering/Ordering.Application/Features/Orders/Commands/DeleteOrder/DeleteOrderCommandHandler.cs
1,626
C#
using System; namespace _2016ODataInEF.Areas.HelpPage { /// <summary> /// This represents an invalid sample on the help page. There's a display template named InvalidSample associated with this class. /// </summary> public class InvalidSample { public InvalidSample(string errorMessage) ...
26.378378
134
0.576844
[ "MIT" ]
tkopacz/2016SQLDay
05OData/2016ODataInEF/2016ODataInEF/Areas/HelpPage/SampleGeneration/InvalidSample.cs
976
C#
using System.Collections.Generic; namespace JsonScribe { public static class Extensions { public static JsonLiteral ToJsonLiteral(this string value) => InternalToJsonLiteral(value); public static JsonArray ToJsonArray(this string[] value) => new JsonArray(value); public static JsonArra...
56.214286
100
0.722999
[ "MIT" ]
DallasP9124/JsonLite
JsonScribe/Extensions.cs
1,576
C#
using Newtonsoft.Json; using System.Collections.Generic; using System.Net; namespace PuppeteerSharp.Messaging { internal class RequestInterceptedResponse { public string InterceptionId { get; set; } public Payload Request { get; set; } public string FrameId { get; set; } public...
34.297297
72
0.658786
[ "MIT" ]
JamesMaclean-sc/puppeteer-sharp
lib/PuppeteerSharp/Messaging/RequestInterceptedResponse.cs
1,271
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IntroToTagHelpers.Services { // This class is used by the application to send Email and SMS // when you turn on two-factor authentication in ASP.NET Identity. // For more details see this link http:/...
32.076923
83
0.666667
[ "Apache-2.0" ]
Acidburn0zzz/Docs-6
mvc/views/tag-helpers/intro/sample/IntroToTagHelpers/src/IntroToTagHelpers/Services/MessageServices.cs
836
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/d3d12.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. namespace TerraFX.Interop.DirectX; ...
59
175
0.804237
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/DirectX/um/d3d12/D3D12_INDEX_BUFFER_STRIP_CUT_VALUE.cs
1,182
C#
namespace dxDrawLib.Server.Helpers { internal class Helpers { public static int Clamp( int value, int min, int max ) => value <= min ? min : value >= max ? max : value; } }
22.666667
115
0.578431
[ "MIT" ]
KingSyBozz/dxDrawLib
dxDrawLib/src/Server/Helpers/Helpers.cs
206
C#
using System; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using DG.Tweening; using TMPro; using UnityEngine; using UnityEngine.SceneManagement; namespace Runtime { public class GameWinController : MonoBehaviour { [SerializeField] private CanvasGroup canv...
34.672414
173
0.610641
[ "MIT" ]
TeodorVecerdi/saxion_project_show_off
Project Show Off/Assets/Scripts/Runtime/UI/Game Over/GameWinController.cs
2,013
C#
using UnityEngine; using System.Collections; public class RandomTime : MonoBehaviour { public GameObject longHand,shortHand; int time; // Use this for initialization void Start () { time = (int)Random.Range (1.0F, 11.0F); shortHand.transform.Rotate (0, 0, time*-30); } // Update is called once per frame ...
19.111111
46
0.69186
[ "BSD-3-Clause" ]
BuildmLearn/Mobile-applications
Tell the Time/Assets/Scripts/Stage2/RandomTime.cs
346
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("Co...
37.472222
84
0.74722
[ "Apache-2.0" ]
dmitry-a-morozov/fsharp-wpf-mvc-series
Appendix - Silverlight5/SampleApp.Controls/Properties/AssemblyInfo.cs
1,352
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BattleTeam.PythonComponents.Team; using BattleTeam.Shared; using WaveEngine.Common.Math; using WaveEngine.Framework; using WaveEngine.Framework.Graphics; using WaveEngine.Framework.Physics2D; name...
31.375
138
0.79761
[ "MIT" ]
Lucrecious/Battle-Team
game/battle_team/Entities/Behaviors/GunnerBehavior.cs
1,257
C#
using EPlast.BLL.DTO.Account; using Microsoft.AspNetCore.Identity; using System.Threading.Tasks; namespace EPlast.BLL.Interfaces { public interface IAuthEmailService { /// <summary> /// Confirming Email after registration /// </summary> /// <param name="userId"></param> ...
35.04
98
0.599886
[ "MIT" ]
ita-social-projects/EPlas
EPlast/EPlast.BLL/Interfaces/Auth/IAuthEmailService.cs
1,754
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
40.916667
80
0.647658
[ "MIT" ]
olga-yuz/SensorProject
VehicleLib/obj/Release/net5.0/VehicleLib.AssemblyInfo.cs
982
C#
using System.Linq; using System.Reflection; namespace AutoMapper { public class ConstructorParameterMap { public ConstructorParameterMap(ParameterInfo parameter, IMemberGetter[] sourceResolvers) { Parameter = parameter; SourceResolvers = sourceResolvers; ...
28.192308
104
0.641201
[ "MIT" ]
Venzhyk/AutoMapper
src/AutoMapper/ConstructorParameterMap.cs
733
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using TeleSharp.TL; namespace TeleSharp.TL { [TLObject(1653390447)] public class TLSendMessageChooseContactAction : TLAbsSendMessageAction { public override int Constr...
17.45
74
0.587393
[ "MIT" ]
slctr/Men.Telegram.ClientApi
Men.Telegram.ClientApi/TL/TL/TLSendMessageChooseContactAction.cs
698
C#
using System; using System.Collections.Generic; using System.Text; namespace Math_Library { public class Matrix4 { public float m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44; public Matrix4() { m11 = 1; m12 = 0; m13 = 0; m14 = ...
46.7
336
0.503426
[ "MIT" ]
thebotfly/MathForGames2022
Matrix4.cs
4,672
C#
namespace MLAgents.Sensor { public enum SensorCompressionType { None, PNG } /// <summary> /// Sensor interface for generating observations. /// For custom implementations, it is recommended to SensorBase instead. /// </summary> public interface ISensor { /// ...
36.8375
126
0.595182
[ "Apache-2.0" ]
107587084/ml-agents
com.unity.ml-agents/Runtime/Sensor/ISensor.cs
2,947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CrowdAnalyzer.Models { public class CamFrameSummary { public CamFrameSummary() { AgeGenderDistribution = new AgeGenderDistribution { ...
26.96
72
0.62908
[ "MIT" ]
mohaom/IntelligentExperiences.OnContainers
src/services/CrowdAnalyzer/Models/CamFrameSummary.cs
676
C#
using Html2Amp.Sanitization.Implementation; using Html2Amp.UnitTests.Helpers; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Html2Amp.UnitTests.StyleAttributeSanitizerTests { [TestClass]...
25.972222
109
0.765775
[ "Apache-2.0" ]
mustakimali/Html2Amp
Html2Amp.UnitTests/StyleAttributeSanitizerTests/StyleAttributeSanitizer_Sanitize_Should.cs
937
C#
using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using ChilliCream.Testing; using HotChocolate.Execution; using HotChocolate.Execution.Processing; using HotChocolate.Language; using HotChocolate.Types; using Microsoft.Extensions.DependencyInjection; using Xunit; namespace HotChocola...
35.201754
97
0.561425
[ "MIT" ]
RohrerF/hotchocolate
src/HotChocolate/__remove/Stitching2/test/Stitching.Tests/FooTests.cs
4,013
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using Disqord; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Unix.Common; using Unix.Data.Models.Core; using Unix.Data.Models.Moderation; namespace Unix....
39.069767
134
0.710119
[ "MIT" ]
n-Ultima/UnixBot
Unix.Data/UnixContext.cs
1,682
C#
// ReSharper disable once CheckNamespace namespace Fluent { using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using Fluent.Internal; /// <summary> /// Represent panel with ribbon group. /// It is ...
31.479201
160
0.532269
[ "MIT" ]
GerHobbelt/Fluent.Ribbon
Fluent.Ribbon/Controls/RibbonGroupsContainer.cs
18,919
C#
using GoogleApi.Entities.Maps.Geocoding.Common.Enums; using Newtonsoft.Json; namespace GoogleApi.Entities.Common { /// <summary> /// Geometry. /// </summary> public class Geometry { /// <summary> /// Location contains the geocoded latitude,longitude value. /// For normal a...
41.75
143
0.647904
[ "MIT" ]
Prologh/GoogleApi
GoogleApi/Entities/Common/Geometry.cs
1,672
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 ...
20.56338
63
0.669178
[ "Apache-2.0" ]
pengweiqhca/aliyun-openapi-net-sdk
aliyun-net-sdk-cbn/Cbn/Model/V20170912/CreateFlowlogResponse.cs
1,460
C#
using CMS; using CMS.Base.Web.UI; using CMS.UIControls; using URLRedirection.Extenders; [assembly: RegisterCustomClass("RedirectionExtender", typeof(RedirectionExtender))] namespace URLRedirection.Extenders { public class RedirectionExtender : ControlExtender<UniGrid> { public override void OnInit() ...
31.634146
119
0.552814
[ "MIT" ]
KenticoDevTrev/KenticoURLRedirectionModule
K12.0/Source-Admin/RedirectionExtender.cs
1,299
C#
using System; using osu.Framework; using osu.Framework.Platform; using osu.Game.Tests; namespace osu.Game.Rulesets.Tau.Tests { public static class VisualTestRunner { [STAThread] public static int Main(string[] args) { using (DesktopGameHost host = Host.GetSuitab...
21.454545
78
0.538136
[ "MIT" ]
Altenhh/tau
osu.Game.Rulesets.Tau.Tests/VisualTestRunner.cs
453
C#
using System; using System.Collections.Generic; using System.Net; using System.Net.Sockets; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using Renci.SshNet.Channels; using Renci.SshNet.Common; namespace Renci.SshNet.Tests.Classes { [TestClass] public class ForwardedPortDynamicTest_Start_Port...
31.891892
106
0.608757
[ "MIT" ]
0xced/SSH.NET
src/Renci.SshNet.Tests/Classes/ForwardedPortDynamicTest_Start_PortStarted.cs
3,542
C#