public HomePage(ISandboxInfoService service, IDeployService deployService) { InitializeComponent(); this.sandboxInfoService = service; this.deployService = deployService; GetSandboxes(); }
public MainWindow(ISandboxInfoService sandboxInfoService, IDeployService deployService) { InitializeComponent(); this.sandboxInfoService = sandboxInfoService; this.deployService = deployService; WindowStartupLocation = WindowStartupLocation.CenterScreen; this.NavigationService.Navigate(new HomePage(sandboxInfoService, deployService)); }
public DeployPage(ISandboxInfoService service, IDeployService deployService, Sandbox sandBox) { InitializeComponent(); this.sandboxInfoService = service; this.deployService = deployService; ValidateSandBoxInfo(sandBox); SandBoxInfo = sandBox; this.DataContext = SandBoxInfo; }