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 Amazon.DynamoDBv2.Model;
namespace NBasis.OneTable.Attributization.Converters
{
internal sealed class FloatConverter : AttributeConverter<float>
{
public override float Read(AttributeValue attribute)
{
return float.Parse(attribute.N);
}
public override Attrib... | 24.09434 | 72 | 0.55834 | [
"MIT"
] | shawnspeak/nbasis-onetable | src/NBasis.OneTable/Attributization/Converters/NumberConverter.cs | 1,279 | C# |
using System.Threading.Tasks;
using Autofac;
using SeqCli.EndToEnd.Support;
namespace SeqCli.EndToEnd
{
static class Program
{
static async Task<int> Main(string[] rawArgs)
{
var args = new Args(rawArgs);
var builder = new ContainerBuilder();
builder.Regist... | 24.85 | 63 | 0.617706 | [
"Apache-2.0"
] | datalust/seqcli | test/SeqCli.EndToEnd/Program.cs | 499 | C# |
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace AdobeSignClient.V4.Model
{
/// <summary>
/// </summary>
[DataContract]
public class SendThroughWebOptions
{
/// <summary>
/// Controls various file upload options available on the compose pag... | 35.175 | 93 | 0.613362 | [
"Apache-2.0"
] | superbee66/AdobeSignCSharpSdk | v4/src/main/CsharpDotNet2/IO/Swagger/Model/SendThroughWebOptions.cs | 1,407 | C# |
using System;
namespace CrashCourse.Domain.Exceptions
{
public class CrashCourseDomainSolutionException : Exception
{
public CrashCourseDomainSolutionException(long id)
:base($"Given the open CrashCourse id:{id}, when you close it, solution can nott be null or empty")
{}
}
}
| 28.818182 | 111 | 0.694006 | [
"MIT"
] | Wizyma/dotnet-hand-on | CrashCourse.Domain/Exceptions/CrashCourseDomainSolutionException.cs | 319 | C# |
using System;
using System.Threading.Tasks;
namespace NewsTrack.Browser
{
public interface IRequestor : IDisposable
{
Task<string> Get(Uri uri);
}
} | 17.8 | 46 | 0.651685 | [
"MIT"
] | gcastellov/news-track | src/backend/NewsTrack.Browser/IRequestor.cs | 178 | C# |
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using Microsoft.AspNetCore.Components;
using System;
using System.Collect... | 27.283019 | 111 | 0.57953 | [
"Apache-2.0"
] | 5118234/BootstrapBlazor | src/BootstrapBlazor/Components/Carousel/CarouselBase.cs | 1,552 | C# |
//
// DomainList.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2021 .NET Foundation and Contributors
//
// 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 Softwa... | 28.889353 | 150 | 0.643951 | [
"MIT"
] | aleks-ivanov/MimeKit | MimeKit/DomainList.cs | 13,840 | C# |
using System.Web;
using System.Web.Mvc;
namespace O365_WebApp_SingleTenant
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| 19.785714 | 80 | 0.67148 | [
"Apache-2.0"
] | OfficeDev/O365-WebApp-SingleTenant | O365-WebApp-SingleTenant/App_Start/FilterConfig.cs | 279 | C# |
using System;
using NetOffice;
namespace NetOffice.PublisherApi.Enums
{
/// <summary>
/// SupportByVersion Publisher 14, 15, 16
/// </summary>
[SupportByVersionAttribute("Publisher", 14,15,16)]
[EntityTypeAttribute(EntityType.IsEnum)]
public enum PbMergeType
{
/// <summary>
/// SupportByVersion Publish... | 25.325 | 53 | 0.647581 | [
"MIT"
] | brunobola/NetOffice | Source/Publisher/Enums/PbMergeType.cs | 1,015 | C# |
// <copyright file="ChatRoomManager.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.ChatServer;
using System.Collections.Concurrent;
using Microsoft.Extensions.Logging;
/// <summary>
/// The Chat Ro... | 32.948718 | 121 | 0.65214 | [
"MIT"
] | ADMTec/OpenMU | src/ChatServer/ChatRoomManager.cs | 2,572 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | 34.851852 | 77 | 0.758767 | [
"MIT"
] | Softeq/Zendesk-xamarin-android | src/ConfigurationSDK.Bindings.Droid/Properties/AssemblyInfo.cs | 944 | C# |
using System;
using System.Linq;
using Argolis.Models;
namespace Argolis.Hydra.Models
{
/// <summary>
/// Implements <see cref="IUriTemplateMatcher"/> with TunnelVisionLabs.Net.UriTemplate package
/// </summary>
/// <seealso cref="Argolis.Models.IUriTemplateMatcher" />
public class DefaultUriTempl... | 34.609756 | 112 | 0.624383 | [
"MIT"
] | wikibus/Argolis | src/Argolis.Hydra/Models/DefaultUriTemplateMatcher.cs | 1,421 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Task11
{
class VersionAttribute : System.Attribute
{
public int Major { get; private set; }
public int Minor { get; private set; }
public string GetVersion
... | 27.836735 | 154 | 0.56305 | [
"MIT"
] | koravski/TelerikAcademy | 03.OOP/02.DefiningClassesPart02/VisionAttribute/VersionAttribute.cs | 1,366 | 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... | 28.771429 | 81 | 0.641509 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/Automation/V20170515Preview/Inputs/NonAzureQueryPropertiesArgs.cs | 1,007 | C# |
using Newtonsoft.Json;
using System;
namespace WordpressCore.Models.Responses {
public class Post : BaseResponse {
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("date")]
public DateTime Date { get; set; }
[JsonProperty("date_gmt")]
public DateTime DateGmt { get; set; }
[JsonProperty(... | 24.068182 | 115 | 0.673591 | [
"MIT"
] | ArunPrakashG/WordpressCore | WordpressCore/Models/Responses/Post.cs | 3,177 | C# |
// ------------------------------------------------------------------------------------------------
// Copyright (c) 2021 Ruzsinszki Gábor
// This is free software under the terms of the MIT License. https://opensource.org/licenses/MIT
// --------------------------------------------------------------------------------... | 30.405405 | 117 | 0.468444 | [
"MIT"
] | webmaster442/TcPlayer2 | TcPlayer.Engine/Messages/ShellNotificationMessage.cs | 1,128 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Oridashi.CDAAU.Core
{
public class CDAIGGenerator
{
static public string Generate(Type model)
{
string output = "<html><body>";
output += ("<table style='padding-left:10px;b... | 44.76 | 157 | 0.553172 | [
"MIT"
] | oridashi/CDAAU | CDAAU.Core/CDAIGGenerator.cs | 4,478 | C# |
using System;
using System.Runtime.InteropServices;
namespace ParquetSharp
{
/// <summary>
/// Represents a Parquet fixed-length array of contiguous bytes.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct FixedLenByteArray : IEquatable<FixedLenByteArray>
{
public Fixe... | 23.225 | 68 | 0.586652 | [
"Apache-2.0"
] | 76creates/ParquetSharp | csharp/FixedLenByteArray.cs | 931 | C# |
namespace AppStudio.DataProviders.YouTube.Parser
{
internal class ResourceId
{
public string kind { get; set; }
public string videoId { get; set; }
}
}
| 21 | 50 | 0.603175 | [
"MIT"
] | hkedwards/MSExample | AppStudio.DataProviders/YouTube/Parser/ResourceId.cs | 191 | C# |
using ShenmueDKSharp.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShenmueDKSharp.Files.Containers
{
/// <summary>
/// PKS file container.
/// Mostly paired with PKF file.
... | 30.745455 | 114 | 0.518037 | [
"MIT"
] | Kaplas80/ShenmueDKSharp | Files/Containers/PKS.cs | 5,075 | 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.Threading;
using System.Threading.Tasks;
namespace Microsoft.CodeAnalysis.CodeActions
{
/// <summ... | 40.045455 | 165 | 0.713961 | [
"MIT"
] | 333fred/roslyn | src/Workspaces/Core/Portable/CodeActions/Operations/PreviewOperation.cs | 883 | C# |
using Color = UnityEngine.Color;
namespace AssetHandeling_AtlasBuilder
{
/// <summary>
/// aplha-1
///
/// Temp datacarrier for moving data to object texture Atlas.
///
/// Robin Apollo Buitendijk
/// Early March 2017
/// </summary>
public class ProcessingImage
{
Co... | 24.633333 | 105 | 0.505413 | [
"MIT"
] | rabuitendijk/Isomorph-core-tri | Assets/Code/AssetLoading/AtlasBuilder/ProcessingImage.cs | 1,480 | C# |
using MSD.Product.Infra.Warning.Dtos;
using System.Collections.Generic;
namespace MSD.Product.API.Models
{
public class ApiDefaultResponse<T> : ApiDefaultResponseBase
{
public ApiDefaultResponse(T payload, bool success, List<WarningInfo> messages) : base (success, messages) => Payload = payload;
... | 28.538462 | 135 | 0.716981 | [
"Apache-2.0"
] | spaki/microservices-demo | MSD.Product/MSD.Product.API/Models/ApiDefaultResponse.cs | 373 | C# |
using Godot;
using System;
using System.Collections.Generic;
public class Character : Area2D
{
[Export] public int Speed;
public int TileSize = 64;
protected bool CanMove = true;
protected string Facing = "right";
private Tween _moveTween;
public int _speed;
public Dictionary<string, Vec... | 25.232877 | 105 | 0.585776 | [
"MIT"
] | nathanjwtx/Escape_The_Maze_CSharp | Characters/Character.cs | 1,842 | C# |
using LagoVista.Client.Core.ViewModels;
using LagoVista.Core.Commanding;
using LagoVista.Uas.Core;
using LagoVista.Uas.Core.MavLink;
using LagoVista.Uas.Core.Models;
using System;
using System.Threading.Tasks;
namespace LagoVista.Uas.BaseStation.Core.ViewModels.Calibration
{
public class AccCalibrationViewModel :... | 37.372414 | 204 | 0.591253 | [
"MIT"
] | bytemaster-0xff/UasBaseStation | src/core/LagoVista.Uas.BaseStation.Core/ViewModels/Calibration/AccCalibrationViewModel.cs | 5,421 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("It... | 37.864865 | 84 | 0.745896 | [
"Unlicense"
] | formlesstree4/pokemon-azure | tenFold/Pokemon Azure Branch/Items/Properties/AssemblyInfo.cs | 1,404 | C# |
using AutoMapper;
using DTO;
using DTO.CustomModel;
using Entity;
namespace Business.AutoMapper
{
public class AutoMapping : Profile
{
public AutoMapping()
{
CreateMap<User, UserDto>().ReverseMap();
CreateMap(typeof(PagedList<>), typeof(PagedList<>));
... | 29.233333 | 70 | 0.600912 | [
"MIT"
] | mevedprakash/MyInventoryHub | src/Core/Business/AutoMapper/AutoMapping.cs | 879 | 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>
//---... | 41.36 | 167 | 0.590909 | [
"MIT"
] | JesseLiberty/PaktCodeLiberty | Animal_1/Animal_1/Animal_1/obj/Debug/netstandard2.0/Views/NewItemPage.xaml.g.cs | 1,034 | 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>
//--... | 43.511811 | 201 | 0.581795 | [
"MIT"
] | Serg046/StructRecordsGenerator | src/StructRecordGenerator/StructRecordGenerator/Properties/Resources.Designer.cs | 5,528 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/******************************************************************************
* This file is auto-generated from a template file by the GenerateTests.csx *
* script in tests\src... | 37.574924 | 147 | 0.548222 | [
"MIT"
] | belav/runtime | src/tests/JIT/HardwareIntrinsics/Arm/AdvSimd/ShiftLogicalRoundedSaturate.Vector128.Int64.cs | 24,574 | C# |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... | 41.95283 | 178 | 0.654823 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/ServiceFabric/V20191101Preview/Outputs/NodeTypeDescriptionResponse.cs | 4,447 | C# |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Services... | 36.721591 | 115 | 0.538295 | [
"MIT"
] | GabrielOGabs/WookieBooks | Api.WookieBooks/Api.WookieBooks/Startup.cs | 6,463 | C# |
[Serializable]
public class Capture // TypeDefIndex: 1771
{
// Fields
internal string _text; // 0x10
internal int _index; // 0x18
internal int _length; // 0x1C
// Properties
public int Index { get; }
public int Length { get; }
public string Value { get; }
// Methods
// RVA: 0x171B7A0 Offset: 0x171B8A1 VA: ... | 24.659091 | 58 | 0.705069 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | System/Text/RegularExpressions/Capture.cs | 1,085 | C# |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http.Connections;
using Microsoft.AspNetCore.SignalR;
namespace Microso... | 40.52 | 168 | 0.688055 | [
"MIT"
] | Arash-Sabet/azure-signalr | src/Microsoft.Azure.SignalR.Management/ServiceHubContext`T.cs | 2,028 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MethodCalls
{
class Program
{
// taken from https://msdn.microsoft.com/en-us/library/x53a06bb.aspx - remove all known keywords which can invoke methods (primit... | 29.019324 | 172 | 0.38605 | [
"MIT"
] | jsdelivrbot/Telerik_Academy | CSharp/CSharp Part 2/Exam-Preparation/P.04.2015.03.V2-Konspiration-1/Program.cs | 6,009 | C# |
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using OrchardCore.ContentManagement.Metadata.Models;
using OrchardCore.ContentTypes.Editors;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Indexing;
... | 40.769231 | 152 | 0.731604 | [
"BSD-3-Clause"
] | 1426463237/OrchardCore | src/OrchardCore.Modules/OrchardCore.Lucene/Settings/ContentTypePartIndexSettingsDisplayDriver.cs | 2,120 | C# |
using UnityEngine;
using UnityEngine.UI;
using Synthesis.FSM;
using Synthesis.Sensors;
using Synthesis.States;
using Synthesis.Utils;
using Synthesis.Configuration;
namespace Synthesis.Camera
{
/// <summary>
/// This class handles all GUI elements related to robot camera in Unity
/// </summary>
class ... | 38.847917 | 160 | 0.603636 | [
"Apache-2.0"
] | HiceS/synthesis | engine/Assets/Scripts/Camera/RobotCameraGUI.cs | 18,649 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace ShopifySharp.Graph
{
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore, NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public class Domain : INode
{
public string Host { get; set; }
// This should vali... | 40.1875 | 120 | 0.695179 | [
"MIT"
] | karrocon/ShopifySharp | ShopifySharp/Entities/GraphAPI/Domain.cs | 645 | C# |
using Shay.Core.Extensions;
using Shay.Core.Timing;
using Shay.Core.Web;
namespace Shay.Core.Helper
{
/// <summary> cookie操作类 </summary>
public static class CookieHelper
{
/// <summary>
/// 创建或修改COOKIE对象并赋Value值
/// </summary>
/// <param name="cookieName">COOKIE对象名</para... | 32.623932 | 162 | 0.51192 | [
"Apache-2.0"
] | shoy160/shay.framework | src/Shay.Core/Helper/CookieHelper.cs | 4,199 | C# |
using System;
using System.Globalization;
using Orleans.Streams;
namespace Orleans.Providers.Streams.Common
{
/// <summary>
/// Stream sequcen token that tracks sequence nubmer and event index
/// </summary>
[Serializable]
public class EventSequenceToken : StreamSequenceToken
{
/// <sum... | 38.058333 | 350 | 0.584848 | [
"MIT"
] | DarkCow/orleans | src/OrleansProviders/Streams/Common/EventSequenceToken.cs | 4,567 | C# |
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace COLID.Graph.Metadata.DataModels.Validation
{
public class ValidationResultProperty
{
/// <summary>
/// Focus node that caused the error
/// </summary>
public string Node { get; set; }
/// <summary>
... | 32.157895 | 242 | 0.595745 | [
"BSD-3-Clause"
] | Bayer-Group/COLID-Registration-Service | libs/COLID.Graph/Metadata/DataModels/Validation/ValidationResultProperty.cs | 2,446 | C# |
using System;
namespace RealProperty.Model.Auth
{
public class TokenModel
{
public string AccessToken { get; set; }
public DateTime Expires { get; set; }
}
}
| 17.090909 | 47 | 0.62766 | [
"MIT"
] | phoxha/realproperty | RealProperty.Model/Auth/TokenModel.cs | 190 | C# |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
using Bill.Management.Abstractions;
using Bill.Management.Core.Abstractions.Services.Mapper;
using Bill.Management.Data.Transfer;
using Bill.Management.Implementations.Data.Users.Managers... | 32.310345 | 92 | 0.677695 | [
"MIT"
] | DaniilMonin/levelup_160321 | Bill.Managemen.Rest.Service/Controllers/UserManagementController.cs | 1,876 | C# |
namespace Mapping_Tools.Classes.BeatmapHelper
{
/// <summary>
/// The layers according to the osu! Storyboard.
/// </summary>
public enum StoryboardLayer
{
/// <summary>
///
/// </summary>
Background = 0,
/// <summary>
///
/// </summary>
... | 20.55 | 52 | 0.40146 | [
"MIT"
] | 2poi/Mapping_Tools | Mapping Tools/Classes/BeatmapHelper/Events/StoryboardLayer.cs | 824 | C# |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using Splitio.Domain;
using Splitio.Services.Client.Classes;
using Splitio_net_core.Integration_tests.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Splitio_net_core.Integration_... | 35.216438 | 232 | 0.579742 | [
"Apache-2.0"
] | NicoZelaya/.net-core-client | Splitio-net-core.Integration-tests/InMemoryTests.cs | 12,856 | C# |
//======================================================================
//
// CopyRight 2019-2021 © MUXI Game Studio
// . All Rights Reserved
//
// FileName : GfuNode.cs
//
// Created by 半世癫(Roc) at 2021-01-09 21:59:17
//
//=========================================================... | 40.234957 | 181 | 0.550278 | [
"Apache-2.0"
] | muxigame/GalForUnity | Graph/GFUNode/Base/GfuNode.cs | 15,403 | C# |
var principleSkinner = new Person { Name = "Armin Tamzarian" };
var seymourSkinner = new Person { Name = "Seymour Skinner" };
principleSkinner.ShouldBeSameAs(seymourSkinner); | 58 | 63 | 0.770115 | [
"BSD-3-Clause"
] | Shane32/shouldly | src/DocumentationExamples/CodeExamples/ShouldBeSameAsExamples.ShouldBeSameAs.codeSample.approved.cs | 174 | C# |
using Robust.Shared.Map;
using Robust.Shared.Random;
namespace Content.Server.StationEvents.Events;
public sealed class KudzuGrowth : StationEvent
{
[Dependency] private readonly IRobustRandom _robustRandom = default!;
[Dependency] private readonly IEntityManager _entityManager = default!;
public overrid... | 32.519231 | 156 | 0.709639 | [
"MIT"
] | 14th-Batallion-Marine-Corps/14-Marine-Corps | Content.Server/StationEvents/Events/KudzuGrowth.cs | 1,691 | C# |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | 35.045307 | 189 | 0.714932 | [
"MIT"
] | RhysSharpe/AvalonEdit | ICSharpCode.AvalonEdit/Highlighting/HighlightingManager.cs | 10,831 | C# |
using System;
using System.Threading;
using System.Threading.Tasks;
using WebKit;
namespace Microsoft.Maui.MauiBlazorWebView.DeviceTests
{
public static class WebViewHelpers
{
const int MaxWaitTimes = 10;
const int WaitTimeInMS = 200;
public static async Task WaitForWebViewReady(WKWebView webview)
{
for... | 30.45098 | 181 | 0.714746 | [
"MIT"
] | CJ99/maui | src/BlazorWebView/tests/MauiDeviceTests/WebViewHelpers.iOS.cs | 1,555 | C# |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// 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, co... | 28.963252 | 130 | 0.642931 | [
"MIT"
] | trigger-death/ZeldaOracle | EditorLibraries/ICSharpCode.AvalonEdit/Utils/CompressingTreeList.cs | 26,011 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AdapterPatternGenerator.AdapterInterfaces.FubuCsProjFile;
using FubuCsProjFile;
namespace AdapterPatternGenerator.AdapterClasses.FubuCsProjFile
{
public class SolutionStaticAdapter:BaseStaticA... | 33.375 | 85 | 0.715356 | [
"MIT"
] | elacy/AdapterPatternGenerator | AdapterPatternGenerator.AdapterClasses/FubuCsProjFile/SolutionStaticAdapter.cs | 803 | C# |
namespace Discord.API.Client.GatewaySocket
{
public enum OpCodes : byte
{
/// <summary> C←S - Used to send most events. </summary>
Dispatch = 0,
/// <summary> C↔S - Used to keep the connection alive and measure latency. </summary>
Heartbeat = 1,
/// <summary> C→S - Used ... | 48.52 | 149 | 0.623248 | [
"MIT"
] | Asian-Demon-Blast/KitDiscord | src/Discord.Net/API/Client/GatewaySocket/OpCodes.cs | 1,233 | 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 Azure.ResourceManager.Workloads.Models
{
public partial class StopContent : IUtf8JsonSerializable
{
void IUtf8Jso... | 24.185185 | 63 | 0.633997 | [
"MIT"
] | damodaravadhani/azure-sdk-for-net | sdk/workloads/Azure.ResourceManager.Workloads/src/Generated/Models/StopContent.Serialization.cs | 653 | 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... | 45.672727 | 206 | 0.674827 | [
"Apache-2.0"
] | Murcho/aws-sdk-net | sdk/src/Services/TranscribeService/Generated/_mobile/AmazonTranscribeServiceClient.cs | 15,072 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using Orleans.Runtime;
namespace Orleans.AzureUtils
{
[Serializable]
internal class StatsTableData: TableEntity
{
... | 42.904762 | 173 | 0.608213 | [
"MIT"
] | andmattia/orleans | src/OrleansAzureUtils/Storage/StatsTableDataManager.cs | 7,212 | C# |
using System;
using T3.Core.Operator;
using T3.Core.Operator.Attributes;
using T3.Core.Operator.Slots;
namespace T3.Operators.Types.Id_b5709297_c714_4019_9d0b_6982590b5590
{
public class DisplaceMesh : Instance<DisplaceMesh>
{
[Output(Guid = "b91689eb-4274-4534-9f95-515a93c57ebe")]
public read... | 38.333333 | 124 | 0.667194 | [
"MIT"
] | still-scene/t3 | Operators/Types/DisplaceMesh.cs | 2,530 | C# |
using System;
using System.Runtime.Serialization;
namespace I8Beef.Ecobee.Protocol.Hierarchy.Thermostat
{
[DataContract]
public class ThermostatRegisterRequest : RequestBase
{
/// <summary>
/// Request URI.
/// </summary>
public override string Uri { get { return "/hierarch... | 29.534884 | 84 | 0.566142 | [
"MIT"
] | k-rol/EcobeeLib | src/I8Beef.Ecobee/Protocol/Hierarchy/Thermostat/ThermostatRegisterRequest.cs | 1,272 | C# |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using S = System.Collections.Generic;
namespace Collections.Tests
{
[TestClass]
public class VectorTests
{
[TestMethod]
public void Constructor()
{
var vector = new Vector<string>();
... | 27.552279 | 89 | 0.490124 | [
"MIT"
] | guzlewski/Collections | Collections.Tests/VectorTests.cs | 10,279 | C# |
// CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// 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 wit... | 30.979381 | 463 | 0.720466 | [
"MIT"
] | Acidburn0zzz/CodeContracts | Microsoft.Research/Contracts/PresentationCore/Sources/System.Windows.Input.TabletDeviceCollection.cs | 3,005 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Me... | 25.502222 | 113 | 0.696758 | [
"MIT"
] | CBenghi/MultiSelectTreeView | Demo/MainWindow.xaml.cs | 5,740 | C# |
namespace OneNoteDev.Models.JsonHelpers
{
public class LinkJson {
public string href { get; set; }
}
} | 19.333333 | 41 | 0.663793 | [
"Apache-2.0"
] | richdizz/TrainingContent | O3653/O3653-7 Deep Dive into the Office 365 APIs for OneNote services/Labs/Completed/OneNoteDevAad/Models/JsonHelpers/LinkJson.cs | 118 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CoinMoving : MonoBehaviour {
public GameObject effect;
public GameManager gameManager;
public SoundManager soundManager;
public bool isRed;
private void OnTriggerEnter(Collider other)
{
if (other.ga... | 26.466667 | 71 | 0.588161 | [
"MIT"
] | Cradirow/bumpermon-pub | archives/CoinMoving.cs | 856 | C# |
namespace SkillMap.EventBus.EvenLogF.Model;
public enum EventStateEnum
{
NotPublished = 0,
InProgress = 1,
Published = 2,
PublishedFailed = 3
}
| 13.666667 | 44 | 0.682927 | [
"MIT"
] | beyondnetPeru/Beyondnet.Product.SkillMap | src/BuildingBlocks/EventBus/SkillMap.EventBus.EvenLogF/Model/EventStateEnum.cs | 166 | C# |
namespace _02._NameofExpression
{
public class Person
{
private readonly string firstName;
private readonly string lastName;
public Person(string firstName, string lastName)
{
this.firstName = firstName ?? throw new ArgumentNullException(nameof(firstName));
... | 28.333333 | 93 | 0.647059 | [
"MIT"
] | BorisLechev/CSharp-New-Features | CSharp-6.0-New-Features/02. NameofExpression/Person.cs | 512 | C# |
using System;
namespace DevToDev.Application.Common.Exceptions
{
public class NotFoundException : Exception
{
public NotFoundException()
{
}
public NotFoundException(string message)
: base(message)
{
}
public NotFoundException(string messag... | 21.653846 | 74 | 0.561279 | [
"Apache-2.0"
] | MrKonstantinSh/DevToDev | src/Application/Common/Exceptions/NotFoundException.cs | 565 | C# |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.AppRunner.Service
{
/// <summary>
/// AWS::AppRunner::Service SourceConfiguration
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-... | 40.859375 | 128 | 0.653155 | [
"MIT"
] | stanb/Comformation | src/Comformation/Generated/AppRunner/Service/SourceConfiguration.cs | 2,615 | C# |
using Windows.UI.Xaml;
using PhotoOrganizer.ViewModels;
using ReactiveUI;
// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
namespace PhotoOrganizer.Views
{
public sealed partial class AlbumView : IViewFor<IAlbumViewModel>
{
public AlbumView()
{... | 23.708333 | 97 | 0.632689 | [
"MIT"
] | AlexPshul/PhotoOrganizer | PhotoOrganizer/Views/AlbumView.xaml.cs | 571 | C# |
using System;
using P01_BillsPaymentSystem.Data;
using P01_BillsPaymentSystem.Data.Models;
namespace P01_BillsPaymentSystem.App
{
public static class Seed
{
public static void SeedDb(BillsPaymentSystemContext db)
{
var firstAcc = new BankAccount
{
BankNa... | 28.357895 | 97 | 0.486637 | [
"MIT"
] | IvelinMarinov/SoftUni | 08. Database Advanced - EF Core/05. Advanced Relations and Aggregation/P01_BillsPaymentSystem.App/Seed.cs | 2,696 | C# |
// The MIT License (MIT)
//
// Copyright (c) 2015-2021 Rasmus Mikkelsen
// Copyright (c) 2015-2021 eBay Software Foundation
// https://github.com/eventflow/EventFlow
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software... | 42.172932 | 135 | 0.653058 | [
"MIT"
] | acesyde/EventFlow | Source/EventFlow/Extensions/AggregateStoreExtensions.cs | 5,609 | C# |
//
// System.Drawing.Drawing2D.AdjustableArrowCap.cs
//
// Authors:
// Dennis Hayes (dennish@Raytek.com)
// Ravindra (rkumar@novell.com)
//
// Copyright (C) 2002/3 Ximian, Inc. http://www.ximian.com
// Copyright (C) 2004 Novell, Inc. http://www.novell.com
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)... | 27.569106 | 100 | 0.721026 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Drawing/System.Drawing.Drawing2D/AdjustableArrowCap.cs | 3,391 | C# |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Create the public.
/// </summary>
public class CreatePublic : MonoBehaviour
{
/// <summary>
/// The nb of spectators.
/// </summary>
public int nb;
/// <summary>
/// Reference to the puck. Spectators stares at... | 24.183099 | 88 | 0.556494 | [
"MIT"
] | Lasconik/MastersOfHockey | Assets/Scripts/Level/CreatePublic.cs | 3,436 | C# |
using System;
using System.IO;
using GitVersion;
using LibGit2Sharp;
using NUnit.Framework;
[TestFixture]
public class GitVersionTaskDirectoryTests
{
ExecuteCore executeCore;
string gitDirectory;
string workDirectory;
[SetUp]
public void CreateTemporaryRepository()
{
... | 28.188406 | 131 | 0.620566 | [
"MIT"
] | AGBrown/GitVersion-abcontrib | src/GitVersionTask.Tests/GitVersionTaskDirectoryTests.cs | 1,879 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Thrifty.Codecs.Metadata;
using Thrift.Protocol;
namespace Thrifty.Codecs.Internal.Builtin
{
public class VoidThriftCodec : IThriftCodec<Object>
{
public ThriftType Type { get { return ThriftType.Void... | 25.567568 | 66 | 0.635307 | [
"Apache-2.0"
] | DavidAlphaFox/Thrifty | src/Thrifty.Services/Codecs/Internal/Builtin/VoidThriftCodec.cs | 948 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace BorderControl
{
public class IdNumber : ICheckerId
{
private List<string> ids;
public IdNumber()
{
ids = new List<string>();
}
public void Add(string id)
{
ids.Ad... | 21.941176 | 67 | 0.453083 | [
"MIT"
] | GeorgiPopovIT/CSharp-OOP | InterfacesAndAbstraction/BorderControl/IdNumber.cs | 748 | C# |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// This example value set defines a set of codes that can be used to indicate the purpose for which you would contact a contact party.
/... | 25.75 | 137 | 0.592621 | [
"MIT"
] | microsoft-healthcare-madison/argonaut-subscription-server-proxy | argonaut-subscription-server-proxy/Fhir/R5/ValueSets/ContactentityType.cs | 2,575 | C# |
using System;
using System.Text;
using System.Linq;
using System.Text.RegularExpressions;
namespace Tars.Csharp.Rpc.Config
{
public class Endpoint
{
public static readonly Endpoint VOID_ENDPOINT = new Endpoint("tcp", "0.0.0.0", 0, 0, 0, 0, null);
private int hash;
public string Type { ... | 29.188571 | 111 | 0.383712 | [
"BSD-3-Clause"
] | fs7744/Tars.Csharp | src/Tars.Csharp.Rpc/Config/Endpoint.cs | 5,110 | 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("Ob... | 41.166667 | 84 | 0.773279 | [
"Apache-2.0"
] | andrew-bn/ObjectSql | extensions/ObjectSql.EF5/Properties/AssemblyInfo.cs | 991 | C# |
using System;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace TourmalineCore.AspNetCore.JwtAuthentication.Identity
{
public static class AuthenticationExtensions
{
/// <summary>
/// Adds the ability to use the ba... | 37.176471 | 128 | 0.639241 | [
"MIT"
] | TourmalineCore/TourmalineCore.AspNetCore.JwtAuthentication | JwtAuthentication.Identity/AuthenticationExtensions.cs | 1,264 | 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("Fi... | 38.027027 | 84 | 0.746979 | [
"MIT"
] | ivannk0900/Telerik-Academy | C# 1/ConsoleInputOutput/FibonacciSequence/Properties/AssemblyInfo.cs | 1,410 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FriendlyController : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private ... | 19.2 | 54 | 0.579427 | [
"MIT"
] | wildenberg84/UnityCertifiedProgrammer | Zombie Surge/Assets/Scripts/FriendlyController.cs | 770 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*============================================================
**
**
**
** Purpose: This is the value class representing a Unicode character
** Char methods until we create this func... | 38.161111 | 139 | 0.524356 | [
"MIT"
] | BepInEx/dotnet-runtime | src/libraries/System.Private.CoreLib/src/System/Char.cs | 68,690 | C# |
using lpr.Common.Interfaces;
using lpr.Common.Interfaces.Data;
using lpr.Common.Interfaces.Services;
using lpr.Common.Models;
using lpr.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace lpr.Logic.Se... | 43.21978 | 156 | 0.667684 | [
"MIT"
] | looplanguage/api.pkg.looplang.org | lpr.Logic/Services/PackageService.cs | 3,935 | C# |
/* PetaPoco v4.0.3.12 - A Tiny ORMish thing for your POCO's.
* Copyright 2011-2012 Topten Software. All Rights Reserved.
*
* Apache License 2.0 - http://www.toptensoftware.com/petapoco/license
*
* Special thanks to Rob Conery (@robconery) for original inspiration (ie:Massive) and for
* use of Subsonic's T4 t... | 47.168076 | 467 | 0.521317 | [
"MIT"
] | Bigbudddo/weather-plotter-mvc | WeatherPlotter.Api/Helpers/PetaPoco.cs | 133,865 | C# |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SearchAndCompare.Migrations
{
public partial class AddFeesAndSalary : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... | 47.538462 | 129 | 0.386038 | [
"MIT"
] | DFE-Digital/search-and-compare-api | src/api/Migrations/20180222125749_AddFeesAndSalary.cs | 8,654 | C# |
namespace Automatonymous.NHibernateIntegration.Tests
{
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
using NHibernate;
using NHibernate.Engine;
using NHibernate.Metadata;
using NHibernate.Sta... | 44.286885 | 135 | 0.710716 | [
"Apache-2.0"
] | KeRNeLith/Automatonymous | src/Automatonymous.NHibernateIntegration.Tests/SingleConnectionSessionFactory.cs | 5,405 | C# |
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.... | 28.704918 | 182 | 0.604226 | [
"MIT"
] | CodingJinxx/gameoff2020 | Gameoff2020/Assets/NoesisGUI/Plugins/API/Proxies/ToolTipEventArgs.cs | 1,751 | C# |
// Copyright (c) 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 33.478261 | 80 | 0.738961 | [
"ECL-2.0",
"Apache-2.0"
] | BERRY37/dotnet-docs-samples | applications/sudokumb/WebApp/Services/IEmailSender.cs | 770 | C# |
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WEBCON.FormsGenerator.BusinessLogic.Application.DTO;
using WEBCON.FormsGenerator.BusinessLogic.Application.Interface;
using WEBCON.FormsGenerator.Presentation.Controllers;
using WEBC... | 54.265306 | 165 | 0.690109 | [
"MIT"
] | WEBCON-BPS/public-forms | WEBCON.FormsGenerator.Test/Presentation/RefreshFormContentControllerTest.cs | 2,661 | C# |
using System;
using System.Linq;
using FluentMigrator.Builder.Create.Index;
using FluentMigrator.Expressions;
using FluentMigrator.Infrastructure.Extensions;
using FluentMigrator.Model;
using FluentMigrator.Postgres;
using FluentMigrator.Runner.Generators.Postgres;
using FluentMigrator.Runner.Processors.Postgres;
usi... | 38.009404 | 154 | 0.610474 | [
"Apache-2.0"
] | Invinsiber/fluentmigrator | test/FluentMigrator.Tests/Unit/Generators/Postgres/PostgresIndexTests.cs | 12,125 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006-2019, All rights reserved.
// The software and associated documentation supplied hereunder are the
// propri... | 36.511111 | 157 | 0.604991 | [
"BSD-3-Clause"
] | dave-w-au/Krypton-NET-5.472 | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/EventArgs/DateTimePickerCloseArgs.cs | 1,646 | C# |
using System;
using System.IO;
using NEbml.Core;
using NEbml.MkvTitleEdit.Matroska;
using NUnit.Framework;
namespace NEbml.MkvTitleEdit.Tests
{
[TestFixture]
public class MiscTests
{
[TestCase(@"C:\Users\azurestef\Downloads\Estas Tonne - Internal Flight Experience (Live in Cluj Napoca).webm"), Explici... | 25.614379 | 124 | 0.620056 | [
"MIT"
] | StefH/WebM-Opus-Ogg | Src/Core.Tests/MiscTests.cs | 3,921 | C# |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using ... | 39.309091 | 152 | 0.659574 | [
"MIT"
] | rsiem/Safe-Point | SafePoint/SafePoint/App_Start/IdentityConfig.cs | 4,326 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Threading;
/**
* How to setup such project see:
* http://e2e.ti.com/support/power_management/battery_management/f/180/p/6... | 38.357815 | 140 | 0.522634 | [
"MIT"
] | Mictronics/bqev23k | BQEV23K/MainWindow.xaml.cs | 20,370 | C# |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Runtime.CompilerServices
{
// Consider the following C++ method prototypes:
// 1) int foo(int ^arg);
// 2) int foo(int &arg);
//
// Both of these methods will have a .NET type signature that ... | 31.458333 | 77 | 0.662252 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/ndp/clr/src/BCL/system/runtime/compilerservices/isexplicitlydereferenced.cs | 755 | C# |
using Extreme.Net;
using Newtonsoft.Json;
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace RuriLib.CaptchaServices
{
/// <summary>
/// Implements the AP... | 40.247706 | 150 | 0.577844 | [
"MIT"
] | ALEHACKsp/openbullet-Cracked.to- | RuriLib/CaptchaServices/DeathByCaptcha.cs | 8,776 | C# |
using Unity.Builder;
using Unity.Interception.Interceptors.InstanceInterceptors;
namespace Unity.Interception.ContainerIntegration.ObjectBuilder
{
/// <summary>
/// Implementation of <see cref="IInstanceInterceptionPolicy"/> that returns a
/// pre-created interceptor.
/// </summary>
public class F... | 32.818182 | 83 | 0.658356 | [
"Apache-2.0"
] | ENikS/interception | src/ContainerIntegration/ObjectBuilder/FixedInstanceInterceptionPolicy.cs | 1,085 | C# |
using SQLite;
namespace ModelComponent.Entity
{
/// <summary>
/// The player's representation in database.
/// </summary>
public class PlayerEntity: IIdableEntity
{
[PrimaryKey, AutoIncrement]
public override int Id { get; set; }
/// <summary>
/// The player's name... | 22.48 | 48 | 0.524911 | [
"MIT"
] | alexandrustoica/university.ubb.bachelor | Database Management Systems/Event Database Manager/ModelComponent/Entity/PlayerEntity.cs | 564 | C# |
using System.Runtime.Serialization;
namespace HetznerCloud.Net.Objects.LoadBalancers.Models
{
public enum LoadBalancerAlgorithms
{
[EnumMember(Value = "round_robin")]
RoundRobin,
[EnumMember(Value = "least_connections")]
LeastConnections
}
} | 23.916667 | 55 | 0.686411 | [
"MIT"
] | ferensz/HetznerCloud.Net | HetznerCloud.Net/Objects/LoadBalancers/Models/LoadBalancerAlgorithms.cs | 289 | C# |
namespace PluginFramework
{
using System;
[AttributeUsage(System.AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class ParserPluginAttribute : Attribute
{
// See the attribute guidelines at
// http://go.microsoft.com/fwlink/?LinkId=85236
reado... | 26.345679 | 93 | 0.554358 | [
"MIT"
] | wolkesson/SampleCrunch | PluginFramework/Attributes.cs | 2,136 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.