Table of Contents

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

IPanelElement

ShowDirtyChars(bool)

Sets whether to show dirty character count.

public PerformanceElementBuilder ShowDirtyChars(bool show)

Parameters

show bool

Returns

PerformanceElementBuilder

ShowFPS(bool)

Sets whether to show FPS.

public PerformanceElementBuilder ShowFPS(bool show)

Parameters

show bool

Returns

PerformanceElementBuilder

WithName(string)

Sets the element name.

public PerformanceElementBuilder WithName(string name)

Parameters

name string

Returns

PerformanceElementBuilder