Table of Contents

Interface IASModel<TModel, TEntity>

Namespace
ActivityPub.Types
Assembly
ActivityPub.Types.dll

Indicates that the class is a convertible ActivityStreams model. The EntityType property is automatically set to Entity.

public interface IASModel<out TModel, out TEntity> : IASModel<TModel> where TModel : ASType, IASModel<out TModel, out TEntity> where TEntity : ASEntity<out TModel, out TEntity>

Type Parameters

TModel

Type of the implementing class (the type of this)

TEntity

Type of this model's entity

Inherited Members

Explicit Interface Implementations

IASModel<TModel>.EntityType

Type of the entity associated with this model.

[JsonIgnore]
static Type IASModel<out TModel>.EntityType { get; }

Returns

Type