Skip to content
Tracon

TraconTestHostOptions

Namespace Tracon.Testing · Assembly Tracon.Testing.dll

Settings for TraconTestHost.StartAsync.

public sealed class TraconTestHostOptions

objectTraconTestHostOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public TraconTestHostOptions()

Changes the MapTracon endpoint settings.

public Action<TraconEndpointOptions>? ConfigureEndpoints { get; set; }

Action<TraconEndpointOptions>?

Registers additional services. Runs BEFORE the AddTracon call.

public Action<IServiceCollection>? ConfigureServices { get; set; }

Action<IServiceCollection>?

Changes the Tracon chain (tool, agent, skill, extra model provider registration).

public Action<ITraconBuilder>? ConfigureTracon { get; set; }

Action<ITraconBuilder>?

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; }

FakeModelProvider

Route prefix.

public string Prefix { get; set; }

string