Method Equals
Equals(object)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | Object containing an AllocatorManager.AllocatorHandle. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |
Overrides
Equals(AllocatorHandle)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
Declaration
public bool Equals(AllocatorManager.AllocatorHandle other)
Parameters
| Type | Name | Description |
|---|---|---|
| AllocatorManager.AllocatorHandle | other | AllocatorManager.AllocatorHandle to compare against. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |
Equals(Allocator)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
Declaration
public bool Equals(Allocator other)
Parameters
| Type | Name | Description |
|---|---|---|
| Allocator | other | Allocator to compare against. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |