Table of Contents

Class FilterString

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Represents a filter for string values with support for property change notifications.

public sealed class FilterString : Filter<string, FilterString>, IFilterValue, IFilter
Inheritance
object
FilterString
Implements
Inherited Members
Extension Methods

Constructors

FilterString()

Initializes a new instance of the FilterString class with default visibility settings.

public FilterString()

FilterString(bool, bool)

Initializes a new instance of the FilterString class with the specified visibility settings.

public FilterString(bool enableVisible, bool asScalar = false)

Parameters

enableVisible bool

A value indicating whether the filter is visible.

asScalar bool

A value indicating whether the filter represents a scalar value.

Methods

GetRealValue(string?)

Replaces a null value with string.Empty before it is assigned.

protected override string GetRealValue(string? value)

Parameters

value string

The value being assigned.

Returns

string

The value, or string.Empty if it is null.