Show / Hide Table of Contents

Struct UserDataSlot<TValue>

Uniquely identifies user data which can be associated with any object.

Implements
IEquatable<UserDataSlot<TValue>>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
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 Source

UserDataSlot()

Uniquely identifies user data which can be associated with any object.

Declaration
public UserDataSlot()

Properties

| Edit this page View Source

IsAllocated

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 Source

ToString()

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.

Overrides
ValueType.ToString()

Implements

IEquatable<T>

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, ReadOnlySpan<T>)
Collection.ToAsyncEnumerator<TEnumerator, T>(TEnumerator, CancellationToken)
Collection.ToClassicEnumerator<TEnumerator, T>(TEnumerator)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
ExpressionBuilder.Const<T>(T)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾