MessageHandler MH Sign Up

TestProjectionRestorer<T> Class

T

Definition

Package: MessageHandler.EventSourcing.Testing
Assembly: MessageHandler.EventSourcing.Testing
Namespace: MessageHandler.EventSourcing.Testing

A projection restorer for testing

Constructors

Constructor Description
TestProjectionRestorer(object[]) Creates a new instance of TestProjectionRestorer
TestProjectionRestorer(IEnumerable, object[]) Creates a new instance of TestProjectionRestorer
TestProjectionRestorer(IInvokeProjections, IEventSource) Creates a new instance of TestProjectionRestorer

Methods

Method Description
Restore(string) Restore all models for a stream type.
Restore(string, Func<string,T>) Restore all models for a stream type.
Restore(string, string) Restore a specific model for a stream type.
Restore(string, string, Func<string,T>) Restore a specific model for a stream type.
Restore(IEnumerable) Restore a specific model for a stream of events.
Restore(IEnumerable, Func<string,T>) Restore a specific model for a stream of events.

Sign up to our newsletter to get notified about new content and releases

You can unsubscribe at any time by clicking the link in the footer of your emails. I use Mailchimp as my marketing platform. By clicking subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.