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

type Type

Type to get from.

Returns

EventSequenceId

The EventSequenceId for the type.

GetProjectionId(Type)

Get the projection id for a type.

public static ProjectionId GetProjectionId(this Type type)

Parameters

type Type

Type to get from.

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 Type

Projection type to get for.

Returns

Type

Type of read model.