API Reference
Class
PhasesHandle
Thread-safe live handle for a Phases widget.
Inheritance
- LiveHandle
- PhasesHandle
Usage
Explore 1 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 1
- Method Phases.Handle
Constructors
public PhasesHandle(ILiveDispatcher dispatcher, String target) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher.
- target System.String
- The phases name.
Methods
public Void Complete(String key, StatusKind status = Pass, String? detail = null) #Returns:
VoidFinishes a phase.
Parameters
- key System.String
- The phase.
- status ConsoleMonster.Styling.StatusKind = Pass
- The final status.
- detail System.String? = null
- A detail (default: the measured duration).
public Void Detail(String key, String detail) #Returns:
VoidSets a phase's detail (for example a percentage).
Parameters
- key System.String
- The phase.
- detail System.String
- The detail.
public Void Start(String key) #Returns:
VoidMarks a phase as running (its duration is measured until the next state change).
Parameters
- key System.String
- The phase.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?