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. Implements the Business-level ICascadeViewService port so the registry's contract is engine-agnostic.

    Inheritance
    object
    UnityCascadeViewService
    Implements
    ICascadeViewService
    IService
    IFoundationSettings
    IViewProvider
    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 : ICascadeViewService, IService, IFoundationSettings, IViewProvider

    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(IViewBase)

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

    ShowView(string)

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

    Implements

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