public QueueHub(IRepositoryWrapper repo, IQueueService queueService, IManageHubUser hubUser) { _repo = repo; _queueService = queueService; _hubUser = hubUser; }
public LogoutModel(SignInManager <IdentityUser> signInManager, ILogger <LogoutModel> logger, IQueueService queueService, IManageHubUser manageHubUser, IQueueHub queueHub) { _signInManager = signInManager; _logger = logger; _queueService = queueService; _manageHubUser = manageHubUser; _queueHub = queueHub; }
public RoomsController(IQueueService queueService, IRepositoryWrapper repo, IManageHubUser manageHubUser, IMapper mapper, IHubContext <QueueHub> hubContext) { _queueService = queueService; _repo = repo; _manageHubUser = manageHubUser; _mapper = mapper; _hubContext = hubContext; RoomsVM = new List <RoomsViewModel>(); }
public ManageHubUserTest() { var config = new MapperConfiguration(cfg => { cfg.AddProfile(new HubUserMappingProfile()); }); _mapper = config.CreateMapper(); var webHostBuilder = new WebHostBuilder() .UseStartup <TStartup>(); _server = new TestServer(webHostBuilder); _hubUserContext = _server.Host.Services.GetService(typeof(HubUserContext)) as HubUserContext; _manageHubUser = _server.Host.Services.GetService(typeof(IManageHubUser)) as IManageHubUser; }
public HubIntegrationTest() { var config = new MapperConfiguration(cfg => { cfg.AddProfile(new MappingProfile()); }); _mapper = config.CreateMapper(); var webHostBuilder = new WebHostBuilder() .UseStartup <TStartup>(); _server = new TestServer(webHostBuilder); _context = _server.Host.Services.GetService(typeof(IRepositoryWrapper)) as IRepositoryWrapper; _hubUser = _server.Host.Services.GetService(typeof(IManageHubUser)) as IManageHubUser; HubResponse = new QueueHubResponse(); }
public IdentityController(SignInManager <IdentityUser> signInManager, CustomUserManager userManager, IQueueHub queueHub, IManageHubUser manageHubUser, IQueueService queueService, IAntiforgery antiforgery, IUserService userService, IEmailSender emailSender) { _signInManager = signInManager; _userManager = userManager; _queueHub = queueHub; _manageHubUser = manageHubUser; _queueService = queueService; _antiforgery = antiforgery; _userService = userService; _emailSender = emailSender; }