Class ProtoStepDescriptor

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

One step of a flow: the operation the step records and the entity that operation belongs to. Declaring the operation is what lets a teardown chain keep its semantic entry - a resource release stays resource.release, an attribute teardown stays attribute.after - instead of collapsing into a generic step. A step declared by name alone records as flow.step.

public sealed record ProtoStepDescriptor : IEquatable<ProtoStepDescriptor>
Inheritance
ProtoStepDescriptor
Implements
Inherited Members
Extension Methods

Constructors

ProtoStepDescriptor(string, string, string, ProtoTracePhase, IReadOnlyDictionary<string, string?>?, string?, string?)

One step of a flow: the operation the step records and the entity that operation belongs to. Declaring the operation is what lets a teardown chain keep its semantic entry - a resource release stays resource.release, an attribute teardown stays attribute.after - instead of collapsing into a generic step. A step declared by name alone records as flow.step.

public ProtoStepDescriptor(string Kind, string Name, string Source, ProtoTracePhase Phase = ProtoTracePhase.Execution, IReadOnlyDictionary<string, string?>? Attributes = null, string? EntityKind = null, string? EntityId = null)

Parameters

Kind string
Name string
Source string
Phase ProtoTracePhase
Attributes IReadOnlyDictionary<string, string>
EntityKind string
EntityId string

Properties

Attributes

public IReadOnlyDictionary<string, string?>? Attributes { get; init; }

Property Value

IReadOnlyDictionary<string, string>

EntityId

public string? EntityId { get; init; }

Property Value

string

EntityKind

public string? EntityKind { get; init; }

Property Value

string

Kind

public string Kind { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

Phase

public ProtoTracePhase Phase { get; init; }

Property Value

ProtoTracePhase

Source

public string Source { get; init; }

Property Value

string