Table of Contents

Class FilterBase

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Base class for filters implementing the IFilter interface.

public abstract class FilterBase : NotifyPropertyChangedBase, IFilter
Inheritance
object
FilterBase
Implements
Derived
Inherited Members
Extension Methods

Constructors

FilterBase()

Initializes a new instance of the FilterBase class with default parameters.

protected FilterBase()

FilterBase(bool, bool)

Initializes a new instance of the FilterBase class with the specified parameters.

protected FilterBase(bool enabledVisible, bool asScalar)

Parameters

enabledVisible bool

Specifies whether the "Enabled" property is visible to users.

asScalar bool

Specifies whether the filter operates in scalar mode.

Fields

_asScalar

A value indicating whether the filter operates in scalar mode; set by the constructor and exposed as AsScalar.

protected readonly bool _asScalar

Field Value

bool

Properties

Enabled

Gets or sets a value indicating whether the filter is enabled.

[Display(ResourceType = typeof(Strings), Name = "Enabled", Order = 1)]
public bool Enabled { get; set; }

Property Value

bool

EnabledVisible

Gets a value indicating whether the visibility of the "Enabled" property is visible to users.

[Browsable(false)]
[JsonInclude]
public bool EnabledVisible { get; }

Property Value

bool

Methods

Clone()

public abstract object Clone()

Returns

object