public EmailWorker(EmailEntry emailEntry, IAPIExtension extension)
 {
     this.emailEntry = emailEntry;
     apiExtension = extension;
     settingsRepository = SimpleIoc.Default.GetInstance<IGenericSettingsRepository<EmailConfig>>();
     apiExtension.MessageSubmitted += apiExtension_MessageSubmitted;
 }
Beispiel #2
0
 public EmailWorker(EmailEntry emailEntry, IAPIExtension extension)
 {
     this.emailEntry                = emailEntry;
     apiExtension                   = extension;
     settingsRepository             = SimpleIoc.Default.GetInstance <IGenericSettingsRepository <EmailConfig> >();
     apiExtension.MessageSubmitted += apiExtension_MessageSubmitted;
 }