API Reference
Class
LanesHandle
Thread-safe live handle for a Lanes widget.
Inheritance
- LiveHandle
- LanesHandle
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 Lanes.Handle
Constructors
public LanesHandle(ILiveDispatcher dispatcher, String target) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher.
- target System.String
- The lanes name.
Methods
public Void Add(String key, String? label = null, Double total = 0) #Returns:
VoidAdds a lane.
Parameters
- key System.String
- Unique key.
- label System.String? = null
- Label, or null for the key.
- total System.Double = 0
- Planned steps.
public Void Advance(String key, StatusKind result = Pass, String? detail = null, Double steps = 1) #Returns:
VoidRecords completed steps and their result.
Parameters
- key System.String
- The lane.
- result ConsoleMonster.Styling.StatusKind = Pass
- The step result (counted as passed, failed, warning or skipped).
- detail System.String? = null
- What the lane is doing next, or null.
- steps System.Double = 1
- Steps completed (default 1).
public Void Complete(String key, StatusKind? status = null) #Returns:
VoidFinishes a lane; without a status it becomes Fail when any step failed, Warn when any warned, else Pass.
Parameters
- key System.String
- The lane.
- status ConsoleMonster.Styling.StatusKind? = null
- The final status, or null to derive it.
public Void Detail(String key, String detail) #Returns:
VoidSets what the lane is doing now.
Parameters
- key System.String
- The lane.
- detail System.String
- The detail.
public Void Start(String key, String? detail = null) #Returns:
VoidMarks a lane as running.
Parameters
- key System.String
- The lane.
- detail System.String? = null
- What it is doing.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?