Forge
csharpdeeb25a2
1#nullable enable
2
3namespace CascadeIDE.Features.Chat;
4
5public readonly record struct SlashCommandPreviewResult(
6 string? Text,
7 SlashCommandPreviewKind Kind)
8{
9 public static SlashCommandPreviewResult Empty { get; } = new(null, SlashCommandPreviewKind.None);
10
11 public bool HasText => !string.IsNullOrWhiteSpace(Text);
12}
13
View only · write via MCP/CIDE