Class
PromptSegmentOptions
ConsoleMonster.Prompts
Configuration and cancellation for a segment probe.
Inheritance
- object
- PromptSegmentOptions
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.
Returned or exposed by 1
- Property PromptConfiguration.Segments
Accepted by parameters 2
- Method IPromptSegment.Evaluate
- Constructor PromptConfiguration.PromptConfiguration
Constructors
public PromptSegmentOptions(IReadOnlyDictionary<string, string>? values = null) #Copies the provider's string options.
Parameters
- values System.Collections.Generic.IReadOnlyDictionary<string, string>? = null
Methods
public string Get(string name, string fallback = "") #Gets the specified option, or its default.
Parameters
- name string
- fallback string = ""
Returns
string