Class TextException
Exception text renderable
Inheritance
Namespace
Syntax
public class TextException : SimpleCyclicWriter
Constructors
TextException(Exception)
Makes a new instance of the exception text renderer
Declaration
public TextException(Exception ex)
Parameters
| Name | Type | Description |
|---|---|---|
| ex | Exception |
Properties
BackgroundColor
Background color of the exception text
Property Value
Color
Declaration
public Color BackgroundColor { get; set; }
Exception
Exception to render
Property Value
Exception
Declaration
public Exception Exception { get; set; }
ExceptionMessageColor
Exception message color
Property Value
Color
Declaration
public Color ExceptionMessageColor { get; set; }
ExceptionNameColor
Exception name color
Property Value
Color
Declaration
public Color ExceptionNameColor { get; set; }
FileColumnNumberColor
File column number color
Property Value
Color
Declaration
public Color FileColumnNumberColor { get; set; }
FileLineNumberColor
File line number color
Property Value
Color
Declaration
public Color FileLineNumberColor { get; set; }
FileNameColor
File name color
Property Value
Color
Declaration
public Color FileNameColor { get; set; }
ForegroundColor
Foreground color of the exception text (for general text)
Property Value
Color
Declaration
public Color ForegroundColor { get; set; }
IlOffsetColor
Intermediate Language offset color
Property Value
Color
Declaration
public Color IlOffsetColor { get; set; }
MethodColor
Method color
Property Value
Color
Declaration
public Color MethodColor { get; set; }
MethodMemberColor
Method member color
Property Value
Color
Declaration
public Color MethodMemberColor { get; set; }
ParameterColor
Parameter color
Property Value
Color
Declaration
public Color ParameterColor { get; set; }
ParameterTypeColor
Parameter type color
Property Value
Color
Declaration
public Color ParameterTypeColor { get; set; }
UseColors
Whether to use colors or not
Property Value
bool
Declaration
public bool UseColors { get; set; }
UseFileInfo
Whether to use file info or not
Property Value
bool
Declaration
public bool UseFileInfo { get; set; }
Methods
Render()
Renders an exception text
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()