EquillaConstants Class
The EquillaConstants object provides access to standard values used within Equilla scripts that may be needed within an
extension object.
interface IEquillaConstants
{
double InvalidValue { get; }
DateTime InvalidDate { get; }
}
The
InvalidValue constant can be used to test if a price parameter is set to the Equilla Invalid value.
The
InvalidDate constant can be used to test if a date/time parameter is set to the Equilla Invalid value.
bool IsValidPrice( double price )
{
EquillaConstants eqConsts = new EquillaConstantsClass();
return price != eqConsts.InvalidValue;
}