C# Class TastyDomainDriven.AppendOnlyStoreExtensions

Afficher le fichier Open project: jaceenet/TastyDomainDriven

Méthodes publiques

Méthode Description
AddEvents ( this dest, IEnumerable source, IEventSerializer serializer = null ) : void

Add events to an existing appender, events in order will be serialized as a single bytestream.

CopyAppender ( this source, IAppendOnlyStore to ) : void
CopyAppender ( this source, IAppendOnlyStore to, int version ) : void

Copy the content of one appender to another. The bytestreams will be identical. Use AddEvents(appender, events) to compress the bytestreams.

Method Details

AddEvents() public static méthode

Add events to an existing appender, events in order will be serialized as a single bytestream.
public static AddEvents ( this dest, IEnumerable source, IEventSerializer serializer = null ) : void
dest this appender
source IEnumerable events to add
serializer IEventSerializer
Résultat void

CopyAppender() public static méthode

public static CopyAppender ( this source, IAppendOnlyStore to ) : void
source this
to IAppendOnlyStore
Résultat void

CopyAppender() public static méthode

Copy the content of one appender to another. The bytestreams will be identical. Use AddEvents(appender, events) to compress the bytestreams.
public static CopyAppender ( this source, IAppendOnlyStore to, int version ) : void
source this
to IAppendOnlyStore
version int
Résultat void