Vixen
02b45cc4
csharp
public readonly record struct PaletteItem

One 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 Title

    What it says.

  • public string Category

    Where it came from: Command, Asset, Setting.

  • public int Score

    How well it matched, from FuzzyMatcher.

  • public string? Detail

    What is shown on the right — a shortcut, a path — or null.

  • public Action Run

    What choosing it does.

  • public Func<string>? Preview

    What 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