Namespace TypedRest.Endpoints.Generic
Generic endpoints allow you to model collections and elements.
Classes
- CachingEndpointBase
Base class for building endpoints that use ETags and Last-Modified timestamps for caching and to avoid lost updates.
- CollectionEndpointExtensions
Provides extension methods for IIndexerEndpoint<TElementEndpoint> and ICollectionEndpoint<TEntity, TElementEndpoint>.
- CollectionEndpoint<TEntity>
Endpoint for a collection of
TEntity
s addressable as ElementEndpoint<TEntity>s.
- CollectionEndpoint<TEntity, TElementEndpoint>
Endpoint for a collection of
TEntity
s addressable asTElementEndpoint
s.
- ElementEndpoint<TEntity>
Endpoint for an individual resource.
- IndexerEndpoint<TElementEndpoint>
Endpoint that addresses child
TElementEndpoint
s by ID.
Interfaces
- ICollectionEndpoint<TEntity>
Endpoint for a collection of
TEntity
s addressable as IElementEndpoint<TEntity>s.
- ICollectionEndpoint<TEntity, TElementEndpoint>
Endpoint for a collection of
TEntity
s addressable asTElementEndpoint
s.
- IElementEndpoint
Endpoint for an individual resource. Usually you will want to use the typed-variant of this interface: IElementEndpoint<TEntity>
- IElementEndpoint<TEntity>
Endpoint for an individual resource.
- IIndexerEndpoint<TElementEndpoint>
Endpoint that addresses child
TElementEndpoint
s by ID.