csharp
public readonly record struct PaletteItemOne line of the palette's result list.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (6)
public string TitleWhat it says.
public string CategoryWhere it came from: Command, Asset, Setting.
public int ScoreHow well it matched, from FuzzyMatcher.
public string? DetailWhat is shown on the right — a shortcut, a path — or null.
public Action RunWhat choosing it does.
public Func<string>? PreviewWhat the preview pane shows while this line is highlighted, or null.
Methods (1)
public PaletteItem(string Title, string Category, int Score, string? Detail, Action Run)One line of the palette's result list.
Used by (9)
- AssetSearchSourceVixen.Editor.App
- CommandPaletteVixen.Editor.Ui
- CommandPaletteSourceVixen.Editor.Ui
- DelegatePaletteSourceVixen.Editor.Ui
- EditorShellTestsVixen.Editor.Ui.Tests
- EntitySearchSourceVixen.Editor.App
- IPaletteSourceVixen.Editor.Ui
- MilestoneE3TestsVixen.Editor.App.Tests
- PaletteTestsVixen.Editor.Ui.Tests