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