Table of Contents

Interface IAppendResult

Namespace
Cratis.Chronicle.EventSequences
Assembly
Cratis.Chronicle.dll

Defines the common properties for append result types.

public interface IAppendResult

Properties

ConstraintViolations

Gets any violations that occurred during the operation.

IEnumerable<ConstraintViolation> ConstraintViolations { get; }

Property Value

IEnumerable<ConstraintViolation>

CorrelationId

Gets the CorrelationId for the operation.

CorrelationId CorrelationId { get; }

Property Value

CorrelationId

Errors

Gets any exception messages that might have occurred.

IEnumerable<AppendError> Errors { get; }

Property Value

IEnumerable<AppendError>

HasConcurrencyViolations

Gets whether or not there are any concurrency violations that occurred.

bool HasConcurrencyViolations { get; }

Property Value

bool

HasConstraintViolations

Gets whether or not there are any violations that occurred.

bool HasConstraintViolations { get; }

Property Value

bool

HasErrors

Gets whether or not there are any errors that occurred.

bool HasErrors { get; }

Property Value

bool

IsSuccess

Gets a value indicating whether the operation was successful.

bool IsSuccess { get; }

Property Value

bool