public MenuTabItem(MenuTubPluginAttribute menuTubPluginAttribute, Type controllerType) { _menuTubPluginAttribute = menuTubPluginAttribute; _controllerType = controllerType; }
private MenuTabItem Convert(MenuTubPluginAttribute menuTabAttribute, Type controllerType = null) { var controllerTypeValue = menuTabAttribute.ControllerType ?? controllerType; return new MenuTabItem(menuTabAttribute, controllerTypeValue); }