Example #1
0
 public Handler(PagesViewModel pagesViewModel) => _pagesViewModel = pagesViewModel;
Example #2
0
 public PageHandler(IServiceProvider serviceProvider, PagesViewModel pagesViewModel)
 {
     _pagesViewModel  = pagesViewModel;
     _serviceProvider = serviceProvider;
 }
Example #3
0
        public PageViewModel(PagesViewModel pagesViewModel)
        {
            _pagesViewModel = pagesViewModel;

            Commands.Add("Close", new Command(_ => Close()));
        }