Class DefaultOperationFilter
- Namespace
- JsonApiDotNetCore.AtomicOperations
- Assembly
- JsonApiDotNetCore.dll
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class DefaultOperationFilter : IAtomicOperationFilter
- Inheritance
-
DefaultOperationFilter
- Implements
- Inherited Members
Methods
GetJsonApiEndpoints(ResourceType)
protected virtual JsonApiEndpoints? GetJsonApiEndpoints(ResourceType resourceType)
Parameters
resourceType
ResourceType
Returns
IsEnabled(ResourceType, WriteOperationKind)
Determines whether the specified operation can be used in an atomic:operations request.
public virtual bool IsEnabled(ResourceType resourceType, WriteOperationKind writeOperation)
Parameters
resourceType
ResourceTypeThe targeted primary resource type of the operation.
writeOperation
WriteOperationKindThe operation kind.