Click or drag to resize

Handler<TParameters, TResponse>Implicit Conversion (Func<TParameters, TResponse> to Handler<TParameters, TResponse>)

The cast operator that can be used to cast Func<T, TResult> to Handler<TParameters, TResponse>

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

Parameters

func
Type: System.Func<TParameters, TResponse>
The Func<T, TResult> to cast from.

Return Value

Type: Handler<TParameters, TResponse>
The corresponding Handler<TParameters, TResponse> instance.
Exceptions
ExceptionCondition
ArgumentExceptionThe func is null.
See Also