Table of Contents

Delegate PaletteFilter

Namespace
Whim.CommandPalette
Assembly
Whim.CommandPalette.dll
A function that takes a word and returns its matches within the word to match against.
public delegate FilterTextMatch[]? PaletteFilter(string word, string wordToMatchAgainst)

Parameters

word string
wordToMatchAgainst string

Returns

FilterTextMatch[]
null if the input was invalid, otherwise an array of matches. Valid inputs may return an empty array when there are no matches.