Class CollectionCommand<TEntity, TElementEndpoint, TElementCommand>
- Namespace
- TypedRest.CommandLine.Commands.Generic
- Assembly
- TypedRest.CommandLine.dll
Command operating on a ICollectionEndpoint<TEntity, TElementEndpoint>.
public class CollectionCommand<TEntity, TElementEndpoint, TElementCommand> : CollectionCommand<TEntity, ICollectionEndpoint<TEntity, TElementEndpoint>, TElementEndpoint, TElementCommand>, IEndpointCommand where TEntity : class where TElementEndpoint : IElementEndpoint<TEntity> where TElementCommand : IEndpointCommand
Type Parameters
TEntity
The type of entity the endpoint represents.
TElementEndpoint
The specific type of IElementEndpoint<TEntity> the endpoint provides for individual
TEntity
s.TElementCommand
The specific type of IEndpointCommand is used to handle
TElementEndpoint
s. Must have a public constructor with aTElementEndpoint
parameter.
- Inheritance
-
EndpointCommand<ICollectionEndpoint<TEntity, TElementEndpoint>>IndexerCommand<ICollectionEndpoint<TEntity, TElementEndpoint>, TElementEndpoint, TElementCommand>CollectionCommand<TEntity, ICollectionEndpoint<TEntity, TElementEndpoint>, TElementEndpoint, TElementCommand>CollectionCommand<TEntity, TElementEndpoint, TElementCommand>
- Implements
- Derived
- Inherited Members
Constructors
CollectionCommand(ICollectionEndpoint<TEntity, TElementEndpoint>)
Command operating on a ICollectionEndpoint<TEntity, TElementEndpoint>.
public CollectionCommand(ICollectionEndpoint<TEntity, TElementEndpoint> endpoint)
Parameters
endpoint
ICollectionEndpoint<TEntity, TElementEndpoint>The endpoint this command operates on.