Class UnityCascadeViewInstallerInput
Dependencies required to build and register cascade views at startup. Mirrors the composite-view installer input; the router lets each built view return to its opener after a cancel/resolve.
Inherited Members
Namespace: Serenity.Menu.Infrastructure.Cascade.Installation
Assembly: Serenity.UnityMenu.Infrastructure.dll
Syntax
public sealed class UnityCascadeViewInstallerInput
Constructors
UnityCascadeViewInstallerInput()
Declaration
public UnityCascadeViewInstallerInput()
Fields
AudioPlayerPlayClip
Use case used to play the theme's UI interaction sounds (focus / submit / cancel).
Declaration
public AudioPlayerPlayClip AudioPlayerPlayClip
Field Value
| Type | Description |
|---|---|
| AudioPlayerPlayClip |
AudioServiceId
Id of the UI audio-player service the interaction sounds play through.
Declaration
public string AudioServiceId
Field Value
| Type | Description |
|---|---|
| string |
Canvas
The Unity Canvas (as object) under which cascade views are created.
Declaration
public object Canvas
Field Value
| Type | Description |
|---|---|
| object |
EventDispatcherService
Event dispatcher forwarded to each view's cascade context (for leaf signals).
Declaration
public IEventDispatcherService EventDispatcherService
Field Value
| Type | Description |
|---|---|
| IEventDispatcherService |
LogService
Logging service.
Declaration
public ILogService LogService
Field Value
| Type | Description |
|---|---|
| ILogService |
ServiceId
Id assigned to the created UnityCascadeViewService.
Declaration
public string ServiceId
Field Value
| Type | Description |
|---|---|
| string |
ViewBrowserService
Browser history service each view pops its own entry from before returning to its opener (see Serenity.Menu.Infrastructure.Cascade.View.UnityCascadeMenuView.ReturnToOpener) — the transition that opened the cascade pushes the calling view onto this history, and returning directly through the router without popping it leaves a stale self-referencing entry that swallows the opener's next Back press.
Declaration
public IViewBrowserService ViewBrowserService
Field Value
| Type | Description |
|---|---|
| IViewBrowserService |
ViewRouter
Router each view uses to return to its opener view after cancel/resolve.
Declaration
public IViewRouter ViewRouter
Field Value
| Type | Description |
|---|---|
| IViewRouter |