IPartialActionBuilder..::..Build<(Of <(<'T>)>)> Method
Builds the specified delegate and arguments to a PartialAction<>
Namespace:
Akka.Tools.MatchHandlerIf the number of arguments are 0, the delegate should be a Func<,bool>
If the number of arguments are 1, the delegate should be a Func<,T1,bool>
...
If the number of arguments are n, the delegate should be a Func<T,T1,...,Tn,bool>
The maximum number of arguments i.e. n in the above example is therefore MaxNumberOfArguments=14
Given a delegate deleg of type Func<T,T1,...,Tn,bool> and args [a_1,...a_n] then the delegate corresponding to this code is returned:
Assembly: Akka (in Akka.dll)
Syntax
PartialAction<T> Build<T>( CompiledMatchHandlerWithArguments handlerAndArgs )
Function Build(Of T) ( _ handlerAndArgs As CompiledMatchHandlerWithArguments _ ) As PartialAction(Of T)
generic<typename T> PartialAction<T>^ Build( CompiledMatchHandlerWithArguments^ handlerAndArgs )
Type Parameters
- T
- The type of the value parameter in to the returned [PartialAction{T}]
Parameters
- handlerAndArgs
- Type: Akka.Tools.MatchHandler..::..CompiledMatchHandlerWithArguments
The handler, i.e. a Func<T,T1,...,Tn,bool> and arguments [a_1,...a_n].