/// <inheritdoc/> public override string GetPart(TableBorderPart part) { return(part switch { TableBorderPart.HeaderTopLeft => " ", TableBorderPart.HeaderTop => " ", TableBorderPart.HeaderTopSeparator => " ", TableBorderPart.HeaderTopRight => " ", TableBorderPart.HeaderLeft => " ", TableBorderPart.HeaderSeparator => " ", TableBorderPart.HeaderRight => " ", TableBorderPart.HeaderBottomLeft => "━", TableBorderPart.HeaderBottom => "━", TableBorderPart.HeaderBottomSeparator => "━", TableBorderPart.HeaderBottomRight => "━", TableBorderPart.CellLeft => " ", TableBorderPart.CellSeparator => " ", TableBorderPart.CellRight => " ", TableBorderPart.FooterTopLeft => "━", TableBorderPart.FooterTop => "━", TableBorderPart.FooterTopSeparator => "━", TableBorderPart.FooterTopRight => "━", TableBorderPart.FooterBottomLeft => " ", TableBorderPart.FooterBottom => " ", TableBorderPart.FooterBottomSeparator => " ", TableBorderPart.FooterBottomRight => " ", _ => throw new InvalidOperationException("Unknown border part."), });
/// <inheritdoc/> public override string GetPart(TableBorderPart part) { return(" "); }
/// <summary> /// Gets the string representation of a specified table 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(TableBorderPart part);