Class ProtoTraceSectionItem
One item of a fields, checks or diff section. Fields use Value; checks use Value and Detail with a Tone; diff uses Label as the property path with expected in Value and actual in Detail.
public sealed record ProtoTraceSectionItem : IEquatable<ProtoTraceSectionItem>
- Inheritance
-
ProtoTraceSectionItem
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoTraceSectionItem(string, string?, string?, ProtoTraceSectionTone)
One item of a fields, checks or diff section. Fields use Value; checks use Value and Detail with a Tone; diff uses Label as the property path with expected in Value and actual in Detail.
public ProtoTraceSectionItem(string Label, string? Value = null, string? Detail = null, ProtoTraceSectionTone Tone = ProtoTraceSectionTone.Neutral)
Parameters
LabelstringValuestringDetailstringToneProtoTraceSectionTone
Properties
Detail
public string? Detail { get; init; }
Property Value
Label
public string Label { get; init; }
Property Value
Tone
public ProtoTraceSectionTone Tone { get; init; }
Property Value
Value
public string? Value { get; init; }