logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    In this article
    © 2026 Serenity. All Rights Reserved