Class SeparatorElementBuilder
- Namespace
- SharpConsoleUI.Panel.Builders
- Assembly
- SharpConsoleUI.dll
Fluent builder for SeparatorElement.
public class SeparatorElementBuilder : IPanelElementBuilder
- Inheritance
-
SeparatorElementBuilder
- Implements
- Inherited Members
- Extension Methods
Methods
Build()
Builds and returns the configured panel element.
public IPanelElement Build()
Returns
WithChar(char)
Sets the separator character.
public SeparatorElementBuilder WithChar(char c)
Parameters
cchar
Returns
WithColor(Color)
Sets the separator color.
public SeparatorElementBuilder WithColor(Color color)
Parameters
colorColor
Returns
WithName(string)
Sets the element name.
public SeparatorElementBuilder WithName(string name)
Parameters
namestring