Table of Contents

Class ReactorTypeExtensions

Namespace
Cratis.Chronicle.Reactors
Assembly
Cratis.Chronicle.dll

Extension methods for working with Reactors and type discovery.

public static class ReactorTypeExtensions
Inheritance
ReactorTypeExtensions
Inherited Members

Methods

AllReactors(IEnumerable<Type>)

Find all Reactors.

public static IEnumerable<Type> AllReactors(this IEnumerable<Type> types)

Parameters

types IEnumerable<Type>

Collection of types.

Returns

IEnumerable<Type>

Collection of types that are Reactors.

GetEventSequenceId(Type)

Get the event sequence id for a Reactor type.

public static EventSequenceId GetEventSequenceId(this Type type)

Parameters

type Type

Type to get from.

Returns

EventSequenceId

The EventSequenceId for the type.

GetReactorId(Type)

Get the Reactor id for a Reactor type.

public static ReactorId GetReactorId(this Type type)

Parameters

type Type

Type to get from.

Returns

ReactorId

The ReactorId for the type.