logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ICascadeViewService

    Registry of cascade views keyed by Id, exposed to the IViewRouter as an IViewProvider so a menu option can transition to a cascade view by Id — mirroring the role ICompositeViewService plays for composite views. Pure interface so the registry's contract is engine-agnostic; the Unity implementation registers views built from IViewBase.

    Namespace: Serenity.Menu.Application.Cascade
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public interface ICascadeViewService : IService, IFoundationSettings, IViewProvider

    Methods

    RegisterView(IViewBase)

    Registers a built cascade view so it can be shown by its Id.

    Declaration
    void RegisterView(IViewBase view)
    Parameters
    Type Name Description
    IViewBase view

    The view to register (its Id is the key).

    In this article
    © 2026 Serenity. All Rights Reserved