protected override void Dispose(bool disposing) { if (disposing) { ViewModelFactory.OnIMultipleInstancesManagerDisposed(DataContext, this); } }