Class PartialResponse<TEntity>
Represents a subset of a set of elements.
public sealed class PartialResponse<TEntity>
Type Parameters
TEntity
The 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
elements
IReadOnlyList<TEntity>The returned elements.
range
ContentRangeHeaderValueThe range the
elements
come 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; }