Constructor Handler
- Namespace
- DotNetBrowser.Handlers
- Assembly
- DotNetBrowser.dll
Handler(Func<TParameters, TResponse>)
Initializes an instance of the Handler<TParameters, TResponse> class.
public Handler(Func<TParameters, TResponse> func)
Parameters
func
Func<TParameters, TResponse>The function that must be executed when the Handle(TParameters) method is called.
Exceptions
- ArgumentException
The
func
is null.