Class ProtoTraceSection

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

A labelled block inside an operation. Integrations attach sections where the data is known; the viewer renders them under the operation, and the inspector reads the same sections deeper.

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

Constructors

ProtoTraceSection(string, ProtoTraceSectionKind, IReadOnlyList<ProtoTraceSectionItem>?, string?, string?)

A labelled block inside an operation. Integrations attach sections where the data is known; the viewer renders them under the operation, and the inspector reads the same sections deeper.

public ProtoTraceSection(string Label, ProtoTraceSectionKind Kind, IReadOnlyList<ProtoTraceSectionItem>? Items = null, string? Content = null, string? Language = null)

Parameters

Label string
Kind ProtoTraceSectionKind
Items IReadOnlyList<ProtoTraceSectionItem>
Content string
Language string

Properties

Content

public string? Content { get; init; }

Property Value

string

Items

public IReadOnlyList<ProtoTraceSectionItem>? Items { get; init; }

Property Value

IReadOnlyList<ProtoTraceSectionItem>

Kind

public ProtoTraceSectionKind Kind { get; init; }

Property Value

ProtoTraceSectionKind

Label

public string Label { get; init; }

Property Value

string

Language

public string? Language { get; init; }

Property Value

string