Table of Contents

Class CollectionCommand<TEntity, TElementEndpoint, TElementCommand>

Namespace
TypedRest.CommandLine.Commands.Generic
Assembly
TypedRest.CommandLine.dll
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 TEntitys.

TElementCommand

The specific type of IEndpointCommand is used to handle TElementEndpoints. Must have a public constructor with a TElementEndpoint 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>)

public CollectionCommand(ICollectionEndpoint<TEntity, TElementEndpoint> endpoint)

Parameters

endpoint ICollectionEndpoint<TEntity, TElementEndpoint>

The endpoint this command operates on.