Class ResourceIdentifierObjectAdapter
- Namespace
- JsonApiDotNetCore.Serialization.Request.Adapters
- Assembly
- JsonApiDotNetCore.dll
Validates and converts a ResourceIdentifierObject. It appears in the data object(s) of a relationship.
public sealed class ResourceIdentifierObjectAdapter : ResourceIdentityAdapter, IResourceIdentifierObjectAdapter
- Inheritance
-
ResourceIdentifierObjectAdapter
- Implements
- Inherited Members
Constructors
ResourceIdentifierObjectAdapter(IResourceGraph, IResourceFactory)
Validates and converts a ResourceIdentifierObject. It appears in the data object(s) of a relationship.
public ResourceIdentifierObjectAdapter(IResourceGraph resourceGraph, IResourceFactory resourceFactory)
Parameters
resourceGraphIResourceGraphresourceFactoryIResourceFactory
Methods
Convert(ResourceIdentifierObject, ResourceIdentityRequirements, RequestAdapterState)
Validates and converts the specified resourceIdentifierObject.
public IIdentifiable Convert(ResourceIdentifierObject resourceIdentifierObject, ResourceIdentityRequirements requirements, RequestAdapterState state)
Parameters
resourceIdentifierObjectResourceIdentifierObjectrequirementsResourceIdentityRequirementsstateRequestAdapterState