Class SimpleAutoCompleteProvider
- Assembly
- DSharpPlus.Commands.dll
An abstract class that may be derived to provide a simple autocomplete implementation that filters from a list of options based on user input.
public class SimpleAutoCompleteProvider : IAutoCompleteProvider- Inheritance
- 
      
      SimpleAutoCompleteProvider
- Implements
Properties
- AllowDuplicateValues
- If false, when multiple choices have the same Value, only the first such choice is presented to the user. Otherwise (if true), has no effect. 
- Choices
- The list of available choices for this autocomplete provider, without any filtering applied. 
- Comparison
- The string comparison used between user input and option names. 
- MatchingMethod
- The method by which choices are matched to the user input. 
Methods
- Convert<T>(params IEnumerable<KeyValuePair<string, T>>)
- Converts a sequence of objects into autocomplete choices. 
- Convert<T>(params IEnumerable<(string Key, object Value)>)
- Converts a sequence of objects into autocomplete choices. 
- Convert<T>(params IEnumerable<T>)
- Converts a sequence of objects into autocomplete choices.