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