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
Labelstring- Display text for the row (the directory name, or a drive name such as
C:\). Pathstring- The full path the row represents and that selection returns.
HasChildrenbool- 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
Label
Display text for the row (the directory name, or a drive name such as
C:\).public string Label { get; init; }
Property Value
Path
The full path the row represents and that selection returns.
public string Path { get; init; }