ViewRequestDelivery enum

Namespace Runic.Application.Views in Runic.Application.Views 0.23.0

public enum ViewRequestDelivery

Where a ViewRequest goes (Views protocol 4, feature view-requests/1, "View requests").

Remarks

ViewRequestDelivery.Drop and ViewRequestDelivery.NextMounted select one presentation by the scope of the code that raises the request: inside a command that a page invoked, the presentation of that page that handles the request; in the window scope (a close decision, a menu-bar command, RunicInteractionInvocation.EnterWindow) or outside any scope, the one presentation of the window that handles it.

Values

Drop

Drop = 0

Sends the request to the selected presentation, and drops it when there is none, or several.

NextMounted

NextMounted = 1

Sends the request to the selected presentation; when there is none, or several, keeps the latest request and sends it once to the next presentation of the window that mounts a handler for it.

Broadcast

Broadcast = 2

Sends the request to every presentation of the window that handles it, on every connection of the window, also when a command raised it: a window-wide announcement, such as a toast in every pane.