public MainFrameViewModel(UserInformation currentUser) { PathNavigateCommand = new AsyncCommand(PathNavigate, CanPathNavigate); UserInformation = new UserInformationViewModel(currentUser); MainContainerContent = new FileListViewModel(); //FileList.NavigateByPathAsync("/"); }
public MainFrameViewModel(UserInformation currentUser) { PathNavigateCommand = new DependencyCommand(PathNavigate, DependencyCommand.AlwaysCan); UserInformation = new UserInformationViewModel(currentUser); MainContainerContent = new FileListViewModel(); }