ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.FilterBool Class Reference

Represents a filter with a boolean value type. Inherits from Filter<TValue, TFilter> where TValue is set to bool and TFilter is set to FilterBool. More...

Inheritance diagram for ATAS.Indicators.FilterBool:
[legend]
Collaboration diagram for ATAS.Indicators.FilterBool:
[legend]

Public Member Functions

 FilterBool (bool enableVisible, bool asScalar=false)
 Initializes a new instance of the FilterBool class with the specified visibility of the FilterBase.Enabled property and scalar value.
 
 FilterBool ()
 Initializes a new instance of the FilterBool class with default visibility settings.
 
- Public Member Functions inherited from ATAS.Indicators.Filter< bool, FilterBool >
override bool Equals (object? obj)
 
override int GetHashCode ()
 
 Filter (bool enabledVisible, bool asScale=false)
 Initializes a new instance of the Filter<TValue, TFilter> class with the specified parameters.
 
 Filter ()
 Initializes a new instance of the Filter<TValue, TFilter> class with default parameters.
 
 Filter (bool enabledVisible, bool asScalar=false)
 Initializes a new instance of the Filter<TValue> class with the specified visibility of the Enabled property and scalar value.
 
 Filter ()
 Initializes a new instance of the Filter<TValue> class with default visibility settings.
 
 Filter (bool enableVisible, bool asScalar=false)
 Initializes a new instance of the Filter class with the specified visibility of the Enabled property and scalar value.
 
 Filter ()
 Initializes a new instance of the Filter class with default visibility settings.
 
TFilter ValueOnChanging (Func< ValueChangingEventArgs< TValue >, TValue > onChanging)
 Sets a function to be invoked when the value of the filter is changing.
 
TFilter ValueOnChanged (Action< TValue > onChanged)
 Sets an action to be invoked when the value of the filter has changed.
 
override string ToString ()
 Converts the filter to its string representation.
 
override object Clone ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ATAS.Indicators.Filter< bool, FilterBool >
static bool operator== (Filter< TValue, TFilter >? left, Filter< TValue, TFilter >? right)
 
static bool operator!= (Filter< TValue, TFilter >? left, Filter< TValue, TFilter >? right)
 
static operator TValue (Filter< TValue, TFilter > other)
 Converts the Filter<TValue, TFilter> to its value of type TValue .
 
- Protected Member Functions inherited from ATAS.Indicators.Filter< bool, FilterBool >
bool Equals (Filter< TValue, TFilter > other)
 
virtual TValue ValueOnChanging (TValue? oldValue, TValue? newValue)
 Invoked when the value of the filter is changing.
 
void RaiseValueOnChanged ()
 Raises the NotifyPropertyChangedBase.PropertyChanged event for the Value property and invokes the value changed action.
 
virtual TFilter CreateNew ()
 Creates a new instance of the derived filter type.
 
- Properties inherited from ATAS.Indicators.Filter< bool, FilterBool >
TValue Value [get, set]
 Gets or sets the value of the filter.
 

Detailed Description

Represents a filter with a boolean value type. Inherits from Filter<TValue, TFilter> where TValue is set to bool and TFilter is set to FilterBool.

Constructor & Destructor Documentation

◆ FilterBool() [1/2]

ATAS.Indicators.FilterBool.FilterBool ( bool  enableVisible,
bool  asScalar = false 
)

Initializes a new instance of the FilterBool class with the specified visibility of the FilterBase.Enabled property and scalar value.

Parameters
enableVisibletrue if the FilterBase.Enabled property should be visible; otherwise, false.
asScalartrue if the filter holds a scalar value; otherwise, false.

◆ FilterBool() [2/2]

ATAS.Indicators.FilterBool.FilterBool ( )

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


The documentation for this class was generated from the following file: