Class ExceptionComparer
Provides methods for comparing exceptions
Implements
Namespace: Tableau.Migration
Assembly: Tableau.Migration.dll
Syntax
public class ExceptionComparer : IEqualityComparer<Exception>
Methods
Equals(Exception?, Exception?)
Determines whether the specified objects are equal.
Declaration
public bool Equals(Exception? x, Exception? y)
Parameters
Type | Name | Description |
---|---|---|
Exception | x | The first object of type |
Exception | y | The second object of type |
Returns
Type | Description |
---|---|
bool |
GetHashCode(Exception)
Returns a hash code for the specified object.
Declaration
public int GetHashCode(Exception obj)
Parameters
Type | Name | Description |
---|---|---|
Exception | obj | The object for which a hash code is to be returned. |
Returns
Type | Description |
---|---|
int | A hash code for the specified object. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The type of |