class MAGES::OverridablePropertyBase¶
Overview¶
The base class for the OverridableProperty<T> classes. DO NOT USE THIS CLASS DIRECTLY. More…
class OverridablePropertyBase { public: // properties DefaultValueLocatorAttribute.LocatorData LocatorData; bool IsOverridden; abstract object OverridenValue; // methods OverridablePropertyBase(bool isOverridden = false, object value = default); object GetEffectiveValue(); }; // direct descendants templateclass OverridableProperty;
Detailed Documentation¶
The base class for the OverridableProperty<T> classes. DO NOT USE THIS CLASS DIRECTLY.
Properties¶
DefaultValueLocatorAttribute.LocatorData LocatorData
Gets or sets the locator data.
bool IsOverridden
Gets or sets a value indicating whether the property is overriden.
abstract object OverridenValue
Gets or sets the overriden value.
Methods¶
OverridablePropertyBase(bool isOverridden = false, object value = default)
Initializes a new instance of the OverridablePropertyBase class.
Parameters:
isOverridden |
Whether or not the value is overriden. |
value |
The overriden value. |
object GetEffectiveValue()
Gets the effective value of this property.
Returns:
The overriden or default value.