text
stringlengths
13
6.01M
namespace HT.Framework { /// <summary> /// 自定义模块基类 /// </summary> public abstract class CustomModuleBase : IModuleManager { /// <summary> /// 是否运行中 /// </summary> public virtual bool IsRunning { get; set; } /// <summary> /// 初始化模块 /// </summa...
using System; using System.Collections.Generic; using Whale.DAL.Models.Messages; namespace Whale.Shared.Models.Notification { public class UnreadMessageOptions { public List<UnreadMessageId> UnreadMessageIds { get; set; } public Guid ContactId { get; set; } public string SenderName { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace oopsconcepts { // --Custom Exception //1.Create a class that derives from System.Exception class.As a convention, end //the class name twith Exception suffix.All .net exceptions ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections; namespace _03.BitArray64Task { public class BitArray64 : IEnumerable<int> { private int[] bits = new int[64]; private ulong number; ...
using System; using System.Collections.Generic; using System.Text; namespace alpha { /// <summary> /// List of available Pages inside <see cref="Window.Frame"/> /// </summary> public enum ApplicationPage { /// <summary> /// Current View Displayed /// </summary> Spla...
using System; using UnityEngine; namespace Architecture.ViewModel { [Serializable] public struct BindCommand { [SerializeField] private ViewModel _viewModel; [SerializeField] private string _key; public string Key => _key; public ICommand GetCommand() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace NathanWebsiteV2.Controllers { public class TabContentController : Controller { // GET: TabContent public ActionResult Professional() { return View(); ...
using System; using System.Xml.Serialization; namespace RO { public enum AssetEncryptMode { [XmlEnum(Name = "None")] None, [XmlEnum(Name = "Encryption1")] Encryption1, [XmlEnum(Name = "Encryption2")] Encryption2 } }
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Sbidu.Data; using Sbidu.Models; using Sbidu.ViewModels; namespace S...
// // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // namespace Dnn.PersonaBar.Servers.Components { public static class Constants { internal const string UseSSLKey = "UseSSLForCacheSync"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; namespace System_Activity_monitor.Iterator { public class Iterator : IIterator { private Processes _items; private int _current = 0; private int...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Excepciones; using Archivos; namespace ClasesInstanciables { public class Jornada { #region atributos private List<Alumno> _alumnos; private Universidad.EClases _cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Libro { protected Autor _autor; protected int _cantidadDePaginas; protected static Random _generadorDePaginas; protected float _prec...
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace HashFitxers { class CompararHash { public void Main(string entrada, string fitxer) { LlegirHASH lh = new LlegirHASH(); string text = ""; try { ...
using System; using System.Collections; using System.Collections.Generic; namespace NetFabric.Hyperlinq { public static partial class ValueEnumerableExtensions { [GeneratorMapping("TSelector", "NetFabric.Hyperlinq.FunctionWrapper<TSource, TResult>")] public static SelectEnumerable<TEnumerable,...
using System; using Foundation; namespace JKMIOSApp { /// <summary> /// Class Name : Extensions. /// Author : Hiren Patel /// Creation Date : 22 JAN 2018 /// Purpose : To add exetion method for IOS /// Revision : /// </summary> public static class Extensi...
using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class GameStat { [System.Serializable] public struct CharacterSceneStat { public string scene; public string[] charId; public Vector2 position; public Vector3 camPosi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Template10.Mvvm; using Template10.Services.NavigationService; using Windows.Devices.Geolocation; using Windows.Foundation; using Windows.Services.Maps; using Windows.Storage.Streams; using Windows....
using System.Threading.Tasks; using Meziantou.Analyzer.Rules; using TestHelper; using Xunit; namespace Meziantou.Analyzer.Test.Rules; public sealed class JSInteropMustNotBeUsedInOnInitializedAnalyzerTests { private static ProjectBuilder CreateProjectBuilder() { return new ProjectBuilder() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MainProgram { class Display { // Constant Fields private const double MaxSize = 100; private const double MinSize = 1; // Fields private double size; private long co...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SSAction : ScriptableObject { public bool enable = true; public bool destory = false; public GameObject gameObject { get; set; } public Transform transform { get; set; } public ISSActionCallback callback { get; set; } ...
using FakeItEasy; using FluentAssertions; using Xunit; namespace FatCat.Nes.Tests.CpuTests { public abstract class InterruptTests : CpuBaseTests { private const int EndingProgramCounter = 0x1121; protected const int StartingCpuCycles = 14; protected const int StartingProgramCounter = 0xd1b2; protected con...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace NewsApi.DataLayer.Models { public class Category { [Key] public int CategoryId { get; set; } [Display(Name = "عنوان دسته بندی")] public string CategoryTitle { get; set; } public L...
using RollbarDotNet; using System; namespace JumpAndRun.Client { #if WINDOWS || LINUX /// <summary> /// The main class. /// </summary> public static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] privat...
using System.Collections.Generic; using System.Threading.Tasks; using MongoDB.Bson; using MongoDB.Driver; using W3ChampionsStatisticService.Ports; using W3ChampionsStatisticService.ReadModelBase; namespace W3ChampionsStatisticService.Admin { public class NewsRepository : MongoDbRepositoryBase, INewsRepository ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reactive.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows.Input; using Akavache; using Scoutworks.Annotations; using Scoutworks.Models; using Xa...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class FollowCamera : MonoBehaviour { #region Public Fields public GameObject target; // Needed to attaching the camera to an GameObject #endregion #region Private Fields private float interpVelocity; // Camera m...
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Nito.AsyncEx; using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Threading; using System....
using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Proyecto_Web.Modelos; using Proyecto_Web.Controladores; namespace Proyecto_Web.Vistas.Private.Proveedor { public partial class Proveedores : System.We...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataObject.Abstract { public abstract class Person { private string name; private string address; private string phone; private string sex; priv...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Newtonsoft.Json; using System.Net.Http; using System.IO; using GabberPCL.Models; using System.Text; namespace GabberPCL { // The Upload method does not return a custom response. class Error { [JsonProperty("message...
using Logging.Core.DataAccess; using Logging.DataAccess.Abstract; using Logging.DataAccess.Concrete.Context; using Logging.Entities.Concrete; using System; using System.Collections.Generic; using System.Text; namespace Logging.DataAccess.Concrete { public class StudentDal : EntityRepositoryBase<Student, OnlineExa...
using System; using System.Collections.Generic; using System.Text; namespace Customer.Until.Chat { class FileUtil { private enum FileType { zip,rar,xls,txt,psd,csv,doc } public FileUtil() { } public System.Drawing.Bitmap GetIconName(string...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UrTLibrary.Server.Exceptions { public class CustomException : CommandException { public CustomException(string msg) : base(msg) { } } }
using cn.bmob.api; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using cn.bmob; using System.Collections; using cn.bmob.response; using cn.bmob.io; using cn.bmob.tools; using System.Collections.Generic; using System.IO; using System.Linq; using cn.bmob.Extensions; using cn.bmob.exception; using Sy...
using System.Collections.Generic; using System.Linq; namespace _7.SpeedRacing { using System; public class Startup { public static void Main(string[] args) { var cars = new List<Car>(); var numberOfCars = int.Parse(Console.ReadLine()); for (int i = 0; i...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; using CsvHelper; namespace FpsProjectExtractor { class DataWriter { public DataWriter() { } public void Write(List<Record> rec...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI; public class TokenInteractions_SecondToken : MonoBehaviour, IPointerClickHandler { public GameObject PredecessorObj = null; public RawImage thisObj = null; pu...
using Lotus.Client.Core.Models; using System; using System.Collections.Generic; using System.Text; namespace Lotus.Client.Data.Services { public class IOService { public List<KeyString> keyStringList; private readonly IIORepository _repository; public IOService(IIORepository ioReposit...
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.Data.SqlClient; namespace DB_jay { public partial class Join : Form { publi...
using AudioToolNew.Models.Musicline; using NAudio.Wave; using Newtonsoft.Json.Linq; using Rays.Utility; using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Web;...
using CORE2; using Models.Accounts; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Accounts.Service.Contract.DTOs { public class GroupSmallDetailDTO : DTO { [JsonProperty(PropertyName = "groupId")] public string GroupId { get; set; } ...
using Ninject.Modules; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Webcorp.rx_mvvm { public class RxModule : NinjectModule { public override void Load() { Bind(typeof(IPropertyProvider<>)).To(typeof(P...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Hayalpc.Fatura.Common.Helpers.Interfaces; using System.Linq; using System.Net; using Hayalpc.Library.Common.Extensions; using Hayalpc.Fatura.Panel.External.Resources; using Hayalpc.Library.Log; using Microsoft.AspNetCore.Http; using Microsoft...
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 System.Xml; namespace lwenctools { public partial class MPEG1VideoOptionsControl : UserControl, ICodecSettingsCo...
namespace StructureAssertions.Test.TestTypes { public class ContainsStringProperty { public string Property { get; set; } } }
using System.Diagnostics; using System.Windows; using System.Windows.Input; using HandyControl.Interactivity; namespace HandyControl.Controls { public class LinkElement { public static readonly DependencyProperty LinkProperty = DependencyProperty.RegisterAttached( "Link", typeof(string), t...
using System.IO; using System.Net; using System.Runtime.Serialization; using System.Collections.Generic; using System; namespace CloudinaryDotNet.Actions { [DataContract] public class DelResResult : BaseResult { [DataMember(Name = "deleted")] public Dictionary<string, string> Deleted { get...
namespace Renting.Domain { public class Price { private readonly decimal _amount; private Price(decimal amount) { _amount = amount; } public static Price From(decimal price) { return new Price(price); } public decimal ToD...
using System.Collections.Generic; using System.IO; using Jil; using Nancy.IO; namespace Nancy.Serialization.Jil { /// <summary> /// A <see cref="ISerializer"/> implementation based on <see cref="Jil"/>. /// </summary> public class JilSerializer : ISerializer { /// <summary> /// Get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HelloWorld /* es como el apellido del programa para separar codigo */ { class Program { static void Main(string[] args) /*cuando el programa arranca ejecuta siempre la funcion...
using Mojio.Client.Linq; using Mojio.Events; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace Mojio.Client { public class MapEntity { static Dictionary<Type, string> Map = new ...
using Ninject.Modules; using WebsitePerformance.DAL.UnitOfWork; using WebsitePerformance.ContractsBetweenBLLandDAL.DAL; namespace WebsitePerformance.MyNinjectModules { public class DALModule : NinjectModule { public override void Load() { Bind<IUnitOfWork>().To<EFUnitOfWork>(); ...
using Rangic.Utilities.Preferences; namespace Radish.Support { public class RadishPreferences : BasePreferences { public RadishPreferences() { FindAPhotoHost = ""; } // Properties perisisted between sessions public string FindAPhotoHost { get; set; } ...
using System.IO; using System.Reflection; using OpenQA.Selenium.Chrome; namespace CfpExchange.FunctionalTests { public static class Drivers { private static ChromeDriver _chromeDriver; public static ChromeDriver GetChromeDriver() { if (_chromeDriver == null) { ...
 using System.Web.Mvc; using CaptchaMvc.Attributes; using DevDevDev.Infrastructure; using DevDevDev.Models; using DevDevDev.Services; namespace DevDevDev.Controllers { public class MainController : Controller { private readonly SessionSubmissionService _sessionSubmissionService = new SessionSubmission...
using MvvmCross.Platform.Plugins; namespace EsMo.Android.WeiBo.Bootstrap { public class EmailPluginBootstrap : MvxPluginBootstrapAction<global::MvvmCross.Plugins.Email.PluginLoader> { } }
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Microsoft.PowerShell.EditorServices.Protocol.DebugAdapter; using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol; using Microsoft.PowerShell.Ed...
#region License /*** * Copyright © 2018-2025, 张强 (943620963@qq.com). * * 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 r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PalmDataLayer; using System.Data.SqlClient; using System.Data; using System.Data.Sql; namespace PalmBusinessLayer { class Project { private String id; private String name; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Waypoint : MonoBehaviour { [SerializeField] private Waypoint nextWaypoint; //Devuelve la posición del waypoint actual public Vector3 GetPosition(){ return this.transform.position; } //Devuelve el siguiente punto de ...
using System; using OmniSharp.Extensions.LanguageServer.Client; using OmniSharp.Extensions.LanguageServer.Protocol.Models; namespace Lsp.Integration.Tests.Fixtures { public sealed class DefaultClient : IConfigureLanguageClientOptions { public void Configure(LanguageClientOptions options) { ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics.CodeAnalysis; namespace AcceptanceTests { [TestClass] [ExcludeFromCodeCoverage] public class DomainFacadeFitnessTests { } }
using System; using System.IO; using Serilog; using Serilog.Core; using MediatR; using Checkout.Payment.Processor.Seedwork.Models; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; using Checkout.Payment.Processor.Application.Interfaces; using...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Prototype.NetworkLobby; public class serverListObject : MonoBehaviour { public GameObject boton; public Sprite a1; public Sprite a2; public static int name = 1; public static int activo; public bool selected; // Use this...
namespace E07_SumOf_5_Numbers { using System; using System.Linq; public class SumOf_5_Numbers { public static void Main(string[] args) { // Write a program that enters 5 numbers // (given in a single line, separated by a space), // calculates and p...
namespace XShare.Services.Data { using System; using System.Collections.Generic; using System.Linq; using XShare.Data.Models; using XShare.Data.Repositories; using XShare.Services.Data.Contracts; public class CarService : ICarService { private readonly IRepository<Car> cars; ...
using DomainDrivenDesign.Common; using System; using System.Collections.Generic; namespace DomainDrivenDesign.TableOrders { public interface ITableOrderRepository { TableOrder FindTableOrder(Guid tebleOrderId); TableOrder SaveTableOrder(TableOrder tableOrder); void DeleteTableOrder(T...
namespace Triton.Game.Mapping { using ns25; using ns26; using System; using System.Collections.Generic; using Triton.Game; using Triton.Game.Mono; [Attribute38("CollectionDeckTray")] public class CollectionDeckTray : MonoBehaviour { public CollectionDeckTray(IntPtr address)...
#region Copyright and license // <copyright file="NotSameTests.cs" company="Oliver Zick"> // Copyright (c) 2016 Oliver Zick. All rights reserved. // </copyright> // <author>Oliver Zick</author> // <license> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file exce...
using System; using System.Collections.Generic; using System.Text; namespace Bussiness.Constants { public static class Messages { public static string CarAdded = "Car added successfully"; public static string CarNameInvalid = "Invalid car name!"; public static string CarsListed = "Ca...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using SkillsGardenApi.Controllers; using SkillsGardenApi.Models; using SkillsGardenApi.Repositories; using SkillsGardenApi.Repositories.Context; using SkillsGardenApi.Services; using SkillsGardenApiTests.Factory; using SkillsGardenA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _05.CompareToNeighbours { class CompareToNeighbours { static void Compare(int i, params int[] arr) { if (i < 0 || i >= arr.Length) { return; } ...
using System; using Microsoft.EntityFrameworkCore.Migrations; namespace Infrastructure.Migrations { public partial class V2 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropForeignKey( name: "FK_ProdutoCliente_Client...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Training_05 { class Program { static void Main(string[] args) { Console.Title = "Training by KeenMate"; WriteLine("Training by KeenMate | Done by Damien Clément", ConsoleColor.Gree...
using Dashboard.API.Domain.Models; using System; using System.Threading.Tasks; namespace Dashboard.API.Application.Persistence.Repositories { public interface IClientProfilesRepository { Task UpdateOrAddProfileAsync(ClientProfileModel model, Guid userId); Task<ClientProfileModel> GetProfileBy...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OpenQA.Selenium.Support.PageObjects; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; namespace InoveTeste.PageObject { class SeatSelectionPageObject { [FindsBy(How = How.Id, U...
using System.Collections.Generic; namespace Augury.Base { public interface ISpellCheck { IEnumerable<IWordSimilarityNode> Lookup(string input, int maxResults); } }
using System.Collections; using System.Collections.Generic; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; using OpenKnife.Utils; namespace OpenKnife.Utils.Tests { public class PhysicsUtilsTest { // A Test behaves as an ordinary method [Test] public void TestRan...
using System; using UnityEngine; using UnityEngine.Events; using UnityEngine.UI; [System.Serializable] public class StringArrayEvent : UnityEvent<string[]> {} public class CardCaster : MonoBehaviour { [SerializeField] Image qCard; [SerializeField] Image wCard; [SerializeField] Image eCard; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyShootOnly : MonoBehaviour { public float seconds; public float fireRate; public GameObject shot; public Transform shotSpawn1; public Transform shotSpawn2; // Use this for initialization vo...
namespace WebMarkupMin.Mvc.ActionFilters { using System; using System.IO; using System.Web; using System.Web.Mvc; using Core; using Web; using Web.Helpers; /// <summary> /// Attribute that can be added to controller methods to force content /// to be GZip encoded if the client supports it /// </summary> ...
using Orleans.Runtime; using Services.Kirjasto.Unit.Twitch.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace StreamKomponentsUnit.Twitch.Services { public class FollowerService: GrainService, IFollowerService { } }
/** * Created 02/10/2020 * By: Sharek Khan * Last Modified 02/10/2020 * By: Sharek Khan * * Contributors: Sharek Khan */ using UnityEngine; /* * CellArmour handles all the logic with the CellArmour GameObject and how it applies within the game */ public class CellArmour : MonoBehaviour { public GameObje...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Task 12 namespace SumPolynomials { class Program { static void Main(string[] args) { Console.WriteLine("Polynomials data!"); Console.WriteLine("Enter f...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class SelectionTrigger : MonoBehaviour { private SelectionManager selectionManager; //List public List<GameObject> selectedUnits = new List<GameObject>(); // V3's public Vector3 mousePositionA; public Vecto...
using Shop.BusinnesLogic.Services.Fuctory; using Shop.Data; using Shop.Data.DataModels; using Shop.Data.DTOs; using Shop.Data.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shop.BusinnesLogic.Services { public interface ITr...
using System.Threading.Tasks; namespace WooliesChallenge.Application.Interfaces { public interface IResourceService { Task<string> GetProducts(); Task<string> GetShopperHistory(); Task<string> GetTrolleyCalculation(string input); } }
using System; using NUnit; using NUnit.Framework; using OpenQA.Selenium.Chrome; using OpenQA.Selenium; using SeleniumBasic.Pages; using SeleniumBasic.Utilities; namespace SeleniumBasic.Base_Class { [TestFixture] public class Base_Class_Test:CommonDriver { //public IWebDriver driver; [Se...
using System; using System.Linq; using System.Reflection; namespace Probelms.Kattis.Com.Core { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)] public sealed class ItemAttribute : Attribute { private string name; public string Name { get { return name; } set { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.PlayerLoop; public class MusicPlayer : MonoBehaviour { private AudioSource audioSource; [SerializeField] AudioClip[] musicTracks; [SerializeField] AudioClip gameOverTrack; [SerializeField] floa...
using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Radix.Domain.RadixContext.Entities; using Radix.Domain.RadixContext.Entities.Authentication; namespace Radix.Infra.Context { public class RadixContext : DbContext { public RadixContext...
namespace LeetCode.Algorithm.Easy { public class ZigZagConversion { public static string Convert(string s, int numRows) { if (numRows <= 1 || s.Length < 3 || s.Length <= numRows) return s; string result = string.Empty; int zigSpan = numRows * 2 - 2; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TP1.Models { public class Empleado { public int Dni { get; set; } public string Apellido { get; set; } public string email {...
 namespace AvaloniaDemo.Models.Tools { public class Tool2 { } }
using System; namespace CIS4800 { public class Vector { double x; double y; double z; public Vector (double x, double y, double z) { this.x = x; this.y = y; this.z = z; } public double getX() { return this.x; } public double getY() { return this.y; } public double getZ() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IES.Resource.Model { /// <summary> /// 答题卡习题的详细信息 /// </summary> public class ExerciseAnswercardInfo : IExercise { public int ExerciseID { get; set; } publi...
namespace WebApplication1.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Firebird.I_T")] public partial class IdentifierType { [Sy...
using System; using System.Collections.Generic; using System.Text; using Modelo; using Persistencia; namespace Servico { public class AnimalServico { private AnimalDAL animalDAL = new AnimalDAL(); public IList<Animal> TodosOsAnimais() { return animalDAL.TodosOsAnimais(); ...
using System; namespace W3ChampionsStatisticService.Cache { public class CachedData<T> { private readonly Func<T> _fetchFunc; private readonly TimeSpan _cacheDuration; private readonly Func<T, bool> _cacheCondition; private readonly object _changingLock = new object(); ...