Class ReduceResult
Represents the result of a reduce operation.
public record ReduceResult : IEquatable<ReduceResult>
- Inheritance
-
ReduceResult
- Implements
- Inherited Members
Constructors
ReduceResult(object?, EventSequenceNumber, IEnumerable<string>, string)
Represents the result of a reduce operation.
public ReduceResult(object? ModelState, EventSequenceNumber LastSuccessfullyObservedEvent, IEnumerable<string> ErrorMessages, string StackTrace)
Parameters
ModelState
objectPotential model state, unless errored. Null means it should delete it.
LastSuccessfullyObservedEvent
EventSequenceNumberThe sequence number of the last successfully observed event.
ErrorMessages
IEnumerable<string>Collection of error messages, if any.
StackTrace
stringThe stack trace, if an error occurred.
Properties
ErrorMessages
Collection of error messages, if any.
public IEnumerable<string> ErrorMessages { get; init; }
Property Value
IsSuccess
Gets whether or not the reduce operation was successful.
public bool IsSuccess { get; }
Property Value
LastSuccessfullyObservedEvent
The sequence number of the last successfully observed event.
public EventSequenceNumber LastSuccessfullyObservedEvent { get; init; }
Property Value
ModelState
Potential model state, unless errored. Null means it should delete it.
public object? ModelState { get; init; }
Property Value
StackTrace
The stack trace, if an error occurred.
public string StackTrace { get; init; }