MatchBuilder Members
The MatchBuilder type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Build |
Builds all added handlers and returns a PartialAction<object>.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
BuildToMethod | (Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
Equals(System.Object) | (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
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.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
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.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
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.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
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.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
MatchAny |
Adds a handler that is invoked no matter the type the item being matched is.
(Inherited from MatchBuilder<(Of <(<'TItem>)>)>.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |