MessageHandler MH Sign Up

IRestoreProjections Restore Method

R

Definition

Package: MessageHandler.EventSourcing
Assembly: MessageHandler.EventSourcing
Namespace: MessageHandler.EventSourcing.Projections
Class: IRestoreProjections

Overloads

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(string)

Restore all models for a stream type.

Parameters

streamType: System.String
The stream type.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IDictionary>

Restore(string, Func<string,T>)

Restore all models for a stream type.

Parameters

streamType: System.String
The stream type.
factory: System.Func
A factory which instantiates the model.

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IDictionary>

Restore(string, string)

Restore a specific model for a stream type.

Parameters

streamType: System.String
The stream type
id: System.String
The id of the model

Returns

System.Threading.Tasks.Task

Restore(string, string, Func<string,T>)

Restore a specific model for a stream type.

Parameters

streamType: System.String
The stream type
id: System.String
The id of the model
factory: System.Func
A factory to construct the model

Returns

System.Threading.Tasks.Task

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.