Method Equals
Equals(TransactionStatus)
Returns true if this status has the same name as the compared status.
Declaration
public bool Equals(TransactionStatus other)
Parameters
Type | Name | Description |
---|---|---|
TransactionStatus | other | The TransactionStatus to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean, true if the two statuses are equivalent. |
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Returns true if this status has the same name as the compared status.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The TransactionStatus to compare to. |
Returns
Type | Description |
---|---|
System.Boolean | A boolean, true if the two statuses are equivalent. |
Overrides
System.Object.Equals(System.Object)
Equals(String)
Returns a boolean indicating if the name of this status matches (case insensitive comparison) the value of the string to compare to.
Declaration
public bool Equals(string other)
Parameters
Type | Name | Description |
---|---|---|
System.String | other | A string containing the name to compare. |
Returns
Type | Description |
---|---|
System.Boolean | True if the name of this status matches the value of the |
Implements
System.IEquatable<T>.Equals(T)