mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
28 lines
711 B
C#
28 lines
711 B
C#
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Exception settings.
|
|
/// </summary>
|
|
public sealed class ExceptionSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the exception format.
|
|
/// </summary>
|
|
public ExceptionFormats Format { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the exception style.
|
|
/// </summary>
|
|
public ExceptionStyle Style { get; set; }
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ExceptionSettings"/> class.
|
|
/// </summary>
|
|
public ExceptionSettings()
|
|
{
|
|
Format = ExceptionFormats.Default;
|
|
Style = new ExceptionStyle();
|
|
}
|
|
}
|
|
}
|