public LimiLabsAdapter(IMailboxLabels mailboxLabels, IOAuth2Authenticator oAuth2Authenticator)
        {
            Check.If(mailboxLabels).IsNotNull();
            Check.If(oAuth2Authenticator).IsNotNull();

            _mailboxLabels = mailboxLabels;
            _oAuth2Authenticator = oAuth2Authenticator;
        }
        public GmailProvider(IMailAdapter mailAdaptor, IMailboxLabels mailboxLabels)
        {
            Check.If(mailAdaptor).IsNotNull();
            Check.If(mailboxLabels).IsNotNull();

            _mailAdaptor = mailAdaptor;
            _mailboxLabels = mailboxLabels;
        }
示例#3
0
 public GmailProvider(IMailAdapter mailAdaptor, IMailboxLabels mailboxLabels)
 {
     _mailAdaptor = mailAdaptor;
     _mailboxLabels = mailboxLabels;
 }