IPreDocumentModification<TDocument>
Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories
Interface of algorithms that run before the persistence of documents
public interface IPreDocumentModification<TDocument>
Type Parameters
TDocument
Methods
RunAsync(IOctoSession, IEnumerable<TDocument>)
Runs pre persistence modifications on the given documents
Task RunAsync(IOctoSession session, IEnumerable<TDocument> documents)
Parameters
session
IOctoSession
documents
IEnumerable<TDocument>