public void OnPropertyAccessed(PropertyAccessedArgs propertyAccessed) { propertyAccessedEvent?.Invoke(this, new PropertyAccessedEventArgs { PropertyProxy = propertyAccessed.PropertyProxy, PropertyName = propertyAccessed.PropertyName }); }
private void OnPropertyAccessed(string name) { var args = new PropertyAccessedArgs { PropertyProxy = this, PropertyName = name }; foreach (var subscriber in subscribers.ToList()) { subscriber.OnPropertyAccessed(args); } }