HasBoxBorderExtensions

Contains extension methods for .

Contains extension methods for IHasBoxBorder.

Methods

public static T AsciiBorder<T>(T obj)

Display an ASCII border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T BeveledBorder<T>(T obj)

Display a beveled border using thin block edges and diagonal corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T Border<T>(T obj, BoxBorder border)

Sets the border.

Parameters:

obj (T)
The object to set the border for.
border (BoxBorder)
The border to use.

Returns:

The same instance so that multiple calls can be chained.

public static T DashedBorder<T>(T obj)

Display a dashed border with square corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T DashedWideBorder<T>(T obj)

Display a wide-dashed border with square corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T DottedBorder<T>(T obj)

Display a dotted border with square corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T DoubleBorder<T>(T obj)

Display a double border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T DoubleHorizontalBorder<T>(T obj)

Display a border with double horizontal edges and single vertical edges.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T DoubleVerticalBorder<T>(T obj)

Display a border with double vertical edges and single horizontal edges.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyBorder<T>(T obj)

Display a heavy border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyDashedBorder<T>(T obj)

Display a heavy dashed border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyDashedWideBorder<T>(T obj)

Display a heavy wide-dashed border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyDottedBorder<T>(T obj)

Display a heavy dotted border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyHorizontalBorder<T>(T obj)

Display a border with heavy horizontal edges and light vertical edges.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T HeavyVerticalBorder<T>(T obj)

Display a border with heavy vertical edges and light horizontal edges.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T McGuganHorizontalBorder<T>(T obj)

Display the horizontal variant of the McGugan border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T McGuganVerticalBorder<T>(T obj)

Display the vertical variant of the McGugan border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T NearBorder<T>(T obj)

Display a "near" border that hugs the content using thin block elements.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T NoBorder<T>(T obj)

Do not display a border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T RoundedBorder<T>(T obj)

Display a rounded border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T RoundedDashedBorder<T>(T obj)

Display a dashed border with rounded corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T RoundedDashedWideBorder<T>(T obj)

Display a wide-dashed border with rounded corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T RoundedDottedBorder<T>(T obj)

Display a dotted border with rounded corners.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.

public static T SquareBorder<T>(T obj)

Display a square border.

Parameters:

obj (T)
The object to set the border for.

Returns:

The same instance so that multiple calls can be chained.