Class PartialResponse<TEntity>
Represents a subset of a set of elements.
public sealed class PartialResponse<TEntity>
Type Parameters
TEntityThe type of element the response contains.
- Inheritance
-
PartialResponse<TEntity>
- Inherited Members
Constructors
PartialResponse(IReadOnlyList<TEntity>, ContentRangeHeaderValue?)
Represents a subset of a set of elements.
public PartialResponse(IReadOnlyList<TEntity> elements, ContentRangeHeaderValue? range)
Parameters
elementsIReadOnlyList<TEntity>The returned elements.
rangeContentRangeHeaderValueThe range the
elementscome from.
Properties
Elements
The returned elements.
public IReadOnlyList<TEntity> Elements { get; }
Property Value
- IReadOnlyList<TEntity>
EndReached
Indicates whether the response reaches the end of the elements available on the server.
public bool EndReached { get; }
Property Value
Range
The range the Elements come from.
public ContentRangeHeaderValue? Range { get; }