Table of Contents

Interface ITargetedFields

Namespace
JsonApiDotNetCore.Resources
Assembly
JsonApiDotNetCore.dll

Container to register which resource fields (attributes and relationships) are targeted by a request.

public interface ITargetedFields

Properties

Attributes

The set of attributes that are targeted by a request.

IReadOnlySet<AttrAttribute> Attributes { get; }

Property Value

IReadOnlySet<AttrAttribute>

Relationships

The set of relationships that are targeted by a request.

IReadOnlySet<RelationshipAttribute> Relationships { get; }

Property Value

IReadOnlySet<RelationshipAttribute>

Methods

CopyFrom(ITargetedFields)

Performs a shallow copy.

void CopyFrom(ITargetedFields other)

Parameters

other ITargetedFields