Class ExceptionHandlerAdorner<TInstruction>
- Namespace
- Echo.ControlFlow.Serialization.Dot
- Assembly
- Echo.ControlFlow.dll
Represents an adorner that adds styles to regions in control flow graphs.
public class ExceptionHandlerAdorner<TInstruction> : IDotSubGraphAdorner where TInstruction : notnull
Type Parameters
TInstructionThe type of instructions the nodes contain.
- Inheritance
-
ExceptionHandlerAdorner<TInstruction>
- Implements
- Inherited Members
Properties
DefaultStyle
Gets or sets the default style of a control flow region.
public DotEntityStyle DefaultStyle { get; set; }
Property Value
EpilogueLabel
Gets or sets the label of an epilogue region in an exception handler region.
public string EpilogueLabel { get; set; }
Property Value
EpilogueStyle
Gets or sets the style of an epilogue region in an exception handler region.
public DotEntityStyle EpilogueStyle { get; set; }
Property Value
ExceptionHandlerLabel
Gets or sets the label of an enclosing exception handler region.
public string ExceptionHandlerLabel { get; set; }
Property Value
ExceptionHandlerStyle
Gets or sets the style of an enclosing exception handler region.
public DotEntityStyle ExceptionHandlerStyle { get; set; }
Property Value
HandlerContentsLabel
Gets or sets the label of a contents region in a handler of an exception handler region.
public string HandlerContentsLabel { get; set; }
Property Value
HandlerContentsStyle
Gets or sets the default style of a control flow region.
public DotEntityStyle HandlerContentsStyle { get; set; }
Property Value
HandlerLabel
Gets or sets the label of a handler region in an exception handler region.
public string HandlerLabel { get; set; }
Property Value
HandlerStyle
Gets or sets the style of a handler region in an exception handler region.
public DotEntityStyle HandlerStyle { get; set; }
Property Value
PrologueLabel
Gets or sets the label of the prologue region in an exception handler region.
public string PrologueLabel { get; set; }
Property Value
PrologueStyle
Gets or sets the style of a prologue region in an exception handler region.
public DotEntityStyle PrologueStyle { get; set; }
Property Value
ProtectedLabel
Gets or sets the label of the protected region in an exception handler region.
public string ProtectedLabel { get; set; }
Property Value
ProtectedStyle
Gets or sets the style of the protected region in an exception handler region.
public DotEntityStyle ProtectedStyle { get; set; }
Property Value
Methods
GetSubGraphAttributes(ISubGraph)
Obtains the adornments that should be added to the sub graph.
public IDictionary<string, string>? GetSubGraphAttributes(ISubGraph subGraph)
Parameters
subGraphISubGraphThe sub graph to adorn.
Returns
- IDictionary<string, string>
The adornments.
GetSubGraphName(ISubGraph)
Determines the name of the provided sub graph.
public string GetSubGraphName(ISubGraph subGraph)
Parameters
subGraphISubGraphThe sub graph.