Пример #1
0
 public HttpGetSchemaMiddleware(
     HttpRequestDelegate next,
     IRequestExecutorResolver executorResolver,
     IHttpResultSerializer resultSerializer,
     NameString schemaName,
     MiddlewareRoutingType routing)
     : base(next, executorResolver, resultSerializer, schemaName)
 {
     _routing = routing;
 }
 public HttpGetSchemaMiddleware(
     HttpRequestDelegate next,
     IRequestExecutorResolver executorResolver,
     IHttpResultSerializer resultSerializer,
     IServerDiagnosticEvents diagnosticEvents,
     NameString schemaName,
     MiddlewareRoutingType routing)
     : base(next, executorResolver, resultSerializer, schemaName)
 {
     _diagnosticEvents = diagnosticEvents ??
                         throw new ArgumentNullException(nameof(diagnosticEvents));
     _routing = routing;
 }