Transaction Stubs¶
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
TransactionStubBuilder.Named(string name)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the name used for the current Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
HookNamed¶
Source file, signature, and docstring
Member
TransactionStubBuilder.HookNamed(string processorName)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the hook implementation name used by the current Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Data source selection¶
AddDataSourceName¶
Source file, signature, and docstring
Member
TransactionStubBuilder.AddDataSourceName(string dataSourceName)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Adds the supplied data source name to the current Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
WithDataSourceNames¶
Source file, signature, and docstring
Member
TransactionStubBuilder.WithDataSourceNames(IEnumerable<string> dataSourceNames)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Configures data source names on the current Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
ClearDataSourceNames¶
Source file, signature, and docstring
Member
TransactionStubBuilder.ClearDataSourceNames()
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Clears all configured data source names from the current Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The behavior exposed here is part of the public surface that the generated function documentation groups under 'Configuration as Code / Transaction Stubs'.
Inspection¶
ReadConfiguration¶
Source file, signature, and docstring
Member
TransactionStubBuilder.ReadConfiguration()
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Returns the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.CreateConfiguration(IConfiguration configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
CreateConfiguration¶
Source file, signature, and docstring
Member
TransactionStubBuilder.CreateConfiguration(object configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.Create(IConfiguration configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.Create(object configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.UpdateConfiguration(object configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Updates the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.DeleteConfiguration()
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Clears the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.Configure(IConfiguration configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
Configure¶
Source file, signature, and docstring
Member
TransactionStubBuilder.Configure(object configuration)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets the configuration currently stored on the Mocker transaction stub builder instance.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
DeserializeRequestBodyWith¶
Source file, signature, and docstring
Member
TransactionStubBuilder.DeserializeRequestBodyWith(DeserializeConfig config)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets how request bodies are deserialized before the stub processor runs.
Use this method when working with the documented Mocker transaction stub builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.
SerializeResponseBodyWith¶
Source file, signature, and docstring
Member
TransactionStubBuilder.SerializeResponseBodyWith(SerializeConfig config)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Sets how response bodies are serialized after the stub processor runs.
Use this method when working with the documented Mocker transaction stub 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
TransactionStubBuilder.Build()
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Builds the configured Mocker transaction stub 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.
FromConfig¶
Source file, signature, and docstring
Member
TransactionStubBuilder.FromConfig(TransactionStubConfig config)
Kind function
Declaring Type TransactionStubBuilder
Source File QaaS.Mocker.Stubs/ConfigurationObjects/TransactionStubBuilder.cs
Signature
Docstring
Creates a new Mocker transaction stub builder instance from an existing configuration object.
Use this when an existing immutable configuration needs to be brought back into the fluent builder workflow for incremental changes.