Interface NotifyPropertyChangeBase.IPropertyBroadcastSetup
Defines the available configuration methods for setting up property change notification broadcast and triggers.
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.Mvvm.dll
Syntax
protected interface NotifyPropertyChangeBase.IPropertyBroadcastSetup
Methods
| Edit this page View SourceRegisterPropertyChangeBroadcast(Expression<Func<object?>>, params Expression<Func<object?>>[])
Registers the broadcast of a change notification whenever the specified property changes its value.
Declaration
NotifyPropertyChangeBase.IPropertyBroadcastSetup RegisterPropertyChangeBroadcast(Expression<Func<object?>> propertySelector, params Expression<Func<object?>>[] affectedProperties)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<object>> | propertySelector | Property whose change notification will be broadcasted. |
Expression<Func<object>>[] | affectedProperties | Properties that will be triggered as changed when the specified
property in |
Returns
Type | Description |
---|---|
NotifyPropertyChangeBase.IPropertyBroadcastSetup | The same configurator instance, allowing the use of Fluent syntax. |
RegisterPropertyChangeTrigger(Expression<Func<object?>>, params Expression<Func<object?>>[])
Registers a property to be triggered as changed whenever any of the specified properties changes their value.
Declaration
NotifyPropertyChangeBase.IPropertyBroadcastSetup RegisterPropertyChangeTrigger(Expression<Func<object?>> property, params Expression<Func<object?>>[] listenedProperties)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<object>> | property | Property to be triggered as changed. |
Expression<Func<object>>[] | listenedProperties | Properties to listen for change notification events. |
Returns
Type | Description |
---|---|
NotifyPropertyChangeBase.IPropertyBroadcastSetup | The same configurator instance, allowing the use of Fluent syntax. |