| ComparerEqualsT, TValue Method (T, T, FuncT, TValue) |
Determines whether a is equal to b
Namespace:
Cauldron
Assembly:
Cauldron (in Cauldron.dll) Version: 3.2.0.2
Syntax public static bool Equals<T, TValue>(
T a,
T b,
Func<T, TValue> selector
)
Public Shared Function Equals(Of T, TValue) (
a As T,
b As T,
selector As Func(Of T, TValue)
) As Boolean
public:
generic<typename T, typename TValue>
static bool Equals(
T a,
T b,
Func<T, TValue>^ selector
)
Parameters
- a
- Type: T
The first object to compare - b
- Type: T
The second object to compare - selector
- Type: SystemFuncT, TValue
The value selector which will be used for the compare
Type Parameters
- T
- The type of the objects to be compared
- TValue
- The values of the object used to compare them (e.g. Hash)
Return Value
Type:
Boolean
true if
a is equal to
b; otherwise, false.
See Also