public DataViewerViewModel(Infrastructure infrastructure, TypesListViewModel typesListViewModel, PaggerViewModel paggerModel) : base(infrastructure) { _infrastructure = infrastructure; TypesList = typesListViewModel; base.DisplayName = "Data Viewer"; PaggerModel = paggerModel; paggerModel.OnPageChanged = View; }
public MappingsInfoViewModel(TypesListViewModel typesListViewModel, Infrastructure infrastructure) : base(infrastructure) { _infrastructure = infrastructure; TypesList = typesListViewModel; TypesList.PropertyChanged += (sender, args) => { if (args.PropertyName != "SelectedType") return; LoadMapping(); }; }