Esempio n. 1
0
 public CoconaCommandResolver(
     ICoconaCommandProvider commandProvider,
     ICoconaCommandLineParser commandLineParser,
     ICoconaCommandMatcher commandMatcher
     )
 {
     _commandProvider   = commandProvider;
     _commandLineParser = commandLineParser;
     _commandMatcher    = commandMatcher;
 }
Esempio n. 2
0
 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;
 }