PickerResult<T>.Selected record

Namespace Runic.Platform · Runic.Platform 0.7.0-preview.5

public sealed record PickerResult<T>.Selected : PickerResult<T>, IEquatable<PickerResult<T>.Selected>

Nested in PickerResult. Inherits or implements PickerResult, IEquatable.

The user selected a resource whose access must be disposed.

Constructors

Selected

public Selected(T value)

Creates a selection carrying acquired access.

Properties

Value

public T Value { get; }

The acquired resource.