Mocker Commands¶
Each entry uses the short function name as the table-of-contents label. Expand an entry to inspect its source file, signature, and XML doc comments.
The functions on this page are grouped by responsibility so related operations stay together.
Identity and hook selection¶
Named¶
Source file, signature, and docstring
Member
MockerCommandBuilder.Named(string name)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Sets the name used for the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Execution order¶
AtStage¶
Source file, signature, and docstring
Member
MockerCommandBuilder.AtStage(int stage)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Sets the stage used by the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Servers¶
WithServerName¶
Source file, signature, and docstring
Member
MockerCommandBuilder.WithServerName(string serverName)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Configures server name on the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Configuration¶
WithRedis¶
Source file, signature, and docstring
Member
MockerCommandBuilder.WithRedis(RedisConfig redis)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Configures redis on the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
WithRequestDurationMs¶
Source file, signature, and docstring
Member
MockerCommandBuilder.WithRequestDurationMs(int requestDurationMs)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Configures request duration ms on the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
WithRequestRetries¶
Source file, signature, and docstring
Member
MockerCommandBuilder.WithRequestRetries(int requestRetries)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Configures request retries on the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
WithCommand¶
Source file, signature, and docstring
Member
MockerCommandBuilder.WithCommand(MockerCommandConfig command)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Configures command on the current Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Inspection¶
ReadConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.ReadConfiguration()
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Returns the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.
Collection helpers¶
CreateConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.CreateConfiguration(MockerCommandConfig command)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Create¶
Source file, signature, and docstring
Member
MockerCommandBuilder.Create(MockerCommandConfig command)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
UpdateConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.UpdateConfiguration(Func<MockerCommandConfig, MockerCommandConfig> update)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
public MockerCommandBuilder UpdateConfiguration(Func<MockerCommandConfig, MockerCommandConfig> update)
Docstring
Updates the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
UpdateConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.UpdateConfiguration(MockerCommandConfig command)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Updates the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
UpdateConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.UpdateConfiguration(object configuration)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Updates the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
DeleteConfiguration¶
Source file, signature, and docstring
Member
MockerCommandBuilder.DeleteConfiguration()
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Clears the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
General¶
Configure¶
Source file, signature, and docstring
Member
MockerCommandBuilder.Configure(MockerCommandConfig command)
Kind function
Declaring Type MockerCommandBuilder
Source File QaaS.Runner.Sessions/Actions/MockerCommands/MockerCommandBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Runner mocker command builder instance.
Use this method when working with the documented Runner mocker command builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.