Interface IEvaluatedIncludeCache
- Namespace
- JsonApiDotNetCore.Queries
- Assembly
- JsonApiDotNetCore.dll
Provides in-memory storage for the evaluated inclusion tree within a request. This tree is produced from query string and resource definition callbacks. The cache enables the serialization layer to take changes from OnApplyIncludes(IImmutableSet<IncludeElementExpression>) into account.
public interface IEvaluatedIncludeCache
Methods
Get()
Gets the evaluated inclusion tree that was stored earlier.
IncludeExpression? Get()
Returns
Set(IncludeExpression)
Stores the evaluated inclusion tree for later usage.
void Set(IncludeExpression include)
Parameters
include
IncludeExpression