Table of Contents

Class QueryStringReader

Namespace
JsonApiDotNetCore.QueryStrings
Assembly
JsonApiDotNetCore.dll

Reads and processes the various query string parameters for a HTTP request.

public sealed class QueryStringReader : IQueryStringReader
Inheritance
QueryStringReader
Implements
Inherited Members

Constructors

QueryStringReader(IJsonApiOptions, IRequestQueryStringAccessor, IEnumerable<IQueryStringParameterReader>, ILoggerFactory)

public QueryStringReader(IJsonApiOptions options, IRequestQueryStringAccessor queryStringAccessor, IEnumerable<IQueryStringParameterReader> parameterReaders, ILoggerFactory loggerFactory)

Parameters

options IJsonApiOptions
queryStringAccessor IRequestQueryStringAccessor
parameterReaders IEnumerable<IQueryStringParameterReader>
loggerFactory ILoggerFactory

Methods

ReadAll(DisableQueryStringAttribute?)

Reads and processes the key/value pairs from the request query string.

public void ReadAll(DisableQueryStringAttribute? disableQueryStringAttribute)

Parameters

disableQueryStringAttribute DisableQueryStringAttribute

The DisableQueryStringAttribute if set on the controller that is targeted by the current request.