Class ProjectionTypeExtensions
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Extension methods for working with projection types.
public static class ProjectionTypeExtensions
- Inheritance
-
ProjectionTypeExtensions
- Inherited Members
Methods
GetEventSequenceId(Type)
Get the event sequence id for a projection type.
public static EventSequenceId GetEventSequenceId(this Type type)
Parameters
Returns
- EventSequenceId
The EventSequenceId for the type.
GetProjectionId(Type)
Get the projection id for a type.
public static ProjectionId GetProjectionId(this Type type)
Parameters
Returns
- ProjectionId
The ProjectionId for the type.
GetReadModelType(Type)
Get the type of the read model for a projection.
public static Type GetReadModelType(this Type type)
Parameters
type
TypeProjection type to get for.
Returns
- Type
Type of read model.