Table of Contents

Struct GetResult<T>

Namespace
DynaSharp
Assembly
DynaSharp.dll

What a get returns.

public readonly struct GetResult<T>

Type Parameters

T

The type of the item.

Inherited Members

Properties

ConsumedCapacity

Gets the capacity the read consumed, if ReturnCapacity asked for it.

public ConsumedCapacity? ConsumedCapacity { get; }

Property Value

ConsumedCapacity

Found

Gets a value indicating whether an item exists under the key. It is what to test, because an entity may be a struct.

[MemberNotNullWhen(true, "Item")]
public bool Found { get; }

Property Value

bool

Item

Gets the item, or the default value of T if there is none.

public T? Item { get; }

Property Value

T