Class CollectionEndpoint<TEntity>
Endpoint for a collection of TEntitys 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
TEntityThe 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
referrerIEndpointThe endpoint used to navigate to this one.
relativeUristringThe 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)