public MainViewModel() { HierarchicalViewModel = new HierarchicalViewModel(); SimpleViewModel = new SimpleViewModel(); }
protected override void Dispose(bool disposing) { HierarchicalViewModel.Dispose(); SimpleViewModel.Dispose(); base.Dispose(disposing); }