public CommLogic(MailClient mClient, DoodleClient dClient, TwilioClient tClient, ResponseCallback callback) { mailClient = mClient; doodleClient = dClient; twilioClient = tClient; callbackFn = callback; // Start reading email from the appropriate IMap provider. // This creates its own long-running thread. imapReader = new ImapReader(mailClient.Imap, "INBOX", MessageCallback); }
private void StartDoodleClient() { // the Doodle client is using their test API so far, so it does need an OAuth key DoodleClient = new DoodleClient(); }