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
Server/Exchangerat.Requests/Controllers/ExchangeratRequestsController.cs
u-ashikov/Exchangerat
0
7026577
<filename>Server/Exchangerat.Requests/Controllers/ExchangeratRequestsController.cs namespace Exchangerat.Requests.Controllers { using Constants; using Data.Enums; using Exchangerat.Controllers; using Exchangerat.Requests.Models.Models.Requests; using Exchangerat.Requests.Services.Contracts.Requests...
msftbandapp/src/Main/MainPageViewModel.cs
RavenLiquid/msftbandapp
2
7026578
<reponame>RavenLiquid/msftbandapp<gh_stars>1-10 using MSFTBandLib; using MSFTBandApp.Common; using MSFTBandLib.Metrics; using System; namespace MSFTBandApp.Main { /// <summary>Main page view model</summary> public class MainPageViewModel : ViewModel { /// <summary>Construct the view model.</summary> ///...
Sprinkles/Scriptsss/SendRequest.cs
koushikbhargav/Sprinkles
1
7026579
<filename>Sprinkles/Scriptsss/SendRequest.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; using System.IO; public class SendRequest : MonoBehaviour { private string FilePath ; public string url="httpswww.jsonstore.io3ae2ffb469686a3a901ee5af35d72985c41...
Assets/Behavior Designer/Runtime/Basic Tasks/Input/GetAxisRaw.cs
brustlinker/unity_behaviortree_sk
0
7026580
using UnityEngine; #if CROSS_PLATFORM_INPUT using UnityStandardAssets.CrossPlatformInput; #endif namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityInput { [TaskCategory("Basic/Input")] [TaskDescription("Stores the raw value of the specified axis and stores it in a float.")] public class GetAxis...
Libraries/dotNetRDF/Parsing/Contexts/IResultsParserContext.cs
IllidanS4/dotnetrdf
254
7026581
<reponame>IllidanS4/dotnetrdf<gh_stars>100-1000 /* // <copyright> // dotNetRDF is free and open source software licensed under the MIT License // ------------------------------------------------------------------------- // // Copyright (c) 2009-2021 dotNetRDF Project (http://dotnetrdf.org/) // // Permission is hereby...
NBear.Common/CommonLibraries/CN.Teddy.Reflection/Emit/EmitUtils.cs
shnug/NBear
0
7026582
<gh_stars>0 using System; using System.Collections.Generic; using System.Reflection; using System.Reflection.Emit; namespace CN.Teddy.Reflection.Emit { public sealed class EmitUtils { private EmitUtils() { } public static void LoadInt32(ILGenerator gen, int value) { if (gen...
Stardust.Interstellar.Rest.Portable/Client/CircuitBreaker/CircuitBreakerContainer.cs
JonasSyrstad/Stardust.Interstellar.Rest
1
7026583
<gh_stars>1-10 using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; using Stardust.Interstellar.Rest.Annotations; namespace Stardust.Interstellar.Rest.Client.CircuitBreaker { public static class CircuitBreakerContainer { private static Conc...
Assets/Scripts/Structs/BulletStats.cs
bryankhamly/-ECS-Hybrid-Advanced-Bullet-Hell-Shooter
1
7026585
public enum BulletType { Normal, Piercing } [System.Serializable] public struct BulletStats { public BulletType bulletType; public float speed; public float angle; public int damage; public BulletStats (BulletType bulletType, float speed, float angle, int damage) { ...
g6/Class05/SEDC.Class05/SEDC.Class05.Classes/Program.cs
sedc-codecademy/skwd8-05-oopcharp
11
7026586
<gh_stars>10-100 using SEDC.Class05.Classes.Classes; using System; namespace SEDC.Class05.Classes { class Program { static void Main(string[] args) { Human human = new Human(); human.DateOfBirth = new DateTime(1990,6,3); human.FirstName = "Tosho"; ...
SecureAuth.Admin.Sdk/SecureAuth.Admin.Sdk/Models/Workflow/LoginScreen.cs
frojoamadeo/saidp-sdk-csharp
0
7026587
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace SecureAuth.Admin.Sdk.Models { public class LoginScreen { [JsonConverter(typeof(StringEnumConverter))] public Enums.DefaultWorkflow? DefaultWorkflow { get; set; } [JsonConverter(typeof(StringEnumConverter))] publ...
src/ACMESharp/Protocol/Messages/CreateAccountRequest.cs
FLDOHWebmasters/ACMESharpCore
0
7026588
<filename>src/ACMESharp/Protocol/Messages/CreateAccountRequest.cs using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using ACMESharp.Crypto.JOSE; using Newtonsoft.Json; namespace ACMESharp.Protocol.Messages { /// <summary> /// https://tools.ietf.org/html/draft-ietf-acme-acme-12#sect...
Assets/Scripts/2.Attribute/7.Numbers/WrapAttributeExample.cs
RootGame/Odin-Inspector-Chinese-Tutorial
0
7026589
#region using Sirenix.OdinInspector; using UnityEngine; #endregion public class WrapAttributeExample : MonoBehaviour { [Wrap(0f, 100f)] public int IntWrapFrom0To100; [Wrap(0f, 100f)] public float FloatWrapFrom0To100; [Wrap(0f, 100f)] public Vector3 Vector3WrapFrom0To100; [Wrap(0f, 360...
Services/Services/PageServices.cs
Fri2ends/News-App
4
7026590
using DL.Context; using DomainClass; using Microsoft.EntityFrameworkCore; using Services.Repositorys; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Services.Services { public class PageServices : IPageRepository { NewsCont...
MediaGallery/MediaFile/MediaFile.ios.cs
chowarth/Xamarin.MediaGallery
97
7026591
using System.IO; using System.Linq; using System.Threading.Tasks; using CoreGraphics; using CoreImage; using Foundation; using ImageIO; using MobileCoreServices; using UIKit; namespace NativeMedia { partial class MediaFile { protected virtual Task<Stream> PlatformOpenReadAsync() => Task.Fr...
src/Tests/Sfa.Tl.ResultsAndCertification.Web.UnitTests/Controllers/TrainingProviderControllerTests/AddEnglishStatusPost/When_Failed.cs
SkillsFundingAgency/tl-result-and-certification
0
7026592
<reponame>SkillsFundingAgency/tl-result-and-certification<gh_stars>0 using FluentAssertions; using Microsoft.AspNetCore.Mvc; using Sfa.Tl.ResultsAndCertification.Common.Helpers; using Sfa.Tl.ResultsAndCertification.Web.ViewModel.TrainingProvider.Manual; using Xunit; using NSubstitute; namespace Sfa.Tl.ResultsAndCerti...
com.bodurov.NdSpace/SpaceFactory.cs
vbodurov/space-manager
0
7026593
using com.bodurov.NdSpace.Interface; namespace com.bodurov.NdSpace { public class SpaceFactory : ISpaceFactory { public static readonly ISpaceFactory Current = new SpaceFactory(); private SpaceFactory() { _config = new Space3DConfig(); _spaceManager = new S...
src/NiceHashMinerLegacy/Miners/MinersSettingsManager.cs
luc1an24/NiceHashMinerLegacy
2
7026594
<reponame>luc1an24/NiceHashMinerLegacy<filename>src/NiceHashMinerLegacy/Miners/MinersSettingsManager.cs using NiceHashMiner.Configs.ConfigJsonFile; using NiceHashMiner.Devices; using NiceHashMiner.Miners.Grouping; using NiceHashMiner.Miners.Parsing; using System.Collections.Generic; using NiceHashMiner.Devices.Algorit...
samples/Next.HomeBanking.Application/Queries/GetAccountDetailsRequest.cs
sweepator/next
0
7026595
<reponame>sweepator/next using System; using System.Linq.Expressions; using Next.Cqrs.Queries; using Next.HomeBanking.Domain.Aggregates; namespace Next.HomeBanking.Application.Queries { public class GetAccountDetailsRequest : QueryableRequest<BankAccountDetailsProjection> { public BankAccountId Id { ge...
SalesApp.Droid/BroadcastMessageDetails.cs
mkopadev/salesapp
0
7026596
<gh_stars>0 using Android.App; using Android.OS; using Android.Widget; using Newtonsoft.Json; using SalesApp.Core.DAL; using Message = SalesApp.Core.BL.Message; namespace SalesApp.Droid { [Activity(Label = "Notification Details")] public class BroadcastMessageDetails : Activity { BroadcastMessageRe...
Hexastore.Rocks/TripleExtensions.cs
angshuman/hexadb
41
7026597
using Hexastore.Graph; using Newtonsoft.Json.Linq; using System; using System.Text; namespace Hexastore.Rocks { public static class TripleExtensions { public static Triple ToTriple(this (byte[], byte[]) input) { var key = input.Item1; var value = input.Item2; ...
Packages/com.unity.entities@0.1.1-preview/Unity.Entities.Editor/ComponentSystemProcessing.cs
REDNIGHT/space-war
26
7026598
#if UNITY_2019_3_OR_NEWER using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using UnityEditor.Build; using UnityEditor.Build.Reporting; using UnityEditor.UnityLinker; namespace Unity.Entities.IL2CPPProcessing { public class ComponentSys...
Alipay.AopSdk.Core/Domain/AlipayOpenAppMiniTemplatemessageSendModel.cs
leixf2005/Alipay.AopSdk.Core
0
7026599
<gh_stars>0 using System; using System.Xml.Serialization; namespace Alipay.AopSdk.Core.Domain { /// <summary> /// AlipayOpenAppMiniTemplatemessageSendModel Data Structure. /// </summary> [Serializable] public class AlipayOpenAppMiniTemplatemessageSendModel : AopObject { /// <summary> ...
Polkovnik.DroidInjector/ViewAttribute.cs
MAX-POLKOVNIK/DroidInjector
10
7026600
<reponame>MAX-POLKOVNIK/DroidInjector using System; using System.Diagnostics.CodeAnalysis; namespace Polkovnik.DroidInjector { /// <inheritdoc /> /// <summary> /// View will be resolved at runtime. /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] [SuppressMes...
Day6/College.ServicesV4/College.Data/ProfessorsData.cs
vishipayyallore/speaker_series_csharp_dotnetcode
3
7026601
<reponame>vishipayyallore/speaker_series_csharp_dotnetcode using College.Comman.Entities; using College.Comman.Interface; using College.Data.Persistence; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; namespace College.Data { public class ProfessorsData : I...
src/OpenCvSharp/Cv2/Cv2_photo.cs
MonobitInc/opencvsharp
2
7026602
using System; using System.Collections.Generic; using OpenCvSharp.Util; namespace OpenCvSharp { static partial class Cv2 { #region Inpaint /// <summary> /// restores the damaged image areas using one of the available intpainting algorithms /// </summary> /// <param name=...
Assets/Hirame/Minerva/Runtime/Globals/GlobalValue.cs
SunriseHirame/ProjectHomeTheReturning
0
7026603
<reponame>SunriseHirame/ProjectHomeTheReturning<gh_stars>0 using UnityEngine; namespace Hirame.Minerva { public abstract class GlobalValue<T> : GlobalValueBase where T : unmanaged { public T InitialValue; public T RuntimeValue; public override void Reset () { ...
Core/test/Dataflows/Transformations/Internal/EventInspectionFactoryDecoratorTests.cs
seaseducation/Shipwright.Core
1
7026604
<reponame>seaseducation/Shipwright.Core<filename>Core/test/Dataflows/Transformations/Internal/EventInspectionFactoryDecoratorTests.cs // SPDX-License-Identifier: Apache-2.0 // Copyright 2020 TTCO Holding Company, Inc. and Contributors // Licensed under the Apache License, Version 2.0 // See https://opensource.org/lice...
CassandraDemo/Models/PostsContext.cs
jchadwick/demo-cassandra-mvc
0
7026605
using Cassandra; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Net; namespace CassandraDemo.Models { public class PostsContext { static Lazy<ISession> DefaultSession = new Lazy<ISession>(Initialize); private readonly ISession _sess...
testAspx/WebForm1.aspx.cs
CadeXu/cSharp-study
0
7026606
<filename>testAspx/WebForm1.aspx.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace testWeb { public partial class WebForm1 : System.Web.UI.Page { protected void Button1_Click(object sender,...
WoWDatabaseEditor/Managers/ReportBugService.cs
Crypticaz/WoWDatabaseEditor
0
7026607
<filename>WoWDatabaseEditor/Managers/ReportBugService.cs<gh_stars>0 using System; using System.Diagnostics; using WDE.Module.Attributes; namespace WoWDatabaseEditorCore.Managers { [AutoRegister] public class ReportBugService : IReportBugService { public void ReportBug() { OpenUr...
Parser/ISourceCodeParser.cs
bobinskim/sqldoctor
1
7026608
<gh_stars>1-10 using SqlDoctor.Schema; using System.Collections.Generic; namespace SqlDoctor.Parser { public interface ISourceCodeParser { SchemaInfo Parse(IEnumerable<string> inputFiles, Options options); SchemaInfo Parse(string input, Options options); } }
src/Zinc.WebServices.Description/Property.cs
filipetoscano/Zinc
0
7026609
using System; namespace Zinc.WebServices.Description { /// <summary> /// Describes a message/type property. /// </summary> public class Property { /// <summary> /// Gets the property name. /// </summary> public string Name { get; set; } /// <summary> ...
TripCore/Parsing/Tokenizer.cs
orfgen/Trip
0
7026610
<filename>TripCore/Parsing/Tokenizer.cs using System.Collections.Generic; namespace TripCore.Parsing { public class Tokenizer { public static List<string> Tokenize(string line) { return new Tokenizer(line).CreateTokens(); } private readonly string line; ...
KeySwitchManager/Sources/Runtime/Interactors/KeySwitches/ExportFileInteractor.cs
r-koubou/ArticulationManager
0
7026611
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using KeySwitchManager.Domain.KeySwitches.Helpers; using KeySwitchManager.Domain.KeySwitches.Models; using KeySwitchManager.UseCase.KeySwitches.Export; namespace KeySwitchManager.Interactors.KeySwitches { public class ExportFileInterac...
src/server/FakeSurveyGenerator.Infrastructure/Persistence/EntityConfigurations/SurveyEntityTypeConfiguration.cs
MarcelMichau/fake-survey-generator
51
7026612
<gh_stars>10-100 using FakeSurveyGenerator.Domain.AggregatesModel.SurveyAggregate; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace FakeSurveyGenerator.Infrastructure.Persistence.EntityConfigurations { internal sealed class SurveyEntityTypeConfiguration : Audit...
C7/MainMenu.cs
C7-Game/Prototype
10
7026613
<gh_stars>1-10 using Godot; using System; using Serilog; public class MainMenu : Node2D { private ILogger log; readonly int BUTTON_LABEL_OFFSET = 4; ImageTexture InactiveButton; ImageTexture HoverButton; TextureRect MainMenuBackground; Util.Civ3FileDialog LoadDialog; Button SetCiv3Home; FileDialog SetCiv3Hom...
ODEGeneratorExample/ODEGeneratorExample/Example0.cs
anfulu36484/ODEGenerator
1
7026614
<reponame>anfulu36484/ODEGenerator using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ODEGenerator; using ODEGenerator.Formatter; using ODEGenerator.SyntaxTree.Numerical; namespace ODEGeneratorExample { /// <summary> /// Simp...
Passingwind.Blog.Core/Services/Impl/WidgetDynamicContentService.cs
jxnkwlp/Passingwind.Blog
5
7026615
<reponame>jxnkwlp/Passingwind.Blog<filename>Passingwind.Blog.Core/Services/Impl/WidgetDynamicContentService.cs using Microsoft.EntityFrameworkCore; using Passingwind.Blog.Data; using Passingwind.Blog.Data.Domains; using Passingwind.Blog.Data.Widgets; using System; using System.Collections.Generic; using System.Linq; us...
Samples/Provisioning.Batch/Provisioning.Batch.Console/Program.cs
Sollertix/PnP
885
7026616
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; //The assembly for this is in Program Files\SharePoint Client Components\Assemblies using Microsoft.Online.SharePoint.TenantAdministration; namespace Provisioning.Batch { clas...
Core/Tests/BaseTests.cs
xc0derx/speckle-sharp
0
7026617
using System; using NUnit.Framework; using Speckle.Core.Models; namespace TestsUnit { [TestFixture] public class BaseTests { [Test(Description = "Checks if validation is performed in property names")] public void CanValidatePropNames() { dynamic @base = new Base(); // Word chars a...
DMCompiler/DM/Expressions/Builtins.cs
pali6/OpenDream
0
7026618
using OpenDreamShared.Compiler; using DMCompiler.Compiler.DM; using OpenDreamShared.Dream; using OpenDreamShared.Json; using System.Collections.Generic; using OpenDreamShared.Dream.Procs; namespace DMCompiler.DM.Expressions { // "abc[d]" class StringFormat : DMExpression { string Value { get; } ...
lib/Network/Network/Builders/NetworkBuilder.cs
Wamadahama/Subnetting-Calculator
1
7026619
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using Newtonsoft.Json; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; using Network.Builders; namespace Network { public class NetworkBuilder { /// <summary> ...
src/NooBIT.AspNetCore.Mvc/Security/ContentSecurityPolicy/Directives/BlockAllMixedContent.cs
cmxl/NooBIT.AspNetCore.Mvc
0
7026620
using NooBIT.AspNetCore.Mvc.Security.ContentSecurityPolicy.Sources; using System; namespace NooBIT.AspNetCore.Mvc.Security.ContentSecurityPolicy.Directives { public class BlockAllMixedContent : Directive { internal BlockAllMixedContent() : base("block-all-mixed-content") { } p...
MauiCheck/Manifest/OpenJdk.cs
dimonovdd/dotnet-maui-check
342
7026621
<reponame>dimonovdd/dotnet-maui-check using Newtonsoft.Json; namespace DotNetCheck.Manifest { public partial class OpenJdk { [JsonProperty("urls")] public Urls Urls { get; set; } [JsonIgnore] public System.Uri Url => Urls?.Get(CompatVersion); [JsonProperty("version")] public string Version { get; s...
ReadableExpressions/TranslationSettings.cs
agileobjects/ReadableExpressions
324
7026622
<filename>ReadableExpressions/TranslationSettings.cs<gh_stars>100-1000 namespace AgileObjects.ReadableExpressions { using System; using Translations.Formatting; /// <summary> /// Provides configuration options to control aspects of source-code string generation. /// </summary> public class Tra...
AltoControls/Controls/AltoProgressBar.cs
zhenyuan0502/AltoControls
79
7026624
using System; using System.Drawing; using System.Windows.Forms; namespace AltoControls { public class AltoPB : Control { int value; int maxValue; int minValue; int old, current; Color prColor; System.Windows.Forms.Timer timer; public AltoPB() { ...
src/app/Media/Codecs/G729Codec/Lspgetq.cs
yaourt/sipsorcery
0
7026625
<gh_stars>0 /* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
MVCDemo.IDAL/InterfaceCommonModelRepository.cs
kuaidaoyanglang/MvcDemo
0
7026626
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MVCDemo.Models; namespace MVCDemo.IDAL { /// <summary> /// 公共模型接口 /// <remarks> /// 创建:2015.04.07 /// </remarks> /// </summary> public interface InterfaceCommonModelRep...
CNTKBase/CNTKBase/ReadDataSet.cs
pimier15/DataAnalysis
0
7026627
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using CNTK; using Emgu.CV; namespace CNTKBase { class ReadDataSet { } public class Readmnist { string pathImg = @"F:\00_github\DataAnalysis\dataset\mnist\testdata\t1...
Myrtille.Admin.Services/ServicesInstaller.cs
rasata/myrtille
1
7026628
<filename>Myrtille.Admin.Services/ServicesInstaller.cs /* Myrtille: A native HTML4/5 Remote Desktop Protocol client. Copyright(c) 2014-2019 <NAME> 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 ...
patches/tModLoader/Terraria/ModLoader/Engine/InstallVerifier.cs
hannest03/tModLoader
0
7026629
using ReLogic.OS; using Steamworks; using System; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using Terraria.Localization; using Terraria.Social; namespace Terraria.ModLoader.Engine { internal static class InstallVerifier { public cons...
src/QuickView.UI.Windows/Feeds/Models/Feed.cs
smithderekm/quickview
0
7026630
<gh_stars>0 namespace QuickView.UI.Windows.Feeds.Models { using System; using System.Collections; using System.Collections.Generic; public class Feed { public Guid Id { get; set; } public string Name { get; set; } public string Source { get; set; } public Dictiona...
LiveBot.Core/Repository/Models/Streams/RoleToMention.cs
bsquidwrd/LiveBot_test
0
7026631
<filename>LiveBot.Core/Repository/Models/Streams/RoleToMention.cs namespace LiveBot.Core.Repository.Models.Streams { public class RoleToMention : BaseModel<RoleToMention> { public virtual StreamSubscription StreamSubscription { get; set; } public virtual ulong DiscordRoleId { get; set; } } ...
SharpNBT/Events/TagReaderCallback.cs
ForeverZer0/SharpNBT
1
7026632
using System; namespace SharpNBT { /// <summary> /// Handler for events used with the <see cref="TagReader"/> class. /// </summary> /// <typeparam name="T">A type derived from <see cref="EventArgs"/>.</typeparam> /// <param name="reader">The <see cref="TagReader"/> instance invoking the event.</par...
AkkaPingPong.Client/Program.cs
contactsamie/AkkaPingPong
0
7026633
<reponame>contactsamie/AkkaPingPong<filename>AkkaPingPong.Client/Program.cs using AkkaPingPong.ActorSystemLib; using AkkaPingPong.Core; using AkkaPingPong.Core.Actors; using AkkaPingPong.Core.Messages; using AkkaPingPong.DependencyLib; using Autofac; using System; namespace AkkaPingPong.Client { interna...
extraChallenges/c301a-BootsShop1.cs
Jokerlocco/2019-2020_DAM1_EjerciciosClase
1
7026634
/* Reto 3.01 - Tienda de Botas Primera Olimpiada Boliviana de Informática Problema - Tienda de Botas Una tienda de botas ha recibido un embarque de una fábrica. Consiste en N botas izquierdas y N botas para el pie derecho. Una bota izquierda con otra derecha harán un par si son del mismo tamaño. Cada bot...
Modelisator/packages/GraphX-PCL/GraphX.METRO.Controls/Controls/EdgeControl.cs
aliaspilote/TX52
0
7026635
<gh_stars>0 using System; using System.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Input; using GraphX.Controls.Models; using GraphX.PCL.Common.Enums; using SysRect = Windows.Foundation.Rect; namespace GraphX.Controls { /// <summary> /// Visual edge control /// </summary> public class EdgeContr...
OpenShopVHBackend/OpenShopVHBackend/Models/Cart.cs
serpel/openshop_backend
3
7026636
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace OpenShopVHBackend.Models { public enum CartType { CART = 0, PRELIMINAR = 1 }; public class Cart { [Key] public Int32 CartId {...
Tests/Cosmos.Core.Tests/CPUTests.cs
saluransains/Cosmos
2,577
7026637
using NUnit.Framework; using Cosmos.Core; using System; using System.Collections.Generic; using System.Text; namespace Cosmos.Core.Tests { [TestFixture()] public class CPUTests { [Test()] public void EstimateCPUSpeedFromNameTest() { Assert.AreEqual((long)2.8e9, CPU.Esti...
src/NeoSharp.Core/Models/StorageKey.cs
gubanotorious/neo-sharp
0
7026638
using System; using NeoSharp.BinarySerialization; using NeoSharp.Core.Types; using Newtonsoft.Json; namespace NeoSharp.Core.Models { [Serializable] public class StorageKey { [BinaryProperty(1)] [JsonProperty("scripthash")] public UInt160 ScriptHash; [BinaryProperty(2)] ...
WebApi/Features/Courts/GetCourt.cs
gartidas/Forehand
0
7026639
<reponame>gartidas/Forehand using MediatR; using Newtonsoft.Json; using System.Threading; using System.Threading.Tasks; using WebApi.Persistence; using static WebApi.Features.Courts.GetCourts; namespace WebApi.Features.Courts { public class GetCourt { public class Query : IRequest<CourtDto> { ...
Source/Ravc/Utility/PooledDummy.cs
Zulkir/RAVC
2
7026640
namespace Ravc.Utility { public class PooledDummy<T> : IPooled<T> { public T Item { get; private set; } public PooledDummy(T item) { Item = item; } public void IncRefCount() { } public void Release() { } } }
src/Codeworx.Rest.Primitives/RestGetAttribute.cs
anoeltner/RestContract
1
7026641
<reponame>anoeltner/RestContract using System; namespace Codeworx.Rest { [AttributeUsage(AttributeTargets.Method)] public class RestGetAttribute : RestOperationAttribute { public RestGetAttribute(string template) : base(template) { } public RestGetAttribute() ...
TokenAuthentication/TokenAuthentication/Infrastructure/Database/Mapping/UserClaimsMapping.cs
lampo1024/NancyOwinExample
14
7026642
// Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using NPoco.FluentMappings; using TokenAuthentication.Infrastructure.Database.Entities; namespace TokenAuthentication.Infrastructure.Database.Mapping { public class ...
src/Comet.Game/Packets/MsgFriendInfo.cs
inburst21/ConquerServer
0
7026643
<filename>src/Comet.Game/Packets/MsgFriendInfo.cs<gh_stars>0 // ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) FTW! Masters // Keep the headers and the patterns adopted by the project. If you changed anything in the file just in...
Facebook.ApiClient.Entities/Api/LeadgenFormLead.cs
ketanjawahire/FacebookClient.Entities
0
7026644
using Newtonsoft.Json; using RestSharp.Deserializers; namespace Facebook.ApiClient.Entities.Api { /// <inheritdoc /> /// <summary> /// Represents lead for leadgen form /// </summary> public class LeadgenFormLead : BaseEntity { /// <summary> /// Ad name /// </summary> ...
PixelDotNet/Base/PropertySystem/ScalarProperty.cs
Relfos/PixelDotNet
4
7026645
<filename>PixelDotNet/Base/PropertySystem/ScalarProperty.cs ///////////////////////////////////////////////////////////////////////////////// // Paint.NET // // Copyright (C) <NAME>, <NAME>, and past contributors. // // Portions Copyright (C) ...
Defs/Yui/Y_/Test_/TestCase.cs
SharpKit/SharpKit-SDK
12
7026646
<reponame>SharpKit/SharpKit-SDK<gh_stars>10-100 //*************************************************** //* This file was generated by tool //* SharpKit //*************************************************** using System; using System.Collections.Generic; using SharpKit.JavaScript; namespace Y_.Test_ { /// <summary> ...
Src/WebMoney.Services.Contracts/BusinessObjects/Verification/IVerificationReport.cs
MarketKernel/webmoney-business-tools
1
7026647
<filename>Src/WebMoney.Services.Contracts/BusinessObjects/Verification/IVerificationReport.cs namespace WebMoney.Services.Contracts.BusinessObjects { public interface IVerificationReport { string Reference { get; } string ClientName { get; } string ClientMiddleName { get; } } }
Assets/ArabicSupport/Scripts/Fix3dTextCS.cs
Guendeli/Ta7rir-Flana
1
7026648
using UnityEngine; using System.Collections; using ArabicSupport; public class Fix3dTextCS : MonoBehaviour { public string text; public bool tashkeel = true; public bool hinduNumbers = true; // Use this for initialization void Start () { gameObject.GetComponent<TextMesh>().text = ArabicFixer.Fix(text, tashk...
src/Blog/Program.cs
Nachyn/blog-api
0
7026649
<filename>src/Blog/Program.cs using System; using System.Threading.Tasks; using Domain.Entities; using Infrastructure.Persistence; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions...
Inveigh/Protocols/Quiddity/Quiddity/Protocols/NTLM/NTLMChallenge.cs
InitRoot/InveighZero
1
7026650
/* * BSD 3-Clause License * * Copyright (c) 2022, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, th...
Extensibility/Events/JoinElementEventArgs.cs
festivaledu/neo-core
0
7026651
using Neo.Core.Shared; namespace Neo.Core.Extensibility.Events { /// <summary> /// Provides the data for all join events. /// </summary> /// <typeparam name="TElement">A joinable element.</typeparam> public class JoinElementEventArgs<TElement> : ICancellableEvent { /// <summary> ...
MVCGridExample/Views/Demo/NoQueryOnPageLoad.cshtml
gkomorowska/MVCGrid.Net-with-Post
0
7026652
@using MVCGrid.Web @using MVCGrid.Web.Models @{ ViewBag.Title = "No Query On Page Load"; } @section Scripts{ <script type="text/javascript"> $(function () { $('#reloadGridButton').click(function () { MVCGrid.reloadGrid('QPLGrid'); }); }); </script> ...
src/Views/Desktop/Sakuno.ING.Views.Desktop.Settings/ProxySettingView.xaml.cs
A-Kaga/ing
1
7026653
<reponame>A-Kaga/ing using System.Windows.Controls; namespace Sakuno.ING.Views.Desktop.Settings { /// <summary> /// ProxySettingView.xaml 的交互逻辑 /// </summary> public partial class ProxySettingView : UserControl { public ProxySettingView() { InitializeComponent(); ...
ED/EDC_Estate/Models/DB/Features.cs
GeorgeThackrayWT/GraphQLSample
0
7026654
using System; namespace EDC_Estate.Models.DB { public partial class Features { public int? WoodId { get; set; } public int? CostCentre { get; set; } public string Type { get; set; } public string SubType { get; set; } public string FeatureCode { get; set; } publ...
Pat.Subscriber.StructureMap4DependencyResolution/BatchBehaviourPipelineHelper.cs
codemonkeycornwall/Pat.Subscriber
4
7026655
using Pat.Subscriber.BatchProcessing; using StructureMap; namespace Pat.Subscriber.StructureMap4DependencyResolution { public static class BatchBehaviourPipelineHelper { public static BatchProcessingBehaviourPipeline AddBehaviour<T>(this BatchProcessingBehaviourPipeline pipleline, IContext context) wh...
Assets/Scripts/ExampleNetworkManager.cs
itsjasonc/MirrorExample
1
7026656
using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; namespace io.choy.MirrorExample { public class ExampleNetworkManager : NetworkManager { public override void OnServerAddPlayer(NetworkConnection conn) { base.OnServerAddPlayer(conn); ...
Samples/NopeCommerce/Presentation/Nop.Web.Framework/Mvc/ModelBinding/NopResourceDisplayNameAttribute.cs
PeterPann23/FireWall
4
7026657
using System.ComponentModel; using Nop.Core; using Nop.Core.Infrastructure; using Nop.Services.Localization; namespace Nop.Web.Framework.Mvc.ModelBinding { /// <summary> /// Represents model attribute that specifies the display name by passed key of the locale resource /// </summary> public sealed cla...
src/Zupa.Test.Booking/Data/InMemoryBasketsRepository.cs
mattridgway/Developer-Test
0
7026658
using System.Linq; using System.Threading.Tasks; using Zupa.Test.Booking.Models; namespace Zupa.Test.Booking.Data { internal class InMemoryBasketsRepository : IBasketsRepository { private Basket _basket; public InMemoryBasketsRepository() { _basket = new Basket(); ...
NativeIntegration/UI/ResizedView/Assets/Rotator.cs
isabella232/iOSNativeCodeSamples
16
7026659
<gh_stars>10-100 using UnityEngine; using System.Collections; public class Rotator : MonoBehaviour { void Update() { transform.Rotate(Vector3.right * 10 * Time.deltaTime); transform.Rotate(Vector3.up * 10 * Time.deltaTime, Space.World); } }
src/NHSD.BuyingCatalogue.Solutions.Application/Commands/UpdateCapabilities/UpdateCapabilitiesValidator.cs
nhs-digital-gp-it-futures/BuyingCatalogueService
2
7026660
<filename>src/NHSD.BuyingCatalogue.Solutions.Application/Commands/UpdateCapabilities/UpdateCapabilitiesValidator.cs using NHSD.BuyingCatalogue.Solutions.Application.Commands.Validation; namespace NHSD.BuyingCatalogue.Solutions.Application.Commands.UpdateCapabilities { internal sealed class UpdateCapabilitiesValida...
WaveDev.ModelR/Communication/UserNotAuthorizedException.cs
robinsedlaczek/ModelR
3
7026661
using System; namespace WaveDev.ModelR.Communication { /// <summary> /// Used to indicate that the current user is not authorized at the server. The client code /// should immediately shutdown the application. /// </summary> public class UserNotAuthorizedException : Exception { /// <su...
LoopingAudioConverter/FLACExporter.cs
eliboa/LoopingAudioConverter
2
7026662
<gh_stars>1-10 using System.IO; using System.Threading.Tasks; namespace LoopingAudioConverter { public class FLACExporter : IAudioExporter { private SoX sox; public FLACExporter(SoX sox) { this.sox = sox; } public void WriteFile(PCM16Audio lwav, string output_dir, string original_filename_no_ext) { s...
Sunday/Sunday/App_Start/FormatApi.cs
hilanmiao/Demo-DotNet-Webapi
1
7026663
<gh_stars>1-10 using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Web; using System.Web.Http; namespace Sunday.App_Start { public class FormatApi { public...
src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
jattwood/Umbraco-CMS
1
7026664
using System; using System.IO; using System.Linq; using Umbraco.Core.Cache; using Umbraco.Core.Events; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Core.Packaging; using Umbraco.Core.Services; using Umbraco.Core.Services.Implement; namespace Umbraco.Core.Composing.CompositionExtensions { publi...
src/Microsoft.Diagnostics.Runtime/src/Utilities/COMInterop/ComCallableIUnknown.cs
ryanmolden/clrmd
340
7026665
<filename>src/Microsoft.Diagnostics.Runtime/src/Utilities/COMInterop/ComCallableIUnknown.cs // 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 Sys...
Econom/Data/BarcodeData/BarcodeData.Models/UPC.cs
MariyaSteffanova/EcoMaster
0
7026666
namespace BarcodeData.Models { using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; public class UPC { [Key] public int Id { get; set; } [Index] [MaxLength(25)] public string Barcode { get; set; } public int ...
.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs
AhmedLeithy/Recognizers-Text
688
7026667
<filename>.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs<gh_stars>100-1000 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Choice { public interface IChoiceParserCon...
StoryLine.Rest.Coverage/Services/Analyzers/Helpers/PathPatternToRegexConverter.cs
DiamondDragon/StoryLine.Rest.Coverage
0
7026668
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace StoryLine.Rest.Coverage.Services.Analyzers.Helpers { public class PathPatternToRegexConverter : IPathPatternToRegexConverter { private static readonly Regex ParameterPattern = new Regex(@"(?<parameterName>\...
src/Analiser/Models/Telemetry/Objects/Common.cs
patrickhacens/pubg-report-bot
1
7026669
namespace PUBG.Models.Telemetry { /// <summary> /// IsGame = 0 -> Before lift off /// IsGame = 0.1 -> On airplane /// IsGame = 0.5 -> When there’s no ‘zone’ on map(before game starts) /// IsGame = 1.0 -> First safezone and bluezone appear /// IsGame = 1.5->First bluezone shrinks /// IsGame ...
src/skiasharp/LiveChartsCore.SkiaSharp/Drawing/Geometries/Geometry.cs
vice-code/LiveCharts2
2
7026670
// The MIT License(MIT) // // Copyright(c) 2021 <NAME> & LiveCharts Contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the r...
RiotGames.LeagueOfLegends.LeagueClient.LockFile/LeagueClientLockFile.Events.cs
mikaeldui/riotgames-leagueoflegends-leagueclient-lockfile-dotnet
2
7026671
using System.Diagnostics; namespace RiotGames.LeagueOfLegends.LeagueClient; /// <summary> /// The lock file is used by the League Client to store connection values, like port and username. /// </summary> [DebuggerDisplay( "ProcessName = {ProcessName} ProcessId = {ProcessId} Port = {Port} Password = {P...
Assets/goToPlayer.cs
JKClaytonDev/WorldTour
0
7026672
<filename>Assets/goToPlayer.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class goToPlayer : MonoBehaviour { GameObject player; public Animator anim; public boxColliders col; public Movement mvmt; // Start is called before the first frame update void ...
DurandalAuth.Domain/Models/project.cs
benitazz/AlcmSolutions
0
7026673
<reponame>benitazz/AlcmSolutions #region using System; using System.Collections.Generic; #endregion namespace DurandalAuth.Domain.Models { /// <summary> /// The project. /// </summary> public class project { /// <summary> /// Initializes a new instance of the <see cref="project"/>...
Framework/src/Ncqrs/Domain/AggregateRootMappedWithAttributes.cs
SzymonPobiega/ncqrs
1
7026674
<reponame>SzymonPobiega/ncqrs using System; using Ncqrs.Eventing.Sourcing.Mapping; namespace Ncqrs.Domain { public abstract class AggregateRootMappedWithAttributes : MappedAggregateRoot { protected AggregateRootMappedWithAttributes() : base(new AttributeBasedDomainSourcedEventHandl...
sdk/testcommon/Azure.Management.Compute.2019_12/src/Generated/Models/GalleryUpdate.cs
shmartel/azure-sdk-for-net
1
7026675
<reponame>shmartel/azure-sdk-for-net<gh_stars>1-10 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.Management.Compute.Models { /// <summary> Specifies information about the Shared Image Gallery that you want to...
src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netstandard2.0.cs
acid-chicken/AspNetCore
1
7026676
<reponame>acid-chicken/AspNetCore<filename>src/SignalR/clients/csharp/Http.Connections.Client/ref/Microsoft.AspNetCore.Http.Connections.Client.netstandard2.0.cs // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license infor...
Source/OWC10/DispatchInterfaces/Name.cs
workgroupengineering/NetOffice
544
7026677
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OWC10Api { /// <summary> /// Name /// </summary> [SyntaxBypass] public class Name_ : COMObject { #region Ctor /// <param name="factory">current used factory core</param> /// <param...
Caasiope.UnitTest/MerkleTreeTests.cs
duke009/caasiope-blockchain
3
7026678
using System; using System.Collections.Generic; using System.Linq; using Caasiope.NBitcoin; using Caasiope.Protocol.MerkleTrees; using Caasiope.Protocol.Types; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Caasiope.UnitTest { [TestClass] public class MerkleTreeTests : TestBase { pri...