Skip to content
DocsTry Aspire
DocsTry

RequiredCommandValidationContext Properties

ClassProperties3 members
Provides context for validating a required command.
CancellationTokenSection titled CancellationTokenCancellationToken
Gets a cancellation token that can be used to cancel the validation.
public CancellationToken CancellationToken { get; }
ResolvedPathSection titled ResolvedPathstring
Gets the resolved full path to the command executable.
public string ResolvedPath { get; }
ServicesSection titled ServicesIServiceProvider
Gets the service provider for accessing application services.
public IServiceProvider Services { get; }