public DeployDialog()
        {
            this.Steps = new List<IDeployWizardStep>() { new Credentials(), new OrgAndSpace(), new AppDetails() };
            this._context = new DeployContext() { Endpoint = "api.run.pivotal.io" };

            InitializeComponent();            
        }
 private void DeployDialog_NextStep(object sender, RoutedEventArgs e)
 {
     NextStepEventArgs args = (NextStepEventArgs)e;
     _context = args.Context;
     next();
     e.Handled = true;
 }
 public NextStepEventArgs(RoutedEvent routedEvent, object source, DeployContext context) : base(routedEvent, source)
 {
     this.Context = context;
 }