Inheritance: GoogleCloudExtension.Theming.CommonDialogWindowBase
Exemplo n.º 1
0
        public static string PromptUser(OAuthCredentials credentials, IEnumerable <string> scopes)
        {
            var dialog = new OAuthLoginFlowWindow(credentials, scopes);

            dialog.ShowModal();
            return(dialog.ViewModel.RefreshCode);
        }
 public static string PromptUser(OAuthCredentials credentials, IEnumerable<string> scopes)
 {
     var dialog = new OAuthLoginFlowWindow(credentials, scopes);
     dialog.ShowModal();
     return dialog.ViewModel.RefreshCode;
 }
Exemplo n.º 3
0
        public OAuthLoginFlowViewModel(OAuthLoginFlowWindow owner)
        {
            _owner = owner;

            CloseCommand = new WeakCommand(OnCloseCommand);
        }
        public OAuthLoginFlowViewModel(OAuthLoginFlowWindow owner)
        {
            _owner = owner;

            CloseCommand = new ProtectedCommand(OnCloseCommand);
        }