Show / Hide Table of Contents

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 Source

RegisterPropertyChangeBroadcast(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 propertySelector changes its value.

Returns
Type Description
NotifyPropertyChangeBase.IPropertyBroadcastSetup

The same configurator instance, allowing the use of Fluent syntax.

| Edit this page View Source

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.

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX