Example #1
0
        public void reject_should_create_reject_and_set_activity_rejectid()
        {
            var cmd     = new ActivityCommands();
            var entries = new List <Tuple <int, string> >();

            entries.Add(new Tuple <int, string>(3, "with errors"));
            entries.Add(new Tuple <int, string>(4, "not accepted"));

            //cmd.RejectEntries(entries, "global reason1");
        }
        public ShellController(ShellViewModel viewModel, IControllerServices controllerServices)
            : base(viewModel, controllerServices)
        {
            this._taskCommands     = new TaskCommands(this.ControllerServices);
            this._activityCommands = new ActivityCommands(this.ControllerServices);

            this.ViewModel.OverlayViewModel           = new OverlayViewModel();
            this.ViewModel.NavigateInNavigatorCommand = this._taskCommands.NavigateInNavigatorCommand;
            this.ViewModel.CreateNewActivityCommand   = this._activityCommands.CreateNewActivityCommand;
            this.ViewModel.CreateNewTaskCommand       = this._taskCommands.CreateNewTaskCommand;

            this._headerMenuController         = this.CreateChildController <HeaderMenuController>();
            this.ViewModel.HeaderMenuViewModel = this._headerMenuController.ViewModel;

            this._contentBrowserController         = this.CreateChildController <ContentBrowserController>();
            this.ViewModel.ContentBrowserViewModel = this._contentBrowserController.ViewModel;
        }