InteractiveOptions
Interactive session configuration.
- Kind:
Class - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/Console/InteractiveOptions.cs
Signature
Section titled “Signature”public sealed class InteractiveOptionsInheritance
Section titled “Inheritance”Constructors
Section titled “Constructors”InteractiveOptions()
Section titled “InteractiveOptions()”Initializes a new instance of the InteractiveOptions class.
public InteractiveOptions()Properties
Section titled “Properties”Autocomplete
Section titled “Autocomplete”Gets interactive autocomplete options.
public AutocompleteOptions Autocomplete { get; }Returns
Section titled “Returns”HistoryProvider
Section titled “HistoryProvider”Gets or sets an optional history provider for pluggable persistence. When set, this provider is used instead of the default in-memory implementation.
public IHistoryProvider? HistoryProvider { get; set; }Returns
Section titled “Returns”InteractivePolicy
Section titled “InteractivePolicy”Gets or sets the interactive policy.
public InteractivePolicy InteractivePolicy { get; set; }Returns
Section titled “Returns”Prompt
Section titled “Prompt”Gets or sets the prompt text.
public string Prompt { get; set; }