NetForumEntityCastToCustomEntityTEntity Method

Safely cast this entity to a custom user-defined type, as configured via the current CustomEntityRegistrar.

Definition

Namespace: Ignition.Framework.Entities
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public TEntity CastToCustomEntity<TEntity>()
where TEntity : NetForumEntity

Type Parameters

TEntity
The custom type to cast this entity to

Return Value

TEntity
The entity, cast to a custom type

See Also