logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IUiViewModelFactory

    Factory interface for creating UI view models.

    Namespace: Serenity.Ui.Application.Interfaces.ViewModels.Factories
    Assembly: Serenity.Ui.Application.dll
    Syntax
    public interface IUiViewModelFactory

    Methods

    CreateViewModel(string)

    Creates a UI view model with the specified ID.

    Declaration
    IViewModel CreateViewModel(string id)
    Parameters
    Type Name Description
    string id

    The identifier for the view model to be created.

    Returns
    Type Description
    IViewModel

    An instance of IViewModel.

    In this article
    © 2026 Serenity. All Rights Reserved