mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-26 05:02:50 +08:00
21 lines
578 B
C#
21 lines
578 B
C#
namespace Spectre.Console
|
|
{
|
|
/// <summary>
|
|
/// Represents settings for a progress task.
|
|
/// </summary>
|
|
public sealed class ProgressTaskSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the task's max value.
|
|
/// Defaults to <c>100</c>.
|
|
/// </summary>
|
|
public double MaxValue { get; set; } = 100;
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether or not the task
|
|
/// will be auto started. Defaults to <c>true</c>.
|
|
/// </summary>
|
|
public bool AutoStart { get; set; } = true;
|
|
}
|
|
}
|