protected override IDictionarySourceSupplier CreateMemorySourceSupplier()
        {
            if (!credentials.IsLoggedIn)
            {
                throw new InvalidOperationException("user need to be logged in");
            }
            var user = credentials.GetCurrentUser();

            return(new GoogleDictionarySourceSupplier(user.Login, user.Password));
        }
Beispiel #2
0
 public Credentials GetCurrentUser()
 {
     return(internalCredentials.GetCurrentUser());
 }