Table of Contents

Struct FolderEntry

Namespace
ItTiger.TigerCli.Tui.Abstractions
Assembly
ItTiger.TigerCli.dll
A single selectable folder row in IFolderBrowser: either a child directory or, at the Windows top level, a drive root.
public readonly record struct FolderEntry : IEquatable<FolderEntry>
Implements
Inherited Members

Constructors

FolderEntry(string, string, bool)

A single selectable folder row in IFolderBrowser: either a child directory or, at the Windows top level, a drive root.
public FolderEntry(string Label, string Path, bool HasChildren)

Parameters

Label string
Display text for the row (the directory name, or a drive name such as C:\).
Path string
The full path the row represents and that selection returns.
HasChildren bool
True when the folder contains at least one subfolder, so it can be opened.

Properties

HasChildren

True when the folder contains at least one subfolder, so it can be opened.
public bool HasChildren { get; init; }

Property Value

bool

Label

Display text for the row (the directory name, or a drive name such as C:\).
public string Label { get; init; }

Property Value

string

Path

The full path the row represents and that selection returns.
public string Path { get; init; }

Property Value

string