Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 3
0
        public DeployPage(ISandboxInfoService service, IDeployService deployService, Sandbox sandBox)
        {
            InitializeComponent();
            this.sandboxInfoService = service;
            this.deployService      = deployService;

            ValidateSandBoxInfo(sandBox);

            SandBoxInfo      = sandBox;
            this.DataContext = SandBoxInfo;
        }