private void OnSourcePropertyChanged(object sender, PropertyChangedEventArgs e) { if ((e.PropertyName == _propertyName || string.IsNullOrEmpty(e.PropertyName)) && (_prop != null || _field != null)) { UpdateValue(); IPropertyPathNode next = Next; if (next != null) { next.SetSource(Value); } } }
internal void Update(object source) { _source = source; _firstNode.SetSource(source); }