ModelUtilsIsAttrValueEqual Method |
Checks if attribute values are equal.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static bool IsAttrValueEqual(
AttrValueType attrValueType,
bool val0Assigned,
bool val1Assigned,
Object val0,
Object val1,
double maxRelDiff = 1E-09
)
Parameters
- attrValueType
- Type: PDTec.IceNet.Core.ModelAttrValueType
The type of given attribute value. - val0Assigned
- Type: SystemBoolean
Assigned flag of first value. - val1Assigned
- Type: SystemBoolean
Assigned flag of scond value. - val0
- Type: SystemObject
First value. - val1
- Type: SystemObject
Second value. - maxRelDiff (Optional)
- Type: SystemDouble
Optionally the maximum relative difference between two double value types.
Return Value
Type:
BooleanTrue if both values are equal or not assigned.
See Also