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
TInstructionThe type of instructions the nodes contain.
Methods
Format(in TInstruction)
Formats a given TInstruction.
string Format(in TInstruction instruction)
Parameters
instructionTInstructionThe
TInstructionto format.
Returns
- string
The formatted
instruction.