Esempio n. 1
0
 public static ToolsOptionsDialog FromDte(VisualStudioApp app)
 {
     return(new ToolsOptionsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Tools.Options"))
                ));
 }
Esempio n. 2
0
 public static ChooseLocationDialog FromDte(VisualStudioApp app)
 {
     return(new ChooseLocationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.ProjectPickerMoveInto"))
                ));
 }
Esempio n. 3
0
 public static AutomationDialog FromDte(VisualStudioApp app, string commandName, string commandArgs = "")
 {
     return(new AutomationDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand(commandName, commandArgs))
                ));
 }
Esempio n. 4
0
 public static CredentialsDialog PublishSelection(VisualStudioApp app)
 {
     return(new CredentialsDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Build.PublishSelection"))
                ));
 }
 public static SelectFolderDialog AddFolderToSearchPath(VisualStudioApp app)
 {
     return(new SelectFolderDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddSearchPathFolder"))
                ));
 }
 public static AddCondaEnvironmentDialogWrapper FromDte(VisualStudioApp app)
 {
     return(new AddCondaEnvironmentDialogWrapper(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Python.AddCondaEnvironment"))
                ));
 }
Esempio n. 7
0
 public static NewItemDialog FromDte(VisualStudioApp app)
 {
     return(new NewItemDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Project.AddNewItem"))
                ));
 }
Esempio n. 8
0
 public static SaveDialog FromDte(VisualStudioApp app)
 {
     return(new SaveDialog(
                app,
                AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("File.SaveSelectedItemsAs"))
                ));
 }
        public static AzureWebSitePublishDialog FromDte(VisualStudioApp app)
        {
            var publishDialogHandle = app.OpenDialogWithDteExecuteCommand("Build.PublishSelection");

            return(new AzureWebSitePublishDialog(app, AutomationElement.FromHandle(publishDialogHandle)));
        }
Esempio n. 10
0
 public static RemoveItemDialog FromDte(VisualStudioApp app)
 {
     return(new RemoveItemDialog(app, AutomationElement.FromHandle(app.OpenDialogWithDteExecuteCommand("Edit.Delete"))));
 }