namespace Spectre.Console;
///
/// Represents a progress column.
///
public abstract class ProgressColumn
{
///
/// Gets a value indicating whether or not content should not wrap.
///
protected internal virtual bool NoWrap { get; }
///
/// Gets a renderable representing the column.
///
/// The render options.
/// The task.
/// The elapsed time since last call.
/// A renderable representing the column.
public abstract IRenderable Render(RenderOptions options, ProgressTask task, TimeSpan deltaTime);
///
/// Gets the width of the column.
///
/// The render options.
/// The width of the column, or null to calculate.
public virtual int? GetColumnWidth(RenderOptions options)
{
return null;
}
}