Skip to main content

IUiActor

Interface for UI actors that handle user interface interactions.

Namespace: ControlBee.Interfaces

Extends: IActor

Methods

GetPeerStatus

Retrieves a status value from a peer actor.

object? GetPeerStatus(IActor actor, string keyName);
object? GetPeerStatus(string actorName, string keyName);

Parameters:

  • actor — The peer actor instance.
  • actorName — The name of the peer actor.
  • keyName — The status key to retrieve.

Returns: The status value, or null.

Events

MessageArrived

Raised when a message arrives at the UI actor.

event EventHandler<Message>? MessageArrived;

See Also