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

original ProjectionQueryResult

ProjectionQueryResult(IReadOnlyList<string>)

Represents the result of querying a projection against the event log.

public ProjectionQueryResult(IReadOnlyList<string> ReadModelEntries)

Parameters

ReadModelEntries IReadOnlyList<string>

Collection of JSON representations of the resulting read model entries.

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ReadModelEntries

Collection of JSON representations of the resulting read model entries.

public IReadOnlyList<string> ReadModelEntries { get; init; }

Property Value

IReadOnlyList<string>

Methods

Deconstruct(out IReadOnlyList<string>)

public void Deconstruct(out IReadOnlyList<string> ReadModelEntries)

Parameters

ReadModelEntries IReadOnlyList<string>

Equals(ProjectionQueryResult?)

public virtual bool Equals(ProjectionQueryResult? other)

Parameters

other ProjectionQueryResult

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ProjectionQueryResult?, ProjectionQueryResult?)

public static bool operator ==(ProjectionQueryResult? left, ProjectionQueryResult? right)

Parameters

left ProjectionQueryResult
right ProjectionQueryResult

Returns

bool

operator !=(ProjectionQueryResult?, ProjectionQueryResult?)

public static bool operator !=(ProjectionQueryResult? left, ProjectionQueryResult? right)

Parameters

left ProjectionQueryResult
right ProjectionQueryResult

Returns

bool