DataGateCredentialEqualityComparer class

Provides a comparer for IDataGateCredential objects, which supports equality comparisons.

Namespace: ASNA.DataGate.Providers Assembly: ASNA.QSys.DataGate.Client.dll

Inheritance: Object

Properties

Type Name Description
DataGateCredentialEqualityComparer Default Gets the default instance of the DataGateCredentialEqualityComparer class.

Methods

Signature Description
Equals(IDataGateCredential, IDataGateCredential) Determines whether the specified IDataGateCredential objects are equal.
GetHashCode(IDataGateCredential) Returns a hash code for the specified IDataGateCredential object.

bool Equals(IDataGateCredential x, IDataGateCredential y)

Determines whether the specified IDataGateCredential objects are equal.

bool Equals(IDataGateCredential x, IDataGateCredential y)

Parameters

Type Parameter name Description
IDataGateCredential x The first IDataGateCredential object to compare.
IDataGateCredential y The second IDataGateCredential object to compare.

Returns

Type Description
Boolean True if the specified IDataGateCredential objects are equal; otherwise, false.

int GetHashCode(IDataGateCredential obj)

Returns a hash code for the specified IDataGateCredential object.

int GetHashCode(IDataGateCredential obj)

Parameters

Type Parameter name Description
IDataGateCredential obj The IDataGateCredential object for which a hash code is to be returned.

Returns

Type Description
Int32 A hash code for the specified IDataGateCredential object.