Table of Contents

Interface ITypeGraphReader

Namespace
ActivityPub.Types.Internal
Assembly
ActivityPub.Types.dll
internal interface ITypeGraphReader

Properties

ASContext

JsonLDContext ASContext { get; }

Property Value

JsonLDContext

ASTypes

CompositeASType ASTypes { get; }

Property Value

CompositeASType

Methods

TryReadEntity<TModel>(TypeMap, out ASEntity?)

bool TryReadEntity<TModel>(TypeMap typeMap, out ASEntity? entity) where TModel : ASType, IASModel<TModel>

Parameters

typeMap TypeMap
entity ASEntity

Returns

bool

Type Parameters

TModel

TryReadEntity<TModel, TEntity>(TypeMap, out TEntity?)

bool TryReadEntity<TModel, TEntity>(TypeMap typeMap, out TEntity? entity) where TModel : ASType, IASModel<TModel, TEntity> where TEntity : ASEntity<TModel, TEntity>, new()

Parameters

typeMap TypeMap
entity TEntity

Returns

bool

Type Parameters

TModel
TEntity