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 |
|---|---|---|---|---|---|---|---|---|
// *****************************************************************************
//
// © Component Factory Pty Ltd, 2006 - 2016. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic... | 31.833333 | 81 | 0.542408 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.471 | Source/Demos/Non-NuGet/Krypton Toolkit Examples/Expanding HeaderGroups (Stack)/Program.cs | 958 | C# |
//
// Encog(tm) Core v3.3 - .Net Version (unit test)
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 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 L... | 41.931818 | 94 | 0.587895 | [
"BSD-3-Clause"
] | asad4237/encog-dotnet-core | encog-core-test/Util/Normalize/TestNormCSV.cs | 5,535 | C# |
namespace SimpleErrorHandler
{
using System;
using XmlWriter = System.Xml.XmlWriter;
using XmlReader = System.Xml.XmlReader;
/// <summary>
/// Defines methods to convert an object to and from its XML representation.
/// </summary>
public interface IXmlExportable
{
... | 26.608696 | 81 | 0.576797 | [
"MIT"
] | ahsteele/ahsteele-ysod | App/StackExchange.SimpleErrorHandler/SimpleErrorHandler/IXmlExportable.cs | 612 | C# |
using System;
namespace Erni.Mobile.Services.Logging
{
public interface ILoggingService
{
void TrackEvent<T>(string eventName, T message);
void TrackEvent(string eventName, string message);
void TrackEvent(string eventName);
void Debug(string message);
void Warning(... | 19.35 | 58 | 0.664083 | [
"MIT"
] | ERNI-Academy/starterkit-mobile-application | src/CrossPlatform/Xamarin/Erni.Mobile/Services/Logging/ILoggingService.cs | 389 | C# |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.Scroll1
{
public partial class Scroll1YamlTests
{
[NCrunch.Framework.ExclusivelyUses("Ela... | 20.777778 | 68 | 0.643239 | [
"MIT"
] | amitstefen/elasticsearch-net | src/Tests/Elasticsearch.Net.Integration.Yaml/scroll/10_basic.yaml.cs | 1,309 | C# |
////////////////////////////////////////////////////////////////////////////////////////////
// This is Generated Code
// You should not modify this code as it may be overwritten. Use Partial classes instead
// Generated By Generative Objects
//////////////////////////////////////////////////////////////////////////... | 37.25 | 93 | 0.606711 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | walteralmeida/GOForSolidVisitedPlacesApplication | Solid/GeneratedCode/Features/Security/DataLayer/ILocationAuthorizations.cs | 747 | C# |
#pragma checksum "C:\Users\Filip Vrba\Documents\GitHub\InfnetFV-Core\InfnetFV-Core\Pages\Projects\Detail.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d4ce53cc0e0315b99d6d2b58424160f27e68401a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAt... | 65.249524 | 353 | 0.653433 | [
"MIT"
] | filipvrba/InfnetFV-Core | InfnetFV-Core/obj/Debug/netcoreapp2.2/Razor/Pages/Projects/Detail.g.cshtml.cs | 34,256 | C# |
using System;
using System.Linq;
using System.Reflection;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Threading;
using SimpleRemote.Controls.Dragablz.Core;
using... | 43.703504 | 165 | 0.633958 | [
"Apache-2.0"
] | GeekCatPYG/SimpleRemote | SimoleRemote/Controls/Dragablz/DragablzWindow.cs | 16,216 | 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("NonTrailingNamedArguments")]
[assembly: As... | 38.305556 | 84 | 0.749094 | [
"MIT"
] | PacktPublishing/Mastering-C-7.2-and-.NET-Core-2.1-Application-Development | Chapter01/03 - NonTrailingNamedArguments/NonTrailingNamedArguments/Properties/AssemblyInfo.cs | 1,382 | C# |
using Newtonsoft.Json;
/// <summary>
/// Scribble.rs ♯ data namespace
/// </summary>
namespace ScribblersSharp.Data
{
/// <summary>
/// A class that describes a received "next-turn" game message
/// </summary>
[JsonObject(MemberSerialization.OptIn)]
internal class NextTurnReceiveGameMessageData : ... | 23.764706 | 106 | 0.673267 | [
"MIT"
] | scribble-rs/ScribbleRSSharp | ScribblersSharp/Data/WebSocket/NextTurnReceiveGameMessageData.cs | 408 | C# |
using BlazorHero.CleanArchitecture.Client.Extensions;
using BlazorHero.CleanArchitecture.Client.Infrastructure.Settings;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.SignalR.Client;
using Microsoft.JSInterop;
using MudBlazor;
using System;
using System.Net.Http.Headers;
using System.Threading.Task... | 37.71875 | 122 | 0.537283 | [
"MIT"
] | jtakec/blazorhero | BlazorHero.CleanArchitecture/Client/Shared/MainLayout.razor.cs | 4,830 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 26.892857 | 88 | 0.677291 | [
"ECL-2.0",
"Apache-2.0"
] | AdminTurnedDevOps/pulumi-azure | sdk/dotnet/Core/Outputs/CustomProviderValidation.cs | 753 | C# |
using UnityEngine.UIElements;
using UnityEditor;
namespace RFG.SceneGraph
{
public class InspectorView : VisualElement
{
public new class UxmlFactory : UxmlFactory<InspectorView, VisualElement.UxmlTraits> { }
private Editor editor;
public InspectorView()
{
}
internal void Up... | 27.183673 | 101 | 0.620871 | [
"Apache-2.0"
] | retro-fall-games/PermitDenied | Assets/RFG/SceneGraph/Editor/Elements/InspectorView.cs | 1,332 | C# |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 42.71875 | 224 | 0.71763 | [
"ECL-2.0",
"Apache-2.0"
] | RafalSumislawski/pulumi-aws | sdk/dotnet/WafV2/Inputs/WebAclRuleStatementOrStatementStatementOrStatementStatementByteMatchStatementTextTransformationGetArgs.cs | 1,367 | C# |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
namespace System.Activities.Statements
{
using System;
using System.Activities;
using System.Activities.Internals;
using System.Activities.Runtime.Collections;... | 27.636364 | 143 | 0.533169 | [
"MIT"
] | wforney/corewf | src/System.Activities/Statements/Switch.cs | 3,648 | C# |
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
namespace Microsoft... | 38.802326 | 103 | 0.508241 | [
"MIT"
] | 9578577/Windows-classic-samples | Samples/Hyper-V/FibreChannel/cs/ModifySanName.cs | 3,254 | C# |
/* Copyright (c) Citrix Systems, 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 notice... | 39.714286 | 149 | 0.498589 | [
"BSD-2-Clause"
] | xihuan-citrix/xenadmin | XenAdmin/Controls/SectionHeaderLabel.cs | 14,180 | 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.Buffers;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.SignalR;
using Microsoft.AspNetCore.SignalR.Internal;
using Microsoft.AspNetCor... | 33.769231 | 119 | 0.683941 | [
"MIT"
] | 48355746/AspNetCore | src/Components/Server/src/BlazorPack/BlazorPackHubProtocol.cs | 1,756 | C# |
using TMDb.Client.Attributes;
namespace TMDb.Client.Api.V3.Models.Authentication
{
[ApiPostEndpoint("/authentication/token/validate_with_login")]
public class CreateSessionWithLoginRequest : TMDbRequest
{
[ApiParameter(
Name = "username",
ParameterType = ParameterType.JsonB... | 31.173913 | 66 | 0.634589 | [
"MIT"
] | joshuajones02/TMDb | TMDb.Client/API/V3/Models/Authentication/CreateSessionWithLoginRequest.cs | 719 | C# |
/*
* Copyright (c) Contributors, http://vision-sim.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
* For an explanation of the license of each contributor and the content it
* covers please see the Licenses directory.
*
* Redistribution and use in source and binary forms, with or without
* mod... | 40.57189 | 160 | 0.577208 | [
"MIT"
] | VisionSim/Vision-Sim | Vision/Physics/BulletSPlugin/ExtendedPhysics.cs | 25,114 | C# |
using System.Collections.Generic;
using System.Linq;
using AGS.API;
namespace AGS.Engine
{
[PropertyFolder]
public class AGSMultipleBorders : IBorderStyle
{
public AGSMultipleBorders(params IBorderStyle[] borders)
{
Borders = new List<IBorderStyle>(borders);
}
... | 25.285714 | 68 | 0.574388 | [
"Artistic-2.0"
] | OwenMcDonnell/MonoAGS | Source/Engine/AGS.Engine/UI/Borders/AGSMultipleBorders.cs | 1,064 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// All Rights Reserved.
// Licensed under the MIT License.
// See License in the project root for license information.
// ---------------------------------------------------------------------... | 34.263158 | 125 | 0.549155 | [
"MIT"
] | Bhaskers-Blu-Org2/groove-api-sdk-csharp | src/GrooveApiDataContract/DataContract/SubscriptionState.cs | 1,304 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody))]
[RequireComponent(typeof(Animator))]
public class CharacterMovement : MonoBehaviour
{
public float speed = 6f;
public float turnSpeed = 60f;
public float turnSmoothing = 15f;
private V... | 23.578947 | 106 | 0.680804 | [
"MIT"
] | dheavy/unity-desert-robot | Assets/Scripts/CharacterMovement.cs | 1,348 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameTurnBaseStrateg
{
/// <summary>
/// 创建技能、创建人物对象,
/// 每个人物角色都由四个技能:
/// 1.一个无消耗的普通攻击,战士为物理攻击,法师为魔法攻击。
/// 2.三个消耗MP或者HP的特殊技能。
/// </summary>
class DataMan... | 37.895097 | 123 | 0.508335 | [
"Apache-2.0"
] | ggwhsd/CSharpStudy | OtherProjects/GameTurnBaseStrategy/DataManager.cs | 35,828 | C# |
using System;
using System.Collections.Generic;
using NHapi.Base.Log;
using NHapi.Model.V23.Group;
using NHapi.Model.V23.Segment;
using NHapi.Model.V23.Datatype;
using NHapi.Base;
using NHapi.Base.Parser;
using NHapi.Base.Model;
namespace NHapi.Model.V23.Message
{
///<summary>
/// Represents a ORN_O02 message structu... | 27.090909 | 145 | 0.658425 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V23/Message/ORN_O02.cs | 5,662 | C# |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Kongverge.DTOs;
using Kongverge.Helpers;
using Kongverge.Services;
using Kongverge.Workflow;
using Moq;
using TestStack.BDDfy;
using TestStack.BDDfy.Xunit;
namespace Kongverge.Tests.Workflow
{
public class Kongverg... | 45.48419 | 180 | 0.564501 | [
"Apache-2.0"
] | slang25/kongverge | test/Kongverge.Tests/Workflow/KongvergeWorkflowScenarios.cs | 23,015 | C# |
using System;
using UnityEngine;
public class ResidentObject : MonoBehaviour
{
private void Awake()
{
UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
}
}
| 15.181818 | 56 | 0.772455 | [
"MIT"
] | moto2002/wudihanghai | src/ResidentObject.cs | 167 | C# |
// This file is part of the TA.Ascom.ReactiveCommunications project
//
// Copyright © 2015-2020 Tigra Astronomy, all rights reserved.
//
// 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 wit... | 52.62069 | 118 | 0.748362 | [
"MIT"
] | KyleWorley/TA.ReactiveCommunications | TA.Ascom.ReactiveCommunications.Specifications/Behaviours/failed_transaction.cs | 1,529 | C# |
using EngineeringUnits.Units;
using Fractions;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace EngineeringUnits
{
public partial class AmountOfSubstance : BaseUnit
{
/// <summary>
/// The Avogadro constant is the number... | 45.28 | 147 | 0.659011 | [
"MIT"
] | AtefeBahrani/EngineeringUnits | EngineeringUnits/BaseUnits/AmountOfSubstance/Amount.extra.cs | 2,274 | 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("Arc... | 38.162162 | 84 | 0.75 | [
"MIT"
] | STISource/ArchiveMonkey | ArchiveMonkey/ArchiveMonkey.Services/Properties/AssemblyInfo.cs | 1,415 | C# |
/*
Copyright(c) 2020-2021 Przemysław Łukawski
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, modify, merge, publish, di... | 42.782609 | 112 | 0.737297 | [
"MIT"
] | plukawski/DWABench | src/DotnetWebApiBench.Api/Validators/Product/AddProductRequestValidator.cs | 1,972 | C# |
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... | 49.529801 | 160 | 0.687258 | [
"MIT"
] | ConsensysHealth/fhir-server | src/Microsoft.Health.Fhir.Shared.Core.UnitTests/Features/Search/SearchParameters/SearchParameterBehaviorTests.cs | 7,481 | C# |
using System;
namespace Sharp.MySQL.Migrations.Attributes
{
/// <summary>
/// Defines a property as AutoIncrement. Property MUST be INT and NotNull (see about TypeFieldBDAttribute to set as NotNull).
/// </summary>
[AttributeUsage(AttributeTargets.Property)]
public class AutoIncrementAttribute : A... | 26.384615 | 129 | 0.71137 | [
"MIT"
] | SharpSistemas/MigrationMySQL | Sharp.Migrations.MySQL/Attributes/AutoIncrementAttribute.cs | 345 | C# |
// Copyright (c) 2010-2013 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 us... | 30.2 | 137 | 0.717439 | [
"MIT"
] | 376730969/ILSpy | NRefactory/ICSharpCode.NRefactory/TypeSystem/Implementation/DefaultUnresolvedTypeParameter.cs | 5,891 | C# |
//==========================================================================================
//
// OpenNETCF.Windows.Forms.Cipher
// Copyright (c) 2003, OpenNETCF.org
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the OpenNETCF.org Shared Source License.
//
// ... | 35.476923 | 134 | 0.671726 | [
"Unlicense"
] | jjxtra/FlickrDownloader | FlickrNet/OpenCF/Cipher.cs | 6,918 | C# |
//Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using Kooboo.Data.Interface;
using Kooboo.Extensions;
using System;
using System.Security.Cryptography;
namespace Kooboo.Sites.Models
{
[Kooboo.Attributes.Diskable(Kooboo.Attributes.DiskType.Binary)]
[Kooboo.Attributes.R... | 26.933333 | 88 | 0.500413 | [
"MIT"
] | VZhiLinCorp/Kooboo | Kooboo.Sites/Models/CmsFile.cs | 2,424 | C# |
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under t... | 29.089286 | 89 | 0.731123 | [
"Apache-2.0"
] | luizfbicalho/Camunda.NET | camunda-bpm-platform-net/engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/helper/EqualsList.cs | 1,631 | 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/dwmapi.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System... | 37.777778 | 145 | 0.663971 | [
"MIT"
] | phizch/terrafx.interop.windows | tests/Interop/Windows/um/dwmapi/UNSIGNED_RATIOTests.cs | 1,362 | 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.Text;
using Microsoft.AspNetCore.Cryptography.Cng;
using Microsoft.AspNetCore.Cryptography.SafeHand... | 44.039604 | 150 | 0.542716 | [
"Apache-2.0"
] | Asifshikder/aspnetcore | src/DataProtection/Cryptography.KeyDerivation/src/PBKDF2/Win7Pbkdf2Provider.cs | 4,448 | C# |
using System;
using BEPUphysics.CollisionTests.CollisionAlgorithms;
using BEPUutilities;
using BEPUphysics.Settings;
using FixMath.NET;
namespace BEPUphysics.CollisionShapes.ConvexShapes
{
///<summary>
/// Superclass of convex collision shapes.
///</summary>
public abstract class ConvexShape : EntityS... | 51.555944 | 163 | 0.662937 | [
"MIT"
] | XingHong/SimpleLockStepClient | Assets/Engine.LockstepEngine/Src/BepuPhysicsEngine/BEPUphysics/CollisionShapes/ConvexShapes/ConvexShape.cs | 14,747 | C# |
using Eventinars.Application.Features.Products.Commands.AddEdit;
using Eventinars.Application.Features.Products.Commands.Delete;
using Eventinars.Application.Features.Products.Queries.Export;
using Eventinars.Application.Features.Products.Queries.GetAllPaged;
using Eventinars.Application.Features.Products.Queries.GetP... | 37.55 | 121 | 0.619507 | [
"MIT"
] | justSteve/Eventinars | src/Server/Controllers/v1/Catalog/ProductsController.cs | 3,006 | C# |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using StardewValley.Menus;
namespace DeluxeJournal.Menus
{
public interface IPage
{
const int TabRegion = 9500;
/// <summary>A wrapper for the IClickableMenu.allClickableComponents (or ... | 30.658537 | 124 | 0.672633 | [
"MIT"
] | MolsonCAD/DeluxeJournal | src/Menus/IPage.cs | 2,516 | C# |
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.WebUtilities;
using Store.Contracts.V1;
using Store.Contracts.V1.Responses;
using Store.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Store.Helpers
{
public class Pagi... | 46.1 | 145 | 0.712943 | [
"MIT"
] | Remigiusz-Ruszkiewicz/Store-masterv3 | Store/Helpers/PaginationHelper.cs | 1,385 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.CodeFirst
{
using System.Linq.Expressions;
using Xunit;
public class CodePlex2846Mapping : TestBase
{
public class BaseClass
... | 33.797101 | 133 | 0.569468 | [
"Apache-2.0"
] | staff0rd/EntityFramework6-beta8 | test/EntityFramework/FunctionalTests/CodeFirst/CodePlex2846Mapping.cs | 2,334 | C# |
/*
* MIT License
*
* Copyright (c) 2018 Clark Yang
*
* 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, m... | 30.629032 | 86 | 0.654028 | [
"MIT"
] | AsimKhan2019/Loxodon-Framework-MVVM | Assets/LoxodonFramework/Scripts/Framework/Prefs/TypeEncoder/VersionTypeEncoder.cs | 1,901 | C# |
using System.Collections.Generic;
namespace MLSoftware.OTA
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xsd2Code", "4.2.0.31")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serializat... | 26.602151 | 118 | 0.519806 | [
"MIT"
] | Franklin89/OTA-Library | src/OTA-Library/RailOriginDestinationSummaryTypeConnectionLocation.cs | 2,474 | C# |
using Bulkie.API.Infrastructure;
using BulkieFileProcessor.API.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Threading.Tasks;
namespace BulkieFileProcessor.API.Infrastructure
{
public class FileReferenceRepository : IFileReferenceRepository
{
private readonly FileReferenceCont... | 28.195122 | 125 | 0.653114 | [
"MIT"
] | jbw/Bulkie | src/Services/Bulkie/BulkieFileProcessor.API/Infrastructure/FileReferenceRepository.cs | 1,158 | C# |
using Microsoft.AspNetCore.Http;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
using System.IO;
namespace AspNetBoilerPlateMySql.Web.Extensions
{
public static class FormFileExtensions
{
public static byte[] OptimizeImageSize(this IFormFile file, int maxWidth, int maxHeight)
... | 36.085714 | 96 | 0.490895 | [
"MIT"
] | ltaquino/AspNetBoilerPlateMySql | AspNetBoilerPlateMySql.Web/Extensions/FormFileExtensions.cs | 1,265 | C# |
using System;
using Npgsql;
namespace Shared.Infrastructure
{
public class PostgreContext
{
private readonly string m_ConnectionString;
public NpgsqlConnection Instance => ConnectToPostgres();
public PostgreContext(string connectionString)
{
if (string.IsNullOrEmpt... | 28.217391 | 127 | 0.677966 | [
"MIT"
] | Elpulgo/microservice_example_v2 | Shared/Shared.Infrastructure/Data/PostgreContext.cs | 649 | C# |
// ===========================================================
// Copyright (C) 2014-2015 Kendar.org
//
// 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... | 32.939759 | 131 | 0.712143 | [
"MIT"
] | endaroza/Node.Cs | Src/Node.Cs.Commons/Settings/CulturesDescriptor.cs | 2,734 | C# |
using System;
namespace MackySoft.Choice.Internal {
public static class ArrayPoolUtility {
public static void EnsureCapacity<T> (ref T[] array,int index) {
if (array.Length <= index) {
int newSize = array.Length * 2;
T[] newArray = ArrayPool<T>.Rent((index < newSize) ? newSize : (index * 2));
Array... | 25.578947 | 87 | 0.679012 | [
"MIT"
] | mackysoft/Choice | Assets/MackySoft/MackySoft.Choice/Runtime/Internal/ArrayPoolUtility.cs | 488 | C# |
using System;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
namespace ImGuiNET
{
public unsafe partial struct ImFontGlyph
{
public ushort Codepoint;
public float AdvanceX;
public float X0;
public float Y0;
public float X1;
... | 44.609756 | 113 | 0.659923 | [
"MIT"
] | JayPeet/UnityImGUI | UnityImGUI/Assets/UnityImGui/Scripts/ImGui.NET/Generated/ImFontGlyph.gen.cs | 1,829 | C# |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to ... | 34.261905 | 100 | 0.597637 | [
"Apache-2.0"
] | Arch/Npoi.Core | test/Npoi.Core.TestCases/HSSF/Record/Chart/TestBarRecord.cs | 2,878 | C# |
namespace SteamAutoMarket.Steam.Market
{
using SteamAutoMarket.Steam.Market.Enums;
public class Settings
{
public ELanguage Language { get; set; }
public string UserAgent { get; set; }
}
} | 20.272727 | 47 | 0.654709 | [
"MIT"
] | Shamanovski/SteamAutoMarket | SteamAutoMarketWPF/SteamAutoMarket/SteamAutoMarket/Steam/Market/Settings.cs | 225 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DirectionBehavior : Behavior
{
public bool rotateOnXAxis = true;
public bool rotateOnYAxis = false;
public Transform rotationTransform;
[HideInInspector]
public Vector2 rotation;
// rotates the entity ... | 31.254902 | 139 | 0.704517 | [
"MIT"
] | Themaster-123/Survival-Game | Assets/Scripts/Behaviors/DirectionBehavior.cs | 1,594 | C# |
namespace Cauldron.XAML.Theme.Styles
{
public partial class ListViewStyle
{
public ListViewStyle()
{
InitializeComponent();
}
}
} | 17.8 | 38 | 0.567416 | [
"MIT"
] | Capgemini/Cauldron | Old/Desktop/Cauldron.Desktop.XAML.Theme/Styles/ListViewStyle.xaml.cs | 180 | C# |
using System;
using System.Collections.Generic;
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Interfaces;
using Content.Shared.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Random;
using Robust.Shared.IoC;
using Robust.Sh... | 33.556604 | 100 | 0.624684 | [
"MIT"
] | rjarbour/space-station-14 | Content.Server/GameObjects/Components/Damage/DestructibleComponent.cs | 3,559 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.IoT.DeviceUpdate.Models
{
/// <summary> Import update input metadata. </summary>
public pa... | 38.047619 | 136 | 0.650188 | [
"MIT"
] | 93mishra/azure-sdk-for-net | sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/Generated/Models/ImportUpdateInput.cs | 1,598 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using CyberCommando.Engine;
using CyberCommando.Entities.Enviroment;
using Microsoft.Xna.Fr... | 33.182292 | 115 | 0.552504 | [
"MIT"
] | GoodforGod/NightFall | CyberCommando/Services/Utils/GameScreen.cs | 6,373 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[asse... | 41.972973 | 107 | 0.744366 | [
"BSD-3-Clause"
] | sebastianzillessen/MISD-OWL | Code/MISDCode/MISD.Server.Performancetest/Properties/AssemblyInfo.cs | 1,571 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using Cinemachine;
public class PlayerMovement : MonoBehaviour
{
[Header("Float")]
public float speed = 5;
public float orignSpeed = 5;
public float dashSpeed = 5;
public float jumpForce =... | 23.819355 | 74 | 0.46831 | [
"MIT"
] | neil841004/UU | Assets/Script/PlayerMovement.cs | 3,738 | C# |
//
// MRElf.cs
//
// Author:
// Steve Jakab <>
//
// Copyright (c) 2015 Steve Jakab
//
// 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 limitati... | 22.633028 | 80 | 0.717876 | [
"MIT"
] | portablemagicrealm/portablerealm | Assets/Standard Assets (Mobile)/Scripts/Characters/Classes/MRElf.cs | 2,467 | C# |
using System.Threading.Tasks;
using OrchardCore.DisplayManagement.Entities;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.Modules;
using OrchardCore.Users.Models;
using OrchardCore.Users.TimeZone.Models;
using... | 37.306122 | 150 | 0.700766 | [
"BSD-3-Clause"
] | 1426463237/OrchardCore | src/OrchardCore.Modules/OrchardCore.Users/TimeZone/Drivers/UserTimeZoneDisplayDriver.cs | 1,828 | C# |
#if !NETSTANDARD13
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Amazon.Runtime
{
/// <summary>
/// An enumerable containing all of the responses for a paginated
/// operation
/// </summary>
/// <typeparam ... | 29.852459 | 129 | 0.607908 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Core/Amazon.Runtime/_bcl45+netstandard/PaginatedResponse.cs | 1,823 | C# |
// <copyright>
// Copyright 2020 Max Ieremenko
//
// 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 o... | 32.342105 | 104 | 0.712775 | [
"Apache-2.0"
] | max-ieremenko/ServiceModel.Grpc | Sources/ServiceModel.Grpc/Internal/InterfaceDescription.cs | 1,231 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... | 51.732 | 191 | 0.654605 | [
"MIT"
] | Aliases/msgraph-sdk-dotnet | src/Microsoft.Graph/Generated/requests/ManagedIOSStoreAppRequest.cs | 12,933 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPattern.Memento
{
public sealed class MobileBackOriginator
{
/// <summary>
/// 发起人需要保存的内部状态
/// </summary>
private List<ContactPerson> _personList;
public List<ContactPerson> ContactPers... | 24.449275 | 87 | 0.510966 | [
"MIT"
] | LambertW/DesignPattern | DesignPattern.Memento/MobileBackOriginator.cs | 1,887 | C# |
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using MatterHackers.Localizations;
using MatterHackers.MatterControl.PrinterCommunication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MatterHackers.SerialPortCommunication.FrostedSerial;
... | 34.042254 | 143 | 0.750103 | [
"BSD-2-Clause"
] | Bhalddin/MatterControl | MatterControlLib/SlicerConfiguration/UIFields/IpAddessField.cs | 4,836 | C# |
using Microsoft.Extensions.DependencyInjection;
using ReadingTracker.Domain.Interfaces;
using ReadingTracker.Repository.Context;
using ReadingTracker.Repository.Repository;
using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static class I... | 28.85 | 86 | 0.764298 | [
"MIT"
] | tangsan06/ReadingTrackerWebApi.netcore | src/ReadingTracker.Infra/InfraDependencyInjection.cs | 579 | C# |
using System.Diagnostics;
using System.Threading.Tasks;
using SimpleRtRest.RestClient;
using SimpleRtRest.RestClient.Authenticators;
using System.Net;
namespace TelAPI
{
public partial class TelAPIRestClient
{
/// <summary>
/// TelAPI API version to use when making requests
... | 37.410448 | 155 | 0.5769 | [
"MIT"
] | TelAPI/telapi-dotnet | library/TelAPI.WinRT.Api/Core.cs | 5,015 | C# |
namespace Geko.HttpClientService.CompleteSample.ClientCredentialsProtectedResourceServices.Dto;
/// <summary>
/// An object representing the result of the protected resource https://demo.identityserver.io/api/test
/// </summary>
public record class ClientCredentialsProtectedResourceResponseDto
{
/// <summary>
... | 29.777778 | 103 | 0.701493 | [
"Apache-2.0"
] | georgekosmidis/Geko.HttpClientService | samples/Geko.HttpClientService.CompleteSample/ClientCredentialsProtectedResourceServices/Dto/ClientCredentialsProtectedResourceResponseDto.cs | 538 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// Bu kod araç tarafından oluşturuldu.
// Çalışma Zamanı Sürümü:4.0.30319.42000
//
// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
// kod yeniden oluşturulursa kaybolur.
// </au... | 42.567308 | 172 | 0.601084 | [
"MIT"
] | Mc-Turk/Launcher | src/FreeLauncher/Properties/Resources.Designer.cs | 4,530 | C# |
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace MIMWebClient.Models
{
using System.Web.Mvc.Routing.Constraints;
public class CreatePlayer
{
[Required(ErrorMessage = "You won't become a legend without a name!")]
[MinLength(3, ErrorMessage = "What kind... | 35.147541 | 130 | 0.606343 | [
"MIT"
] | LiamKenneth/ArchaicQuest | MIMWebClient/Models/createPlayer.cs | 2,146 | C# |
// Copyright 2017 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 39.842105 | 166 | 0.61845 | [
"Apache-2.0"
] | acesyde/steeltoe | src/Connectors/test/ConnectorBase.Test/Relational/MySql/MySqlProviderConfigurerTest.cs | 4,544 | C# |
namespace P01_Examples
{
using System;
using System.Linq;
public class StartUp
{
public static void Main()
{
//// ================================================================= //
//int lengthOfArray = int.Parse(Console.ReadLine());
//int[] array ... | 32.882979 | 100 | 0.448075 | [
"MIT"
] | Botche/VTU-Software-Engineering-First-Course | L06_Methods/P01_Examples/StartUp.cs | 3,093 | C# |
// This file is part of Hangfire.
// Copyright © 2013-2014 Sergey Odinokov.
//
// Hangfire is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation, either version 3
// of the License, or any later version.... | 35.840278 | 129 | 0.590583 | [
"MIT"
] | collabratech/HangfireApplicationPOC | Hangfire.SqlServer/SqlServerJobQueueMonitoringApi.cs | 5,164 | C# |
using System;
using System.Collections.Generic;
namespace HierarchicalProgress
{
partial class HierarchicalProgress<TProgressReport> where TProgressReport : IProgressReport, new()
{
internal sealed class Unsubscriber : IDisposable
{
private readonly IList<IObserver<TProgressReport>... | 29.888889 | 115 | 0.613383 | [
"MIT"
] | ProphetLamb/HierarchicalProgress | src/HierarchicalProgress.Unsubscriber.cs | 809 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using YJC.Toolkit.Sys;
using YJC.Toolkit.MetaData;
namespace YJC.Toolkit.Data
{
[CoreDisplayConfig(CreateDate = "2018-04-18", NamespaceType = NamespaceType.Toolkit,
Author = "YJC", Description = "当浮点高于或低于某个基准值时,以指定的颜色来显示")]
internal cl... | 30.8 | 100 | 0.619381 | [
"BSD-3-Clause"
] | madiantech/tkcore | Data/YJC.Toolkit.Web.Common/Data/_Display/DoubleColorDisplayConfig.cs | 2,068 | 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... | 24.806452 | 81 | 0.650195 | [
"Apache-2.0"
] | polivbr/pulumi-azure-native | sdk/dotnet/Network/V20210201Preview/Outputs/GroupMembersItemResponse.cs | 769 | C# |
using R5.FFDB.Core.Entities;
using R5.FFDB.Core.Models;
using R5.Internals.PostgresMapper.Attributes;
using R5.Internals.PostgresMapper.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace R5.FFDB.DbProviders.PostgreSql.Entities
{
[Table(TableName.TeamGameStats)]
[CompositePrimaryKey... | 28.145833 | 68 | 0.721194 | [
"MIT"
] | rushfive/FFDB | DatabaseProviders/R5.FFDB.DbProviders.PostgreSql/Entities/TeamGameStatsSql.cs | 4,055 | C# |
using System;
using System.Reflection;
using System.Linq;
using Modding.Humankind.DevTools;
using Modding.Humankind.DevTools.Core;
using UnityEngine;
using Amplitude.Mercury;
using Amplitude.Mercury.Interop;
namespace DevTools.Humankind.GUITools.UI
{
public interface IDataType
{
}
public ... | 35.828829 | 153 | 0.570153 | [
"MIT"
] | Theadd/Humankind-GUI-Tools | UI/Statistics/GameStatsSnapshot.cs | 7,954 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Mi... | 54.28169 | 184 | 0.70602 | [
"MIT"
] | Agazoth/azure-powershell | src/DnsResolver/generated/api/Models/Api20200401Preview/DnsResolverListResult.cs | 3,784 | C# |
using System;
namespace LanguageServer.Parameters.Workspace
{
/// <summary>
/// For <c>workspace/configuration</c>
/// </summary>
/// <remarks>
/// A <c>ConfigurationItem</c> consist of the configuration section to ask for
/// and an additional scope URI.
/// </remarks>
/// <seealso>S... | 27.107143 | 82 | 0.5639 | [
"MIT"
] | matarillo/LanguageServerProtocol | LanguageServer/Parameters/Workspace/ConfigurationItem.cs | 761 | C# |
using Sharpnado.MaterialFrame;
using Xamarin.Forms;
namespace GitTrends
{
public class DarkTheme : BaseTheme
{
public const string PageBackgroundColorHex = "#121212";
const string _offWhite = "#F0EFEF";
const string _primaryTextHex = "#CCBAC4";
const string _primaryTealHex = "#98CDC6";
const s... | 51.726619 | 166 | 0.761335 | [
"MIT"
] | Tiamat-Tech/GitTrends | GitTrends/Themes/DarkTheme.cs | 7,192 | C# |
using System;
namespace Sdl.Tridion.Api.IqQuery
{
/// <summary>
/// Query Exception
/// </summary>
public class QueryException : Exception
{
public QueryException(string msg) : base(msg)
{
}
public QueryException(string msg, Exception innerException) : base(msg, in... | 19.052632 | 95 | 0.582873 | [
"Apache-2.0"
] | RWS/graphql-client-dotnet | net/src/Sdl.Tridion.Api.Client/IqQuery/API/QueryException.cs | 364 | C# |
using UnityEngine;
using System.Collections;
public class FlagHold : MonoBehaviour {
public FlagTrigger flagHeld;
Transform prevParent;
public bool hasFlag = false;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void grabFla... | 18.959184 | 53 | 0.558665 | [
"MIT"
] | Keithdae/Incredible-Ninja-Kart | Assets/Scripts/CTF/FlagHold.cs | 931 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using XUnity.AutoTranslator.Plugin.Core.Configuration;
using XUnity.AutoTranslator.Plugin.Core.Endpoints;
using XUnity.AutoTranslator.Plugin.Core.Extensions;
using XUnity.Common.Extensions;
using XUnity.Common.Logg... | 36.724138 | 241 | 0.635329 | [
"MIT"
] | czahoi/XUnity.AutoTranslator | src/XUnity.AutoTranslator.Plugin.Core/SpamChecker.cs | 8,522 | C# |
using UnityEngine;
using System;
// Debug.Log($"positionInBlendedSamples: {positionInBlendedSamples} halfOfWindowLength:{halfOfWindowLength} bin length 0: {_bins.GetLength(0)} bin length 1: {_bins.GetLength(1)}");
namespace TheAlterscope2
{
//This class creates time stretched audio without altering the pitch.
... | 49.361905 | 205 | 0.640556 | [
"Apache-2.0"
] | mattlandau/TheAlterscope3 | TheAlterscope3/Assets/Scripts/ConversationScripts/ConstantPitchTimeScale.cs | 5,185 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Xunit;
using List_ForEach_Action;
using List_ListUtils;
names... | 36.189873 | 178 | 0.569955 | [
"MIT"
] | er0dr1guez/corefx | src/System.Collections/tests/Generic/List/ForEach_Action.cs | 5,718 | 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... | 35.795276 | 135 | 0.600528 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/WAFRegional/Generated/Model/Internal/MarshallTransformations/UpdateRuleRequestMarshaller.cs | 4,546 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSharding.Sharding.Database
{
/// <summary>
/// 数据库表
/// </summary>
[Serializable]
public class DatabaseTable : SystemBase
{
/// <summary>
/// Name
... | 19.5 | 52 | 0.568047 | [
"MIT"
] | tesm/N-Sharding | Src/NSharding.Sharding.Database/DatabaseTable.cs | 531 | C# |
using System;
namespace XCode
{
/// <summary>模型检查模式</summary>
public enum ModelCheckModes
{
/// <summary>初始化时检查所有表。默认值。具有最好性能。</summary>
CheckAllTablesWhenInit,
/// <summary>第一次使用时检查表。常用于通用实体类等存在大量实体类但不会同时使用所有实体类的场合,避免反向工程生成没有使用到的实体类的数据表。</summary>
CheckTableWhenFirstUse
... | 29.230769 | 95 | 0.655263 | [
"MIT"
] | EnhWeb/DC.Framework | src/Ding.XCode/Attributes/ModelCheckModeAttribute.cs | 984 | 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... | 36.412322 | 247 | 0.631134 | [
"Apache-2.0"
] | pulumi/pulumi-azure-nextgen | sdk/dotnet/RecoveryServices/Latest/Outputs/ReplicationProtectedItemPropertiesResponse.cs | 7,683 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace ADepIn.Tests
{
public class OptionExtensionsTests
{
private const bool SOME_INNER = true;
private const bool NOT_SOME_INNER = !SOME_INNER;
private static readonly Option<bool> _some = Option.Some(SOME_INNER);
private st... | 24.479121 | 110 | 0.688185 | [
"MIT"
] | ash-hat/Atlas | src/ADepIn.Tests/Tools/Option.cs | 11,138 | C# |
namespace SBWebAPI.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} | 21.818182 | 51 | 0.641667 | [
"MIT"
] | sabeell/Projects | SBWebAPI/Areas/HelpPage/ModelDescriptions/EnumValueDescription.cs | 240 | C# |
namespace HackF5.UnitySpy.ProcessFacade
{
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using JetBrains.Annotations;
/// <summary>
/// A MacOS specific facade over a process that provides access to its memory space.
/// </summary>
[PublicAPI]
public ... | 33.640449 | 145 | 0.529726 | [
"MIT"
] | frcaton/UnitySpy-AvaloniaGui | src/HackF5.UnitySpy/ProcessFacade/ProcessFacadeMacOSDirect.cs | 2,996 | C# |
using SharpDX.DirectInput;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Axiverse.Interface2.Input
{
public class DirectInputSource : IInputSource
{
public DirectInput DirectInput { get; set; }
public List<Joystic... | 24.42029 | 111 | 0.495549 | [
"MIT"
] | AxiverseCode/Axiverse | Source/Libraries/Axiverse.Interface2/Input/DirectInputSource.cs | 1,687 | C# |
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using DotNet.Cli.Flubu.Infrastructure;
using FlubuCore;
using FlubuCore.Commanding;
using FlubuCore.Context;
using FlubuCore.Infrastructure;
using FlubuCore.Scripting;
using McMaster.Extensions.CommandLineUtils;
using Microsof... | 35.273381 | 113 | 0.599225 | [
"MIT"
] | Rwing/FlubuCore | src/dotnet-flubu/Program.cs | 4,905 | C# |
using HappyTravel.BaseConnector.Api.Services.Locations;
using HappyTravel.EdoContracts.GeoData;
using HappyTravel.EdoContracts.GeoData.Enums;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace HappyTravel.Ba... | 33.622222 | 146 | 0.730337 | [
"MIT"
] | happy-travel/base-connector | HappyTravel.BaseConnector.Api/Controllers/LocationsController.cs | 1,515 | C# |
using System;
using System.Collections.Generic;
// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable
namespace EasyShare.Models
{
public partial class Project... | 33.652174 | 96 | 0.661499 | [
"Apache-2.0"
] | andandrijana/EasyShareCap | EasyShare/Models/Projects.cs | 776 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.