A class contains reference to Application and View which are needed by external command.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI
(in RevitAPIUI.dll) Version: 21.0.0.0 (21.1.1.109)