Interface
IPromptSegment
ConsoleMonster.Prompts
A segment provider in the shell prompt.
Usage
Explore 1 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 1
- Constructor PromptEngine.PromptEngine
Methods
public abstract PromptSegmentValue? Evaluate(PromptContext context, PromptSegmentOptions options) #Returns the value for the context, or null when the segment has nothing to show.
Parameters
- context ConsoleMonster.Prompts.PromptContext
- options ConsoleMonster.Prompts.PromptSegmentOptions
Returns
PromptSegmentValue?