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)
267_innerBuilder.Services.AddOptions<TransportOptions>().ValidateOnStart().PostConfigure(MapTransportOptionsFromCustomKeys); 268_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IValidateOptions<TransportOptions>, TransportOptionsValidator>()); 363private void MapTransportOptionsFromCustomKeys(TransportOptions options)