internal async Task <IEnumerable <Message> > getDataAsyncInternal() { EmailReader reader = new EmailReader(); var res = await reader.AuthenticateOutlookClientAsync("Mail"); return(await reader.GetEmailMessagesAsync(0, 100)); }
public static EmailReader Instance() { if (_instance == null) { _instance = new EmailReader(); } return(_instance); }
public static EmailReader Instance() { if(_instance == null) { _instance = new EmailReader(); } return _instance; }
internal async Task<IEnumerable<Message>> getDataAsyncInternal() { EmailReader reader = new EmailReader(); var res = await reader.AuthenticateOutlookClientAsync("Mail"); return await reader.GetEmailMessagesAsync(0, 100); }