Struct StageSnapshot
Immutable snapshot of a stage's state at a point in time.
Inherited Members
Namespace: Serenity.Stage.Domain.ValueObjects
Assembly: Serenity.Stage.Domain.dll
Syntax
public readonly struct StageSnapshot
Constructors
StageSnapshot(StageId, StageStatus)
Creates a new StageSnapshot.
Declaration
public StageSnapshot(StageId id, StageStatus status)
Parameters
| Type | Name | Description |
|---|---|---|
| StageId | id | The stage identity. |
| StageStatus | status | The stage status. |
Fields
Id
The stage identity.
Declaration
public readonly StageId Id
Field Value
| Type | Description |
|---|---|
| StageId |
Status
The stage status at the time of the snapshot.
Declaration
public readonly StageStatus Status
Field Value
| Type | Description |
|---|---|
| StageStatus |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |