ISubscribeSubscribeT Method (ExpressionFuncT, ActionObject, NullableGuid) |
Subscribes the specified property.
Namespace:
Xcalibur.Extensions.MVVM.Interfaces
Assembly:
Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax void Subscribe<T>(
Expression<Func<T>> property,
Action<Object> onChanged,
Nullable<Guid> ownerId = null
)
Sub Subscribe(Of T) (
property As Expression(Of Func(Of T)),
onChanged As Action(Of Object),
Optional ownerId As Nullable(Of Guid) = Nothing
)
generic<typename T>
void Subscribe(
Expression<Func<T>^>^ property,
Action<Object^>^ onChanged,
Nullable<Guid> ownerId = nullptr
)
abstract Subscribe :
property : Expression<Func<'T>> *
onChanged : Action<Object> *
?ownerId : Nullable<Guid>
(* Defaults:
let _ownerId = defaultArg ownerId null
*)
-> unit
Parameters
- property
- Type: System.Linq.ExpressionsExpressionFuncT
The property. - onChanged
- Type: SystemActionObject
The on changed. - ownerId (Optional)
- Type: SystemNullableGuid
The owner identifier.
Type Parameters
- T
See Also