private async Task SetupTestEnvironment()
 {
     await _googleAuthenticator.LoginGoogle(_testUsername);
     _user = _googleAuthenticator.GetCurrentCredentials();
     _googlePlusService = new GooglePlusService(_user);
     _googlePlusService.CreateService();
     _userProfile = _googlePlusService.GetUserProfile();
 }
 public GoogleDataCorrelator(List<GoogleCalendarModel> calenderEvents, List<GoogleGmailModel> mails, GoogleProfileModel profile)
 {
     _calenderEvents = calenderEvents;
     _mails = mails;
     _profile = profile;
 }
Exemplo n.º 3
0
 public string StartBotClient(List<GoogleCalendarModel> calenderEvents, List<GoogleGmailModel> mails, GoogleProfileModel profile)
 {
     _googleDataCorrelator = new GoogleDataCorrelator(calenderEvents, mails, profile);
     return EntrySentence();
 }