/// <summary> /// Add a <see cref="ConfigurationUICommand"/> object to the <see cref="IUICommandService"/>. /// </summary> /// <param name="uiCommand">The <see cref="ConfigurationUICommand"/> to add.</param> /// <param name="registerType">The <see cref="Type"/> the command is registered.</param> protected void AddUICommand(ConfigurationUICommand uiCommand, Type registerType) { IUICommandService commandService = ServiceHelper.GetUICommandService(serviceProvider); commandService.AddCommand(registerType, uiCommand); }