DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.12.2" />

.NET API 581,528 bytes

 UserDataSlot<TValue>

public struct UserDataSlot<TValue> : IEquatable<UserDataSlot<TValue>>
Uniquely identifies user data which can be associated with any object.
public bool IsAllocated { get; }

Gets a value indicating that this object was constructed using #ctor constructor.

public UserDataSlot()

Allocates a new data slot.

public static UserDataSlot<TValue> Allocate()

Allocates a new data slot.

public static bool op_Equality(UserDataSlot<TValue> left, UserDataSlot<TValue> right)

public static bool op_Inequality(UserDataSlot<TValue> left, UserDataSlot<TValue> right)

public bool Equals(UserDataSlot<TValue> other)