.NET API
TraconTestHostOptions
Namespace Tracon.Testing · Assembly
Tracon.Testing.dllSettings for TraconTestHost.StartAsync.
public sealed class TraconTestHostOptionsInheritance
Section titled “Inheritance”object ← TraconTestHostOptions
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”TraconTestHostOptions()
Section titled “ TraconTestHostOptions()”public TraconTestHostOptions()Properties
Section titled “Properties”ConfigureEndpoints
Section titled “ ConfigureEndpoints”Changes the MapTracon endpoint settings.
public Action<TraconEndpointOptions>? ConfigureEndpoints { get; set; }Property Value
Section titled “Property Value”Action<TraconEndpointOptions>?
ConfigureServices
Section titled “ ConfigureServices”Registers additional services. Runs BEFORE the AddTracon call.
public Action<IServiceCollection>? ConfigureServices { get; set; }Property Value
Section titled “Property Value”ConfigureTracon
Section titled “ ConfigureTracon”Changes the Tracon chain (tool, agent, skill, extra model provider registration).
public Action<ITraconBuilder>? ConfigureTracon { get; set; }Property Value
Section titled “Property Value”ModelProvider
Section titled “ ModelProvider”The default model provider registered on the host. Usually the only thing you need to configure for your own agents and tools.
public FakeModelProvider ModelProvider { get; set; }Property Value
Section titled “Property Value”Prefix
Section titled “ Prefix”Route prefix.
public string Prefix { get; set; }