C# Класс TastyDomainDriven.AppendOnlyStoreExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

AddEvents() публичный статический Метод

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
Результат void

CopyAppender() публичный статический Метод

public static CopyAppender ( this source, IAppendOnlyStore to ) : void
source this
to IAppendOnlyStore
Результат void

CopyAppender() публичный статический Метод

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
Результат void