public NewBlogPostCommand(IBlogSettings blogSettings, IRandomIdGenerator randomIdGenerator, IFileSystem fileSystem, IClock clock) { this.fileSystem = fileSystem; this.clock = clock; this.randomIdGenerator = randomIdGenerator; this.blogSettings = blogSettings; }
public UpdateUserPictureCommandHandler(IImageService imageService, ICurrentUserService currentUserService, IUnitOfWork unitOfWork, IRandomIdGenerator randomIdGenerator) { _imageService = imageService; currentUserService.User.TryGetUserId(out _currentUserId); _unitOfWork = unitOfWork; _randomIdGenerator = randomIdGenerator; }
public UpdateAudioPictureCommandHandler(ICurrentUserService currentUserService, IImageService imageService, IRandomIdGenerator randomIdGenerator, IUnitOfWork unitOfWork, IDistributedCache cache) { _currentUserService = currentUserService; _imageService = imageService; _randomIdGenerator = randomIdGenerator; _unitOfWork = unitOfWork; _cache = cache; }
public ApplicationDbContext(DbContextOptions options, IDateTimeProvider dateTimeProvider, IRandomIdGenerator randomIdGenerator) : base(options) { _dateTimeProvider = dateTimeProvider; }
public LightUserController(IUserService service, IRandomIdGenerator randomIdGenerator) { _service = service; _randomIdGenerator = randomIdGenerator; }
public Handler(IPlayersRepository repository, IRandomIdGenerator idGenerator, ICurrentUserProvider currentUser) { _repository = repository; _idGenerator = idGenerator; _currentUser = currentUser; }
protected PlayersTestFixtureBase() { _idGenerator = Substitute.For <IRandomIdGenerator>(); }
public TemporaryImageHostCommand(IBlogSettings blogSettings, IFileSystem fileSystem, IRandomIdGenerator randomIdGenerator) { this.blogSettings = blogSettings; this.fileSystem = fileSystem; this.randomIdGenerator = randomIdGenerator; }