Class ProjectionQueryResult
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
Represents the result of querying a projection against the event log.
public record ProjectionQueryResult : IEquatable<ProjectionQueryResult>
- Inheritance
-
ProjectionQueryResult
- Implements
- Inherited Members
- Extension Methods
Constructors
ProjectionQueryResult(ProjectionQueryResult)
protected ProjectionQueryResult(ProjectionQueryResult original)
Parameters
originalProjectionQueryResult
ProjectionQueryResult(IReadOnlyList<string>)
Represents the result of querying a projection against the event log.
public ProjectionQueryResult(IReadOnlyList<string> ReadModelEntries)
Parameters
ReadModelEntriesIReadOnlyList<string>Collection of JSON representations of the resulting read model entries.
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
ReadModelEntries
Collection of JSON representations of the resulting read model entries.
public IReadOnlyList<string> ReadModelEntries { get; init; }
Property Value
Methods
Deconstruct(out IReadOnlyList<string>)
public void Deconstruct(out IReadOnlyList<string> ReadModelEntries)
Parameters
ReadModelEntriesIReadOnlyList<string>
Equals(ProjectionQueryResult?)
public virtual bool Equals(ProjectionQueryResult? other)
Parameters
otherProjectionQueryResult
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ProjectionQueryResult?, ProjectionQueryResult?)
public static bool operator ==(ProjectionQueryResult? left, ProjectionQueryResult? right)
Parameters
leftProjectionQueryResultrightProjectionQueryResult
Returns
operator !=(ProjectionQueryResult?, ProjectionQueryResult?)
public static bool operator !=(ProjectionQueryResult? left, ProjectionQueryResult? right)
Parameters
leftProjectionQueryResultrightProjectionQueryResult