Table of Contents

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 TEntitys addressable as ElementEndpoint<TEntity>s.

CollectionEndpoint<TEntity, TElementEndpoint>

Endpoint for a collection of TEntitys addressable as TElementEndpoints.

ElementEndpoint<TEntity>

Endpoint for an individual resource.

IndexerEndpoint<TElementEndpoint>

Endpoint that addresses child TElementEndpoints by ID.

Interfaces

ICollectionEndpoint<TEntity>

Endpoint for a collection of TEntitys addressable as IElementEndpoint<TEntity>s.

ICollectionEndpoint<TEntity, TElementEndpoint>

Endpoint for a collection of TEntitys addressable as TElementEndpoints.

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 TElementEndpoints by ID.