Interface IUiPresenterFactory
Factory interface for creating UI presenters.
Namespace: Serenity.Ui.Application.Interfaces.Presenters.Factories
Assembly: Serenity.Ui.Application.dll
Syntax
public interface IUiPresenterFactory
Methods
CreatePresenter(Dictionary<string, IViewModel>)
Creates a UI presenter with the specified view models.
Declaration
IUiPresenter 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 |
|---|---|
| IUiPresenter | An instance of IUiPresenter. |