public WorkspaceViewModel(IViewModelDependencies appCtx,
IZetboxContext dataCtx, ViewModel parent,
IZetboxContextExceptionHandler exceptionHandler)
: base(appCtx, dataCtx, parent)
{
if (exceptionHandler == null) throw new ArgumentNullException("exceptionHandler");
_exceptionHandler = exceptionHandler;
dataCtx.IsModifiedChanged += dataCtx_IsModifiedChanged;
Items = new ObservableCollection<ViewModel>();
Items.CollectionChanged += new NotifyCollectionChangedEventHandler(Items_CollectionChanged);
appCtx.Factory.OnIMultipleInstancesManagerCreated(dataCtx, this);
ValidationManager.Changed += ValidationManager_Changed;
}