|
Name |
Description |
|
Match<(Of <<'(T>)>>)(Action<(Of <<'(T>)>>), Predicate<(Of <<'(T>)>>))
|
Adds a handler that is called if the item being matched is of type T
and shouldHandle, if it has been specified, returns true.
Note that if a previous added handler handled the item, this handler will not be invoked.
|
|
Match(Type, Action<(Of <<'(TItem>)>>), Predicate<(Of <<'(TItem>)>>))
|
Adds a handler that is called if the item being matched is of type handlesType
and shouldHandle, if it has been specified, returns true.
Note that if a previous added handler handled the item, this handler will not be invoked.
|
|
Match<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>))
|
Adds a handler that is called if the item being matched is of type T.
The handler should return true if the item sent in matched and was handled.
Note that if a previous added handler handled the item, this handler will not be invoked.
|
|
Match(Type, Func<(Of <<'(TItem, Boolean>)>>))
|
Adds a handler that is called if the item being matched is of type handlesType.
The handler should return true if the item sent in matched and was handled.
Note that if a previous added handler handled the item, this handler will not be invoked.
|