Click or drag to resize

HandlerTParameters, TResponse  Conversion (FuncTParameters, TResponse to HandlerTParameters, TResponse)

The cast operator that can be used to cast FuncT, TResult to HandlerTParameters, TResponse

Namespace:  DotNetBrowser.Handlers
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
public static implicit operator Handler<TParameters, TResponse> (
	Func<TParameters, TResponse> func
)

Parameters

func
Type: SystemFuncTParameters, TResponse
The FuncT, TResult to cast from.

Return Value

Type: HandlerTParameters, TResponse
The corresponding HandlerTParameters, TResponse instance.
Exceptions
ExceptionCondition
ArgumentExceptionThe func is null.
See Also