Class PerformanceElementBuilder
- Namespace
- SharpConsoleUI.Panel.Builders
- Assembly
- SharpConsoleUI.dll
Fluent builder for PerformanceElement.
public class PerformanceElementBuilder : IPanelElementBuilder
- Inheritance
-
PerformanceElementBuilder
- Implements
- Inherited Members
- Extension Methods
Methods
Build()
Builds and returns the configured panel element.
public IPanelElement Build()
Returns
ShowDirtyChars(bool)
Sets whether to show dirty character count.
public PerformanceElementBuilder ShowDirtyChars(bool show)
Parameters
showbool
Returns
ShowFPS(bool)
Sets whether to show FPS.
public PerformanceElementBuilder ShowFPS(bool show)
Parameters
showbool
Returns
WithName(string)
Sets the element name.
public PerformanceElementBuilder WithName(string name)
Parameters
namestring