Interface IMenuPresenterFactory
Factory interface for creating menu presenters with specified view models.
Namespace: Serenity.Menu.Application.Interfaces.Presenters.Factories
Assembly: Serenity.Menu.Application.dll
Syntax
public interface IMenuPresenterFactory : IUiPresenterFactory
Methods
CreatePresenter(Dictionary<string, IViewModel>)
Creates a new menu presenter instance with the specified view models.
Declaration
IMenuPresenter CreatePresenter(Dictionary<string, IViewModel> viewModels)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, IViewModel> | viewModels | A dictionary of view models to be used by the presenter. |
Returns
| Type | Description |
|---|---|
| IMenuPresenter | A new instance of a menu presenter. |