public Task <TResult> SendRequest <TResult, TError, TRegistrationOptions>(
     RequestType0 <TResult, TError, TRegistrationOptions> requestType0)
 {
     return(this.SendRequest(
                RequestType <Object, TResult, TError, TRegistrationOptions> .ConvertToRequestType(requestType0),
                null));
 }
 public void SetRequestHandler <TResult, TError, TRegistrationOptions>(
     RequestType0 <TResult, TError, TRegistrationOptions> requestType0,
     Func <RequestContext <TResult>, Task> requestHandler)
 {
     this.SetRequestHandler(
         RequestType <Object, TResult, TError, TRegistrationOptions> .ConvertToRequestType(requestType0),
         (param1, requestContext) =>
     {
         return(requestHandler(requestContext));
     });
 }