content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.Identity.Client.Cache.Items;
using Microsoft.Identity.Client.Cache.Keys;
using Microsoft.Identity.Client.Internal.Requests;
namespace Microsoft.Identity.Client.Cache
{
/// <summary>
/... | 37.824818 | 116 | 0.652065 | [
"MIT"
] | AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Cache/CacheKeyFactory.cs | 5,184 | C# |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Runti... | 28.425373 | 126 | 0.491205 | [
"BSD-3-Clause"
] | 0xCM/z0 | src/core/src/vectors/Vector1024.cs | 3,809 | C# |
using Microsoft.EntityFrameworkCore.Migrations;
namespace ConsoleLogSearch.Migrations
{
public partial class Initial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "HelixConsoleLogs",
... | 34 | 96 | 0.534156 | [
"MIT"
] | jaredpar/ConsoleLogSearch | ConsoleLogSearch/Migrations/20210516204543_Initial.cs | 1,056 | 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 Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.CommandLine;
... | 47.690355 | 180 | 0.620862 | [
"MIT"
] | ArieJones/machinelearning | src/Microsoft.ML.Legacy/Runtime/EntryPoints/OneVersusAllMacro.cs | 9,395 | C# |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions;
using osu.Fr... | 37.838926 | 161 | 0.587088 | [
"MIT"
] | peppy/osu-new | osu.Game.Rulesets.Osu/Objects/Drawables/Connections/FollowPointRenderer.cs | 5,492 | C# |
using CommonLib;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GanttChartControl.Models
{
public class GanttProjectModel: NotifyPropertyChanged
{
private string _projectName;
/// <summary... | 19.615894 | 108 | 0.641458 | [
"Apache-2.0"
] | daixin10310/GanttChartWPF | GanttChartControl/Models/GanttProjectModel.cs | 2,964 | C# |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System.Collections.Generic;
using System.IO;
#if Q8
using QuantumType = System.Byte;
#elif Q16
using QuantumType = System.UInt16;
#elif Q16HDRI
using QuantumType = System.Single;
#else
#error No... | 38.322368 | 119 | 0.56 | [
"Apache-2.0"
] | AFWberlin/Magick.NET | src/Magick.NET/MagickImageInfo.cs | 11,652 | C# |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using CTAPI.Common;
using CTAPI.Models;
using Couchbase;
usin... | 43.266667 | 204 | 0.584636 | [
"MIT"
] | DeePatrick/Ajman | V2.0/CTAPI/Controllers/PassengerMessageController.cs | 4,545 | C# |
// --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// ------------------------------------------------... | 25.615385 | 102 | 0.580581 | [
"MIT"
] | AigioL/CefNet | CefGen/CodeDom/CodeMethod.cs | 1,001 | 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.
#nullable disable
using System.Collections.Immutable;
using System.Reflection.Metadata;
using Microsoft.CodeAnalys... | 27.891566 | 197 | 0.6473 | [
"MIT"
] | InfectedLibraries/roslyn | src/Compilers/CSharp/Portable/Emitter/Model/PointerTypeSymbolAdapter.cs | 4,632 | C# |
using DotNetCore.CAP;
using EasyCaching.Core;
using IoTSharp.Data;
using IoTSharp.Extensions;
using IoTSharp.FlowRuleEngine;
using IoTSharp.Storage;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
us... | 40.856459 | 136 | 0.47043 | [
"MIT"
] | NanoFabricFX/IoTSharp | IoTSharp/Handlers/EventBusHandler.cs | 8,649 | C# |
// <auto-generated />
// Built from: hl7.fhir.r5.core version: 4.6.0
// Option: "NAMESPACE" = "fhirCsR5"
using fhirCsR5.Models;
namespace fhirCsR5.ValueSets
{
/// <summary>
/// This value set represents codes for types of edible substances and is provided as a suggestive example. It include codes from [SNOMED ... | 29.417021 | 227 | 0.624237 | [
"MIT"
] | microsoft-healthcare-madison/argonaut-subscription-server-proxy | argonaut-subscription-server-proxy/Fhir/R5/ValueSets/NotConsumedReason.cs | 414,780 | C# |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewEngines;
using Microsoft.AspNetCore.Mvc.ViewFeatu... | 38.798077 | 135 | 0.607435 | [
"MIT"
] | BugMixer95/belcukerkka-demo | 02 BL/Belcukerkka.Extras/PartialToStringRenderer.cs | 4,037 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace EasyNetQ.MessageVersioning
{
public class MessageVersionStack : IEnumerable<Type>
{
private readonly Stack<Type> messageVersions;
public MessageVersionStack( Type messageType )
{
... | 30.225352 | 174 | 0.571761 | [
"MIT"
] | CSGOpenSource/EasyNetQ | Source/EasyNetQ/MessageVersioning/MessageVersionStack.cs | 2,146 | 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 CRM_C02 message structu... | 26.787097 | 145 | 0.680877 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | AMCN41R/nHapi | src/NHapi.Model.V23/Message/CRM_C02.cs | 4,152 | C# |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite CSharp Client
* Copyright (C) 2006, 2007, 2009, 2010 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain... | 22.694915 | 97 | 0.698282 | [
"MIT"
] | fciubotaru/z-pec | ZimbraCSharpClient/src/Mail/NoOp.cs | 1,339 | C# |
using System.Collections;
using System.Collections.Generic;
using DCL.Controllers;
using DCL.Helpers;
using DCL.Models;
using TMPro;
using UnityEngine;
namespace DCL.Components
{
public class DCLFont : BaseDisposable
{
const string RESOURCE_FONT_PREFIX = "builtin:";
const string RESOURCE_FONT_F... | 29.144231 | 147 | 0.528538 | [
"Apache-2.0"
] | Marguelgtz/explorer | unity-client/Assets/Scripts/MainScripts/DCL/Components/Font/DCLFont.cs | 3,031 | 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>
//--... | 31.806452 | 148 | 0.626775 | [
"MIT"
] | gjchangmu/NecroDancer-Score-Analyzer | memreader/Properties/Settings.Designer.cs | 988 | C# |
// -----------------------------------------------------------------------
// <copyright file="ICacheProvider.cs" company="Weloveloli">
// Copyright (c) Weloveloli. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Weloveloli.AVLib
{
usi... | 34.804348 | 75 | 0.512804 | [
"MIT"
] | weloveloli/NetAVLib | Src/AVLib/ICacheProvider.cs | 1,603 | C# |
using Elasticsearch.Net;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Cluster.ClusterSettings.ClusterGetSettings
{
public class ClusterGetSettingsApiTests
: Api... | 37.37037 | 146 | 0.795837 | [
"Apache-2.0"
] | msarilar/elasticsearch-net | src/Tests/Tests/Cluster/ClusterSettings/ClusterGetSettings/ClusterGetSettingsApiTests.cs | 1,011 | C# |
using System;
namespace Amqp.Types
{
public struct AmqpFloat
{
private readonly float _value;
public AmqpFloat(byte[] encoded)
{
if (encoded.Length != sizeof(float))
throw new ArgumentOutOfRangeException(nameof(encoded));
_value = BitConverter.T... | 19.863636 | 71 | 0.549199 | [
"MIT"
] | strizzwald/Strizzwald.Amqp | Amqp.Types/AmqpFloat.cs | 437 | C# |
public struct RenderTargetIdentifier : IEquatable<RenderTargetIdentifier> // TypeDefIndex: 3292
{
// Fields
private BuiltinRenderTextureType m_Type; // 0x0
private int m_NameID; // 0x4
private int m_InstanceID; // 0x8
private IntPtr m_BufferPointer; // 0x10
private int m_MipLevel; // 0x18
private CubemapFace m_C... | 29.296296 | 95 | 0.73957 | [
"MIT"
] | SinsofSloth/RF5-global-metadata | UnityEngine/Rendering/RenderTargetIdentifier.cs | 791 | C# |
// Copyright (c) 2020, UW Medicine Research IT, University of Washington
// Developed by Nic Dobbins and Cliff Spital, CRIO Sean Mooney
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://moz... | 35.077922 | 172 | 0.604221 | [
"MPL-2.0",
"MPL-2.0-no-copyleft-exception"
] | BayesianGraph/leaf | src/server/Model/Compiler/ShapedDatasetSchemaExtractor.cs | 2,703 | C# |
namespace Spice86.Emulator.Devices.DirectMemoryAccess;
using Spice86.Emulator.Devices;
using Spice86.Emulator.IOPorts;
using Spice86.Emulator.VM;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
/// <summary>
/// Provides the basic services of an Intel 8237 DMA contro... | 32.676136 | 217 | 0.558685 | [
"Apache-2.0"
] | OpenRakis/Ix86 | src/Spice86/Emulator/Devices/DirectMemoryAccess/DmaController.cs | 5,578 | C# |
using System;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Windows;
using System.ComponentModel;
using System.Threading;
using EclipsePos.Apps.Context;
using Microsoft.PointOfService;
namespace EclipsePos.Apps.Hardware
{
/// <summary>
/// Summary description for PosLineDisplayW... | 20.128668 | 162 | 0.59594 | [
"MIT"
] | naushard/EclipsePOS | V.1.0.8/EclipsePOS.WPF.PosWorkBench/EclipsePos.Apps/Hardware/LineDisplayWrapper.cs | 8,917 | C# |
using System.Threading.Tasks;
using Xunit;
namespace ArgentPonyWarcraftClient.Integration.Tests.GameDataApi
{
public class SpellApiTests
{
[ResilientFact]
public async Task GetSpellAsync_Gets_Spell()
{
ISpellApi warcraftClient = ClientFactory.BuildClient();
Requ... | 31.6 | 108 | 0.664557 | [
"MIT"
] | Krysztal/warcraft | tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/SpellApiTests.cs | 792 | C# |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Modify the user's simultaneous ring family service setting.
/// The response ... | 32.034783 | 158 | 0.612106 | [
"MIT"
] | JTOne123/broadworks-connector-net | BroadworksConnector/Ocip/Models/UserSimultaneousRingFamilyModifyRequest17.cs | 3,684 | C# |
namespace BINARY_KUN
{
partial class Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param name="disposing">マネージ リソース... | 36.1125 | 153 | 0.566632 | [
"MIT"
] | CoderDojoDazaifu/Python | CSharp/BINARY-KUN/Form1.Designer.cs | 3,169 | C# |
namespace BasicRedisLeaderboardDemoDotNetCore.BLL.DbContexts
{
public class AppDbContext
{
}
}
| 15.428571 | 61 | 0.740741 | [
"MIT"
] | redis-developer/asic-redis-leaderboard-demo-dotnet | BasicRedisLeaderboardDemoDotNetCore.BLL/DbContexts/AppDbContext.cs | 110 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _08.Increasing_Elements
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var lastnum = int.MinValue;
... | 20.318182 | 52 | 0.383669 | [
"MIT"
] | rumenNikodimov/ProgrammingBasics | Exam - Jan 2016/08. Increasing Elements/Program.cs | 896 | C# |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LatencyMonitor.cs" company="Exit Games GmbH">
// Copyright (c) Exit Games GmbH. All rights reserved.
// </copyright>
// <summary>
// Defines the LatencyMonitor type.
//... | 34.645 | 221 | 0.544812 | [
"MIT"
] | bzn/naxsServer | src-server/Loadbalancing/LoadBalancing/LoadShedding/LatencyMonitor.cs | 6,931 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// IndividualInfo Data Structure.
/// </summary>
[Serializable]
public class IndividualInfo : AopObject
{
/// <summary>
/// 生日
/// </summary>
[XmlElement("date_o... | 23.244898 | 55 | 0.471466 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/IndividualInfo.cs | 1,185 | C# |
// Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace DeckCard
{
class Program
{
static void Main(string[] args)
{// Program.cs
// The Main() method
var startingDeck = from s in Suits()
from r... | 28.046154 | 117 | 0.481624 | [
"MIT"
] | 042020-dotnet-uta/kingsleyOnonachi-repo0 | DeckCard/Program.cs | 1,825 | 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("Ma... | 38.081081 | 84 | 0.745919 | [
"MIT"
] | saiedkia/MasterMemory | tests/MasterMemory.Tests/Properties/AssemblyInfo.cs | 1,412 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
* net35 時点では Tuple 型は無いため、自作して使う
* 機能は最低限で問題無いので、最低限しか実装していません
*
*/
namespace ObjectVisualization
{
public class Tuple<T1>
{
public T1 Item1 { get; }
internal Tuple(T1 item1)
{
t... | 26.987805 | 160 | 0.503841 | [
"MIT"
] | sutefu7/ObjectVisualization | srcs/net35/ObjectVisualization/Tuple.cs | 4,516 | C# |
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Sy... | 39.320988 | 169 | 0.621193 | [
"Apache-2.0"
] | GrinTechnology/openapi-generator | samples/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools/Model/ShapeOrNull.cs | 6,370 | C# |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using CommunityToolkit.Maui.Alerts.Snackbar;
using FluentAssertions;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
using Xunit;
namespace CommunityToolkit.Maui.UnitTests.Alerts;
public class Snackbar_T... | 22.63964 | 71 | 0.708317 | [
"MIT"
] | bijington/Maui | src/CommunityToolkit.Maui.UnitTests/Alerts/SnackBar_Tests.cs | 2,515 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.ML;
using Microsoft.ML.Data;
namespace Samples.Dynamic.Trainers.MulticlassClassification
{
public static class NaiveBayes
{
// Naive Bayes classifier is based on Bayes' theorem.
// It assumes independence among... | 39.781457 | 84 | 0.540037 | [
"MIT"
] | GitHubPang/machinelearning | docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/MulticlassClassification/NaiveBayes.cs | 6,009 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
[DisallowMultipleComponent]
public abstract class MonoBehaviourSingleton : MonoBehaviour
{
private static readonly Dictionary<System.Type, MonoBehaviourSingleton> s_Instances = new Dictionary<System.Type, MonoBehaviourSingleton>();
protected ... | 27.764706 | 144 | 0.713983 | [
"Apache-2.0"
] | albrdev/marvin42-dacapo-map_visualizer | Assets/Scripts/Components/MonoBehaviourSingleton.cs | 946 | C# |
//-----------------------------------------------------------------------
// <copyright file="SingleSessionController.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// </copyrig... | 43.99177 | 178 | 0.536576 | [
"MIT"
] | isabella232/DaaS | DiagnosticsExtension/Controllers/SingleSessionController.cs | 10,690 | C# |
using System;
using System.Collections.Generic;
using System.Net.Http.Headers;
using KeyPayV2.Uk.Models.Common;
using KeyPayV2.Uk.Enums;
namespace KeyPayV2.Uk.Models.Ess
{
public class EssRosterShiftCountModel
{
public int ProposedSwapCount { get; set; }
public int PendingShiftCount ... | 26.764706 | 56 | 0.679121 | [
"MIT"
] | KeyPay/keypay-dotnet-v2 | src/keypay-dotnet/Uk/Models/Ess/EssRosterShiftCountModel.cs | 455 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LeetCode
{
public static class Medium
{
//https://leetcode-cn.com/problems/add-two-numbers/description/
#region 2. 两数相加
public static ListNode AddTwoNumbers(Lis... | 29.906007 | 145 | 0.374672 | [
"MIT"
] | YaoYilin/LeetCode | LeetCode/Medium.cs | 42,971 | C# |
namespace LearnMining
{
public interface IMiner
{
void Mine();
}
}
| 11 | 27 | 0.556818 | [
"MIT"
] | Autarkysoft/LearnMining | LearnMining/IMiner.cs | 90 | C# |
/*
File: Program.cs
Description: Code Snippet to enable/disable scanner using CoreScanner
Version: 1.0.0.1
Date: 2020-05-22
Copyright: ©2020 Zebra Technologies Corporation and/or its affiliates. All rights reserved.
*/
using System;
using System.Threading;
using CoreScanner; // CoreScanner namespace
using... | 46.134969 | 157 | 0.433245 | [
"MIT"
] | zebra-technologies/Scanner-SDK-for-Windows-Code-Snippets | CSharp/EnableDisableScanner/Program.cs | 7,523 | C# |
// ------------------------------------------------------------------------------
// Copyright (c) 2015 Microsoft Corporation
//
// 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 witho... | 41.551724 | 87 | 0.63361 | [
"MIT"
] | HandsomeMark/onedrive-sdk-csharp-master | src/OneDriveSdk/Requests/Generated/IItemsCollectionRequestBuilder.cs | 2,410 | C# |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.open.public.personalized.menu.delete
/// </summary>
public class AlipayOpenPublicPersonalizedMenuDeleteRequest : IAlipayRequest<AlipayO... | 23.203252 | 127 | 0.553609 | [
"MIT"
] | LuohuaRain/payment | src/Essensoft.AspNetCore.Payment.Alipay/Request/AlipayOpenPublicPersonalizedMenuDeleteRequest.cs | 2,870 | C# |
using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Impl;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Feature.Services.Util;
using JetBrains.ReSharper.Psi.Tree;
using ReSharperPlugin.SpecflowRiderPlugin.Psi;
namespace ReSharpe... | 42.804878 | 179 | 0.579145 | [
"MIT"
] | Socolin/resharper-specflow | src/dotnet/ReSharperPlugin.SpecflowRiderPlugin/CompletionProviders/GherkinCompletionContextProvider.cs | 8,775 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace PocketBar.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
// if you want to use a different Ap... | 22.904762 | 91 | 0.632017 | [
"MIT"
] | BaristaStudio/PocketBar | PocketBar/PocketBar.iOS/Main.cs | 483 | C# |
using Stump.DofusProtocol.D2oClasses;
using Stump.DofusProtocol.D2oClasses.Tools.D2o;
using Stump.ORM;
using Stump.ORM.SubSonic.SQLGeneration.Schema;
namespace Stump.Server.WorldServer.Database.Guilds
{
public class TaxCollectorNamesRelator
{
public static string FetchQuery = "SELECT * FROM taxcollect... | 24.263158 | 79 | 0.611714 | [
"Apache-2.0"
] | Daymortel/Stump | src/Stump.Server.WorldServer/Database/Guilds/TaxCollectorNamesRecord.cs | 924 | C# |
using DatenMeister.Core.EMOF.Interface.Reflection;
namespace DatenMeister.Forms.FormModifications
{
/// <summary>
/// Defines the interface to modify the form, depending on the context
/// </summary>
public interface IFormModificationPlugin
{
/// <summary>
/// Allows the plugin to ... | 39.25 | 112 | 0.66879 | [
"MIT"
] | mbrenn/datenmeister-new | src/DatenMeister.Forms/FormModifications/IFormModificationPlugin.cs | 787 | 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("An... | 37.648649 | 84 | 0.745154 | [
"Apache-2.0"
] | PMArkive/ANDT | NinfiaDSToolkit/Properties/AssemblyInfo.cs | 1,395 | C# |
namespace SportsSite.Web.Controllers
{
using SportsSite.Data.UnitOfWork;
using System.Web.Mvc;
public class BaseController : Controller
{
protected ISportsSiteData Data;
public BaseController(ISportsSiteData data)
{
this.Data = data;
}
public BaseC... | 20 | 51 | 0.585 | [
"MIT"
] | BorislavNedev/SportsSite | SportsSite/SportsSite.Web/Controllers/BaseController.cs | 402 | C# |
using HelpMyStreet.Utils.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace HelpMyStreet.Contracts.CommunicationService.Request
{
public class GroupRoleType
{
public int? GroupId { get; set; }
public GroupRoles GroupRoles { get; set; }
}
}
| 21.642857 | 61 | 0.716172 | [
"MIT"
] | HelpMyStreet/nuget-package | HelpMyStreet.Utils/HelpMyStreet.Contracts/CommunicationService/Request/GroupRoleType.cs | 305 | C# |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Data.SqlClient;
using System.Linq;
using Microsoft.Data.Entity.FunctionalTests;
using Microsoft.Data.Entity.FunctionalTest... | 33.815623 | 339 | 0.517793 | [
"Apache-2.0"
] | mj1856/EntityFramework | test/EntityFramework.SqlServer.FunctionalTests/SqlServerQueryTest.cs | 48,052 | 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("02... | 38.72973 | 84 | 0.75157 | [
"MIT"
] | kaizer04/Telerik-Academy-2013-2014 | DSA/Trees-and-Traversals-Homework/02_DirectoryTraverser/Properties/AssemblyInfo.cs | 1,436 | C# |
using System;
using System.Collections;
using System.IO;
using Octodiff.Diagnostics;
namespace Octodiff.Core
{
public class DeltaApplier
{
public DeltaApplier()
{
SkipHashCheck = false;
}
public bool SkipHashCheck { get; set; }
public void Apply(Stream basi... | 35.469388 | 276 | 0.552359 | [
"MIT"
] | pttb369/GameDevRepo | Scripts/Patching/PatchLib/Core/DeltaApplier.cs | 1,738 | C# |
using System;
using System.IO;
using System.Threading.Tasks;
using FlatFiles.Properties;
namespace FlatFiles
{
/// <inheritdoc />
/// <summary>
/// Extracts records from a file that has values separated by a separator token.
/// </summary>
public sealed class SeparatedValueReader : IReader, IReade... | 35.591228 | 137 | 0.537388 | [
"Unlicense"
] | silkfire/FlatFiles | FlatFiles/SeparatedValueReader.cs | 20,289 | C# |
using P02.Graphic_Editor.Contracts;
using System.Collections.Generic;
using System.Linq;
namespace P02.Graphic_Editor
{
public class GraphicEditor
{
public void Draw(IShape shape)
{
var drawers = new List<IGraphicEditor>()
{
new CircleEditor(),
... | 22.181818 | 61 | 0.540984 | [
"MIT"
] | PhilShishov/Software-University | C# OOP/Homeworks/06.SOLID_Lab/P02.Graphic_Editor/GraphicEditor.cs | 490 | C# |
using Autofac;
using Microsoft.Extensions.Configuration;
using Surging.Core.Caching.AddressResolvers;
using Surging.Core.Caching.AddressResolvers.Implementation;
using Surging.Core.Caching.Configurations;
using Surging.Core.Caching.Configurations.Implementation;
using Surging.Core.Caching.HashAlgorithms;
using Surging... | 46.919118 | 210 | 0.588309 | [
"MIT"
] | 16it/surging | src/Surging.Core/Surging.Core.Caching/CachingModule.cs | 6,383 | C# |
namespace GiveCRM.Models.Search
{
using System.Collections.Generic;
public class LocationSearchCriteria : SearchCriteria
{
public const string City = "city";
public const string Region = "region";
public const string PostalCode = "postalcode";
private static read... | 37.956522 | 76 | 0.411226 | [
"MIT"
] | GiveCampUK/GiveCRM | src/GiveCRM.Models/Search/LocationSearchCriteria.cs | 875 | C# |
namespace Z64.Forms
{
partial class AboutForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 44.798817 | 158 | 0.564258 | [
"MIT"
] | AngheloAlf/Z64Utils | Z64Utils/Forms/AboutForm.Designer.cs | 7,573 | C# |
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using Microsoft.AppCenter.Distribute;
using Samples.Helpers;
using Samples.View;
using Xamarin.Essentials;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using Device = Xamarin.Forms.Device;
[assembly: XamlCompilation(X... | 28.446429 | 113 | 0.597615 | [
"MIT"
] | Akinnagbe/XamarinEssentials | Samples/Samples/App.xaml.cs | 1,595 | C# |
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
namespace TheCatApiClient.Shared.WebServices
{
public abstract class WebApiBase
{
// Insert variables below here
protected static HttpClient _client;
// Insert ... | 34.280374 | 131 | 0.554798 | [
"Apache-2.0"
] | duke7553/Uno.Samples | UI/TheCatApiClient/TheCatApiClient/TheCatApiClient.Shared/WebServices/WebApiBase.cs | 3,670 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace CarMarketPlace.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// ... | 37.445087 | 175 | 0.569929 | [
"Apache-2.0"
] | amartynenko/CarMarketplace | CarMarketPlace.Host/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs | 6,478 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Xml.Linq;
namespace NetTopologySuite.IO
{
/// <summary>
/// An immutable list of <see cref="GpxWaypoint"/> instances.
/// </summary>
/// <remarks>
/// Stora... | 42.646694 | 200 | 0.591347 | [
"BSD-3-Clause"
] | NetTopologySuite/NetTopologySuite.IO.GPX | src/NetTopologySuite.IO.GPX/ImmutableGpxWaypointTable.cs | 20,643 | 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.
/******************************************************************************
* This file is auto-generated from ... | 38.315522 | 185 | 0.577567 | [
"MIT"
] | 06needhamt/runtime | src/coreclr/tests/src/JIT/HardwareIntrinsics/X86/Avx2/ShuffleLow.Int16.228.cs | 15,058 | 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("SDL.Web.Modules.Products")]
[assembly: As... | 38.861111 | 84 | 0.743388 | [
"MIT"
] | contacttomukesh/TDS-Hackathon-2018 | SDL.Web.Modules.Thumb/Properties/AssemblyInfo.cs | 1,402 | C# |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Orleans;
using GF.Common;
using GF.Server;
using Ps;
public class BasePlayerMailBox<TDef> : Component<TDef> where TDef : DefPlayerMailBox, new()
{
//---------------------------------------------------------... | 31.516854 | 125 | 0.508378 | [
"MIT"
] | corefan/Fishing | Server/Fishing.Gateway/Component/BasePlayerMailBox.cs | 2,807 | C# |
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (https://www.specflow.org/).
// SpecFlow Version:3.7.0.0
// SpecFlow Generator Version:3.7.0.0
//
// Changes to this file may cause incorrect behavior and w... | 44.097436 | 313 | 0.648796 | [
"MIT"
] | uk-gov-mirror/SkillsFundingAgency.tl-results-and-certification-automation-suite | src/Sfa.Tl.ResultsAndCertificationAutomation/Tests/Features/Registrations/1490_ReRegisterCreateHasLearnerDecidedSpecialism.feature.cs | 8,601 | C# |
using Autofac;
using GSoft.Dynamite.ServiceLocator;
using GSoft.Dynamite.ServiceLocator.AddOn;
using Microsoft.SharePoint;
namespace GSoft.Dynamite.Publishing.SP
{
/// <summary>
/// Proxy service locator for the Dynamite Portal Publishing components
/// </summary>
internal class PublishingContainerPro... | 47.582278 | 105 | 0.65842 | [
"MIT"
] | GSoft-SharePoint/Dynamite-Components | Source/GSoft.Dynamite.Publishing.SP/PublishingContainerProxy.cs | 3,761 | 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... | 42.470588 | 126 | 0.790859 | [
"MIT"
] | TetradogOther/SharpDevelop | src/AddIns/Misc/PackageManagement/Project/Src/ListBoxBehaviour.cs | 2,168 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System.ComponentModel;
using OpenLiveWriter.ApplicationFramework;
using OpenLiveWriter.Localization;
namespace OpenLiveWriter.PostEditor.PostHtmlEditing
{
/// <summary>... | 33.928571 | 84 | 0.675789 | [
"MIT"
] | BobinYang/OpenLiveWriter | src/managed/OpenLiveWriter.PostEditor/PostHtmlEditing/SmartContentContextMenuDefinition.cs | 950 | C# |
using System.Collections.Generic;
namespace ManyToMany.System.Core.Application.Storage.Books.Queries.GetBooksList
{
public class BooksListViewModel
{
public IList<BookDto> Books { get; set; }
}
} | 24 | 79 | 0.731481 | [
"Apache-2.0"
] | liannoi/api-many-to-many | src/system/core/application/Storage/Books/Queries/GetBooksList/BooksListViewModel.cs | 216 | C# |
using UnityEngine;
namespace Assets.Scripts
{
public class CoordinateConverter
{
public float ScaleFactor { get; }
private Matrix4x4 _coordinateConverter;
// XvT engine -> Unity engine
// unity: forward is +z, right is +x, up is +y
// XvT: forward is -y, right is... | 33.967742 | 127 | 0.609687 | [
"MIT"
] | rob-pilkington/XWLoader | Assets/Scripts/CoordinateConverter.cs | 1,055 | C# |
//***************************************************
//* This file was generated by tool
//* SharpKit
//* At: 29/08/2012 03:59:41 p.m.
//***************************************************
using SharpKit.JavaScript;
namespace Ext.grid
{
#region Panel
/// <inheritdocs />
/// <summary>
/// <p>Grids are a... | 55.218274 | 238 | 0.620886 | [
"MIT"
] | SharpKit/SharpKit-SDK | Defs/ExtJs/Ext.grid.Panel.cs | 10,878 | C# |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Media;
public partial class AppMain
{
private static AppMain.OBS_OBJECT_WORK GMM_ENEMY_CREATE_RIDE_WORK(... | 42.099174 | 206 | 0.659207 | [
"Unlicense"
] | WanKerr/Sonic4Episode1 | Sonic4Episode1/AppMain/Gm/Enemy/GmEnemyCommon.cs | 10,190 | C# |
using System;
using Animals.Library;
namespace Animals.UI
{
class Program
{
//Program.cs and Program class name are just convetion
/*
Naming convention in c#
PascalCase aks TitleCase for
classes
methods
pr... | 27.959459 | 103 | 0.507975 | [
"MIT"
] | 1811-nov27-net/pereira-practice | week1/day 3/Animals/Animals.UI/Program.cs | 2,071 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AITurret : MonoBehaviour
{
InputPacket ip;
public virtual InputPacket ClearInputPacket()
{
ip = new InputPacket();
return ip;
}
public virtual InputPacket GetInputPacket()
{
ret... | 17.666667 | 54 | 0.650943 | [
"MIT"
] | sdasd30/Tanks | Assets/Scripts/Input/EnemyInput/Extendable/AITurret.cs | 426 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.OLE.Interop;
using Microsoft.VisualStudio.P... | 28.929178 | 112 | 0.579025 | [
"BSD-3-Clause"
] | ERamaM/Cosmos | source/Cosmos.VS.Package/CustomPropertyPage.cs | 10,214 | 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... | 40.707547 | 168 | 0.640093 | [
"Apache-2.0"
] | FoxBearBear/aws-sdk-net | sdk/src/Services/ResourceGroupsTaggingAPI/Generated/Model/TagResourcesRequest.cs | 4,315 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace _01.PrintName
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.Lb_Hello.Text = st... | 23.206897 | 67 | 0.555721 | [
"MIT"
] | primas23/Homewoks | ASP.NET-Web-Forms/02.ASP.NET-Web-Forms-Intro/01.PrintName/Default.aspx.cs | 675 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using Elasticsearch.Net;
///This file lays the base for all the descriptors based on the query string parameters in the spec for IElasticClient.
///This file is automatically generated from https://githu... | 28.013979 | 356 | 0.741199 | [
"Apache-2.0"
] | NickCraver/NEST | src/Nest/DSL/_Descriptors.generated.cs | 142,283 | C# |
namespace CommandsService.DTOs
{
public class PlatformReadDto
{
public int Id { get; init; }
public string Name { get; init; }
}
}
| 16.1 | 41 | 0.590062 | [
"MIT"
] | dbegogow/ASP.NET-Core-Microservices | CommandsService/CommandsService/DTOs/PlatformReadDto.cs | 163 | C# |
using Android.App;
using Android.OS;
using Flowers.Data.ViewModel;
using GalaSoft.MvvmLight.Helpers;
using GalaSoft.MvvmLight.Views;
namespace Flowers
{
[Activity(Label = "Add Comment")]
public partial class AddCommentActivity
{
private Binding<string, string> _saveBinding;
private FlowerV... | 20.814815 | 55 | 0.622776 | [
"MIT"
] | lbugnion/sample-2015-bbv | Flowers - Start/Flowers.Droid/AddCommentActivity.cs | 562 | C# |
using System;
namespace LottieSharp
{
public class PathInterpolator : IInterpolator
{
public PathInterpolator(float controlX1, float controlY1, float controlX2, float controlY2)
{
InitCubic(controlX1, controlY1, controlX2, controlY2);
}
private static readonly float... | 32.144231 | 101 | 0.463655 | [
"Apache-2.0"
] | Mohadin/LottieSharp | LottieSharp/PathInterpolator.cs | 3,343 | C# |
namespace Barista.Consistency.Activities
{
public interface IHasSourceEventData
{
ISourceEventData SourceEventData { get; }
}
}
| 18.625 | 49 | 0.704698 | [
"MIT"
] | nesfit/Coffee | Barista.Consistency/Activities/IHasSourceEventData.cs | 151 | C# |
using DependencyInversion.Certo.Interfaces;
namespace DependencyInversion.Certo
{
public class ChaveAmericasService : IChaveAmericasService
{
public bool EhValida(string chaveAmericas)
{
return PossuiConteudo(chaveAmericas) && TamanhoValido(chaveAmericas);
}
privat... | 26.863636 | 81 | 0.658206 | [
"MIT"
] | WendelEstrada/Estudos | 1 - SOLID/5 - DependencyInversion/Certo/ChaveAmericasService.cs | 593 | C# |
using CadastroCliente.Helpers;
using CadastroCliente.Methods;
using CadastroCliente.Models;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CadastroCliente.Controllers
{
[ApiController]
[Route("api/[controller]")]
public class Cadas... | 33.719512 | 120 | 0.548644 | [
"BSD-3-Clause"
] | lucaslrc/CadastroCliente | Controllers/CadastroClienteController.cs | 2,767 | C# |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data.MySqlClient;
namespace CUMple
{
public partial class formadmin : Form
{
... | 32.976077 | 213 | 0.561376 | [
"MIT"
] | 3-BE-2021-proyecto-SaFe-EmRo-FraLa-RiSu/Proyecto | CUMple/CUMple/Administrador.cs | 6,894 | C# |
namespace ModelGraph.Core
{
public abstract class Path : Item
{
internal abstract Item Head { get; }
internal abstract Item Tail { get; }
internal abstract Query Query { get; }
internal abstract double Width { get; }
internal abstract double Height { get; }
int... | 30.842105 | 65 | 0.600683 | [
"MIT"
] | davetz/ModelGraph2 | ModelGraph/ModelGraph.Core/Graph/Path/Path.cs | 588 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace EphIt.Db.Enums
{
public enum JobLogLevelEnum : short
{
Information,
Verbose,
Debug,
Progress,
Error,
Exception,
Warning
}
}
| 14.736842 | 39 | 0.564286 | [
"MIT"
] | Eph-It/Automation | src/EphIt/Classlibraries/EphIt.Db/Enums/JobLogLevelEnum.cs | 282 | C# |
using UnityEngine;
using System.Collections;
public class ParamsBind : MonoBehaviour
{
public string ParamsName;
public GameObject[] GameObjectParams;
public string[] StringParams;
public int[] IntParams;
public float[] FloatParams;
public Color[] ColorParams;
}
| 22.307692 | 41 | 0.731034 | [
"MIT"
] | ntfox0001/yuan | Assets/Script/Kernel/System/Script/ParamsBind.cs | 292 | 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/imapi.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.461538 | 145 | 0.640657 | [
"MIT"
] | DaZombieKiller/terrafx.interop.windows | tests/Interop/Windows/um/imapi/IEnumDiscRecordersTests.cs | 1,950 | C# |
using AS.Admin.Validators;
using AS.Infrastructure;
using AS.Infrastructure.Web.Mvc;
using FluentValidation.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
namespace AS.Admin.Models
{
[Validator(typeof(RoleValidator))]
public class RoleModel : ASModelBase
{
public int Id { g... | 23.785714 | 49 | 0.632132 | [
"MIT"
] | bartizo12/ASAdmin | src/AS.Admin/Models/Roles/RoleModel.cs | 668 | C# |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayOpenBpaasAppPublishModel Data Structure.
/// </summary>
[Serializable]
public class AlipayOpenBpaasAppPublishModel : AopObject
{
/// <summary>
/// 应用版本号, 要求为纯数字,如10.20.1.... | 25.527273 | 60 | 0.504274 | [
"Apache-2.0"
] | 554393109/alipay-sdk-net-all | AlipaySDKNet.Standard/Domain/AlipayOpenBpaasAppPublishModel.cs | 1,510 | C# |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TopTests.DAL.Migrations
{
public partial class admin : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Users",
co... | 55.32 | 616 | 0.688359 | [
"Apache-2.0"
] | Bohdan-creator/TOPTests | Serwer/TopTests.DAL/Migrations/20210117143238_admin.cs | 1,385 | 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 Windows.UI.Composition;
namespace Microsoft.Toolkit.Uwp.UI.Animations
{
/// <summary>
/// A blur radi... | 32.130435 | 88 | 0.669824 | [
"MIT"
] | Arlodotexe/WindowsCommunityToolkit | Microsoft.Toolkit.Uwp.UI.Animations/Xaml/Shadows/BlurRadiusDropShadowAnimation.cs | 739 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite.SDK
{
/// <summary>
/// Describes addons API interface.
/// </summary>
public interface IAddons
{
/// <summary>
/// Gets ID list of d... | 23.633333 | 56 | 0.545839 | [
"MIT"
] | FenDIY/Worknite | source/PlayniteSDK/IAddons.cs | 711 | C# |
using System;
using Backend.Fx.Logging;
using Backend.Fx.Patterns.DependencyInjection;
using Microsoft.AspNetCore.SignalR;
namespace Backend.Fx.AspNetCore.Mvc.Activators
{
public class BackendFxApplicationHubActivator<T> : IHubActivator<T> where T : Hub
{
private readonly IBackendFxApplication _backend... | 31.675676 | 106 | 0.635666 | [
"MIT"
] | marcwittke/Backend.Fx | src/environments/Backend.Fx.AspNetCore/Mvc/Activators/BackendFxApplicationHubActivator.cs | 1,172 | C# |
using System.IO;
using System.Threading.Tasks;
namespace LocalPublisherWebApp
{
public static class Resources
{
public async static Task<string?> GetEmbeddedResource(this string name)
{
var resourceName = $"{typeof(Resources).FullName}.{name}";
using (var resourceStream... | 30.681818 | 107 | 0.601481 | [
"MIT"
] | cliveontoast/SENEC.Home-V2-publisher | LocalPublisher.WebApp/Extensions/Resources.cs | 677 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.