AddItem

AddItem<T>(string, Type)

public T AddItem<T>(string menuName, Type localizationTargetType) ;

Description

Add menu item

Type Parameters

Type Parameter Name Description Type Constraints
T Menu item type

Parameters

Parameter Name Description
menuName Menu name
localizationTargetType Target type to be localized

Returns

Added menu item

AddItem<T>(string, string)

public T AddItem<T>(string menuName, string localizationGroupName) ;

Description

Add menu item

Type Parameters

Type Parameter Name Description Type Constraints
T Menu item type

Parameters

Parameter Name Description
menuName Menu name
localizationGroupName Localization group name

Returns

Added menu item