logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IModalPresenterFactory

    Factory interface for creating modal presenters.

    Namespace: Serenity.Modal.Application.Interfaces.Presenters.Factories
    Assembly: Serenity.Modal.Application.dll
    Syntax
    public interface IModalPresenterFactory : IUiPresenterFactory
    Remarks

    Extends the IUiPresenterFactory interface.

    Methods

    CreatePresenter(Dictionary<string, IViewModel>)

    Creates a new instance of a modal presenter with the specified view models.

    Declaration
    IModalPresenter 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
    IModalPresenter

    A new instance of a modal presenter.

    In this article
    © 2026 Serenity. All Rights Reserved