Class RemoveFromRelationshipProcessor<TResource, TId>
- Namespace
- JsonApiDotNetCore.AtomicOperations.Processors
- Assembly
- JsonApiDotNetCore.dll
Processes a single operation to remove resources from a to-many relationship.
[PublicAPI]
public class RemoveFromRelationshipProcessor<TResource, TId> : IRemoveFromRelationshipProcessor<TResource, TId>, IOperationProcessor where TResource : class, IIdentifiable<TId>
Type Parameters
TResource
TId
- Inheritance
-
RemoveFromRelationshipProcessor<TResource, TId>
- Implements
-
IRemoveFromRelationshipProcessor<TResource, TId>
- Inherited Members
Constructors
RemoveFromRelationshipProcessor(IRemoveFromRelationshipService<TResource, TId>)
public RemoveFromRelationshipProcessor(IRemoveFromRelationshipService<TResource, TId> service)
Parameters
service
IRemoveFromRelationshipService<TResource, TId>
Methods
ProcessAsync(OperationContainer, CancellationToken)
Processes the specified operation.
public virtual Task<OperationContainer?> ProcessAsync(OperationContainer operation, CancellationToken cancellationToken)
Parameters
operation
OperationContainercancellationToken
CancellationToken