public IssueManager(IIssueRepository issueRepository, IGuidProxy guidProxy, IDateTimeProxy dateTimeProxy) { _issueRepository = issueRepository; _guidProxy = guidProxy; _dateTimeProxy = dateTimeProxy; }
/// <exception cref="ArgumentNullException"> /// <paramref name="serverImagesPath"/> or /// <paramref name="archiveDirectoryPath"/> or /// <paramref name="contextFactory"/> or /// <paramref name="dateTimeProxy"/> or /// <paramref name="activatorProxy"/> is <see langword="null" />.</exception> internal UpdateService(string serverImagesPath, string archiveDirectoryPath, IDbContextFactory <UpdateDbContext> contextFactory, IDateTimeProxy dateTimeProxy, IActivatorProxy activatorProxy) { if (serverImagesPath == null) { throw new ArgumentNullException("serverImagesPath"); } if (archiveDirectoryPath == null) { throw new ArgumentNullException("archiveDirectoryPath"); } if (contextFactory == null) { throw new ArgumentNullException("contextFactory"); } if (dateTimeProxy == null) { throw new ArgumentNullException("dateTimeProxy"); } if (activatorProxy == null) { throw new ArgumentNullException("activatorProxy"); } _serverImagesPath = serverImagesPath; _archiveDirectoryPath = archiveDirectoryPath; _contextFactory = contextFactory; _dateTimeProxy = dateTimeProxy; _activatorProxy = activatorProxy; }
/// <exception cref="ArgumentNullException"> /// <paramref name="serverImagesPath"/> or /// <paramref name="archiveDirectoryPath"/> or /// <paramref name="contextFactory"/> or /// <paramref name="dateTimeProxy"/> or /// <paramref name="activatorProxy"/> is <see langword="null" />.</exception> internal UpdateService(string serverImagesPath, string archiveDirectoryPath, IDbContextFactory<UpdateDbContext> contextFactory, IDateTimeProxy dateTimeProxy, IActivatorProxy activatorProxy) { if (serverImagesPath == null) throw new ArgumentNullException("serverImagesPath"); if (archiveDirectoryPath == null) throw new ArgumentNullException("archiveDirectoryPath"); if (contextFactory == null) throw new ArgumentNullException("contextFactory"); if (dateTimeProxy == null) throw new ArgumentNullException("dateTimeProxy"); if (activatorProxy == null) throw new ArgumentNullException("activatorProxy"); _serverImagesPath = serverImagesPath; _archiveDirectoryPath = archiveDirectoryPath; _contextFactory = contextFactory; _dateTimeProxy = dateTimeProxy; _activatorProxy = activatorProxy; }
public GetTransactionsReport(IAccountsRepo accountsRepo, ITransactionsRepo transactionsRepo, IDateTimeProxy dateTimeProxy) { _accountsRepo = accountsRepo; _transactionsRepo = transactionsRepo; _dateTimeProxy = dateTimeProxy; }
public BarQueryHandler(IDateTimeProxy dateTime) { _dateTime = dateTime; }
public MockTransactionsRepo(IDateTimeProxy dateTimeProxy) { _dateTimeProxy = dateTimeProxy; }