/// <inheritdoc/> public override string GetPart(BoxBorderPart part) { return(part switch { BoxBorderPart.TopLeft => "┏", BoxBorderPart.Top => "━", BoxBorderPart.TopRight => "┓", BoxBorderPart.Left => "┃", BoxBorderPart.Right => "┃", BoxBorderPart.BottomLeft => "┗", BoxBorderPart.Bottom => "━", BoxBorderPart.BottomRight => "┛", _ => throw new InvalidOperationException("Unknown border part."), });
/// <inheritdoc/> public override string GetPart(BoxBorderPart part) { return(" "); }
/// <summary> /// Gets the string representation of the specified border part. /// </summary> /// <param name="part">The part to get the character representation for.</param> /// <returns>A character representation of the specified border part.</returns> public abstract string GetPart(BoxBorderPart part);