1 implementation of IRequiredCommandValidator
Aspire.Hosting (1)
ApplicationModel\RequiredCommandValidator.cs (1)
18
internal 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
"/>.
19
IRequiredCommandValidator
validator) : IDistributedApplicationEventingSubscriber
21
private readonly
IRequiredCommandValidator
_validator = validator ?? throw new ArgumentNullException(nameof(validator));
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
123
var
commandValidator = e.Services.GetRequiredService<
IRequiredCommandValidator
>();