Skip to content
ConsoleMonster

API Reference

Class

ChangePreviewOptions

Namespace ConsoleMonster.Changes
Assembly ConsoleMonster
Modifiers sealed

Options for ChangePreview.Confirm.

Inheritance

  • Object
  • ChangePreviewOptions

Usage

Explore 3 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.

Accepted by parameters 3

Constructors

public ChangePreviewOptions() #

Properties

public String? Title { get; set; } #

A title above the preview (markup), or null.

public ChangeViewMode Mode { get; set; } #

The view of the changes (default ChangeViewMode.Full).

public String? Question { get; set; } #

The question, or null for "Apply these changes?" in the current language.

public String? TypedConfirmation { get; set; } #

Text the user must type to confirm (for example a server name), or null.

public Boolean TypedWhenDestructive { get; set; } #

Whether changes that remove objects need a typed confirmation when ChangePreviewOptions.TypedConfirmation is not set: the user types the number of removals (default true).

public InteractiveOptions? Interactive { get; set; } #

Prompt options (input, target, labels), or null for the defaults.