2 types derived from SelectionPromptItem
aspire (2)
Interaction\ConsoleInteractionService.cs (2)
958private sealed record SelectionPromptValue<T>(T Value, string Text, bool Grouped) : SelectionPromptItem(Text, Grouped ? 2 : 0) where T : notnull; 959private sealed record SelectionPromptGroup(string Text, Style? Style) : SelectionPromptItem(Text, 0);
3 references to SelectionPromptItem
aspire (3)
Interaction\ConsoleInteractionService.cs (3)
349var prompt = new SelectionPrompt<SelectionPromptItem>() 369Dictionary<string, ISelectionItem<SelectionPromptItem>> groups = []; 397var selected = await MessageConsole.PromptAsync(prompt, cancellationToken);