Class TimeSpanBuilder
- Namespace
- CSF.Screenplay.Performables
- Assembly
- CSF.Screenplay.Abstractions.dll
Static helper class for creating instances of TimeSpanBuilder<TOtherBuilder>.
public static class TimeSpanBuilder
- Inheritance
-
TimeSpanBuilder
- Inherited Members
Remarks
See the documentation for TimeSpanBuilder<TOtherBuilder> for more information about how this class is to be used.
Methods
Create<TOtherBuilder>(TOtherBuilder, int)
Creates and returns a TimeSpanBuilder<TOtherBuilder> which can hold time span information and then continue the building process associated with the other builder.
public static TimeSpanBuilder<TOtherBuilder> Create<TOtherBuilder>(TOtherBuilder otherBuilder, int value) where TOtherBuilder : class
Parameters
otherBuilder
TOtherBuilderAn instance of another performable builder
value
intThe absolute time span value, without any units
Returns
- TimeSpanBuilder<TOtherBuilder>
Type Parameters
TOtherBuilder
The type of the other performable builder
Remarks
See the documentation for TimeSpanBuilder<TOtherBuilder> for more information about how this method is to be used.