ModelBaseClearSubscriptionsT Method (ExpressionFuncT, NullableGuid) |
Clears subscriptions for a specific property, or if one is not specified; all
subscriptions to the instance.
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 ClearSubscriptions<T>(
Expression<Func<T>> property,
Nullable<Guid> ownerId = null
)
Public Sub ClearSubscriptions(Of T) (
property As Expression(Of Func(Of T)),
Optional ownerId As Nullable(Of Guid) = Nothing
)
public:
generic<typename T>
virtual void ClearSubscriptions(
Expression<Func<T>^>^ property,
Nullable<Guid> ownerId = nullptr
) sealed
abstract ClearSubscriptions :
property : Expression<Func<'T>> *
?ownerId : Nullable<Guid>
(* Defaults:
let _ownerId = defaultArg ownerId null
*)
-> unit
override ClearSubscriptions :
property : Expression<Func<'T>> *
?ownerId : Nullable<Guid>
(* Defaults:
let _ownerId = defaultArg ownerId null
*)
-> unit
Parameters
- property
- Type: System.Linq.ExpressionsExpressionFuncT
The property. - ownerId (Optional)
- Type: SystemNullableGuid
The owner identifier.
Type Parameters
- T
Implements
ISubscribeClearSubscriptionsT(ExpressionFuncT, NullableGuid)See Also