Skip to content
ConsoleMonster
Class

FlowBranch

ConsoleMonster.Widgets

Namespace
ConsoleMonster.Widgets
Assembly
ConsoleMonster
Implements
IEquatable<FlowBranch>
Modifiers
sealed

The flow's single side branch; a null destination ends below its source.

Inheritance

  • object
  • FlowBranch

Usage

Explore 8 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

Accepted by parameters 6

Constructors

public FlowBranch(string From, string Label, string? To = null, StatusKind? Status = null) #

The flow's single side branch; a null destination ends below its source.

Parameters

From string required
Source node key.
Label string required
Literal reason or alternative path label.
To string? = null optional
Optional later node to return to.
Status ConsoleMonster.Styling.StatusKind? = null optional
Optional status.

Methods

public FlowBranch <Clone>$() #

Returns

FlowBranch
public void Deconstruct(out string From, out string Label, out string? To, out StatusKind? Status) #

Parameters

From string required
Label string required
To string? required
Status StatusKind? required
Equals 2 overloads
public override bool Equals(object? obj) #

Parameters

obj object? required

Returns

bool
public bool Equals(FlowBranch? other) #

Parameters

other FlowBranch? required

Returns

bool
public override int GetHashCode() #

Returns

int
public static bool op_Equality(FlowBranch? left, FlowBranch? right) #

Parameters

left FlowBranch? required
right FlowBranch? required

Returns

bool
public static bool op_Inequality(FlowBranch? left, FlowBranch? right) #

Parameters

left FlowBranch? required
right FlowBranch? required

Returns

bool
public override string ToString() #

Returns

string

Properties

public string From { get; init; } #

Source node key.

public string Label { get; init; } #

Literal reason or alternative path label.

public string? To { get; init; } #

Optional later node to return to.

public StatusKind? Status { get; init; } #

Optional status.