Table of Contents

Class ProjectionChangeset<TModel>

Namespace
Cratis.Chronicle.Projections
Assembly
Cratis.Chronicle.dll

Represents the changeset for a projection.

public record ProjectionChangeset<TModel> : IEquatable<ProjectionChangeset<TModel>>

Type Parameters

TModel

Type of model the projection is for.

Inheritance
ProjectionChangeset<TModel>
Implements
Inherited Members

Constructors

ProjectionChangeset(EventStoreNamespaceName, ModelKey, TModel)

Represents the changeset for a projection.

public ProjectionChangeset(EventStoreNamespaceName Namespace, ModelKey ModelKey, TModel Model)

Parameters

Namespace EventStoreNamespaceName

The namespace for the event store.

ModelKey ModelKey

The ModelKey for the model.

Model TModel

The instance of the model.

Properties

Model

The instance of the model.

public TModel Model { get; init; }

Property Value

TModel

ModelKey

The ModelKey for the model.

public ModelKey ModelKey { get; init; }

Property Value

ModelKey

Namespace

The namespace for the event store.

public EventStoreNamespaceName Namespace { get; init; }

Property Value

EventStoreNamespaceName