IAlignable Interface
Represents something that is alignable.
public interface IAlignable
- Namespace
- Spectre
.Console - Implementing Types
Properties
- abstract Justify? Alignment
- Gets or sets the alignment.
Extension Methods
-
T Alignment
<IAlignable> (Justify?) -
Sets the alignment for an
IAlignable
object. -
T And
<IAlignable> (Action <IAlignable> ) - Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.
-
T Centered
<IAlignable> () -
Sets the
IAlignable
object to be centered. -
T LeftAligned
<IAlignable> () -
Sets the
IAlignable
object to be left aligned. -
T RightAligned
<IAlignable> () -
Sets the
IAlignable
object to be right aligned.