public ResultsPageVm(IPageServiceZero pageService) { PopToRootCommand = new CommandBuilder() .SetName("Test PopToRoot") .SetExecuteAsync(() => pageService.PopToRootAsync()).Build(); }
/// <summary> /// /// </summary> /// <param name="pageService"></param> public ResultsPageVm(IPageServiceZero pageService) { StartAgainCommand = new CommandBuilder().SetExecuteAsync(async() => await pageService.PopToRootAsync()).SetName("Restart").Build(); }