Class LocalIdValidator
- Namespace
- JsonApiDotNetCore.AtomicOperations
- Assembly
- JsonApiDotNetCore.dll
Validates declaration, assignment and reference of local IDs within a list of operations.
[PublicAPI]
public sealed class LocalIdValidator
- Inheritance
-
LocalIdValidator
- Inherited Members
Constructors
LocalIdValidator(ILocalIdTracker, IResourceGraph)
public LocalIdValidator(ILocalIdTracker localIdTracker, IResourceGraph resourceGraph)
Parameters
localIdTracker
ILocalIdTrackerresourceGraph
IResourceGraph
Methods
Validate(IEnumerable<OperationContainer>)
public void Validate(IEnumerable<OperationContainer> operations)
Parameters
operations
IEnumerable<OperationContainer>