A key used to identify a network object nesting.
More...
Inherits INetworkStruct, and IEquatable< NetworkObjectNestingKey >.
|
bool | Equals (NetworkObjectNestingKey other) |
| Checks if the current instance of NetworkObjectNestingKey is equal to another instance of the same type.
|
|
override bool | Equals (object obj) |
| Checks if the current instance of NetworkObjectNestingKey is equal to another object.
|
|
override int | GetHashCode () |
| Serves as the default hash function.
|
|
| NetworkObjectNestingKey (int value) |
| Initializes a new instance of the NetworkObjectNestingKey struct with a specified value.
|
|
override string | ToString () |
| Returns a string that represents the current object.
|
|
|
int | Value |
| The value of the NetworkObjectNestingKey.
|
|
|
const int | ALIGNMENT = 4 |
| The alignment of the NetworkObjectNestingKey in bytes.
|
|
const int | SIZE = 4 |
| The size of the NetworkObjectNestingKey in bytes.
|
|
|
bool | IsNone [get] |
| Checks if the NetworkObjectNestingKey is none.
|
|
bool | IsValid [get] |
| Checks if the NetworkObjectNestingKey is valid.
|
|
A key used to identify a network object nesting.
◆ NetworkObjectNestingKey()
Initializes a new instance of the NetworkObjectNestingKey struct with a specified value.
- Parameters
-
value | The value of the NetworkObjectNestingKey. |
◆ Equals() [1/2]
Checks if the current instance of NetworkObjectNestingKey is equal to another instance of the same type.
- Parameters
-
other | An instance of NetworkObjectNestingKey to compare with the current instance. |
- Returns
- True if the current instance is equal to the other parameter; otherwise, false.
◆ Equals() [2/2]
override bool Equals |
( |
object |
obj | ) |
|
Checks if the current instance of NetworkObjectNestingKey is equal to another object.
- Parameters
-
obj | An object to compare with the current instance. |
- Returns
- True if the current instance is equal to the obj parameter; otherwise, false.
◆ GetHashCode()
override int GetHashCode |
( |
| ) |
|
Serves as the default hash function.
- Returns
- A hash code for the current object.
◆ ToString()
override string ToString |
( |
| ) |
|
Returns a string that represents the current object.
- Returns
- A string that represents the current object.
◆ IsNone
Checks if the NetworkObjectNestingKey is none.
- Returns
- True if the value of the NetworkObjectNestingKey is 0; otherwise, false.
◆ IsValid
Checks if the NetworkObjectNestingKey is valid.
- Returns
- True if the value of the NetworkObjectNestingKey is greater than 0; otherwise, false.