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
NatTypeTester.ViewModels/NatTypeTesterViewModelModule.cs
JayXus/NatTypeTester
0
7032683
<gh_stars>0 using Dns.Net.Abstractions; using Dns.Net.Clients; using JetBrains.Annotations; using Microsoft.Extensions.DependencyInjection.Extensions; using Volo.Abp.Modularity; namespace NatTypeTester.ViewModels; [UsedImplicitly] public class NatTypeTesterViewModelModule : AbpModule { public override voi...
sdk/core/Azure.Core/src/Pipeline/SynchronousHttpPipelinePolicy.cs
nithinpnp/azure-sdk-for-net
2
7032684
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Threading.Tasks; namespace Azure.Core.Pipeline { public abstract class SynchronousHttpPipelinePolicy: HttpPipelinePolicy { public override void Process(HttpPipelineMessage messag...
TestPassModule/TestPassModule/Relationships/Api/Declare/RelationClass.cs
sd-station/2021-visual-studio
0
7032685
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TestPassModule.Api.Declare { public class RelationClass { public int id { get; set; } public string title { get; set; } public DateTime create { get; set; } ...
cards/NAXX/FP1/Sim_FP1_022.cs
chi-rei-den/Silverfish
1
7032686
<gh_stars>1-10 using System.Collections.Generic; using Chireiden.Silverfish; using HearthDb; using HearthDb.Enums; /* _BEGIN_TEMPLATE_ { "id": "FP1_022", "name": [ "空灵召唤者", "Voidcaller" ], "text": [ "<b>亡语:</b>\n随机将一张恶魔牌从你的手牌置入战场。", "<b>Deathrattle:</b> Put a random Demon from your hand into th...
ResidentsSocialCarePlatformApi/V1/Infrastructure/Migrations/20210325141809_AddOrganisationsTable.cs
LBHackney-IT/residents-social-care-platform-api
1
7032687
<filename>ResidentsSocialCarePlatformApi/V1/Infrastructure/Migrations/20210325141809_AddOrganisationsTable.cs using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace ResidentsSocialCarePlatformApi.V1.Infrastructure.Migrations { public partial cl...
src/shared/Z.EF.Plus.Audit.Shared/AuditConfiguration/FormatType.cs
MassVOiD/EntityFramework-Plus
2,003
7032688
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit) // Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus // Forum & Issues: https://github.com/zzzprojec...
src/RawRabbit/Channel/DynamicChannelPool.cs
xiedeyou/RawRabbit
1
7032689
using System.Collections.Generic; using System.Linq; using RabbitMQ.Client; namespace RawRabbit.Channel { public class DynamicChannelPool : StaticChannelPool { public DynamicChannelPool() : this(Enumerable.Empty<IModel>()) { } public DynamicChannelPool(IEnumerable<IModel> seed) : base(seed) { } public...
Scripts/Engines/Spawner/ProximitySpawner.cs
greeduomacro/vivre-uo
0
7032690
<filename>Scripts/Engines/Spawner/ProximitySpawner.cs using System; using System.Collections.Generic; using Server; namespace Server.Mobiles { public class ProximitySpawner : Spawner { private int m_TriggerRange; private TextDefinition m_SpawnMessage; private bool m_InstantFlag; [CommandProperty( AccessLeve...
DapperExtensions/FluentMap/Mapping/EntityMap.cs
oBears/DapperExtensions
2
7032691
using System; using System.Collections.Generic; using System.Text; using System.Linq.Expressions; using System.Reflection; namespace DapperExtensions.FluentMap.Mapping { public class EntityMap<T>: IEntityMap { public string TableName { get; private set; } public List<PropertyMap> PropertyMaps ...
ImageView/FrmImageView.Designer.cs
Kableado/ImageView
1
7032692
<reponame>Kableado/ImageView namespace ImageView { partial class FrmImageView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
src/Color-Chan.Discord.Core/Common/API/Params/Channel/DiscordEditChannelMessage.cs
Color-Chan/Color-Chan.Discord
28
7032693
using System; using System.Collections.Generic; using System.Text.Json.Serialization; using Color_Chan.Discord.Core.Common.API.DataModels; using Color_Chan.Discord.Core.Common.API.DataModels.Embed; using Color_Chan.Discord.Core.Common.API.DataModels.Message; namespace Color_Chan.Discord.Core.Common.API.Params.Channel ...
src/Api/Lib/UserResolver.cs
PD2tech/pd2-trade-api
0
7032694
<filename>src/Api/Lib/UserResolver.cs using Pd2TradeApi.Server.Data.Interfaces; using Pd2TradeApi.Server.Models; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Castle.DynamicProxy.Generators.Emitters....
WWI_Trenches_Prototypes/Assets/Gameplay/Character/Implementation/NavigatorAttributes.cs
martin-obert/WWI_Trenches
0
7032695
using Assets.Gameplay.Attributes; using UnityEngine; namespace Assets.Gameplay.Character.Implementation { public abstract class NavigatorAttributes : ScriptableObject, INavigatorAttributes { public ObservableAttribute<float> Speed { get; protected set; } } }
APIs/Mock.API/Mapper/InvoiceProfile.cs
bitelligent/WebFormAssignmentTask
0
7032696
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Application.Common.ViewModels; using AutoMapper; using Mock.Model.Entities; namespace Mock.API.Mapper { public class InvoiceProfile : Profile { public InvoiceProfile() { ...
src/Xamarin.Security.Keychain.Tests/KeychainTests.cs
KirillOsenkov/mirepoix
24
7032697
<gh_stars>10-100 // // Author: // <NAME> <<EMAIL>> // // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using Xunit; using Xamarin.Security.Keychains; namespace Xamarin.Security.Tests { // NOTE: CollectionDefinition/Collection needed to ensure xunit ...
LimitedLiability/UserInterface/MailItemPage.cs
babelshift/LimitedLiability
0
7032698
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LimitedLiability.UserInterface { public class MailItemPage { private List<ButtonMailItem> buttons = new List<ButtonMailItem>(); private List<Icon> separators = new List<Icon>(); publi...
Phiddle.Core/AppActions.cs
jensbrak/Phiddle
3
7032699
<reponame>jensbrak/Phiddle<gh_stars>1-10 using System; using Phiddle.Core.Settings; using Phiddle.Core.Services; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Phiddle.Core { /// <summary> /// Any action that can be user initiaded /// </summary> public enum Ac...
Command/Battle.cs
kakureusagi/DesignPattern
0
7032700
namespace Command { /// <summary> /// RTSのバトル全体管理クラス /// </summary> class Battle { readonly CommandExecutor executor; readonly Fighter fighter; public Battle(CommandExecutor executor, Fighter fighter) { this.executor = executor; this.fighter = fighter; } public void Update(float deltaTime) ...
Ghost.Server/Terrain/Primitives/Ray.cs
Ignis34Rus/LoE-Ghost.Server
20
7032701
<gh_stars>10-100 using Ghost.Server.Utilities; using System; using System.Numerics; using System.Runtime.CompilerServices; namespace Ghost.Server.Terrain.Primitives { public struct Ray : IEquatable<Ray> { public Vector3 Position; public Vector3 Direction; public Ray(Vector3 position, ...
Examples/BasicManagement/ZhuoFan.Wb.BasicService.Application/EventBusHandlers/PermissionAuthorizeEventHandler.cs
shenxiangxiong/Girvs
0
7032702
<gh_stars>0 using System; using System.Threading.Tasks; using DotNetCore.CAP; using Girvs.Cache.Caching; using Girvs.Cache.Configuration; using Girvs.Configuration; using Girvs.Driven.Bus; using Girvs.Driven.Notifications; using Girvs.Infrastructure; using JetBrains.Annotations; using MediatR; using Microsoft.Extensio...
LevelUp.Api.Client.Tests/Client/IntegrationTests/QueryUsersIntegrationTests.cs
TheLevelUp/levelup-sdk-csharp
3
7032703
#region Copyright (Apache 2.0) //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // <copyright file="IQueryUsersIntegrationTests.cs" company="SCVNGR, Inc. d/b/a LevelUp"> // Copyright(c) 2016 SCVNGR, Inc. d/b/a LevelUp. All rights reserved. // </copyright> // <li...
src/System.IO.FileSystem/tests/Directory/GetFiles.cs
shana/corefx
0
7032704
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using System.Runtime.InteropServices; using Xunit; namespace System.IO.FileSystem.Tests { public class Directory_GetFiles_str : Directory_GetFil...
src/Cemig.Gecipa.RazorPages/Pages/Reunioes/Editar.cshtml.cs
tonihenriques/cemig-gecipa
1
7032705
using Cemig.Gecipa.RazorPages.RestClients.CoreBusiness.Reunioes; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using System; using System.Globalization; using System.Threading.Tasks; namespace Cemig.Gecipa.RazorPages.Pages.Reunioes { [Authoriz...
SharePoint.Remote.Access/Caml/Operators/Contains.cs
rlocus/SPAccess
0
7032706
using System; using System.Xml.Linq; using Microsoft.SharePoint; using Microsoft.SharePoint.Client; namespace SharePoint.Remote.Access.Caml.Operators { public sealed class Contains : Contains<string> { public Contains(CamlFieldRef fieldRef, CamlValue<string> value) : base(fieldRef, value)...
arangodb-net-standard/AqlFunctionApi/Models/PostAqlFunctionResponse.cs
HolonCom/arangodb-net-standard
55
7032707
using System.Net; namespace ArangoDBNetStandard.AqlFunctionApi.Models { /// <summary> /// Represents a response returned when creating an AQL user function. /// </summary> public class PostAqlFunctionResponse { /// <summary> /// Indicates whether an error occurred (false in this ca...
TaconiteMVC/Syntax/IReplaceContentsOfCommandWithContentSyntax.cs
jackleitch/taconite-mvc
0
7032708
<reponame>jackleitch/taconite-mvc using System.Web.Mvc; namespace TaconiteMvc.Syntax { public interface IReplaceContentsOfCommandWithContentSyntax : IFluentSyntax { TaconiteResult WithContent(string html); TaconiteResult WithContent(PartialViewResult partialViewResult); TaconiteResult WithPartialVie...
Libraries/dotNetRDF/Query/Inference/Pellet/Services/ClusterService.cs
IllidanS4/dotnetrdf
254
7032709
/* // <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 granted, free of charge, to any person obtainin...
TestTask1_1/Models/Consumer.cs
iskakov/TestTask1_1
0
7032710
<filename>TestTask1_1/Models/Consumer.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace TestTask1_1.Models { public class Consumer { public Guid PrimaryKey { get; set; } public string Persona...
FutileProject/Assets/Futile/Core/FNodeEnabler.cs
MattRix/Futile
368
7032711
using System; using UnityEngine; public class FNodeEnabler { public FNodeEnabler () { } virtual public void Connect() { } virtual public void Disconnect() { } } public class FNodeEnablerForPreUpdate : FNodeEnabler { public Futile.FutileUpdateDelegate handleUpdateCallback; public FNodeEnablerFor...
Day03/Program.cs
farleysr89/Aoc2016
0
7032712
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Day03 { internal class Program { private static void Main() { SolvePart1(); SolvePart2(); } private static void SolvePart1() { var input = ...
UserControls/CartSummary.ascx.cs
dursuneryilmaz/Akdeniz-Silver-Web-Project
0
7032713
<reponame>dursuneryilmaz/Akdeniz-Silver-Web-Project using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class UserControls_CartSummary : System.Web.UI.UserControl { protected void Page_Load(object sender, EventAr...
Generate/Xml/TargetMob.cs
nt153133/SaintCoinach
1
7032714
using System.ComponentModel; using System.Xml.Serialization; namespace Generate.Xml { //[XmlRoot("TargetMob")] public class TargetMob { public string Name { get; set; } [XmlAttribute("id")] public int...
test/EntityFramework/FunctionalTests/ProductivityApi/NamespaceAndNestingTests.cs
n9/entityframework6
2
7032715
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace ProductivityApiTests { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Common; using ...
src/Potato.Net/Protocols/Source/SourceRequestType.cs
phogue/Potato
5
7032716
<reponame>phogue/Potato namespace Potato.Net.Protocols.Source { public enum SourceRequestType { SERVERDATA_ALLBAD = -1, SERVERDATA_EXECCOMMAND = 2, SERVERDATA_AUTH = 3, None = 127 } }
Kooboo.CMS/Kooboo.CMS.Sites/Services/ThemeManager.cs
royaso/CMS
1
7032717
#region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; using Kooboo.CMS.Sites.Models; using System.IO; namespace Kooboo.CMS.Sites.Services...
Databases Advanced - Entity Framework/08. EF Code First + OOP Intro Exercises/08. Create User/Models/User.cs
ilyogri/SoftUni
4
7032718
<filename>Databases Advanced - Entity Framework/08. EF Code First + OOP Intro Exercises/08. Create User/Models/User.cs<gh_stars>1-10 namespace _08.Create_User.Models { using System; using System.ComponentModel.DataAnnotations; using System.Text.RegularExpressions; public class User { priva...
g7/Class 8/PizzaApp/PizzaApp.Services/Mappings/OrderMapper.cs
sedc-codecademy/skwd8-08-aspnetmvc
0
7032719
<reponame>sedc-codecademy/skwd8-08-aspnetmvc using PizzaApp.DataAccess.Core.Entities; using PizzaApp.PresentationLayer.ViewModels; using System.Collections.Generic; using System.Linq; namespace PizzaApp.Services.Mappings { public static class OrderMapper { public static List<OrderVM> MapOrdersToOrderV...
LeonaStore/Views/SplashPage/SplashPage.xaml.cs
Tortu-Ch/Leona-Store
45
7032720
<reponame>Tortu-Ch/Leona-Store using Xamarin.Forms; namespace LeonaStore.Views { public partial class SplashPage : ContentPage { public SplashPage() { InitializeComponent(); } protected override void OnAppearing() { base.OnAppearing(); this.FadeTo(1, 4000, Easing.SinOut); } } }
CodexDS13/CodexProgram/About.Designer.cs
IrakliLomidze/CodexDS12
0
7032721
<reponame>IrakliLomidze/CodexDS12 namespace ILG.Codex.Codex2007 { partial class About { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
MyUniverse/Assets/Scripts/Player/SpaceSuitControls.cs
PlavaFeniks/Youtube-N-BodySimulation
0
7032722
using System.Collections; using System.Collections.Generic; using UnityEngine; //switch camera when in ship or near death star //have jetpack mode where affected by gravity wholey //have non-jetpack mode where affect by gravity away with no control, and affected by surface G' public class SpaceSuitControls : MonoBe...
src/PowerShellEditorServices/Services/PowerShell/Execution/SynchronousDelegateTask.cs
immense/PowerShellEditorServices
1
7032723
<filename>src/PowerShellEditorServices/Services/PowerShell/Execution/SynchronousDelegateTask.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using Microsoft.Extensions.Logging; using Microsoft.PowerShell.EditorServices.Services.PowerShell.Host; using System; using System.Threading; using...
src/Sandboxes/EarthquakeRenderTest/App.axaml.cs
ingen084/KyoshinEewViewerIngen
36
7032724
using Avalonia; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Markup.Xaml; using EarthquakeRenderTest.ViewModels; using EarthquakeRenderTest.Views; namespace EarthquakeRenderTest { public class App : Application { public override void Initialize() => AvaloniaXamlLoader.Load(this); public override...
src/Activity/MainActivity.cs
avdosev/kanban
0
7032725
<reponame>avdosev/kanban<filename>src/Activity/MainActivity.cs using System; using System.Collections.Generic; using Android.App; using Android.OS; using Android.Runtime; using Android.Support.Design.Widget; using Android.Support.V7.App; using Android.Support.V7.Widget; using Android.Views; using Android.Content; u...
src/Bass/Shared/Tags/Structures/ID3v1Tag.cs
Mr-Ojii/ManagedBass
169
7032726
<reponame>Mr-Ojii/ManagedBass<gh_stars>100-1000 using System.Runtime.InteropServices; namespace ManagedBass { /// <summary> /// Wraps an ID3v1 tag /// </summary> [StructLayout(LayoutKind.Sequential)] public class ID3v1Tag { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)] c...
ChessKnight3d/Assets/Editor/RectTransformTools.cs
freewebtime/chessknight
0
7032727
<reponame>freewebtime/chessknight<gh_stars>0 using UnityEditor; using UnityEngine; namespace Incorporations.Assets.GameCode.Shared.Other { public static class RectTransformTools { [MenuItem("GameObject/Adjust Anchors to Position %l")] static void Adjust() { foreach (GameOb...
C3D.DataViewer/MainForm.cs
Crandelz/C3D.NET
8
7032728
using System; using System.IO; using System.Windows.Forms; using C3D.DataViewer.Controls; using C3D.DataViewer.Helper; namespace C3D.DataViewer { public partial class MainForm : Form { private const String PROGRAM_TITLE = "C3D.NET DataViewer"; private String _currentFileName; private...
Mntone.Nico2/Mntone.Nico2.Shared/Live/PlayerStatus/PlayerStatusClient.cs
mntone/OpenNiconico2
16
7032729
using System; using System.Threading.Tasks; #if WINDOWS_APP using Windows.Data.Xml.Dom; #else using System.Xml.Linq; #endif namespace Mntone.Nico2.Live.PlayerStatus { internal sealed class PlayerStatusClient { public static Task<string> GetPlayerStatusDataAsync( NiconicoContext context, string requestId ) { ...
Public/Src/FrontEnd/Nuget/Tracing/Log.cs
Microsoft/BuildXL
448
7032730
<filename>Public/Src/FrontEnd/Nuget/Tracing/Log.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using BuildXL.Tracing; using BuildXL.Utilities.Instrumentation.Common; #pragma warning disable 1591 #pragma warning disable SA1600 // Element must be documented #nullable enable nam...
tests/DnsServiceDiscovery.Tests/Operations/OperationsTests.cs
JoyMoe/DnsServiceDiscovery
0
7032731
<reponame>JoyMoe/DnsServiceDiscovery using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using Mittosoft.DnsServiceDiscovery; using Mittosoft.DnsServiceDiscovery.Messages.Replies; using Mittosoft.DnsServiceDiscovery.Operations; using Xunit; using ResolveEventArgs = Syst...
Samples~/Sample/ApiSampleScript/SampleTitleScene.cs
maxidea1024/Locus-Bundle-System
0
7032732
using BundleSystem; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SampleTitleScene : MonoBehaviour { List<GameObject> m_Instances = new List<GameObject>(); public void DownloadAssetBundles() { StartCoroutine(CoDownloadAssetBundles()); } IEnum...
mirai/mirai-engine/MainWindow.xaml.cs
romaschka1/mirai-engine
0
7032733
using Microsoft.Win32; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; 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; us...
src/Orchestra.Shell.MahApps/ViewModels/ShellViewModel.cs
bigworld12/Orchestra
446
7032734
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ShellViewModel.cs" company="WildGums"> // Copyright (c) 2008 - 2014 WildGums. All rights reserved. // </copyright> // -----------------------------------------------------------...
WWCP_OCPPv1.6/CentralSystem/SOAPClient/CentralSystemSOAPClient.cs
OpenChargingCloud/WWCP_
21
7032735
<gh_stars>10-100 /* * Copyright (c) 2014-2021 GraphDefined GmbH * This file is part of WWCP OCPP <https://github.com/OpenChargingCloud/WWCP_OCPP> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the L...
LiteDB/DbEngine/Services/PageService.cs
negue/LiteDB
5
7032736
using System; using System.Collections.Generic; using System.Linq; namespace LiteDB { internal class PageService { private IDiskService _disk; private CacheService _cache; public PageService(IDiskService disk, CacheService cache) { _disk = disk; _cache ...
Test_Project_Hotel/Views/Rooms/Index.cshtml
Nikan888/CWorkASPNet
0
7032737
<reponame>Nikan888/CWorkASPNet @using Microsoft.AspNetCore.Identity @using Test_Project_Hotel.Models @model Test_Project_Hotel.ViewModels.Rooms.RoomsViewModel @inject SignInManager<User> SignInManager @inject UserManager<User> UserManager @{ ViewData["Title"] = "Room management"; } <h2>Room management</h2> <form ...
Picture Organizer/Picture Organizer/Settings/SettingsFile1.cs
Carpe-Tempestas/photoding
1
7032738
<reponame>Carpe-Tempestas/photoding<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Drawing; using System.Windows.Forms; using System.Xml.Serialization; using System.IO; using Trebuchet.Settings.UploadTypes; namespace Trebuchet.Settings { public class SettingsFile1 : S...
SmartVitals_Server/SmartVitals_Server/Models/UserInfo.cs
lcintron/SmartVitals
0
7032739
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SmartVitals.Services.Enums; using System.ComponentModel.DataAnnotations; namespace SmartVitals_Server.Models { public class UserInfo { [Required] public String UserName { get; set; } [Req...
MyLogAn2/Presenter.cs
rkanagy/ArtOfUnitTesting2ndEd.Samples
0
7032740
namespace MyLogAn2 { public class Presenter { private readonly IView _view; private readonly ILogger _logger; public Presenter(IView view, ILogger logger) { _view = view; _logger = logger; _view.Loaded += OnLoaded; _view.ErrorOccu...
Open-Lab-04.04/PhoneNumbers.cs
andrej0123/Open-Lab-04.04
0
7032741
<filename>Open-Lab-04.04/PhoneNumbers.cs using System; namespace Open_Lab_04._04 { public class PhoneNumbers { public string FormatPhoneNumber(int[] numbers) { string a = numbers[0].ToString(); string b = numbers[1].ToString(); string...
Goodbye SMAPI/Goodbye SMAPI/ModEntry.cs
MithranArkanere/StardewValleyMods
4
7032742
<reponame>MithranArkanere/StardewValleyMods using Goodbye_SMAPI.Framework; using StardewModdingAPI; using StardewModdingAPI.Events; using StardewValley; using System; namespace Goodbye_SMAPI { class ModEntry : Mod { #region Fields & Properties private bool QuitGame; private int QuitGam...
System/Collections/CaseInsensitiveHashCodeProvider.cs
SinsofSloth/RF5-global-metadata
1
7032743
[ComVisibleAttribute] // RVA: 0xB2B00 Offset: 0xB2C01 VA: 0xB2B00 [ObsoleteAttribute] // RVA: 0xB2B00 Offset: 0xB2C01 VA: 0xB2B00 [Serializable] public class CaseInsensitiveHashCodeProvider : IHashCodeProvider // TypeDefIndex: 1351 { // Fields private TextInfo m_text; // 0x10 // Properties public static CaseInsens...
IdleClicker/Library/PackageCache/com.unity.2d.pixel-perfect@2.1.0/Samples~/Scenes and Extras/Scenes/RoboHero/Scripts/Hero.cs
IHunelI/-Prototype-IdleMinerTycoon
295
7032744
<gh_stars>100-1000 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.Tilemaps; public class Hero : MonoBehaviour { public float m_MoveSpeed; public Animator animator; Rigidbody2D rb; public enum PlayerState { Alive, Dead ...
Commencement.Mvc/Controllers/ViewModels/StudentDisplayRegistrationViewModel.cs
ucdavis/Commencement
0
7032745
using System; using System.Collections.Generic; using System.Linq; using Commencement.Core.Domain; using UCDArch.Core.PersistanceSupport; using UCDArch.Core.Utils; namespace Commencement.Controllers.ViewModels { public class StudentDisplayRegistrationViewModel { public Registration Registra...
src/CosmosStack.Extensions.Optionals/CosmosStack/UnionTypes/UnionType`0.cs
cosmos-loops/cosmos-standard
0
7032746
using System; using CosmosStack.Optionals; using CosmosStack.UnionTypes.Internals; // ReSharper disable RedundantExtendsListEntry namespace CosmosStack.UnionTypes { public struct UnionType<T0> : IUnionType, IUnionType<T0> { readonly T0 _v0; readonly int _ix; UnionType(int ix, T0 v0 = ...
Fody/Ichnaea.Fody.Tests/Unit/EventSourcingMethodTest.cs
pete-restall/Ichnaea
1
7032748
<gh_stars>1-10 using System; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Xunit; namespace Restall.Ichnaea.Fody.Tests.Unit { public class EventSourcingMethodTest { [Fact] [SuppressMessage("ReSharper", "ObjectCreationAsStatement", Justification = CodeAnalysisJustification.TestingConstruct...
src/Lumina.Excel/GeneratedSheets/HugeCraftworksNpc.cs
attickdoor/Lumina
48
7032749
// ReSharper disable All using Lumina.Text; using Lumina.Data; using Lumina.Data.Structs.Excel; namespace Lumina.Excel.GeneratedSheets { [Sheet( "HugeCraftworksNpc", columnHash: 0xb9ae7ade )] public partial class HugeCraftworksNpc : ExcelRow { public LazyRow< ENpcResident > ENpcResident {...
Builder/UI.Wpf/Presentation/Types/ApplicationExtensions.cs
stichting-cito/QuestifyBuilder
3
7032750
<reponame>stichting-cito/QuestifyBuilder using System.Windows; namespace Questify.Builder.UI.Wpf.Presentation.Types { static class ApplicationExtensions { public static T GetResource<T>(string resourceKey, T defaultValue) where T : class { var app = Application.Current; ...
tests/M5x.Tests/SerializationTests.cs
rgfaber/m5x-sdk
2
7032751
<reponame>rgfaber/m5x-sdk using System; using System.IO; using System.Text; using System.Text.Json; using System.Xml; using System.Xml.Serialization; using M5x.Streams; using Xunit; namespace M5x.Tests; public static class SerializationTests { public record MyData { public string Name { get; set; } ...
src/Threax.AspNetCore.Halcyon.Client/HalEndpointDoc.cs
threax/AspNetCore.Swashbuckle.Convention
0
7032752
<reponame>threax/AspNetCore.Swashbuckle.Convention using Newtonsoft.Json; using NJsonSchema; using System; using System.Collections.Generic; using System.Text; namespace Threax.AspNetCore.Halcyon.Client { public class HalEndpointDoc { public HalEndpointDoc() { } /// <summary>...
src/Agile.Framework/Data/QueryRepository.cs
tianzhiyuan/agile
1
7032753
<filename>src/Agile.Framework/Data/QueryRepository.cs using System.Data; using System.Linq; using System.Text; using Agile.Common.Data; using Agile.Common.Utils; using Dapper; namespace Agile.Framework.Data { /// <summary> /// 带分页查询的数据访问 /// </summary> /// <typeparam name="TEntity"></typeparam> //...
source/LiteDbExplorer/Modules/Main/ShellMenuViewModel.cs
ihtfw/LiteDbExplorer
0
7032754
<reponame>ihtfw/LiteDbExplorer using System.ComponentModel.Composition; using System.Diagnostics; using Caliburn.Micro; using JetBrains.Annotations; using LiteDbExplorer.Framework.Shell; namespace LiteDbExplorer.Modules.Main { [Export(typeof(IShellMenu))] [PartCreationPolicy (CreationPolicy.Shared)] publ...
ElegyRAT-C-Sharp/Client/Connection/ClientSocket.cs
JIEDAWA/ElegyRAT-C-Sharp
59
7032755
using Client.Handle_Packet; using Client.Helper; using System; using System.Diagnostics; using System.IO; using System.Net.Sockets; using System.Threading; using System.Net.Security; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Net; using MessagePackLib.Messag...
src/TonSdk/Modules/Crypto/Models/Params/ParamsOfScrypt.cs
vcvetkovs/TonSdk
2
7032756
<gh_stars>1-10 namespace TonSdk.Modules.Crypto.Models { public struct ParamsOfScrypt { /// <summary> /// The password bytes to be hashed. /// </summary> /// <remarks> /// Encoded with <c>base64</c>. /// </remarks> public string Password { get; set...
Cotorra.WebAPI/Graphql/DataLoaders/OverdraftDataLoader.cs
CotorraProject/Cotorra
0
7032757
using AutoMapper; using GreenDonut; using Cotorra.Core; using Cotorra.Core.Managers; using Cotorra.Core.Utils; using Cotorra.Core.Validator; using Cotorra.Schema; using Cotorra.Schema.DTO.Catalogs; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; ...
3-Business/3-Modules/lm.Comol.Modules.CallForPapers/Domain/CallForPaper/dto/dtoCallForPaper.cs
EdutechSRL/Adevico
0
7032758
using System; using System.Collections.Generic; using System.Linq; using System.Text; using lm.Comol.Core.DomainModel; namespace lm.Comol.Modules.CallForPapers.Domain { [Serializable] public class dtoCallForPaper: dtoBase { public virtual String Name { get; set; } public virtual String Ed...
NDraw/DrawCore.cs
nothke/NDraw
29
7032759
<reponame>nothke/NDraw using System.Collections; using System.Collections.Generic; using UnityEngine; namespace NDraw { public static partial class Draw { #if NET46 internal readonly struct ColorIndex #else internal struct ColorIndex #endif { public readonly int i; ...
languages/csharp/Asm.Net.Tests/Mips.cs
errir503/asmdot
1
7032760
<gh_stars>1-10 using System.IO; using NUnit.Framework; using Asm.Net.Mips; namespace Asm.Net.Tests.Mips { [TestFixture] public class MipsTest { [Test(Description = "should assemble single addi instruction")] public void should_assemble_single_addi_instruction() { using (...
src/Common.Logging.NLog10/Logging/NLog/NLogLogger.VariablesContext.cs
tompazourek/common-logging
495
7032761
using Common.Logging.Simple; namespace Common.Logging.NLog { public partial class NLogLogger { /// <summary> /// Returns the global context for variables /// </summary> public override IVariablesContext GlobalVariablesContext { get { return new NoOpVariablesC...
dotnet/src/webdriver/Internal/AndroidOptions.cs
CoeJoder/selenium
4
7032762
// <copyright file="AndroidOptions.cs" company="WebDriver Committers"> // Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // t...
src/DotnetSpider.Extension/Infrastructure/Browser.cs
jeffrey987/DotnetSpider
1
7032763
<gh_stars>1-10 namespace DotnetSpider.Extension.Infrastructure { /// <summary> /// 浏览器类型 /// </summary> public enum Browser { /// <summary> /// Firefox /// </summary> Firefox, /// <summary> /// Chrome /// </summary> Chrome, /// <summary> /// Edge /// </summary> Edge } }
Desktop/Converters/EqualsConverter.cs
Macabresoft/GuitarTuner
3
7032764
namespace Macabresoft.GuitarTuner.Desktop; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Avalonia; using Avalonia.Data.Converters; public class EqualsConverter : IMultiValueConverter { public object Convert(IList<object?> values, Type targetType, object? para...
src/System.Web.WebPages/VirtualPathFactoryExtensions.cs
matiias/MVC
71
7032765
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Web.WebPages { internal static class VirtualPathFactoryExtensions { public static T CreateInstance<T>(this IVirtualPathFactory factory, string virtualPa...
Packages/com.unity.transport/Runtime/NetworkProtocols.cs
bouergh/topdownbossroyale
4
7032766
using System.Runtime.InteropServices; namespace Unity.Networking.Transport.Protocols { public enum UdpCProtocol { ConnectionRequest, ConnectionReject, ConnectionAccept, Disconnect, Data } [StructLayout(LayoutKind.Explicit)] public unsafe struct UdpCHeader ...
src/Solid.IdentityModel.Tokens.Saml/Saml2/ExtendedSaml2SecurityTokenHandler.cs
SOLIDSoftworks/Solid.IdentityModel
0
7032767
using Microsoft.Extensions.Options; using Microsoft.IdentityModel.Tokens; using Microsoft.IdentityModel.Tokens.Saml2; using Microsoft.IdentityModel.Xml; using Solid.IdentityModel.Tokens.Crypto; using Solid.IdentityModel.Xml; using System; using System.Collections.Generic; using System.Linq; using System.Security.Claim...
Expressions/RoundCastExpr.cs
sebastianwolff/MathExpressions
1
7032768
using System; using System.Collections.Generic; using System.Text; namespace Expressionator.Expressions { public class RoundCastExpr : Node { private readonly int _decimals; private readonly Node _expression; public int Decimals { get { return _decimals; } } public Node Expression { g...
UnitTest.TestBuilder.FakeItEasy/FakeItEasyBuilder.cs
Jacky-Mo/UnitTest.TestBuilder.FakeItEasy
1
7032769
using UnitTest.TestBuilder.Core; using UnitTest.TestBuilder.Core.Abstracts; namespace UnitTest.TestBuilder.FakeItEasy { public abstract class FakeItEasyBuilder<T> : BaseBuilder<T> { public FakeItEasyBuilder(IContainer container) : base(container, new ObjectBuilder()) { } } }
thirtparty/veldrid/Veldrid/Vk/VkSampler.cs
TeamStriked/striked3d
1
7032770
<gh_stars>1-10  namespace Veldrid.Vk { internal unsafe class VkSampler : Sampler { private readonly VkGraphicsDevice _gd; private readonly Silk.NET.Vulkan.Sampler _sampler; private bool _disposed; private string _name; public Silk.NET.Vulkan.Sampler DeviceSampler => _sa...
SchedulerBot/SchedulerBot.Business.Interfaces/Commands/IBotCommand.cs
Scheduler-Bot/scheduler-bot
0
7032771
using System.Threading.Tasks; using Microsoft.Bot.Schema; using SchedulerBot.Business.Entities; namespace SchedulerBot.Business.Interfaces.Commands { /// <summary> /// Defines a command used for the interaction between the user and the bot. /// </summary> public interface IBotCommand { /// <summary> /// Gets...
ReleaseTags/0.7/LateBindingApi.Excel/Office/XlCommandBarButtonEvents.cs
NetOfficeFw/Excel-XlLateBinding
0
7032772
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.InteropServices.ComTypes; using System.Security; using System.Security.Permissions; namespace LateBindingApi.Excel.Office { #region Event Delegates public delegate void CommandBarButtonEvents_C...
Sharpnado.CollectionView.Droid/Renderers/CollectionViewRenderer.OnControlScrollChangedListener.cs
darshanio-pratititech/Sharpnado.CollectionView
29
7032773
<reponame>darshanio-pratititech/Sharpnado.CollectionView<filename>Sharpnado.CollectionView.Droid/Renderers/CollectionViewRenderer.OnControlScrollChangedListener.cs using System; using System.Threading; using Android.Runtime; using AndroidX.RecyclerView.Widget; using Sharpnado.CollectionView.RenderedViews; namespac...
Assets/Scripts/Model/Mods/ModsList/FirstEditionPilots.cs
nickell-andrew/FlyCasual
0
7032774
namespace Mods { namespace ModsList { public class FirstEditionPilotsMod : Mod { public FirstEditionPilotsMod() { Name = "First Edition Pilots"; Description = "Tycho Celchu as Second Edition pilot"; EditionType = typeof(Edi...
src/Desktop/ArcGISRuntimeSamplesDesktop/Samples/Security/TokenSecuredServices/TokenSecuredChallenge/MainWindow.xaml.cs
david-chambers/arcgis-runtime-samples-dotnet
3
7032775
using Esri.ArcGISRuntime.Controls; using Esri.ArcGISRuntime.Security; using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; using System.Windows; namespace TokenSecuredServices { public partial class MainWindow : Window ...
.NETCore/ASP.NETCore/v5.0/AutoLot50/AutoLot.Api/Controllers/OrdersController.cs
djoshi001Personal/presentations
349
7032776
<gh_stars>100-1000 using AutoLot.Api.Controllers.Base; using AutoLot.Dal.Repos.Interfaces; using AutoLot.Models.Entities; using AutoLot.Services.Logging; using Microsoft.AspNetCore.Mvc; namespace AutoLot.Api.Controllers { [Route("api/[controller]")] public class OrdersController : BaseCrudController<Order, Or...
Assets/Scripts/EnemyController.cs
e-trp/unity2dplatformer
0
7032778
<filename>Assets/Scripts/EnemyController.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { public float enemySpeed; public Transform groundDetection; public float distance; private Rigidbody2D rb2d; private ...
Osp/Common/Ianitor.Osp.Common.Shared/DataTransferObjects/ValidationConstants.cs
ianitor/ObjectServicePlatform
0
7032779
<reponame>ianitor/ObjectServicePlatform<filename>Osp/Common/Ianitor.Osp.Common.Shared/DataTransferObjects/ValidationConstants.cs  namespace Ianitor.Osp.Common.Shared.DataTransferObjects { /// <summary> /// Constants for validation /// </summary> public static class ValidationConstants { /// <summary> ...
Assets/Scripts/Scene Management/SceneManager.cs
Revenaant/OPisOP
0
7032780
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using TouchScript.Layers.UI; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.SceneManagement; using SM = UnityEngine.SceneManagement.SceneManager; public class SceneManager : MonoBehaviour { //[Serial...
Assets/Scripts/UI/BuildingSelectUI.cs
ToTo-Mo/MLAgent-RTS-Unity
0
7032781
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BuildingSelectUI : MonoBehaviour { // 마우스 스프라이트 및 버튼 [SerializeField] private Sprite cursorSprite; private Transform cursorButton; [SerializeField] private BuildingManager buildingManager...
src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs
storm32600/Silk.NET
0
7032782
<filename>src/Vulkan/Extensions/Silk.NET.Vulkan.Extensions.KHR/KhrExternalFenceWin32Overloads.gen.cs // This file is part of Silk.NET. // // You may modify and distribute Silk.NET under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Runtime.InteropServices; using System.R...
Locker/Actions/Services/ActionService.cs
niallVR/Locker
0
7032783
<filename>Locker/Actions/Services/ActionService.cs using System.Text; using Locker.Actions.Enums; using Locker.Actions.Interfaces; using Locker.Actions.Models; using Microsoft.Extensions.Caching.Memory; namespace Locker.Actions.Services; public class ActionService : IActionService { private readonly TimeSpan _va...
NetDimension.NanUI.XP/ChromiumFX/Generated/Remote/CfxRequestRemoteCalls.cs
0XC8/NanUI
12
7032784
// Copyright (c) 2014-2015 <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, this list of con...