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
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool; public class OneSkyLocalizationService : ModuleRules { public OneSkyLocalizationService(TargetInfo Target) { PrivateDependencyModuleNames.AddRange( new string[] { "Core", "CoreUObject", ...
21.473684
60
0.531863
[ "MIT" ]
armroyce/Unreal
UnrealEngine-4.11.2-release/Engine/Plugins/Developer/OneSkyLocalizationService/Source/OneSkyLocalizationService/OneSkyLocalizationService.Build.cs
816
C#
namespace Charming.Types.AppConfiguration { using System; using Charming; using Charming.Types.Internal; public class ConfigurationStorePrivateEndpointConnection : Resource<ConfigurationStorePrivateEndpointConnectionProperties> { public ConfigurationStorePrivateEndpointConnection() => (Type...
33.161905
185
0.684951
[ "MIT" ]
tzkhan/Charming
src/Charming.Types/AppConfiguration.g.cs
3,482
C#
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180110 { using static Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.Extensions; /// <summary>Recovery plan test failover input.</summary> public partial class RecoveryPlanTestFailoverInput { /// <summary> //...
67.217822
298
0.68773
[ "MIT" ]
3quanfeng/azure-powershell
src/Migrate/generated/api/Models/Api20180110/RecoveryPlanTestFailoverInput.json.cs
6,689
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using System.IO; namespace ToastBot { class rank { public async void tnsdnl(SocketMessage message) { Random random = new Rando...
31.92
68
0.510652
[ "MIT" ]
csnewcs/DiscordMuBotCsharp
Codes/.Net Core/Toast (.Net Core)/0 rank.cs
1,640
C#
using System.Collections.Generic; namespace DeUrgenta.Emailing.Service.Models { public class EmailRequestModel { public string DestinationAddress { get; set; } public Dictionary<string, string> PlaceholderContent { get; set; } public EmailTemplate TemplateType { get; set; } pub...
29.785714
74
0.678657
[ "MPL-2.0", "MPL-2.0-no-copyleft-exception" ]
Alexei000/de-urgenta-backend
Src/DeUrgenta.Emailing.Service/Models/EmailRequestModel.cs
419
C#
namespace BlazingTheWeb.UsingWasmInCSharp { public abstract class CollatzWithCallback { public abstract void collatz(int value); } }
19.714286
42
0.797101
[ "MIT" ]
JasonBock/BlazingTheWeb
BlazingTheWeb.UsingWasmInCSharp/CollatzWithCallback.cs
140
C#
using System; using System.Collections.Generic; using static System.Console; namespace FileProcessor2 { class Program { static void Main(string[] args) { Processor processor = new Processor(); try { List<Person> people = processor.Process("N...
21
84
0.457983
[ "MIT" ]
SamIge7/SideWork
06NullOperators/FileProcessor2/Program.cs
716
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace ExecOnLinux { public class Startup { ...
27.784314
106
0.587156
[ "Apache-2.0" ]
OpenTouryoProject/OpenTouryo
root/programs/CS/Frameworks/Tests/ExecOnLinux/ExecOnLinux/Startup.cs
1,419
C#
using PuppeteerSharp; using System; using System.Net; using System.Reactive; using System.Reactive.Concurrency; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Threading.Tasks; namespace SF_DataExport.Interceptors { public class ProfilePhotoInterceptor : InterceptorBase { ...
38.724138
118
0.529831
[ "MIT" ]
ste80/SF-DataExport
SF-DataExport/Interceptors/ProfilePhotoInterceptor.cs
2,248
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.Diagnostics; using System.Globalization; namespace Microsoft.AspNetCore.Http.Internal { public class BindingAddress ...
36.2
185
0.542862
[ "Apache-2.0" ]
0xced/AspNetCore
src/Http/Http/src/Internal/BindingAddress.cs
5,613
C#
namespace SetApplicationStatus.Console { using System.Linq; using NLog; public class ApplicationStatusPatch { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); private readonly string _ukprn; private readonly string _sqlConnectionString; privat...
37.84375
170
0.614781
[ "MIT" ]
BugsUK/FindApprenticeship
tools/SetApplicationStatus/SetApplicationStatus.Console/ApplicationStatusPatch.cs
2,422
C#
using System.Collections; using System.Collections.Generic; using UnityEngine.SceneManagement; using UnityEngine; public class MusicManager : MonoBehaviour { public static MusicManager instance; private string currentscenename; private string previousscenename; [SerializeField] privat...
24.253165
99
0.521399
[ "Apache-2.0" ]
ChristianSourisseau/Projet-Escape-Game
Escape_Game/Assets/Scripts/MusicManager.cs
1,918
C#
using Microsoft.VisualStudio.TestTools.UnitTesting; using Ev3Controller.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ev3Controller.ViewModel; namespace Ev3Controller.Model.Tests { [TestClass()] public class BrickDa...
52.594286
92
0.645372
[ "MIT" ]
CountrySideEngineer/Ev3Controller
dev/src/Ev3ControllerTests/Model/BrickDataUpdater_Tests.cs
27,614
C#
using System; using System.Collections.Generic; using System.IO; using Microsoft.Extensions.DependencyInjection; namespace ZeroReact { public interface IReactScopedContext { ReactComponent CreateComponent<T>(string componentName) where T: ReactComponent; void GetInitJavaScript(TextWriter writ...
26.724138
102
0.609032
[ "MIT" ]
redzumi/ZeroReact.NET
src/ZeroReact/ReactScopedContext.cs
1,552
C#
namespace XMPP_API.Classes.Network.XML.Messages.XEP_0384.Session { public enum OmemoSessionBuildError { UNKNOWN, TARGET_DOES_NOT_SUPPORT_OMEMO, REQUEST_DEVICE_LIST_TIMEOUT, REQUEST_BUNDLE_INFORMATION_TIMEOUT, REQUEST_DEVICE_LIST_IQ_ERROR, REQUEST_BUNDLE_INFORMATI...
25.642857
65
0.718663
[ "MPL-2.0" ]
LibreHacker/UWPX-Client
XMPP_API/Classes/Network/XML/Messages/XEP-0384/Session/OmemoSessionBuildError.cs
361
C#
using System; using System.ComponentModel.Design; //int配列を使う場合ためのサンプル internal class IntsEditor : CollectionEditor { public IntsEditor(Type t) : base(t) { } //初期値を決める protected override object CreateInstance(Type itemType) { return 10; } //右上の表示がint[]プロパティになってしまうのでintに修正する protected...
22.888889
74
0.661812
[ "Unlicense" ]
EleBrain/-CS-ZWJsonEditor
ZWData/IntsEditor.cs
754
C#
/* * Copyright 2018 JDCLOUD.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 required by applicable law or agreed to in...
26.111111
76
0.6
[ "Apache-2.0" ]
jdcloud-api/jdcloud-sdk-net
sdk/src/Service/Live/Apis/AddLiveStreamDomainTranslateRequest.cs
1,831
C#
using System.Collections.Generic; using HexCore; namespace HexCoreTests.Fixtures { public static class MovementTypesFixture { public static readonly MovementType Walking = new MovementType(1, " Walking"); public static readonly MovementType Swimming = new MovementType(2, "Swimming"); p...
37.522727
87
0.488189
[ "MIT" ]
antouhou/HexCore
HexCore.Tests/Fixtures/MovementTypes.Mock.cs
1,653
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.837838
84
0.747857
[ "MIT" ]
YonchevSimeon/Programming-Fundamentals-CSharp
InExRegularExpressions/01.ExtractEmails/Properties/AssemblyInfo.cs
1,403
C#
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INF...
37.263158
171
0.618644
[ "MIT" ]
48355746/VSSDK-Extensibility-Samples
ArchivedSamples/Source_Control_Provider_Status_Bar_Integration/C#/ProvideToolsOptionsPageVisibility.cs
3,540
C#
namespace WaifuShork.Common.NativeLoader; using System; using System.Runtime.InteropServices; internal static class Libdl { private const string _libName = "libdl"; public const int RtldNow = 0x002; [DllImport(_libName, EntryPoint = "dlopen", CharSet = CharSet.Unicode)] public static extern IntPtr DlOpen(strin...
32.818182
73
0.765928
[ "MIT" ]
WaifuShork/Common
src/WaifuShork.Common/NativeLoader/Libdl.cs
724
C#
#nullable enable using Microsoft.Maui.Controls; using Microsoft.Maui.Essentials; namespace Microsoft.Maui.TestUtils.DeviceTests.Runners.VisualRunner.Pages { partial class CreditsPage : ContentPage { public CreditsPage() { InitializeComponent(); } void OnNavigating(object? sender, WebNavigatingEventArgs ...
18.333333
73
0.742857
[ "MIT" ]
41396/maui
src/TestUtils/src/DeviceTests.Runners/VisualRunner/Pages/CreditsPage.xaml.cs
387
C#
using System; namespace MAVN.Service.OperationsHistory.Domain.Models { public interface ITransactionHistory { string CustomerId { get; set; } string TransactionId { get; set; } string AssetSymbol { get; set; } DateTime Timestamp { get; set; } string Type { get; set; ...
18.333333
54
0.615152
[ "MIT" ]
HannaAndreevna/MAVN.Service.OperationsHistory
src/MAVN.Service.OperationsHistory.Domain/Models/ITransactionHistory.cs
330
C#
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Media.Audio { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class EqualizerBand { #if __ANDROID__ || __IOS__ || NET461 || __WA...
35.083333
155
0.744418
[ "Apache-2.0" ]
06needhamt/uno
src/Uno.UWP/Generated/3.0.0.0/Windows.Media.Audio/EqualizerBand.cs
2,105
C#
// <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using toDoList; namespace toDoList.Mig...
37.027027
130
0.43538
[ "Apache-2.0" ]
ggraur/toDoList
Migrations/20201218112832_NewMigration6.Designer.cs
23,292
C#
/******************************************************************************* * Copyright (C) Git Corporation. All rights reserved. * * Author: 情缘 * Create Date: 2013-11-30 12:35:03 * * Description: Git.Framework * http://www.cnblogs.com/qingyuan/ * Revision History: * Date Author Des...
40.519403
143
0.549212
[ "MIT" ]
KittenCN/WMS
Git.Storage.Provider/Move/MoveOrder.cs
13,832
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x1018_ddba-154565e0")] public void /* sys */ Method_1018_ddba() { ii(0x1018_ddba, 1); push(ebp); ...
72.491525
107
0.408931
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-1018-ddba-sys.cs
4,277
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="DefaultDataContextFactoryTest.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file...
45.736264
147
0.602114
[ "MIT" ]
snakefoot/kephas
src/Tests/Kephas.Data.Tests/DefaultDataContextFactoryTest.cs
4,164
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; public class WallLaserBehavior : MonoBehaviour { public float MoveSpeed = 10; public bool IsVertical = true; public bool IsCharging = false; public float shotFrequency = 10; public float chargeTime = 10; public Spri...
28.811881
143
0.601718
[ "MIT" ]
ironpencil/suddendeath
suddendeath/Assets/WallLaserBehavior.cs
2,912
C#
// // Encog(tm) Core v3.1 - .Net Version // http://www.heatonresearch.com/encog/ // // Copyright 2008-2012 Heaton Research, Inc. // // 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 // // htt...
32.953642
100
0.588223
[ "BSD-3-Clause" ]
mpcoombes/MaterialPredictor
encog-core-cs/Neural/Networks/Training/Propagation/Manhattan/ManhattanPropagation.cs
4,976
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.Concurrent; using System.IO; namespace NuGet.Protocol.Core.v3.Data { public class MemoryFileCache : FileCac...
27.508772
111
0.561862
[ "Apache-2.0" ]
david-driscoll/NuGet3
src/NuGet.Protocol.Core.v3/DataClient/FileCache/MemoryFileCache.cs
1,570
C#
// This source code is dual-licensed under the Apache License, version // 2.0, and the Mozilla Public License, version 1.1. // // The APL v2.0: // //--------------------------------------------------------------------------- // Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial // Technologies LLC., and Rabbit...
39.925234
94
0.633193
[ "MIT" ]
zlxy/Genesis-3D
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/RabbitMQ.Client/src/util/Either.cs
4,272
C#
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace FabricDCA { usi...
39.087607
186
0.541792
[ "MIT" ]
AlkisFortuneFish/service-fabric
src/prod/src/managed/DCA/product/host/DCASettings.cs
18,293
C#
using System.Runtime.InteropServices; namespace Libgpgme.Interop { [StructLayout(LayoutKind.Sequential)] internal class _gpgme_op_keylist_result // *gpgme_keylist_result_t { public uint flags; public bool truncated { get => ((flags & 1) > 0); set { ...
23.809524
71
0.444
[ "MIT" ]
Daniel15/gpgme-sharp
gpgme-sharp/Interop/_gpgme_op_keylist_result.cs
500
C#
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace Poker.Test { [TestClass] public class IsFlushTests { [TestMethod] public void IsFlushShouldReturnFalseIfDiffSuit() { var checker = new PokerHandsChecker(); ...
31.068182
61
0.545721
[ "MIT" ]
zvet80/TelerikAcademy
08.High Quality Code/12.TestDrivenDevelopment/Poker.Test/IsFlushTests.cs
1,369
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WFA_OOP_Class { //Nesnenin özelliklerini(Property) ve davranışlarını(Metot) tanımlayan şablonlardır. class Hayvan { //Propety=> nesne için tanımlanan öze...
31.458333
183
0.592715
[ "MIT" ]
BercKoskun/CSharpBilge
OOP/22.01/WFA_OOP_Class/WFA_OOP_Class/Hayvan.cs
1,559
C#
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut generi...
36.638519
164
0.514739
[ "MIT" ]
georghinkel/ttc2017smartGrids
generator/Schema/IEC61970/Informative/InfPaymentMetering/TransactionSummary.cs
24,733
C#
using System.Linq; namespace SparkPost { public static class LeftRight { public static void SetValuesToMatch(object left, object right) { var leftProperties = left.GetType().GetProperties(); var rightProperties = left.GetType().GetProperties(); foreach (var ...
29.16
104
0.500686
[ "Apache-2.0" ]
Combeenation/csharp-sparkpost
src/SparkPost/LeftRight.cs
731
C#
using RuriLib.Parallelization.Exceptions; using RuriLib.Parallelization.Models; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace RuriLib.Parallelization { /// <summary> /// Provides a managed way to exe...
40.745318
142
0.605478
[ "MIT" ]
EvoDotBlack/OpenBullet2
RuriLib.Parallelization/Parallelizer.cs
10,881
C#
using System; using System.Collections.Generic; using System.Linq; using ModestTree; namespace Zenject { public abstract class ProviderBindingFinalizer : IBindingFinalizer { public ProviderBindingFinalizer(BindInfo bindInfo) { BindInfo = bindInfo; } public bool Copy...
35.947368
174
0.555171
[ "MIT" ]
mgrman/TycoonTerain
Assets/Plugins/Zenject/Source/Binding/Finalizers/ProviderBindingFinalizer.cs
7,513
C#
// This file has been generated using the Simplic.Flow.NodeGenerator using System; using Simplic.Flow; namespace Simplic.Flow.Node { [ActionNodeDefinition(Name = nameof(SystemConvertToByte_Int32), DisplayName = "ToByte(Int32)", Category = "System/Convert")] public class SystemConvertToByte_Int32 : ActionNo...
34.916667
128
0.59825
[ "MIT" ]
simplic/flow
src/Simplic.Flow.Node/ActionNode/Generic/System.Convert/SystemConvertToByte_Int32Node.cs
2,514
C#
using System; using System.Collections.Generic; using System.Web.UI.WebControls; using CMS.Base.Web.UI; using CMS.FormEngine; using CMS.FormEngine.Web.UI; using CMS.Helpers; using Newtonsoft.Json; public partial class CMSFormControls_Basic_DropDownListControl : ListFormControl { private bool? mEdit...
25.833887
150
0.548354
[ "MIT" ]
Kentico/xperience-module-intercom
src/CMS/CMSFormControls/Basic/DropDownListControl.ascx.cs
7,778
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...
44.132075
398
0.686618
[ "Apache-2.0" ]
test-wiz-sec/pulumi-azure-nextgen
sdk/dotnet/ServiceFabric/V20200301/Inputs/ApplicationUpgradePolicyArgs.cs
2,339
C#
using System; using System.Collections.Generic; using System.Text; namespace Vikekh.FilmtipsetExport.Cli.Models { public class MovieRatingsPageItem { public int Rating { get; set; } public string Slug { get; set; } public string SwedishTitle { get; set; } public Date...
19.555556
48
0.633523
[ "MIT" ]
vikekh/filmtipset-export
src/Vikekh.FilmtipsetExport.Cli/Models/MovieRatingsPageItem.cs
354
C#
using System; using Calabonga.AspNetCore.MicroModule.Core.Exceptions; using Microsoft.Extensions.Caching.Memory; namespace Calabonga.AspNetCore.MicroModule.Web.Infrastructure.Services { /// <summary> /// Cache service /// </summary> public class CacheService : ICacheService { private read...
30.325
111
0.582852
[ "MIT" ]
Calabonga/Microservice-Template
AspNetCore v2.2/Calabonga.AspNetCore.MicroModule/Calabonga.AspNetCore.MicroModule/Calabonga.AspNetCore.MicroModule.Web/Infrastructure/Services/CacheService.cs
2,428
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Teknik.Areas.Shortener.Models; using Teknik.Utilities; using Teknik.Models; using Teknik.Data; namespace Teknik.Areas.Shortener { public static class ShortenerHelper { public stati...
27.787879
96
0.63904
[ "BSD-3-Clause" ]
Teknikode/Teknik
Teknik/Areas/Shortener/ShortenerHelper.cs
919
C#
using System; using StarodubOleg.GPPG.Runtime; using DevLab.JmesPath.Tokens; namespace DevLab.JmesPath { partial class JmesPathParser { readonly IJmesPathGenerator generator_; public JmesPathParser(AbstractScanner<ValueType, LexLocation> scanner, IJmes...
34.259912
104
0.574129
[ "Apache-2.0" ]
atifaziz/JmesPath.Net
src/Parser/JmesPathParser.cs
7,779
C#
namespace Microsoft.Protocols.TestSuites.MS_ASCMD { using System; using System.Collections.Generic; using Microsoft.Protocols.TestSuites.Common; using Microsoft.Protocols.TestTools; using Microsoft.VisualStudio.TestTools.UnitTesting; using Request = Microsoft.Protocols.TestSuites.Common.R...
61.324261
337
0.652359
[ "MIT" ]
FangfangFan/Interop-TestSuites
ExchangeActiveSync/Source/MS-ASCMD/TestSuite/S07_GetItemEstimate.cs
78,863
C#
using System; using System.Drawing; using System.Net; namespace DotNetNuke.Services.GeneratedImage { public class ImageInfo { public Image Image { get; private set; } public byte[] ImageByteBuffer { get; private set; } public HttpStatusCode? HttpStatusCode { get; private set; } p...
24.323529
67
0.573156
[ "MIT" ]
DNN-Connect/Dnn.Platform
DNN Platform/Library/Services/GeneratedImage/ImageInfo.cs
829
C#
// <copyright file="AutomaticTracerTests.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc. // </copyright> using System; usi...
34.772358
171
0.65256
[ "Apache-2.0" ]
DataDog/dd-trace-dotnet
tracer/test/Datadog.Trace.Tests/DistributedTracer/AutomaticTracerTests.cs
4,277
C#
namespace SMK_Restaurant { partial class FrmPayment { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /...
49.297189
159
0.589246
[ "MIT" ]
altrawan/smk-restaurant
SMK Restaurant/FrmPayment.Designer.cs
12,277
C#
/* Copyright 2010-2015 MongoDB Inc. * * 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 agreed to in writin...
35.187845
139
0.517402
[ "Apache-2.0" ]
InternationNova/MEANJS
src/MongoDB.Driver.Legacy/Linq/Expressions/ExpressionFormatter.cs
19,107
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace A0002_HelloWorldMvc { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
22.24
64
0.579137
[ "MIT" ]
wangzhiqing999/my-dotnetcore-sample
A0002_HelloWorldMvc/Program.cs
558
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("Ha...
38.675676
84
0.749825
[ "MIT" ]
ChristianKis/HackathonEpam2016
SlbHackWeek2016/HackathonAPITests/Properties/AssemblyInfo.cs
1,434
C#
using Newtonsoft.Json; namespace ThreeRingsSharp.XansData.IO.GLTF.JSON { /// <summary> /// Represents an animation sampler. /// </summary> public class GLTFAnimationChannel : GLTFObject { [JsonProperty("sampler")] public int Sampler; [JsonProperty("target")] public GLTFAnimationChannelTarget Tar...
20.9375
69
0.701493
[ "MIT" ]
aytimothy/ThreeRingsSharp
ThreeRingsSharp/XansData/IO/GLTF/JSON/GLTFAnimationChannel.cs
337
C#
using Neo.Core.Shared; namespace Neo.Core.Communication.Packages { /// <summary> /// Contains the data for the <see cref="PackageType.EditProfileResponse"/> package. /// </summary> public class EditProfileResponsePackageContent { /// <summary> /// The account of the edited ...
34.051282
128
0.593373
[ "MIT" ]
festivaledu/neo-core
Communication/Packages/EditProfileResponsePackageContent.cs
1,330
C#
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bot.Messenger.Models { public class AttachmentMessage : Message { [JsonProperty("attachment")] public virtual Attachment Attachment { get; set; }...
20.5625
58
0.720365
[ "MIT" ]
Be5NzZ/Bot_DotNet
Bot.Messenger/Models/Messaging/Messages/AttachmentMessage.cs
331
C#
using UnityEngine; using Photon.Pun; public class PaddleController : MonoBehaviour { public string upKey, downKey; public float speed; private PhotonView myPv; private void Start() { myPv = GetComponent<PhotonView>(); } private void Update() { if (myPv.IsMine) ...
21.909091
84
0.586445
[ "MIT" ]
xavimarin35/MultiplayerGame
Game/Assets/Scripts/Pong/PaddleController.cs
723
C#
using System; using System.Collections.Generic; namespace PixelSquare.Utility.EventListener { using Parameters; internal class PSObjectListener { private List<Action> m_emptyEvents = null; private List<Action<PSParameters>> m_paramEvents = null; public PSObjectListener() { m_emptyEvents = new List<...
17.758621
61
0.678317
[ "MIT" ]
pixelsquare/pixel-square-utility
PixelSquare/Utility/EventListener/PSObjectListener.cs
1,547
C#
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Web.Http; using System.Web...
51.598291
196
0.623654
[ "MIT" ]
east-pmo/UseCaseTranslator
UseCaseTranslator.WebAPI/Areas/HelpPage/HelpPageConfigurationExtensions.cs
24,148
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.IO; using System.Linq; using System.Text; using Xunit; namespace System.Security.Cryptography.X509Cert...
43.262626
135
0.516127
[ "MIT" ]
ERROR-FAILS-NewData-News/corefx
src/System.Security.Cryptography.X509Certificates/tests/X509FilesystemTests.Unix.cs
29,981
C#
using System; using System.Text; using UnityEngine; namespace ThirdParty { public static class RandomName { public static string GetName(bool male) { string[] array = new string[] { "腼腆的", "机灵的", "英勇的", "可爱的", "阳光的", "开朗的", "活泼的", "无敌的", "伟大的", "高贵的", "温柔的", ...
11.635443
81
0.32376
[ "MIT" ]
moto2002/jiandangjianghu
src/ThirdParty/RandomName.cs
6,542
C#
// sysORUpTime class. // Copyright (C) 2009-2010 Lex Li // // 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...
39.333333
112
0.746973
[ "MIT" ]
oznetmaster/SSharpSharpSnmpLibLibrary
Objects/SysORUpTime.cs
1,652
C#
using System; using System.Globalization; using System.IO; using System.Text; using System.Xml; using Kit; using Kit.Forms.Extensions; using Kit.Model; using Kit.Sql.Attributes; using Kit.Sql.Interfaces; using RSAVault.Resources; using Xamarin.Essentials; namespace RSAVault.Models { public class Note : ModelBase,...
27.308411
127
0.490075
[ "MIT" ]
Jon2G/RSA-Vault
RSAVault/RSAVault/Models/Note.cs
2,924
C#
using System; using System.Collections.Generic; using System.Xml.Schema; using System.Xml.Serialization; using NPOI.OpenXmlFormats.Vml.Wordprocessing; using NPOI.OpenXmlFormats.Vml.Office; using NPOI.OpenXmlFormats.Vml.Spreadsheet; using NPOI.OpenXmlFormats.Vml.Presentation; using System.IO; using System.Xml; using Sys...
25.493557
154
0.467033
[ "Apache-2.0" ]
HermanChou/npoi
ooxml/OpenXmlFormats/Vml/Main.cs
124,638
C#
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
42.392857
98
0.709773
[ "MIT" ]
cuilishen/WallpaperTool
WallpaperTool/WallpaperTool/Properties/AssemblyInfo.cs
2,377
C#
/* * Copyright 2010-2013 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...
36.376623
171
0.632631
[ "Apache-2.0" ]
mahanthbeeraka/dataservices-sdk-dotnet
AWSSDK/Amazon.ElasticBeanstalk/Model/Internal/MarshallTransformations/UpdateEnvironmentResponseUnmarshaller.cs
2,801
C#
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information. using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Diagnostics; using System.Diagnostics.CodeAnalysis;...
35.062176
186
0.558298
[ "Apache-2.0" ]
AndreasBieber/SignalR
src/Microsoft.AspNet.SignalR.SqlServer/DbOperation.cs
6,769
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
26.24
78
0.45122
[ "MIT" ]
Appleseed/squidex
backend/tests/Squidex.Infrastructure.Tests/MongoDb/MongoFieldTests.cs
1,314
C#
using System; namespace Umbraco.Core.Models.PublishedContent { public class PublishedContentWithKeyExtended : PublishedContentExtended, IPublishedContentWithKey { // protected for models, internal for PublishedContentExtended static Extend method protected internal PublishedContentWithKeyExten...
32.8
101
0.731707
[ "MIT" ]
Abhith/Umbraco-CMS
src/Umbraco.Core/Models/PublishedContent/PublishedContentWithKeyExtended.cs
494
C#
using Cofoundry.Core.Validation; using Cofoundry.Domain.CQS; using System.ComponentModel.DataAnnotations; namespace Cofoundry.Domain { /// <summary> /// Updates the main properties of an existing page directory. To /// update properties that affect the route, use <see cref="UpdatePageDirectoryUrlCommand"/...
32.142857
97
0.634444
[ "MIT" ]
BearerPipelineTest/cofoundry
src/Cofoundry.Domain/Domain/PageDirectories/Commands/UpdatePageDirectoryCommand.cs
902
C#
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; namespace ILG.Codex.CodexR4.GMLiceseManger { public sealed class DSLicenseManager { private static volatile DSLicenseManager instance; private...
39.685714
120
0.601944
[ "Unlicense" ]
IrakliLomidze/CodexDS16
CodexDS16.U1.Prev1/TrialRetialUtility/DSLicenseGenerator/DSLicenseGenerator/DSLicenseManagerInformation.cs
13,892
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System.Text.Json; using Azure.Core; namespace Microsoft.Bot.Connector.Client.Models { public partial class Attachment : IUtf8JsonSerializable { void IUtf8JsonS...
29.191489
63
0.560496
[ "MIT" ]
EricDahlvang/TempAutoRestV3Connector
src/Microsoft.Bot.Connector.Client/Generated/Models/Attachment.Serialization.cs
1,372
C#
using Synology.FileStation.Common.Results; namespace Synology.FileStation.List.Results { /// <summary> /// File perm acl result. /// </summary> public interface IFilePermAclResult : ITaskFilePermAclResult { } }
21.454545
64
0.686441
[ "Apache-2.0" ]
DotNetDevs/Synology
Synology/FileStation/List/Results/IFilePermAclResult.cs
238
C#
namespace FKgrain { partial class ComaprisonWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <par...
38.220339
107
0.580044
[ "MIT" ]
ncku-arsem/FKgrain
FKgrain/UI/ComaprisonWindow.Designer.cs
2,257
C#
using System; using System.Runtime.InteropServices; namespace youtube_center.Classes { public static class NativeMethods { private const int Restore = 9; /// <summary> /// Focus the opened downloader. /// </summary> public static void FocusOther() { ...
27.6
84
0.621981
[ "MIT" ]
dukemiller/youtube-center
youtube-center/Classes/NativeMethods.cs
830
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...
38.837838
84
0.75087
[ "MIT" ]
CodeCowboyOrg/WebServiceTestHarness
source/WebServiceTestHarness/CodeCowboy.WebServiceTestHarness/Properties/AssemblyInfo.cs
1,440
C#
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace realima.asterioidz { public class AsteroidBehaviour : MonoBehaviour, IDestroyable { [SerializeField] Asteroid _data; public Asteroid Data => _data; public AsteroidSpawner spawner { g...
26.55
81
0.590395
[ "CC0-1.0" ]
realimatech/AsteroidZ
Assets/_Game/Scripts/Mechanics/Asteroid/AsteroidBehaviour.cs
1,064
C#
using System; using System.Collections; using UnityEngine; public class GongZuoKuangCardLogic : CardLogic { public override void Init() { base.Init(); this.Color = CardLogicColor.red; this.displayName = LocalizationMgr.Instance.GetLocalizationWord("CT_N_14"); this.Desc = string.Concat(new string[] { Lo...
34.016393
176
0.728193
[ "Apache-2.0" ]
Shadowrabbit/BigBiaDecompilation
Source/Assembly-CSharp/GongZuoKuangCardLogic.cs
2,077
C#
using System; using System.Collections.Generic; using System.Linq; namespace CompanyRoster { public class Company_Roster { public static void Main() { var company = new List<Employee>(); var n = int.Parse(Console.ReadLine()); for (int i = 0; i < n; i++) ...
29.6875
103
0.434211
[ "MIT" ]
NadiaKaradjova/SoftUni
C# OOP Basics/Defining Classes Exercises/06 Company Roster/StartUp Company Roster .cs
1,902
C#
using System.Collections.Generic; using System.Data; using System.Linq; namespace SB_Post_Importer.App.Table { public class PostsTable { private readonly string tableName; public PostsTable(string name) { tableName = name; } public string GetSqlCreateState...
25.377358
75
0.418587
[ "MIT" ]
vsh-odeku/southern-bug-app
SB_Post_Importer/App/Table/PostsTable.cs
1,347
C#
using System; namespace OkooneBlogger.Models { public class Identity { public int Id { get; set; } public DateTime Date { get; set; } = DateTime.Now; } }
18.3
58
0.601093
[ "MIT" ]
SomboChea/OkooneBlogger
OkooneBlogger/Models/Identity.cs
185
C#
using Laraue.EfCoreTriggers.Tests; using Xunit; namespace Laraue.EfCoreTriggers.SqlServerTests { [Collection("SqlServerNativeTests")] public class SqlServerNativeTests : BaseNativeTests { public SqlServerNativeTests() : base(new ContextFactory().CreateDbContext()) { } } }
24.153846
84
0.703822
[ "MIT" ]
Adam-Langley/Laraue.EfCoreTriggers
tests/Laraue.EfCoreTriggers.SqlServerTests/SqlServerNativeTests.cs
316
C#
using System; using System.Collections.Generic; namespace WebApp.Models { public partial class Appraise { public int AppraiseId { get; set; } public int UsersId { get; set; } public int ProductId { get; set; } public string Content { get; set; } public int Grade { get; ...
25.526316
52
0.604124
[ "MIT" ]
xiaoqiang-y/change
WebApp/WebApp/Models/Appraise.cs
487
C#
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespace OpenShift.DotNet.Service.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Mi...
34.431818
181
0.678548
[ "MIT" ]
gbraad/OpenShift.Vsix
OpenShift.DotNetStandard/OpenShift API (with Kubernetes)/Models/Iok8skubernetespkgapiv1DownwardAPIProjection.cs
1,517
C#
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using BuildXL.Utilities; using BuildXL.Utilities.Qualifier; using BuildXL.FrontEnd.Script; using BuildXL.FrontEnd.Script.Values; namespace BuildXL.FrontEnd.Scr...
33.804878
124
0.660173
[ "MIT" ]
MatisseHack/BuildXL
Public/Src/FrontEnd/Script/RuntimeModel/ParseResults/PackageConfigParseResult.cs
1,386
C#
using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Windows; using System.Collections.Generic; using System.ComponentModel; using ResourceTypes.Wwise; namespace ResourceTypes.Wwise.Helpers { [TypeConverter(typeof(ExpandableObjectConverter))] public class FxProp { p...
22.825
59
0.568456
[ "MIT" ]
Greavesy1899/Mafia2Toolk
Mafia2Libs/ResourceTypes/FileTypes/Wwise/HIRC/Helpers/HIRC_FxProp.cs
915
C#
using System; using Robust.Client.Animations; using Robust.Client.GameObjects; using Robust.Shared.Animations; using Robust.Shared.GameObjects; using Robust.Shared.Maths; namespace Content.Client.GameObjects.Components { [RegisterComponent] public sealed class AnimationsTestComponent : Component { ...
38.056604
92
0.516609
[ "MIT" ]
BingoJohnson/space-station-14
Content.Client/GameObjects/Components/AnimationsTestComponent.cs
2,017
C#
/** * Copyright 2015 Canada Health Infoway, Inc. * * 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...
45.446809
262
0.729401
[ "ECL-2.0", "Apache-2.0" ]
CanadaHealthInfoway/message-builder-dotnet
message-builder-release-r02_04_02/Main/Ca/Infoway/Messagebuilder/Model/Pcs_mr2009_r02_04_02/Interaction/RequestQueryResultsProviderOrLocation.cs
2,136
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...
31.236111
110
0.632726
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/src/Services/MediaConvert/Generated/Model/JobMessages.cs
2,249
C#
/* * Adornments - Adornments are the basis for overlays and decorations -- things that can be rendered over the top of a ListView * * Author: Phillip Piper * Date: 16/08/2009 1:02 AM * * Change log: * v2.3 * 2009-09-22 JPP - Added Wrap property to TextAdornment, to allow text wrapping to be disabled * ...
41.164179
156
0.575681
[ "MIT" ]
artizzan/WurmAssistant3
lib/ObjectListView/ObjectListView/ObjectListView/Rendering/Adornments.cs
30,340
C#
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
31.110465
183
0.61951
[ "Apache-2.0" ]
econmed/ImageServer20
Dicom/Iod/PersonName.cs
10,704
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....
33.037037
85
0.524664
[ "MIT" ]
ajohnson96/2019-06-c-sharp-labs
labs/snap_lab_04_Exam/Order_Detail.cs
892
C#
using Cake.Frosting; using Cake.Issues.Reporting; using Cake.Issues.Reporting.Generic; [TaskName("Create-Reports-HtmlDxDataGrid-Theme-MaterialPurpleDark")] [IsDependentOn(typeof(AnalyzeTask))] public class CreateReportsHtmlDxDataGridThemeMaterialPurpleDarkTask : FrostingTask<BuildContext> { public override void Ru...
39.045455
116
0.714785
[ "Apache-2.0", "Unlicense" ]
pascalberger/Cake.Issues.Reporting.Generic
demos/frosting/build/tasks/create-reports/CreateReportsHtmlDxDataGridThemeMaterialPurpleDarkTask.cs
859
C#
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCo...
36.482759
147
0.576323
[ "MIT" ]
Mr-357/TestIT
TestIT/TestIT/Areas/Identity/Pages/Account/Login.cshtml.cs
4,234
C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Foundation.Diagnostics; using...
37.674797
99
0.610272
[ "MIT" ]
Roger-random/UWPTest
FutekUSB220/App.xaml.cs
4,636
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("Pr...
37.918919
84
0.746258
[ "MIT" ]
sholev/SoftUni
Fundamentals-2.0/C#-Basics/Homework/Primitive-Data-Types-and-Variables-Homework/PrintAsciiTable/Properties/AssemblyInfo.cs
1,406
C#
using SrcomLib.Clients.Queries.Interfaces; using SrcomLib.ResponseObjects; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace SrcomLib.Clients.Queries { /// <summary> /// Interface for building and submitting a Series Serach Query /// </summary> public cl...
31.594595
140
0.645851
[ "MIT" ]
eonHck/SrcomLib
SrcomLib/Clients/Queries/SeriesClientSearchQuery.cs
2,340
C#
namespace Nancy.Tests.Fakes { using System.Collections.Generic; using System.IO; using IO; public class FakeRequest : Request { public FakeRequest(string method, string path) : this(method, path, new Dictionary<string, IEnumerable<string>>(), RequestStream.FromStream(n...
38.517241
156
0.631155
[ "MIT" ]
BilalHasanKhan/Nancy
src/Nancy.Tests/Fakes/FakeRequest.cs
1,119
C#
using System; using System.Collections.Generic; using System.Text; using System.Linq; using SeoSchema; using SeoSchema.Enumerations; using SuperStructs; namespace SeoSchema.Entities { /// <summary> /// A music video file. /// <see cref="https://schema.org/MusicVideoObject"/> /// </summary> public c...
63.280654
427
0.695875
[ "MIT" ]
jefersonsv/SeoSchema
src/SeoSchema/Entities/MusicVideoObject.cs
23,261
C#