Interface IEventSeedingScopeBuilder
Defines a scoped builder for seeding events with namespace targeting.
public interface IEventSeedingScopeBuilder
Methods
ForEventSource(EventSourceId, IEnumerable<object>)
Seed events for a specific event source id with multiple event types.
IEventSeedingScopeBuilder ForEventSource(EventSourceId eventSourceId, IEnumerable<object> events)
Parameters
eventSourceIdEventSourceIdThe event source id to seed for.
eventsIEnumerable<object>Collection of events to seed.
Returns
- IEventSeedingScopeBuilder
The builder for continuation.
For<TEvent>(EventSourceId, IEnumerable<TEvent>)
Seed events for a specific event type and event source id.
IEventSeedingScopeBuilder For<TEvent>(EventSourceId eventSourceId, IEnumerable<TEvent> events) where TEvent : class
Parameters
eventSourceIdEventSourceIdThe event source id to seed for.
eventsIEnumerable<TEvent>Collection of events to seed.
Returns
- IEventSeedingScopeBuilder
The builder for continuation.
Type Parameters
TEventType of event to seed.