public MetaDataOptionsVM() { this.metaDataHeaderOptions = new MetaDataHeaderOptionsVM(); this.tablesHeapOptions = new TablesHeapOptionsVM(); this.metaDataHeaderOptions.PropertyChanged += (s, e) => HasErrorUpdated(); this.tablesHeapOptions.PropertyChanged += (s, e) => HasErrorUpdated(); }
public MetaDataOptionsVM(Action onUpdated) { this.onUpdated = onUpdated; this.metaDataHeaderOptions = new MetaDataHeaderOptionsVM(() => HasErrorUpdated()); this.tablesHeapOptions = new TablesHeapOptionsVM(() => HasErrorUpdated()); }