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.ComponentModel; using System.Linq; using System.Reactive.Linq; namespace Bonsai.ONIX { using HeartbeatDataFrame = U16DataFrame; [ONIXDeviceID(ONIXDevices.ID.Heartbeat)] [Description("Heartbeat device that periodically produces samples containing only a clock counter.")] pub...
33.421875
150
0.56475
[ "MIT" ]
jonnew/Bonsai.ONIX
Bonsai.ONIX/HeartbeatDevice.cs
2,141
C#
using Com.Game.Data; using Com.Game.Manager; using Com.Game.Module; using GUIFramework; using MobaHeros.Pvp; using System; using UnityEngine; namespace HUD.Module { public class AttackIndicator : BaseModule { private Transform heroTargetInfo; private string heroName; private UISprite heroIcon...
25.274262
112
0.662771
[ "MIT" ]
corefan/mobahero_src
HUD.Module/AttackIndicator.cs
5,990
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("AWSSDK.IdentityStore")] [assembly: Assembl...
49.09375
295
0.752387
[ "Apache-2.0" ]
DetlefGolze/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/IdentityStore/Properties/AssemblyInfo.cs
1,571
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("Re...
37.648649
84
0.744436
[ "MIT" ]
coenm/FlexKids2015
src/Repository/Properties/AssemblyInfo.cs
1,396
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 System.Linq; using System.Reflection; using Microsoft.EntityFrameworkCore.Diagnostics; using Micro...
42.308333
137
0.63699
[ "Apache-2.0" ]
Peen2539/efcore
test/EFCore.Tests/Metadata/Internal/ModelTest.cs
15,231
C#
/* * Dragonfly Model Schema * * This is the documentation for Dragonfly model schema. * * The version of the OpenAPI document: 1.5.1 * Contact: info@ladybug.tools * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.Linq; using System.IO; using System.Text; using...
42.970909
399
0.576119
[ "MIT" ]
AntoineDao/dragonfly-schema-dotnet
src/DragonflySchema/Model/Building.cs
11,817
C#
// <copyright file="VxArgs.cs" company="ClrCoder project"> // Copyright (c) ClrCoder project. All rights reserved. // Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information. // </copyright> namespace ClrCoder.Validation { using System; using System.Collections....
38.803509
121
0.546433
[ "MIT" ]
ClrCoder/ClrCoderFX
src/ClrCoder/Validation/VxArgs.cs
11,059
C#
using System.Runtime.Serialization; namespace WowSharp.BattleNet.Api.Wow.Character { /// <summary> /// Represents a character's title /// </summary> [DataContract] public class CharacterTitle { /// <summary> /// Gets or sets the id of the title /// </summary> [DataMembe...
25.74
96
0.51826
[ "MIT" ]
bitobrian/Blizzard.net-API
WowSharp.BattleNet.Api/Wow/Character/CharacterTitle.cs
1,289
C#
using System; using System.Diagnostics.CodeAnalysis; using System.Threading; namespace Restall.Ichnaea.Fody.AssemblyToProcess { [AggregateRoot] public class SourceEventUsingManipulatedLocalVariable { [SuppressMessage("ReSharper", "UnusedMember.Global", Justification = CodeAnalysisJustification.StubForTesting)] ...
36.166667
126
0.819124
[ "MIT" ]
pete-restall/Ichnaea
Fody/AssemblyToProcess/SourceEventUsingManipulatedLocalVariable.cs
870
C#
namespace WarMachines.Engine { using WarMachines.Interfaces; using WarMachines.Machines; public class MachineFactory : IMachineFactory { public IPilot HirePilot(string name) { return new Pilot(name); } public ITank ManufactureTank(string name, double attack...
27.5
116
0.651515
[ "MIT" ]
Ico093/TelerikAcademy
C#OOP/Exams/C#OOP-December-2013/1. War Machines/WarMachines-Skeleton/WarMachines/Engine/MachineFactory.cs
662
C#
namespace Mollie.Models.Payment.Request { public class PaySafeCardPaymentRequest : PaymentRequest { public PaySafeCardPaymentRequest() { this.Method = PaymentMethod.PaySafeCard; } /// <summary> /// Used for consumer identification. For example, you could use the consume...
35
99
0.642857
[ "MIT" ]
cmsoftwaresolutions/MollieApi
Mollie.Api/Models/Payment/Request/PaySafeCardPaymentRequest.cs
424
C#
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; namespace ILCompiler.DependencyAnalysisFramework { public interface IDependencyAnalysisMarkStrategy<DependencyContextType> { ...
36.230769
85
0.675867
[ "MIT" ]
belav/runtime
src/coreclr/tools/aot/ILCompiler.DependencyAnalysisFramework/IDependencyAnalysisMarkStrategy.cs
1,413
C#
using System; using System.Collections; using System.IO; using System.Text.RegularExpressions; using UnityEngine; namespace WellFired.Shared { public static class DirectoryExtensions { private static readonly string DEFAULT_INSTALLATION_DIRECTORY = string.Format("{0}/WellFired", Application.dataPath); private ...
29.083333
149
0.695081
[ "MIT" ]
WellFiredDevelopment/WellFired.Direct
solution/WellFired.Shared.Editor/Extensions/DirectoryExtensions.cs
4,190
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.Immutable; using System.Threading; using Microsoft.CodeAnalysis; namespace ...
67.686275
191
0.798378
[ "MIT" ]
BertanAygun/roslyn
src/VisualStudio/Core/Def/Implementation/Library/ObjectBrowser/AbstractObjectBrowserLibraryManager_ListItems.cs
3,454
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using MyMediaPlayer.modele; using System.ComponentModel; using System.Windows.Controls; using FirstFloor.ModernUI.Presentation; using MyMediaPlayer.Modele; namespace MyMediaP...
25.217949
92
0.503305
[ "MIT" ]
kassisdion/media_player
MyMediaPlayer/ViewModels/HomeViewModel.cs
1,969
C#
using System; using System.Collections.Generic; using System.Linq; using Jal.Router.Interface; using Jal.Router.Model; namespace Jal.Router.Impl { public class EndPointProvider : IEndPointProvider { private readonly EndPoint[] _endpoints; public EndPointProvider(IEnumerable<IRouterConfiguratio...
29.162162
156
0.582947
[ "Apache-2.0" ]
raulnq/Jal.Router
Jal.Router/Impl/Outbound/EndPointProvider.cs
1,081
C#
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.InputSystem; public class PadController : MonoBehaviour { public static PadController Instance; int right = 1; public float period = 0.0f; int currentpos = 1; public int i = 0; public float EnemyLo...
26.673077
96
0.482696
[ "MIT" ]
MasterKiller1239/NoRTXgame
My project/Assets/PadScripts/PadController.cs
2,774
C#
using GiftRegistryService.Data.Helpers; using GiftRegistryService.Data.Model; using System; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; using System.Linq; using System.Threading.Tasks; namespace GiftRegistryService.Data { public interface IGiftRegistryServiceContext { ...
38.628571
123
0.589744
[ "MIT" ]
QuinntyneBrown/GiftRegistryService
src/GiftRegistryService/Data/GiftRegistryServiceContext.cs
4,058
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xamarin.Forms; namespace ToolbarDemo { public partial class ToolbarDemoPage : ContentPage { public ToolbarDemoPage() { // Ensure link to Toolkit library. ...
23.357143
74
0.634557
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter13/ToolbarDemo/ToolbarDemo/ToolbarDemo/ToolbarDemoPage.xaml.cs
656
C#
using System; using System.Linq; using JetBrains.Annotations; namespace Archichect.Matching { public sealed class DependencyPattern : CountPattern<string> { [NotNull] private readonly MarkerMatch _markerPattern; private const string COUNT_FIELD_NAME_PATTERN = "^[#!?O]$"; private r...
40.541667
160
0.579651
[ "Apache-2.0" ]
hmmueller/Archichect
src/Archichect/Matching/DependencyPattern.cs
1,946
C#
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Java.Interop.Tools.Diagnostics; usin...
35.565401
179
0.703642
[ "BSD-3-Clause" ]
jamesmontemagno/xamarin-android
src/Xamarin.Android.Build.Tasks/Tasks/NdkUtils.cs
8,429
C#
namespace _15.Substring_Debugging { using System; public class Substring_Debugging { public static void Main() { string text = Console.ReadLine(); int takeChars = int.Parse(Console.ReadLine()); bool match = false; for (int i = 0; i < text.L...
24.363636
68
0.377799
[ "MIT" ]
Pazzobg/02.01.Programming-Fundamentals-Class
04.Methods-and-Debugging/04.Methods-and-Debugging-Exercises/15.Substring-Debugging/Substring-Debugging.cs
1,074
C#
using System.Threading.Tasks; namespace UGF.Builder.Runtime { public interface IBuilderAsync<in TArguments, TResult> : IBuilderAsync { Task<T> BuildAsync<T>(TArguments arguments) where T : TResult; Task<TResult> BuildAsync(TArguments arguments); } }
25.454545
74
0.710714
[ "MIT" ]
unity-game-framework/ugf-builder
Packages/UGF.Builder/Runtime/IBuilderAsync`2.cs
282
C#
// dnlib: See LICENSE.txt for more info using System; using System.Collections.Generic; using System.IO; using dnlib.DotNet.MD; using dnlib.IO; namespace dnlib.DotNet { /// <summary> /// Helps <see cref="SignatureReader"/> resolve types /// </summary> public interface ISignatureReaderHelper { /// <summary> //...
40.922059
169
0.694326
[ "MIT" ]
AnakinSklavenwalker/dnlib
src/DotNet/SignatureReader.cs
27,827
C#
// Decompiled with JetBrains decompiler // Type: AudioClipPlayer // Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 5F8D6662-C74B-4D30-A4EA-D74F7A9A95B9 // Assembly location: C:\YandereSimulator\YandereSimulator_Data\Managed\Assembly-CSharp.dll using UnityEngine; public stat...
34.042553
91
0.725417
[ "Unlicense" ]
JaydenB14/YandereSimulatorDecompiled
Assembly-CSharp/AudioClipPlayer.cs
4,802
C#
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BestHTTP.Logger { /// <summary> /// A basic logger implementation to be able to log intelligently additional informations about the plugin's internal mechanism. /// </summary> public class DefaultLogger : B...
32.728682
132
0.412838
[ "Unlicense" ]
ouyangwenyuan/OhMyFramework
UnityProject/Assets/Runtime/Framework/Asset/BestHTTP/BestHTTP/Logger/DefaultLogger.cs
4,224
C#
using Gwen.Net; using Gwen.Net.Control; namespace Gwen.Net.Tests.Components { [UnitTest(Category = "Non-Interactive", Order = 101)] public class LinkLabelTest : GUnit { private readonly Font font1; private readonly Font fontHover1; public LinkLabelTest(ControlBase parent) ...
32.615385
82
0.51592
[ "MIT" ]
Geinome/Gwen.CS
Gwen.Net.Tests.Components/LinkLabelTest.cs
1,698
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> //------------------------------------------...
41.782609
80
0.650364
[ "MIT" ]
mlaba49/project1
aspnet/PizzaBox.Storing/obj/Release/net5.0/PizzaBox.Storing.AssemblyInfo.cs
961
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...
26.929825
81
0.581107
[ "Apache-2.0" ]
pulumi/pulumi-azure-nextgen
sdk/dotnet/HybridCompute/V20200730Preview/Outputs/MachineExtensionInstanceViewResponseStatus.cs
1,535
C#
using System; // ReSharper disable UnusedMember.Global // ReSharper disable UnusedType.Global namespace YL.Simplification { public static class DayOfWeekExtensions { public static bool Between(this DayOfWeek self, DayOfWeek min, DayOfWeek max, bool inclusive = true) { return inclu...
26.954545
108
0.509275
[ "MIT" ]
YLahin/TequilaLegacy
YL.Simplification/DayOfWeekExtensions.cs
595
C#
namespace Sawczyn.EFDesigner.EFModel { partial class GeneralizationBuilder { // The Generalization connection tool specifies that source and target should be reversed. private static bool CanAcceptModelClassAsSource(ModelClass candidate) { // dependent types can't participate in inhe...
33.235294
133
0.678761
[ "MIT" ]
BigHam/EFDesigner
src/Dsl/CustomCode/Connection Builders/GeneralizationBuilder.cs
1,132
C#
using System; using System.Collections.ObjectModel; using CMiX.Models; using CMiX.ViewModels; using Memento; namespace CMiX.ViewModels { public class FileNameItem : ViewModel { public FileNameItem(string messageaddress, ObservableCollection<OSCValidation> oscvalidation, Mementor mementor) ...
27.84375
120
0.588103
[ "MIT" ]
cloneproduction/CMiX_UI
Messenger/FileNameItem.cs
1,784
C#
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Comp...
53.987578
209
0.623102
[ "MIT" ]
LeszekKalibrate/azure-sdk-for-net
sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestOperations/SharedGalleriesRestOperations.cs
17,384
C#
using System.Collections.Generic; using UnityEngine; namespace XCharts { /// <summary> /// the type of symbol. /// 标记图形的类型。 /// </summary> public enum SerieSymbolType { /// <summary> /// 空心圆。 /// </summary> EmptyCircle, /// <summary> /// 圆形。 ...
34.009217
137
0.515854
[ "MIT" ]
Hengle/unity-ugui-XCharts
Assets/XCharts/Scripts/UI/Internal/SerieSymbol.cs
7,930
C#
/* Status: Solved Imported: 2020-05-02 12:11 By: Casper Url: https://app.codesignal.com/arcade/code-arcade/loop-tunnel/hBw5BJiZ4LmXcy92u Description: Given integers n, l and r, find the number of ways to represent n as a sum of two integers A and B such that l ≤ A ≤ B ≤...
30.529412
89
0.572254
[ "Apache-2.0" ]
casper-a-hansen/CodeSignal
CodeSignalSolutions/TheCore/LoopTunnel/countSumOfTwoRepresentations2Class.cs
1,583
C#
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x18_d4de-4a94744f")] public void Method_0018_d4de() { ii(0x18_d4de, 4); enter(0x14, 0); /...
77.126437
103
0.360358
[ "Apache-2.0" ]
mikhail-khalizev/max
source/MikhailKhalizev.Max/source/Program/Auto/z-0018-d4de.cs
6,710
C#
#region License /* * Copyright 2002-2009 the original author or authors. * * 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 * * Unle...
34.910448
126
0.642796
[ "Apache-2.0" ]
crowleym/common-logging
test/Common.Logging.Log4Net1210.Tests/Logging/Log4Net/Log4NetLoggerFactoryAdapterTests.cs
4,678
C#
 // WearCommand.cs // Copyright (c) 2014+ by Michael Penner. All rights reserved. using System.Diagnostics; using Eamon.Framework; using Eamon.Framework.Primitive.Classes; using Eamon.Framework.Primitive.Enums; using Eamon.Game.Attributes; using EamonRT.Framework.Commands; using EamonRT.Framework.Primiti...
23.277778
153
0.638425
[ "MIT" ]
TheRealEamonCS/Eamon-CS
System/EamonRT/Game/Commands/Player/Manipulation/WearCommand.cs
4,192
C#
using System.Text; using Blockcore.Jose; using Xunit; namespace UnitTests { public class AesGcmTest { private byte[] aes128Key = new byte[] { 194, 164, 235, 6, 138, 248, 171, 239, 24, 216, 11, 22, 137, 199, 215, 133 }; [Fact] public void Encrypt() { //given byte[] iv = ...
31.113636
122
0.509861
[ "MIT" ]
block-core/blockcore-jose
Blockcore.Jose.Tests/AesGcmTest.cs
1,369
C#
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MonoTouchRenderContext.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Implements a <see cref="IRenderContext"/> for MonoTouc...
39.164336
222
0.518838
[ "MIT" ]
BRER-TECH/oxyplot
Source/OxyPlot.XamarinIOS/MonoTouchRenderContext.cs
22,404
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 Roslyn.Utilities; namespace Microsoft.CodeAnalysis.Remote { /// <summary> /// Abstract...
38.771084
132
0.646053
[ "MIT" ]
lostmsu/roslyn
src/Workspaces/Core/Portable/Remote/RemoteServiceName.cs
3,220
C#
namespace TeensyCNCManager.Core.Commands { using System.IO; public class BaseCommand { protected int PayloadReadCounter; protected byte[] DataBytes; public BaseCommand() { } public BaseCommand(byte[] dataBytes) { DataBytes = dataBytes;...
21.545455
87
0.543601
[ "MIT" ]
IlyaChernov/Teensy_CNC_Manager
TeensyCNCManager.Core/Commands/BaseCommand.cs
1,424
C#
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Adamant.Tools.Compiler.Bootstrap.Tests.Unit.Emit.C")]
32
85
0.804688
[ "MIT" ]
adamant/adamant.tools.compiler.bootstrap
Emit.C/InternalsVisibleTo.cs
128
C#
using System; namespace LearnInterfaces { class Truck : IAutomobile { public string LicensePlate { get; } public double Speed { get; private set; } //only can be set when initial the object by construtor. then can't be changed any more. public int Wheels ...
18.673077
96
0.436663
[ "Apache-2.0" ]
SpAiNiOr/mystudy
learning/csharp/Interface/Truck.cs
971
C#
using System.Collections.Generic; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace LeeWay.Ensure.ControllerAttributes.Tests.Fakes.Controllers { [Route("api/[controller]")] [ApiController] [AllowAnonymous] public class PublicController : ControllerBase { /...
22.3
68
0.53991
[ "MIT" ]
JimiSweden/LeeWay
LeeWay.Ensure.ControllerAttributes.Tests/Fakes/Controllers/PublicController.cs
1,117
C#
using MaxiPago.Gateway; using MaxiPago.DataContract; using MaxiPago.DataContract.Transactional; namespace MaxiPagoExample { class Program { static void Main(string[] args) { Transaction transaction = new Transaction(); transaction.Environment = "TEST"; ResponseBase ...
50.552239
139
0.613227
[ "Apache-2.0" ]
danilobenedetti/sdk-dotnet-maxipago
test/sale-with-token.cs
3,387
C#
using Csla; using Csla.Core; using System; using System.Threading.Tasks; [Serializable] public class ExpressionBodiedMember : BusinessBase<ExpressionBodiedMember> { public static readonly PropertyInfo<int> ResourceIdProperty = RegisterProperty<int>(c => c.ResourceId); public int ResourceId => ReadProperty(Resou...
19.657143
105
0.66686
[ "MIT" ]
angtianqiang/csla
Source/Csla.Analyzers/Csla.Analyzers.IntegrationTests/Csla.Analyzers.IntegrationTests/AnalyzerTests.cs
3,442
C#
using System; using System.Collections; using System.Collections.Generic; using Microsoft.Practices.Unity; using System.Linq; using Rebus.Configuration; namespace Rebus.Unity { public class UnityContainerAdapter : IContainerAdapter { readonly IUnityContainer unityContainer; publi...
32.097561
114
0.645897
[ "Apache-2.0" ]
jacobbonde/Rebus
src/Rebus.Unity/UnityContainerAdapter.cs
1,318
C#
/* * LIO - Order Management API * * API de gerenciamento de pedidos da LIO. * * OpenAPI spec version: 1.0.0 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.IO; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using S...
33.511111
112
0.558621
[ "Apache-2.0" ]
DeveloperCielo/LIO-SDK-API-Integracao-Remota-v1-CSHARP
src/IO.Swagger.Test/Api/OrderManagementApiTests.cs
7,540
C#
//---------------------------------------------------------------------------- // <copyright file="Program.cs" // company="Markus M. Egger"> // Copyright (C) 2018 Markus M. Egger. All rights reserved. // </copyright> // <author>Markus M. Egger</author> // <description> // The main program class of the "...
32.893868
115
0.490787
[ "MIT" ]
prof79/PPCSDSA
Arrays/Program.cs
13,949
C#
using Dna; using Dna.AspNet; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; namespace ChatWpf.Web.Server { public class Program { public static void Main(string[] args) { CreateBuildWebHostBuilder(args).Build().Run(); } public static IWebHostBuilde...
23.5
78
0.564648
[ "Unlicense" ]
lego963/ChatWpf
ChatWpf.Web.Server/Program.cs
613
C#
using System; using System.Collections.Generic; using System.Data; using System.Text; namespace Sample.Domain.Managers { public class SampleManager : IManager { private IDbConnection Connection; public SampleManager(IDbConnection connection) { Connection = connection; } public string Get() { var...
20.576923
73
0.723364
[ "MIT" ]
cfryerdev/composition-root-example
Sample.Domain/Managers/SampleManager.cs
537
C#
namespace ClearHl7.Codes.V280 { /// <summary> /// HL7 Version 2 Table 0618 - Protection Code. /// </summary> /// <remarks>https://www.hl7.org/fhir/v2/0618</remarks> public enum CodeProtectionCode { /// <summary> /// LI - Listed. /// </summary> Listed, ...
24.25
61
0.505155
[ "MIT" ]
davebronson/clear-hl7-net
src/ClearHl7.Codes/V280/CodeProtectionCode.cs
584
C#
using System; using Moq; using NUnit.Framework; using Umbraco.Core.Composing; using Umbraco.Core.Configuration; using Umbraco.Core.Models; using Umbraco.Tests.TestHelpers; using Umbraco.Tests.Testing; using Umbraco.Web.PublishedCache.XmlPublishedCache; namespace Umbraco.Tests.Routing { // purpose: test the values...
44.827586
346
0.594231
[ "MIT" ]
bharanijayasuri/umbraco8
src/Umbraco.Tests/Routing/UrlRoutesTests.cs
15,602
C#
/* Copyright (C) 2020 Jean-Camille Tournier (mail@tournierjc.fr) This file is part of QLCore Project https://github.com/OpenDerivatives/QLCore QLCore is free software: you can redistribute it and/or modify it under the terms of the QLCore and QLNet license. You should have received a copy of the license along w...
43.666667
141
0.608142
[ "BSD-3-Clause" ]
tournierjc/QLCore
QLCore/TermStructures/Volatility/EquityFx/LocalVolSurface.cs
6,290
C#
using System; namespace Xbox_360_Guide_Button_Remapper { [Serializable()] public class Key { public string KeyCode { get; set; } public int KeyValue { get; set; } public Key() { KeyCode = string.Empty; KeyValue = 0; } publi...
17.28
43
0.479167
[ "MIT" ]
pinumbernumber/Xbox-360-Guide-Button-Remapper
Source/Xbox 360 Guide Button Remapper/Key.cs
434
C#
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
34.608696
95
0.537688
[ "MIT" ]
EdoardoTona/squidex
backend/src/Squidex.Domain.Apps.Entities/Schemas/ISchemasHash.cs
798
C#
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://w...
50.536364
256
0.675121
[ "MIT" ]
3quanfeng/azure-powershell
src/CosmosDB/CosmosDB/SQL/UpdateAzCosmosDBSqlDatabase.cs
5,452
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CharlieBackend.Business.Services.Interfaces; using CharlieBackend.Core.DTO.Schedule; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using CharlieBackend.Cor...
38.769912
128
0.645971
[ "MIT" ]
BobinMathew/WhatBackend
CharlieBackend.Api/Controllers/SchedulesController.cs
4,383
C#
#nullable disable namespace EFCore6WebAPI; public partial class Employee { public long Idemployee { get; set; } public string Name { get; set; } public long Iddepartment { get; set; } public virtual Department IddepartmentNavigation { get; set; } }
20.692308
66
0.70632
[ "MIT" ]
ignatandrei/Presentations
2021/WhatsNewNet6/code/EFCore6/EFCore6WebAPI/Employee.cs
271
C#
using System; namespace Cortside.DomainEvent.EntityFramework.IntegrationTests.Events { public class WidgetStateChangedEvent { public int WidgetId { get; set; } public DateTime Timestamp { get; set; } } }
25.444444
72
0.707424
[ "MIT" ]
SubjectiveReality/cortside.domainevent
src/Cortside.DomainEvent.EntityFramework.IntegrationTests/Events/WidgetStateChangedEvent.cs
229
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("AWSSDK.Comprehend")] [assembly: AssemblyDe...
55.375
497
0.760722
[ "Apache-2.0" ]
gnurg/aws-sdk-net
sdk/code-analysis/ServiceAnalysis/Comprehend/Properties/AssemblyInfo.cs
1,772
C#
using Kentico.Kontent.Delivery.Abstractions; using Kentico.Kontent.Delivery.Urls.QueryParameters; using PetrSvihlik.Com.Models.ContentTypes; using Kontent.Statiq; using Statiq.Common; using Statiq.Core; using Statiq.Razor; using System.Linq; using PetrSvihlik.Com.Models.ViewModels; namespace PetrSvihlik.Com.Pipelines ...
45.827586
173
0.589165
[ "MIT" ]
petrsvihlik/petrsvihlik.com
Pipelines/PostsPipeline.cs
2,658
C#
using System; using System.Threading.Tasks; using Microsoft.Bot.Schema; namespace Microsoft.Bot.Builder.Skills { public interface ISkillTransport { Task<bool> ForwardToSkillAsync(ITurnContext dialogContext, Activity activity, Action<Activity> tokenRequestHandler = null); Task CancelRemoteDial...
26.066667
131
0.749361
[ "MIT" ]
3ve4me/botframework-solutions
lib/csharp/microsoft.bot.builder.skills/Microsoft.Bot.Builder.Skills/ISkillTransport.cs
393
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.94898
149
0.624887
[ "Apache-2.0" ]
ChristopherButtars/aws-sdk-net
sdk/src/Services/Macie2/Generated/Model/Internal/MarshallTransformations/AdminAccountUnmarshaller.cs
3,327
C#
namespace TraktNet.Objects.Post.Comments { using Get.Shows; using Objects.Json; using System.Threading; using System.Threading.Tasks; /// <summary>A show comment post.</summary> public class TraktShowCommentPost : TraktCommentPost, ITraktShowCommentPost { /// <summary> /// ...
31.793103
137
0.650759
[ "MIT" ]
henrikfroehling/Trakt.NET
Source/Lib/Trakt.NET/Objects/Post/Comments/Implementations/TraktShowCommentPost.cs
924
C#
using Game.Engine.Interactions.Built_In; using Game.Engine.Items; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Game.Engine.Monsters; using Game.Engine.Monsters.MonsterFactories; namespace Game.Engine.Interactions.Built_In { c...
46.96875
184
0.525283
[ "MIT" ]
doworek/rpg-game
Engine/Interactions/Built-In/WhiteDragonNormalStrategy.cs
3,008
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 Microsoft.Data.Entity.FunctionalTests; namespace Microsoft.Data.Entity.InMemory.FunctionalTests { public class AsyncQueryInMemoryTest : Async...
31.5
111
0.740079
[ "Apache-2.0" ]
suryasnath/csharp
test/EntityFramework.InMemory.FunctionalTests/AsyncQueryInMemoryTest.cs
504
C#
/* Copyright (c) 2019 Samsung Electronics Co., Ltd. .* .* 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 l...
41.391705
321
0.596805
[ "Apache-2.0", "MIT" ]
Coquinho/TizenFX
src/Tizen.NUI/src/public/Layouting/GridLayout.cs
17,966
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace ExemploWindows { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static v...
22.304348
65
0.614035
[ "MIT" ]
carloscds/Palestras
VSSummit2019/WindowsForms/ExemploWindows/ExemploWindows/Program.cs
515
C#
using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.InteropServices.ComTypes; using System.Text; using NUnit.Framework; using RoseByte.SharpFiles.Extensions; namespace RoseByte.SharpFiles.Tests { [TestFixture] public class FileTests { ...
32.084806
111
0.525771
[ "MIT" ]
mgottvald/SharpFilePath
SharpFilepath.Tests/Internal/FileTests.cs
9,082
C#
using CryptoExchange.Net.ExchangeInterfaces; using FTX.Net.Converters; using FTX.Net.Enums; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace FTX.Net.Objects.Spot { /// <summary> /// User trade info /// </summary> public class FTXUserTrade: ICommonTrad...
27.44898
63
0.515242
[ "MIT" ]
wclark17/FTX.Net
FTX.Net/Objects/Spot/FTXUserTrade.cs
2,692
C#
using Samples.Application; using StoryTeller; using StoryTeller.Grammars.Tables; namespace Samples.Fixtures { public class CalculatorFixture : Fixture { private readonly Calculator _calculator = new Calculator(); // SAMPLE: start-with-sentence [FormatAs("Start with {value}")] p...
25.028369
103
0.538963
[ "Apache-2.0" ]
SeanKilleen/Storyteller
src/Samples/Fixtures/CalculatorFixture.cs
3,529
C#
using System.Configuration; using System.Net.Http; using System.Threading.Tasks; using AzureFunctionsForSharePoint.Functions; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Azure.WebJobs.Host; namespace AzureFunctionsForSharePoint.Host { /// <summary> /// Entr...
43.545455
178
0.690501
[ "MIT" ]
InstantQuick/AzureFunctionsForSharePoint
AzureFunctionsForSharePoint.Host/GetACSAccessTokensFunctionHandler.cs
1,916
C#
 using Synuit.Toolkit.Models.Metadata; // namespace Synuit.Toolkit.Test.Plugins { public class PluginAMetadata : ExplicitModel { public string Name { get; set; } = ""; public int Value { get; set; } = 0; public string SpecificToPluginA { get; set; } = ""; } }
22.153846
57
0.631944
[ "MIT" ]
Synuit-Platform/Synuit.Toolkit
tests/Synuit.Toolkit.Tests.Plugin.A/PluginAMetadata.cs
290
C#
using PaySharp.Wechatpay.Domain; using PaySharp.Wechatpay.Response; namespace PaySharp.Wechatpay.Request { public class TransferQueryRequest : BaseRequest<TransferQueryModel, TransferQueryResponse> { public TransferQueryRequest() { RequestUrl = "/mmpaymkttransfers/gettransferinfo";...
25.666667
94
0.647495
[ "MIT" ]
Abbotton/PaySharp
src/PaySharp.Wechatpay/Request/TransferQueryRequest.cs
541
C#
using System; namespace DirectedGraphLesson.Clients { public class DepthFirstSearch { private DirectedGraph _graph; private bool[] _marked; private int _count; public DepthFirstSearch(DirectedGraph graph, int source) { if (graph == null || g...
21.692308
70
0.478723
[ "MIT" ]
mainframebot/csharp-datastructures-graphs
DirectedGraphLesson/Clients/DepthFirstSearch.cs
1,130
C#
// <copyright file="ProviderExtensions.cs" company="OpenTelemetry Authors"> // Copyright The OpenTelemetry Authors // // 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.apa...
37.365079
101
0.647409
[ "Apache-2.0" ]
Fresa/opentelemetry-dotnet
src/OpenTelemetry/ProviderExtensions.cs
2,354
C#
// <copyright file="AnalyzeResponses.ascx.cs" company="Engage Software"> // Engage: Survey // Copyright (c) 2004-2015 // by Engage Software ( http://www.engagesoftware.com ) // </copyright> // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED // TO THE ...
48.011419
211
0.527131
[ "MIT" ]
bdukes/Engage-Survey
Source/AnalyzeResponses.ascx.cs
29,431
C#
using System.Runtime.Serialization; namespace Service.ServerKeyValue.Grpc.Models { [DataContract] public class KeysGrpcResponse { [DataMember(Order = 1)] public string[] Keys { get; set; } } }
18.272727
44
0.736318
[ "MIT" ]
MyJetEducation/Service.ServerKeyValue
src/Service.ServerKeyValue.Grpc/Models/KeysGrpcResponse.cs
201
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 r...
38.164894
128
0.503833
[ "BSD-3-Clause" ]
Ana-Green/halcyon-1
OpenSim/Tools/OpenSim.GridLaunch/AppExecutor_Thread.cs
7,175
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 SurviveOnSotka.Db; namespace Sur...
33.369403
125
0.449066
[ "MIT" ]
vladisa385/SurviveOnSotka
Db/Migrations/20190531050021_11.Designer.cs
17,888
C#
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNetCore.Components { [System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)] ...
115
337
0.792581
[ "Apache-2.0" ]
MuhortovAA/AspNetCore
src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.netcoreapp.cs
50,140
C#
//------------------------------------------------------------------------------ // <auto-generated> // This code was automatically generated. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--------------------------------------------...
60.145161
220
0.727541
[ "MIT" ]
Joey35233/FoxKit
FoxKit/Assets/FoxKit/Modules/DataSet/Fox/TppWaterDropsOnCameraLens.Generated.cs
3,729
C#
namespace Daves.WordamentSolver.Tries { public class TrieSearchResult { // Provided to make beginning a prefix search chain more convenient (result.TerminalNode vs result?.TerminalNode) public TrieSearchResult() { } public TrieSearchResult(Trie.Node terminalNode, bool containsP...
30.238095
121
0.644094
[ "MIT" ]
JTOne123/Daves.WordamentSolver
Daves.WordamentSolver/Tries/TrieSearchResult.cs
637
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/codecapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using NUnit.Framework; using Syst...
43.488889
148
0.703117
[ "MIT" ]
phizch/terrafx.interop.windows
tests/Interop/Windows/um/codecapi/CODECAPI_AVEncDDRFPreEmphasisFilterTests.cs
1,959
C#
namespace Models { public static class SignedInUser { // store info about signed-in user public static string User_id { get; set; } public static string Email { get; set; } public static string Fname { get; set; } public static string Lname { get; set; } public s...
30.25
51
0.606061
[ "MIT" ]
Zenithcoder/SCORM-LearningManagementSystem
OpenSourceSCORMLMS/Areas/Models/SignedInUser.cs
365
C#
using Terraria; using Terraria.ID; using static Terraria.ID.ItemUseStyleID; public class ItemUseStyleIDTest { public void SetUseStyle(Item item) { item.useStyle = ItemUseStyleID.HoldUp; item.useStyle = ItemUseStyleID.Shoot; item.useStyle = ItemUseStyleID.Swing; item.useStyle = ItemUseStyleID.EatFood; item.u...
23.238095
41
0.756148
[ "MIT" ]
blushiemagic/tModLoader
tModPorter/tModPorter.Tests/TestData/ItemUseStyleIDTest.Expected.cs
488
C#
using iBank.Operator.Desktop.ViewModels; using OfficeOpenXml; using Ookii.Dialogs.Wpf; using System; using System.Drawing; using System.IO; using System.Windows; using System.Windows.Controls; namespace iBank.Operator.Desktop.Views { /// <summary> /// Interaction logic for Bank.xaml /// </summary> ...
32.508475
121
0.519812
[ "MIT" ]
mcap-ibank/iBank.Desktop
iBank.Operator.Desktop/Views/DactyloscopyView.xaml.cs
1,947
C#
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using EventCatalogApi.Data; using EventCatalogApi.Domain; using EventCatalogApi.ViewModels; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.C...
33.055556
98
0.538375
[ "MIT" ]
zewditu/MicroServicesPartOne
Eventbriteassignment/EventCatalogApi/Controllers/EventController.cs
3,572
C#
namespace Nacos { using Microsoft.Extensions.Logging; using Nacos.V2.Utils; using System; using System.Collections.Concurrent; using System.IO; using System.Threading; using System.Threading.Tasks; public class FailoverReactor : IDisposable { public static string FAILOVER_M...
36.918478
123
0.477403
[ "Apache-2.0" ]
SwingZhang/nacos-sdk-csharp
src/Nacos/Naming/Cache/FailoverReactor.cs
6,795
C#
// ******************************************************************************************************** // Product Name: DotSpatial.Symbology.Forms.dll // Description: The Windows Forms user interface layer for the DotSpatial.Projections library. // // *********************************************************...
38.935484
109
0.517813
[ "MIT" ]
sdrmaps/dotspatial
Source/DotSpatial.Symbology.Forms/ImageLayerActions.cs
2,416
C#
using System; namespace Man.Dapr.Sidekick.Security { public class RandomStringApiTokenProvider : IDaprApiTokenProvider { public string GetAppApiToken() => Guid.NewGuid().ToString(); public string GetDaprApiToken() => Guid.NewGuid().ToString(); } }
23.25
69
0.695341
[ "Apache-2.0" ]
Benknightdark/dapr-sidekick-dotnet
src/Man.Dapr.Sidekick/Security/RandomStringApiTokenProvider.cs
281
C#
using System; using UnityEngine; /// <summary> /// 满足特定条件时才显示,为UnityEvent类型量身定制 /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] public class ConditionalShow4UEventAttribute : PropertyAttribute { //条件字段,枚举或整型 public string ConditionalIntField = ""; ...
35.538462
104
0.728355
[ "Apache-2.0" ]
Minstreams/Hometopia
Assets/Scripts/Library/ConditionalShow4UEvent/ConditionalShow4UEventAttribute.cs
988
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.UI.Xaml; using Windows.UI.Xam...
38.405405
99
0.626789
[ "Apache-2.0" ]
NoleHealth/xamarin-forms-book-preview-2
Chapter12/DynamicStyles/DynamicStyles/DynamicStyles.UWP/App.xaml.cs
4,265
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> //--...
37.706827
325
0.571733
[ "CC0-1.0" ]
ahmedBylka/Gestion_hotel_distribuee
AgenceGUI/AgenceGUI/Web References/ReferenceServiceDisponibilte/Reference.cs
9,391
C#
using System.Windows; namespace Tracker.Views { /// <summary> /// Interaction logic for AboutWindow.xaml /// </summary> public partial class AboutWindow : Window { public AboutWindow() { InitializeComponent(); } } }
17.375
46
0.568345
[ "MIT" ]
vjkrammes/Tracker
Tracker/Views/AboutWindow.xaml.cs
280
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("MyE...
37.459459
84
0.746753
[ "MIT" ]
pilacst/MyEmailer
MyEmailer/Properties/AssemblyInfo.cs
1,389
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
33.662791
114
0.648359
[ "Apache-2.0" ]
PureKrome/aws-sdk-net
sdk/src/Services/CodeBuild/Generated/Model/Internal/MarshallTransformations/S3ReportExportConfigMarshaller.cs
2,895
C#
using System.Runtime.InteropServices; namespace RFReborn.Windows.Native.Structs { /// <summary> /// The RECT structure defines a rectangle by the coordinates of its upper-left and lower-right corners. /// </summary> [StructLayout(LayoutKind.Sequential)] public struct RECT { /// <summar...
28.875
108
0.600649
[ "MIT" ]
mztikk/RFReborn.Windows
RFReborn.Windows/Native/Structs/RECT.cs
926
C#