text
stringlengths
13
6.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StackusingArray { internal class Stack { static readonly int max = 1000; int top; int[] stk = new int[max]; bool IsEmpty() { ...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace UMA { public abstract class TextureProcessBaseCoroutine : WorkerCoroutine { public abstract void Prepare(UMAData _umaData, UMAGeneratorBase _umaGenerator); } }
namespace Triton.Game.Mapping { using ns26; using System; using Triton.Game.Mono; [Attribute38("GamesWonSegment")] public class GamesWonSegment : MonoClass { public GamesWonSegment(IntPtr address) : this(address, "GamesWonSegment") { } public GamesWonSegment(In...
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 System.IO; namespace ReadingWritingFile { public partial class Form1 : Form { publ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading.Tasks; using HtmlAgilityPack; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using Shared.Models; namespace Api.Client { pub...
using AppDuoXF.Models; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace AppDuoXF.Interfaces { public interface ILessonService { Task<List<LessonGroup>> GetLessonsGroup(); } }
using System; using System.IO; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace Kit.WPF.Controls.CrossImage { public class CrossImageExtensions : Kit.Controls.CrossImage.CrossImageExtensions { public override Kit.Controls.CrossImage.CrossImage FromFile(FileInfo file...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: yadel_controller.proto #pragma warning disable 1591, 0612, 3021 #region Designer generated code using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global:...
/* * Copyright 2014 Technische Universität Darmstadt * * 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 appl...
using System; using ObjCRuntime; namespace Twilio.IPMessagingClient { [Native] public enum TWMClientSynchronizationStrategy : ulong { All, ChannelsList } [Native] public enum TWMClientSynchronizationStatus : ulong { Started = 0, ChannelsListCompleted, Completed, Failed } [Native] public enum T...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; using System.Xml; using System.IO; namespace PracticaXml.cs { class Program { static void Main(string[] args) { List<Persona> listaDeP...
using System.Collections; using System.Collections.Generic; using UnityEngine; ////////////////////////////////////////////////////////////////// //Created by: Daniel McCluskey //Project: CT6024 - AI //Repo: https://github.com/danielmccluskey/CT6024-AI //Script Purpose: Checks if the guard can see a player /...
 namespace KGViewer { class Category { public string Slug { get; set; } public string Name { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main() { Calculate(10, 5, 9); } static void Calculate(int a,int b, double c) { ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Whale.API.Services; using Whale.DAL.Models.Email; using Whale.Shared.Models.Email; namespace Whale.API.Controllers { [ApiController] [Route...
namespace AutoMapper.Execution { using System; public class DeferredInstantiatedResolver : IValueResolver { private readonly Func<ResolutionContext, IValueResolver> _constructor; public DeferredInstantiatedResolver(Func<ResolutionContext, IValueResolver> constructor) { ...
using System; using UnityEngine; using Random = UnityEngine.Random; namespace BehaviorScripts.ProjectileBehaviors { public class LandmineExplosion: ProjectileScript { public Vector3 position; private float explosionDuration = 0.1f; private float explosionAge = 0; private float ...
namespace EkwExplorer.Core; public interface IBooksExplorer { Task Explore(CancellationToken cancellationToken); }
namespace Heikura.Samples.DataApp.ServiceHost.Modules.MessageHandlers { using System.Net.Http; public class LoggingMessageHandler : DelegatingHandler { public LoggingMessageHandler() { } protected override System.Threading.Tasks.Task<HttpResponseMessage> SendAsync( ...
#pragma warning disable namespace AlienEngine.ASL { public abstract class TessellationControlShader : ASLShader { [In] [BuiltIn] protected readonly int gl_PatchVerticesIn; [In] [BuiltIn] protected readonly int gl_PrimitiveID; [In] ...
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Braspag.Domain.DTO { public class AdquirentesDto { [BsonRepresentation(BsonType.ObjectId)] public string _id { get; private set; } public string adquirentes { get; set; } public decimal? ...
using APIChallenge; using System.Collections.Generic; namespace DependencyInjectionSample.Models { public interface IClienteDados { void inserirCliente(Cliente cliente); List<Cliente> obterListaClientes(); Cliente obterClientePorId(long id); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BearKMPCommon { public class Network { public static int BUFFER_SIZE = 1024; public static char EOL_DELIM = '·'; public class Buffer { public byte[] data = new byte[BUFFER_SIZE]; ...
using System; using System.Collections.Generic; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace MMSdb.dbo.Tables { [Table("tbl_Physicians")] public class tbl_Physicians { [Key] public long phy_ID { get; set; } ...
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using lianda.Component; using System.Data.SqlClient; namesp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace d05_interface { public class Product : IDiscount { public string id, name; public int price; public float getDiscount() { return price * 0....
//Problem 19. Dates from text in Canada //Write a program that extracts from a given text all dates that match the format DD.MM.YYYY. //Display them in the standard date format for Canada. using System; using System.Text.RegularExpressions; using System.Globalization; namespace Problem19DatesFromTextInCanada { ...
using AutoMapper; using ImmedisHCM.Services.Core; using ImmedisHCM.Services.Identity; using ImmedisHCM.Services.Models.Core; using ImmedisHCM.Web.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.T...
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using DotNetty.Transport.Channels; using log4net; using Plus.Communication.Packets.Outgoing; using Plus.Communicat...
using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { var myList = Console.ReadLine().Split().Select(decimal.Parse).ToList(); myList.Sort(); Console.WriteLine(string.Join(" <= ", myList)); } }
using System; using System.Collections.Generic; using Acr.UserDialogs; using City_Center.Clases; using City_Center.Helper; using Xamarin.Forms; namespace City_Center.Page { public partial class DetalleRestaurante : ContentPage { private string[] ListaOpciones; public DetalleRestaurante(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpAvanzado { class Persona { public string Apellido { get; set; } = "Apellido"; public string Nombre { get; set; } = "Nombre"; public Documento DNI { get;...
//using System.Reflection; //using System.Threading.Tasks; //using Castle.DynamicProxy; //namespace Hybrid.Domain.UnitOfWorks //{ // public class UnitOfWorkInterceptor:IInterceptor // { // private readonly IUnitOfWorkManager _unitOfWorkManager; // public UnitOfWorkInterceptor(IUnitOfWorkManager u...
using LuaInterface; using RO; using SLua; using System; using UnityEngine; public class Lua_RO_RotateSelf : LuaObject { [MonoPInvokeCallback(typeof(LuaCSFunction))] public static int get_space(IntPtr l) { int result; try { RotateSelf rotateSelf = (RotateSelf)LuaObject.checkSelf(l); LuaObject.pushValue(l...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using XRTTicket.Contexts; using XRTTicket.Models.Ticket; namespace XRTTicket.DAO { public class TicketTypeDao : BaseContext<TicketType>, IUnitOfWork<TicketType> { public int Next() => DbSet.Max(x => x.TicketTypeId) +...
using System; using System.Threading; using System.Threading.Tasks; using Shunxi.Business.Enums; using Shunxi.Business.Logic.Controllers.Status; using Shunxi.Business.Logic.Devices; using Shunxi.Business.Models; using Shunxi.Business.Models.cache; using Shunxi.Business.Protocols.Helper; using Shunxi.Common.Log; names...
namespace Social_Media_Posts { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public class SocialMediaPosts { public static void Main(string[] args) { //var for reading the input; v...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.EntityFrameworkCore.TestUtilities; using Xunit; namespace Microsoft.EntityFrameworkCore.Cosmos { public class KeysWithConvertersCos...
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class MasterPage_RakeshMasterPage : System.Web.UI.MasterPage { BizCon_DB_ConnectionString con_biz = new BizCon_DB_ConnectionString(); // A...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace VocabularyApi.Models { public class Student { public Guid Id { get; protected set; } public IReadOnlyCollection<UserVocabularyWord> UserVocabularyWords { get; protected set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TicTacToe { public class Player { private string playerPiece = "n"; //METHODS //Move takes a multi-dimensional array board, and a string piece that are both ref public void Move(r...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HelperEditor.Models { public class MantenimientoPersona { List<Persona> ListaPersona = new List<Persona>() { new Persona() { Codigo =1, Nombre ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure; // R...
using System; using System.Diagnostics; using System.Threading.Tasks; namespace NetworkToolkit.Tests { public class TestsBase { public int DefaultTestTimeout = 500; // in milliseconds. public async Task RunClientServer(Func<Task> clientFunc, Func<Task> serverFunc, int? millisecondsTimeout = n...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JpaddressMultiRowSample { class AddressData { /** * 郵便番号 */ public string postal { get; set; } /** * 住所(漢字) */ publ...
using CRM.Model; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CRM.Service.Services.Interfaces { public interface IOfferService { void Insert(Offer entity); void Update(Offer entity); void Delete(Offer enti...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class MainMenu : MonoBehaviour { public void PlayGame() { SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1); } public void LearnToPlay() ...
using System; using System.Collections.Generic; #nullable disable namespace APIpoc.Models { public partial class TblProductImage { public int Id { get; set; } public int ProductId { get; set; } public string ImageName { get; set; } public string Src { get; set; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using IdentityModel.Client; using ImageGallery.API.Client.Console.Classes; using ImageGallery.API.Client.Service.Classes; using ImageGallery.API.Client.Servic...
using System; using System.Collections.Generic; using System.Text; namespace KekManager.Domain { public class Subject { public int Id { get; set; } public string Name { get; set; } public int? SupervisorId { get; set; } public ResearchFellow Supervisor { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Excel = Microsoft.Office.Interop.Excel; using System.Diagno...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DataLayer; namespace RemindMyPassword { public partial class Login : BasePage { protected void Loginbtn_Click(object sender, EventArgs e) { ...
namespace Smart.Mock.Data.SqlServer; using Microsoft.SqlServer.TransactSql.ScriptDom; public static class MockExtensions { public static ValidateResult ValidateSql(this MockDbCommand command) { return ValidateSql(command, DefaultParser.Create()); } [System.Diagnostics.CodeAnalysis.SuppressMes...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class MonsterSpawnPoint : MonoBehaviour { MonsterManager monsterManager; public string grade; [SerializeField, Tooltip("디버깅용")] string monsterToSpawn; private void OnTriggerEnter2D(Collider2D _collision) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WeSeBoGe { public static class Prompt { public static string ShowDialog(string text, string caption) { Form prompt = new Form();...
using UnityEngine; using System.Collections; public class Bala : MonoBehaviour { //Creamos una objeto llamado proyectil public GameObject proyectil; //Creamos un vector llamado fuerza con valor x 0 y y 1000 public Vector2 fuerza = new Vector2(0,1000); Rigidbody2D rg; // Use this for initialization void Start...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Triangle.Test { [TestClass] public class TriangleTest { [TestMethod] [ExpectedException(typeof(ArgumentException), "Side can't be less than 0.")] public void ConstructBySides_Should_ThrowException_When_Side...
using System; using System.Collections.Generic; namespace Practical_Assignment { public class Repository { Database db = null; protected static Repository repo; static Repository() { repo = new Repository(); } protected Repository() { db = new Database(Database.DatabaseFilePath); } #region ...
using System; using System.Reflection; namespace ODataQuery.Nodes { static class StringFunc { private static readonly MethodInfo contains = typeof(string).GetMethod(nameof(string.Contains), new[] { typeof(string) }); public static FunctionNode Contains(Node @string, Node value) => new FunctionNode(con...
// Copyright 2019 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Atendimento_V2 { class Senhas { //atributos private int proximoAtendimento; private Queue<Senha> filaSenhas; //própriedades getter e sett...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIController : MonoBehaviour { //UI界面 public GameObject UIVisual; //物体和玩家之间的最大UI可见距离 [SerializeField] private float mMaxDistanceForUI=1; /// <summary> /// 必须设置的函数 /// </summary> public voi...
namespace ns13 { using System; using System.Runtime.CompilerServices; [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] internal sealed class Attribute25 : Attribute { [CompilerGenerated] private string string_0; public Attribute25() { ...
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.ModelConfiguration; namespace ORMHandsOn { public class StudentConfiguration : EntityTypeConfiguration<Student> { public StudentConfiguration() { ToTable("Students"); Property(s => s.Id).HasCo...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TipsGenerator : MonoBehaviour { public int intTip; public enum endCondition { PressB, PressA, ScopeAndShoot, ScopeAndShootBrambles, EnumShoot, Move, Dash...
using System; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; namespace PICSimulator.View { /// <summary> /// Interaction logic for RegisterBox.xaml /// </summary> public partial class RegisterBox : UserControl { public delegate void RegisterSelChangedEvent(uint reg);...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Console2.From_026_To_050 { /* Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path. Note: You can only move either...
// *** WARNING: this file was generated by pulumigen. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; namespace Pulumi.Kubernetes.Types.Ou...
using System.Collections; using UnityEngine; using UnityEngine.Events; public enum ObstacleSize { None = 0, VeryLow, Low, Medium, High, VeryHigh, Above1, Above2, Above3, Above4, Above5, Above6 } [System.Serializable] public class CapsuleColliderProperties...
//------------------------------------------------------------------------------ // The contents of this file are subject to the nopCommerce Public License Version 1.0 ("License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at http://www.nopCommerce.com/Lic...
using System; using System.Collections.Generic; using System.Collections.Concurrent; using System.Linq; using System.Text; namespace PIT_Server { public static class Database { static Dictionary<string, Character> _chars; public static void Init() { _chars = new Dictionary<...
using System; using System.Collections.Generic; using System.Text; namespace FastSQL.Sync.Core.Enums { [Flags] public enum EntityType { Connection = 1, Entity = 2, Attribute = 4, Transformation = 8, Exporter = 16, PullResult = 32, Pull...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class Player : PhysicsObject { [Header("Attributes")] //Attributes private int maxHealth = 100; [SerializeField] private float maxSpeed = 1f; [...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using System.Net.Sockets; using System.Threading; using System.IO; namespace Server_Computer { public partial cl...
using System; using System.Collections.Generic; namespace RestApiEcom.Models { public partial class TRCBatimentContribuable { public int AbcId { get; set; } public int? AbcContId { get; set; } public int? AbcBatId { get; set; } public DateTime? AbcDate { get; set; } pub...
namespace GameStoreApp.Data { using Microsoft.EntityFrameworkCore; public class TemplateDbContext : DbContext { public DbSet<User> Users { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder builder) { builder.UseSqlServer(@"Server=BALTSERVER\SQLEXPRESS;...
// Author: 陈旭东 // Create date: 2015-4-8 // Description: 这个一般处理程序专门处理老师的事件方法 using System.Web; using System.Data; using System.Web.SessionState; using System; using System.Text; using System.Collections.Generic; using XGhms.Helper; using System.Collections; namespace XGhms.Web.Handles { /// <summary> /// Teach...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MegaCalculator { public class ValueNode : INode { private double _value; public ValueNode(double val) { _value = val; } public double GetValue() { ...
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace kamidori_asm { class CustomBinaryReader { BinaryReader file; Char[] data; bool atEOF = false; public long Length = 0; public long Position = 0; public CustomBinaryRe...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using System.Linq; using dojoTest.Models; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; namespace dojoTest.Controllers { public class HomeCon...
using System; using System.Windows; using System.Windows.Media; using System.Windows.Controls; using Hearthstone_Deck_Tracker.Plugins; using Hearthstone_Deck_Tracker.API; namespace HDT_QoL { public class MainPlugin : IPlugin { private MainOverlay _overlay; private InputManager _inputManager; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; using C1.Win.C1FlexGrid; using QTHT.BusinesLogic; using HoaDonDataAccess.DataAccess; using HoaDonDataAccess.BusinesLogic; using DanhMuc...
using System.ComponentModel.DataAnnotations; using HacktoberfestProject.Web.Models.Entities; namespace HacktoberfestProject.Web.Models.DTOs { public class Project { public Project() { } public Project(ProjectEntity projectEntity) { RepoName = projectEntity.RepoName; Owner = projectEntity.Owner; Url =...
/*********************** @ author:zlong @ Date:2015-01-08 @ Desc:业务招待管理实体 * ********************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DriveMgr.Model { public class BusinessEntertainModel { #region Model private int _id; p...
using stottle_shop_api.Products.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace stottle_shop_api.Products.Repositories { public interface IWriteProducts { Task InsertAsync(IEnumerable<Product> products); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TiendaCarros { class inicio { private string placas; private string marca; private string modelo; private string telefono; private...
using System; using OpenTK; using OpenTK.Graphics.OpenGL4; namespace ShadowMap { public class FrameBufferManager { #region main framebuffer public int MainDepthMapBufferObject { get; set; } public int MainDepthMapBufferTextureId { get; set; } public int MainRenderBufferObject {...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Tilemaps; public class TileMapVisualiser : MonoBehaviour { [SerializeField] private Tilemap floorTileMap, wallTileMap; [SerializeField] private TileBase floorTile, wallTop; public void pa...
using System; using System.Collections.Generic; using System.Linq; namespace GenerateNorthwindDBContext { public class GenerateNorthwindDBContext { private const int ShippingYear = 1997; private const string ShippingCountry = "Canada"; #region Task3. // Task 03. Write a method...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FakeDataAccess { public class DataAccess { List<Ogrenci> ogrenciListesi = new List<Ogrenci>(); public DataAccess() { //Bir listeye değerler doldurs...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Media; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Sokoban { public partial class Menu : Form { ...
using OpenQA.Selenium; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace Applitools.Framework { public static class Extensions { public static bool Exists(this IWebDriver driver, By by) { return driver.FindElements(by).Count > 0; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BPiaoBao.AppServices.ConsoContracts.DomesticTicket.DataObjects { public class ConsoOrderCoordination { public int Id { get; set; } /// <summary> /// 协调日期 /// </summary> publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CXO.ProgrammingAssignments.ORM.Models { public class DefterosDbObject : DbObject { public DefterosDbObject(object obj) : base(obj) { } protected overri...
using System; using System.Collections.Generic; namespace SingletonPattern.Models { public class RegisterNote { private static RegisterNote _registerNote = new RegisterNote(); public List<string> Histories { get; set; } = new List<string>(); // Make Constructor private private...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // using System.Collections.Generic; using Newtonsoft.Json; namespace Dnn.PersonaBar.SiteSettings.Services.Dto { [JsonObject] public class UpdateTra...
using LibSelection; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace RgxCTests { [TestClass] public class RegexTest { [TestMethod] ...
using System; using System.Linq; using Moq; using Selenite.Commands.Implementation; using Selenite.Services; using Selenite.Services.Implementation; using Xunit; using Xunit.Extensions; namespace Selenite.Tests.Services { public class TestCollectionServiceTests { public const string Test = @"{ ""Ena...
using Grupo5_Hotel.Datos; using Grupo5_Hotel.Entidades.Entidades; using Grupo5_Hotel.Entidades.Excepciones; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Grupo5_Hotel.Negocio { public static class HotelServicio { private s...
using bot_backEnd.DAL.Interfaces; using bot_backEnd.Data; using bot_backEnd.Models; using bot_backEnd.Models.ViewModels; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace bot_backEnd.DAL { ...