ModelBase.ClearSubscriptions<T> Method (Expression<Func<T>>, Nullable<Guid>) |
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.Expressions.Expression<Func<T>>
The property. - ownerId (Optional)
- Type: System.Nullable<Guid>
The owner identifier.
Type Parameters
- T
Implements
ISubscribe.ClearSubscriptions<T>(Expression<Func<T>>, Nullable<Guid>)See Also