Beispiel #1
0
 void _tokenService_AccessTokenComplete(object sender, TokenServiceCompleteEventArgs e)
 {
     if (e.IsSuccess)
     {
         StartTranslationWithToken(e.TranslationToken);
     }
     else
     {
         RaiseTranslationFailed("There was a problem securing an access token");
     }
 }
 void _tokenService_AccessTokenComplete(object sender, TokenServiceCompleteEventArgs e)
 {
     if (e.IsSuccess)
         StartTranslationWithToken(e.TranslationToken);
     else
         RaiseTranslationFailed("There was a problem securing an access token");
 }