Run() public method

public Run ( ) : IProgressEvents
return IProgressEvents
        void IBindingWorkflowExecutor.BindProject(BindCommandArgs bindingArgs)
        {
            var bindingProcess = CreateBindingProcess(host, bindingArgs);
            var workflow       = new BindingWorkflow(host, bindingProcess);

            IProgressEvents progressEvents = workflow.Run();

            Debug.Assert(progressEvents != null, "BindingWorkflow.Run returned null");
            this.SetBindingInProgress(progressEvents, bindingArgs);
        }
        void IBindingWorkflowExecutor.BindProject(ProjectInformation projectInformation)
        {
            ConnectionInformation connection = this.host.VisualStateManager.GetConnectedServer(projectInformation);

            Debug.Assert(connection != null, "Could not find a connected server for project: " + projectInformation?.Key);

            BindingWorkflow workflowExecutor = new BindingWorkflow(this.host, connection, projectInformation);
            IProgressEvents progressEvents   = workflowExecutor.Run();

            Debug.Assert(progressEvents != null, "BindingWorkflow.Run returned null");
            this.SetBindingInProgress(progressEvents, projectInformation);
        }
        void IBindingWorkflowExecutor.BindProject(ProjectInformation projectInformation)
        {
            ConnectionInformation connection = this.host.VisualStateManager.GetConnectedServer(projectInformation);
            Debug.Assert(connection != null, "Could not find a connected server for project: " + projectInformation?.Key);

            BindingWorkflow workflowExecutor = new BindingWorkflow(this.host, connection, projectInformation);
            IProgressEvents progressEvents = workflowExecutor.Run();
            Debug.Assert(progressEvents != null, "BindingWorkflow.Run returned null");
            this.SetBindingInProgress(progressEvents, projectInformation);
        }