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
UnityCascadeViewService
Assembly: Serenity.UnityMenu.Infrastructure.dll
public sealed class UnityCascadeViewService : IViewProvider, IService, IFoundationSettings
Constructors
Declaration
public UnityCascadeViewService(string id, ILogService logService)
Parameters
Properties
Declaration
public string Guid { get; set; }
Property Value
Declaration
public string Id { get; set; }
Property Value
Declaration
public ILogService LogService { get; set; }
Property Value
Methods
Declaration
public bool HasView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Returns
Declaration
public void HideView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Registers a cascade view so it can be shown by its Id.
Declaration
public void RegisterView(UnityCascadeMenuView view)
Parameters
Declaration
public void ShowView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Implements