public void Update(JobDataMap map, bool isReadonly = true) { this.DataMap = map; this.KVS = new BindableCollection<KeyValuePair<string, object>>(map.Cast<KeyValuePair<string, object>>()); this.IsReadonly = isReadonly; this.NotifyOfPropertyChange(() => this.KVS); this.NotifyOfPropertyChange(() => this.IsReadonly); }