1 implementation of IRequiredCommandValidator
Aspire.Hosting (1)
ApplicationModel\RequiredCommandValidator.cs (1)
18internal sealed class RequiredCommandValidator : IRequiredCommandValidator, IDisposable
7 references to IRequiredCommandValidator
Aspire.Hosting (5)
ApplicationModel\RequiredCommandValidator.cs (1)
15/// Default implementation of <see cref="IRequiredCommandValidator"/> that validates commands
DistributedApplicationBuilder.cs (1)
476_innerBuilder.Services.TryAddSingleton<IRequiredCommandValidator, RequiredCommandValidator>();
Lifecycle\RequiredCommandValidationLifecycleHook.cs (3)
16/// validation to <see cref="IRequiredCommandValidator"/>. 19IRequiredCommandValidator validator) : IDistributedApplicationEventingSubscriber 21private readonly IRequiredCommandValidator _validator = validator ?? throw new ArgumentNullException(nameof(validator));
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
123var commandValidator = e.Services.GetRequiredService<IRequiredCommandValidator>();