Click or drag to resize

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
)

Parameters

firstValue
Type: SystemObject
First value to compare.
secondValue
Type: SystemObject
Second value to compare.

Return Value

Type: Boolean
True if both values can be converted to the same type and have an equal value; otherwise, false.
See Also