5 references to TransportOptions
Aspire.Hosting (5)
Dashboard\TransportOptionsValidator.cs (2)
10internal class TransportOptionsValidator(IConfiguration configuration, DistributedApplicationExecutionContext executionContext, DistributedApplicationOptions distributedApplicationOptions) : IValidateOptions<TransportOptions> 12public ValidateOptionsResult Validate(string? name, TransportOptions transportOptions)
DistributedApplicationBuilder.cs (3)
269_innerBuilder.Services.AddOptions<TransportOptions>().ValidateOnStart().PostConfigure(MapTransportOptionsFromCustomKeys); 270_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IValidateOptions<TransportOptions>, TransportOptionsValidator>()); 365private void MapTransportOptionsFromCustomKeys(TransportOptions options)