コード例 #1
0
ファイル: CommLogic.cs プロジェクト: pravse/CommSample
        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);
        }
コード例 #2
0
ファイル: Global.asax.cs プロジェクト: pravse/CommSample
 private void StartDoodleClient()
 {
     // the Doodle client is using their test API so far, so it does need an OAuth key
     DoodleClient = new DoodleClient();
 }