public FileManager( IDatabaseManager databaseManager, IHttpContextManager httpContextManager, IResponsePreprocessManager responsePreprocessManager, IOptions <AppOptions> appOptionsAccessor) { this.databaseManager = databaseManager; this.httpContextManager = httpContextManager; this.responsePreprocessManager = responsePreprocessManager; appOptions = appOptionsAccessor.Value; }
public MobileMessageManager( IFileManager fileManager, IDatabaseManager databaseManager, IHttpContextManager httpContextManager, IResponsePreprocessManager responsePreprocessManager, IOptionsMonitor <AppOptions> appOptionsMonitor) { this.fileManager = fileManager; this.databaseManager = databaseManager; this.httpContextManager = httpContextManager; this.responsePreprocessManager = responsePreprocessManager; appOptions = appOptionsMonitor.CurrentValue; }
public EmailManager( IFileManager fileManager, IResponsePreprocessManager responsePreprocessManager, IOptionsMonitor <EmailOptions> emailOptionsAccessor, IOptionsMonitor <GmailOptions> gmailOptionsAccessor, Gmail gmail) { this.fileManager = fileManager; this.responsePreprocessManager = responsePreprocessManager; this.gmail = gmail; emailOptions = emailOptionsAccessor.CurrentValue; gmailOptions = gmailOptionsAccessor.CurrentValue; }