protected void Remember(string key) { if (Editing) { if (!_originals.ContainsKey(key)) { _originals[key] = _kvc.Get(this, key); if (_originals.Count == 1) { RaisePropertyChanged(nameof(HasChanges)); } } } }
protected void Remember([CallerMemberName] string key = null) { if (Editing) { if (!_originals.ContainsKey(key)) { _originals[key] = _kvc.Get(this, key); if (_originals.Count == 1) { RaisePropertyChanged("HasChanges"); } } } }
public object Get(string index) { return(kvc.Get(data, index)); }