TypedRest for .NET 1.3.6
build type-safe fluent-style REST API clients
TypedRest.Http.PartialResponse< TEntity > Class Template Reference

Represents a subset of a set of elements. More...

Public Member Functions

 PartialResponse (IReadOnlyList< TEntity > elements, ContentRangeHeaderValue? range)
 Creates a new partial response. More...
 

Properties

IReadOnlyList< TEntity > Elements [get]
 The returned elements.
 
ContentRangeHeaderValue? Range [get]
 The range the Elements come from.
 
bool? EndReached [get]
 Indicates whether the response reaches the end of the elements available on the server.
 

Detailed Description

Represents a subset of a set of elements.

Template Parameters
TEntityThe type of element the response contains.

Constructor & Destructor Documentation

◆ PartialResponse()

TypedRest.Http.PartialResponse< TEntity >.PartialResponse ( IReadOnlyList< TEntity >  elements,
ContentRangeHeaderValue?  range 
)
inline

Creates a new partial response.

Parameters
elementsThe returned elements.
rangeThe range the elements come from.

The documentation for this class was generated from the following file: