Class PipelineStage
- Namespace
- ReferenceApplication.Web.Governance.Pipeline
- Assembly
- ReferenceApplication.Web.dll
One stage of a governed request.
public sealed record PipelineStage : IEquatable<PipelineStage>
- Inheritance
-
PipelineStage
- Implements
- Inherited Members
Constructors
PipelineStage(string, string, bool, string, DateTimeOffset?, double?, string, string?)
One stage of a governed request.
public PipelineStage(string Key, string Name, bool Synchronous, string Status, DateTimeOffset? OccurredUtc, double? OffsetMilliseconds, string Source, string? Note)
Parameters
KeystringA stable key for the stage.
NamestringThe stage, as a reader would name it.
SynchronousboolWhether the stage runs on the request path, before the response.
StatusstringOne of the PipelineStageStatuses values.
OccurredUtcDateTimeOffset?When the stage happened, when it is known.
OffsetMillisecondsdouble?The time since the first recorded stage.
SourcestringWhere the timestamp comes from.
NotestringWhat a reader should know about this stage.
Properties
Key
A stable key for the stage.
public string Key { get; init; }
Property Value
Name
The stage, as a reader would name it.
public string Name { get; init; }
Property Value
Note
What a reader should know about this stage.
public string? Note { get; init; }
Property Value
OccurredUtc
When the stage happened, when it is known.
public DateTimeOffset? OccurredUtc { get; init; }
Property Value
OffsetMilliseconds
The time since the first recorded stage.
public double? OffsetMilliseconds { get; init; }
Property Value
Source
Where the timestamp comes from.
public string Source { get; init; }
Property Value
Status
One of the PipelineStageStatuses values.
public string Status { get; init; }
Property Value
Synchronous
Whether the stage runs on the request path, before the response.
public bool Synchronous { get; init; }