Table of Contents

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

resourceGraph IResourceGraph
resourceFactory IResourceFactory

Methods

Convert(ResourceIdentifierObject, ResourceIdentityRequirements, RequestAdapterState)

Validates and converts the specified resourceIdentifierObject.

public IIdentifiable Convert(ResourceIdentifierObject resourceIdentifierObject, ResourceIdentityRequirements requirements, RequestAdapterState state)

Parameters

resourceIdentifierObject ResourceIdentifierObject
requirements ResourceIdentityRequirements
state RequestAdapterState

Returns

IIdentifiable