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
IJsonApiOptionsqueryStringAccessor
IRequestQueryStringAccessorparameterReaders
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
DisableQueryStringAttributeThe DisableQueryStringAttribute if set on the controller that is targeted by the current request.