Class SleepScenarioStep
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.ClientSimulation.Scenarios
Assembly: Volo.ClientSimulation.dll
Syntax
public class SleepScenarioStep : ScenarioStep
Constructors
SleepScenarioStep(String, Int32)
Declaration
public SleepScenarioStep(string name, int duration = 1000)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| System.Int32 | duration |
Properties
Duration
Declaration
public int Duration { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
ExecuteAsync(ScenarioExecutionContext)
Declaration
protected override Task ExecuteAsync(ScenarioExecutionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ScenarioExecutionContext | context |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
GetDisplayText()
Declaration
public override string GetDisplayText()
Returns
| Type | Description |
|---|---|
| System.String |