Class Handler<TParameters, TResponse>
- Namespace
- DotNetBrowser.Handlers
- Assembly
- DotNetBrowser.dll
The default implementation of the IHandler<TParameters, TResponse> interface.
public sealed class Handler<TParameters, TResponse> : IHandler<TParameters, TResponse>
Type Parameters
TParameters
The handler parameters type.
TResponse
The response type.
- Inheritance
-
Handler<TParameters, TResponse>
- Implements
-
IHandler<TParameters, TResponse>
- Inherited Members
Constructors
- Handler(Func<TParameters, TResponse>)
Initializes an instance of the Handler<TParameters, TResponse> class.
Methods
- Handle(TParameters)
This method is called when the Chromium callback needs a response that may be determined based on the provided parameters.
Operators
- implicit operator Handler<TParameters, TResponse>(Func<TParameters, TResponse>)
The cast operator that can be used to cast Func<T, TResult> to Handler<TParameters, TResponse>