Class
ReplayMarker
ConsoleMonster.Replay
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, bool isLog = false) #Creates a marker.
Parameters
- time System.TimeSpan
- Time from the start of the recording.
- kind ConsoleMonster.Replay.ReplayMarkerKind
- What it is.
- text string
- Plain text describing it.
- isLog bool = false
- Whether it comes from a log line (failures and warnings can).
Methods
public static IReadOnlyList<ReplayMarker> From(IEnumerable<LiveEvent> events) #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.
public override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.