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
// *** 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...
28.818182
81
0.637224
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/DataBox/V20180101/Outputs/DataBoxHeavyAccountCopyLogDetailsResponse.cs
1,268
C#
using System; using System.Runtime.Serialization; namespace Jumpcutter_dot_net { [Serializable] public class JCException : Exception { public JCException() { } public JCException(string message) : base(message) { } public JCException(string message...
21.2
101
0.616981
[ "MIT" ]
mt025/jumpcutter
Jumpcutter_dot_net/JCException.cs
532
C#
using System; using System.Collections.Generic; using System.Text; namespace PinballX.Table2RomMapping { /// <summary> /// Simple class containing the mappinging between tablename and romname /// </summary> public class Mapping { /// <summary> /// Gets or sets the name ...
32.689655
154
0.570675
[ "MIT" ]
Ashram56/DirectOutput
DirectOutput PinballX Plugin/Table2RomMapping/Mapping.cs
950
C#
namespace EditorsLibrary { partial class BXDAEditorPane { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
36.31746
144
0.586538
[ "Apache-2.0" ]
NWalker1208/synthesis
exporters/robot_exporter/EditorsLibrary/BXDAEditorPane.Designer.cs
2,290
C#
using System.Runtime.Serialization; namespace Service.Liquidity.ConverterMarkups.Grpc.Models { [DataContract] public class UpsertMarkupSettingsResponse { [DataMember(Order = 1)] public bool Success { get; set; } [DataMember(Order = 2)] public string ErrorMessage { get; set; } } }
28.454545
72
0.696486
[ "MIT" ]
MyJetWallet/Service.Liquidity.ConverterMarkups
src/Service.Liquidity.ConverterMarkups.Grpc/Models/UpsertMarkupSettingsResponse.cs
313
C#
// ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // -----------------------------------------------------------...
55.274725
760
0.726839
[ "MIT" ]
javier-alvarez/fhir-server
test/Microsoft.Health.Fhir.Tests.E2E/Rest/BasicAuthTests.cs
10,062
C#
using System.Reflection; using MongoDB.Configuration.Builders; namespace System { internal static class MongoBuilder { private static readonly MethodInfo _mapMethod = typeof(MappingStoreBuilder).GetMethod("Map", Type.EmptyTypes); public static void MapType(Type type, MappingStoreBuilde...
30.866667
119
0.652268
[ "Apache-2.0", "MIT" ]
Grimace1975/bclcontrib
Core/Quality/System.Core.Quality_Mongo/MongoBuilder.cs
465
C#
using AspectInjector.Broker; using AspectInjector.Rules; using FluentIL; using FluentIL.Extensions; using FluentIL.Logging; using Mono.Cecil; using System.Collections.Generic; using System.Linq; namespace AspectInjector.Core.Models { public class AspectDefinition { private MethodDefinition _facto...
33.659341
136
0.561867
[ "Apache-2.0" ]
stevenknox/aspect-injector
src/AspectInjector.Core/Models/AspectDefinition.cs
3,065
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. // </auto-generated> namespace Microsoft.Azure.Management.Network.Fluent { ...
52.516899
335
0.594185
[ "MIT" ]
Azure/azure-libraries-for-net
src/ResourceManagement/Network/Generated/VirtualNetworkGatewaysOperationsExtensions.cs
52,832
C#
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR.Client; namespace companion.Services { public class SignalRService : ISignalRService { private HubConnection connection; priv...
25.341463
101
0.585178
[ "MIT" ]
maxpavlov/desktop-integration-demo
companion/Services/SignalRService.cs
1,041
C#
using UnityEngine; [CreateAssetMenu(fileName = "OnRemovePlayer", menuName = "GameEvents/RemovePlayer")] public class RemovePlayerFunction : GameFunction<PlayerRemoval> { }
34.8
84
0.798851
[ "Apache-2.0" ]
Nickeron/DoubleRoom
Assets/Scripts/EventSystem/EventTypes/RemovePlayerFunction.cs
176
C#
using System; using System.Globalization; using System.Runtime.CompilerServices; using System.Text.Json; namespace BoardGameGeek.Dungeon.Extensions { public static class Utf8JsonWriterExtensions { public static void WriteEnum<T>(this Utf8JsonWriter writer, string propertyName, T value) where T : struct...
59.333333
217
0.750401
[ "MIT" ]
gitfool/BoardGameGeek.Dungeon
Application/Extensions/Utf8JsonWriterExtensions.cs
2,492
C#
using System; using System.Xml.Serialization; namespace Aop.Api.Response { /// <summary> /// AlipayEcoBasicRouterSendResponse. /// </summary> public class AlipayEcoBasicRouterSendResponse : AopResponse { /// <summary> /// 路由返回的数据 /// </summary> [XmlEleme...
21.277778
64
0.563969
[ "Apache-2.0" ]
554393109/alipay-sdk-net-all
AlipaySDKNet.Standard/Response/AlipayEcoBasicRouterSendResponse.cs
397
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> //----------------------------------------...
32.097264
105
0.616383
[ "MIT" ]
BryanSoltis/KenticoMVCWidgetShowcase
CMS/CMSModules/ImportExport/Controls/Import/__objects__.ascx.designer.cs
10,562
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.IO.Tests { [ActiveIssue("https://github.com/dotnet/runtime/issues/58707", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowserOnWindows), ...
31.133333
177
0.673448
[ "MIT" ]
333fred/runtime
src/libraries/System.IO.FileSystem/tests/FileInfo/CopyTo.cs
934
C#
namespace FilterLists.Data.Entities { public interface IDeleteSoftly { bool? IsDeleted { get; set; } } }
17.857143
37
0.632
[ "MIT" ]
Yuki2718/FilterLists
server/src/FilterLists.Data/Entities/IDeleteSoftly.cs
127
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("20...
39.054054
84
0.752249
[ "MIT" ]
baretata/CSharpOOP
03.ExtensionMethods-Delegates-Lambda-LINQ/20.InfiniteConvergentSeries/Properties/AssemblyInfo.cs
1,448
C#
using System; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace Auth0 { public partial class App : Application { public App() { InitializeComponent(); MainPage = new Views.LoginPageView(); } protected override void OnStart() { } ...
15.689655
49
0.520879
[ "MIT" ]
exendahal/Auth0
Auth0/Auth0/App.xaml.cs
457
C#
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
32.394495
101
0.648541
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
sekkit/Fenix
src/DotNetty.Transport/Channels/Embedded/EmbeddedEventLoop.cs
3,535
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.System.Preview { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ ...
35.1875
99
0.703375
[ "Apache-2.0" ]
Abhishek-Sharma-Msft/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.System.Preview/HingeState.cs
1,126
C#
// Copyright 2021 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.475
115
0.698506
[ "Apache-2.0" ]
googleapis/googleapis-gen
google/cloud/secretmanager/v1/google-cloud-secretmanager-v1-csharp/Google.Cloud.SecretManager.V1.StandaloneSnippets/SecretManagerServiceClient.DeleteSecretAsyncSnippet.g.cs
1,539
C#
using System; using System.Collections.Generic; using System.Text; namespace RomanPort.LibSDR.Components.IO.USB { public unsafe class UsbBuffer : IDisposable { public UsbBuffer(int length) { this.length = length; buffer = UnsafeBuffer.Create(length, out bytePtr); ...
24.423077
74
0.551181
[ "MIT" ]
Roman-Port/LibSDR
RomanPort.LibSDR/Components/IO/USB/UsbBuffer.cs
1,272
C#
namespace dropkick.Tasks.Files { using System.IO; using DeploymentModel; using Path = FileSystem.Path; public class EmptyFolderTask : Task { string _to; Path _path; public EmptyFolderTask(string to, Path path) { _to = to; _path...
26.458333
98
0.493701
[ "Apache-2.0" ]
chucknorris/dropkick
product/dropkick/Tasks/Files/EmptyFolderTask.cs
1,272
C#
namespace CAP_report_analysis_tool { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summ...
41.772727
108
0.573885
[ "MIT" ]
Energizer73/CAP-report-analysis-tool
CAP_report_analysis_tool/Form1.Designer.cs
4,597
C#
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace NativeMediaPlayer.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a diff...
23.285714
91
0.638037
[ "MIT" ]
ShravanJ/FormsNativeMediaPlayer
iOS/Main.cs
491
C#
using SaTeatar.Model.Models; using SaTeatar.Model.Requests; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Xamarin.Forms; namespace SaTeatar.Mobile.ViewModels { class PreporucenePr...
35.652542
155
0.523413
[ "MIT" ]
eminafit/SaTeatar
SaTeatar.Mobile/SaTeatar.Mobile/ViewModels/PreporucenePredstaveViewModel.cs
4,209
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 ...
29.747126
134
0.680062
[ "Apache-2.0" ]
bbs168/aliyun-openapi-net-sdk
aliyun-net-sdk-iot/Iot/Model/V20180120/BatchGetEdgeDriverRequest.cs
2,588
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MaterialAssigner : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } }
15.842105
52
0.631229
[ "MIT" ]
mareklinka/blazing-roller
src/Unity/Assets/ThirdParty/Dice/MaterialAssigner.cs
303
C#
// ----------------------------------------------------------------------- // <copyright file="HealthEventType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // ----------------------------------------------------------------------- namespace Microsoft.Store....
31
75
0.485215
[ "MIT" ]
Bhaskers-Blu-Org2/Partner-Center-Explorer
src/Explorer/Logic/HealthEventType.cs
746
C#
// // DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE. // #nullable enable #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. using System; using System.Collections.Generic; namespace CefNet.DevTools.Protocol.Network { pu...
37.092593
140
0.658512
[ "MIT" ]
CefNet/CefNet.DevTools.Protocol
CefNet.DevTools.Protocol/Generated/Network/RequestWillBeSentEventArgs.g.cs
2,003
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WeaponChangeScript : MonoBehaviour { private Quaternion customWeaponRotation; private Vector3 customWeaponScale = new Vector3(0.75f, 0.65f, 0.75f); private Vector3 bias = new Vector3(0, 0, 0.05f); // Start is c...
40.307692
116
0.648855
[ "MIT" ]
lamnguyenkhoa/JhoVengeance
Assets/Scripts/WeaponChangeScript.cs
2,620
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. // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // OrderingQueryOperato...
36.364865
128
0.570048
[ "MIT" ]
2E0PGS/corefx
src/System.Linq.Parallel/src/System/Linq/Parallel/QueryOperators/Options/OrderingQueryOperator.cs
2,691
C#
using System; using System.Collections.Generic; namespace UnityEngine.XR.ARFoundation { /// <summary> /// Container for the changed <c>ARHumanBody</c> of the event. /// </summary> public struct ARHumanBodiesChangedEventArgs : IEquatable<ARHumanBodiesChangedEventArgs> { /// <summary> ...
35.666667
110
0.565582
[ "Unlicense" ]
23SAMY23/Smart-Kid
SmartKid/Library/PackageCache/com.unity.xr.arfoundation@3.0.0-preview.3/Runtime/AR/ARHumanBodiesChangedEventArgs.cs
3,103
C#
using System; using System.Threading.Tasks; using LambdaSharp; using LambdaSharp.CustomResource; namespace Legacy.ModuleV080.MyCustomResourceFunction { public class ResourceProperties { //--- Properties --- // TO-DO: add request resource properties } public class ResourceAttributes { ...
32.19697
130
0.657882
[ "Apache-2.0" ]
LambdaSharp/LambdaSharpTool
Tests/Legacy/v0.8.0/MyCustomResourceFunction/Function.cs
2,125
C#
using System; namespace ILStripTest { public class CustomAttribute: Attribute { } }
11.111111
42
0.66
[ "MIT-0" ]
BrokenEvent/ILStrip
ILStripTestLib/CustomAttribute.cs
102
C#
using System; namespace MementoPattern { internal class GameRole { public GameRole() { Vitality = 100; Attack = 100; Defense = 100; } /// <summary> /// 生命力 /// </summary> public int Vitality { get; set; } ///...
21.775862
67
0.465558
[ "MIT" ]
devilcry11/DesignPatterns
BehaviorPattern/MementoPattern/GameRole.cs
1,321
C#
using System; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Windows.Input; using Xamarin.Forms; namespace Prism.Behaviors { /// <summary> /// Behavior class that enable using <see cref="ICommand" /> to react on events raised by <see cref="B...
41.762846
188
0.597672
[ "MIT" ]
Adam--/Prism
src/Forms/Prism.Forms/Behaviors/EventToCommandBehavior.cs
10,568
C#
using System; using System.Xml.Serialization; namespace Bonsai.Design.Visualizers { /// <summary> /// Provides the non-generic abstract base class used to wrap any /// <see cref="DialogTypeVisualizer"/> into a <see cref="MashupTypeVisualizer"/>. /// </summary> public abstract class MashupVisualize...
30.84058
121
0.600564
[ "MIT" ]
glopesdev/bonsai
Bonsai.Design.Visualizers/MashupVisualizer.cs
2,130
C#
using System; using System.Collections.Generic; using System.IO; namespace Tools { public static class GenerateAst { static void Main(string[] args) { if (args.Length != 1) { Console.Error.WriteLine("Usage: generate_ast <output directory>"); ...
37.547619
144
0.525259
[ "MIT" ]
HuyNguyenAu/LoxLangInCSharp
tools/GenerateAst.cs
4,733
C#
// Visual Studio Shared Project // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 // ...
43.625
98
0.674785
[ "Apache-2.0" ]
Bhaskers-Blu-Org2/VisualStudio-TestHost
VSTestUtilities/Utilities/SharedProject/ProjectTypeDefinition.cs
1,398
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Bootstrapper.cs" company="Hukano"> // Copyright (c) Hukano. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license informati...
45.776119
167
0.639387
[ "MIT" ]
hugener/Aupli
Source/Aupli/Bootstrapper.cs
12,270
C#
namespace CleanArchitecture.Web.Endpoints.ToDoItems { public class ToDoItemResponse { public int Id { get; set; } public string Title { get; set; } public string Description { get; set; } public bool IsDone { get; set; } } }
26.9
52
0.613383
[ "MIT" ]
Kadens/CleanArchitectures
src/CleanArchitecture.Web/Endpoints/ToDoItems/GetById.ToDoItemResponse.cs
271
C#
// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // 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, modif...
87.27619
1,809
0.686272
[ "MIT" ]
RobJellinghaus/SharpDX
Source/SharpDX.XAudio2/X3DAudio/X3DAudio17.cs
9,164
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Linq; using Xunit; namespace System.Collections.Tests { public ...
30.45
85
0.573071
[ "MIT" ]
2E0PGS/corefx
src/System.Collections/tests/Generic/Stack/Stack.Generic.Tests.netcoreapp.cs
1,829
C#
// Project: Aguafrommars/TheIdServer // Copyright (c) 2020 @Olivier Lefebvre using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Web; namespace Aguacongas.TheIdServer.BlazorApp.Components.Form { public class ButtonBase : ComponentBase { [Parameter] public string CssSub...
25.043478
66
0.673611
[ "Apache-2.0" ]
markjohnnah/TheIdServer
src/BlazorApp/Aguacongas.TheIdServer.BlazorApp.Components/Form/ButtonBase.cs
578
C#
namespace bstrkr.core.config { public interface IConfigManager { BusTrackerConfig GetConfig(); } }
17
37
0.663866
[ "BSD-2-Clause" ]
dkataskin/bstrkr
bstrkr.mobile/bstrkr.core/Config/IConfigManager.cs
121
C#
namespace AngleSharp.Extensions { using AngleSharp.Attributes; using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; /// <summary> /// Some methods for working with bare objects. /// </summary> [DebuggerStepThrough] static class Obje...
35.608
96
0.550887
[ "MIT" ]
forprog/AngleSharp
src/AngleSharp/Extensions/ObjectExtensions.cs
4,453
C#
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace Is.Net.Helpers { public class TextHelper { public static Lazy<TextHelper> Instance = new Lazy<TextHelper>(() => new TextHelper()); #region PrivateMethods private bool RegexMatch(string valu...
32.737226
221
0.441918
[ "MIT" ]
olcay/Is.Net
Is.Net/Helpers/TextHelper.cs
4,511
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; public class PlayerAnimator : CharacterAnimator { public WeaponAnimation[] weaponAnimations; private WeaponAnimation currentWeaponAnimation; void Awake() { currentWeaponAnimation = weaponAnimations [0]; } prote...
21.648649
76
0.751561
[ "Apache-2.0" ]
Bananenschnitte/Tales-of-Osh
Tales of Osh/Assets/Scripts/Anim/PlayerAnimator.cs
803
C#
// ----------------------------------------------------------------------- // <copyright file="ILayoutRoot.cs" company="Steven Kirk"> // Copyright 2013 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex.Layout ...
28.9375
75
0.455724
[ "MIT" ]
GeorgeHahn/Perspex
Perspex.Layout/ILayoutRoot.cs
465
C#
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Models.Entities { [Table("Fisicos")] public class Fisico { [Key] [Column("IdFisico")] public int Id { get; set; } [Column("areaTerre...
27.107143
94
0.645586
[ "MIT" ]
Vitor-Xavier/CalculationEngine
src/Models/Entities/Fisico.cs
761
C#
using System; using System.ComponentModel; using Maoui.Forms.Extensions; using Xamarin.Forms; namespace Maoui.Forms.Renderers { public class ScrollViewRenderer : VisualElementRenderer<ScrollView> { bool disposed = false; protected override void OnElementChanged(ElementChangedEventArgs<ScrollV...
30.921875
142
0.522486
[ "MIT" ]
mrmandrake/maoui
Maoui.Forms/Renderers/ScrollViewRenderer.cs
1,981
C#
namespace NetworkOperator.CommunicationInterfaces.ParallelMultiTypeStreaming.ParallelStreaming.InterleavingStreaming.ScheduledStreaming { public interface IStreamScheduler { IDataSplitter DataSplitter { get; } IPacketProcessor PacketProcessor { get; } int MaxParallelTransfers { get; } ...
32.7
136
0.75841
[ "MIT" ]
vabalcar/NetworkOperator
Sources/CommunicationInterfaces/ParallelNetworkStream/ParallelMultiTypeStreaming/ParallelStreaming/InterleavingStreaming/ScheduledStreaming/IStreamScheduler.cs
329
C#
using System.Reactive; using System.Reflection; using System.Threading.Tasks; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.X11; using MessageCommunicator.TestGui.ViewServices; using ReactiveUI; namespace MessageCommunicator.TestGui.Views { public class ReleaseCheckViewModel : OwnV...
31.522388
123
0.518229
[ "MIT" ]
RolandKoenig/MessageCommunicator
src/MessageCommunicator.TestGui/Views/_ReleaseCheck/ReleaseCheckViewModel.cs
4,226
C#
using System.Collections.Generic; using System.Collections.Immutable; using System.Collections.ObjectModel; using System.Diagnostics; using System.Linq; using Model = Discord.API.Connection; namespace Discord.Rest { [DebuggerDisplay(@"{DebuggerDisplay,nq}")] public class RestConnection : IConnection { ...
34.985507
119
0.590721
[ "MIT" ]
EpicOfficer/Discord.Net
src/Discord.Net.Rest/Entities/Users/RestConnection.cs
2,414
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...
37.994186
118
0.627391
[ "Apache-2.0" ]
NGL321/aws-sdk-net
sdk/src/Services/Rekognition/Generated/Model/StartContentModerationRequest.cs
6,535
C#
using System; using System.Reflection; using System.Runtime.Caching; using Common.Logging; using FluentNHibernate.Cfg; using FluentNHibernate.Cfg.Db; using NHibernate; using NHibernate.Cfg; using NHibernate.Tool.hbm2ddl; namespace ToolKit.Data.NHibernate { /// <summary> /// A Abstract Implementation of A Datab...
37.757009
104
0.607921
[ "Apache-2.0" ]
dcjulian29/toolkit
ToolKit.Data.NHibernate/NHibernateDatabaseBase.cs
4,040
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.Runtime.InteropServices; namespace Internal.JitInterface { ...
46.606944
303
0.67579
[ "MIT" ]
CoffeeFlux/runtime
src/coreclr/src/tools/Common/JitInterface/CorInfoTypes.cs
67,114
C#
// <auto-generated /> // This file was generated by a T4 template. // Don't change it directly as your change would get overwritten. Instead, make changes // to the .tt file (i.e. the T4 template) and save it to regenerate this file. // Make sure the compiler doesn't complain about missing Xml comments #pragma warnin...
44.52381
139
0.681818
[ "BSD-2-Clause" ]
coreframework/Core-Framework
Source/Core.Forms/FormAnswersController.generated.cs
5,610
C#
using HidSharp; using OpenAsusKeyboardRGB.KBImpls.GenericImpls; using OpenAsusKeyboardRGB.KBInterfaces; using OpenAsusKeyboardRGB.KeyMappings; using System; using System.Collections.ObjectModel; using System.Drawing; using System.Linq; using System.Threading; namespace OpenAsusKeyboardRGB.KBImpls { class AsusClay...
35.861456
173
0.52526
[ "MIT" ]
SnakePin/OpenAsusKeyboardRGB
src/OpenAsusKeyboardRGB_Library/KBImpls/AsusClaymoreAll.cs
20,192
C#
using System.Collections.Generic; using UnityEngine; using QPath; public class HexMap : MonoBehaviour, IQPathWorld { public GameObject HexPrefab; public GameObject ForestPrefab; public GameObject JunglePrefab; public Mesh MeshWater; public Mesh MeshFlat; public Mesh MeshHill; public Mesh MeshMountain...
36.745098
216
0.655283
[ "MIT" ]
StuartGough7/Hex-Strategy-Demo
Assets/Scripts/HexMap.cs
9,372
C#
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CafeOtomasyon { public partial class KullaniciGuncelleTur : Form { public Kull...
23.261905
74
0.633572
[ "Apache-2.0" ]
FrozenShadows/cafeotomasyon
CafeOtomasyon/KullaniciGuncelleTur.cs
979
C#
namespace JsonWebToken { /// <summary> /// Represents the metadata of the JWT, like the cryptographic /// operations applied to the JWT and optionally any additional properties of the JWT. /// </summary> public sealed class JwtHeader : JsonObject { /// <summary>Initializes a new insta...
32.266667
96
0.630165
[ "MIT" ]
signature-opensource/Jwt
src/JsonWebToken/Writer/JwtHeader.cs
486
C#
using System; namespace UnrealEngine { /// <summary>LINEAR DOF</summary> public enum ELinearConstraintMotion:byte { /// <summary>No constraint against this axis.</summary> LCM_Free=0, /// <summary>Limited freedom along this axis.</summary> LCM_Limited=1, /// <summary>Fully constraint against this axis.</su...
20.333333
60
0.704918
[ "MIT" ]
xiongfang/UnrealCS
Script/UnrealEngine/GeneratedScriptFile/ELinearConstraintMotion.cs
366
C#
#nullable enable using System; using System.Threading.Tasks; using Content.Server.Body.Circulatory; using Content.Shared.Chemistry; using Content.Shared.Chemistry.Components; using Content.Shared.Chemistry.Reagent; using Content.Shared.Chemistry.Solution.Components; using Content.Shared.Interaction; using Content.Shar...
35.719472
118
0.577104
[ "MIT" ]
GalacticChimp/space-station-14
Content.Server/Chemistry/Components/InjectorComponent.cs
10,825
C#
/* * DocuSign REST API * * The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. * * OpenAPI spec version: v2 * Contact: devcenter@docusign.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System....
40.517045
307
0.577899
[ "Apache-2.0" ]
Ektai-Solution-Pty-Ltd/CommunityServer
redistributable/docusign-csharp-client/DocuSign.eSign/Model/UsageHistory.cs
7,139
C#
namespace PracticeWebApp.Data.Models.BlobStorage { public class Credentials { public string Endpoint { get; set; } public string AccessKey { get; set; } public string SecretKey { get; set; } } }
23.2
49
0.62931
[ "MIT" ]
Mason32NZ/PracticeWebApp
PracticeWebApp.Data/Models/BlobStorage/Credentials.cs
234
C#
using GizmoFort.Connector.ERPNext.PublicTypes; using GizmoFort.Connector.ERPNext.WrapperTypes; using System.ComponentModel; namespace GizmoFort.Connector.ERPNext.ERPTypes.Packing_slip_item { public class ERPPacking_slip_item : ERPNextObjectBase { public ERPPacking_slip_item() : this(new ERPObject(DocTyp...
26.744898
217
0.538344
[ "MIT" ]
dmequus/gizmofort.connector.erpnext
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Packing_slip_item/ERPPacking_slip_item.cs
2,621
C#
namespace OpenCV_test.Common { partial class ImageInOutCtrl { /// <summary> /// 必要なデザイナー変数です。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 使用中のリソースをすべてクリーンアップします。 /// </summary> /// <param name="d...
40.48062
158
0.573918
[ "BSD-3-Clause" ]
iryachi/OpenCV_test
OpenCV_test/Common/ImageInOutCtrl.Designer.cs
5,510
C#
using System; using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Models.Data; using Bit.Core.Models.Table; namespace Bit.Core.Repositories { public interface IOrganizationRepository : IRepository<Organization, Guid> { Task<ICollection<Organization>> GetManyByEnabledAsync();...
35.222222
115
0.750789
[ "MPL-2.0" ]
carloskcheung/fossa-cli
test/fixtures/nuget/src/Core/Repositories/IOrganizationRepository.cs
636
C#
using System; using HaloEzAPI.Converter; using Newtonsoft.Json; namespace HaloEzAPI.Model.Response.Stats.Halo5.Events { public class WeaponDropEvent : WeaponEvent { public int ShotsFired { get; set; } public int ShotsLanded { get; set; } [JsonConverter(typeof(TimeSpanConverter))] ...
27.5
63
0.698701
[ "MIT" ]
BadDub/Halo-API
HaloEzAPI/Model/Response/Stats/Halo5/Events/WeaponDropEvent.cs
385
C#
using System; using System.IO; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using TetraPak.XP; using TetraPak.XP.ApplicationInformation; using TetraPak.XP.Auth.Abstractions; using TetraPak.XP.DependencyInjection; using TetraPak.XP.Desktop; usi...
41.692661
153
0.546265
[ "MIT" ]
Tetra-Pak-APIs/TetraPak.XP
source/testClients/authClient.console/Auth.cs
9,091
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public abstract class RoomEntity : MonoBehaviour { public Module CurrentModule; public void Move(Module _moveTo) { if (!(CurrentModule is null)) { CurrentModule.Occupier = nu...
24.652174
86
0.677249
[ "MIT" ]
SherbertLemon64/Telium
Assets/Code/RoomEntity.cs
567
C#
using System; using System.Collections.Generic; using System.Linq; namespace _02.Command_Interpreter { class Program { static void Main(string[] args) { List<string> array = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).ToList(); string ...
31.375839
121
0.388449
[ "MIT" ]
alex99q/proggraming-fundamentals-exercises
Exam Preparation III/02. Command Interpreter/Program.cs
4,677
C#
/* Copyright (c) 2012 GFT Appverse, S.L., Sociedad Unipersonal. This Source Code Form is subject to the terms of the Appverse Public License Version 2.0 (“APL v2.0”). If a copy of the APL was not distributed with this file, You can obtain one at http://appverse.org/legal/appverse-license/. Red...
45.441176
84
0.739806
[ "MPL-2.0" ]
Appverse-Archive/appverse-mobile
appverse-core/src/csharp/Unity/Core/Storage/Share/AbstractShare.cs
1,551
C#
using MdbTask.Data.Models; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace MdbTask.Data.Context { public static class ModelBuilderExtensions { /// <summary> /// Seed DB data /// </summary> /// <param name="modelBuilder"></param> ...
53.955189
275
0.509114
[ "MIT" ]
zjog/MdbTask
MdbTask/MdbTask.Data/Context/ModelBuilderExtensions.cs
22,879
C#
using System; using Xunit; using LeetCode.Impl.Template; namespace LeetCode.Test.Template; public class SolutionTests { [Theory] [InlineData(null)] public void TestSomething(string? value) { _ = new Solution(); Assert.Null(value); } }
16.117647
44
0.656934
[ "MIT" ]
gdoct/LeetCodeExcercises
LeetCode.Test/000_Template/Solution.cs
276
C#
using RestSharp; using GamePriceComparison.Helpers; using GamePriceComparison.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading.Tasks; namespace GamePriceComparison.Services { public class AppStore { private const string DefaultLa...
39.470149
117
0.503687
[ "MIT" ]
235u/proposals
GamePriceComparison/src/GamePriceComparison/Services/AppStore.cs
5,291
C#
namespace Microsoft.ApplicationInsights.Wcf.Tests { using System; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using Microsoft.ApplicationInsights.DataContracts; public class MockOperationContext : IOperationContext, IOperationContextState ...
30.640351
83
0.606356
[ "MIT" ]
Bhaskers-Blu-Org2/ApplicationInsights-SDK-Labs
WCF/Shared.Tests/MockOperationContext.cs
3,495
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
38.375
169
0.600796
[ "MIT" ]
justin-harper/cs122
Lab9/BMI/BMI/Properties/Resources.Designer.cs
2,765
C#
// Copyright 2016 Xamarin Inc. All rights reserved. using System; #if XAMCORE_2_0 using Foundation; #else using MonoTouch.Foundation; #endif using NUnit.Framework; namespace Linker.Sealer { [Preserve (AllMembers = true)] public class Unsealable { public virtual bool A () { return true; } public virtual bool ...
25.838983
80
0.653001
[ "BSD-3-Clause" ]
1975781737/xamarin-macios
tests/linker/ios/link all/SealerTest.cs
3,051
C#
using System; namespace DShop.Monolith.Core.Domain.Products.Events { public class ProductUpdated : IEvent { public Guid Id { get; } public string Name { get; } public string Description { get; } public string Vendor { get; } public decimal Price { get; } public...
24.583333
72
0.547458
[ "MIT" ]
devmentors/DNC-DShop.Monolith
src/DShop.Monolith.Core/Domain/Products/Events/ProductUpdated.cs
592
C#
/******************************************************************************* * Copyright (C) Git Corporation. All rights reserved. * * Author: 情缘 * Create Date: 2016-03-16 22:06:50 * * Description: Git.Framework * http://www.cnblogs.com/qingyuan/ * Revision History: * Date Author Des...
34.328283
200
0.525526
[ "MIT" ]
colin08/yun_gitwms
Git.WMS.Web/Git.Storage.Provider/Sys/SupplierProvider.cs
6,905
C#
using System; using Nez.BitmapFonts; using Microsoft.Xna.Framework; using System.Text; using System.Collections.Generic; using Microsoft.Xna.Framework.Input; namespace Nez.UI { /// <summary> /// A single-line text input field. /// /// The preferred height of a text field is the height of the {@link TextFieldSty...
24.128938
150
0.639422
[ "MIT" ]
Blucky87/Nez
Nez.Portable/UI/Widgets/TextField.cs
32,938
C#
using JSC_LMS.Application.Contracts.Persistence; using MediatR; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace JSC_LMS.Application.Features.KnowledgeBase.Commands.DeleteKnowledgeBase { public class DeleteKnowledgeBaseCommandHandle...
35.071429
111
0.766802
[ "Apache-2.0" ]
ashishneosoftmail/JSC_LMS
src/Core/JSC_LMS.Application/Features/KnowledgeBase/Commands/DeleteKnowledgeBase/DeleteKnowledgeBaseCommandHandler.cs
984
C#
using System.Diagnostics.Contracts; namespace Funcable.Control; public static partial class Prelude { [Pure] public static IResult<U, UError> BiMap<T, TError, U, UError>( IResult<T, TError> result, Func<T, U> okMapping, Func<TError, UError> errorMapping) where T : notnull where TError : notnull where U ...
21.090909
62
0.68319
[ "MIT" ]
CarvanaCorp/funcable
src/Funcable.Control/src/Result/Prelude_BiFunctor_Result.cs
464
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 ...
40.17
195
0.559995
[ "Apache-2.0" ]
Bimble/Lean
Tests/Python/PandasConverterTests.cs
16,070
C#
using DotVVM.Framework.ViewModel; using DotvvmAcademy.CourseFormat; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace DotvvmAcademy.Web.Pages.Test { public class TestViewModel : DotvvmViewModelBase { private readonly CourseWorkspace workspace; public...
29.025641
77
0.638693
[ "Apache-2.0" ]
ammogcoder/dotvvm-samples-academy
src/DotvvmAcademy.Web/Pages/Test/TestViewModel.cs
1,134
C#
/* Copyright (c) 2014, Lars Brubaker All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
25.791492
169
0.669352
[ "BSD-2-Clause" ]
595787816/agg-sharp
Gui/TextWidgets/InternalTextEditWidget.cs
36,987
C#
using NorthwindProject.Entities.Base; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NorthwindProject.Entities.DTOs { public class DtoProduct : DtoBase { public int ProductId { get; set; } public string ProductName ...
30.25
51
0.650138
[ "MIT" ]
142-Bupa-Acibadem-FullStack-Bootcamp/week-5-assignment-1-srgnbkr
NorthwindProject/src/Libraries/NorthwindProject.Entities/DTOs/DtoProduct.cs
728
C#
namespace BlazorMud.Contracts.Services { /// <summary> /// Result of a service call. /// </summary> public class ServiceResult { /// <summary> /// <c>true</c> if the call was succesfull, <c>false</c> if an error occured. /// </summary> public bool IsSuccess { get; se...
33.62963
102
0.560573
[ "MIT" ]
Pixelgamix/BlazorMud
BlazorMud.Contracts/Services/ServiceResult.cs
1,818
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Mime; using System.Threading.Tasks; using Convey.Persistence.OpenStack.OCS.Http; using Convey.Persistence.OpenStack.OCS.OcsTypes; using Convey.Persistence.OpenStack.OCS.OcsTypes...
41.922581
132
0.642505
[ "MIT" ]
1n5an1ty/Convey
src/Convey.Persistence.OpenStack.OCS/src/Convey.Persistence.OpenStack.OCS/Client/OcsClient.cs
6,500
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> //--...
35.225806
151
0.569597
[ "MIT" ]
t-miyake/AngryMail
CameraPreview/Properties/Settings.Designer.cs
1,094
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/SetupAPI.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. using System.Runtime.InteropServi...
29.095238
145
0.762684
[ "MIT" ]
reflectronic/terrafx.interop.windows
sources/Interop/Windows/Windows/um/SetupAPI/SP_CLASSIMAGELIST_DATA32.Manual.cs
613
C#
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Collections.Immutable; using System.Composition; using System.Linq; using System.Threading; using System.Threadin...
73.463415
265
0.769588
[ "Apache-2.0" ]
dmgandini/code-cracker
src/CSharp/CodeCracker/Performance/UseStaticRegexIsMatchCodeFixProvider.cs
6,026
C#
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using Microsoft.CodeAnalysis...
49.868758
257
0.560791
[ "Apache-2.0" ]
Mongooz/roslyn
src/Compilers/CSharp/Portable/Binder/Binder_Symbols.cs
112,856
C#
namespace More.Composition.Hosting { using More.ComponentModel; using System; using System.Diagnostics.Contracts; using System.Reflection; using static System.StringComparison; internal sealed class ViewModelSpecification : SpecificationBase<Type> { private const string ViewModel =...
29.870968
99
0.62959
[ "MIT" ]
pashcovich/More
src/Hosting/Hosting.Windows.Shared/Composition.Hosting/ViewModelSpecification.cs
928
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.ComponentModel; using Microsoft.Xna.Framework; namespace LBE.Assets { public class AssetInstantiationResult { public Object Instance = null; public IEnumerable<IAssetDepe...
44.052083
162
0.519863
[ "MIT" ]
CollectifBlueprint/GoalRush
Project/02 - Engine/LittleBigEngine/Assets/AssetInstanciator.cs
8,460
C#
//------------------------------------------------------------------------------ // <auto-generated> // O código foi gerado por uma ferramenta. // Versão de Tempo de Execução:4.0.30319.42000 // // As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se // o código for gerado...
42.269231
175
0.591219
[ "MIT" ]
GabrielAlonso1/Trabalho-para-enviar-git
trabalho1/trabalho1/Properties/Resources.Designer.cs
4,413
C#
#if UNITY_IOS using System; using System.Runtime.InteropServices; namespace UnityEngine.Monetization { public class IosNativePromoAdapter : INativePromoAdapter { [DllImport("__Internal")] static extern IntPtr UnityMonetizationCreateNativePromoAdapter(IntPtr pPlacementContent); ...
35.777778
113
0.663265
[ "MIT" ]
Tpierga/2I_ProjetDetectionIA
Projet_Detection_IA/Library/PackageCache/com.unity.ads@3.4.5/Runtime/Monetization/IosNativePromoAdapter.cs
2,254
C#