Skip to content

Executions

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.

Data source selection

CreateDataSource

Source file, signature, and docstring

Member ExecutionBuilder.CreateDataSource(DataSourceBuilder dataSourceBuilder)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateDataSource(DataSourceBuilder dataSourceBuilder)

Docstring

Creates or adds the configured data source entry on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadDataSource

Source file, signature, and docstring

Member ExecutionBuilder.ReadDataSource(string dataSourceName)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public DataSourceBuilder? ReadDataSource(string dataSourceName)

Docstring

Returns the configured data source currently stored on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateDataSource

Source file, signature, and docstring

Member ExecutionBuilder.UpdateDataSource(string dataSourceName, DataSourceBuilder dataSourceBuilder)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateDataSource(string dataSourceName, DataSourceBuilder dataSourceBuilder)

Docstring

Updates the configured data source stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteDataSource

Source file, signature, and docstring

Member ExecutionBuilder.DeleteDataSource(string dataSourceName)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder DeleteDataSource(string dataSourceName)

Docstring

Removes the configured data source from the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Output selection

WithTemplateOutputFolder

Source file, signature, and docstring

Member ExecutionBuilder.WithTemplateOutputFolder(string? templateOutputFolder)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder WithTemplateOutputFolder(string? templateOutputFolder)

Docstring

Sets the template output folder used by template mode.

Use this method when working with the documented Mocker execution 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

ReadServer

Source file, signature, and docstring

Member ExecutionBuilder.ReadServer()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ServerConfig? ReadServer()

Docstring

Returns the configured server currently stored on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

ReadServers

Source file, signature, and docstring

Member ExecutionBuilder.ReadServers()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public IReadOnlyList<ServerConfig> ReadServers()

Docstring

Returns the configured servers currently stored on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

ReadServerAt

Source file, signature, and docstring

Member ExecutionBuilder.ReadServerAt(int index)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ServerConfig? ReadServerAt(int index)

Docstring

Returns the configured server currently stored at the specified index on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

CreateServer

Source file, signature, and docstring

Member ExecutionBuilder.CreateServer(ServerConfig serverConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateServer(ServerConfig serverConfig)

Docstring

Creates or adds the configured server entry on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateServers

Source file, signature, and docstring

Member ExecutionBuilder.CreateServers(params ServerConfig[] serverConfigs)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateServers(params ServerConfig[] serverConfigs)

Docstring

Creates the configured server list on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateServer

Source file, signature, and docstring

Member ExecutionBuilder.UpdateServer(ServerConfig serverConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateServer(ServerConfig serverConfig)

Docstring

Updates the configured single-server definition on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateServerAt

Source file, signature, and docstring

Member ExecutionBuilder.UpdateServerAt(int index, ServerConfig serverConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateServerAt(int index, ServerConfig serverConfig)

Docstring

Updates the configured server stored at the specified index on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateServer

Source file, signature, and docstring

Member ExecutionBuilder.UpdateServer(Action<ServerConfig> configureAction)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateServer(Action<ServerConfig> configureAction)

Docstring

Updates the configured server stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteServer

Source file, signature, and docstring

Member ExecutionBuilder.DeleteServer()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder DeleteServer()

Docstring

Removes the configured single-server definition from the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteServerAt

Source file, signature, and docstring

Member ExecutionBuilder.DeleteServerAt(int index)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder DeleteServerAt(int index)

Docstring

Removes the configured server stored at the specified index from the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Transaction stubs

CreateStub

Source file, signature, and docstring

Member ExecutionBuilder.CreateStub(TransactionStubBuilder stubBuilder)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateStub(TransactionStubBuilder stubBuilder)

Docstring

Creates or adds the configured stub entry on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateStub

Source file, signature, and docstring

Member ExecutionBuilder.CreateStub(TransactionStubConfig stubConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateStub(TransactionStubConfig stubConfig)

Docstring

Creates or adds the configured stub entry on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadStub

Source file, signature, and docstring

Member ExecutionBuilder.ReadStub(string stubName)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public TransactionStubConfig? ReadStub(string stubName)

Docstring

Returns the configured stub currently stored on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateStub

Source file, signature, and docstring

Member ExecutionBuilder.UpdateStub(string stubName, Action<TransactionStubBuilder> configureAction)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateStub(string stubName, Action<TransactionStubBuilder> configureAction)

Docstring

Updates the configured stub stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateStub

Source file, signature, and docstring

Member ExecutionBuilder.UpdateStub(string stubName, TransactionStubBuilder stubBuilder)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateStub(string stubName, TransactionStubBuilder stubBuilder)

Docstring

Updates the configured stub stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateStub

Source file, signature, and docstring

Member ExecutionBuilder.UpdateStub(string stubName, TransactionStubConfig stubConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateStub(string stubName, TransactionStubConfig stubConfig)

Docstring

Updates the configured stub stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteStub

Source file, signature, and docstring

Member ExecutionBuilder.DeleteStub(string stubName)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder DeleteStub(string stubName)

Docstring

Removes the configured stub from the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Executions

ExecutionBuilder

Source file, signature, and docstring

Member ExecutionBuilder()

Kind constructor

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder()

Docstring

Creates a new Mocker execution builder with an empty default context.

Use this constructor when bootstrapping a mocker execution entirely in code before any configuration or runtime services have been attached.

WithExecutionMode

Source file, signature, and docstring

Member ExecutionBuilder.WithExecutionMode(ExecutionMode executionMode)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder WithExecutionMode(ExecutionMode executionMode)

Docstring

Sets the execution mode used by the resulting mocker runtime.

Use this method when working with the documented Mocker execution 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

WithRootConfiguration

Source file, signature, and docstring

Member ExecutionBuilder.WithRootConfiguration(IConfiguration configuration)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder WithRootConfiguration(IConfiguration configuration)

Docstring

Replaces the root configuration stored on the current execution context.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Reporting and artifacts

WithLogger

Source file, signature, and docstring

Member ExecutionBuilder.WithLogger(ILogger logger)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder WithLogger(ILogger logger)

Docstring

Replaces the logger stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution 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

ReadController

Source file, signature, and docstring

Member ExecutionBuilder.ReadController()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ControllerConfig? ReadController()

Docstring

Returns the configured controller currently stored on the Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

Collection helpers

CreateController

Source file, signature, and docstring

Member ExecutionBuilder.CreateController(ControllerConfig controllerConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder CreateController(ControllerConfig controllerConfig)

Docstring

Creates or adds the configured controller entry on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateController

Source file, signature, and docstring

Member ExecutionBuilder.UpdateController(ControllerConfig controllerConfig)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateController(ControllerConfig controllerConfig)

Docstring

Updates the configured controller stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateController

Source file, signature, and docstring

Member ExecutionBuilder.UpdateController(Action<ControllerConfig> configureAction)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder UpdateController(Action<ControllerConfig> configureAction)

Docstring

Updates the configured controller stored on the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteController

Source file, signature, and docstring

Member ExecutionBuilder.DeleteController()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder DeleteController()

Docstring

Removes the configured controller from the current Mocker execution builder instance.

Use this method when working with the documented Mocker execution 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

RunLocally

Source file, signature, and docstring

Member ExecutionBuilder.RunLocally(bool runLocally = true)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public ExecutionBuilder RunLocally(bool runLocally = true)

Docstring

Configures whether the mocker waits for an interactive local shutdown signal.

Use this method when working with the documented Mocker execution builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Build

Source file, signature, and docstring

Member ExecutionBuilder.Build()

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public override BaseExecution Build()

Docstring

Builds the configured Mocker execution builder output from the current state.

Call this after the fluent configuration is complete. The method validates the accumulated state and materializes the runtime or immutable configuration object represented by the builder.

Validate

Source file, signature, and docstring

Member ExecutionBuilder.Validate(ValidationContext validationContext)

Kind function

Declaring Type ExecutionBuilder

Source File QaaS.Mocker/ExecutionBuilder.cs

Signature

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)

Docstring

Validates the current Mocker execution builder configuration.

Validation results are returned instead of thrown so callers can aggregate or report configuration problems before running the product.