Interface IEventTypeMigrators
- Namespace
- Cratis.Chronicle.Events.Migrations
- Assembly
- Cratis.Chronicle.dll
Defines a system that discovers and provides event type migrators.
public interface IEventTypeMigrators
Properties
AllMigrators
Gets all discovered migrator types.
IEnumerable<Type> AllMigrators { get; }
Property Value
Methods
GetMigratorsFor(Type)
Gets all migrators for a specific event type.
IEnumerable<IEventTypeMigration> GetMigratorsFor(Type eventType)
Parameters
eventTypeTypeThe event type to get migrators for.
Returns
- IEnumerable<IEventTypeMigration>
Collection of migrators.