| ComparisonUtilsCheckValuesForEquality Method |
Checks two objects for equality.
Tries to convert second value to the same type as first value.
Namespace:
Slash.Unity.DataBind.Core.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static bool CheckValuesForEquality(
Object firstValue,
Object secondValue
)
Public Shared Function CheckValuesForEquality (
firstValue As Object,
secondValue As Object
) As Boolean
public:
static bool CheckValuesForEquality(
Object^ firstValue,
Object^ secondValue
)
static member CheckValuesForEquality :
firstValue : Object *
secondValue : Object -> bool
Parameters
- firstValue
- Type: SystemObject
First value to compare. - secondValue
- Type: SystemObject
Second value to compare.
Return Value
Type:
BooleanTrue if both values can be converted to the same type and have an equal value; otherwise, false.
See Also