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

Castle.Components.DictionaryAdapter.RemoveIfAttribute

Removes a property if matches value.
namespace Castle.Components.DictionaryAdapter { public interface IDictionaryNotify : INotifyPropertyChanging, INotifyPropertyChanged { bool CanNotify { get; } bool ShouldNotify { get; } IDisposable SuppressNotificationsBlock(); void SuppressNotifications(); void ResumeNotifications(); } } namespace Castle.Components.DictionaryAdapter { public class RemoveIfAttribute : DictionaryBehaviorAttribute, IDictionaryPropertySetter, IDictionaryBehavior { public Type Condition { set; } public RemoveIfAttribute(); public RemoveIfAttribute(params object[] values); public RemoveIfAttribute(object[] values, Type comparerType); protected RemoveIfAttribute(ICondition condition); } }