logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityCascadeViewService

    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 UnityCompositeViewService plays for composite views.

    Inheritance
    object
    UnityCascadeViewService
    Implements
    IViewProvider
    IService
    IFoundationSettings
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Menu.Infrastructure.Cascade.Services
    Assembly: Serenity.UnityMenu.Infrastructure.dll
    Syntax
    public sealed class UnityCascadeViewService : IViewProvider, IService, IFoundationSettings

    Constructors

    UnityCascadeViewService(string, ILogService)

    Creates the service.

    Declaration
    public UnityCascadeViewService(string id, ILogService logService)
    Parameters
    Type Name Description
    string id

    Service id.

    ILogService logService

    Logging service.

    Properties

    Guid

    Declaration
    public string Guid { get; set; }
    Property Value
    Type Description
    string

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    LogService

    Declaration
    public ILogService LogService { get; set; }
    Property Value
    Type Description
    ILogService

    Methods

    HasView(string)

    Declaration
    public bool HasView(string viewId)
    Parameters
    Type Name Description
    string viewId
    Returns
    Type Description
    bool

    HideView(string)

    Declaration
    public void HideView(string viewId)
    Parameters
    Type Name Description
    string viewId

    RegisterView(UnityCascadeMenuView)

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

    Declaration
    public void RegisterView(UnityCascadeMenuView view)
    Parameters
    Type Name Description
    UnityCascadeMenuView view

    The view to register.

    ShowView(string)

    Declaration
    public void ShowView(string viewId)
    Parameters
    Type Name Description
    string viewId

    Implements

    IViewProvider
    IService
    IFoundationSettings
    In this article
    © 2026 Serenity. All Rights Reserved