Table of Contents

Class StopwatchBuilder

Namespace
CSF.Screenplay.Performables
Assembly
CSF.Screenplay.Abstractions.dll

A builder for actions relating to the UseAStopwatch ability.

public static class StopwatchBuilder
Inheritance
StopwatchBuilder
Inherited Members

Remarks

When using this class it is recommended to include using static CSF.Screenplay.Performables.StopwatchBuilder; in the source file which uses it. This will allow you use the method names in this class in a more human-readable fashion.

The actions and the question exposed by this builder allow an actor to accurately track and measure time elapsed during a Performance.

Methods

ReadTheStopwatch()

Gets a performable which reads the stopwatch.

public static ReadTheStopwatch ReadTheStopwatch()

Returns

ReadTheStopwatch

Remarks

Use of this performable requires the actor has the UseAStopwatch ability.

ResetTheStopwatch()

Gets a performable which resets the stopwatch to zero.

public static ResetTheStopwatch ResetTheStopwatch()

Returns

ResetTheStopwatch

Remarks

Use of this performable requires the actor has the UseAStopwatch ability.

StartTheStopwatch()

Gets a performable which starts the stopwatch.

public static StartTheStopwatch StartTheStopwatch()

Returns

StartTheStopwatch

Remarks

Use of this performable requires the actor has the UseAStopwatch ability.

StopTheStopwatch()

Gets a performable which stops the stopwatch.

public static StopTheStopwatch StopTheStopwatch()

Returns

StopTheStopwatch

Remarks

Use of this performable requires the actor has the UseAStopwatch ability.