public SearchService(UserStatusService statusService, ImageCache cache, MetaDataService metadataService, UserConfigService configService) { _configService = configService; _statusService = statusService; _imageCache = cache; _metadataService = metadataService; }
public BasketService(UserStatusService statusService, DownloadService downloadService, ImageCache imageCache) { _statusService = statusService; _imageCache = imageCache; _downloadService = downloadService; }
public void Setup() { mockUserStatusRepo = new Mock <IUserStatusRepository>(); mockUserStatusService = new Mock <IUserStatusService>(); fixture = new Fixture(); fixture.Behaviors.OfType <ThrowingRecursionBehavior>().ToList() .ForEach(b => fixture.Behaviors.Remove(b)); fixture.Behaviors.Add(new OmitOnRecursionBehavior()); userStatusService = new UserStatusService(mockUserStatusRepo.Object); }
public UserService(AuthenticationStateProvider authenticationStateProvider, RoleManager <ApplicationRole> roleManager, UserManager <AppIdentityUser> userManager, UserStatusService statusService, ConfigService configService, IAuthorizationService authService) { _authenticationStateProvider = authenticationStateProvider; _userManager = userManager; _roleManager = roleManager; _authService = authService; _statusService = statusService; _configService = configService; }
public AuthenticationService(FitnessCenterDbContext context) { _context = context; _userStatusService = new UserStatusService(_context); }
// TODO: Remember last selected image and use it for range selections etc? public SelectionService(UserStatusService statusService) { _statusService = statusService; }