Table of Contents

Class DeleteCommand<T, TKey>

Namespace
Apizr.Mediation.Cruding
Assembly
Apizr.Integrations.MediatR.dll

The mediation Delete command

public class DeleteCommand<T, TKey> : DeleteCommandBase<T, TKey, Unit, IApizrRequestOptions, IApizrRequestOptionsBuilder>, IMediationCommand<TKey, Unit>, IRequest<Unit>, IBaseRequest

Type Parameters

T

The api entity type

TKey

The entity's crud key type

Inheritance
DeleteCommand<T, TKey>
Implements
IMediationCommand<TKey, Unit>
IRequest<Unit>
IBaseRequest
Inherited Members

Constructors

DeleteCommand(TKey, Action<IApizrRequestOptionsBuilder>)

The mediation Delete command constructor

public DeleteCommand(TKey key, Action<IApizrRequestOptionsBuilder> optionsBuilder = null)

Parameters

key TKey

The entity's crud key

optionsBuilder Action<IApizrRequestOptionsBuilder>

Options provided to the request