Class CollectionEndpoint<TEntity>
Endpoint for a collection of TEntity
s addressable as ElementEndpoint<TEntity>s.
public class CollectionEndpoint<TEntity> : CollectionEndpoint<TEntity, ElementEndpoint<TEntity>>, ICachingEndpoint, ICollectionEndpoint<TEntity, ElementEndpoint<TEntity>>, IIndexerEndpoint<ElementEndpoint<TEntity>>, ICollectionEndpoint<TEntity>, ICollectionEndpoint<TEntity, IElementEndpoint<TEntity>>, IIndexerEndpoint<IElementEndpoint<TEntity>>, IEndpoint where TEntity : class
Type Parameters
TEntity
The type of individual elements in the collection.
- Inheritance
-
CollectionEndpoint<TEntity, ElementEndpoint<TEntity>>CollectionEndpoint<TEntity>
- Implements
-
ICollectionEndpoint<TEntity, ElementEndpoint<TEntity>>IIndexerEndpoint<ElementEndpoint<TEntity>>ICollectionEndpoint<TEntity>ICollectionEndpoint<TEntity, IElementEndpoint<TEntity>>IIndexerEndpoint<IElementEndpoint<TEntity>>
- Inherited Members
Constructors
CollectionEndpoint(IEndpoint, string)
Creates a new collection endpoint.
public CollectionEndpoint(IEndpoint referrer, string relativeUri)
Parameters
referrer
IEndpointThe endpoint used to navigate to this one.
relativeUri
stringThe URI of this endpoint relative to the
referrer
's. Add a./
prefix here to imply a trailing slashreferrer
's URI.
CollectionEndpoint(IEndpoint, Uri)
Creates a new collection endpoint.
public CollectionEndpoint(IEndpoint referrer, Uri relativeUri)