RequiredCommandValidationContext Constructors
Class Constructors 1 member
Provides context for validating a required command.
Constructor(string, IServiceProvider, CancellationToken) Section titled Constructor(string, IServiceProvider, CancellationToken) Provides context for validating a required command.
public sealed class RequiredCommandValidationContext{ public RequiredCommandValidationContext( string resolvedPath, IServiceProvider services, CancellationToken cancellationToken) { // ... }}Parameters
resolvedPath string The resolved full path to the command executable. services IServiceProvider The service provider for accessing application services. cancellationToken CancellationToken A cancellation token that can be used to cancel the validation.