public PaginationByClientRequestInterpreter( IScopedStorage <HttpContext> httpContextStorage, IJsonPropertyNameResolver jsonPropertyNameResolver) { this.queryCollection = httpContextStorage.Value.Request.Query; this.requestHeader = httpContextStorage.Value.Request.Headers; this.LimitQueryArgumentKey = jsonPropertyNameResolver.Resolve("Limit"); this.OffsetQueryArgumentKey = jsonPropertyNameResolver.Resolve("Offset"); }
public SearchByClientRequestInterpreter( IScopedStorage <HttpContext> httpContextStorage, IJsonPropertyNameResolver jsonPropertyNameResolver) { this.httpContextStorage = httpContextStorage; this.SearchQueryArgumentKey = jsonPropertyNameResolver.Resolve("Q"); }