Table of Contents

Method GetGroup

Namespace
Innova.Prism.Library.Menus.ItemModels
Assembly
Innova.Prism.Library.dll

GetGroup(IMenuBaseModel, IMenuService)

Gets the menu group associated with the specified MenuBaseModel.

public static IMenuGroupModel GetGroup(this IMenuBaseModel menuBaseModel, IMenuService menuService)

Parameters

menuBaseModel IMenuBaseModel

The MenuBaseModel instance.

menuService IMenuService

The IMenuService instance.

Returns

IMenuGroupModel

The MenuGroupModel associated with the MenuBaseModel.

GetGroup(IMenuService, MenuBaseModel)

Gets the menu group associated with the specified MenuBaseModel.

public static IMenuGroupModel GetGroup(this IMenuService menuService, MenuBaseModel menuBaseModel)

Parameters

menuService IMenuService

The IMenuService instance.

menuBaseModel MenuBaseModel

The MenuBaseModel instance.

Returns

IMenuGroupModel

The MenuGroupModel associated with the MenuBaseModel.