Method Equals
Equals(ConnectionState)
Check if two connection state are equals. They are if:
- The ConnectionState.State is the same.
- The NetworkId is the same.
- The DisconnectReason is the same.
Declaration
public bool Equals(ConnectionState other)
Parameters
| Type | Name | Description |
|---|---|---|
| ConnectionState | other | The component to compare |
Returns
| Type | Description |
|---|---|
| bool |