public abstract void InitSettings(Model.AppSettings defaultSettings);
// Constructor for Unit Testing public ImapService(IOptions <Model.AppSettings> settings, IImapFactory imapFactory, ConcurrentQueue <Imap> imapConnections) { _settings = settings.Value; _imapFactory = imapFactory; _imapConnections = imapConnections; }
public override void InitSettings(Model.AppSettings defaultSettings) { }
public ImapService(IOptions <Model.AppSettings> settings, IImapFactory imapFactory) { _settings = settings.Value; _imapFactory = imapFactory; }