Commands And Capabilities Map

reactive ICommand primitives and the 22 opt-in behavior contracts

Dark SVG source uses the VMx architecture palette and keeps arrows behind masked component boxes.

Command stack

  • RelayCommand is the concrete workhorse.
  • CompositeCommand and decorator commands layer orchestration and gating without changing the ICommand contract.
  • Reactive triggers keep enabled state honest when predicates depend on mutable VM state.

Capability taxonomy

  • The selection and expansion triples stay granular on purpose.
  • CRUD is split into independent verb interfaces so VMs advertise only the mutations they support.
  • Paging is a navigation contract; it does not imply a specific container implementation.

Practical wiring

  • ModeledCrudCommands turns current-selection state into concrete commands.
  • FormVM, dialog flows, and confirmation helpers compose with the same command surface.
  • This map explains the capability-aware action bar used in the flagship example.