Skip to content

ServerFolderListing

Record in Oadm.Sdk.Client · Oadm.Sdk.Client.dll

The subfolders of ServerFolderListing.Path on the server (empty ServerFolderListing.Path: the drives / top folders), sorted by name, at most ServerFolderTexts.MaxEntries; hidden, system and unreadable folders left out.

public sealed record ServerFolderListing(string Path, string? Parent, IReadOnlyList<ServerFolder> Folders, bool More, string? Problem)

Parameters

  • Path: The listed folder, normalized; empty for the roots.
  • Parent: Its parent; null at a root and for the roots.
  • Folders: The subfolders.
  • More: There were more subfolders than the list holds.
  • Problem: Why a plugin may not keep its data in ServerFolderListing.Path (IServerFolders.CheckAsync); null when it may.
IReadOnlyList<ServerFolder> Folders { get; init; }

The subfolders.

bool More { get; init; }

There were more subfolders than the list holds.

string? Parent { get; init; }

Its parent; null at a root and for the roots.

string Path { get; init; }

The listed folder, normalized; empty for the roots.

string? Problem { get; init; }

Why a plugin may not keep its data in ServerFolderListing.Path (IServerFolders.CheckAsync); null when it may.