Class
CommandProvider
ConsoleMonster.Interactive
A command provider from a function.
Inheritance
- object
- CommandProvider
Constructors
public CommandProvider(string name, Func<IEnumerable<PaletteCommand>> commands) #Creates a provider.
Parameters
- name string
- The group name.
- commands System.Func<System.Collections.Generic.IEnumerable<ConsoleMonster.Interactive.PaletteCommand>>
- Returns the commands.
Methods
public IEnumerable<PaletteCommand> GetCommands() #The commands; called when the palette opens.