text
stringlengths
13
6.01M
using FluentAssertions; using NUnit.Framework; using System; using System.Globalization; using System.Net; using System.Net.Mail; using System.Threading; namespace EasyConsoleNG.Tests { [TestFixture] public class EasyConsoleInputTest_Email { private TestEasyConsole console; [SetUp] ...
namespace ServiceQuotes.Application.Helpers { public class AppSettings { public string Secret { get; set; } public string PaynowApiUrl { get; set; } public string PaynowApiKey { get; set; } public string PaynowApiSignatureKey { get; set; } } }
using Avalonia; using Avalonia.Controls; using Avalonia.Markup.Xaml; using System.Collections.Generic; using System.Linq; using Toope_Varastonhallinta.Mallit; namespace Toope_Varastonhallinta { public partial class MainWindow : Window { public ListBox Tuotelista = new ListBox(); public ListBox ...
using System; using System.Collections.Generic; using System.Text; namespace BassClefStudio.GameModel.Graphics.Commands.Turtle { /// <summary> /// An enum defining the types of fills a <see cref="IGraphicsCommand"/> shape can have. /// </summary> [Flags] public enum FillMode { /// <sum...
using Discord.WebSocket; using JhinBot.DiscordObjects; using JhinBot.Utils; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace JhinBot.Services { public class GreetService : IGreetService { private const string pattern = "%user%"; private readonly DiscordSocketClient...
using System.Threading.Tasks; using SFA.DAS.CommitmentsV2.Shared.Interfaces; using SFA.DAS.ProviderCommitments.Web.Models; namespace SFA.DAS.ProviderCommitments.Web.Mappers; public class BaseDraftApprenticeshipRequestFromChoosePilotStatusViewModelMapper : IMapper<ChoosePilotStatusViewModel, BaseDraftApprenticeshipRe...
namespace Assets { using UnityEngine; public class PlayerInput : MonoBehaviour { public RectTransform Limits; public float Speed = 10f; // Update is called once per frame protected virtual void LateUpdate() { var dx = Input.GetAxis("Horizontal") * Speed...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameManagerScript : MonoBehaviour { void Update () { if (Input.GetKeyDown(KeyCode.F1)) //Debug key to restart { Restart(); } } public void Rest...
using ClearBank.DeveloperTest.Services; using ClearBank.DeveloperTest.Types; using FluentAssertions; using Xunit; namespace ClearBank.DeveloperTest.Tests { public class BacsPaymentValidationShould { private readonly Account _account; private readonly MakePaymentRequest _makePaymentRequest; ...
using System; delegate void newdelegate (); namespace _06.委托 { class Program { public static void todosomething () { System.Console.WriteLine ("我是委托"); } static void Main (string[] args) { newdelegate dosomething = new newdelegate (todosomething); dosom...
namespace _13._MagicExchangeableWords { using System; using System.Collections.Generic; public class Startup { public static void Main() { string[] words = Console.ReadLine().Split(' '); HashSet<char> firstWord = new HashSet<char>(words[0]); HashSet<...
using Newtonsoft.Json.Linq; using Tomelt.Layouts.Elements; using Tomelt.Layouts.Framework.Elements; namespace Tomelt.Layouts.Services { public interface IElementSerializer : IDependency { Element Deserialize(string data, DescribeElementsContext describeContext); string Serialize(Element element); ...
using System; using System.Collections; using System.Management; namespace gView.Framework.Sys.UI { internal class SystemInfo { #region -> Private Variables public bool UseProcessorID; public bool UseBaseBoardProduct; public bool UseBaseBoardManufacturer; public bool U...
// Copyright 2013-2020 Serilog Contributors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; namespace Kingdee.CAPP.Model { [Serializable] public class ImageObject { /// <summary> /// 图片路径 /// </summary> [XmlAttribute("ImagePath")] public st...
using Library.DataTransferObjects.Enum; using System; using System.Collections.Generic; using System.Text; namespace Library.DataTransferObjects.Filters { public class UserFilterDto { public int? UserId { get; set; } public string PartialName { get; set; } public AppRoleCode? RoleCode ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OcenaKlientow.Model.Models { public class Platnosc { [Required] public string DataWymag { get; set; } public strin...
namespace Domain.Models.Query { public class UserDetailsModel { public string FName { get; set; } public string LName { get; set; } public string DOB { get; set; } public string PhotoName { get; set; } public string PhotoPath { get; set; } public string DocName {...
using System.Collections.Generic; namespace SortAlgorithm { /// <summary> /// 【归并排序】 /// 归并(Merge)排序法是将两个(或两个以上)有序表合并成一个新的有序表,即把待排序序列分为若干个子序列, /// 每个子序列是有序的。然后再把有序子序列合并为整体有序序列。 /// 稳定 时间复杂度 O(nlogn) 空间复杂度 O(n) /// </summary> public class MergeSort : SortBase { p...
using System; using System.Collections.Generic; namespace CrossRoads { class Program { static void Main(string[] args) { Queue<string> queueOfCars = new Queue<string>(); int greenLightDuration = int.Parse(Console.ReadLine()); int freeWindowDuration = int.Pa...
 namespace CustomAppender { public interface INamedDocument { string Id { get; set; } } }
using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Ink; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace ProyectoSCA_Navigation.Clases { public...
using Alabo.Data.People.Counties.Domain.Entities; using Alabo.Domains.Repositories; using MongoDB.Bson; namespace Alabo.Data.People.Counties.Domain.Repositories { public interface ICountyRepository : IRepository<County, ObjectId> { } }
using System; using System.Collections.Generic; using Kattis.IO; public class Program { struct frameSpan{ public frameSpan(int n, int x){ this.n = n; this.x = x; } public int n; public int x; } static public void Main () { Scanner scanner = new Scanner(); BufferedStdoutWriter w...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditor.ProjectWindowCallback; using System.Text; using System.IO; public class DoCreateScriptAsset : EndNameEditAction { public override void Action(int instanceId, string pathName, string resourceFile) ...
using Microsoft.Extensions.DependencyInjection; using SimplySqlSchema.MySql; namespace SimplySqlSchema { public static class MySqlExtensions { public static IServiceCollection AddMySqlSupport(this IServiceCollection services) { return services .AddScoped<IConnection...
using AbiokaScrum.Api.IoC; using System; using System.Web; using System.Web.Http; using System.Web.Http.Dispatcher; namespace AbiokaScrum.Api { public class Global : HttpApplication { protected void Application_Start(object sender, EventArgs e) { GlobalConfiguration.Configure(WebApiConfi...
namespace CheckIt.Tests.CheckAssembly { using Xunit; public class CheckInterfaceName { public CheckInterfaceName() { AssemblySetup.Initialize(); } [Fact] public void Should_check_name_for_all_interface() { Check.Interfaces().FromAsse...
namespace HotelBookingSystem.Data { using Interfaces; public class HotelBookingSystemData : IHotelBookingSystemData { public HotelBookingSystemData() { this.RepositoryWithUsers = new UserRepository(); this.RepositoryWithVenues = new Repository<IVenue>(); ...
using HtmlAgilityPack; using SDU.ObsApi.Client.Core; using SDU.ObsApi.Client.Entities; using SDU.ObsApi.Client.Exceptions; using SDU.ObsApi.Client.Helpers; using System; using System.IO; using System.Net; using System.Net.Http; using System.Reflection; using System.Threading.Tasks; namespace SDU.ObsApi.Client.Manager...
namespace DatabaseManagement.EnvDte { internal class ProjKinds { internal const string vsProjectKindSolutionFolder = "{66A26720-8FB5-11D2-AA7E-00C04F688DDE}"; } }
using System; using System.Collections.Generic; using Kattis.IO; public class Program { static readonly string[] code = {"apa", "epe", "ipi", "opo", "upu"}; static string decode(string s){ for(int i = 0; i < code.Length; i++){ s = s.Replace(code[i], (string)code[i].Substring(0, 1)); ...
using System; using System.Text; using TcpLib; namespace SimpleServer { class MyServiceProvider : TcpServiceProvider { private FileRecordHandler _recordHandler = null; public override object Clone() { return new MyServiceProvider(); } public override void ...
using Microsoft.AspNetCore.Blazor.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.JSInterop; using System; using System.Threading; using System.Threading.Tasks; namespace JSRuntimeRepro { public class Startup { public void ConfigureServices(IServiceCollection services) ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Mvc; namespace SupplianceStore.Domain.Entities { public class Review { [HiddenInput(DisplayValue = false)] ...
using NBatch.Main.Readers.FileReader; namespace NBatch.ConsoleDemo { public class ProductMapper : IFieldSetMapper<Product> { public Product MapFieldSet(FieldSet fieldSet) { return new Product { ProductId = fieldSet.GetInt("ProductId"), ...
using FirstFollowParser; using System; namespace LL1Parser { class Program { static void Main(string[] args) { GrammarParser grammar = new GrammarParser(@"C:\Users\darkshot\source\repos\LL1Parser\ParserTests\Sample5.in"); grammar.parse(); var table = new Par...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using UserStore.DAL.EF; using UserStore.DAL.Entities; using UserStore.DAL.Interfaces; namespace UserStore.DAL.Repositories { public class ArticleRepository:IRepository<Arti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelloWorldBusinessLayer { public class HelloWorldBusinessLayer { public string getHelloWorld() { HelloWorldDataLayer.HelloWorldDataLayer database = new Hell...
using System.Xml.Linq; namespace EngageNet.Data { public class ContactEmailAddress { public string Type { get; private set; } public string EmailAddress { get; private set; } public static ContactEmailAddress FromXElement(XElement xElement) { return new ContactEmailAddress { Type ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Net; using System.Net.Http; using System.Text; namespace Democlass { public class ePAHelpers { /// <summary> /// Get X-Authorization Token Methods /// </summary> ...
using System; using System.Collections.Generic; using BepInEx; using BepInEx.Configuration; using HarmonyLib; using UnityEngine; namespace Karenia.IoLipsync { [BepInEx.BepInPlugin(guid, "IOLipsync", "0.1.0")] public class Hook : BaseUnityPlugin { private const string guid = "cc.karenia.iolipsync";...
using UnityEngine; using UnityEditor; using Ardunity; [CustomEditor(typeof(ColliderReactor))] public class ColliderReactorEditor : ArdunityObjectEditor { SerializedProperty script; void OnEnable() { script = serializedObject.FindProperty("m_Script"); } public override void OnInspectorGUI() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Security; using StartWebSiteEnglish.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin; using Mic...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TenmoServer.DAO; using TenmoServer.Models; namespace TenmoServer.Controllers { [Route("[controller]")] ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace AdventurousContacts.Models.Repository { public class Repository : IRepository { private bool _disposed = false; private AdventureWorksEntities _entities = new AdventureWorksEntities(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Linq; using System.Web; using System.IO; namespace PROnline.Src { public class Config { public static String root = "Config\\base\\config.xml"; public static String filePath = ""; publi...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; namespace GlobalConnectionInApp1.Util { class DbHelper { public static string connetionString = @"Data Source=TIFALAB\MSSQL16;Initial Catalog=School;Trusted_Connection=true;"; s...
using Tomelt.Templates.Models; namespace Tomelt.Templates.ViewModels { public class ShapePartViewModel { public string Template { get; set; } public RenderingMode RenderingMode { get; set; } } }
using System; namespace Reactive.Flowable.Subscriber { public interface ISubscriber<in T> : ISubscription, IDisposable { // // Summary: // Notifies the observer that the provider has finished sending push-based notifications. void OnComplete(); // Summary: ...
using System; namespace DevFitness.ConsoleApp.Refeicoes { public class Refeicao { #region Atributos public string Descricao { get; private set; } public int Calorias { get; private set; } public decimal Preco { get; private set; } #endregion /// <summary> ...
using System.Configuration; namespace Gibe.CacheBusting.Config { public class CacheBustingSection : ConfigurationSection { [ConfigurationProperty("manifests", IsRequired = true)] public ManifestElementCollection Manifests => (ManifestElementCollection) base["manifests"]; } [ConfigurationCollection(typeof(M...
using HTB.v2.intranetx.util; namespace HTB.v2.intranetx.permissions { public class PermissionsADStatistic { public bool GrantReports { get; set; } public PermissionsADStatistic() { GrantReports = false; } public void LoadPermissions(int us...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SongsDB; namespace MediaInfo { //The Event Handler declaration public delegate void NewSon...
using Microsoft.Practices.EnterpriseLibrary.Data; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Data; using System.Data.Common; using System.Linq; using System.Web; namespace TestTutorial101 { public class SqlHelper { #region "Variables" Da...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using OnDemand.ObjectModel.Managers; using OnDemand.ObjectModel.Models; namespace ClientService.Controllers { [Route("api/items")] public class ItemController : Controller { ...
using AbiokaScrum.Authentication; using System; namespace AbiokaScrum.Api.Authentication { public class Context { private static readonly string contextName = "_AbiokaContext_"; public Context() { ContextHolder.SetData(contextName, this); } public ICustomPrincipal...
using System.Collections.Generic; using Audiotica.Data.Collection.SqlHelper; namespace Audiotica.Data.Collection.Model { public class Artist : BaseEntry { public Artist() { Songs = new List<Song>(); Albums = new List<Album>(); } public string ProviderId...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ProjectEuler25 { class Program { static void Main(string[] args) { //What is the first term in the Fibonacci sequence to contain 1000 digits? U...
namespace AutoTests.Framework.TestData.Entities { public class ResourceFileLocation { public string Directory { get; } public string Extension { get; } public ResourceFileLocation(string directory, string extension) { Directory = directory; Extension = ...
using System; using System.Collections.Generic; using System.Text; namespace CourseHunter_58_Params { public class Calculator { public double Average (int[] numbers) { double summ = 0; foreach (var item in numbers) { summ += item; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Runtime.InteropServices; namespace PROnline.Src { public class SMS { [DllImport("sms.dll", EntryPoint = "Sms_Connection")] public static extern uint Sms_Connection(string CopyRight, u...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using NewRimLiqourProject.Migrations; namespace RimLiqourProject.Models { [Bind(Exclude = "ProductID")] public class Products {...
using System; using System.Collections.Generic; namespace Generic.Data.Models { public partial class TblPaymentRequestDetails { public int PayReqDetId { get; set; } public int PayReqMasterId { get; set; } public string Description { get; set; } public string GlaccountCode { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LightingBook.Tests.Api.Dto.Dto.GetItinerary.Response.Hotel { public class Hotel { public Location Location { get; set; } public DateTime DateFrom { get; set; } ...
namespace HT.Framework.AI { /// <summary> /// A*搜寻规则 /// </summary> public abstract class AStarRule { /// <summary> /// 应用规则 /// </summary> public abstract void Apply(AStarNode node); } }
using System; using System.Html; using System.Net; using jQueryApi; using SportsLinkScript.Shared; using System.Serialization; using System.Collections; using SportsLinkScript.Pages; namespace SportsLinkScript.Controls { public class Calendar : PotentialOffers { public Calendar(Element element) ...
using Properties.Core.Interfaces; using Properties.Core.Objects; namespace Properties.Infrastructure.Data.Mappers { public class VideoMapper : IMapToExisting<Video,Video> { public bool Map(Video source, Video target) { target.MarkClean(); target.VideoType = source.Vide...
using RLNET; namespace ConsoleApp6.Core { public static class Colors { public static RLColor FloorBackground = RLColor.Black; public static RLColor Floor = Swatch.DbVegetation; public static RLColor FloorBackgroundFov = Swatch.DbDark; public static RLColor FloorFov = Swatch.DbG...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Caesar_Cipher_Algorithm_By_Csharp { public partial class Form3 : Form { public...
using System.Collections; using UnityEngine; namespace Assets.Scripts.Ui { public class View : MonoBehaviour { public bool IsShowing { get; protected set; } protected GameManager GameManager; public virtual void Init(GameManager gameManager) { GameManager = gameMa...
using System; using System.Windows.Forms.VisualStyles; using Autofac; using Tests.Pages.ActionID; using Framework.Core.Common; using NUnit.Framework; using Tests.Data.Oberon; using Tests.Pages.Oberon.Contact; using Tests.Pages.Oberon.CustomFields; using Tests.Pages.Oberon.Dashboard; using OpenQA.Selenium; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LeetCode { /// <summary> /// 各种排序算法 /// </summary> class Sort { //static void Main(string[] args) //{ // int[] arr = { 5, 7, 1, 8, 4 }; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Spawner1 : MonoBehaviour { public GameObject Jeep; public Semaforo semaforo; // Start is called before the first frame update void Start() { InvokeRepeating("GenerarCarro", 1, 2); } // Upda...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Raven.Client.Embedded; using Raven.Client; using DemoApp.Persistence.Common; namespace DemoApp.Persistence.RavenDB { /// <summary> /// I decided to use RavenDB instead of SQL, to save people having to have SQL Server, ...
namespace Igorious.StardewValley.ShowcaseMod.Core { public sealed class DepthProvider { private float _initialDepth; private readonly float _step; public DepthProvider(float initialDepth, float step = 0.0000001f) { _initialDepth = initialDepth; _step = st...
using System; using System.IO; namespace Wheel.Util.FileSystem { /// <summary> /// Utilitario de reflexión de WheelFramework. /// </summary> /// <remarks> /// <para> /// <h2 class="groupheader">Registro de versiones</h2> /// <ul> /// <li>1.0.0</li> /...
using UnityEngine; public class ThirdPersonCamera : MonoBehaviour { public GameObject Target; public float Distance = 10.0f; public float Height = 10.0f; void Update() { var pos = Target.transform.position - Target.transform.forward * Distance; p...
using System; namespace Odev { internal class Program { private static void Main(string[] args) { Products products1 = new Products(); products1.ProductName = "Keyboard"; products1.productPrice = 350; products1.ProductStockAmount = 150; ...
 using Caelum.Banco.CustomInterfaces; namespace Caelum.Banco.Contas { class TotalizadorDeTributos { public double Total { get; private set; } public void Acumula(ITributavel conta) { // Com a Interface garantimos que o objeto passado em conta terá o método CalculaTributo, nesse exempl...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Wisp_Health : MonoBehaviour { public int health = 3; private int r = 255; private float flashTimer = 5; private float deathTimer = 0; // Update is called once per frame void Update() { flas...
using System.Collections.Generic; using System.Data.Entity; namespace Common { public static class ValidationHelper { public static IEnumerable<string> ExtractValidationMessages(DbContext context) { var errors = context.GetValidationErrors(); foreach(var error ...
using Backend.Model; namespace PatientWebAppTests.CreateObjectsForTests { public class CreateSurveyResult { public SurveyResult CreateInvalidTestObject() { return new SurveyResult("Rated item", 7, 1, 0, -3, 4, 0); } public SurveyResult CreateValidTestObject() ...
using System.Windows; namespace CODE.Framework.Wpf.Mvvm { /// <summary>Indicates that the object implementing this interface can provide a reference to an associated view</summary> public interface IHaveViewInformation { /// <summary>Reference to the associated view object</summary> UIElem...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace PropertyGridExample.PropertyClasses { class PropertyTextField { String m_TextField; [Browsable(true)] [Description("Example of text field")] [DisplayName...
using BookApi.Application.Services; using BookApi.Application.ViewModels.Books; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BookApi.Web.Controllers.V1 { [ApiVersion("1.0")] public class BooksController : ApiBaseCont...
namespace ForumSystem.Web.Tests.Routes { using ForumSystem.Web.Controllers; using MyTested.AspNetCore.Mvc; using Xunit; public class HomeControllerTests { [Fact] public void GetPrivacyShouldBeRoutedCorrectly() => MyRouting .Configuration() ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ComponentModel.DataAnnotations; namespace PROnline.Models.Service { //视讯服务器 public class Servers { //服务器ID public int ServersID { get; set; } //服务器名称,可以使用学校名称,便于关联 ...
using System; namespace gView.Interoperability.GeoServices.Rest.Reflection { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class ServiceMethodAttribute : Attribute { public ServiceMethodAttribute(string name, string method) { this.Name = name; ...
using System; using System.Collections.Generic; using System.Linq; using ILogging; using ServiceDeskSVC.DataAccess; using ServiceDeskSVC.DataAccess.Models; using ServiceDeskSVC.Domain.Entities.ViewModels; namespace ServiceDeskSVC.Managers.Managers { public class NSUserManager:INSUserManager { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace MetaDslx.Core { public class ModelList<T> : ModelCollection, IList<T> where T: class { private List<T> items; public ModelList(ModelObject owner, ModelProperty own...
using System; namespace algorithmscsharp { public class RecursiveMultiplication { public static string GetProduct(string number1, string number2) { var len1 = number1.Length; var len2 = number2.Length; if (len1 <= 1 && len2 <= 1) { double.TryParse(number1, out double number1Double); double.T...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Ecom.DataModel; namespace ECom.Abstraction.Repository { interface ICustomerRepository { IEnumerable<Customer> GetAllCustomers(); void Add(Customer entity); void Del...
namespace Sentry.Tests.Infrastructure; public class DiagnosticLoggerTests { [Fact] public void StripsEnvironmentNewlineFromMessage() { var logger = new FakeLogger(SentryLevel.Debug); logger.LogDebug("Foo" + Environment.NewLine + "Bar" + Environment.NewLine); Assert.Equal(" Debug: F...
using System; using System.Runtime.InteropServices; using System.Security; using System.Text; namespace CM_App_Creator { internal static class NativeMethods { [System.Runtime.InteropServices.DllImport("kernel32.dll", SetLastError = true, CharSet = System.Runtime.InteropServices.CharSet.Unicod...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Threading.Tasks; namespace WebQz.Repository { public class QuestionsRepository : IQuestionsRepository { private List<Models.Questions> questions = new(); public Quest...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public enum orderType { per, mid, last } public class leecodeBstTree : MonoBehaviour { // Start is called before the first frame update void Start() { BST<int,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Better10Hearts { class ModConfig { public int NPCStaminaIncrease { get; set; } = 20; public int SpouseStaminaIncrease { get; set; } = 40; } }
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using UnityEditor; public class YpMinionMovesTowardsPlayer { private GameObject ypMinion = AssetDatabase.LoadAssetAtPath<GameObject>("Assets/Prefabs/YPMinion.prefab"); private Game...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Entidades { /// <summary> /// Contiene los posibles tipos de productos /// </summary> public enum ETipo { alimento, juguete, cama, cuidado ...