Skip to content
Docs Try Aspire

RequiredCommandValidationContext Properties

Class Properties 3 members
Provides context for validating a required command.
CancellationToken Section titled CancellationToken CancellationToken
Gets a cancellation token that can be used to cancel the validation.
public CancellationToken CancellationToken { get; }
ResolvedPath Section titled ResolvedPath string
Gets the resolved full path to the command executable.
public string ResolvedPath { get; }
Services Section titled Services IServiceProvider
Gets the service provider for accessing application services.
public IServiceProvider Services { get; }