API Reference
Class
ReplayMarker
A point of interest on a replay timeline: a marker, failure, warning or log entry.
Inheritance
- Object
- ReplayMarker
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 ReplayMarker.From
Constructors
public ReplayMarker(TimeSpan time, ReplayMarkerKind kind, String text, Boolean isLog = false) #Creates a marker.
Parameters
- time System.TimeSpan
- Time from the start of the recording.
- kind ConsoleMonster.Replay.ReplayMarkerKind
- What it is.
- text System.String
- Plain text describing it.
- isLog System.Boolean = false
- Whether it comes from a log line (failures and warnings can).
Methods
public static IReadOnlyList<ReplayMarker> From(IEnumerable<LiveEvent> events) #Returns:
IReadOnlyList<ReplayMarker>Finds the markers in recorded events: LiveSession.MarkerTarget events, transitions to a fail or warn state, and log lines (error and warning lines count as failures and warnings).
Parameters
- events System.Collections.Generic.IEnumerable<ConsoleMonster.Live.LiveEvent>
- The events in recording order.
Returns
The markers in time order.
public override String ToString() #Returns:
StringReturns a string that represents the current object.
Returns
A string that represents the current object.