Click or drag to resize

ModelBaseSubscribeT Method (ExpressionFuncT, ActionObject, NullableGuid)

Subscribes an action to a specific property that will be called during that property's OnPropertyChanged event.

Namespace:  Xcalibur.Extensions.MVVM.Models
Assembly:  Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Subscribe<T>(
	Expression<Func<T>> property,
	Action<Object> onChanged,
	Nullable<Guid> ownerId = null
)

Parameters

property
Type: System.Linq.ExpressionsExpressionFuncT
The property.
onChanged
Type: SystemActionObject
The onchanged action.
ownerId (Optional)
Type: SystemNullableGuid
The owner identifier.

Type Parameters

T

Implements

ISubscribeSubscribeT(ExpressionFuncT, ActionObject, NullableGuid)
See Also