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