API Reference
ExceptionViewFluent
The fluent methods of ExceptionView, generated from its public properties: With... sets a property and Add... adds to a collection, both returning the same instance.
Inheritance
- Object
- ExceptionViewFluent
Methods
public static ExceptionView WithBasePath(ExceptionView exceptionView, String? value) #ExceptionViewSets ExceptionView.BasePath: The folder paths are shown relative to (default the current directory).
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.String?
- The value.
Returns
The same instance.
public static ExceptionView WithMaxFrames(ExceptionView exceptionView, Int32 value) #ExceptionViewSets ExceptionView.MaxFrames: The most app frames shown per error (default 8); the rest are counted.
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static ExceptionView WithMaxInner(ExceptionView exceptionView, Int32 value) #ExceptionViewSets ExceptionView.MaxInner: How many inner errors are shown (default 4).
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.Int32
- The value.
Returns
The same instance.
public static ExceptionView WithShowFrameworkFrames(ExceptionView exceptionView, Boolean value = true) #ExceptionViewSets ExceptionView.ShowFrameworkFrames: Shows framework frames instead of collapsing them.
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static ExceptionView WithShowSource(ExceptionView exceptionView, Boolean value = true) #ExceptionViewSets ExceptionView.ShowSource: Shows the source lines around the first app frame whose file can be read (default true), highlighted.
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
public static ExceptionView WithShowStack(ExceptionView exceptionView, Boolean value = true) #ExceptionViewSets ExceptionView.ShowStack: Shows the stack frames (default true); off shows the type, message and position only.
Parameters
- exceptionView ConsoleMonster.Widgets.ExceptionView
- The instance.
- value System.Boolean = true
- The value (default true).
Returns
The same instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?