ReadOnlyMultiDictionaryBaseTKey, TValueEqualValues Method |
If the derived class does not use the default comparison for values, this
methods should be overridden to compare two values for equality. This is
used for the correct implementation of ICollection.Contains on the Values
and KeyValuePairs collections.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxprotected virtual bool EqualValues(
TValue value1,
TValue value2
)
protected:
virtual bool EqualValues(
TValue value1,
TValue value2
)
Parameters
- value1
- Type: TValue
First value to compare. - value2
- Type: TValue
Second value to compare.
Return Value
Type:
BooleanTrue if the values are equal.
See Also