Esempio n. 1
0
 public GraphQLUploadMiddleware(ILogger <GraphQLUploadMiddleware <TSchema> > logger, RequestDelegate next,
                                GraphQLUploadOptions options, PathString path, GraphQLUploadRequestDeserializer requestDeserializer)
 {
     _logger              = logger;
     _next                = next ?? throw new ArgumentNullException(nameof(next));
     _options             = options;
     _requestDeserializer = requestDeserializer;
     _graphQLPath         = path;
 }
 public GraphQLUploadMiddleware(RequestDelegate next, GraphQLUploadOptions options)
 {
     _next    = next ?? throw new ArgumentException(nameof(next));
     _options = options ?? throw new ArgumentException(nameof(options));
 }