Method Equals
Equals(Object)
Compares two TrustStatus instances and returns true if they represent the same status.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | A TrustStatus to compare to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if |
Overrides
System.Object.Equals(System.Object)
Equals(TrustStatus)
Compares two TrustStatus instances and returns true if they represent the same status.
Declaration
public bool Equals(TrustStatus other)
Parameters
| Type | Name | Description |
|---|---|---|
| TrustStatus | other | A TrustStatus to compare to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if |
Equals(TrustStatus, TrustStatus)
Compares two TrustStatus instances and returns true if they represent the same status, or are both null.
Declaration
public bool Equals(TrustStatus x, TrustStatus y)
Parameters
| Type | Name | Description |
|---|---|---|
| TrustStatus | x | The first status to compare. |
| TrustStatus | y | The second status to compare. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if both instances are null or represent the same status, otherwise false. |
Implements
System.Collections.Generic.IEqualityComparer<T>.Equals(T, T)