ModelUtilsIsAttrValueEqual Method |
Checks if attribute values are equal.
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic 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