API Reference
Class
SlotHandle
Replaces the content of a Slot through the live session's update queue (thread-safe).
Inheritance
- LiveHandle
- SlotHandle
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method LiveSession.Region
- Method Slot.Handle
Constructors
public SlotHandle(ILiveDispatcher dispatcher, String target) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher (a live session).
- target System.String
- The slot name.
Methods
public Void Replace(IWidget widget) #Returns:
VoidShows widget in the slot (same as SlotHandle.Set).
Parameters
- widget ConsoleMonster.Layout.IWidget
- The new content.
public Void Set(IWidget widget) #Returns:
VoidShows widget in the slot from the next frame on.
Parameters
- widget ConsoleMonster.Layout.IWidget
- The new content.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?