コード例 #1
0
ファイル: CoreService.cs プロジェクト: MackeyProduction/w3bot
 /// <summary>
 /// Initializes the core.
 /// </summary>
 /// <param name="form">The form instance.</param>
 internal CoreService(IRepositoryService repositoryService, IProcessorService processorService, IProcessorCreateService processorCreateService, ILogger logger)
 {
     _repositoryService      = repositoryService;
     _processorService       = processorService;
     _processorCreateService = processorCreateService;
     _logger = logger;
 }
コード例 #2
0
 internal void AddConfiguration(FormService formService, CoreService core, IExecutable executable, MethodProvider methodProvider)
 {
     _core                   = core;
     _formService            = formService;
     _executable             = executable;
     _processorService       = _core.GetProcessors();
     _processorCreateService = _core.GetCreateService();
     Methods                 = methodProvider;
 }
コード例 #3
0
 internal ProcessorService(IProcessorCreateService processorCreateService)
 {
     _processorCreateService = processorCreateService;
     _processors             = _processorCreateService.GetAll();
 }