Show / Hide Table of Contents

Interface IEventStore

Provides an abstraction for a store which can save events.

Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IEventStore

Methods

SaveEvents(IEventSourced, CancellationToken)

Saves all registered events in aggregate.

Declaration
Task<IdentityResult> SaveEvents(IEventSourced aggregate, CancellationToken cancellationToken = default(CancellationToken))
Parameters
IEventSourced aggregate

The aggregate to save events for.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken to observe while waiting for the task to complete.

Returns
System.Threading.Tasks.Task<IdentityResult>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the IdentityResult for the operation.

Back to top Generated by DocFX