Table of Contents

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

Key string

A stable key for the stage.

Name string

The stage, as a reader would name it.

Synchronous bool

Whether the stage runs on the request path, before the response.

Status string

One of the PipelineStageStatuses values.

OccurredUtc DateTimeOffset?

When the stage happened, when it is known.

OffsetMilliseconds double?

The time since the first recorded stage.

Source string

Where the timestamp comes from.

Note string

What a reader should know about this stage.

Properties

Key

A stable key for the stage.

public string Key { get; init; }

Property Value

string

Name

The stage, as a reader would name it.

public string Name { get; init; }

Property Value

string

Note

What a reader should know about this stage.

public string? Note { get; init; }

Property Value

string

OccurredUtc

When the stage happened, when it is known.

public DateTimeOffset? OccurredUtc { get; init; }

Property Value

DateTimeOffset?

OffsetMilliseconds

The time since the first recorded stage.

public double? OffsetMilliseconds { get; init; }

Property Value

double?

Source

Where the timestamp comes from.

public string Source { get; init; }

Property Value

string

Status

One of the PipelineStageStatuses values.

public string Status { get; init; }

Property Value

string

Synchronous

Whether the stage runs on the request path, before the response.

public bool Synchronous { get; init; }

Property Value

bool