public bool ShowHelp(string keyword, HelpSystem.HelpKind kind, string preferredProduct = "") { if (kind != HelpSystem.HelpKind.Msdn) { return(false); } if (!IsUnityKeyword(keyword)) { return(false); } keyword = StripPrefix(keyword); var uri = GetUri(keyword); myUriOpener.OpenUri(uri); return(true); }
private void Login() { myClient.GetTokenAsync( login => myOpensUri.OpenUri(new Uri(myClient.BuildAuthorizeUrl())), myClient.LogException); }