Skip to content
ConsoleMonster

API Reference

Class

PathField

Namespace ConsoleMonster.Interactive
Assembly ConsoleMonster
Base Field
Modifiers sealed

A file or folder path with completion.

Inheritance

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Constructors

public PathField(String name, String? label = null) #

Creates a path field.

Parameters

name System.String requiredposition: 0
The key.
label System.String? = null optionalposition: 1
The label.

Properties

public override FieldKind Kind { get; } #

The kind.

public PathKind PathKind { get; set; } #

What is accepted.

public Boolean MustExist { get; set; } #

Whether the path must exist.

public IList<String> Extensions { get; } #

Extensions offered as suggestions.