Interface CommandRegistrar<T>

Type Parameters:
T - The sender type

public interface CommandRegistrar<T>
Represents a service for registering and unregistering commands
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers a command
    void
    Unregisters a command
  • Method Details

    • register

      void register(CommandBase<T> command)
      Registers a command
      Parameters:
      command - The command
    • unregister

      void unregister(CommandBase<T> command)
      Unregisters a command
      Parameters:
      command - The command