public AlertSender( ILoggerFactory loggerFactory, IAzureApplicationResourceFactory applicationResourceFactory, IEmailProvider emailProvider) { _emailProvider = emailProvider; _table = applicationResourceFactory.GetTableStorageRepository<AlertSubscriber>(ComponentIdentity); _logger = loggerFactory.CreateShortLivedLogger(ComponentIdentity); _sourceEmailAddress = applicationResourceFactory.Setting(ComponentIdentity, "alert-from"); }