Esempio n. 1
0
        internal async Task <IEnumerable <Message> > getDataAsyncInternal()
        {
            EmailReader reader = new EmailReader();
            var         res    = await reader.AuthenticateOutlookClientAsync("Mail");

            return(await reader.GetEmailMessagesAsync(0, 100));
        }
Esempio n. 2
0
        public static EmailReader Instance()
        {
            if (_instance == null)
            {
                _instance = new EmailReader();
            }

            return(_instance);
        }
Esempio n. 3
0
        public static EmailReader Instance()
        {
            if(_instance == null)
            {
                _instance = new EmailReader();
            }

            return _instance;
        }
Esempio n. 4
0
 internal async Task<IEnumerable<Message>> getDataAsyncInternal()
 {
     EmailReader reader = new EmailReader();
     var res = await reader.AuthenticateOutlookClientAsync("Mail");
     return await reader.GetEmailMessagesAsync(0, 100);
 }