GoogleCloudExtension.PublishDialog.PublishDialogWindow.PromptUser C# (CSharp) Method

PromptUser() public static method

Starts the publish wizard for the given project.
public static PromptUser ( ISolutionProject project ) : void
project ISolutionProject The project to publish.
return void
        public static void PromptUser(ISolutionProject project)
        {
            var dialog = new PublishDialogWindow(project);
            dialog.ShowModal();
        }

Usage Example

Example #1
0
        /// <summary>
        /// This function is the callback used to execute the command when the menu item is clicked.
        /// See the constructor to see how the menu item is associated with this function using
        /// OleMenuCommandService service and MenuCommand class.
        /// </summary>
        /// <param name="sender">Event sender.</param>
        /// <param name="e">Event args.</param>
        private void OnDeployCommand(object sender, EventArgs e)
        {
            var selectedProject = SolutionHelper.CurrentSolution.SelectedProject;

            Debug.WriteLine($"Deploying project: {selectedProject.FullPath}");
            PublishDialogWindow.PromptUser(selectedProject);
        }
All Usage Examples Of GoogleCloudExtension.PublishDialog.PublishDialogWindow::PromptUser