<PackageReference Include="Castle.Core" Version="3.0.0.2001" />

PropagateNotificationsAttribute

Suppress property change notifications.
using System; namespace Castle.Components.DictionaryAdapter { [AttributeUsage(AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = false)] public class PropagateNotificationsAttribute : DictionaryBehaviorAttribute, IDictionaryInitializer, IDictionaryBehavior { public bool PropagateNotifications { get; set; } public PropagateNotificationsAttribute(bool propagateNotifications) { PropagateNotifications = propagateNotifications; } public void Initialize(IDictionaryAdapter dictionaryAdapter, object[] behaviors) { dictionaryAdapter.PropagateChildNotifications = PropagateNotifications; } } }