Table of Contents

Interface IInstructionFormatter<TInstruction>

Namespace
Echo.ControlFlow.Serialization.Dot
Assembly
Echo.ControlFlow.dll

Allows the user to format instructions in the ControlFlowNodeAdorner<TInstruction>.

public interface IInstructionFormatter<TInstruction> where TInstruction : notnull

Type Parameters

TInstruction

The type of instructions the nodes contain.

Methods

Format(in TInstruction)

Formats a given TInstruction.

string Format(in TInstruction instruction)

Parameters

instruction TInstruction

The TInstruction to format.

Returns

string

The formatted instruction.