System.Management.Automation.Internal.Host.InternalHostUserInterface inherits from System.Management.Automation.Host.PSHostUserInterface. InternalHostUserInterface is the type of the ui member of System.Management.Automation.Internal.Host.InternalHost (which is the of is the type of the automatic PowerShell variable $host or the object that is returned by get-host)