Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ITargetService" /> class
 /// </summary>
 /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="notificationService"><see cref="INotificationService"/></param>
 public TargetService(IUnitOfWork unitOfWork,
                      IRootDomainService rootDomainService,
                      INotificationService notificationService)
     : base(unitOfWork)
 {
     this.rootDomainService   = rootDomainService;
     this.notificationService = notificationService;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TargetsController" /> class
 /// </summary>
 /// <param name="mapper"><see cref="IMapper"/></param>
 /// <param name="targetService"><see cref="ITargetService"/></param>
 public TargetsController(
     IMapper mapper,
     ITargetService targetService,
     IRootDomainService rootDomainService)
 {
     this.mapper            = mapper;
     this.targetService     = targetService;
     this.rootDomainService = rootDomainService;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotesController" /> class
 /// </summary>
 /// <param name="notesService"><see cref="INotesService"/></param>
 /// <param name="targetService"><see cref="ITargetService"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="subdomainService"><see cref="ISubdomainService"/></param>
 public NotesController(
     INotesService notesService,
     ITargetService targetService,
     IRootDomainService rootDomainService,
     ISubdomainService subdomainService)
 {
     this.notesService      = notesService;
     this.targetService     = targetService;
     this.rootDomainService = rootDomainService;
     this.subdomainService  = subdomainService;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubdomainsController" /> class
 /// </summary>
 /// <param name="mapper"><see cref="IMapper"/></param>
 /// <param name="subdomainService"><see cref="ISubdomainService"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="targetService"><see cref="ITargetService"/></param>
 /// <param name="labelService"><see cref="ILabelService"/></param>
 public SubdomainsController(
     IMapper mapper,
     ISubdomainService subdomainService,
     IRootDomainService rootDomainService,
     ITargetService targetService,
     ILabelService labelService)
 {
     this.mapper            = mapper;
     this.subdomainService  = subdomainService;
     this.rootDomainService = rootDomainService;
     this.targetService     = targetService;
     this.labelService      = labelService;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentService" /> class
 /// </summary>
 /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="connectorService"><see cref="IConnectorService"/></param>
 /// <param name="scriptEngineService"><see cref="IScriptEngineService"/></param>
 /// <param name="notificationService"><see cref="INotificationService"/></param>
 /// <param name="runnerProcess"><see cref="IRunnerProcess"/></param>
 public AgentService(IUnitOfWork unitOfWork,
                     IRootDomainService rootDomainService,
                     IConnectorService connectorService,
                     IScriptEngineService scriptEngineService,
                     INotificationService notificationService,
                     IRunnerProcess runnerProcess)
     : base(unitOfWork)
 {
     this.rootDomainService   = rootDomainService;
     this.connectorService    = connectorService;
     this.scriptEngineService = scriptEngineService;
     this.notificationService = notificationService;
     this.runnerProcess       = runnerProcess;
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentsController" /> class
 /// </summary>
 /// <param name="mapper"><see cref="IMapper"/></param>
 /// <param name="agentService"><see cref="IAgentService"/></param>
 /// <param name="targetService"><see cref="ITargetService"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="categoryService"><see cref="ICategoryService"/></param>
 /// <param name="subdomainService"><see cref="ISubdomainService"/></param>
 public AgentsController(
     IMapper mapper,
     IAgentService agentService,
     ITargetService targetService,
     IRootDomainService rootDomainService,
     ICategoryService categoryService,
     ISubdomainService subdomainService)
 {
     this.mapper            = mapper;
     this.agentService      = agentService;
     this.targetService     = targetService;
     this.rootDomainService = rootDomainService;
     this.categoryService   = categoryService;
     this.subdomainService  = subdomainService;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AgentRunnerService" /> class
 /// </summary>
 /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param>
 /// <param name="agentService"><see cref="IAgentService"/></param>
 /// <param name="targetService"><see cref="ITargetService"/></param>
 /// <param name="rootDomainService"><see cref="IRootDomainService"/></param>
 /// <param name="subdomainService"><see cref="ISubdomainService"/></param>
 /// <param name="agentRunnerProvider"><see cref="IAgentRunnerProvider"/></param>
 /// <param name="agentBackgroundService"><see cref="IAgentBackgroundService"/></param>
 /// <param name="agentRunService"><see cref="IAgentRunService"/></param>
 public AgentRunnerService(IUnitOfWork unitOfWork,
                           IAgentService agentService,
                           ITargetService targetService,
                           IRootDomainService rootDomainService,
                           ISubdomainService subdomainService,
                           IAgentRunnerProvider agentRunnerProvider,
                           IAgentBackgroundService agentBackgroundService,
                           IAgentRunService agentRunService) : base(unitOfWork)
 {
     this.agentService           = agentService;
     this.targetService          = targetService;
     this.rootDomainService      = rootDomainService;
     this.subdomainService       = subdomainService;
     this.agentRunnerProvider    = agentRunnerProvider;
     this.agentBackgroundService = agentBackgroundService;
     this.agentRunService        = agentRunService;
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ILabelService" /> class
 /// </summary>
 /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param>
 public TargetService(IUnitOfWork unitOfWork, IRootDomainService rootDomainService)
     : base(unitOfWork)
 {
     this.rootDomainService = rootDomainService;
 }