Skip to content
ChartForgeX
Class

TopologyResolvedScenario

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX
Modifiers
sealed

A scenario whose steps are resolved against the topology, so hosts can show who sends what to whom.

Inheritance

  • object
  • TopologyResolvedScenario

Remarks

The same resolved steps drive topology playback, the matching sequence diagram, per-step renders and terminal views.

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Methods

public string ToText(int? activeStepIndex = null, TopologyScenarioTextPayloads payloads = All, TopologyCellGlyphSet glyphs = Unicode) #

Writes the steps as plain text, one numbered line per step, with payloads indented below.

Parameters

activeStepIndex int? = null optional
The zero-based step to mark, or null.
payloads ChartForgeX.Topology.TopologyScenarioTextPayloads = All optional
Which payloads to include: all, only the active step's, or none.
glyphs ChartForgeX.Topology.TopologyCellGlyphSet = Unicode optional
Whether arrows and markers use Unicode or plain ASCII.

Returns

string Text with \n line breaks.

Properties

public TopologyScenario Scenario { get; } #

Gets the source scenario.

public string Id { get; } #

Gets the scenario id.

public string Label { get; } #

Gets the scenario label.

public IReadOnlyList<TopologyResolvedScenarioStep> Steps { get; } #

Gets the ordered resolved steps.

public IReadOnlyList<string> ParticipantNodeIds { get; } #

Gets the node ids in the order the scenario first reaches them.