public CoconaCommandDispatcher( IServiceProvider serviceProvider, ICoconaCommandLineArgumentProvider commandLineArgumentProvider, ICoconaCommandResolver commandResolver, ICoconaCommandDispatcherPipelineBuilder dispatcherPipelineBuilder, ICoconaInstanceActivator activator, ICoconaAppContextAccessor appContext ) { _serviceProvider = serviceProvider; _commandLineArgumentProvider = commandLineArgumentProvider; _commandResolver = commandResolver; _dispatcherPipelineBuilder = dispatcherPipelineBuilder; _activator = activator; _appContext = appContext; }
public CoconaCommandDispatcher( IServiceProvider serviceProvider, ICoconaCommandProvider commandProvider, ICoconaCommandLineParser commandLineParser, ICoconaCommandLineArgumentProvider commandLineArgumentProvider, ICoconaCommandDispatcherPipelineBuilder dispatcherPipelineBuilder, ICoconaCommandMatcher commandMatcher, ICoconaInstanceActivator activator ) { _serviceProvider = serviceProvider; _commandProvider = commandProvider; _commandLineParser = commandLineParser; _commandLineArgumentProvider = commandLineArgumentProvider; _dispatcherPipelineBuilder = dispatcherPipelineBuilder; _commandMatcher = commandMatcher; _activator = activator; }
public CoconaCompletionCandidatesProviderFactory(IServiceProvider serviceProvider, ICoconaInstanceActivator activator) { _serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); _activator = activator ?? throw new ArgumentNullException(nameof(activator)); }