Struct UserDataSlot<TValue>
Uniquely identifies user data which can be associated with any object.
Implements
IEquatable<UserDataSlot<TValue>>
Inherited Members
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public readonly record struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
Type Parameters
| Name | Description |
|---|---|
| TValue | The type of the value stored in user data slot. |
Constructors
| Edit this page View SourceUserDataSlot()
Uniquely identifies user data which can be associated with any object.
Declaration
public UserDataSlot()
Properties
| Edit this page View SourceIsAllocated
Gets a value indicating that this object was constructed using UserDataSlot() constructor.
Declaration
public bool IsAllocated { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceToString()
Gets textual representation of this data slot useful for debugging.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | Textual representation of this data slot. |