/// <summary> /// Initializes a new instance of the <see cref="IRootDomainService" /> class /// </summary> /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param> /// <param name="subdomainService"><see cref="ISubdomainService"/></param> /// <param name="notificationService"><see cref="INotificationService"/></param> public RootDomainService(IUnitOfWork unitOfWork, ISubdomainService subdomainService, INotificationService notificationService) : base(unitOfWork) { this.subdomainService = subdomainService; this.notificationService = notificationService; }
/// <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="targetService"><see cref="ITargetService"/></param> /// <param name="labelService"><see cref="ILabelService"/></param> public SubdomainsController( IMapper mapper, ISubdomainService subdomainService, ITargetService targetService, ILabelService labelService) { this.mapper = mapper; this.subdomainService = subdomainService; this.targetService = targetService; this.labelService = labelService; }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="NotesController" /> class /// </summary> /// <param name="mapper"><see cref="IMapper"/></param> /// <param name="notesService"><see cref="INotesService"/></param> /// <param name="targetService"><see cref="ITargetService"/></param> /// <param name="subdomainService"><see cref="ISubdomainService"/></param> public NotesController( IMapper mapper, INotesService notesService, ITargetService targetService, ISubdomainService subdomainService) { this.mapper = mapper; this.notesService = notesService; this.targetService = targetService; this.subdomainService = subdomainService; }
/// <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="categoryService"><see cref="ICategoryService"/></param> /// <param name="subdomainService"><see cref="ISubdomainService"/></param> public AgentsController( IMapper mapper, IAgentService agentService, ITargetService targetService, ICategoryService categoryService, ISubdomainService subdomainService) { this.mapper = mapper; this.agentService = agentService; this.targetService = targetService; this.categoryService = categoryService; this.subdomainService = subdomainService; }
/// <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; }
/// <summary> /// Subdomain Controller Constructor /// </summary> /// <param name="logger">Logger</param> /// <param name="subdomainService">Subdomain Service</param> public SubdomainController(ILogger <SubdomainController> logger, ISubdomainService subdomainService) { _logger = logger; _subdomainService = subdomainService; }
/// <summary> /// Initializes a new instance of the <see cref="TargetService" /> class /// </summary> /// <param name="unitOfWork"><see cref="IUnitOfWork"/></param> public TargetService(IUnitOfWork unitOfWork, ISubdomainService subdomainService) : base(unitOfWork) { this.subdomainService = subdomainService; }
public SubdomainsController(ISubdomainService subdomainService, IMapper mapper) { _subdomainService = subdomainService; _mapper = mapper; }