max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
Echse.Net.Lidgren/LanguageInboxConsumer.cs | inidibininging/echse_net | 0 | 7027846 | using System;
using Echse.Language;
using Echse.Net.Domain;
using Echse.Net.Infrastructure;
namespace Echse.Net.Lidgren
{
public class LanguageInboxConsumer :
IObserver<NetworkCommandConnection<long>>, IDisposable
{
private NetworkCommandDataConverterService _dataConverterService;
priv... |
Lab02/Starter/Quotes/Quotes.Android/LabelShadowEffect.cs | tlhoward120/Quotes | 0 | 7027847 | <filename>Lab02/Starter/Quotes/Quotes.Android/LabelShadowEffect.cs
using System;
using System.Collections.Generic;
using System.Text;
using Xamarin.Forms;
using Android.Graphics;
using Xamarin.Forms.Platform.Android;
using Android.Widget;
using Quotes.Effects;
using System.Linq;
[assembly: ResolutionGroupName("MyComp... |
Tzkt.Api/Parameters/TokenStandardParameter.cs | baking-bad/tezzycat | 6 | 7027848 | using Microsoft.AspNetCore.Mvc;
using NJsonSchema.Annotations;
namespace Tzkt.Api
{
[ModelBinder(BinderType = typeof(TokenStandardBinder))]
[JsonSchemaExtensionData("x-tzkt-extension", "query-parameter")]
[JsonSchemaExtensionData("x-tzkt-query-parameter", "fa1.2,fa2")]
public class TokenStandardParame... |
code/Core/Sitecore.Ecommerce.Kernel/Install/Upgrade/CreateRolesPostStep.cs | HydAu/sitecore8ecommerce | 5 | 7027849 | <filename>code/Core/Sitecore.Ecommerce.Kernel/Install/Upgrade/CreateRolesPostStep.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CreateRolesPostStep.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporat... |
tests/Spdy.AspNetCore.IntegrationTests/TestFramework/Upgrading/UpgradeTestMiddleware.cs | Fresa/Spdy.AspNetCore | 2 | 7027850 | <reponame>Fresa/Spdy.AspNetCore
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
namespace Spdy.AspNetCore.IntegrationTests.TestFramework.Upgrading
{
/// <summary>
/// Used to simulate upgrades during testing through the TestServer
/// <... |
examples/TestLink/TestLink.cs | kjk/volante-new | 61 | 7027851 | using System;
using Volante;
class Detail : Persistent
{
internal String name;
internal String color;
internal double weight;
internal ILink<Order> orders;
}
class Supplier : Persistent
{
internal String name;
internal String address;
internal ILink<Order> orders;
}
c... |
src/ImovelGo.Web/Services/BaseService.cs | ricardosantosmorais/imovelgo_web | 0 | 7027852 | <reponame>ricardosantosmorais/imovelgo_web
using System;
using System.Net.Http;
namespace ImovelGo.Web.Services
{
public class BaseService
{
public const string BaseUrl = "https://localhost:5010/api";
public HttpClient _client;
public BaseService()
{
HttpClientHand... |
DbgProvider/public/DbgPluginInterfaces.cs | ReneNyffenegger/DbgShell | 213 | 7027853 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
namespace MS.Dbg
{
/// <summary>
/// Allows custom logic for determining if two types are related.
/// </summary>
public interface IDbgDerivedTypeDetectionPlugin
{
string Name { get; }
/// <summary>
/// ... |
FundamentalsExamPreparation/Final Exam - 07 December 2019 Group 2/FinalExam.07December/03.NikuldensMeals/Program.cs | AokiNayo/CSharp-Fund | 0 | 7027854 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _03.NikuldensMeals
{
class Program
{
static void Main(string[] args)
{
string command = String.Empty;
Dictionary<string, Guests> guestList = new Dictionary<string, Guests>();
int u... |
src/Calculo/test/CalculoFolhaDePagamento.Test/Domain/ValorComponenteCalculoTest.cs | JDouglasMendes/arquitetura-corporativa | 1 | 7027855 | using CalculoFolhaDePagamento.Domain.Domain.Calculo;
using System;
using System.Collections.Generic;
using Xunit;
namespace CalculoFolhaDePagamento.Test.Domain
{
public class ValorComponenteCalculoTest
{
[Theory]
[MemberData(nameof(CenarioSobreCargaOperador))]
public static void Sobrec... |
TsCodeDom/Entities/TsCodeMethodReferenceExpression.cs | Priemar/tscodedom | 0 | 7027856 | <reponame>Priemar/tscodedom
using TsCodeDom.Constants;
namespace TsCodeDom.Entities
{
public class TsCodeMethodReferenceExpression : TsCodeExpression
{
public string MethodName { get; set; }
public TsCodeExpression TargetObject { get; set; }
#region override
/// <summary>
... |
Assets/Scripts/TurnRotationText.cs | plorry/plantworld | 0 | 7027857 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TurnRotationText : MonoBehaviour {
private Text t;
// Use this for initialization
void Start () {
t = GetComponent<Text>();
}
// Update is called once per frame
void Update () {
transform.pos... |
Assets/Scripts/Module/QK12/QK12_Challengemain_Cotroller.cs | Squall1607/Quizkingz | 0 | 7027858 | <reponame>Squall1607/Quizkingz
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
public class QK12_Challengemain_Cotroller : BasePageController
{
public GameObject navbarPopup, bgClickedPopup;
public GameObject fakeMain;
public GameObject QK13Duel;
p... |
ReClass.NET/MemoryScanner/Comparer/IntegerMemoryComparer.cs | jesterret/ReClass.NET | 1,009 | 7027859 | using System;
using System.Diagnostics;
using ReClassNET.Util.Conversion;
namespace ReClassNET.MemoryScanner.Comparer
{
public class IntegerMemoryComparer : ISimpleScanComparer
{
public ScanCompareType CompareType { get; }
public int Value1 { get; }
public int Value2 { get; }
public int ValueSize => sizeof(i... |
src/NSubstitute/Proxies/CastleDynamicProxy/ProxyIdInterceptor.cs | joaopgrassi/NSubstitute | 1 | 7027860 | using System;
using System.Globalization;
using System.Reflection;
using Castle.DynamicProxy;
using NSubstitute.Core;
namespace NSubstitute.Proxies.CastleDynamicProxy
{
public class ProxyIdInterceptor : IInterceptor
{
private readonly Type _primaryProxyType;
private string _cachedProxyId;
... |
Egnyte.Core.Api.Tests/Groups/ShowSingleGroupTests.cs | BryanEllis/egnyte-dotnetcore | 7 | 7027861 | using NUnit.Framework;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Egnyte.Api.Tests.Groups
{
[TestFixture]
public class ShowSingleGroupTests
{
const string ListGroupsResponseContent = @"
{
... |
src/Umbraco.RestApi/LinkTemplateExtensions.cs | abjerner/UmbracoRestApi | 2 | 7027862 | using System;
using WebApi.Hal;
namespace Umbraco.RestApi
{
public static class LinkTemplateExtensions
{
public static Link CreateLinkTemplate(this Link link, int id)
{
link.Href = link.Href.Replace("{id}", id.ToString());
return link;
}
public static L... |
ViewModelKit.Fody/References.cs | klotztech/ViewModelKit | 0 | 7027863 | <reponame>klotztech/ViewModelKit
using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Rocks;
namespace ViewModelKit.Fody
{
/// <summary>
/// Locates and provides references to commonly used types and members.
/// </summary>
internal class Ref... |
src/Trezor.Net/Contracts/Bitcoin/PublicKey.cs | ThatSlyGuy/Trezor.Net | 0 | 7027864 | namespace Trezor.Net.Contracts.Bitcoin
{
[ProtoBuf.ProtoContract()]
public class PublicKey : ProtoBuf.IExtensible
{
private ProtoBuf.IExtension __pbn__extensionData;
ProtoBuf.IExtension ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
=> ProtoBuf.Extensible.GetExtens... |
Services/NetBook.Services.Data/Student/StudentService.cs | AsenPlesnev/NetBook-C- | 1 | 7027865 | namespace NetBook.Services.Data.Student
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using NetBook.Data;
using NetBook.Data.Models;
using NetBook.Data.Models.Enums;
using NetBook.Services.Ma... |
src/BinaryKits.Zpl.Viewer/CommandAnalyzers/BarCodeFieldDefaultZplCommandAnalyzer.cs | M-Mommsen/BinaryKits.Zpl | 86 | 7027867 | using BinaryKits.Zpl.Label.Elements;
namespace BinaryKits.Zpl.Viewer.CommandAnalyzers
{
public class BarCodeFieldDefaultZplCommandAnalyzer : ZplCommandAnalyzerBase
{
public BarCodeFieldDefaultZplCommandAnalyzer(VirtualPrinter virtualPrinter) : base("^BY", virtualPrinter)
{ }
public ov... |
FLORA/Fabric/YarnUtil.cs | Parzivail-Modding-Team/FLORA | 0 | 7027868 | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Text.RegularExpressions;
namespace FLORA.Fabric
{
internal static class YarnUtil
{
public static string[] GetYarnMappings(YarnVersion version)
{
try
... |
C#2/Arrays/QuickSort/QuickSortAlgorithm.cs | DJBuro/Telerik | 0 | 7027869 | //Problem 14. Quick sort
//
//Write a program that sorts an array of integers using the Quick sort algorithm.
using System;
class QuickSortAlgorithm
{
static void Main()
{
int[] numbers = { 1, 5, 7, 20, 8, 2, 11, 9, 5, 16 };
Console.WriteLine("{0}", string.Join(" ", numbers));
Quick(... |
WEB_PORTAL/DB1-Project_WEBPORTAL/DB1-Project_WEBPORTAL/Views/Property/ApDetails.cshtml | Edufacr/University-DB1-Project | 0 | 7027870 | @model ApModel
@{
int apNumber = Model.ApNumber;
string DebitString = "Debito";
List<ApMovementModel> apMovements = ViewData["ApMovements"] as List<ApMovementModel>;
if(ILoggedUser.LoggedUser.isAdmin){
Layout = "~/Views/Shared/_Layout.cshtml";
}
else
{
Layout = "~/Views/Share... |
3D chatbot/Assets/Voxon/SRC/Extensions/Point3dExtension.cs | lee1761/3D-avatar | 0 | 7027871 | using UnityEngine;
// ReSharper disable CheckNamespace
public static class Point3dExtension{
public static Vector3 ToVector3(this Voxon.point3d p3d)
{
return new Vector3(p3d.x, p3d.y, p3d.z);
}
public static Voxon.point3d Assign(this Voxon.point3d p3d, Vector3 v3)
{
p3d.x = v3.x;
... |
Allfiles/20486c/Mod16/PhotoSharingApplication_16_end/PhotoSharingApplication/App_Start/RouteConfig.cs | eincioch/20486-DevelopingASPNETMVCWebApplications | 0 | 7027872 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace PhotoSharingApplication
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.Ignore... |
Data.Maybe/MaybeExtension.cs | pneu/Monad-CSharp | 0 | 7027874 | <gh_stars>0
using System;
using Data.Maybe.Exception;
namespace Data.Maybe
{
public static class MaybeExtension
{
public static T FromMaybe<T>(this Maybe<T> m, T defaultValue) {
return m.HasValue ? m.Value : defaultValue;
}
public static T FromMaybe<T>(this Mayb... |
Runtime/Events/Vector2Event.cs | sponticelli/LiteNinja-ScriptableObjectArchitecture | 1 | 7027875 | using UnityEngine;
namespace com.liteninja.soa.Events
{
[CreateAssetMenu(
fileName = "Vector2Event",
menuName = SOAConsts.MenuNameBase + "/Events/Vector2 Event",
order = SOAConsts.MenuOrderUnityPrimitiveEvent + 0
)]
public class Vector2Event : AEvent<Vector2>
{
}
}
|
Assets/_Src/Scripts/Settings/GameplaySettingsPOD.cs | HarryNguyen1998/PongInUnity | 0 | 7027876 | using System;
using UnityEngine;
[Serializable]
public struct GameplaySettingsPOD
{
public bool IsLeftPadAIControlled;
public bool IsRightPadAIControlled;
public int RoundCnt;
public float PadSpd;
public float BallSpd;
public GameplaySettingsPOD(bool leftPadAI, bool rightPadAI, int roundCnt, ... |
DeepLearningFramework/Operators/Layers/ShiftTime.cs | faruknane/DeepLearningFramework | 17 | 7027877 | <reponame>faruknane/DeepLearningFramework
using DeepLearningFramework.Core;
using DeepLearningFramework.Operators.Terms;
using PerformanceWork.OptimizedNumerics;
using System.Runtime.CompilerServices;
using Index = PerformanceWork.OptimizedNumerics.Index;
namespace DeepLearningFramework.Operators.Layers
{
public... |
Functional.Tests/AsyncEnumerables/SkipTests.cs | raukodraug/Functional | 60 | 7027878 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace Functional.Tests.AsyncEnumerables
{
public class SkipTests
{
[Fact]
public async Task SkipNone()
=> (
await
AsyncEnumerable
.Create(Task.FromRes... |
Redola/Redola.ActorModel/Actor/Channel/ActorChannelManager.cs | gaochundong/Redola | 112 | 7027879 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Logrila.Logging;
using Redola.ActorModel.Extensions;
namespace Redola.ActorModel
{
public class ActorChannelManager
{
private ILog _log = ... |
src/Meadow.DebugAdapterServer/DebuggerTransport/IDebuggerTransport.cs | michaelsproul/Meadow | 116 | 7027880 | using System;
using System.IO;
namespace Meadow.DebugAdapterServer.DebuggerTransport
{
public interface IDebuggerTransport : IDisposable
{
Stream InputStream { get; }
Stream OutputStream { get; }
}
}
|
Assets/Scripts/Managers/MultiScenes_Managers/Levels_SpawningManagers/AI/AIBossManagable/AIBossManagable.cs | Amulet-Games/VolunsTale-Codes-Repository | 0 | 7027881 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
namespace SA
{
public class AIBossManagable : MonoBehaviour, AI_Managable
{
[Header("AI Session Manager.")]
[ReadOnlyInspector] public AISessionManager _aiSessionManager;
[Heade... |
src/Storage/src/Models/ApiScope.cs | Brunni/IdentityServer4 | 9,180 | 7027882 | <reponame>Brunni/IdentityServer4
// Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace Ide... |
NetCoreAndEFCoreExercises/StudentSystem.Data/EntityConfig/LicenseConfig.cs | l3kov9/CSharpWebBasic | 0 | 7027883 | <gh_stars>0
namespace StudentSystem.Data.EntityConfig
{
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using StudentSystem.Models;
public class LicenseConfig : IEntityTypeConfiguration<License>
{
public void Configure(EntityTypeBuilder<License> ... |
MainWindow.xaml.cs | cloudskytian/ImageCollage | 0 | 7027884 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Forms;
using System.Windows.Media.Imaging;
using Image = System.Drawing.Image;
using MessageBox = System.Windows.Messa... |
WebApplication/Models/Reactions.cs | dinafahmy99/Diabetes-Network-APIs | 0 | 7027885 | <reponame>dinafahmy99/Diabetes-Network-APIs
using System;
using System.Collections.Generic;
namespace WebApplication.Models
{
public partial class Reactions
{
public Reactions()
{
Posts = new HashSet<Posts>();
}
public int ReactionId { get; set; }
public st... |
BPMbenchmarksGenerator/MainWindow.xaml.cs | husaar/BPMbenchmarksGenerator | 0 | 7027886 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
src/Nager.Country/CountryInfos/BermudaInfo.cs | sthewissen/Nager.Country | 1 | 7027888 | <filename>src/Nager.Country/CountryInfos/BermudaInfo.cs<gh_stars>1-10
using Nager.Country.Currencies;
namespace Nager.Country.CountryInfos
{
/// <summary>
/// Bermuda
/// </summary>
public class BermudaInfo : ICountryInfo
{
public string CommonName => "Bermuda";
public string Offici... |
SaltedCaramel/Tasks/Spawn.cs | 001SPARTaN/SaltedCaramel | 10 | 7027889 | <reponame>001SPARTaN/SaltedCaramel
using System;
using System.Reflection;
namespace SaltedCaramel.Tasks
{
class Spawn
{
public static void Execute(SCTask task)
{
//typeof(SaltedCaramel).Assembly.EntryPoint.Invoke(null,
// new[] { new string[] { "https://192.168.38.1... |
src/OrchardCore.Modules/OrchardCore.ContentPreview/Views/Preview/Index.cshtml | tanriverdim/OrchardCore | 6 | 7027890 | @{
Layout = null;
var previewId = ViewContext.RouteData.Values["id"];
}
<style asp-name="bootstrap"></style>
<script asp-name="bootstrap" at="Foot"></script>
<script asp-src="~/OrchardCore.Templates/js.cookie.js" depends-on="jquery" at="Foot"></script>
<resources type="Header" />
<iframe id="iframe" style="d... |
src/DaAPI/Service/Beer.DaAPI.Service.Core/Scopes/DHCPv4/Events/DHCPv4ScopeEvents.cs | just-the-benno/Beer | 2 | 7027891 | <reponame>just-the-benno/Beer
using Beer.DaAPI.Core.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace Beer.DaAPI.Core.Scopes.DHCPv4
{
public static class DHCPv4ScopeEvents
{
public class DHCPv4ScopeAddedEvent : DomainEvent
{
#region Properties
... |
src/Dns/DnsATMARecord.cs | garysharp/DnsServerApi | 4 | 7027892 | <reponame>garysharp/DnsServerApi
using System;
namespace Dns
{
/// <summary>
/// ATM Address (ATMA) Record
/// </summary>
/// <remarks>
/// Maps a DNS domain name to an ATM address.
/// </remarks>
public class DnsATMARecord : DnsRecord
{
private ushort formatInitial;
pr... |
ECommerce.Api.Search/Services/SearchService.cs | ahmedhussam/ECommerce | 0 | 7027893 | <filename>ECommerce.Api.Search/Services/SearchService.cs
using ECommerce.Api.Search.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ECommerce.Api.Search.Services
{
public class SearchService : ISearchService
{
private readonly IOrd... |
src/client/VolumeMixer/Pages/MainPage.xaml.cs | davidortinau/VolumeMixer | 2 | 7027894 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net.Mqtt;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace VolumeMixer.Pages
{
public partial class MainPage
{
public MainPage()
{... |
Mustern/core-releases-v1.3/OsmSharp.Osm/Xml/Streams/XmlOsmStreamTarget.cs | fakit/OSM-AutoCAD | 0 | 7027895 | // OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2013 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
/... |
ee.itcollege.javalg/ee.itcollege.javalg.BLL.Base/Services/BaseEntityService.cs | JanekV/Learn2Play | 0 | 7027896 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ee.itcollege.javalg.Contracts.BLL.Base.Mappers;
using ee.itcollege.javalg.Contracts.BLL.Base.Services;
using ee.itcollege.javalg.Contracts.DAL.Base;
using ee.itcollege.javalg.Contracts.DAL.Base.Repositories;
namespac... |
MistrzowieWynajmu/Models/Repositories/AddressRepository.cs | sspaloniak/mistrzowiewynajmu | 0 | 7027897 | using MistrzowieWynajmu.Models.Database;
using MistrzowieWynajmu.Models.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MistrzowieWynajmu.Models.Repositories
{
public class AddressRepository : IAddressRepository
{
private readonly ... |
Fitbit.Portable/Models/ActivityLogSource.cs | enriqueescobar-askida/Fitbit.NET | 0 | 7027898 | namespace Fitbit.Api.Portable.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
public class ActivityLogSource
{
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
[JsonProperty(Pr... |
SFA.DAS.UnitOfWork/SFA.DAS.UnitOfWork.WebApi/Filters/UnitOfWorkManagerFilter.cs | uk-gov-mirror/SkillsFundingAgency.das-shared-packages | 6 | 7027899 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-shared-packages
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using SFA.DAS.UnitOfWork.Managers;
using WebApi.StructureMap;
namespace SFA.DAS.UnitOfWork.WebApi.Filters
{
public class UnitOfWorkManagerFilter : ActionFilterAttribute
{
p... |
RadarrSharp/Models/Config/MediaManagement.cs | GamerGambit/RadarrSharp | 1 | 7027900 | <gh_stars>1-10
using System.Text.Json.Serialization;
namespace RadarrSharp.Models.Config
{
/// <summary>
///
/// </summary>
public partial class MediaManagement
{
/// <summary>
/// Gets or sets a value indicating whether [automatic unmonitor previously downloaded episodes].
... |
src/Protocol/Features/Document/DocumentOnTypeFormattingFeature.cs | jairbubbles/csharp-language-server-protocol | 322 | 7027901 | <reponame>jairbubbles/csharp-language-server-protocol<filename>src/Protocol/Features/Document/DocumentOnTypeFormattingFeature.cs
using MediatR;
using Newtonsoft.Json;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.JsonRpc.Generation;
using OmniSharp.Extensions.LanguageServer.Protocol.Client;
using OmniS... |
BASE/src/Microsoft.ApplicationInsights/Channel/SamplingScoreGenerator.cs | ylabade/ApplicationInsights-dotnet | 238 | 7027902 | namespace Microsoft.ApplicationInsights.Channel
{
using System;
using Microsoft.ApplicationInsights.Extensibility.Implementation;
/// <summary>
/// Utility class for sampling score generation.
/// </summary>
public static class SamplingScoreGenerator
{
/// <summary>
/// Ge... |
PLATFORM/Modules/Pricing/VirtoCommerce.PricingModule.Web/Converters/PricelistAssignmentConverter.cs | VirtoCommerce-archieve/vc-integrations | 2 | 7027903 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Omu.ValueInjecter;
using coreModel = VirtoCommerce.Domain.Pricing.Model;
using webModel = VirtoCommerce.PricingModule.Web.Model;
using coreCatalogModel = VirtoCommerce.Domain.Catalog.Model;
using N... |
backend/Migrations/20210620215348_iniciar.cs | Mateus-Balsanelli/LobbyPlus | 0 | 7027905 | <reponame>Mateus-Balsanelli/LobbyPlus
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace backend.Migrations
{
public partial class iniciar : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
FlubuCore/Tasks/Docker/Trust/DockerTrustRevokeTask.cs | dungjk/flubu.core | 0 | 7027906 | <reponame>dungjk/flubu.core
//-----------------------------------------------------------------------
// <auto-generated />
//-----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using ... |
src/platform/toolkit/restql/core/IQueryProcessor.cs | nohros/nohros-must | 0 | 7027907 | using System;
using System.Collections.Generic;
namespace Nohros.RestQL
{
/// <summary>
/// A <see cref="IQueryProcessor"/> is used to process a query.
/// </summary>
public interface IQueryProcessor
{
/// <summary>
/// Process the given query.
/// </summary>
/// <param name="na... |
OmnIOC.Tests/TestClass.cs | WooCode/OmnIoC | 0 | 7027908 | <gh_stars>0
namespace OmnIoC.Tests
{
public class TestClass : ITestClass
{
public TestClass1 Inner { get; set; }
public TestClass2 Inner2 { get; set; }
public TestClass3 Inner3 { get; set; }
public TestClass(TestClass1 inner1, TestClass2 inner2, TestClass3 inner3)
{
... |
src/Hallmanac.CryptoHelpers/Hallmanac.CryptoHelpers_Net45.Tests/StringExtensionTests.cs | Hallmanac/crypt-helpers | 0 | 7027909 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Hallmanac.CryptoHelpers_Net45.Tests
{
[TestClass]
public class StringExtensionTests
{
private const string EncryptionKey256 = "5DBE90D461C035138A6D2ABBEB16087AC6C12A6F8B70696C486E96E617239810";
private const stri... |
DotRestricter.cs | moto2002/mobahero_src | 4 | 7027910 | using System;
using System.Diagnostics;
using UnityEngine;
public class DotRestricter : NewMono
{
public const string LAYER_TRANSPARENTFX = "TransparentFX";
private const float THICK_NESS = 1f;
[SerializeField]
private DotRestricter _nextDot;
[SerializeField]
private GameObject _col;
public ... |
Bazaro.Web/Services/Commands/Entries/InsertEntry.cs | Bubatz-Inc/BazaroV3 | 7 | 7027911 | using Bazaro.Web.Models;
using Bazaro.Web.Models.References;
namespace Bazaro.Web.Services.Commands.Entries
{
public static class InsertEntry
{
public class Command
{
public string Title { get; set; }
public string Description { get; set; }
public int Folde... |
tests/Avalonia.Base.UnitTests/AvaloniaObjectTests_Attached.cs | Deadpikle/Avalonia | 1 | 7027912 | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Xunit;
namespace Avalonia.Base.UnitTests
{
public class AvaloniaObjectTests_Attached
{
[Fact]
public void Add... |
Kroeg.Server/Views/Render/Embed/RenderObjectHeader.cshtml | cobalto/Kroeg | 1 | 7027913 | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@using Kroeg.Server.Services.EntityStore
@model Kroeg.Server.Models.APEntity
@inject IEntityStore entityStore
@{
var time = (string) Model.Data["updated"].Concat(Model.Data["published"]).FirstOr... |
VcmSuite3x_api.Core/Models/RestricaoNo.cs | CristovaoTorres/WebApiNetCore_GenericRepositoryPattnerJwt | 0 | 7027914 | <reponame>CristovaoTorres/WebApiNetCore_GenericRepositoryPattnerJwt<filename>VcmSuite3x_api.Core/Models/RestricaoNo.cs
using System;
using System.Collections.Generic;
namespace VcmSuite3x_api.Core.Models
{
public partial class RestricaoNo
{
public int RestricaoId { get; set; }
public int NoId ... |
src/Matey.Domain/Models/Premises/PremisesMember.cs | BillChirico/Matey | 1 | 7027915 | <reponame>BillChirico/Matey<filename>src/Matey.Domain/Models/Premises/PremisesMember.cs
using System.Collections.Generic;
using Matey.Domain.Models.Common;
using Matey.Domain.Models.Identity;
using Matey.Domain.Models.Utilities;
using Microsoft.AspNetCore.Authentication;
namespace Matey.Domain.Models.Premises
... |
Web/FactsGreet.Web/Views/Conversations/Messages.cshtml | p-dim-popov/FactsGreet | 0 | 7027916 | <reponame>p-dim-popov/FactsGreet
@model FactsGreet.Web.ViewModels.Conversations.MessagesViewModel
@{
ViewBag.Title = $"Conversation: {Model.ConversationTitle}";
}
<div class="container border rounded">
<div class="row">
<div class="col">
<h4>@ViewBag.Title</h4>
<span id="conver... |
src/Services/HardwareAffinity.Services.Data/CartsService.cs | vib1336/HardwareAffinity | 0 | 7027917 | <filename>src/Services/HardwareAffinity.Services.Data/CartsService.cs
namespace HardwareAffinity.Services.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using HardwareAffinity.Data.Common.Repositories;
using HardwareAffinity.Data.Models;... |
Cisco/Network/Voice.cs | uxav/lib2-devices | 2 | 7027918 | <gh_stars>1-10
namespace UX.Lib2.Devices.Cisco.Network
{
public class Voice : CodecApiElement
{
#region Fields
[CodecApiNameAttribute("VlanId")]
#pragma warning disable 649 // assigned using reflection
private int _vlanId;
#pragma warning restore 649
#endregion
... |
TCC.Lib/PrepareBlocks/IPrepareCompressBlocks.cs | LuccaSA/TarCompressCrypt | 4 | 7027919 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using TCC.Lib.Blocks;
using TCC.Lib.Database;
using TCC.Lib.Helpers;
namespace TCC.Lib.PrepareBlocks
{
public interface IPrepareCompres... |
OOP_Research/Program.cs | vesko24/MyRepository-VZ | 0 | 7027920 | <filename>OOP_Research/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Write("n= ");
var n = int.Parse(Console.ReadLine());
... |
Assets/scripts/N3D.cs | uw-cmg/AtomGame3D | 0 | 7027921 | using UnityEngine;
using System.Collections;
public class N3D : Atom3D {
public override void Awake(){
base.Awake();
//data: http://en.wikipedia.org/wiki/Ionic_radius
SetUp("N",-3,146f);
}
}
|
MudBlazorSample/packages/Volo.Abp.AspNetCore.Components.Web.BasicTheme/Services/MudBlazorUiMessageService.cs | Aprite/abp-samples | 3 | 7027922 | using System;
using System.Threading.Tasks;
using Localization.Resources.AbpUi;
using Microsoft.Extensions.Localization;
using MudBlazor;
using Volo.Abp.AspNetCore.Components.Messages;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.AspNetCore.Components.Web.BasicTheme.Services;
[Dependency(ReplaceServices = ... |
src/AdventureWorks.Data/Configurations/EmployeeConfiguration.cs | theMickster/AdventureWorks | 0 | 7027923 | using AdventureWorks.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace AdventureWorks.Infrastructure.Configurations
{
public class EmployeeConfiguration : IEntityTypeConfiguration<Employee>
{
public void Configure(EntityTypeBuilder<Emp... |
src/FSim.Core/Helpers/EventAggregation/BaseEvent.cs | weak-head/fsim | 0 | 7027924 | <reponame>weak-head/fsim
using System;
using System.Collections.Generic;
using System.Linq;
namespace FSim.Core.Helpers.EventAggregation
{
public abstract class BaseEvent
{
private readonly List<IEventSubscription> _subscriptions = new List<IEventSubscription>();
protected ICollection<IEventSu... |
FastRngTests/Float/Distributions/BetaA2B2.cs | SommerEngineering/FastRng | 1 | 7027925 | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading.Tasks;
using FastRng.Float;
using NUnit.Framework;
namespace FastRngTests.Float.Distributions
{
[ExcludeFromCodeCoverage]
public class BetaA2B2
{
[Test]
[Category(TestCategories.COVER)]
[C... |
src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinTemplate/CgibinTemplateGetAllPrivateTemplateResponse.cs | vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat | 419 | 7027926 | <reponame>vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [GET] /cgi-bin/template/get_all_private_template 接口的响应。</para>
/// </summary>
public class CgibinTemplateGetAllPrivateTemplateResponse : WechatApiResponse
{
p... |
Denntah.Sql/Connection.cs | denntah/Denntah.Sql | 4 | 7027927 | <filename>Denntah.Sql/Connection.cs
using Denntah.Sql.Reflection;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace Denntah.Sql
{
/// <summary>
/// Extensions for IDbConnection that simplifies database communication.
/// </summary>
publi... |
src/EFCore.SqlServer/Query/Pipeline/SqlServerQuerySqlGeneratorFactory.cs | leehowarth/EntityFrameworkCore | 1 | 7027928 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.EntityFrameworkCore.Relational.Query.Pipeline;
using Microsoft.EntityFrameworkCore.Storage;
namespace Microsoft.EntityFrameworkCore.Sql... |
Shopers.API/Models/Product.cs | aravind666/aspdotnet_versioning | 0 | 7027929 | <reponame>aravind666/aspdotnet_versioning<filename>Shopers.API/Models/Product.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace Shopers.API.Models
{
public class Product
{
public int Id { get; set; }
... |
Packages/com.s-schoener.asmexplorer/Editor/Profiler/ScrewItOverview.cs | sakano/unity-asm-explorer-package | 13 | 7027930 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor.UIElements;
using UnityEngine.UIElements;
namespace AsmExplorer.Profiler
{
class ScrewItOverview : IScrewItView
{
readonly Label m_Info;
ProfilerTrace m_Trace;
bool m_HasData;
... |
Src/BridgeVs.DynamicVisualizers/DynamicDebuggerVisualizer.cs | zyonet/LINQBridgeVs-VS2015 | 0 | 7027931 | <reponame>zyonet/LINQBridgeVs-VS2015<gh_stars>0
#region License
// Copyright (c) 2013 - 2018 Coding Adventures
//
// 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, i... |
MMORPGGameProject/MMORpgGameProject/Assets/Script/Data/LocalData/Create/JobEntity.cs | fengzhishen/MMRPGGameProject | 0 | 7027932 |
//===================================================
//作 者:边涯 http://www.u3dol.com QQ群:87481002
//创建时间:2018-07-02 07:43:28
//备 注:此代码为工具生成 请勿手工修改
//===================================================
using UnityEngine;
using System.Collections;
/// <summary>
/// Job实体
/// </summary>
public partial class JobEn... |
railessentials/Route/RouterListExtensions.cs | cbries/railessentials | 8 | 7027933 | <reponame>cbries/railessentials
// Copyright (c) 2021 Dr. <NAME>
// Licensed under the MIT License
// File: RouterListExtensions.cs
using System;
using System.Collections.Generic;
using ecoslib.Entities;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using railessentials.Feedbacks;
using railessentials.Plan;
nam... |
Assets/Scripts/responder.cs | ViniciusDeep/Simulado-Detran | 13 | 7027934 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class responder : MonoBehaviour {
public int idTema;
public Text pergunta;
public Text respostaA;
public Text respostaB;
public Text res... |
DDragonAccessLayer/Models/ChampionModel.cs | zekroTJA/masterypointsstats | 7 | 7027935 | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace DDragonAccessLayer.Models
{
public class ChampionModel
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("key")]
public string Key { get... |
Assets/external/TouchScript/Scripts/Layers/StandardLayer.cs | IkeTheDestroyer/GalaxyExplorer | 0 | 7027936 | <reponame>IkeTheDestroyer/GalaxyExplorer
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
/*
* @author <NAME> / http://va.lent.in/
*/
using System;
using TouchScript.Hit;
using UnityEngine;
using System.Collections.Generic;
using TouchScript.Layers.UI;
using TouchScrip... |
eCraft.appFactory.appFactoryService/RestartTime.cs | ecraft/watchdogservice | 1 | 7027937 | <reponame>ecraft/watchdogservice<filename>eCraft.appFactory.appFactoryService/RestartTime.cs<gh_stars>1-10
using System;
using System.Diagnostics;
namespace eCraft.appFactory.appFactoryService
{
class RestartTime
{
public ProcessStartInfo ProcessStartInfo { get; set; }
public DateTime ... |
NeiroNet1/MainForm.Designer.cs | xinvestoriginal/NeiroNet-1.2 | 18 | 7027938 | namespace NeiroNet1
{
partial class MainForm
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary... |
OATH.Net/CounterBasedOtpGenerator.cs | jennings/OATH.Net | 16 | 7027939 | //------------------------------------------------------------------------------------
// <copyright file="CounterBasedOtpGenerator.cs" company="<NAME>">
// Copyright 2011 <NAME>. Licensed under the Apache License, Version 2.0.
// </copyright>
//-----------------------------------------------------------------------... |
sdk/src/Services/DevOpsGuru/Generated/Model/ListEventsFilters.cs | MDanialSaleem/aws-sdk-net | 1,705 | 7027940 | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
src/GUI/UnitTests/ViewModels/PickTablesViewModelTests.cs | Herdo/EFCorePowerTools | 0 | 7027941 | using NUnit.Framework;
namespace UnitTests.ViewModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using EFCorePowerTools.Contracts.ViewModels;
using EFCorePowerTools.Shared.DAL;
using EFCorePowerTools.Shared.Models;
using EFCorePowerTools.ViewModels;
using Moq;... |
Editor/SPICA/Commands/PICAColorOperation.cs | thothbubble/Pokemon3DStoUnity | 27 | 7027942 | <filename>Editor/SPICA/Commands/PICAColorOperation.cs<gh_stars>10-100
namespace P3DS2U.Editor.SPICA.Commands
{
public struct PICAColorOperation
{
public PICAFragOpMode FragOpMode;
public PICABlendMode BlendMode;
public PICAColorOperation (uint Param)
{
FragOpMode = ... |
src/Identity/ApiAuthorization.IdentityServer/samples/ApiAuthSample/Data/ApplicationDbContext.cs | belav/aspnetcore | 0 | 7027943 | <gh_stars>0
using IdentityServer4.EntityFramework.Options;
using Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Options;
using ApiAuthSample.Models;
namespace ApiAuthSample.Data
{
public class ApplicationDbContext : ApiAuthorizationDbContext<A... |
System.Maui.Controls.Issues/System.Maui.Controls.Issues.Shared/Bugzilla43735.cs | Skyprx/maui | 3 | 7027944 | <reponame>Skyprx/maui
using System.Collections.Generic;
using System.Maui.CustomAttributes;
using System.Maui.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace System.Maui.Controls.Issues
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 43735, "Multiple Swipe on Contex... |
src/Launchpad/LaunchpadManager.cs | dennisrijsdijk/launchpad | 6 | 7027945 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using PortMidi;
namespace Launchpad
{
public class LaunchpadManager
{
private List<MidiDeviceInfo> MidiDevices { get; set; }
private MidiInput Input { get; set; }
pr... |
src/SingleMarriedOrDependent/Tasks/SeatCustomerTasking.cs | iMortalitySucks/SOLID-Principles | 0 | 7027946 | <gh_stars>0
using ResturantBasics;
using SingleMarriedOrDependent.Tasks;
namespace SingleMarriedOrDependent
{
internal class SeatCustomerTasking : VersatileTasking, ITasking
{
public SeatCustomerTasking(ICustomer customer, IOrderInfoProvider orderInfoProvider):
base("seat the customer", cu... |
test/WebSites/SwaggerFun/KnownTypes.cs | ozziepeeps/Swashbuckle.AspNetCore | 0 | 7027947 | <reponame>ozziepeeps/Swashbuckle.AspNetCore
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
namespace SwaggerFun
{
internal static class KnownTypes
{
public static readonly Type[] Types = new[]
{
typeof(AddressFamily),
typeof(IPAddress),
... |
Reusable.Utilities.NLog/src/DatabaseParameterInfoExtensions.cs | he-dev/DotNetBits | 10 | 7027948 | using System.Text.RegularExpressions;
using NLog.Targets;
namespace Reusable.Utilities.NLog
{
public static class DatabaseParameterInfoExtensions
{
// https://regex101.com/r/wgoA3q/1
// h t t ps://regex101.com/delete/BDmR7fAqwYQiT5DW5PKAJFAm
private static readonly Regex ParamRegex = ... |
Structurizr.Examples/C4PlantUML.cs | darrynparker/dotnet-extensions | 15 | 7027949 | using System;
using System.IO;
using System.Linq;
using Structurizr.IO.C4PlantUML;
using Structurizr.IO.C4PlantUML.ModelExtensions;
namespace Structurizr.Examples
{
/// <summary>
/// An example of how to use the C4PlantUML writer. Run this program and copy/paste
/// the output into http://www.plantuml.com... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.