public Handler( IVsphereService vsphereService, IVmService vmService) { _vsphereService = vsphereService; _vmService = vmService; }
public Handler( IVsphereService vsphereService, IVmService vmService, IMapper mapper, IPlayerService playerService, IPrincipal principal, IPermissionsService permissionsService) : base(mapper, vsphereService, playerService, principal, permissionsService, vmService) { _vsphereService = vsphereService; }
public Handler( IVsphereService vsphereService, IPlayerService playerService, VmContext dbContext, IPermissionsService permissionsService) { _vsphereService = vsphereService; _playerService = playerService; _dbContext = dbContext; _permissionsService = permissionsService; }
public Handler( IVmService vmService, IVsphereService vsphereService, IPlayerService playerService, IViewService viewService) { _vmService = vmService; _vsphereService = vsphereService; _playerService = playerService; _viewService = viewService; }
public BaseHandler( IMapper mapper, IVsphereService vsphereService, IPlayerService playerService, IPrincipal principal, IPermissionsService permissionsService, IVmService vmService) { _mapper = mapper; _vsphereService = vsphereService; _playerService = playerService; _userId = (principal as ClaimsPrincipal).GetId(); _permissionsService = permissionsService; _vmService = vmService; }
public Handler( IVmService vmService, IMapper mapper, IVsphereService vsphereService, ILogger <Get> logger, VsphereOptions vsphereOptions, IPrincipal user, IPlayerApiClient playerClient, IPlayerService playerService, IPermissionsService permissionsService) : base(mapper, vsphereService, playerService, user, permissionsService, vmService) { _vmService = vmService; _mapper = mapper; _vsphereService = vsphereService; _logger = logger; _vsphereOptions = vsphereOptions; _user = user as ClaimsPrincipal; _playerClient = playerClient; }
private void InitScope(IServiceScope scope) { _dbContext = scope.ServiceProvider.GetRequiredService <VmContext>(); _vsphereService = scope.ServiceProvider.GetRequiredService <IVsphereService>(); _options = _optionsMonitor.CurrentValue; }