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
TEntityThe type of entity the endpoint represents.
TElementEndpointThe specific type of IElementEndpoint<TEntity> the endpoint provides for individual
TEntitys.TElementCommandThe specific type of IEndpointCommand is used to handle
TElementEndpoints. Must have a public constructor with aTElementEndpointparameter.
- 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
endpointICollectionEndpoint<TEntity, TElementEndpoint>The endpoint this command operates on.