NativeFileSelection record

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

public sealed record NativeFileSelection : IEquatable<NativeFileSelection>

Inherits or implements IEquatable.

An acquired native selection, confined to C# provider infrastructure.

Parameters

Path

The acquired local path, never a bridge payload.

Access

Optional access grant transferred to the resulting lease.

AllowsSiblingReplacement

Whether access permits same-directory staging and replacement.

Constructors

NativeFileSelection

public NativeFileSelection(string Path, IAsyncDisposable? Access, bool AllowsSiblingReplacement)

An acquired native selection, confined to C# provider infrastructure.

Parameters

Path

The acquired local path, never a bridge payload.

Access

Optional access grant transferred to the resulting lease.

AllowsSiblingReplacement

Whether access permits same-directory staging and replacement.

Properties

Access

public IAsyncDisposable? Access { get; init; }

Optional access grant transferred to the resulting lease.

AllowsSiblingReplacement

public bool AllowsSiblingReplacement { get; init; }

Whether access permits same-directory staging and replacement.

Path

public string Path { get; init; }

The acquired local path, never a bridge payload.