Class DeleteProcessor<TResource, TId>
- Namespace
- JsonApiDotNetCore.AtomicOperations.Processors
- Assembly
- JsonApiDotNetCore.dll
Processes a single operation to delete an existing resource.
[PublicAPI]
public class DeleteProcessor<TResource, TId> : IDeleteProcessor<TResource, TId>, IOperationProcessor where TResource : class, IIdentifiable<TId>
Type Parameters
TResource
The resource type.
TId
The resource identifier type.
- Inheritance
-
DeleteProcessor<TResource, TId>
- Implements
-
IDeleteProcessor<TResource, TId>
- Inherited Members
Constructors
DeleteProcessor(IDeleteService<TResource, TId>)
public DeleteProcessor(IDeleteService<TResource, TId> service)
Parameters
service
IDeleteService<TResource, TId>
Methods
ProcessAsync(OperationContainer, CancellationToken)
Processes the specified operation.
public virtual Task<OperationContainer?> ProcessAsync(OperationContainer operation, CancellationToken cancellationToken)
Parameters
operation
OperationContainercancellationToken
CancellationToken