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.Data; using System.Data.Common; using System.Dynamic; using System.Linq.Expressions; using System.Reflection; namespace SqlProfiler { /// <summary> /// Generic <see cref="DbCommand"/> wrapper with dynamic tricks to allow easy access to driver-specific properties of wrapped command ...
39.770764
253
0.63871
[ "BSD-3-Clause" ]
MightyOrm/SqlProfiler
CommandWrapper.cs
11,973
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("Ple...
37.675676
84
0.748207
[ "MIT" ]
Lokukarawita/MediaUtilz
src/PlexMovieName/Properties/AssemblyInfo.cs
1,397
C#
using Microsoft.AspNetCore.Http; namespace Exceptionless.Web.Controllers { public class PermissionResult { public bool Allowed { get; set; } public string Id { get; set; } public string Message { get; set; } public int StatusCode { get; set; } public static PermissionRe...
34.019231
133
0.574336
[ "Apache-2.0" ]
aTiKhan/Exceptionless
src/Exceptionless.Web/Controllers/Base/PermissionResult.cs
1,771
C#
// Copyright (C) Microsoft. All rights reserved. Licensed under the MIT License. using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; namespace Microsoft.ApplicationInspector.RulesEngine { /// <summary> /// Class to handle text ...
36.015564
130
0.515233
[ "MIT" ]
guyacosta/ApplicationInspector
RulesEngine/TextContainer.cs
9,258
C#
using System.Text; using EventStore.Client; using Newtonsoft.Json.Linq; using ES.Core.Events; namespace ES.EventStoreDb.Extensions; public static class EventsExtension { public static Event AsEvent(this EventRecord eventRecord) => new(GetEventJson(eventRecord)); public static AggregateEvent AsAggregateEv...
31.65625
114
0.726555
[ "Apache-2.0" ]
v-oleg/ES
ES.EventStoreDb/Extensions/EventsExtension.cs
1,013
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...
38.16129
266
0.615103
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/recoveryservicesbackup/Generated/Models/BMSRPQueryObject.cs
3,549
C#
using TMPro; using UnityEngine; namespace MokomoGames.UI { public class UIRankConfirm : MonoBehaviour { [SerializeField] private TextMeshProUGUI currentRankText; [SerializeField] private UIGaugeWithUpperLabel expGauge; [SerializeField] private UIGaugeWithUpperLabel staminaGauge; ...
32.206897
93
0.669165
[ "MIT" ]
sim-mokomo/ECity
Assets/Scripts/UI/UIRankConfirm.cs
944
C#
//----------------------------------------------------------------------- // <copyright file="CompressorModel.cs" company="SRON"> // Copyright (c) 2017 SRON // </copyright> //----------------------------------------------------------------------- namespace CryostatControlClient.Models { using System; using ...
27.032468
73
0.46553
[ "MIT" ]
BBekker/CryostatControl
CryostatControlClient/Models/CompressorModel.cs
4,163
C#
using System; using System.Collections.ObjectModel; using Telerik.UI.Xaml.Controls.Data; using Windows.UI.Xaml.Controls; // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 namespace SDKExamples.UWP.Listview { /// <summary> /// An empty page that can be used on its ...
29.971429
96
0.63489
[ "Apache-2.0" ]
ChristianGutman/UI-For-UWP
SDKExamples.UWP/Examples/ListView/PullToRefresh.xaml.cs
1,051
C#
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(AutoMapperInWebAPI.Startup))] namespace AutoMapperInWebAPI { public partial class Startup { public void Configuration(IAppBuilder app) { ConfigureAuth...
18.157895
59
0.686957
[ "MIT" ]
peteratseneca/dps907fall2018
Week_01/AutoMapperInWebAPI/AutoMapperInWebAPI/Startup.cs
347
C#
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Traccar_Control_Panel_WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Applica...
18.833333
42
0.716814
[ "MIT" ]
Cale-Torino/Traccar_Control_Panel
WPF/Traccar_Control_Panel_WPF/Forms/App.xaml.cs
341
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...
34
326
0.663399
[ "ECL-2.0", "Apache-2.0" ]
alexbowers/pulumi-aws
sdk/dotnet/WafV2/Outputs/WebAclRuleActionCountCustomRequestHandlingInsertHeader.cs
1,224
C#
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must ...
35.327778
111
0.614405
[ "BSD-3-Clause" ]
SignpostMarv/opensim
OpenSim/Services/Connectors/SimianGrid/SimianExternalCapsModule.cs
6,361
C#
// "Therefore those skilled at the unorthodox // are infinite as heaven and earth, // inexhaustible as the great rivers. // When they come to an end, // they begin again, // like the days and months; // they die and are reborn, // like the four seasons." // // - Sun Tsu, // "The Art of War" using System; using System...
31.327273
165
0.583575
[ "BSD-3-Clause" ]
xxami/htmlrenderer-dotnetcore
Ribbon.HtmlRenderer/Core/Entities/HtmlStylesheetLoadEventArgs.cs
3,446
C#
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ...
39.156627
136
0.657538
[ "Apache-2.0" ]
Algoman2010/Lean
Tests/Brokerages/OrderTestParameters.cs
3,250
C#
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com //All rights reserved. using Kooboo.Data.Context; using Kooboo.Data.Interface; using System; using System.Collections.Generic; namespace Kooboo.Sites.Scripting { public static class ExtensionContainer { private static object _locker ...
27.219178
117
0.433317
[ "MIT" ]
VZhiLinCorp/Kooboo
Kooboo.Sites/Scripting/ExtensionContainer.cs
1,987
C#
using System.Runtime.Serialization; namespace EncompassRest.Loans.Enums { public enum UlddMortgageOriginator { Broker = 0, Lender = 1, Correspondent = 2 } }
17.545455
38
0.637306
[ "MIT" ]
gashach/EncompassRest
src/EncompassRest/Loans/Enums/UlddMortgageOriginator.cs
193
C#
using MediatR; namespace SFA.DAS.ProviderApprenticeshipsService.Application.Commands.DeleteCommitment { public sealed class DeleteCommitmentCommand : IRequest { public string UserId { get; set; } public long ProviderId { get; set; } public long CommitmentId { get; set; } public...
29.928571
86
0.680191
[ "MIT" ]
SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Application/Commands/DeleteCommitment/DeleteCommitmentCommand.cs
421
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("Wei...
37.277778
84
0.749627
[ "Apache-2.0" ]
sunchun1979/weiqiz
weiqiz/WeiqiUX/Properties/AssemblyInfo.cs
1,345
C#
using System; using System.IO; using System.Xml.Serialization; namespace Codice.CmdRunner { [Serializable] public class LaunchCommandConfig { public string FullServerCommand; public string CmShellComand; public string AllServerPrefixCommand; public string ClientPath; } ...
26.47191
91
0.57725
[ "MIT" ]
PlasticSCM/syncservertrigger
syncservertrigger/syncservertrigger/cmdrunner/LaunchCommand.cs
2,358
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Nyuzi_StackTracer { public class LogBoxItem : BoxItem { string disp_string; string info_string; bool correctness; int stack_record_idx; Int32 thread...
34.819444
137
0.552054
[ "MIT" ]
s117/Nyuzi_StackTracer
Nyuzi_StackTracer/LogBoxItem.cs
2,509
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; namespace Azure.ResourceManager.Cdn.Models { /// <s...
39.388889
229
0.732957
[ "MIT" ]
93mishra/azure-sdk-for-net
sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/LongRunningOperation/AfdRuleDeleteOperation.cs
2,127
C#
using Imagin.Common.Linq; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; namespace Imagin.Common.Controls { public class TransformAdorner : Adorner { #r...
38.361702
196
0.572318
[ "BSD-2-Clause" ]
imagin-tech/Imagin.NET
Imagin.Common.WPF/Controls/Other/TransformAdorner.cs
16,235
C#
using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Owin.Security; using System.Web; using System; using Capstone_Project; namespace Capstone_Project { // You can add User data for the user by adding more properties to your User class, please visit http://go.microsoft...
33.285714
179
0.635973
[ "MIT" ]
maziesmith/MS4363-Fall16
App_Code/IdentityModels.cs
2,565
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lab3.FeistelCipher.Cryptography { public enum CryptoTransformMode { Encrypt, Decrypt } }
17.266667
42
0.679537
[ "MIT" ]
pantosha/University-MZI
Lab3.FeistelCipher/Cryptography/CryptoTransformMode.cs
261
C#
using System; using System.Collections.Generic; using System.Text; namespace DataStructures.HashTable { // Key value look-up //we want to store the date in an array public class Hashtable { // First We need to set up our Hash Table. Our Hash table will use a node public class Node ...
30.443662
167
0.455008
[ "MIT" ]
mrsantons/401-DSA
DataStructures/HashTables/HashTable.cs
4,325
C#
#region "copyright" /* Copyright Dale Ghent <daleg@elemental.org> 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/ */ #endregion "copyright" using System; us...
23.740741
79
0.681747
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
daleghent/nina-shutdown-pc
Utility/ItemLists.cs
643
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...
51.259517
578
0.60021
[ "Apache-2.0" ]
FoxBearBear/aws-sdk-net
sdk/src/Services/WAF/Generated/_bcl45/AmazonWAFClient.cs
632,850
C#
using System.Net; using NUnit.Framework; [SetUpFixture] public class InitializeTests { [OneTimeSetUp] public void OneTimeSetUp() { ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; } }
21.846154
130
0.75
[ "Apache-2.0" ]
ClaudineL/ZendeskApi_v2
test/ZendeskApi_v2.Test/InitializeTests.cs
286
C#
using Moq; using NUnit.Framework; using System; using TravelGuide.Data; using TravelGuide.Models.Articles; using TravelGuide.Services.Articles; using TravelGuide.Services.Factories; namespace TravelGuide.Tests.Services.Articles.ArticleServiceTests { [TestFixture] public class DeleteComment_Should { ...
36.292308
112
0.640526
[ "MIT" ]
dimitar-pechev/TravelGuide
TravelGuide.Tests/Services/Articles/ArticleServiceTests/DeleteComment_Should.cs
2,361
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...
25.675
101
0.579844
[ "Apache-2.0" ]
tap4fun/aws-sdk-net
sdk/src/Services/EC2/Generated/AmazonEC2Config.cs
2,054
C#
using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace DougKlassen.Revit.Perfect.Interface { /// <summary> /// Wrapper class for an object that tracks whether it is selected by the user and provides /// properties to be bo...
32.463636
107
0.535564
[ "Apache-2.0", "MIT" ]
dougklassen/Revit-Perfect
Perfect/Perfect/Interface/SelectObjectsWindow.xaml.cs
7,144
C#
#region BSD License /* * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE.md file or at * https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.471/blob/master/LICENSE * */ #endregion using ComponentFactory.Krypton.Toolkit; using System.ComponentModel; using...
26.619048
90
0.765653
[ "BSD-3-Clause" ]
Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.471
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/ExtendedToolkit/Controls/Experimental/KryptonMessageboxComponent.cs
561
C#
using CoreRPC.Binding; using CoreRPC.Binding.Default; using CoreRPC.CodeGen; using CoreRPC.Routing; using CoreRPC.Serialization; using CoreRPC.Transport; namespace CoreRPC { public class Engine { private readonly IMethodBinder _binder; private readonly IMethodCallSerializer _serializer; ...
32.36
129
0.639679
[ "MIT" ]
kekekeks/AsyncRpc
CoreRPC/Engine.cs
1,620
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...
31.914894
114
0.641333
[ "Apache-2.0" ]
polivbr/pulumi-azure-native
sdk/dotnet/Web/V20201001/Outputs/HandlerMappingResponse.cs
1,500
C#
using System; using System.IO; namespace ICSharpCode.SharpZipLib.Zip { public interface IDynamicDataSource { Stream GetSource(ZipEntry entry, string name); } }
15.090909
48
0.777108
[ "MIT" ]
moto2002/jiandangjianghu
src/ICSharpCode.SharpZipLib.Zip/IDynamicDataSource.cs
166
C#
using System; using System.Threading.Tasks; namespace Dex.Lock.Async { public interface IAsyncLock<T> where T : IDisposable { /// <summary> /// Take async lock, return after lock is taken /// </summary> /// <returns></returns> ValueTask<T> LockAsync(); } }
22.142857
56
0.587097
[ "MIT" ]
dex-it/dex-common
src/Dex.Lock/Dex.Lock/Async/IAsyncLock.cs
312
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WGApi { public enum Region { eu, com, ru, asia } }
13.117647
33
0.609865
[ "MIT" ]
chipsi007/wg-api-wrapper
WGApiClient/Enums/Region.cs
225
C#
// Copyright (c) Dolittle. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Dolittle.Runtime.Services; namespace Dolittle.Runtime.Management { /// <summary> /// Represents a <see cref="IRepresentServiceType">service ...
33.870968
111
0.672381
[ "MIT" ]
dolittle/Runtime
Source/Management/ManagementServiceType.cs
1,050
C#
using System; using System.IO; using System.Runtime.InteropServices; using Imagini.Drawing; using SixLabors.ImageSharp; using SixLabors.ImageSharp.Advanced; using SixLabors.ImageSharp.PixelFormats; namespace Imagini.ImageSharp { /// <summary> /// Contains various Graphics-related extensions. /// </summary>...
34.463768
92
0.533642
[ "MIT" ]
project-grove/imagini
Imagini.ImageSharp/GraphicsExtensions.cs
2,378
C#
using System.Threading.Tasks; namespace Algenic.Commons { public interface IQueryHandler<in TQuery, TResult> { Task<TResult> HandleAsync(TQuery query); } }
17.8
54
0.696629
[ "BSD-3-Clause" ]
marax27/Algenic
Algenic.Commons/IQueryHandler.cs
180
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AssetFundInfo Data Structure. /// </summary> [Serializable] public class AssetFundInfo : AopObject { /// <summary> /// 创建权益模板的金额,创建权益模板时需要指定实际金额,单元是元 /// </summary> ...
32.023256
136
0.598402
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Domain/AssetFundInfo.cs
2,067
C#
using CoreGraphics; using Microsoft.Maui.Controls.Internals; #if __MOBILE__ using UIKit; namespace Microsoft.Maui.Controls.Compatibility.Platform.iOS #else using UIView = AppKit.NSView; namespace Microsoft.Maui.Controls.Compatibility.Platform.MacOS #endif { public class NativeViewWrapperRenderer : ViewRenderer<Native...
28.909091
97
0.740741
[ "MIT" ]
Amir-Hossin-pr/maui
src/Compatibility/Core/src/iOS/NativeViewWrapperRenderer.cs
2,862
C#
namespace ET { public class Darius_R_CollisionHandler: AB2S_CollisionHandler { public override void HandleCollisionStart(Unit a, Unit b) { throw new System.NotImplementedException(); } public override void HandleCollisionSustain(Unit a, Unit b) { ...
26.15
67
0.617591
[ "MIT" ]
futouyiba/ClubET
Server/Hotfix/NKGMOBA/Battle/Box2D/CollisionHandler/Darius_R_CollisionHandler.cs
525
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Text.RegularExpressions; using Auto...
37.954474
184
0.542499
[ "MIT" ]
DiogenesPolanco/autorest
src/generator/AutoRest.Ruby/Model/MethodRb.cs
24,179
C#
using System.Collections.Generic; namespace Bio.Algorithms.Alignment { /// <summary> /// An ISequenceAlignment is the result of running an alignment algorithm on a set /// of two or more sequences. This could be a pairwise alignment, an MSA (multiple /// sequence alignment), or an overlap alignment ...
36.97561
114
0.626649
[ "Apache-2.0" ]
jdm7dv/Microsoft-Biology-Foundation
Source/Framework/Bio/Algorithms/Alignment/ISequenceAlignment.cs
1,524
C#
namespace Toolset.Networking { /// <summary> /// A class of settings that can be passed into a NetworkRequest to modify its behavior. /// </summary> public class NetworkRequestSettings { /// <summary> /// An enum value representing how this request should behave in the case o...
35.423077
93
0.596091
[ "Apache-2.0" ]
Karazaa/Toolset
Assets/Toolset/Networking/Scripts/BaseNetworkRequest/NetworkRequestSettings.cs
921
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20210201Preview { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// <summary>Storage setting</summary> public partial class StorageSetting : Microsoft.Azure.PowerShell.Cmdlets.DataProtec...
54.968254
181
0.710367
[ "MIT" ]
Khushboo-Baheti/azure-powershell
src/DataProtection/generated/api/Models/Api20210201Preview/StorageSetting.cs
3,401
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; using System.Collections.Generic; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityF...
48.152941
127
0.657953
[ "Apache-2.0" ]
joshcomley/EntityFramework-archive
src/Microsoft.EntityFrameworkCore/DbContextOptions.cs
4,093
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Charlotte.Commons; using Charlotte.GameCommons; namespace Charlotte.Tests { public class Test0001 { public void Test01() { for (; ; ) { if (DDInput.PAUSE.GetInput() == 1) { Ground.I.Music.MUS_TITLE.Pla...
17.12766
40
0.596273
[ "MIT" ]
soleil-taruto/Elsa
e20201224_Udongedon/Elsa20200001/Elsa20200001/Tests/Test0001.cs
817
C#
using Microsoft.AspNetCore.Authorization; using Microsoft.Extensions.DependencyInjection; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using System.Linq; namespace Tailwind.Traders.WebBff.Extensions { public static class SwaggerExtensions {...
36.803279
108
0.563029
[ "MIT" ]
4villains/TailwindTraders-Backend-1
Source/ApiGWs/Tailwind.Traders.WebBff/Extensions/SwaggerExtensions.cs
2,247
C#
using OpenItems.Properties; namespace GSA.OpenItems.Web { using System; using System.Configuration; using Data; public partial class FundsReport : PageBase { private readonly UsersBO Users; public FundsReport() { Users = new UsersBO(this.Dal, new EmailsBO(this....
44.296296
399
0.560201
[ "CC0-1.0" ]
gaybro8777/FM-ULO
Archive/OpenItems/FundStatus/FundsReport.aspx.cs
5,980
C#
using System.Collections.Generic; using Newtonsoft.Json; namespace Pipedrive.CustomFields { public class PersonCustomField : ICustomField { [JsonProperty("name")] public string Name { get; set; } [JsonProperty("email")] public List<Email> Email { get; set; } [JsonProp...
22.047619
49
0.604752
[ "MIT" ]
adrianotrentim/pipedrive-dotnet
src/Pipedrive.net/Models/Common/CustomFields/PersonCustomField.cs
465
C#
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; using GLTF; using GLTF.Schema; using UnityEngine; using UnityEngine.Networking; using UnityEngine.Rendering; using UnityGLTF.Cache; using UnityGLTF.Extensions; namespace UnityGL...
43.973624
209
0.528726
[ "MIT" ]
Dennou-Coil/HoloGPSReceiver
Assets/HoloToolkit/Utilities/Scripts/GLTF/Scripts/GLTFSceneImporter.cs
38,345
C#
using Cysharp.Threading.Tasks; namespace EVANGELION { using UnityEngine; public class ScreenBase { public virtual string mResName { get; } public GameObject mPanelRoot = null; protected UICtrlBase mCtrlBase; public int mOpenOrder = 0; // 界面打开顺序 public int mSorting...
25.030303
131
0.546408
[ "MIT" ]
sunny2019/EVANGELION-01-Quick
Assets/Scripts/EVANGELION/UI/Framework/ScreenBase/ScreenBase.cs
2,616
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...
27.710526
111
0.581197
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/SavingsPlans/Generated/Model/SavingsPlanRateProperty.cs
2,106
C#
// Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. using System; using System.Runtime.CompilerServices; namespace SixLabors.ImageSharp.Formats.Jpeg.PdfJsPort.Components { /// <summary> /// Performs the inverse Descrete Cosine Transform on each frame component. ...
45.410156
171
0.484172
[ "Apache-2.0" ]
axunonb/ImageSharp
src/ImageSharp/Formats/Jpeg/PdfJsPort/Components/PdfJsIDCT.cs
23,252
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Tools.Parser.Parsers; using Tools.Parser.Units; namespace Tools.Parser { using File = Units.File; using Type = Units.Type; using ClangSharp; public class ClangParser : Parser { public string Root { ge...
35.820106
146
0.647267
[ "MIT" ]
jbatonnet/System
Source/[Tools]/Tools.Parser/Parsers/Cpp/Clang/ClangParser.cs
20,312
C#
using System; using System.Reflection; using System.Text; using System.Xml; using System.Xml.Linq; using BepInEx.Logging; using HarmonyLib; using Pathfinder.Util.XML; namespace Pathfinder.Util { [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = false, Inherited = false)] publ...
38.693989
143
0.530716
[ "MIT" ]
MaowImpl/Hacknet-Pathfinder
PathfinderAPI/Util/XMLStorageAttribute.cs
7,083
C#
// // Mono.Cxxi.Abi.MsvcAbi.cs: An implementation of the Microsoft Visual C++ ABI // // Author: // Alexander Corrado (alexander.corrado@gmail.com) // Andreia Gaita (shana@spoiledcat.net) // // Copyright (C) 2010-2011 Alexander Corrado // // Permission is hereby granted, free of charge, to any person obtaining // a ...
32.081448
113
0.676728
[ "MIT" ]
akash246/cxxi
src/Mono.Cxxi/Abi/Impl/MsvcAbi.cs
7,090
C#
using System.Xml.Serialization; using Newtonsoft.Json; namespace Essensoft.AspNetCore.Payment.Alipay.Response { /// <summary> /// AlipayEcoMycarMaintainOrderCreateResponse. /// </summary> public class AlipayEcoMycarMaintainOrderCreateResponse : AlipayResponse { /// <summary> /// 业务订...
28.789474
98
0.647166
[ "MIT" ]
AkonCoder/Payment
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayEcoMycarMaintainOrderCreateResponse.cs
611
C#
namespace EventStore.Library.Models { public record EventData(string Id, string AggregateId, string EventName, string Data, string AssemblyQualifiedName); }
32.4
120
0.802469
[ "MIT" ]
beyondnetPeru/Beyondnet.Product.SkillMap
src/BuildingBlocks/EventStore/EventStore.Library/Models/EventData.cs
164
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.ImageSearch.V1.Model { /// <summary> /// Response Object /// </summary> ...
27.144737
87
0.516723
[ "Apache-2.0" ]
cnblogs/huaweicloud-sdk-net-v3
Services/ImageSearch/V1/Model/RunCheckPictureResponse.cs
2,173
C#
namespace Gecko.WebIDL { using System; internal class OES_texture_float_linear : WebIDLBase { public OES_texture_float_linear(nsIDOMWindow globalWindow, nsISupports thisObject) : base(globalWindow, thisObject) { } } }
19.6
93
0.608844
[ "MIT" ]
haga-rak/Freezer
Freezer/GeckoFX/__Core/WebIDL/Generated/OES_texture_float_linear.cs
294
C#
#pragma checksum "/Users/satishpe/Projects/eks-demo/dotnetcore-eks-demo/dotnetcore-eks-demo/Pages/Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "cc695e7b6fc60e9a6fcc9e9cd75eefa24d7b3f98" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAtt...
48.241758
204
0.749431
[ "MIT" ]
pskseattle/dotnetcore-eks-demo
dotnetcore-eks-demo/obj/Debug/netcoreapp3.1/Razor/Pages/Error.cshtml.g.cs
4,390
C#
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Atf.Gui")] [assembly: AssemblyDesc...
39.5
90
0.724332
[ "Apache-2.0" ]
HaKDMoDz/ATF
Framework/Atf.Gui/Properties/AssemblyInfo.cs
1,390
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; using Topten.Sharp86; namespace UnitTests { public class OpCodeTests80 : CPUUnitTests { [Fact] public void Add_Eb_Ib() { MMU.WriteByte(0, 100, 40); emit("add byte ...
23.542484
53
0.420738
[ "Apache-2.0" ]
Zapeth/Sharp86
UnitTests/OpCodeTests80.cs
7,206
C#
/* Yet Another Forum.NET * Copyright (C) 2003-2005 Bjørnar Henden * Copyright (C) 2006-2013 Jaben Cargman * Copyright (C) 2014-2021 Ingo Herbote * https://www.yetanotherforum.net/ * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file...
37.229508
144
0.572435
[ "Apache-2.0" ]
10by10pixel/YAFNET
yafsrc/YetAnotherForum.NET/Controls/AlbumList.ascx.cs
6,632
C#
using System; using Xunit; namespace Rhino.Mocks.Tests.FieldsProblem { public class FieldProblem_Sander { [Fact] public void CanUseOutIntPtr() { IFooWithOutIntPtr mock = MockRepository.GenerateStrictMock<IFooWithOutIntPtr>(); IntPtr parameter; ...
28.791667
105
0.60492
[ "BSD-3-Clause" ]
alaendle/rhino-mocks
Rhino.Mocks.Tests/FieldsProblem/FieldProblem_Sander.cs
691
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("01...
37.810811
84
0.742673
[ "MIT" ]
plamenrusanov/Programming-Fundamentals
Objects and Simple Classes - Exercises/01. Exercises/Properties/AssemblyInfo.cs
1,402
C#
public enum AddonHost { Camera = 1, ActivePlane = 2, GameScene = 3, Persistant = 4 }
14.428571
22
0.584158
[ "MIT" ]
CarnationRED/UnityRuntimeInspector_SimplePlanes
RuntimeInspector_Main/AddonHost.cs
103
C#
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Maticsoft.Web.m_weixin.message_model.req { public class ReqVoiceMessage : ReqBaseMessage { public String MediaId { get; set; } public String Format { get; set; } } }
22.307692
50
0.7
[ "Unlicense" ]
nature-track/wenCollege-CSharp
Web/m_weixin/message_model/req/ReqVoiceMessage.cs
292
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Conductor : MonoBehaviour { [SerializeField] int _ticksPerEighth = 10; [SerializeField] float _audioLatency; [SerializeField] AudioSource _hatSound; [SerializeField] AudioSource _openHatSound; [SerializeFie...
24.927711
79
0.518125
[ "MIT" ]
jaburns/vrtests
Assets/BeatsketBall/Conductor.cs
2,071
C#
using System.Collections.Generic; using System.Xml.Serialization; using Newtonsoft.Json; namespace OwinFramework.Pages.Core.Debug { /// <summary> /// Debug information about a layout /// </summary> public class DebugRenderContext : DebugInfo { /// <summary> /// Default public const...
25.444444
68
0.573144
[ "Apache-2.0" ]
forki/OwinFramework.Pages
OwinFramework.Pages.Core/Debug/DebugRenderContext.cs
918
C#
using Newtonsoft.Json; using Seemon.Vault.Helpers; namespace Seemon.Vault.Models { public class Settings : BindableBase { [JsonConstructor] public Settings() { Application = new ApplicationSettings(); System = new SystemSettings(); Clipboard = new Cl...
29.978261
72
0.617114
[ "MIT" ]
fossabot/Vault-3
src/Models/Settings.cs
1,381
C#
//----------------------------------------------------------------------------- // FILE: Test_CsvWriter.cs // CONTRIBUTOR: Jeff Lill // COPYRIGHT: Copyright (c) 2005-2021 by neonFORGE LLC. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ex...
29.673077
98
0.626701
[ "Apache-2.0" ]
nforgeio/neonKUBE
Test/Test.Neon.Common/Csv/Test_CsvWriter.cs
1,545
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...
33.690476
117
0.715901
[ "ECL-2.0", "Apache-2.0" ]
pulumi/pulumi-sumologic
sdk/dotnet/Outputs/DashboardPanelSumoSearchPanelQueryMetricsQueryData.cs
1,415
C#
// <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Gov.Jag.PillPressRegistry.Interfaces { using Microsoft.Rest; using Models; using System.Collections; usi...
43.989474
537
0.620962
[ "Apache-2.0" ]
GeorgeWalker/jag-pill-press-registry
pill-press-interfaces/Dynamics-Autorest/ILocationincidentequipmentlocation.cs
4,179
C#
using System.Collections.Generic; using Blocknet.Lib.CoinParameters.Blocknet; using Blocknet.Lib.Services.Coins.Base; using Blocknet.Lib.Services.Coins.Blocknet; using Blocknet.Lib.Services.Coins.Blocknet.Xrouter; using Blocknet.Lib.Services.Coins.Blocknet.Xrouter.BitcoinBased; using Xrouter.Service.Explorer.BitcoinLib...
41.083333
74
0.839757
[ "MIT" ]
XRouter-Service-Explorer/Blocknet.Lib
Services/Coins/Blocknet/IXCloudService.cs
493
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.md file in the project root for more information. using System; using System.Collections.Immutable; using System.ComponentModel; using Microsoft.Build.Framework.Xa...
50.398734
201
0.647369
[ "MIT" ]
Ashishpatel2321/project-system
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/Properties/LaunchProfiles/ProjectLaunchProfileExtensionValueProvider.cs
7,808
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.Drawing; using System.IO; using System.Linq; using Sys...
47.311189
187
0.622053
[ "MIT" ]
calcbench/machinelearning
src/Microsoft.ML.ImageAnalytics/ImageLoader.cs
13,533
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraControl : MonoBehaviour { public BoolField movingCamera; [Header("Input Senstivity")] public FloatField swipeMagnitude; public float swipeMultiplier = 0.15f; public FloatField pinchMagnitude; pub...
31.721088
119
0.650869
[ "Apache-2.0" ]
gitNader/ElMasna3-2.0
Assets/Scripts/Camera/CameraControl.cs
4,665
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
31.363636
85
0.504348
[ "MIT" ]
faisalalfareza/crm-outbound-contactcenter-web
Models/TR_Role.cs
690
C#
using System; using System.Collections.Generic; using System.Text; namespace Nucleo.Windows.Actions { public interface IEventSubscribingObject { void ReceiveEventNotification(EventAction action, object targetObject); } }
19
73
0.811404
[ "MIT" ]
brianmains/Nucleo.NET
src/Nucleo.Windows/Windows/Actions/IEventSubscribingObject.cs
230
C#
using System; using Semver.Ranges.Comparers.Npm; namespace Semver.Ranges { /// <summary> /// Provides extension methods to <see cref="SemVersion"/> to check if the version satisfies a range. /// </summary> public static class SemVersionExtensions { /// <summary> /// <para> /...
44.830189
128
0.617424
[ "MIT" ]
Jump-King-Multiplayer/JKMP.Core
JKMP.Core/SemVersion/Ranges/SemVersionExtensions.cs
2,376
C#
namespace Application.Services; using Domain.ValueObjects; public interface ICurrencyExchange { Task<Money> Convert(Money originalAmount, Currency destinationCurrency); }
22.125
76
0.819209
[ "MIT" ]
MartsTech/D-Wallet
packages/api/src/Application/Services/ICurrencyExchange.cs
179
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Client; using System; using System.Collections; using System.Collections.Concurrent; using Sy...
31.925781
140
0.593784
[ "MIT" ]
lbussell/vstest
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelOperationManager.cs
8,173
C#
using DCSoft.Drawing; using System; using System.Collections; using System.Drawing; using System.Windows.Forms; namespace DCSoft.WinForms { public class MultiColumTextDrawer { private int _MaxColumnWidth = 100; private int _MinColumnWidth = 10; private float _ContentWidth = 0f; private ContentAlignment _A...
21.891892
116
0.640535
[ "MIT" ]
h1213159982/HDF
Example/WinForm/Editor/DCWriter/DCSoft.Writer.Cleaned/DCSoft.WinForms/MultiColumTextDrawer.cs
4,896
C#
using System; namespace SFA.DAS.Payments.Automation.Domain.Specifications { public class LearnerRecord { public virtual string LearnerKey { get; set; } public virtual LearnerType LearnerType { get; set; } public virtual DateTime StartDate { get; set; } public virtual DateTime P...
54.021277
84
0.686885
[ "MIT" ]
SkillsFundingAgency/das-providerpayments
src/AcceptanceTesting/IlrSubmissionPortal/SFA.DAS.Payments.Automation.Domain/Specifications/LearnerRecord.cs
2,541
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //----------------------------------------...
31.823529
84
0.489834
[ "MIT" ]
sajeebchandan/University-Project-SWE331
OOSDDemo/View Blog.aspx.designer.cs
1,084
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/winnt.h in the Windows SDK for Windows 10.0.19041.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.C...
30.756098
145
0.647898
[ "MIT" ]
Ethereal77/terrafx.interop.windows
sources/Interop/Windows/um/winnt/PRIVILEGE_SET.cs
1,263
C#
namespace DeepNestSharp.Domain.Services { using System.Threading.Tasks; public interface IFileIoService { Task<string> GetOpenFilePathAsync(string filter, string initialDirectory = null); Task<string[]> GetOpenFilePathsAsync(string filter, string initialDirectory = null, bool allowMultiSelect = true); ...
31.333333
118
0.770213
[ "MIT" ]
9swampy/DeepNestSharp
DeepNestSharp.Domain/Services/IFileIoService.cs
472
C#
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mfapi.h(3075,9) using System; using System.Runtime.InteropServices; namespace DirectN { [StructLayout(LayoutKind.Sequential)] public partial struct _MT_CUSTOM_VIDEO_PRIMARIES { public float fRx; public float fRy; ...
24.6
83
0.623984
[ "MIT" ]
Steph55/DirectN
DirectN/DirectN/Generated/_MT_CUSTOM_VIDEO_PRIMARIES.cs
494
C#
namespace iMgmt { partial class frmSplash { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
42.923077
163
0.589382
[ "Apache-2.0" ]
balavigneshs/iMgmt
iMgmt/frmSplash.Designer.cs
4,466
C#
using System; namespace SCNDISC.Server.Domain.Aggregates { public class Feedback : Aggregate { public string UserName { get; set; } public string Message { get; set; } public DateTime Created { get; set; } } }
20
42
0.704545
[ "MIT" ]
Dima2022/DiscountsApp
SCNDISC.Server/SCNDISC.Server.Domain/Aggregates/Feedback.cs
222
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.609091
168
0.603819
[ "Apache-2.0" ]
philasmar/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/Internal/MarshallTransformations/FileSourceSettingsUnmarshaller.cs
4,137
C#
/* * File: Program.cs * Author: Angelo Breuer * * The MIT License (MIT) * * Copyright (c) Angelo Breuer 2019 * * 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...
34.347826
90
0.612152
[ "MIT" ]
Erwin-J/Lavalink4NET
samples/Lavalink4NET.Discord_NET.ExampleBot/Program.cs
3,950
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...
41.898305
147
0.626079
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/Sql/InstanceFailoverGroup.cs
7,416
C#
using System.Text.Json; using System.Threading.Tasks; using PlaywrightSharp.Tests.BaseTests; using Xunit; using Xunit.Abstractions; namespace PlaywrightSharp.Tests.Page.Network { ///<playwright-file>network.spec.js</playwright-file> ///<playwright-describe>Response.json</playwright-describe> publ...
33.821429
93
0.658923
[ "MIT" ]
slang25/playwright-sharp
src/PlaywrightSharp.Tests/Page/Network/ResponseJsonTests.cs
947
C#
using System; using System.Collections.Generic; using System.Linq; using Firebase.Firestore; using UniModules.UniCore.Runtime.ReflectionUtils; using UniModules.UniCore.Runtime.Utils; using UniModules.UniGame.RemoteData; public static class ReactiveRemoteDataTool { private static List<Type> _emptyList = new List<T...
35.909091
115
0.740084
[ "MIT" ]
UniGameTeam/UniGame.RemoteData
Runtime/ReactiveRemoteDataTool.cs
1,187
C#