Table of Contents

Class ProjectionBase<TKey>

Namespace
Excalibur.Dispatch.Delivery
Assembly
Excalibur.Dispatch.dll

Base class for projections that provides common functionality.

[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.PublicProperties)]
public abstract class ProjectionBase<TKey> : IProjection<TKey> where TKey : notnull

Type Parameters

TKey

The type of the projection key.

Inheritance
ProjectionBase<TKey>
Implements
Inherited Members
Extension Methods

Properties

Id

Gets the unique identifier for this projection.

public virtual TKey Id { get; }

Property Value

TKey

The current Id value.

LastModified

Gets or sets the timestamp when this projection was last updated.

public abstract DateTimeOffset LastModified { get; protected set; }

Property Value

DateTimeOffset

The current LastModified value.

ProjectionKey

Gets the unique key that identifies this projection.

public abstract TKey ProjectionKey { get; }

Property Value

TKey

The current ProjectionKey value.

Version

Gets or sets the version of this projection.

public abstract long Version { get; protected set; }

Property Value

long

The current Version value.