'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub SubscribeTarget( _ ByVal mapper As UAClientMapper, _ ByVal active As Boolean, _ ByVal targetObject As Object, _ ByVal mappingTagsPredicate As Predicate(Of IEnumerable(Of String)), _ ByVal recurse As Boolean _ )
'Usage
Dim mapper As UAClientMapper Dim active As Boolean Dim targetObject As Object Dim mappingTagsPredicate As Predicate(Of IEnumerable(Of String)) Dim recurse As Boolean UAMapperExtension.SubscribeTarget(mapper, active, targetObject, mappingTagsPredicate, recurse)
[Extension()] public static void SubscribeTarget( UAClientMapper mapper, bool active, object targetObject, Predicate<IEnumerable<string>> mappingTagsPredicate, bool recurse )
[Extension()] public: static void SubscribeTarget( UAClientMapper^ mapper, bool active, Object^ targetObject, Predicate<IEnumerable<String^>^>^ mappingTagsPredicate, bool recurse )
Parameters
- mapper
- The mapper object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - active
true
to subscribe;false
to unsubscribe.- targetObject
- The object being targeted.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - mappingTagsPredicate
- The operation will be performed only on mappings whose mapping tags satisfy this predicate.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - recurse
true
to operate on sub-targets (mapped members of the target) recursively;false
otherwise.