Table of Contents

Operator implicit operator

Namespace
DotNetBrowser.Handlers
Assembly
DotNetBrowser.dll

implicit operator Handler<TParameters, TResponse>(Func<TParameters, TResponse>)

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

public static implicit operator Handler<TParameters, TResponse>(Func<TParameters, TResponse> func)

Parameters

func Func<TParameters, TResponse>

The Func<T, TResult> to cast from.

Returns

Handler<TParameters, TResponse>

The corresponding Handler<TParameters, TResponse> instance.

Exceptions

ArgumentException

The func is null.